Interface Volume


public interface Volume
An immutable client-side representation of Volume.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
    The entirety of the Volume definition.
    static interface 
    The Volume definition stages.
    static interface 
    The template for Volume update.
    static interface 
    The Volume update stages.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Authorize the replication connection on the source volume.
    void
    authorizeReplication(AuthorizeRequest body, com.azure.core.util.Context context)
    Authorize the replication connection on the source volume.
    Gets the avsDataStore property: avsDataStore Specifies whether the volume is enabled for Azure VMware Solution (AVS) datastore purpose.
    Gets the backupId property: Backup ID UUID v4 or resource identifier used to identify the Backup.
    Gets the baremetalTenantId property: Baremetal Tenant ID Unique Baremetal Tenant Identifier.
    void
    Break the replication connection on the destination volume.
    void
    Break the replication connection on the destination volume.
    void
    breakReplication(BreakReplicationRequest body, com.azure.core.util.Context context)
    Break the replication connection on the destination volume.
    Gets the capacityPoolResourceId property: Pool Resource Id used in case of creating a volume through volume group.
    Gets the cloneProgress property: When a volume is being restored from another volume's snapshot, will show the percentage completion of this cloning process.
    Gets the coolAccess property: Specifies whether Cool Access(tiering) is enabled for the volume.
    Gets the coolnessPeriod property: Specifies the number of days after which data that is not accessed by clients will be tiered.
    Gets the creationToken property: Creation Token or File Path A unique file path for the volume.
    Gets the dataProtection property: DataProtection DataProtection type volumes include an object containing details of the replication.
    Gets the defaultGroupQuotaInKiBs property: Default group quota for volume in KiBs.
    Gets the defaultUserQuotaInKiBs property: Default user quota for volume in KiBs.
    void
    Delete the replication connection on the destination volume, and send release to the source replication.
    void
    deleteReplication(com.azure.core.util.Context context)
    Delete the replication connection on the destination volume, and send release to the source replication.
    Gets the enableSubvolumes property: Flag indicating whether subvolume operations are enabled on the volume.
    Gets the encrypted property: Specifies if the volume is encrypted or not.
    Gets the encryptionKeySource property: Source of key used to encrypt data in volume.
    Gets the etag property: A unique read-only string that changes whenever the resource is updated.
    Gets the exportPolicy property: exportPolicy Set of export policy rules.
    Gets the fileSystemId property: FileSystem ID Unique FileSystem Identifier.
    void
    Finalizes the relocation of the volume and cleans up the old volume.
    void
    finalizeRelocation(com.azure.core.util.Context context)
    Finalizes the relocation of the volume and cleans up the old volume.
    id()
    Gets the id property: Fully qualified resource Id for the resource.
    Gets the inner com.azure.resourcemanager.netapp.fluent.models.VolumeInner object.
    Gets the isDefaultQuotaEnabled property: Specifies if default quota is enabled for the volume.
    Gets the isRestoring property: Restoring.
    Gets the kerberosEnabled property: Describe if a volume is KerberosEnabled.
    Gets the keyVaultPrivateEndpointResourceId property: The resource ID of private endpoint for KeyVault.
    Gets the ldapEnabled property: Specifies whether LDAP is enabled or not for a given NFS volume.
    com.azure.core.http.rest.PagedIterable<Replication>
    List all replications for a specified volume.
    com.azure.core.http.rest.PagedIterable<Replication>
    listReplications(com.azure.core.util.Context context)
    List all replications for a specified volume.
    Gets the location property: The geo-location where the resource lives.
    Gets the maximumNumberOfFiles property: Maximum number of files allowed.
    Gets the mountTargets property: mountTargets List of mount targets.
    Gets the name property: The name of the resource.
    Gets the networkFeatures property: Network features Basic network, or Standard features available to the volume.
    Gets the networkSiblingSetId property: Network Sibling Set ID Network Sibling Set ID for the the group of volumes sharing networking resources.
    Gets the placementRules property: Volume placement rules Application specific placement rules for the particular volume.
    void
    Moves volume to another pool.
    void
    poolChange(PoolChangeRequest body, com.azure.core.util.Context context)
    Moves volume to another pool.
    Gets the protocolTypes property: protocolTypes Set of protocol types, default NFSv3, CIFS for SMB protocol.
    Gets the provisioningState property: Azure lifecycle management.
    Gets the proximityPlacementGroup property: Proximity placement group associated with the volume.
    void
    Re-establish a previously deleted replication between 2 volumes that have a common ad-hoc or policy-based snapshots.
    void
    reestablishReplication(ReestablishReplicationRequest body, com.azure.core.util.Context context)
    Re-establish a previously deleted replication between 2 volumes that have a common ad-hoc or policy-based snapshots.
    Refreshes the resource to sync with Azure.
    refresh(com.azure.core.util.Context context)
    Refreshes the resource to sync with Azure.
    com.azure.core.management.Region
    Gets the region of the resource.
    Gets the name of the resource region.
    void
    Re-Initializes the replication connection on the destination volume.
    void
    reInitializeReplication(com.azure.core.util.Context context)
    Re-Initializes the replication connection on the destination volume.
    void
    Relocates volume to a new stamp.
    void
    relocate(com.azure.core.util.Context context)
    Relocates volume to a new stamp.
    void
    Reset cifs password from volume.
    void
    resetCifsPassword(com.azure.core.util.Context context)
    Reset cifs password from volume.
    Gets the name of the resource group.
    void
    Resync the connection on the destination volume.
    void
    resyncReplication(com.azure.core.util.Context context)
    Resync the connection on the destination volume.
    void
    Revert a volume to the snapshot specified in the body.
    void
    revert(VolumeRevert body, com.azure.core.util.Context context)
    Revert a volume to the snapshot specified in the body.
    void
    Reverts the volume relocation process, cleans up the new volume and starts using the former-existing volume.
    void
    revertRelocation(com.azure.core.util.Context context)
    Reverts the volume relocation process, cleans up the new volume and starts using the former-existing volume.
    Gets the securityStyle property: The security style of volume, default unix, defaults to ntfs for dual protocol or CIFS protocol.
    Gets the serviceLevel property: serviceLevel The service level of the file system.
    Gets the smbContinuouslyAvailable property: Enables continuously available share property for smb volume.
    Gets the smbEncryption property: Enables encryption for in-flight smb3 data.
    Gets the snapshotDirectoryVisible property: If enabled (true) the volume will contain a read-only snapshot directory which provides access to each of the volume's snapshots (default to true).
    Gets the snapshotId property: Snapshot ID UUID v4 or resource identifier used to identify the Snapshot.
    Gets the storageToNetworkProximity property: Storage to Network Proximity Provides storage to network proximity information for the volume.
    Gets the subnetId property: The Azure Resource URI for a delegated subnet.
    com.azure.core.management.SystemData
    Gets the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
    Gets the t2Network property: T2 network information.
    Gets the tags property: Resource tags.
    Gets the throughputMibps property: Maximum throughput in MiB/s that can be achieved by this volume and this will be accepted as input only for manual qosType volume.
    Gets the type property: The type of the resource.
    Gets the unixPermissions property: UNIX permissions for NFS volume accepted in octal 4 digit format.
    Begins update for the Volume resource.
    long
    Gets the usageThreshold property: usageThreshold Maximum storage quota allowed for a file system in bytes.
    Gets the volumeGroupName property: Volume Group Name.
    Gets the volumeSpecName property: Volume spec name is the application specific designation or identifier for the particular volume in a volume group for e.g.
    Gets the volumeType property: What type of volume is this.
    Gets the zones property: Availability Zone.
  • Method Details

    • id

      String id()
      Gets the id property: Fully qualified resource Id for the resource.
      Returns:
      the id value.
    • name

      String name()
      Gets the name property: The name of the resource.
      Returns:
      the name value.
    • type

      String type()
      Gets the type property: The type of the resource.
      Returns:
      the type value.
    • location

      String location()
      Gets the location property: The geo-location where the resource lives.
      Returns:
      the location value.
    • tags

      Map<String,String> tags()
      Gets the tags property: Resource tags.
      Returns:
      the tags value.
    • etag

      String etag()
      Gets the etag property: A unique read-only string that changes whenever the resource is updated.
      Returns:
      the etag value.
    • zones

      List<String> zones()
      Gets the zones property: Availability Zone.
      Returns:
      the zones value.
    • systemData

      com.azure.core.management.SystemData systemData()
      Gets the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
      Returns:
      the systemData value.
    • fileSystemId

      String fileSystemId()
      Gets the fileSystemId property: FileSystem ID Unique FileSystem Identifier.
      Returns:
      the fileSystemId value.
    • creationToken

      String creationToken()
      Gets the creationToken property: Creation Token or File Path A unique file path for the volume. Used when creating mount targets.
      Returns:
      the creationToken value.
    • serviceLevel

      ServiceLevel serviceLevel()
      Gets the serviceLevel property: serviceLevel The service level of the file system.
      Returns:
      the serviceLevel value.
    • usageThreshold

      long usageThreshold()
      Gets the usageThreshold property: usageThreshold Maximum storage quota allowed for a file system in bytes. This is a soft quota used for alerting only. Minimum size is 100 GiB. Upper limit is 100TiB. Specified in bytes.
      Returns:
      the usageThreshold value.
    • exportPolicy

      Gets the exportPolicy property: exportPolicy Set of export policy rules.
      Returns:
      the exportPolicy value.
    • protocolTypes

      List<String> protocolTypes()
      Gets the protocolTypes property: protocolTypes Set of protocol types, default NFSv3, CIFS for SMB protocol.
      Returns:
      the protocolTypes value.
    • provisioningState

      String provisioningState()
      Gets the provisioningState property: Azure lifecycle management.
      Returns:
      the provisioningState value.
    • snapshotId

      String snapshotId()
      Gets the snapshotId property: Snapshot ID UUID v4 or resource identifier used to identify the Snapshot.
      Returns:
      the snapshotId value.
    • backupId

      String backupId()
      Gets the backupId property: Backup ID UUID v4 or resource identifier used to identify the Backup.
      Returns:
      the backupId value.
    • baremetalTenantId

      String baremetalTenantId()
      Gets the baremetalTenantId property: Baremetal Tenant ID Unique Baremetal Tenant Identifier.
      Returns:
      the baremetalTenantId value.
    • subnetId

      String subnetId()
      Gets the subnetId property: The Azure Resource URI for a delegated subnet. Must have the delegation Microsoft.NetApp/volumes.
      Returns:
      the subnetId value.
    • networkFeatures

      NetworkFeatures networkFeatures()
      Gets the networkFeatures property: Network features Basic network, or Standard features available to the volume.
      Returns:
      the networkFeatures value.
    • networkSiblingSetId

      String networkSiblingSetId()
      Gets the networkSiblingSetId property: Network Sibling Set ID Network Sibling Set ID for the the group of volumes sharing networking resources.
      Returns:
      the networkSiblingSetId value.
    • storageToNetworkProximity

      VolumeStorageToNetworkProximity storageToNetworkProximity()
      Gets the storageToNetworkProximity property: Storage to Network Proximity Provides storage to network proximity information for the volume.
      Returns:
      the storageToNetworkProximity value.
    • mountTargets

      List<MountTargetProperties> mountTargets()
      Gets the mountTargets property: mountTargets List of mount targets.
      Returns:
      the mountTargets value.
    • volumeType

      String volumeType()
      Gets the volumeType property: What type of volume is this. For destination volumes in Cross Region Replication, set type to DataProtection.
      Returns:
      the volumeType value.
    • dataProtection

      Gets the dataProtection property: DataProtection DataProtection type volumes include an object containing details of the replication.
      Returns:
      the dataProtection value.
    • isRestoring

      Boolean isRestoring()
      Gets the isRestoring property: Restoring.
      Returns:
      the isRestoring value.
    • snapshotDirectoryVisible

      Boolean snapshotDirectoryVisible()
      Gets the snapshotDirectoryVisible property: If enabled (true) the volume will contain a read-only snapshot directory which provides access to each of the volume's snapshots (default to true).
      Returns:
      the snapshotDirectoryVisible value.
    • kerberosEnabled

      Boolean kerberosEnabled()
      Gets the kerberosEnabled property: Describe if a volume is KerberosEnabled. To be use with swagger version 2020-05-01 or later.
      Returns:
      the kerberosEnabled value.
    • securityStyle

      SecurityStyle securityStyle()
      Gets the securityStyle property: The security style of volume, default unix, defaults to ntfs for dual protocol or CIFS protocol.
      Returns:
      the securityStyle value.
    • smbEncryption

      Boolean smbEncryption()
      Gets the smbEncryption property: Enables encryption for in-flight smb3 data. Only applicable for SMB/DualProtocol volume. To be used with swagger version 2020-08-01 or later.
      Returns:
      the smbEncryption value.
    • smbContinuouslyAvailable

      Boolean smbContinuouslyAvailable()
      Gets the smbContinuouslyAvailable property: Enables continuously available share property for smb volume. Only applicable for SMB volume.
      Returns:
      the smbContinuouslyAvailable value.
    • throughputMibps

      Float throughputMibps()
      Gets the throughputMibps property: Maximum throughput in MiB/s that can be achieved by this volume and this will be accepted as input only for manual qosType volume.
      Returns:
      the throughputMibps value.
    • encryptionKeySource

      EncryptionKeySource encryptionKeySource()
      Gets the encryptionKeySource property: Source of key used to encrypt data in volume. Applicable if NetApp account has encryption.keySource = 'Microsoft.KeyVault'. Possible values (case-insensitive) are: 'Microsoft.NetApp, Microsoft.KeyVault'.
      Returns:
      the encryptionKeySource value.
    • keyVaultPrivateEndpointResourceId

      String keyVaultPrivateEndpointResourceId()
      Gets the keyVaultPrivateEndpointResourceId property: The resource ID of private endpoint for KeyVault. It must reside in the same VNET as the volume. Only applicable if encryptionKeySource = 'Microsoft.KeyVault'.
      Returns:
      the keyVaultPrivateEndpointResourceId value.
    • ldapEnabled

      Boolean ldapEnabled()
      Gets the ldapEnabled property: Specifies whether LDAP is enabled or not for a given NFS volume.
      Returns:
      the ldapEnabled value.
    • coolAccess

      Boolean coolAccess()
      Gets the coolAccess property: Specifies whether Cool Access(tiering) is enabled for the volume.
      Returns:
      the coolAccess value.
    • coolnessPeriod

      Integer coolnessPeriod()
      Gets the coolnessPeriod property: Specifies the number of days after which data that is not accessed by clients will be tiered.
      Returns:
      the coolnessPeriod value.
    • unixPermissions

      String unixPermissions()
      Gets the unixPermissions property: UNIX permissions for NFS volume accepted in octal 4 digit format. First digit selects the set user ID(4), set group ID (2) and sticky (1) attributes. Second digit selects permission for the owner of the file: read (4), write (2) and execute (1). Third selects permissions for other users in the same group. the fourth for other users not in the group. 0755 - gives read/write/execute permissions to owner and read/execute to group and other users.
      Returns:
      the unixPermissions value.
    • cloneProgress

      Integer cloneProgress()
      Gets the cloneProgress property: When a volume is being restored from another volume's snapshot, will show the percentage completion of this cloning process. When this value is empty/null there is no cloning process currently happening on this volume. This value will update every 5 minutes during cloning.
      Returns:
      the cloneProgress value.
    • avsDataStore

      AvsDataStore avsDataStore()
      Gets the avsDataStore property: avsDataStore Specifies whether the volume is enabled for Azure VMware Solution (AVS) datastore purpose.
      Returns:
      the avsDataStore value.
    • isDefaultQuotaEnabled

      Boolean isDefaultQuotaEnabled()
      Gets the isDefaultQuotaEnabled property: Specifies if default quota is enabled for the volume.
      Returns:
      the isDefaultQuotaEnabled value.
    • defaultUserQuotaInKiBs

      Long defaultUserQuotaInKiBs()
      Gets the defaultUserQuotaInKiBs property: Default user quota for volume in KiBs. If isDefaultQuotaEnabled is set, the minimum value of 4 KiBs applies .
      Returns:
      the defaultUserQuotaInKiBs value.
    • defaultGroupQuotaInKiBs

      Long defaultGroupQuotaInKiBs()
      Gets the defaultGroupQuotaInKiBs property: Default group quota for volume in KiBs. If isDefaultQuotaEnabled is set, the minimum value of 4 KiBs applies.
      Returns:
      the defaultGroupQuotaInKiBs value.
    • maximumNumberOfFiles

      Long maximumNumberOfFiles()
      Gets the maximumNumberOfFiles property: Maximum number of files allowed. Needs a service request in order to be changed. Only allowed to be changed if volume quota is more than 4TiB.
      Returns:
      the maximumNumberOfFiles value.
    • volumeGroupName

      String volumeGroupName()
      Gets the volumeGroupName property: Volume Group Name.
      Returns:
      the volumeGroupName value.
    • capacityPoolResourceId

      String capacityPoolResourceId()
      Gets the capacityPoolResourceId property: Pool Resource Id used in case of creating a volume through volume group.
      Returns:
      the capacityPoolResourceId value.
    • proximityPlacementGroup

      String proximityPlacementGroup()
      Gets the proximityPlacementGroup property: Proximity placement group associated with the volume.
      Returns:
      the proximityPlacementGroup value.
    • t2Network

      String t2Network()
      Gets the t2Network property: T2 network information.
      Returns:
      the t2Network value.
    • volumeSpecName

      String volumeSpecName()
      Gets the volumeSpecName property: Volume spec name is the application specific designation or identifier for the particular volume in a volume group for e.g. data, log.
      Returns:
      the volumeSpecName value.
    • encrypted

      Boolean encrypted()
      Gets the encrypted property: Specifies if the volume is encrypted or not. Only available on volumes created or updated after 2022-01-01.
      Returns:
      the encrypted value.
    • placementRules

      List<PlacementKeyValuePairs> placementRules()
      Gets the placementRules property: Volume placement rules Application specific placement rules for the particular volume.
      Returns:
      the placementRules value.
    • enableSubvolumes

      EnableSubvolumes enableSubvolumes()
      Gets the enableSubvolumes property: Flag indicating whether subvolume operations are enabled on the volume.
      Returns:
      the enableSubvolumes value.
    • region

      com.azure.core.management.Region region()
      Gets the region of the resource.
      Returns:
      the region of the resource.
    • regionName

      String regionName()
      Gets the name of the resource region.
      Returns:
      the name of the resource region.
    • resourceGroupName

      String resourceGroupName()
      Gets the name of the resource group.
      Returns:
      the name of the resource group.
    • innerModel

      VolumeInner innerModel()
      Gets the inner com.azure.resourcemanager.netapp.fluent.models.VolumeInner object.
      Returns:
      the inner object.
    • update

      Volume.Update update()
      Begins update for the Volume resource.
      Returns:
      the stage of resource update.
    • refresh

      Volume refresh()
      Refreshes the resource to sync with Azure.
      Returns:
      the refreshed resource.
    • refresh

      Volume refresh(com.azure.core.util.Context context)
      Refreshes the resource to sync with Azure.
      Parameters:
      context - The context to associate with this operation.
      Returns:
      the refreshed resource.
    • revert

      void revert(VolumeRevert body)
      Revert a volume to the snapshot specified in the body.
      Parameters:
      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(VolumeRevert body, com.azure.core.util.Context context)
      Revert a volume to the snapshot specified in the body.
      Parameters:
      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.
    • resetCifsPassword

      void resetCifsPassword()
      Reset cifs password from volume.
      Throws:
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • resetCifsPassword

      void resetCifsPassword(com.azure.core.util.Context context)
      Reset cifs password from volume.
      Parameters:
      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.
    • breakReplication

      void breakReplication(BreakReplicationRequest body)
      Break the replication connection on the destination volume.
      Parameters:
      body - Optional body to force break 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.
    • breakReplication

      void breakReplication()
      Break the replication connection on the destination volume.
      Throws:
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • breakReplication

      void breakReplication(BreakReplicationRequest body, com.azure.core.util.Context context)
      Break the replication connection on the destination volume.
      Parameters:
      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.
    • reestablishReplication

      void reestablishReplication(ReestablishReplicationRequest body)
      Re-establish a previously deleted replication between 2 volumes that have a common ad-hoc or policy-based snapshots.
      Parameters:
      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(ReestablishReplicationRequest body, com.azure.core.util.Context context)
      Re-establish a previously deleted replication between 2 volumes that have a common ad-hoc or policy-based snapshots.
      Parameters:
      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.
    • listReplications

      com.azure.core.http.rest.PagedIterable<Replication> listReplications()
      List all replications for a specified volume.
      Returns:
      list Replications as paginated response with PagedIterable.
      Throws:
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • listReplications

      com.azure.core.http.rest.PagedIterable<Replication> listReplications(com.azure.core.util.Context context)
      List all replications for a specified volume.
      Parameters:
      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.
    • resyncReplication

      void resyncReplication()
      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.
      Throws:
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • resyncReplication

      void resyncReplication(com.azure.core.util.Context context)
      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:
      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.
    • deleteReplication

      void deleteReplication()
      Delete the replication connection on the destination volume, and send release to the source replication.
      Throws:
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • deleteReplication

      void deleteReplication(com.azure.core.util.Context context)
      Delete the replication connection on the destination volume, and send release to the source replication.
      Parameters:
      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.
    • authorizeReplication

      void authorizeReplication(AuthorizeRequest body)
      Authorize the replication connection on the source volume.
      Parameters:
      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(AuthorizeRequest body, com.azure.core.util.Context context)
      Authorize the replication connection on the source volume.
      Parameters:
      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.
    • reInitializeReplication

      void reInitializeReplication()
      Re-Initializes the replication connection on the destination volume.
      Throws:
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • reInitializeReplication

      void reInitializeReplication(com.azure.core.util.Context context)
      Re-Initializes the replication connection on the destination volume.
      Parameters:
      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.
    • poolChange

      void poolChange(PoolChangeRequest body)
      Moves volume to another pool.
      Parameters:
      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(PoolChangeRequest body, com.azure.core.util.Context context)
      Moves volume to another pool.
      Parameters:
      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.
    • relocate

      void relocate()
      Relocates volume to a new stamp.
      Throws:
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • relocate

      void relocate(com.azure.core.util.Context context)
      Relocates volume to a new stamp.
      Parameters:
      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.
    • finalizeRelocation

      void finalizeRelocation()
      Finalizes the relocation of the volume and cleans up the old volume.
      Throws:
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • finalizeRelocation

      void finalizeRelocation(com.azure.core.util.Context context)
      Finalizes the relocation of the volume and cleans up the old volume.
      Parameters:
      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.
    • revertRelocation

      void revertRelocation()
      Reverts the volume relocation process, cleans up the new volume and starts using the former-existing volume.
      Throws:
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • revertRelocation

      void revertRelocation(com.azure.core.util.Context context)
      Reverts the volume relocation process, cleans up the new volume and starts using the former-existing volume.
      Parameters:
      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.