Interface ComponentLinkedStorageAccountsOperations


  • public interface ComponentLinkedStorageAccountsOperations
    Resource collection API of ComponentLinkedStorageAccountsOperations.
    • Method Detail

      • get

        ComponentLinkedStorageAccounts get​(String resourceGroupName,
                                           String resourceName,
                                           StorageType storageType)
        Returns the current linked storage settings for an Application Insights component.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        resourceName - The name of the Application Insights component resource.
        storageType - The type of the Application Insights component data source for the linked storage account.
        Returns:
        an Application Insights component linked storage accounts.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • getWithResponse

        com.azure.core.http.rest.Response<ComponentLinkedStorageAccounts> getWithResponse​(String resourceGroupName,
                                                                                          String resourceName,
                                                                                          StorageType storageType,
                                                                                          com.azure.core.util.Context context)
        Returns the current linked storage settings for an Application Insights component.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        resourceName - The name of the Application Insights component resource.
        storageType - The type of the Application Insights component data source for the linked storage account.
        context - The context to associate with this operation.
        Returns:
        an Application Insights component linked storage accounts along with Response.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • delete

        void delete​(String resourceGroupName,
                    String resourceName,
                    StorageType storageType)
        Delete linked storage accounts for an Application Insights component.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        resourceName - The name of the Application Insights component resource.
        storageType - The type of the Application Insights component data source for the linked storage account.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • deleteWithResponse

        com.azure.core.http.rest.Response<Void> deleteWithResponse​(String resourceGroupName,
                                                                   String resourceName,
                                                                   StorageType storageType,
                                                                   com.azure.core.util.Context context)
        Delete linked storage accounts for an Application Insights component.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        resourceName - The name of the Application Insights component resource.
        storageType - The type of the Application Insights component data source for the linked storage account.
        context - The context to associate with this operation.
        Returns:
        the Response.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • getById

        ComponentLinkedStorageAccounts getById​(String id)
        Returns the current linked storage settings for an Application Insights component.
        Parameters:
        id - the resource ID.
        Returns:
        an Application Insights component linked storage accounts along with Response.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • getByIdWithResponse

        com.azure.core.http.rest.Response<ComponentLinkedStorageAccounts> getByIdWithResponse​(String id,
                                                                                              com.azure.core.util.Context context)
        Returns the current linked storage settings for an Application Insights component.
        Parameters:
        id - the resource ID.
        context - The context to associate with this operation.
        Returns:
        an Application Insights component linked storage accounts along with Response.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • deleteById

        void deleteById​(String id)
        Delete linked storage accounts for an Application Insights component.
        Parameters:
        id - the resource ID.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • deleteByIdWithResponse

        com.azure.core.http.rest.Response<Void> deleteByIdWithResponse​(String id,
                                                                       com.azure.core.util.Context context)
        Delete linked storage accounts for an Application Insights component.
        Parameters:
        id - the resource ID.
        context - The context to associate with this operation.
        Returns:
        the Response.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.