Interface AmlFilesystems
public interface AmlFilesystems
Resource collection API of AmlFilesystems.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Archive data from the AML file system.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.void
cancelArchive
(String resourceGroupName, String amlFilesystemName) Cancel archiving data from the AML file system.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.Begins definition for a new AmlFilesystem resource.void
Schedules an AML file system for deletion.void
deleteById
(String id) Schedules an AML file system for deletion.void
deleteByIdWithResponse
(String id, com.azure.core.util.Context context) Schedules an AML file system for deletion.void
deleteByResourceGroup
(String resourceGroupName, String amlFilesystemName) Schedules an AML file system for deletion.Returns an AML file system.com.azure.core.http.rest.Response<AmlFilesystem>
getByIdWithResponse
(String id, com.azure.core.util.Context context) Returns an AML file system.getByResourceGroup
(String resourceGroupName, String amlFilesystemName) Returns an AML file system.com.azure.core.http.rest.Response<AmlFilesystem>
getByResourceGroupWithResponse
(String resourceGroupName, String amlFilesystemName, com.azure.core.util.Context context) Returns an AML file system.com.azure.core.http.rest.PagedIterable<AmlFilesystem>
list()
Returns all AML file systems the user has access to under a subscription.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.com.azure.core.http.rest.PagedIterable<AmlFilesystem>
listByResourceGroup
(String resourceGroupName) Returns all AML file systems the user has access to under a resource group.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.
-
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
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
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
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
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
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
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
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
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
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.
-