Interface ComponentLinkedStorageAccountsOperationsClient


public interface ComponentLinkedStorageAccountsOperationsClient
An instance of this class provides access to all the operations defined in ComponentLinkedStorageAccountsOperationsClient.
  • Method Details

    • get

      ComponentLinkedStorageAccountsInner 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<ComponentLinkedStorageAccountsInner> 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.
    • createAndUpdate

      ComponentLinkedStorageAccountsInner createAndUpdate(String resourceGroupName, String resourceName, StorageType storageType, ComponentLinkedStorageAccountsInner linkedStorageAccountsProperties)
      Replace current linked storage account 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.
      linkedStorageAccountsProperties - Properties that need to be specified to update linked storage accounts for an Application Insights component.
      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.
    • createAndUpdateWithResponse

      com.azure.core.http.rest.Response<ComponentLinkedStorageAccountsInner> createAndUpdateWithResponse(String resourceGroupName, String resourceName, StorageType storageType, ComponentLinkedStorageAccountsInner linkedStorageAccountsProperties, com.azure.core.util.Context context)
      Replace current linked storage account 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.
      linkedStorageAccountsProperties - Properties that need to be specified to update linked storage accounts for an Application Insights component.
      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.
    • update

      ComponentLinkedStorageAccountsInner update(String resourceGroupName, String resourceName, StorageType storageType, ComponentLinkedStorageAccountsPatch linkedStorageAccountsProperties)
      Update 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.
      linkedStorageAccountsProperties - Properties that need to be specified to update a linked storage accounts for an Application Insights component.
      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.
    • updateWithResponse

      com.azure.core.http.rest.Response<ComponentLinkedStorageAccountsInner> updateWithResponse(String resourceGroupName, String resourceName, StorageType storageType, ComponentLinkedStorageAccountsPatch linkedStorageAccountsProperties, com.azure.core.util.Context context)
      Update 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.
      linkedStorageAccountsProperties - Properties that need to be specified to update a linked storage accounts for an Application Insights component.
      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.