Interface VolumesClient
public interface VolumesClient
An instance of this class provides access to all the operations defined in VolumesClient.
-
Method Summary
Modifier and TypeMethodDescriptionauthorizeExternalReplication
(String resourceGroupName, String accountName, String poolName, String volumeName) Start migration process Starts SVM peering and returns a command to be run on the external ONTAP to accept it.authorizeExternalReplication
(String resourceGroupName, String accountName, String poolName, String volumeName, com.azure.core.util.Context context) Start migration process Starts SVM peering and returns a command to be run on the external ONTAP to accept it.void
authorizeReplication
(String resourceGroupName, String accountName, String poolName, String volumeName, AuthorizeRequest body) Authorize source volume replication Authorize the replication connection on the source volume.void
authorizeReplication
(String resourceGroupName, String accountName, String poolName, String volumeName, AuthorizeRequest body, com.azure.core.util.Context context) Authorize source volume replication Authorize the replication connection on the source volume.com.azure.core.util.polling.SyncPoller
<com.azure.core.management.polling.PollResult<SvmPeerCommandResponseInner>, SvmPeerCommandResponseInner> beginAuthorizeExternalReplication
(String resourceGroupName, String accountName, String poolName, String volumeName) Start migration process Starts SVM peering and returns a command to be run on the external ONTAP to accept it.com.azure.core.util.polling.SyncPoller
<com.azure.core.management.polling.PollResult<SvmPeerCommandResponseInner>, SvmPeerCommandResponseInner> beginAuthorizeExternalReplication
(String resourceGroupName, String accountName, String poolName, String volumeName, com.azure.core.util.Context context) Start migration process Starts SVM peering and returns a command to be run on the external ONTAP to accept it.beginAuthorizeReplication
(String resourceGroupName, String accountName, String poolName, String volumeName, AuthorizeRequest body) Authorize source volume replication Authorize the replication connection on the source volume.beginAuthorizeReplication
(String resourceGroupName, String accountName, String poolName, String volumeName, AuthorizeRequest body, com.azure.core.util.Context context) Authorize source volume replication Authorize the replication connection on the source volume.beginBreakFileLocks
(String resourceGroupName, String accountName, String poolName, String volumeName) Break file locks Break all the file locks on a volume.beginBreakFileLocks
(String resourceGroupName, String accountName, String poolName, String volumeName, BreakFileLocksRequest body, com.azure.core.util.Context context) Break file locks Break all the file locks on a volume.beginBreakReplication
(String resourceGroupName, String accountName, String poolName, String volumeName) Break volume replication Break the replication connection on the destination volume.beginBreakReplication
(String resourceGroupName, String accountName, String poolName, String volumeName, BreakReplicationRequest body, com.azure.core.util.Context context) Break volume replication Break the replication connection on the destination volume.com.azure.core.util.polling.SyncPoller
<com.azure.core.management.polling.PollResult<VolumeInner>, VolumeInner> beginCreateOrUpdate
(String resourceGroupName, String accountName, String poolName, String volumeName, VolumeInner body) Create or Update a volume Create or update the specified volume within the capacity pool.com.azure.core.util.polling.SyncPoller
<com.azure.core.management.polling.PollResult<VolumeInner>, VolumeInner> beginCreateOrUpdate
(String resourceGroupName, String accountName, String poolName, String volumeName, VolumeInner body, com.azure.core.util.Context context) Create or Update a volume Create or update the specified volume within the capacity pool.beginDelete
(String resourceGroupName, String accountName, String poolName, String volumeName) Delete a volume Delete the specified volume.beginDelete
(String resourceGroupName, String accountName, String poolName, String volumeName, Boolean forceDelete, com.azure.core.util.Context context) Delete a volume Delete the specified volume.beginDeleteReplication
(String resourceGroupName, String accountName, String poolName, String volumeName) Delete volume replication Delete the replication connection on the destination volume, and send release to the source replication.beginDeleteReplication
(String resourceGroupName, String accountName, String poolName, String volumeName, com.azure.core.util.Context context) Delete volume replication Delete the replication connection on the destination volume, and send release to the source replication.beginFinalizeExternalReplication
(String resourceGroupName, String accountName, String poolName, String volumeName) Finalize migration process Finalizes the migration of an external volume by releasing the replication and breaking the external cluster peering if no other migration is active.beginFinalizeExternalReplication
(String resourceGroupName, String accountName, String poolName, String volumeName, com.azure.core.util.Context context) Finalize migration process Finalizes the migration of an external volume by releasing the replication and breaking the external cluster peering if no other migration is active.beginFinalizeRelocation
(String resourceGroupName, String accountName, String poolName, String volumeName) Finalize volume relocation Finalizes the relocation of the volume and cleans up the old volume.beginFinalizeRelocation
(String resourceGroupName, String accountName, String poolName, String volumeName, com.azure.core.util.Context context) Finalize volume relocation Finalizes the relocation of the volume and cleans up the old volume.com.azure.core.util.polling.SyncPoller
<com.azure.core.management.polling.PollResult<GetGroupIdListForLdapUserResponseInner>, GetGroupIdListForLdapUserResponseInner> beginListGetGroupIdListForLdapUser
(String resourceGroupName, String accountName, String poolName, String volumeName, GetGroupIdListForLdapUserRequest body) Get Group Id List for LDAP User Returns the list of group Ids for a specific LDAP User.com.azure.core.util.polling.SyncPoller
<com.azure.core.management.polling.PollResult<GetGroupIdListForLdapUserResponseInner>, GetGroupIdListForLdapUserResponseInner> beginListGetGroupIdListForLdapUser
(String resourceGroupName, String accountName, String poolName, String volumeName, GetGroupIdListForLdapUserRequest body, com.azure.core.util.Context context) Get Group Id List for LDAP User Returns the list of group Ids for a specific LDAP User.com.azure.core.util.polling.SyncPoller
<com.azure.core.management.polling.PollResult<ClusterPeerCommandResponseInner>, ClusterPeerCommandResponseInner> beginPeerExternalCluster
(String resourceGroupName, String accountName, String poolName, String volumeName, PeerClusterForVolumeMigrationRequest body) Start Cluster peering Starts peering the external cluster for this migration volume.com.azure.core.util.polling.SyncPoller
<com.azure.core.management.polling.PollResult<ClusterPeerCommandResponseInner>, ClusterPeerCommandResponseInner> beginPeerExternalCluster
(String resourceGroupName, String accountName, String poolName, String volumeName, PeerClusterForVolumeMigrationRequest body, com.azure.core.util.Context context) Start Cluster peering Starts peering the external cluster for this migration volume.beginPerformReplicationTransfer
(String resourceGroupName, String accountName, String poolName, String volumeName) Perform a replication transfer Performs an adhoc replication transfer on a volume with volumeType Migration.beginPerformReplicationTransfer
(String resourceGroupName, String accountName, String poolName, String volumeName, com.azure.core.util.Context context) Perform a replication transfer Performs an adhoc replication transfer on a volume with volumeType Migration.beginPoolChange
(String resourceGroupName, String accountName, String poolName, String volumeName, PoolChangeRequest body) Change pool for volume Moves volume to another pool.beginPoolChange
(String resourceGroupName, String accountName, String poolName, String volumeName, PoolChangeRequest body, com.azure.core.util.Context context) Change pool for volume Moves volume to another pool.com.azure.core.util.polling.SyncPoller
<com.azure.core.management.polling.PollResult<VolumeInner>, VolumeInner> beginPopulateAvailabilityZone
(String resourceGroupName, String accountName, String poolName, String volumeName) Populate Availability Zone This operation will populate availability zone information for a volume.com.azure.core.util.polling.SyncPoller
<com.azure.core.management.polling.PollResult<VolumeInner>, VolumeInner> beginPopulateAvailabilityZone
(String resourceGroupName, String accountName, String poolName, String volumeName, com.azure.core.util.Context context) Populate Availability Zone This operation will populate availability zone information for a volume.beginReestablishReplication
(String resourceGroupName, String accountName, String poolName, String volumeName, ReestablishReplicationRequest body) Re-establish volume replication Re-establish a previously deleted replication between 2 volumes that have a common ad-hoc or policy-based snapshots.beginReestablishReplication
(String resourceGroupName, String accountName, String poolName, String volumeName, ReestablishReplicationRequest body, com.azure.core.util.Context context) Re-establish volume replication Re-establish a previously deleted replication between 2 volumes that have a common ad-hoc or policy-based snapshots.beginReInitializeReplication
(String resourceGroupName, String accountName, String poolName, String volumeName) ReInitialize volume replication Re-Initializes the replication connection on the destination volume.beginReInitializeReplication
(String resourceGroupName, String accountName, String poolName, String volumeName, com.azure.core.util.Context context) ReInitialize volume replication Re-Initializes the replication connection on the destination volume.beginRelocate
(String resourceGroupName, String accountName, String poolName, String volumeName) Relocate volume Relocates volume to a new stamp.beginRelocate
(String resourceGroupName, String accountName, String poolName, String volumeName, RelocateVolumeRequest body, com.azure.core.util.Context context) Relocate volume Relocates volume to a new stamp.beginResetCifsPassword
(String resourceGroupName, String accountName, String poolName, String volumeName) Reset cifs password Reset cifs password from volume.beginResetCifsPassword
(String resourceGroupName, String accountName, String poolName, String volumeName, com.azure.core.util.Context context) Reset cifs password Reset cifs password from volume.beginResyncReplication
(String resourceGroupName, String accountName, String poolName, String volumeName) Resync volume replication Resync the connection on the destination volume.beginResyncReplication
(String resourceGroupName, String accountName, String poolName, String volumeName, com.azure.core.util.Context context) Resync volume replication Resync the connection on the destination volume.beginRevert
(String resourceGroupName, String accountName, String poolName, String volumeName, VolumeRevert body) Revert a volume to one of its snapshots Revert a volume to the snapshot specified in the body.beginRevert
(String resourceGroupName, String accountName, String poolName, String volumeName, VolumeRevert body, com.azure.core.util.Context context) Revert a volume to one of its snapshots Revert a volume to the snapshot specified in the body.beginRevertRelocation
(String resourceGroupName, String accountName, String poolName, String volumeName) Revert volume relocation Reverts the volume relocation process, cleans up the new volume and starts using the former-existing volume.beginRevertRelocation
(String resourceGroupName, String accountName, String poolName, String volumeName, com.azure.core.util.Context context) Revert volume relocation Reverts the volume relocation process, cleans up the new volume and starts using the former-existing volume.com.azure.core.util.polling.SyncPoller
<com.azure.core.management.polling.PollResult<VolumeInner>, VolumeInner> beginUpdate
(String resourceGroupName, String accountName, String poolName, String volumeName, VolumePatch body) Update a volume Patch the specified volume.com.azure.core.util.polling.SyncPoller
<com.azure.core.management.polling.PollResult<VolumeInner>, VolumeInner> beginUpdate
(String resourceGroupName, String accountName, String poolName, String volumeName, VolumePatch body, com.azure.core.util.Context context) Update a volume Patch the specified volume.void
breakFileLocks
(String resourceGroupName, String accountName, String poolName, String volumeName) Break file locks Break all the file locks on a volume.void
breakFileLocks
(String resourceGroupName, String accountName, String poolName, String volumeName, BreakFileLocksRequest body, com.azure.core.util.Context context) Break file locks Break all the file locks on a volume.void
breakReplication
(String resourceGroupName, String accountName, String poolName, String volumeName) Break volume replication Break the replication connection on the destination volume.void
breakReplication
(String resourceGroupName, String accountName, String poolName, String volumeName, BreakReplicationRequest body, com.azure.core.util.Context context) Break volume replication Break the replication connection on the destination volume.createOrUpdate
(String resourceGroupName, String accountName, String poolName, String volumeName, VolumeInner body) Create or Update a volume Create or update the specified volume within the capacity pool.createOrUpdate
(String resourceGroupName, String accountName, String poolName, String volumeName, VolumeInner body, com.azure.core.util.Context context) Create or Update a volume Create or update the specified volume within the capacity pool.void
Delete a volume Delete the specified volume.void
delete
(String resourceGroupName, String accountName, String poolName, String volumeName, Boolean forceDelete, com.azure.core.util.Context context) Delete a volume Delete the specified volume.void
deleteReplication
(String resourceGroupName, String accountName, String poolName, String volumeName) Delete volume replication Delete the replication connection on the destination volume, and send release to the source replication.void
deleteReplication
(String resourceGroupName, String accountName, String poolName, String volumeName, com.azure.core.util.Context context) Delete volume replication Delete the replication connection on the destination volume, and send release to the source replication.void
finalizeExternalReplication
(String resourceGroupName, String accountName, String poolName, String volumeName) Finalize migration process Finalizes the migration of an external volume by releasing the replication and breaking the external cluster peering if no other migration is active.void
finalizeExternalReplication
(String resourceGroupName, String accountName, String poolName, String volumeName, com.azure.core.util.Context context) Finalize migration process Finalizes the migration of an external volume by releasing the replication and breaking the external cluster peering if no other migration is active.void
finalizeRelocation
(String resourceGroupName, String accountName, String poolName, String volumeName) Finalize volume relocation Finalizes the relocation of the volume and cleans up the old volume.void
finalizeRelocation
(String resourceGroupName, String accountName, String poolName, String volumeName, com.azure.core.util.Context context) Finalize volume relocation Finalizes the relocation of the volume and cleans up the old volume.Describe a volume Get the details of the specified volume.com.azure.core.http.rest.Response
<VolumeInner> getWithResponse
(String resourceGroupName, String accountName, String poolName, String volumeName, com.azure.core.util.Context context) Describe a volume Get the details of the specified volume.com.azure.core.http.rest.PagedIterable
<VolumeInner> Describe all volumes List all volumes within the capacity pool.com.azure.core.http.rest.PagedIterable
<VolumeInner> list
(String resourceGroupName, String accountName, String poolName, com.azure.core.util.Context context) Describe all volumes List all volumes within the capacity pool.listGetGroupIdListForLdapUser
(String resourceGroupName, String accountName, String poolName, String volumeName, GetGroupIdListForLdapUserRequest body) Get Group Id List for LDAP User Returns the list of group Ids for a specific LDAP User.listGetGroupIdListForLdapUser
(String resourceGroupName, String accountName, String poolName, String volumeName, GetGroupIdListForLdapUserRequest body, com.azure.core.util.Context context) Get Group Id List for LDAP User Returns the list of group Ids for a specific LDAP User.com.azure.core.http.rest.PagedIterable
<ReplicationInner> listReplications
(String resourceGroupName, String accountName, String poolName, String volumeName) List replications for volume List all replications for a specified volume.com.azure.core.http.rest.PagedIterable
<ReplicationInner> listReplications
(String resourceGroupName, String accountName, String poolName, String volumeName, com.azure.core.util.Context context) List replications for volume List all replications for a specified volume.peerExternalCluster
(String resourceGroupName, String accountName, String poolName, String volumeName, PeerClusterForVolumeMigrationRequest body) Start Cluster peering Starts peering the external cluster for this migration volume.peerExternalCluster
(String resourceGroupName, String accountName, String poolName, String volumeName, PeerClusterForVolumeMigrationRequest body, com.azure.core.util.Context context) Start Cluster peering Starts peering the external cluster for this migration volume.void
performReplicationTransfer
(String resourceGroupName, String accountName, String poolName, String volumeName) Perform a replication transfer Performs an adhoc replication transfer on a volume with volumeType Migration.void
performReplicationTransfer
(String resourceGroupName, String accountName, String poolName, String volumeName, com.azure.core.util.Context context) Perform a replication transfer Performs an adhoc replication transfer on a volume with volumeType Migration.void
poolChange
(String resourceGroupName, String accountName, String poolName, String volumeName, PoolChangeRequest body) Change pool for volume Moves volume to another pool.void
poolChange
(String resourceGroupName, String accountName, String poolName, String volumeName, PoolChangeRequest body, com.azure.core.util.Context context) Change pool for volume Moves volume to another pool.populateAvailabilityZone
(String resourceGroupName, String accountName, String poolName, String volumeName) Populate Availability Zone This operation will populate availability zone information for a volume.populateAvailabilityZone
(String resourceGroupName, String accountName, String poolName, String volumeName, com.azure.core.util.Context context) Populate Availability Zone This operation will populate availability zone information for a volume.void
reestablishReplication
(String resourceGroupName, String accountName, String poolName, String volumeName, ReestablishReplicationRequest body) Re-establish volume replication Re-establish a previously deleted replication between 2 volumes that have a common ad-hoc or policy-based snapshots.void
reestablishReplication
(String resourceGroupName, String accountName, String poolName, String volumeName, ReestablishReplicationRequest body, com.azure.core.util.Context context) Re-establish volume replication Re-establish a previously deleted replication between 2 volumes that have a common ad-hoc or policy-based snapshots.void
reInitializeReplication
(String resourceGroupName, String accountName, String poolName, String volumeName) ReInitialize volume replication Re-Initializes the replication connection on the destination volume.void
reInitializeReplication
(String resourceGroupName, String accountName, String poolName, String volumeName, com.azure.core.util.Context context) ReInitialize volume replication Re-Initializes the replication connection on the destination volume.void
Relocate volume Relocates volume to a new stamp.void
relocate
(String resourceGroupName, String accountName, String poolName, String volumeName, RelocateVolumeRequest body, com.azure.core.util.Context context) Relocate volume Relocates volume to a new stamp.replicationStatus
(String resourceGroupName, String accountName, String poolName, String volumeName) Get volume replication status Get the status of the replication.com.azure.core.http.rest.Response
<ReplicationStatusInner> replicationStatusWithResponse
(String resourceGroupName, String accountName, String poolName, String volumeName, com.azure.core.util.Context context) Get volume replication status Get the status of the replication.void
resetCifsPassword
(String resourceGroupName, String accountName, String poolName, String volumeName) Reset cifs password Reset cifs password from volume.void
resetCifsPassword
(String resourceGroupName, String accountName, String poolName, String volumeName, com.azure.core.util.Context context) Reset cifs password Reset cifs password from volume.void
resyncReplication
(String resourceGroupName, String accountName, String poolName, String volumeName) Resync volume replication Resync the connection on the destination volume.void
resyncReplication
(String resourceGroupName, String accountName, String poolName, String volumeName, com.azure.core.util.Context context) Resync volume replication Resync the connection on the destination volume.void
revert
(String resourceGroupName, String accountName, String poolName, String volumeName, VolumeRevert body) Revert a volume to one of its snapshots Revert a volume to the snapshot specified in the body.void
revert
(String resourceGroupName, String accountName, String poolName, String volumeName, VolumeRevert body, com.azure.core.util.Context context) Revert a volume to one of its snapshots Revert a volume to the snapshot specified in the body.void
revertRelocation
(String resourceGroupName, String accountName, String poolName, String volumeName) Revert volume relocation Reverts the volume relocation process, cleans up the new volume and starts using the former-existing volume.void
revertRelocation
(String resourceGroupName, String accountName, String poolName, String volumeName, com.azure.core.util.Context context) Revert volume relocation Reverts the volume relocation process, cleans up the new volume and starts using the former-existing volume.update
(String resourceGroupName, String accountName, String poolName, String volumeName, VolumePatch body) Update a volume Patch the specified volume.update
(String resourceGroupName, String accountName, String poolName, String volumeName, VolumePatch body, com.azure.core.util.Context context) Update a volume Patch the specified volume.
-
Method Details
-
list
com.azure.core.http.rest.PagedIterable<VolumeInner> list(String resourceGroupName, String accountName, String poolName) Describe all volumes List all volumes within the capacity pool.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.accountName
- The name of the NetApp account.poolName
- The name of the capacity pool.- Returns:
- list of volume resources 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.
-
list
com.azure.core.http.rest.PagedIterable<VolumeInner> list(String resourceGroupName, String accountName, String poolName, com.azure.core.util.Context context) Describe all volumes List all volumes within the capacity pool.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.accountName
- The name of the NetApp account.poolName
- The name of the capacity pool.context
- The context to associate with this operation.- Returns:
- list of volume resources 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.
-
getWithResponse
com.azure.core.http.rest.Response<VolumeInner> getWithResponse(String resourceGroupName, String accountName, String poolName, String volumeName, com.azure.core.util.Context context) Describe a volume Get the details of the specified volume.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.accountName
- The name of the NetApp account.poolName
- The name of the capacity pool.volumeName
- The name of the volume.context
- The context to associate with this operation.- Returns:
- the details of the specified volume 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.
-
get
Describe a volume Get the details of the specified volume.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.accountName
- The name of the NetApp account.poolName
- The name of the capacity pool.volumeName
- The name of the volume.- Returns:
- the details of the specified volume.
- 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<VolumeInner>,VolumeInner> beginCreateOrUpdate(String resourceGroupName, String accountName, String poolName, String volumeName, VolumeInner body) Create or Update a volume Create or update the specified volume within the capacity pool.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.accountName
- The name of the NetApp account.poolName
- The name of the capacity pool.volumeName
- The name of the volume.body
- Volume object supplied in the body of the operation.- Returns:
- the
SyncPoller
for polling of volume resource. - 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<VolumeInner>,VolumeInner> beginCreateOrUpdate(String resourceGroupName, String accountName, String poolName, String volumeName, VolumeInner body, com.azure.core.util.Context context) Create or Update a volume Create or update the specified volume within the capacity pool.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.accountName
- The name of the NetApp account.poolName
- The name of the capacity pool.volumeName
- The name of the volume.body
- Volume object supplied in the body of the operation.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for polling of volume resource. - 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
VolumeInner createOrUpdate(String resourceGroupName, String accountName, String poolName, String volumeName, VolumeInner body) Create or Update a volume Create or update the specified volume within the capacity pool.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.accountName
- The name of the NetApp account.poolName
- The name of the capacity pool.volumeName
- The name of the volume.body
- Volume object supplied in the body of the operation.- Returns:
- volume resource.
- 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
VolumeInner createOrUpdate(String resourceGroupName, String accountName, String poolName, String volumeName, VolumeInner body, com.azure.core.util.Context context) Create or Update a volume Create or update the specified volume within the capacity pool.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.accountName
- The name of the NetApp account.poolName
- The name of the capacity pool.volumeName
- The name of the volume.body
- Volume object supplied in the body of the operation.context
- The context to associate with this operation.- Returns:
- volume resource.
- 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<VolumeInner>,VolumeInner> beginUpdate(String resourceGroupName, String accountName, String poolName, String volumeName, VolumePatch body) Update a volume Patch the specified volume.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.accountName
- The name of the NetApp account.poolName
- The name of the capacity pool.volumeName
- The name of the volume.body
- Volume object supplied in the body of the operation.- Returns:
- the
SyncPoller
for polling of volume resource. - 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<VolumeInner>,VolumeInner> beginUpdate(String resourceGroupName, String accountName, String poolName, String volumeName, VolumePatch body, com.azure.core.util.Context context) Update a volume Patch the specified volume.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.accountName
- The name of the NetApp account.poolName
- The name of the capacity pool.volumeName
- The name of the volume.body
- Volume object supplied in the body of the operation.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for polling of volume resource. - 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
VolumeInner update(String resourceGroupName, String accountName, String poolName, String volumeName, VolumePatch body) Update a volume Patch the specified volume.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.accountName
- The name of the NetApp account.poolName
- The name of the capacity pool.volumeName
- The name of the volume.body
- Volume object supplied in the body of the operation.- Returns:
- volume resource.
- 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
VolumeInner update(String resourceGroupName, String accountName, String poolName, String volumeName, VolumePatch body, com.azure.core.util.Context context) Update a volume Patch the specified volume.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.accountName
- The name of the NetApp account.poolName
- The name of the capacity pool.volumeName
- The name of the volume.body
- Volume object supplied in the body of the operation.context
- The context to associate with this operation.- Returns:
- volume resource.
- 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 accountName, String poolName, String volumeName) Delete a volume Delete the specified volume.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.accountName
- The name of the NetApp account.poolName
- The name of the capacity pool.volumeName
- The name of the volume.- 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 accountName, String poolName, String volumeName, Boolean forceDelete, com.azure.core.util.Context context) Delete a volume Delete the specified volume.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.accountName
- The name of the NetApp account.poolName
- The name of the capacity pool.volumeName
- The name of the volume.forceDelete
- An option to force delete the volume. Will cleanup resources connected to the particular volume.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
Delete a volume Delete the specified volume.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.accountName
- The name of the NetApp account.poolName
- The name of the capacity pool.volumeName
- The name of the volume.- 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 accountName, String poolName, String volumeName, Boolean forceDelete, com.azure.core.util.Context context) Delete a volume Delete the specified volume.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.accountName
- The name of the NetApp account.poolName
- The name of the capacity pool.volumeName
- The name of the volume.forceDelete
- An option to force delete the volume. Will cleanup resources connected to the particular volume.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.
-
beginPopulateAvailabilityZone
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<VolumeInner>,VolumeInner> beginPopulateAvailabilityZone(String resourceGroupName, String accountName, String poolName, String volumeName) Populate Availability Zone This operation will populate availability zone information for a volume.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.accountName
- The name of the NetApp account.poolName
- The name of the capacity pool.volumeName
- The name of the volume.- Returns:
- the
SyncPoller
for polling of volume resource. - 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.
-
beginPopulateAvailabilityZone
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<VolumeInner>,VolumeInner> beginPopulateAvailabilityZone(String resourceGroupName, String accountName, String poolName, String volumeName, com.azure.core.util.Context context) Populate Availability Zone This operation will populate availability zone information for a volume.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.accountName
- The name of the NetApp account.poolName
- The name of the capacity pool.volumeName
- The name of the volume.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for polling of volume resource. - 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.
-
populateAvailabilityZone
VolumeInner populateAvailabilityZone(String resourceGroupName, String accountName, String poolName, String volumeName) Populate Availability Zone This operation will populate availability zone information for a volume.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.accountName
- The name of the NetApp account.poolName
- The name of the capacity pool.volumeName
- The name of the volume.- Returns:
- volume resource.
- 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.
-
populateAvailabilityZone
VolumeInner populateAvailabilityZone(String resourceGroupName, String accountName, String poolName, String volumeName, com.azure.core.util.Context context) Populate Availability Zone This operation will populate availability zone information for a volume.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.accountName
- The name of the NetApp account.poolName
- The name of the capacity pool.volumeName
- The name of the volume.context
- The context to associate with this operation.- Returns:
- volume resource.
- 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.
-
beginRevert
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginRevert(String resourceGroupName, String accountName, String poolName, String volumeName, VolumeRevert body) Revert a volume to one of its snapshots Revert a volume to the snapshot specified in the body.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.accountName
- The name of the NetApp account.poolName
- The name of the capacity pool.volumeName
- The name of the volume.body
- Object for snapshot to revert supplied in the body of the 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.
-
beginRevert
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginRevert(String resourceGroupName, String accountName, String poolName, String volumeName, VolumeRevert body, com.azure.core.util.Context context) Revert a volume to one of its snapshots Revert a volume to the snapshot specified in the body.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.accountName
- The name of the NetApp account.poolName
- The name of the capacity pool.volumeName
- The name of the volume.body
- Object for snapshot to revert supplied in the body of the operation.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.
-
revert
void revert(String resourceGroupName, String accountName, String poolName, String volumeName, VolumeRevert body) Revert a volume to one of its snapshots Revert a volume to the snapshot specified in the body.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.accountName
- The name of the NetApp account.poolName
- The name of the capacity pool.volumeName
- The name of the volume.body
- Object for snapshot to revert supplied in the body of the 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.
-
revert
void revert(String resourceGroupName, String accountName, String poolName, String volumeName, VolumeRevert body, com.azure.core.util.Context context) Revert a volume to one of its snapshots Revert a volume to the snapshot specified in the body.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.accountName
- The name of the NetApp account.poolName
- The name of the capacity pool.volumeName
- The name of the volume.body
- Object for snapshot to revert supplied in the body of the operation.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.
-
beginResetCifsPassword
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginResetCifsPassword(String resourceGroupName, String accountName, String poolName, String volumeName) Reset cifs password Reset cifs password from volume.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.accountName
- The name of the NetApp account.poolName
- The name of the capacity pool.volumeName
- The name of the volume.- 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.
-
beginResetCifsPassword
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginResetCifsPassword(String resourceGroupName, String accountName, String poolName, String volumeName, com.azure.core.util.Context context) Reset cifs password Reset cifs password from volume.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.accountName
- The name of the NetApp account.poolName
- The name of the capacity pool.volumeName
- The name of the volume.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.
-
resetCifsPassword
void resetCifsPassword(String resourceGroupName, String accountName, String poolName, String volumeName) Reset cifs password Reset cifs password from volume.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.accountName
- The name of the NetApp account.poolName
- The name of the capacity pool.volumeName
- The name of the volume.- 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.
-
resetCifsPassword
void resetCifsPassword(String resourceGroupName, String accountName, String poolName, String volumeName, com.azure.core.util.Context context) Reset cifs password Reset cifs password from volume.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.accountName
- The name of the NetApp account.poolName
- The name of the capacity pool.volumeName
- The name of the volume.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.
-
beginBreakFileLocks
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginBreakFileLocks(String resourceGroupName, String accountName, String poolName, String volumeName) Break file locks Break all the file locks on a volume.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.accountName
- The name of the NetApp account.poolName
- The name of the capacity pool.volumeName
- The name of the volume.- 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.
-
beginBreakFileLocks
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginBreakFileLocks(String resourceGroupName, String accountName, String poolName, String volumeName, BreakFileLocksRequest body, com.azure.core.util.Context context) Break file locks Break all the file locks on a volume.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.accountName
- The name of the NetApp account.poolName
- The name of the capacity pool.volumeName
- The name of the volume.body
- Optional body to provide the ability to clear file locks with selected options.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.
-
breakFileLocks
void breakFileLocks(String resourceGroupName, String accountName, String poolName, String volumeName) Break file locks Break all the file locks on a volume.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.accountName
- The name of the NetApp account.poolName
- The name of the capacity pool.volumeName
- The name of the volume.- 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.
-
breakFileLocks
void breakFileLocks(String resourceGroupName, String accountName, String poolName, String volumeName, BreakFileLocksRequest body, com.azure.core.util.Context context) Break file locks Break all the file locks on a volume.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.accountName
- The name of the NetApp account.poolName
- The name of the capacity pool.volumeName
- The name of the volume.body
- Optional body to provide the ability to clear file locks with selected options.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.
-
beginListGetGroupIdListForLdapUser
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<GetGroupIdListForLdapUserResponseInner>,GetGroupIdListForLdapUserResponseInner> beginListGetGroupIdListForLdapUser(String resourceGroupName, String accountName, String poolName, String volumeName, GetGroupIdListForLdapUserRequest body) Get Group Id List for LDAP User Returns the list of group Ids for a specific LDAP User.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.accountName
- The name of the NetApp account.poolName
- The name of the capacity pool.volumeName
- The name of the volume.body
- Returns group Id list for a specific LDAP user.- Returns:
- the
SyncPoller
for polling of group Id list for Ldap user. - 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.
-
beginListGetGroupIdListForLdapUser
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<GetGroupIdListForLdapUserResponseInner>,GetGroupIdListForLdapUserResponseInner> beginListGetGroupIdListForLdapUser(String resourceGroupName, String accountName, String poolName, String volumeName, GetGroupIdListForLdapUserRequest body, com.azure.core.util.Context context) Get Group Id List for LDAP User Returns the list of group Ids for a specific LDAP User.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.accountName
- The name of the NetApp account.poolName
- The name of the capacity pool.volumeName
- The name of the volume.body
- Returns group Id list for a specific LDAP user.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for polling of group Id list for Ldap user. - 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.
-
listGetGroupIdListForLdapUser
GetGroupIdListForLdapUserResponseInner listGetGroupIdListForLdapUser(String resourceGroupName, String accountName, String poolName, String volumeName, GetGroupIdListForLdapUserRequest body) Get Group Id List for LDAP User Returns the list of group Ids for a specific LDAP User.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.accountName
- The name of the NetApp account.poolName
- The name of the capacity pool.volumeName
- The name of the volume.body
- Returns group Id list for a specific LDAP user.- Returns:
- group Id list for Ldap user.
- 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.
-
listGetGroupIdListForLdapUser
GetGroupIdListForLdapUserResponseInner listGetGroupIdListForLdapUser(String resourceGroupName, String accountName, String poolName, String volumeName, GetGroupIdListForLdapUserRequest body, com.azure.core.util.Context context) Get Group Id List for LDAP User Returns the list of group Ids for a specific LDAP User.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.accountName
- The name of the NetApp account.poolName
- The name of the capacity pool.volumeName
- The name of the volume.body
- Returns group Id list for a specific LDAP user.context
- The context to associate with this operation.- Returns:
- group Id list for Ldap user.
- 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.
-
beginBreakReplication
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginBreakReplication(String resourceGroupName, String accountName, String poolName, String volumeName) Break volume replication Break the replication connection on the destination volume.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.accountName
- The name of the NetApp account.poolName
- The name of the capacity pool.volumeName
- The name of the volume.- 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.
-
beginBreakReplication
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginBreakReplication(String resourceGroupName, String accountName, String poolName, String volumeName, BreakReplicationRequest body, com.azure.core.util.Context context) Break volume replication Break the replication connection on the destination volume.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.accountName
- The name of the NetApp account.poolName
- The name of the capacity pool.volumeName
- The name of the volume.body
- Optional body to force break the replication.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.
-
breakReplication
void breakReplication(String resourceGroupName, String accountName, String poolName, String volumeName) Break volume replication Break the replication connection on the destination volume.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.accountName
- The name of the NetApp account.poolName
- The name of the capacity pool.volumeName
- The name of the volume.- 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.
-
breakReplication
void breakReplication(String resourceGroupName, String accountName, String poolName, String volumeName, BreakReplicationRequest body, com.azure.core.util.Context context) Break volume replication Break the replication connection on the destination volume.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.accountName
- The name of the NetApp account.poolName
- The name of the capacity pool.volumeName
- The name of the volume.body
- Optional body to force break the replication.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.
-
beginReestablishReplication
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginReestablishReplication(String resourceGroupName, String accountName, String poolName, String volumeName, ReestablishReplicationRequest body) Re-establish volume replication Re-establish a previously deleted replication between 2 volumes that have a common ad-hoc or policy-based snapshots.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.accountName
- The name of the NetApp account.poolName
- The name of the capacity pool.volumeName
- The name of the volume.body
- body for the id of the source volume.- 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.
-
beginReestablishReplication
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginReestablishReplication(String resourceGroupName, String accountName, String poolName, String volumeName, ReestablishReplicationRequest body, com.azure.core.util.Context context) Re-establish volume replication Re-establish a previously deleted replication between 2 volumes that have a common ad-hoc or policy-based snapshots.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.accountName
- The name of the NetApp account.poolName
- The name of the capacity pool.volumeName
- The name of the volume.body
- body for the id of the source volume.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.
-
reestablishReplication
void reestablishReplication(String resourceGroupName, String accountName, String poolName, String volumeName, ReestablishReplicationRequest body) Re-establish volume replication Re-establish a previously deleted replication between 2 volumes that have a common ad-hoc or policy-based snapshots.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.accountName
- The name of the NetApp account.poolName
- The name of the capacity pool.volumeName
- The name of the volume.body
- body for the id of the source volume.- 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.
-
reestablishReplication
void reestablishReplication(String resourceGroupName, String accountName, String poolName, String volumeName, ReestablishReplicationRequest body, com.azure.core.util.Context context) Re-establish volume replication Re-establish a previously deleted replication between 2 volumes that have a common ad-hoc or policy-based snapshots.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.accountName
- The name of the NetApp account.poolName
- The name of the capacity pool.volumeName
- The name of the volume.body
- body for the id of the source volume.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.
-
replicationStatusWithResponse
com.azure.core.http.rest.Response<ReplicationStatusInner> replicationStatusWithResponse(String resourceGroupName, String accountName, String poolName, String volumeName, com.azure.core.util.Context context) Get volume replication status Get the status of the replication.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.accountName
- The name of the NetApp account.poolName
- The name of the capacity pool.volumeName
- The name of the volume.context
- The context to associate with this operation.- Returns:
- the status of the replication 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.
-
replicationStatus
ReplicationStatusInner replicationStatus(String resourceGroupName, String accountName, String poolName, String volumeName) Get volume replication status Get the status of the replication.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.accountName
- The name of the NetApp account.poolName
- The name of the capacity pool.volumeName
- The name of the volume.- Returns:
- the status of the replication.
- 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.
-
listReplications
com.azure.core.http.rest.PagedIterable<ReplicationInner> listReplications(String resourceGroupName, String accountName, String poolName, String volumeName) List replications for volume List all replications for a specified volume.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.accountName
- The name of the NetApp account.poolName
- The name of the capacity pool.volumeName
- The name of the volume.- Returns:
- list Replications 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.
-
listReplications
com.azure.core.http.rest.PagedIterable<ReplicationInner> listReplications(String resourceGroupName, String accountName, String poolName, String volumeName, com.azure.core.util.Context context) List replications for volume List all replications for a specified volume.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.accountName
- The name of the NetApp account.poolName
- The name of the capacity pool.volumeName
- The name of the volume.context
- The context to associate with this operation.- Returns:
- list Replications 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.
-
beginResyncReplication
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginResyncReplication(String resourceGroupName, String accountName, String poolName, String volumeName) Resync volume replication Resync the connection on the destination volume. If the operation is ran on the source volume it will reverse-resync the connection and sync from destination to source.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.accountName
- The name of the NetApp account.poolName
- The name of the capacity pool.volumeName
- The name of the volume.- 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.
-
beginResyncReplication
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginResyncReplication(String resourceGroupName, String accountName, String poolName, String volumeName, com.azure.core.util.Context context) Resync volume replication Resync the connection on the destination volume. If the operation is ran on the source volume it will reverse-resync the connection and sync from destination to source.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.accountName
- The name of the NetApp account.poolName
- The name of the capacity pool.volumeName
- The name of the volume.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.
-
resyncReplication
void resyncReplication(String resourceGroupName, String accountName, String poolName, String volumeName) Resync volume replication Resync the connection on the destination volume. If the operation is ran on the source volume it will reverse-resync the connection and sync from destination to source.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.accountName
- The name of the NetApp account.poolName
- The name of the capacity pool.volumeName
- The name of the volume.- 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.
-
resyncReplication
void resyncReplication(String resourceGroupName, String accountName, String poolName, String volumeName, com.azure.core.util.Context context) Resync volume replication Resync the connection on the destination volume. If the operation is ran on the source volume it will reverse-resync the connection and sync from destination to source.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.accountName
- The name of the NetApp account.poolName
- The name of the capacity pool.volumeName
- The name of the volume.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.
-
beginDeleteReplication
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDeleteReplication(String resourceGroupName, String accountName, String poolName, String volumeName) Delete volume replication Delete the replication connection on the destination volume, and send release to the source replication.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.accountName
- The name of the NetApp account.poolName
- The name of the capacity pool.volumeName
- The name of the volume.- 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.
-
beginDeleteReplication
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDeleteReplication(String resourceGroupName, String accountName, String poolName, String volumeName, com.azure.core.util.Context context) Delete volume replication Delete the replication connection on the destination volume, and send release to the source replication.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.accountName
- The name of the NetApp account.poolName
- The name of the capacity pool.volumeName
- The name of the volume.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.
-
deleteReplication
void deleteReplication(String resourceGroupName, String accountName, String poolName, String volumeName) Delete volume replication Delete the replication connection on the destination volume, and send release to the source replication.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.accountName
- The name of the NetApp account.poolName
- The name of the capacity pool.volumeName
- The name of the volume.- 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.
-
deleteReplication
void deleteReplication(String resourceGroupName, String accountName, String poolName, String volumeName, com.azure.core.util.Context context) Delete volume replication Delete the replication connection on the destination volume, and send release to the source replication.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.accountName
- The name of the NetApp account.poolName
- The name of the capacity pool.volumeName
- The name of the volume.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.
-
beginAuthorizeReplication
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginAuthorizeReplication(String resourceGroupName, String accountName, String poolName, String volumeName, AuthorizeRequest body) Authorize source volume replication Authorize the replication connection on the source volume.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.accountName
- The name of the NetApp account.poolName
- The name of the capacity pool.volumeName
- The name of the volume.body
- Authorize request object supplied in the body of the 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.
-
beginAuthorizeReplication
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginAuthorizeReplication(String resourceGroupName, String accountName, String poolName, String volumeName, AuthorizeRequest body, com.azure.core.util.Context context) Authorize source volume replication Authorize the replication connection on the source volume.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.accountName
- The name of the NetApp account.poolName
- The name of the capacity pool.volumeName
- The name of the volume.body
- Authorize request object supplied in the body of the operation.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.
-
authorizeReplication
void authorizeReplication(String resourceGroupName, String accountName, String poolName, String volumeName, AuthorizeRequest body) Authorize source volume replication Authorize the replication connection on the source volume.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.accountName
- The name of the NetApp account.poolName
- The name of the capacity pool.volumeName
- The name of the volume.body
- Authorize request object supplied in the body of the 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.
-
authorizeReplication
void authorizeReplication(String resourceGroupName, String accountName, String poolName, String volumeName, AuthorizeRequest body, com.azure.core.util.Context context) Authorize source volume replication Authorize the replication connection on the source volume.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.accountName
- The name of the NetApp account.poolName
- The name of the capacity pool.volumeName
- The name of the volume.body
- Authorize request object supplied in the body of the operation.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.
-
beginReInitializeReplication
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginReInitializeReplication(String resourceGroupName, String accountName, String poolName, String volumeName) ReInitialize volume replication Re-Initializes the replication connection on the destination volume.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.accountName
- The name of the NetApp account.poolName
- The name of the capacity pool.volumeName
- The name of the volume.- 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.
-
beginReInitializeReplication
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginReInitializeReplication(String resourceGroupName, String accountName, String poolName, String volumeName, com.azure.core.util.Context context) ReInitialize volume replication Re-Initializes the replication connection on the destination volume.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.accountName
- The name of the NetApp account.poolName
- The name of the capacity pool.volumeName
- The name of the volume.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.
-
reInitializeReplication
void reInitializeReplication(String resourceGroupName, String accountName, String poolName, String volumeName) ReInitialize volume replication Re-Initializes the replication connection on the destination volume.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.accountName
- The name of the NetApp account.poolName
- The name of the capacity pool.volumeName
- The name of the volume.- 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.
-
reInitializeReplication
void reInitializeReplication(String resourceGroupName, String accountName, String poolName, String volumeName, com.azure.core.util.Context context) ReInitialize volume replication Re-Initializes the replication connection on the destination volume.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.accountName
- The name of the NetApp account.poolName
- The name of the capacity pool.volumeName
- The name of the volume.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.
-
beginPeerExternalCluster
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ClusterPeerCommandResponseInner>,ClusterPeerCommandResponseInner> beginPeerExternalCluster(String resourceGroupName, String accountName, String poolName, String volumeName, PeerClusterForVolumeMigrationRequest body) Start Cluster peering Starts peering the external cluster for this migration volume.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.accountName
- The name of the NetApp account.poolName
- The name of the capacity pool.volumeName
- The name of the volume.body
- Cluster peer request object supplied in the body of the operation.- Returns:
- the
SyncPoller
for polling of information about cluster peering process. - 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.
-
beginPeerExternalCluster
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ClusterPeerCommandResponseInner>,ClusterPeerCommandResponseInner> beginPeerExternalCluster(String resourceGroupName, String accountName, String poolName, String volumeName, PeerClusterForVolumeMigrationRequest body, com.azure.core.util.Context context) Start Cluster peering Starts peering the external cluster for this migration volume.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.accountName
- The name of the NetApp account.poolName
- The name of the capacity pool.volumeName
- The name of the volume.body
- Cluster peer request object supplied in the body of the operation.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for polling of information about cluster peering process. - 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.
-
peerExternalCluster
ClusterPeerCommandResponseInner peerExternalCluster(String resourceGroupName, String accountName, String poolName, String volumeName, PeerClusterForVolumeMigrationRequest body) Start Cluster peering Starts peering the external cluster for this migration volume.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.accountName
- The name of the NetApp account.poolName
- The name of the capacity pool.volumeName
- The name of the volume.body
- Cluster peer request object supplied in the body of the operation.- Returns:
- information about cluster peering process.
- 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.
-
peerExternalCluster
ClusterPeerCommandResponseInner peerExternalCluster(String resourceGroupName, String accountName, String poolName, String volumeName, PeerClusterForVolumeMigrationRequest body, com.azure.core.util.Context context) Start Cluster peering Starts peering the external cluster for this migration volume.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.accountName
- The name of the NetApp account.poolName
- The name of the capacity pool.volumeName
- The name of the volume.body
- Cluster peer request object supplied in the body of the operation.context
- The context to associate with this operation.- Returns:
- information about cluster peering process.
- 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.
-
beginAuthorizeExternalReplication
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<SvmPeerCommandResponseInner>,SvmPeerCommandResponseInner> beginAuthorizeExternalReplication(String resourceGroupName, String accountName, String poolName, String volumeName) Start migration process Starts SVM peering and returns a command to be run on the external ONTAP to accept it. Once the SVM have been peered a SnapMirror will be created.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.accountName
- The name of the NetApp account.poolName
- The name of the capacity pool.volumeName
- The name of the volume.- Returns:
- the
SyncPoller
for polling of information about svm peering process. - 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.
-
beginAuthorizeExternalReplication
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<SvmPeerCommandResponseInner>,SvmPeerCommandResponseInner> beginAuthorizeExternalReplication(String resourceGroupName, String accountName, String poolName, String volumeName, com.azure.core.util.Context context) Start migration process Starts SVM peering and returns a command to be run on the external ONTAP to accept it. Once the SVM have been peered a SnapMirror will be created.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.accountName
- The name of the NetApp account.poolName
- The name of the capacity pool.volumeName
- The name of the volume.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for polling of information about svm peering process. - 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.
-
authorizeExternalReplication
SvmPeerCommandResponseInner authorizeExternalReplication(String resourceGroupName, String accountName, String poolName, String volumeName) Start migration process Starts SVM peering and returns a command to be run on the external ONTAP to accept it. Once the SVM have been peered a SnapMirror will be created.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.accountName
- The name of the NetApp account.poolName
- The name of the capacity pool.volumeName
- The name of the volume.- Returns:
- information about svm peering process.
- 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.
-
authorizeExternalReplication
SvmPeerCommandResponseInner authorizeExternalReplication(String resourceGroupName, String accountName, String poolName, String volumeName, com.azure.core.util.Context context) Start migration process Starts SVM peering and returns a command to be run on the external ONTAP to accept it. Once the SVM have been peered a SnapMirror will be created.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.accountName
- The name of the NetApp account.poolName
- The name of the capacity pool.volumeName
- The name of the volume.context
- The context to associate with this operation.- Returns:
- information about svm peering process.
- 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.
-
beginFinalizeExternalReplication
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginFinalizeExternalReplication(String resourceGroupName, String accountName, String poolName, String volumeName) Finalize migration process Finalizes the migration of an external volume by releasing the replication and breaking the external cluster peering if no other migration is active.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.accountName
- The name of the NetApp account.poolName
- The name of the capacity pool.volumeName
- The name of the volume.- 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.
-
beginFinalizeExternalReplication
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginFinalizeExternalReplication(String resourceGroupName, String accountName, String poolName, String volumeName, com.azure.core.util.Context context) Finalize migration process Finalizes the migration of an external volume by releasing the replication and breaking the external cluster peering if no other migration is active.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.accountName
- The name of the NetApp account.poolName
- The name of the capacity pool.volumeName
- The name of the volume.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.
-
finalizeExternalReplication
void finalizeExternalReplication(String resourceGroupName, String accountName, String poolName, String volumeName) Finalize migration process Finalizes the migration of an external volume by releasing the replication and breaking the external cluster peering if no other migration is active.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.accountName
- The name of the NetApp account.poolName
- The name of the capacity pool.volumeName
- The name of the volume.- 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.
-
finalizeExternalReplication
void finalizeExternalReplication(String resourceGroupName, String accountName, String poolName, String volumeName, com.azure.core.util.Context context) Finalize migration process Finalizes the migration of an external volume by releasing the replication and breaking the external cluster peering if no other migration is active.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.accountName
- The name of the NetApp account.poolName
- The name of the capacity pool.volumeName
- The name of the volume.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.
-
beginPerformReplicationTransfer
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginPerformReplicationTransfer(String resourceGroupName, String accountName, String poolName, String volumeName) Perform a replication transfer Performs an adhoc replication transfer on a volume with volumeType Migration.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.accountName
- The name of the NetApp account.poolName
- The name of the capacity pool.volumeName
- The name of the volume.- 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.
-
beginPerformReplicationTransfer
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginPerformReplicationTransfer(String resourceGroupName, String accountName, String poolName, String volumeName, com.azure.core.util.Context context) Perform a replication transfer Performs an adhoc replication transfer on a volume with volumeType Migration.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.accountName
- The name of the NetApp account.poolName
- The name of the capacity pool.volumeName
- The name of the volume.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.
-
performReplicationTransfer
void performReplicationTransfer(String resourceGroupName, String accountName, String poolName, String volumeName) Perform a replication transfer Performs an adhoc replication transfer on a volume with volumeType Migration.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.accountName
- The name of the NetApp account.poolName
- The name of the capacity pool.volumeName
- The name of the volume.- 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.
-
performReplicationTransfer
void performReplicationTransfer(String resourceGroupName, String accountName, String poolName, String volumeName, com.azure.core.util.Context context) Perform a replication transfer Performs an adhoc replication transfer on a volume with volumeType Migration.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.accountName
- The name of the NetApp account.poolName
- The name of the capacity pool.volumeName
- The name of the volume.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.
-
beginPoolChange
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginPoolChange(String resourceGroupName, String accountName, String poolName, String volumeName, PoolChangeRequest body) Change pool for volume Moves volume to another pool.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.accountName
- The name of the NetApp account.poolName
- The name of the capacity pool.volumeName
- The name of the volume.body
- Move volume to the pool supplied in the body of the 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.
-
beginPoolChange
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginPoolChange(String resourceGroupName, String accountName, String poolName, String volumeName, PoolChangeRequest body, com.azure.core.util.Context context) Change pool for volume Moves volume to another pool.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.accountName
- The name of the NetApp account.poolName
- The name of the capacity pool.volumeName
- The name of the volume.body
- Move volume to the pool supplied in the body of the operation.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.
-
poolChange
void poolChange(String resourceGroupName, String accountName, String poolName, String volumeName, PoolChangeRequest body) Change pool for volume Moves volume to another pool.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.accountName
- The name of the NetApp account.poolName
- The name of the capacity pool.volumeName
- The name of the volume.body
- Move volume to the pool supplied in the body of the 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.
-
poolChange
void poolChange(String resourceGroupName, String accountName, String poolName, String volumeName, PoolChangeRequest body, com.azure.core.util.Context context) Change pool for volume Moves volume to another pool.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.accountName
- The name of the NetApp account.poolName
- The name of the capacity pool.volumeName
- The name of the volume.body
- Move volume to the pool supplied in the body of the operation.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.
-
beginRelocate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginRelocate(String resourceGroupName, String accountName, String poolName, String volumeName) Relocate volume Relocates volume to a new stamp.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.accountName
- The name of the NetApp account.poolName
- The name of the capacity pool.volumeName
- The name of the volume.- 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.
-
beginRelocate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginRelocate(String resourceGroupName, String accountName, String poolName, String volumeName, RelocateVolumeRequest body, com.azure.core.util.Context context) Relocate volume Relocates volume to a new stamp.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.accountName
- The name of the NetApp account.poolName
- The name of the capacity pool.volumeName
- The name of the volume.body
- Relocate volume request.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.
-
relocate
Relocate volume Relocates volume to a new stamp.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.accountName
- The name of the NetApp account.poolName
- The name of the capacity pool.volumeName
- The name of the volume.- 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.
-
relocate
void relocate(String resourceGroupName, String accountName, String poolName, String volumeName, RelocateVolumeRequest body, com.azure.core.util.Context context) Relocate volume Relocates volume to a new stamp.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.accountName
- The name of the NetApp account.poolName
- The name of the capacity pool.volumeName
- The name of the volume.body
- Relocate volume request.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.
-
beginFinalizeRelocation
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginFinalizeRelocation(String resourceGroupName, String accountName, String poolName, String volumeName) Finalize volume relocation Finalizes the relocation of the volume and cleans up the old volume.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.accountName
- The name of the NetApp account.poolName
- The name of the capacity pool.volumeName
- The name of the volume.- 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.
-
beginFinalizeRelocation
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginFinalizeRelocation(String resourceGroupName, String accountName, String poolName, String volumeName, com.azure.core.util.Context context) Finalize volume relocation Finalizes the relocation of the volume and cleans up the old volume.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.accountName
- The name of the NetApp account.poolName
- The name of the capacity pool.volumeName
- The name of the volume.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.
-
finalizeRelocation
void finalizeRelocation(String resourceGroupName, String accountName, String poolName, String volumeName) Finalize volume relocation Finalizes the relocation of the volume and cleans up the old volume.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.accountName
- The name of the NetApp account.poolName
- The name of the capacity pool.volumeName
- The name of the volume.- 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.
-
finalizeRelocation
void finalizeRelocation(String resourceGroupName, String accountName, String poolName, String volumeName, com.azure.core.util.Context context) Finalize volume relocation Finalizes the relocation of the volume and cleans up the old volume.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.accountName
- The name of the NetApp account.poolName
- The name of the capacity pool.volumeName
- The name of the volume.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.
-
beginRevertRelocation
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginRevertRelocation(String resourceGroupName, String accountName, String poolName, String volumeName) Revert volume relocation Reverts the volume relocation process, cleans up the new volume and starts using the former-existing volume.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.accountName
- The name of the NetApp account.poolName
- The name of the capacity pool.volumeName
- The name of the volume.- 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.
-
beginRevertRelocation
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginRevertRelocation(String resourceGroupName, String accountName, String poolName, String volumeName, com.azure.core.util.Context context) Revert volume relocation Reverts the volume relocation process, cleans up the new volume and starts using the former-existing volume.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.accountName
- The name of the NetApp account.poolName
- The name of the capacity pool.volumeName
- The name of the volume.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.
-
revertRelocation
void revertRelocation(String resourceGroupName, String accountName, String poolName, String volumeName) Revert volume relocation Reverts the volume relocation process, cleans up the new volume and starts using the former-existing volume.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.accountName
- The name of the NetApp account.poolName
- The name of the capacity pool.volumeName
- The name of the volume.- 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.
-
revertRelocation
void revertRelocation(String resourceGroupName, String accountName, String poolName, String volumeName, com.azure.core.util.Context context) Revert volume relocation Reverts the volume relocation process, cleans up the new volume and starts using the former-existing volume.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.accountName
- The name of the NetApp account.poolName
- The name of the capacity pool.volumeName
- The name of the volume.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.
-