Interface AmlFilesystemsClient


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

    • list

      com.azure.core.http.rest.PagedIterable<AmlFilesystemInner> list()
      Returns all AML file systems the user has access to under a subscription.
      Returns:
      result of the request to list AML file systems as paginated response with PagedIterable.
      Throws:
      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.
    • list

      com.azure.core.http.rest.PagedIterable<AmlFilesystemInner> list(com.azure.core.util.Context context)
      Returns all AML file systems the user has access to under a subscription.
      Parameters:
      context - The context to associate with this operation.
      Returns:
      result of the request to list AML file systems 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.
    • listByResourceGroup

      com.azure.core.http.rest.PagedIterable<AmlFilesystemInner> listByResourceGroup(String resourceGroupName)
      Returns all AML file systems the user has access to under a resource group.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      Returns:
      result of the request to list AML file systems 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.
    • listByResourceGroup

      com.azure.core.http.rest.PagedIterable<AmlFilesystemInner> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context)
      Returns all AML file systems the user has access to under a resource group.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      context - The context to associate with this operation.
      Returns:
      result of the request to list AML file systems 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.
    • beginDelete

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String amlFilesystemName)
      Schedules an AML file system for deletion.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      amlFilesystemName - Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.
      Returns:
      the SyncPoller for polling of long-running operation.
      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.
    • beginDelete

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String amlFilesystemName, com.azure.core.util.Context context)
      Schedules an AML file system for deletion.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      amlFilesystemName - Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of long-running operation.
      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 amlFilesystemName)
      Schedules an AML file system for deletion.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      amlFilesystemName - Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.
      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 amlFilesystemName, com.azure.core.util.Context context)
      Schedules an AML file system for deletion.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      amlFilesystemName - Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.
      context - The context to associate with this operation.
      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.
    • getByResourceGroupWithResponse

      com.azure.core.http.rest.Response<AmlFilesystemInner> getByResourceGroupWithResponse(String resourceGroupName, String amlFilesystemName, com.azure.core.util.Context context)
      Returns an AML file system.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      amlFilesystemName - Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.
      context - The context to associate with this operation.
      Returns:
      an AML file system instance 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.
    • getByResourceGroup

      AmlFilesystemInner getByResourceGroup(String resourceGroupName, String amlFilesystemName)
      Returns an AML file system.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      amlFilesystemName - Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.
      Returns:
      an AML file system instance.
      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.
    • beginCreateOrUpdate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<AmlFilesystemInner>,AmlFilesystemInner> beginCreateOrUpdate(String resourceGroupName, String amlFilesystemName, AmlFilesystemInner amlFilesystem)
      Create or update an AML file system.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      amlFilesystemName - Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.
      amlFilesystem - Object containing the user-selectable properties of the AML file system. If read-only properties are included, they must match the existing values of those properties.
      Returns:
      the SyncPoller for polling of an AML file system instance.
      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.
    • beginCreateOrUpdate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<AmlFilesystemInner>,AmlFilesystemInner> beginCreateOrUpdate(String resourceGroupName, String amlFilesystemName, AmlFilesystemInner amlFilesystem, com.azure.core.util.Context context)
      Create or update an AML file system.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      amlFilesystemName - Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.
      amlFilesystem - Object containing the user-selectable properties of the AML file system. If read-only properties are included, they must match the existing values of those properties.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of an AML file system instance.
      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.
    • createOrUpdate

      AmlFilesystemInner createOrUpdate(String resourceGroupName, String amlFilesystemName, AmlFilesystemInner amlFilesystem)
      Create or update an AML file system.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      amlFilesystemName - Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.
      amlFilesystem - Object containing the user-selectable properties of the AML file system. If read-only properties are included, they must match the existing values of those properties.
      Returns:
      an AML file system instance.
      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.
    • createOrUpdate

      AmlFilesystemInner createOrUpdate(String resourceGroupName, String amlFilesystemName, AmlFilesystemInner amlFilesystem, com.azure.core.util.Context context)
      Create or update an AML file system.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      amlFilesystemName - Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.
      amlFilesystem - Object containing the user-selectable properties of the AML file system. If read-only properties are included, they must match the existing values of those properties.
      context - The context to associate with this operation.
      Returns:
      an AML file system instance.
      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.
    • beginUpdate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<AmlFilesystemInner>,AmlFilesystemInner> beginUpdate(String resourceGroupName, String amlFilesystemName, AmlFilesystemUpdate amlFilesystem)
      Update an AML file system instance.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      amlFilesystemName - Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.
      amlFilesystem - Object containing the user-selectable properties of the AML file system. If read-only properties are included, they must match the existing values of those properties.
      Returns:
      the SyncPoller for polling of an AML file system instance.
      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.
    • beginUpdate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<AmlFilesystemInner>,AmlFilesystemInner> beginUpdate(String resourceGroupName, String amlFilesystemName, AmlFilesystemUpdate amlFilesystem, com.azure.core.util.Context context)
      Update an AML file system instance.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      amlFilesystemName - Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.
      amlFilesystem - Object containing the user-selectable properties of the AML file system. If read-only properties are included, they must match the existing values of those properties.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of an AML file system instance.
      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

      AmlFilesystemInner update(String resourceGroupName, String amlFilesystemName, AmlFilesystemUpdate amlFilesystem)
      Update an AML file system instance.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      amlFilesystemName - Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.
      amlFilesystem - Object containing the user-selectable properties of the AML file system. If read-only properties are included, they must match the existing values of those properties.
      Returns:
      an AML file system instance.
      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

      AmlFilesystemInner update(String resourceGroupName, String amlFilesystemName, AmlFilesystemUpdate amlFilesystem, com.azure.core.util.Context context)
      Update an AML file system instance.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      amlFilesystemName - Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.
      amlFilesystem - Object containing the user-selectable properties of the AML file system. If read-only properties are included, they must match the existing values of those properties.
      context - The context to associate with this operation.
      Returns:
      an AML file system instance.
      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.
    • archiveWithResponse

      com.azure.core.http.rest.Response<Void> archiveWithResponse(String resourceGroupName, String amlFilesystemName, AmlFilesystemArchiveInfo archiveInfo, com.azure.core.util.Context context)
      Archive data from the AML file system.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      amlFilesystemName - Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.
      archiveInfo - Information about the archive operation.
      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.
    • archive

      void archive(String resourceGroupName, String amlFilesystemName)
      Archive data from the AML file system.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      amlFilesystemName - Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.
      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.
    • cancelArchiveWithResponse

      com.azure.core.http.rest.Response<Void> cancelArchiveWithResponse(String resourceGroupName, String amlFilesystemName, com.azure.core.util.Context context)
      Cancel archiving data from the AML file system.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      amlFilesystemName - Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.
      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.
    • cancelArchive

      void cancelArchive(String resourceGroupName, String amlFilesystemName)
      Cancel archiving data from the AML file system.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      amlFilesystemName - Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.
      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.