Interface AmlFilesystems


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

    • list

      com.azure.core.http.rest.PagedIterable<AmlFilesystem> 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<AmlFilesystem> 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<AmlFilesystem> 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<AmlFilesystem> 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.
    • deleteByResourceGroup

      void deleteByResourceGroup(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<AmlFilesystem> 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

      AmlFilesystem 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.
    • 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.
    • getById

      AmlFilesystem getById(String id)
      Returns an AML file system.
      Parameters:
      id - the resource ID.
      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.
    • getByIdWithResponse

      com.azure.core.http.rest.Response<AmlFilesystem> getByIdWithResponse(String id, com.azure.core.util.Context context)
      Returns an AML file system.
      Parameters:
      id - the resource ID.
      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.
    • deleteById

      void deleteById(String id)
      Schedules an AML file system for deletion.
      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

      void deleteByIdWithResponse(String id, com.azure.core.util.Context context)
      Schedules an AML file system for deletion.
      Parameters:
      id - the resource ID.
      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.
    • define

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