Interface LinkedStorageAccounts


public interface LinkedStorageAccounts
Resource collection API of LinkedStorageAccounts.
  • Method Details

    • delete

      void delete(String resourceGroupName, String workspaceName, DataSourceType dataSourceType)
      Deletes all linked storage accounts of a specific data source type associated with the specified workspace.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      workspaceName - The name of the workspace.
      dataSourceType - Linked storage accounts type.
      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 workspaceName, DataSourceType dataSourceType, com.azure.core.util.Context context)
      Deletes all linked storage accounts of a specific data source type associated with the specified workspace.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      workspaceName - The name of the workspace.
      dataSourceType - Linked storage accounts type.
      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.
    • get

      LinkedStorageAccountsResource get(String resourceGroupName, String workspaceName, DataSourceType dataSourceType)
      Gets all linked storage account of a specific data source type associated with the specified workspace.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      workspaceName - The name of the workspace.
      dataSourceType - Linked storage accounts type.
      Returns:
      all linked storage account of a specific data source type associated with the specified workspace.
      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<LinkedStorageAccountsResource> getWithResponse(String resourceGroupName, String workspaceName, DataSourceType dataSourceType, com.azure.core.util.Context context)
      Gets all linked storage account of a specific data source type associated with the specified workspace.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      workspaceName - The name of the workspace.
      dataSourceType - Linked storage accounts type.
      context - The context to associate with this operation.
      Returns:
      all linked storage account of a specific data source type associated with the specified workspace 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.
    • listByWorkspace

      com.azure.core.http.rest.PagedIterable<LinkedStorageAccountsResource> listByWorkspace(String resourceGroupName, String workspaceName)
      Gets all linked storage accounts associated with the specified workspace, storage accounts will be sorted by their data source type.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      workspaceName - The name of the workspace.
      Returns:
      all linked storage accounts associated with the specified workspace, storage accounts will be sorted by their data source type as paginated response with PagedIterable.
      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.
    • listByWorkspace

      com.azure.core.http.rest.PagedIterable<LinkedStorageAccountsResource> listByWorkspace(String resourceGroupName, String workspaceName, com.azure.core.util.Context context)
      Gets all linked storage accounts associated with the specified workspace, storage accounts will be sorted by their data source type.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      workspaceName - The name of the workspace.
      context - The context to associate with this operation.
      Returns:
      all linked storage accounts associated with the specified workspace, storage accounts will be sorted by their data source type as paginated response with PagedIterable.
      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

      Gets all linked storage account of a specific data source type associated with the specified workspace.
      Parameters:
      id - the resource ID.
      Returns:
      all linked storage account of a specific data source type associated with the specified workspace 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<LinkedStorageAccountsResource> getByIdWithResponse(String id, com.azure.core.util.Context context)
      Gets all linked storage account of a specific data source type associated with the specified workspace.
      Parameters:
      id - the resource ID.
      context - The context to associate with this operation.
      Returns:
      all linked storage account of a specific data source type associated with the specified workspace 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)
      Deletes all linked storage accounts of a specific data source type associated with the specified workspace.
      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)
      Deletes all linked storage accounts of a specific data source type associated with the specified workspace.
      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.
    • define

      Begins definition for a new LinkedStorageAccountsResource resource.
      Parameters:
      name - resource name.
      Returns:
      the first stage of the new LinkedStorageAccountsResource definition.