Interface Volume
public interface Volume
An immutable client-side representation of Volume.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic 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 TypeMethodDescriptionGets the actualThroughputMibps property: Actual throughput in MiB/s for auto qosType volumes calculated based on size and serviceLevel.Start migration process Starts SVM peering and returns a command to be run on the external ONTAP to accept it.authorizeExternalReplication
(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
Authorize source volume replication Authorize the replication connection on the source volume.void
authorizeReplication
(AuthorizeRequest body, com.azure.core.util.Context context) Authorize source volume replication Authorize the replication connection on the source volume.Gets the avsDataStore property: Specifies whether the volume is enabled for Azure VMware Solution (AVS) datastore purpose.backupId()
Gets the backupId property: Resource identifier used to identify the Backup.Gets the baremetalTenantId property: Unique Baremetal Tenant Identifier.void
Break file locks Break all the file locks on a volume.void
breakFileLocks
(BreakFileLocksRequest body, com.azure.core.util.Context context) Break file locks Break all the file locks on a volume.void
Break volume replication Break the replication connection on the destination volume.void
breakReplication
(BreakReplicationRequest body, com.azure.core.util.Context context) Break volume replication 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 coolAccessRetrievalPolicy property: coolAccessRetrievalPolicy determines the data retrieval behavior from the cool tier to standard storage based on the read pattern for cool access enabled volumes.Gets the coolAccessTieringPolicy property: coolAccessTieringPolicy determines which cold data blocks are moved to cool tier.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: A unique file path for the volume.Gets the dataProtection property: DataProtection type volumes include an object containing details of the replication.Gets the dataStoreResourceId property: Data store resource unique identifier.Gets the defaultGroupQuotaInKiBs property: Default group quota for volume in KiBs.Gets the defaultUserQuotaInKiBs property: Default user quota for volume in KiBs.Gets the deleteBaseSnapshot property: If enabled (true) the snapshot the volume was created from will be automatically deleted after the volume create operation has finished.void
Delete volume replication Delete the replication connection on the destination volume, and send release to the source replication.void
deleteReplication
(com.azure.core.util.Context context) Delete volume replication Delete the replication connection on the destination volume, and send release to the source replication.Gets the effectiveNetworkFeatures property: The effective value of the network features type available to the volume, or current effective state of update.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.etag()
Gets the etag property: A unique read-only string that changes whenever the resource is updated.Gets the exportPolicy property: Set of export policy rules.Gets the fileAccessLogs property: Flag indicating whether file access logs are enabled for the volume, based on active diagnostic settings present on the volume.Gets the fileSystemId property: Unique FileSystem Identifier.void
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
(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
Finalize volume relocation Finalizes the relocation of the volume and cleans up the old volume.void
finalizeRelocation
(com.azure.core.util.Context context) Finalize volume relocation 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 isLargeVolume property: Specifies whether volume is a Large Volume or Regular 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.Get Group Id List for LDAP User Returns the list of group Ids for a specific LDAP User.listGetGroupIdListForLdapUser
(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
<Replication> List replications for volume List all replications for a specified volume.com.azure.core.http.rest.PagedIterable
<Replication> listReplications
(com.azure.core.util.Context context) List replications for volume List all replications for a specified volume.location()
Gets the location property: The geo-location where the resource lives.Gets the maximumNumberOfFiles property: Maximum number of files allowed.Gets the mountTargets property: List of mount targets.name()
Gets the name property: The name of the resource.Gets the networkFeatures property: The original value of the network features type available to the volume at the time it was created.Gets the networkSiblingSetId property: Network Sibling Set ID for the the group of volumes sharing networking resources.Gets the originatingResourceId property: Id of the snapshot or backup that the volume is restored from.Start Cluster peering Starts peering the external cluster for this migration volume.peerExternalCluster
(PeerClusterForVolumeMigrationRequest body, com.azure.core.util.Context context) Start Cluster peering Starts peering the external cluster for this migration volume.void
Perform a replication transfer Performs an adhoc replication transfer on a volume with volumeType Migration.void
performReplicationTransfer
(com.azure.core.util.Context context) Perform a replication transfer Performs an adhoc replication transfer on a volume with volumeType Migration.Gets the placementRules property: Application specific placement rules for the particular volume.void
poolChange
(PoolChangeRequest body) Change pool for volume Moves volume to another pool.void
poolChange
(PoolChangeRequest body, com.azure.core.util.Context context) Change pool for volume Moves volume to another pool.Populate Availability Zone This operation will populate availability zone information for a volume.populateAvailabilityZone
(com.azure.core.util.Context context) Populate Availability Zone This operation will populate availability zone information for a volume.Gets the protocolTypes property: Set of protocol types, default NFSv3, CIFS for SMB protocol.Gets the provisionedAvailabilityZone property: The availability zone where the volume is provisioned.Gets the provisioningState property: Azure lifecycle management.Gets the proximityPlacementGroup property: Proximity placement group associated with the volume.void
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
(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.refresh()
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
region()
Gets the region of the resource.Gets the name of the resource region.void
ReInitialize volume replication Re-Initializes the replication connection on the destination volume.void
reInitializeReplication
(com.azure.core.util.Context context) ReInitialize volume replication Re-Initializes the replication connection on the destination volume.void
relocate()
Relocate volume Relocates volume to a new stamp.void
relocate
(RelocateVolumeRequest body, com.azure.core.util.Context context) Relocate volume Relocates volume to a new stamp.void
Reset cifs password Reset cifs password from volume.void
resetCifsPassword
(com.azure.core.util.Context context) Reset cifs password Reset cifs password from volume.Gets the name of the resource group.void
Resync volume replication Resync the connection on the destination volume.void
resyncReplication
(com.azure.core.util.Context context) Resync volume replication Resync the connection on the destination volume.void
revert
(VolumeRevert body) Revert a volume to one of its snapshots Revert a volume to the snapshot specified in the body.void
revert
(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
Revert volume relocation 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) Revert volume relocation 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: The service level of the file system.Gets the smbAccessBasedEnumeration property: Enables access-based enumeration share property for SMB Shares.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 smbNonBrowsable property: Enables non-browsable property for SMB Shares.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 (defaults to true).Gets the snapshotId property: Resource identifier used to identify the Snapshot.Gets the storageToNetworkProximity property: Provides storage to network proximity information for the volume.subnetId()
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.tags()
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.type()
Gets the type property: The type of the resource.Gets the unixPermissions property: UNIX permissions for NFS volume accepted in octal 4 digit format.update()
Begins update for the Volume resource.long
Gets the usageThreshold property: 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. data, log.Gets the volumeType property: What type of volume is this.zones()
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
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
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: Unique FileSystem Identifier.- Returns:
- the fileSystemId value.
-
creationToken
String creationToken()Gets the creationToken property: A unique file path for the volume. Used when creating mount targets.- Returns:
- the creationToken value.
-
serviceLevel
ServiceLevel serviceLevel()Gets the serviceLevel property: The service level of the file system.- Returns:
- the serviceLevel value.
-
usageThreshold
long usageThreshold()Gets the usageThreshold property: Maximum storage quota allowed for a file system in bytes. This is a soft quota used for alerting only. For regular volumes, valid values are in the range 50GiB to 100TiB. For large volumes, valid values are in the range 100TiB to 500TiB, and on an exceptional basis, from to 2400GiB to 2400TiB. Values expressed in bytes as multiples of 1 GiB.- Returns:
- the usageThreshold value.
-
exportPolicy
VolumePropertiesExportPolicy exportPolicy()Gets the exportPolicy property: Set of export policy rules.- Returns:
- the exportPolicy value.
-
protocolTypes
Gets the protocolTypes property: 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: Resource identifier used to identify the Snapshot.- Returns:
- the snapshotId value.
-
deleteBaseSnapshot
Boolean deleteBaseSnapshot()Gets the deleteBaseSnapshot property: If enabled (true) the snapshot the volume was created from will be automatically deleted after the volume create operation has finished. Defaults to false.- Returns:
- the deleteBaseSnapshot value.
-
backupId
String backupId()Gets the backupId property: Resource identifier used to identify the Backup.- Returns:
- the backupId value.
-
baremetalTenantId
String baremetalTenantId()Gets the baremetalTenantId property: 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: The original value of the network features type available to the volume at the time it was created.- Returns:
- the networkFeatures value.
-
effectiveNetworkFeatures
NetworkFeatures effectiveNetworkFeatures()Gets the effectiveNetworkFeatures property: The effective value of the network features type available to the volume, or current effective state of update.- Returns:
- the effectiveNetworkFeatures value.
-
networkSiblingSetId
String networkSiblingSetId()Gets the networkSiblingSetId property: Network Sibling Set ID for the the group of volumes sharing networking resources.- Returns:
- the networkSiblingSetId value.
-
storageToNetworkProximity
VolumeStorageToNetworkProximity storageToNetworkProximity()Gets the storageToNetworkProximity property: Provides storage to network proximity information for the volume.- Returns:
- the storageToNetworkProximity value.
-
mountTargets
List<MountTargetProperties> mountTargets()Gets the mountTargets property: 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
VolumePropertiesDataProtection dataProtection()Gets the dataProtection property: 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 (defaults 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.
-
smbAccessBasedEnumeration
SmbAccessBasedEnumeration smbAccessBasedEnumeration()Gets the smbAccessBasedEnumeration property: Enables access-based enumeration share property for SMB Shares. Only applicable for SMB/DualProtocol volume.- Returns:
- the smbAccessBasedEnumeration value.
-
smbNonBrowsable
SmbNonBrowsable smbNonBrowsable()Gets the smbNonBrowsable property: Enables non-browsable property for SMB Shares. Only applicable for SMB/DualProtocol volume.- Returns:
- the smbNonBrowsable 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.
-
actualThroughputMibps
Float actualThroughputMibps()Gets the actualThroughputMibps property: Actual throughput in MiB/s for auto qosType volumes calculated based on size and serviceLevel.- Returns:
- the actualThroughputMibps 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.
-
coolAccessRetrievalPolicy
CoolAccessRetrievalPolicy coolAccessRetrievalPolicy()Gets the coolAccessRetrievalPolicy property: coolAccessRetrievalPolicy determines the data retrieval behavior from the cool tier to standard storage based on the read pattern for cool access enabled volumes. The possible values for this field are: Default - Data will be pulled from cool tier to standard storage on random reads. This policy is the default. OnRead - All client-driven data read is pulled from cool tier to standard storage on both sequential and random reads. Never - No client-driven data is pulled from cool tier to standard storage.- Returns:
- the coolAccessRetrievalPolicy value.
-
coolAccessTieringPolicy
CoolAccessTieringPolicy coolAccessTieringPolicy()Gets the coolAccessTieringPolicy property: coolAccessTieringPolicy determines which cold data blocks are moved to cool tier. The possible values for this field are: Auto - Moves cold user data blocks in both the Snapshot copies and the active file system to the cool tier tier. This policy is the default. SnapshotOnly - Moves user data blocks of the Volume Snapshot copies that are not associated with the active file system to the cool tier.- Returns:
- the coolAccessTieringPolicy 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.
-
fileAccessLogs
FileAccessLogs fileAccessLogs()Gets the fileAccessLogs property: Flag indicating whether file access logs are enabled for the volume, based on active diagnostic settings present on the volume.- Returns:
- the fileAccessLogs value.
-
avsDataStore
AvsDataStore avsDataStore()Gets the avsDataStore property: Specifies whether the volume is enabled for Azure VMware Solution (AVS) datastore purpose.- Returns:
- the avsDataStore value.
-
dataStoreResourceId
Gets the dataStoreResourceId property: Data store resource unique identifier.- Returns:
- the dataStoreResourceId 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: 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.
-
provisionedAvailabilityZone
String provisionedAvailabilityZone()Gets the provisionedAvailabilityZone property: The availability zone where the volume is provisioned. This refers to the logical availability zone where the volume resides.- Returns:
- the provisionedAvailabilityZone value.
-
isLargeVolume
Boolean isLargeVolume()Gets the isLargeVolume property: Specifies whether volume is a Large Volume or Regular Volume.- Returns:
- the isLargeVolume value.
-
originatingResourceId
String originatingResourceId()Gets the originatingResourceId property: Id of the snapshot or backup that the volume is restored from.- Returns:
- the originatingResourceId 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
Refreshes the resource to sync with Azure.- Parameters:
context
- The context to associate with this operation.- Returns:
- the refreshed resource.
-
populateAvailabilityZone
Volume populateAvailabilityZone()Populate Availability Zone This operation will populate availability zone information for a volume.- Returns:
- volume resource.
- 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.
-
populateAvailabilityZone
Populate Availability Zone This operation will populate availability zone information for a volume.- Parameters:
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.
-
revert
Revert a volume to one of its snapshots 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
Revert a volume to one of its snapshots 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 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 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.
-
breakFileLocks
void breakFileLocks()Break file locks Break all the file locks on a 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.
-
breakFileLocks
Break file locks Break all the file locks on a volume.- Parameters:
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.
-
listGetGroupIdListForLdapUser
GetGroupIdListForLdapUserResponse listGetGroupIdListForLdapUser(GetGroupIdListForLdapUserRequest body) Get Group Id List for LDAP User Returns the list of group Ids for a specific LDAP User.- Parameters:
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
GetGroupIdListForLdapUserResponse listGetGroupIdListForLdapUser(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:
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.
-
breakReplication
void breakReplication()Break volume replication 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
Break volume replication 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
Re-establish volume replication 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 volume replication 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 replications for volume 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 replications for volume 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 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.- 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 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:
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 volume replication 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 volume replication 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
Authorize source volume replication 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
Authorize source volume replication 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()ReInitialize volume replication 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) ReInitialize volume replication 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.
-
peerExternalCluster
Start Cluster peering Starts peering the external cluster for this migration volume.- Parameters:
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
ClusterPeerCommandResponse peerExternalCluster(PeerClusterForVolumeMigrationRequest body, com.azure.core.util.Context context) Start Cluster peering Starts peering the external cluster for this migration volume.- Parameters:
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.
-
authorizeExternalReplication
SvmPeerCommandResponse authorizeExternalReplication()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.- Returns:
- information about svm peering process.
- 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.
-
authorizeExternalReplication
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:
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.
-
finalizeExternalReplication
void finalizeExternalReplication()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.- 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.
-
finalizeExternalReplication
void finalizeExternalReplication(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:
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.
-
performReplicationTransfer
void performReplicationTransfer()Perform a replication transfer Performs an adhoc replication transfer on a volume with volumeType Migration.- 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.
-
performReplicationTransfer
void performReplicationTransfer(com.azure.core.util.Context context) Perform a replication transfer Performs an adhoc replication transfer on a volume with volumeType Migration.- 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
Change pool for volume 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
Change pool for volume 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()Relocate volume 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
Relocate volume Relocates volume to a new stamp.- Parameters:
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.
-
finalizeRelocation
void finalizeRelocation()Finalize volume relocation 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) Finalize volume relocation 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()Revert volume relocation 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) Revert volume relocation 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.
-