Class VolumeGroupVolumeProperties
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.netapp.models.VolumeGroupVolumeProperties
- All Implemented Interfaces:
com.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>
public final class VolumeGroupVolumeProperties
extends com.azure.core.management.ProxyResource
Volume resource.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of VolumeGroupVolumeProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the actualThroughputMibps property: Actual throughput in MiB/s for auto qosType volumes calculated based on size and serviceLevel.Get the avsDataStore property: Specifies whether the volume is enabled for Azure VMware Solution (AVS) datastore purpose.backupId()
Get the backupId property: Resource identifier used to identify the Backup.Get the baremetalTenantId property: Unique Baremetal Tenant Identifier.Get the capacityPoolResourceId property: Pool Resource Id used in case of creating a volume through volume group.Get the cloneProgress property: When a volume is being restored from another volume's snapshot, will show the percentage completion of this cloning process.Get the coolAccess property: Specifies whether Cool Access(tiering) is enabled for the volume.Get 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.Get the coolAccessTieringPolicy property: coolAccessTieringPolicy determines which cold data blocks are moved to cool tier.Get the coolnessPeriod property: Specifies the number of days after which data that is not accessed by clients will be tiered.Get the creationToken property: A unique file path for the volume.Get the dataProtection property: DataProtection type volumes include an object containing details of the replication.Get the dataStoreResourceId property: Data store resource unique identifier.Get the defaultGroupQuotaInKiBs property: Default group quota for volume in KiBs.Get the defaultUserQuotaInKiBs property: Default user quota for volume in KiBs.Get the deleteBaseSnapshot property: If enabled (true) the snapshot the volume was created from will be automatically deleted after the volume create operation has finished.Get the effectiveNetworkFeatures property: The effective value of the network features type available to the volume, or current effective state of update.Get the enableSubvolumes property: Flag indicating whether subvolume operations are enabled on the volume.Get the encrypted property: Specifies if the volume is encrypted or not.Get the encryptionKeySource property: Source of key used to encrypt data in volume.Get the exportPolicy property: Set of export policy rules.Get the fileAccessLogs property: Flag indicating whether file access logs are enabled for the volume, based on active diagnostic settings present on the volume.Get the fileSystemId property: Unique FileSystem Identifier.static VolumeGroupVolumeProperties
fromJson
(com.azure.json.JsonReader jsonReader) Reads an instance of VolumeGroupVolumeProperties from the JsonReader.id()
Get the id property: Fully qualified resource Id for the resource.Get the isDefaultQuotaEnabled property: Specifies if default quota is enabled for the volume.Get the isLargeVolume property: Specifies whether volume is a Large Volume or Regular Volume.Get the isRestoring property: Restoring.Get the kerberosEnabled property: Describe if a volume is KerberosEnabled.Get the keyVaultPrivateEndpointResourceId property: The resource ID of private endpoint for KeyVault.Get the ldapEnabled property: Specifies whether LDAP is enabled or not for a given NFS volume.Get the maximumNumberOfFiles property: Maximum number of files allowed.Get the mountTargets property: List of mount targets.name()
Get the name property: Resource name.Get the networkFeatures property: The original value of the network features type available to the volume at the time it was created.Get the networkSiblingSetId property: Network Sibling Set ID for the the group of volumes sharing networking resources.Get the originatingResourceId property: Id of the snapshot or backup that the volume is restored from.Get the placementRules property: Application specific placement rules for the particular volume.Get the protocolTypes property: Set of protocol types, default NFSv3, CIFS for SMB protocol.Get the provisionedAvailabilityZone property: The availability zone where the volume is provisioned.Get the provisioningState property: Azure lifecycle management.Get the proximityPlacementGroup property: Proximity placement group associated with the volume.Get the securityStyle property: The security style of volume, default unix, defaults to ntfs for dual protocol or CIFS protocol.Get the serviceLevel property: The service level of the file system.Get the smbAccessBasedEnumeration property: Enables access-based enumeration share property for SMB Shares.Get the smbContinuouslyAvailable property: Enables continuously available share property for smb volume.Get the smbEncryption property: Enables encryption for in-flight smb3 data.Get the smbNonBrowsable property: Enables non-browsable property for SMB Shares.Get 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).Get the snapshotId property: Resource identifier used to identify the Snapshot.Get the storageToNetworkProximity property: Provides storage to network proximity information for the volume.subnetId()
Get the subnetId property: The Azure Resource URI for a delegated subnet.Get the t2Network property: T2 network information.tags()
Get the tags property: Resource tags.Get 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.com.azure.json.JsonWriter
toJson
(com.azure.json.JsonWriter jsonWriter) type()
Get the type property: The type of the resource.Get the unixPermissions property: UNIX permissions for NFS volume accepted in octal 4 digit format.long
Get the usageThreshold property: Maximum storage quota allowed for a file system in bytes.void
validate()
Validates the instance.Get the volumeGroupName property: Volume Group Name.Get 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.Get the volumeType property: What type of volume is this.withAvsDataStore
(AvsDataStore avsDataStore) Set the avsDataStore property: Specifies whether the volume is enabled for Azure VMware Solution (AVS) datastore purpose.withBackupId
(String backupId) Set the backupId property: Resource identifier used to identify the Backup.withCapacityPoolResourceId
(String capacityPoolResourceId) Set the capacityPoolResourceId property: Pool Resource Id used in case of creating a volume through volume group.withCoolAccess
(Boolean coolAccess) Set the coolAccess property: Specifies whether Cool Access(tiering) is enabled for the volume.withCoolAccessRetrievalPolicy
(CoolAccessRetrievalPolicy coolAccessRetrievalPolicy) Set 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.withCoolAccessTieringPolicy
(CoolAccessTieringPolicy coolAccessTieringPolicy) Set the coolAccessTieringPolicy property: coolAccessTieringPolicy determines which cold data blocks are moved to cool tier.withCoolnessPeriod
(Integer coolnessPeriod) Set the coolnessPeriod property: Specifies the number of days after which data that is not accessed by clients will be tiered.withCreationToken
(String creationToken) Set the creationToken property: A unique file path for the volume.withDataProtection
(VolumePropertiesDataProtection dataProtection) Set the dataProtection property: DataProtection type volumes include an object containing details of the replication.withDefaultGroupQuotaInKiBs
(Long defaultGroupQuotaInKiBs) Set the defaultGroupQuotaInKiBs property: Default group quota for volume in KiBs.withDefaultUserQuotaInKiBs
(Long defaultUserQuotaInKiBs) Set the defaultUserQuotaInKiBs property: Default user quota for volume in KiBs.withDeleteBaseSnapshot
(Boolean deleteBaseSnapshot) Set the deleteBaseSnapshot property: If enabled (true) the snapshot the volume was created from will be automatically deleted after the volume create operation has finished.withEnableSubvolumes
(EnableSubvolumes enableSubvolumes) Set the enableSubvolumes property: Flag indicating whether subvolume operations are enabled on the volume.withEncryptionKeySource
(EncryptionKeySource encryptionKeySource) Set the encryptionKeySource property: Source of key used to encrypt data in volume.withExportPolicy
(VolumePropertiesExportPolicy exportPolicy) Set the exportPolicy property: Set of export policy rules.withIsDefaultQuotaEnabled
(Boolean isDefaultQuotaEnabled) Set the isDefaultQuotaEnabled property: Specifies if default quota is enabled for the volume.withIsLargeVolume
(Boolean isLargeVolume) Set the isLargeVolume property: Specifies whether volume is a Large Volume or Regular Volume.withKerberosEnabled
(Boolean kerberosEnabled) Set the kerberosEnabled property: Describe if a volume is KerberosEnabled.withKeyVaultPrivateEndpointResourceId
(String keyVaultPrivateEndpointResourceId) Set the keyVaultPrivateEndpointResourceId property: The resource ID of private endpoint for KeyVault.withLdapEnabled
(Boolean ldapEnabled) Set the ldapEnabled property: Specifies whether LDAP is enabled or not for a given NFS volume.Set the name property: Resource name.withNetworkFeatures
(NetworkFeatures networkFeatures) Set the networkFeatures property: The original value of the network features type available to the volume at the time it was created.withPlacementRules
(List<PlacementKeyValuePairs> placementRules) Set the placementRules property: Application specific placement rules for the particular volume.withProtocolTypes
(List<String> protocolTypes) Set the protocolTypes property: Set of protocol types, default NFSv3, CIFS for SMB protocol.withProximityPlacementGroup
(String proximityPlacementGroup) Set the proximityPlacementGroup property: Proximity placement group associated with the volume.withSecurityStyle
(SecurityStyle securityStyle) Set the securityStyle property: The security style of volume, default unix, defaults to ntfs for dual protocol or CIFS protocol.withServiceLevel
(ServiceLevel serviceLevel) Set the serviceLevel property: The service level of the file system.withSmbAccessBasedEnumeration
(SmbAccessBasedEnumeration smbAccessBasedEnumeration) Set the smbAccessBasedEnumeration property: Enables access-based enumeration share property for SMB Shares.withSmbContinuouslyAvailable
(Boolean smbContinuouslyAvailable) Set the smbContinuouslyAvailable property: Enables continuously available share property for smb volume.withSmbEncryption
(Boolean smbEncryption) Set the smbEncryption property: Enables encryption for in-flight smb3 data.withSmbNonBrowsable
(SmbNonBrowsable smbNonBrowsable) Set the smbNonBrowsable property: Enables non-browsable property for SMB Shares.withSnapshotDirectoryVisible
(Boolean snapshotDirectoryVisible) Set 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).withSnapshotId
(String snapshotId) Set the snapshotId property: Resource identifier used to identify the Snapshot.withSubnetId
(String subnetId) Set the subnetId property: The Azure Resource URI for a delegated subnet.Set the tags property: Resource tags.withThroughputMibps
(Float throughputMibps) Set 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.withUnixPermissions
(String unixPermissions) Set the unixPermissions property: UNIX permissions for NFS volume accepted in octal 4 digit format.withUsageThreshold
(long usageThreshold) Set the usageThreshold property: Maximum storage quota allowed for a file system in bytes.withVolumeSpecName
(String volumeSpecName) Set 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.withVolumeType
(String volumeType) Set the volumeType property: What type of volume is this.Set the zones property: Availability Zone.zones()
Get the zones property: Availability Zone.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
VolumeGroupVolumeProperties
public VolumeGroupVolumeProperties()Creates an instance of VolumeGroupVolumeProperties class.
-
-
Method Details
-
name
Get the name property: Resource name.- Overrides:
name
in classcom.azure.core.management.ProxyResource
- Returns:
- the name value.
-
withName
Set the name property: Resource name.- Parameters:
name
- the name value to set.- Returns:
- the VolumeGroupVolumeProperties object itself.
-
tags
Get the tags property: Resource tags.- Returns:
- the tags value.
-
withTags
Set the tags property: Resource tags.- Parameters:
tags
- the tags value to set.- Returns:
- the VolumeGroupVolumeProperties object itself.
-
zones
Get the zones property: Availability Zone.- Returns:
- the zones value.
-
withZones
Set the zones property: Availability Zone.- Parameters:
zones
- the zones value to set.- Returns:
- the VolumeGroupVolumeProperties object itself.
-
type
Get the type property: The type of the resource.- Overrides:
type
in classcom.azure.core.management.ProxyResource
- Returns:
- the type value.
-
id
Get the id property: Fully qualified resource Id for the resource.- Overrides:
id
in classcom.azure.core.management.ProxyResource
- Returns:
- the id value.
-
fileSystemId
Get the fileSystemId property: Unique FileSystem Identifier.- Returns:
- the fileSystemId value.
-
creationToken
Get the creationToken property: A unique file path for the volume. Used when creating mount targets.- Returns:
- the creationToken value.
-
withCreationToken
Set the creationToken property: A unique file path for the volume. Used when creating mount targets.- Parameters:
creationToken
- the creationToken value to set.- Returns:
- the VolumeGroupVolumeProperties object itself.
-
serviceLevel
Get the serviceLevel property: The service level of the file system.- Returns:
- the serviceLevel value.
-
withServiceLevel
Set the serviceLevel property: The service level of the file system.- Parameters:
serviceLevel
- the serviceLevel value to set.- Returns:
- the VolumeGroupVolumeProperties object itself.
-
usageThreshold
public long usageThreshold()Get 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.
-
withUsageThreshold
Set 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.- Parameters:
usageThreshold
- the usageThreshold value to set.- Returns:
- the VolumeGroupVolumeProperties object itself.
-
exportPolicy
Get the exportPolicy property: Set of export policy rules.- Returns:
- the exportPolicy value.
-
withExportPolicy
Set the exportPolicy property: Set of export policy rules.- Parameters:
exportPolicy
- the exportPolicy value to set.- Returns:
- the VolumeGroupVolumeProperties object itself.
-
protocolTypes
Get the protocolTypes property: Set of protocol types, default NFSv3, CIFS for SMB protocol.- Returns:
- the protocolTypes value.
-
withProtocolTypes
Set the protocolTypes property: Set of protocol types, default NFSv3, CIFS for SMB protocol.- Parameters:
protocolTypes
- the protocolTypes value to set.- Returns:
- the VolumeGroupVolumeProperties object itself.
-
provisioningState
Get the provisioningState property: Azure lifecycle management.- Returns:
- the provisioningState value.
-
snapshotId
Get the snapshotId property: Resource identifier used to identify the Snapshot.- Returns:
- the snapshotId value.
-
withSnapshotId
Set the snapshotId property: Resource identifier used to identify the Snapshot.- Parameters:
snapshotId
- the snapshotId value to set.- Returns:
- the VolumeGroupVolumeProperties object itself.
-
deleteBaseSnapshot
Get 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.
-
withDeleteBaseSnapshot
Set 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.- Parameters:
deleteBaseSnapshot
- the deleteBaseSnapshot value to set.- Returns:
- the VolumeGroupVolumeProperties object itself.
-
backupId
Get the backupId property: Resource identifier used to identify the Backup.- Returns:
- the backupId value.
-
withBackupId
Set the backupId property: Resource identifier used to identify the Backup.- Parameters:
backupId
- the backupId value to set.- Returns:
- the VolumeGroupVolumeProperties object itself.
-
baremetalTenantId
Get the baremetalTenantId property: Unique Baremetal Tenant Identifier.- Returns:
- the baremetalTenantId value.
-
subnetId
Get the subnetId property: The Azure Resource URI for a delegated subnet. Must have the delegation Microsoft.NetApp/volumes.- Returns:
- the subnetId value.
-
withSubnetId
Set the subnetId property: The Azure Resource URI for a delegated subnet. Must have the delegation Microsoft.NetApp/volumes.- Parameters:
subnetId
- the subnetId value to set.- Returns:
- the VolumeGroupVolumeProperties object itself.
-
networkFeatures
Get 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.
-
withNetworkFeatures
Set the networkFeatures property: The original value of the network features type available to the volume at the time it was created.- Parameters:
networkFeatures
- the networkFeatures value to set.- Returns:
- the VolumeGroupVolumeProperties object itself.
-
effectiveNetworkFeatures
Get 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
Get the networkSiblingSetId property: Network Sibling Set ID for the the group of volumes sharing networking resources.- Returns:
- the networkSiblingSetId value.
-
storageToNetworkProximity
Get the storageToNetworkProximity property: Provides storage to network proximity information for the volume.- Returns:
- the storageToNetworkProximity value.
-
mountTargets
Get the mountTargets property: List of mount targets.- Returns:
- the mountTargets value.
-
volumeType
Get the volumeType property: What type of volume is this. For destination volumes in Cross Region Replication, set type to DataProtection.- Returns:
- the volumeType value.
-
withVolumeType
Set the volumeType property: What type of volume is this. For destination volumes in Cross Region Replication, set type to DataProtection.- Parameters:
volumeType
- the volumeType value to set.- Returns:
- the VolumeGroupVolumeProperties object itself.
-
dataProtection
Get the dataProtection property: DataProtection type volumes include an object containing details of the replication.- Returns:
- the dataProtection value.
-
withDataProtection
public VolumeGroupVolumeProperties withDataProtection(VolumePropertiesDataProtection dataProtection) Set the dataProtection property: DataProtection type volumes include an object containing details of the replication.- Parameters:
dataProtection
- the dataProtection value to set.- Returns:
- the VolumeGroupVolumeProperties object itself.
-
isRestoring
Get the isRestoring property: Restoring.- Returns:
- the isRestoring value.
-
snapshotDirectoryVisible
Get 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.
-
withSnapshotDirectoryVisible
Set 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).- Parameters:
snapshotDirectoryVisible
- the snapshotDirectoryVisible value to set.- Returns:
- the VolumeGroupVolumeProperties object itself.
-
kerberosEnabled
Get the kerberosEnabled property: Describe if a volume is KerberosEnabled. To be use with swagger version 2020-05-01 or later.- Returns:
- the kerberosEnabled value.
-
withKerberosEnabled
Set the kerberosEnabled property: Describe if a volume is KerberosEnabled. To be use with swagger version 2020-05-01 or later.- Parameters:
kerberosEnabled
- the kerberosEnabled value to set.- Returns:
- the VolumeGroupVolumeProperties object itself.
-
securityStyle
Get the securityStyle property: The security style of volume, default unix, defaults to ntfs for dual protocol or CIFS protocol.- Returns:
- the securityStyle value.
-
withSecurityStyle
Set the securityStyle property: The security style of volume, default unix, defaults to ntfs for dual protocol or CIFS protocol.- Parameters:
securityStyle
- the securityStyle value to set.- Returns:
- the VolumeGroupVolumeProperties object itself.
-
smbEncryption
Get 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.
-
withSmbEncryption
Set 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.- Parameters:
smbEncryption
- the smbEncryption value to set.- Returns:
- the VolumeGroupVolumeProperties object itself.
-
smbAccessBasedEnumeration
Get the smbAccessBasedEnumeration property: Enables access-based enumeration share property for SMB Shares. Only applicable for SMB/DualProtocol volume.- Returns:
- the smbAccessBasedEnumeration value.
-
withSmbAccessBasedEnumeration
public VolumeGroupVolumeProperties withSmbAccessBasedEnumeration(SmbAccessBasedEnumeration smbAccessBasedEnumeration) Set the smbAccessBasedEnumeration property: Enables access-based enumeration share property for SMB Shares. Only applicable for SMB/DualProtocol volume.- Parameters:
smbAccessBasedEnumeration
- the smbAccessBasedEnumeration value to set.- Returns:
- the VolumeGroupVolumeProperties object itself.
-
smbNonBrowsable
Get the smbNonBrowsable property: Enables non-browsable property for SMB Shares. Only applicable for SMB/DualProtocol volume.- Returns:
- the smbNonBrowsable value.
-
withSmbNonBrowsable
Set the smbNonBrowsable property: Enables non-browsable property for SMB Shares. Only applicable for SMB/DualProtocol volume.- Parameters:
smbNonBrowsable
- the smbNonBrowsable value to set.- Returns:
- the VolumeGroupVolumeProperties object itself.
-
smbContinuouslyAvailable
Get the smbContinuouslyAvailable property: Enables continuously available share property for smb volume. Only applicable for SMB volume.- Returns:
- the smbContinuouslyAvailable value.
-
withSmbContinuouslyAvailable
Set the smbContinuouslyAvailable property: Enables continuously available share property for smb volume. Only applicable for SMB volume.- Parameters:
smbContinuouslyAvailable
- the smbContinuouslyAvailable value to set.- Returns:
- the VolumeGroupVolumeProperties object itself.
-
throughputMibps
Get 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.
-
withThroughputMibps
Set 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.- Parameters:
throughputMibps
- the throughputMibps value to set.- Returns:
- the VolumeGroupVolumeProperties object itself.
-
actualThroughputMibps
Get the actualThroughputMibps property: Actual throughput in MiB/s for auto qosType volumes calculated based on size and serviceLevel.- Returns:
- the actualThroughputMibps value.
-
encryptionKeySource
Get 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.
-
withEncryptionKeySource
Set 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'.- Parameters:
encryptionKeySource
- the encryptionKeySource value to set.- Returns:
- the VolumeGroupVolumeProperties object itself.
-
keyVaultPrivateEndpointResourceId
Get 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.
-
withKeyVaultPrivateEndpointResourceId
public VolumeGroupVolumeProperties withKeyVaultPrivateEndpointResourceId(String keyVaultPrivateEndpointResourceId) Set 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'.- Parameters:
keyVaultPrivateEndpointResourceId
- the keyVaultPrivateEndpointResourceId value to set.- Returns:
- the VolumeGroupVolumeProperties object itself.
-
ldapEnabled
Get the ldapEnabled property: Specifies whether LDAP is enabled or not for a given NFS volume.- Returns:
- the ldapEnabled value.
-
withLdapEnabled
Set the ldapEnabled property: Specifies whether LDAP is enabled or not for a given NFS volume.- Parameters:
ldapEnabled
- the ldapEnabled value to set.- Returns:
- the VolumeGroupVolumeProperties object itself.
-
coolAccess
Get the coolAccess property: Specifies whether Cool Access(tiering) is enabled for the volume.- Returns:
- the coolAccess value.
-
withCoolAccess
Set the coolAccess property: Specifies whether Cool Access(tiering) is enabled for the volume.- Parameters:
coolAccess
- the coolAccess value to set.- Returns:
- the VolumeGroupVolumeProperties object itself.
-
coolnessPeriod
Get the coolnessPeriod property: Specifies the number of days after which data that is not accessed by clients will be tiered.- Returns:
- the coolnessPeriod value.
-
withCoolnessPeriod
Set the coolnessPeriod property: Specifies the number of days after which data that is not accessed by clients will be tiered.- Parameters:
coolnessPeriod
- the coolnessPeriod value to set.- Returns:
- the VolumeGroupVolumeProperties object itself.
-
coolAccessRetrievalPolicy
Get 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.
-
withCoolAccessRetrievalPolicy
public VolumeGroupVolumeProperties withCoolAccessRetrievalPolicy(CoolAccessRetrievalPolicy coolAccessRetrievalPolicy) Set 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.- Parameters:
coolAccessRetrievalPolicy
- the coolAccessRetrievalPolicy value to set.- Returns:
- the VolumeGroupVolumeProperties object itself.
-
coolAccessTieringPolicy
Get 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.
-
withCoolAccessTieringPolicy
public VolumeGroupVolumeProperties withCoolAccessTieringPolicy(CoolAccessTieringPolicy coolAccessTieringPolicy) Set 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.- Parameters:
coolAccessTieringPolicy
- the coolAccessTieringPolicy value to set.- Returns:
- the VolumeGroupVolumeProperties object itself.
-
unixPermissions
Get 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.
-
withUnixPermissions
Set 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.- Parameters:
unixPermissions
- the unixPermissions value to set.- Returns:
- the VolumeGroupVolumeProperties object itself.
-
cloneProgress
Get 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
Get 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
Get the avsDataStore property: Specifies whether the volume is enabled for Azure VMware Solution (AVS) datastore purpose.- Returns:
- the avsDataStore value.
-
withAvsDataStore
Set the avsDataStore property: Specifies whether the volume is enabled for Azure VMware Solution (AVS) datastore purpose.- Parameters:
avsDataStore
- the avsDataStore value to set.- Returns:
- the VolumeGroupVolumeProperties object itself.
-
dataStoreResourceId
Get the dataStoreResourceId property: Data store resource unique identifier.- Returns:
- the dataStoreResourceId value.
-
isDefaultQuotaEnabled
Get the isDefaultQuotaEnabled property: Specifies if default quota is enabled for the volume.- Returns:
- the isDefaultQuotaEnabled value.
-
withIsDefaultQuotaEnabled
Set the isDefaultQuotaEnabled property: Specifies if default quota is enabled for the volume.- Parameters:
isDefaultQuotaEnabled
- the isDefaultQuotaEnabled value to set.- Returns:
- the VolumeGroupVolumeProperties object itself.
-
defaultUserQuotaInKiBs
Get 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.
-
withDefaultUserQuotaInKiBs
Set the defaultUserQuotaInKiBs property: Default user quota for volume in KiBs. If isDefaultQuotaEnabled is set, the minimum value of 4 KiBs applies .- Parameters:
defaultUserQuotaInKiBs
- the defaultUserQuotaInKiBs value to set.- Returns:
- the VolumeGroupVolumeProperties object itself.
-
defaultGroupQuotaInKiBs
Get 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.
-
withDefaultGroupQuotaInKiBs
Set the defaultGroupQuotaInKiBs property: Default group quota for volume in KiBs. If isDefaultQuotaEnabled is set, the minimum value of 4 KiBs applies.- Parameters:
defaultGroupQuotaInKiBs
- the defaultGroupQuotaInKiBs value to set.- Returns:
- the VolumeGroupVolumeProperties object itself.
-
maximumNumberOfFiles
Get 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
Get the volumeGroupName property: Volume Group Name.- Returns:
- the volumeGroupName value.
-
capacityPoolResourceId
Get the capacityPoolResourceId property: Pool Resource Id used in case of creating a volume through volume group.- Returns:
- the capacityPoolResourceId value.
-
withCapacityPoolResourceId
Set the capacityPoolResourceId property: Pool Resource Id used in case of creating a volume through volume group.- Parameters:
capacityPoolResourceId
- the capacityPoolResourceId value to set.- Returns:
- the VolumeGroupVolumeProperties object itself.
-
proximityPlacementGroup
Get the proximityPlacementGroup property: Proximity placement group associated with the volume.- Returns:
- the proximityPlacementGroup value.
-
withProximityPlacementGroup
Set the proximityPlacementGroup property: Proximity placement group associated with the volume.- Parameters:
proximityPlacementGroup
- the proximityPlacementGroup value to set.- Returns:
- the VolumeGroupVolumeProperties object itself.
-
t2Network
Get the t2Network property: T2 network information.- Returns:
- the t2Network value.
-
volumeSpecName
Get 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.
-
withVolumeSpecName
Set 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.- Parameters:
volumeSpecName
- the volumeSpecName value to set.- Returns:
- the VolumeGroupVolumeProperties object itself.
-
encrypted
Get 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
Get the placementRules property: Application specific placement rules for the particular volume.- Returns:
- the placementRules value.
-
withPlacementRules
Set the placementRules property: Application specific placement rules for the particular volume.- Parameters:
placementRules
- the placementRules value to set.- Returns:
- the VolumeGroupVolumeProperties object itself.
-
enableSubvolumes
Get the enableSubvolumes property: Flag indicating whether subvolume operations are enabled on the volume.- Returns:
- the enableSubvolumes value.
-
withEnableSubvolumes
Set the enableSubvolumes property: Flag indicating whether subvolume operations are enabled on the volume.- Parameters:
enableSubvolumes
- the enableSubvolumes value to set.- Returns:
- the VolumeGroupVolumeProperties object itself.
-
provisionedAvailabilityZone
Get 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
Get the isLargeVolume property: Specifies whether volume is a Large Volume or Regular Volume.- Returns:
- the isLargeVolume value.
-
withIsLargeVolume
Set the isLargeVolume property: Specifies whether volume is a Large Volume or Regular Volume.- Parameters:
isLargeVolume
- the isLargeVolume value to set.- Returns:
- the VolumeGroupVolumeProperties object itself.
-
originatingResourceId
Get the originatingResourceId property: Id of the snapshot or backup that the volume is restored from.- Returns:
- the originatingResourceId value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
toJson
- Specified by:
toJson
in interfacecom.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>
- Overrides:
toJson
in classcom.azure.core.management.ProxyResource
- Throws:
IOException
-
fromJson
public static VolumeGroupVolumeProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of VolumeGroupVolumeProperties from the JsonReader.- Parameters:
jsonReader
- The JsonReader being read.- Returns:
- An instance of VolumeGroupVolumeProperties if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IllegalStateException
- If the deserialized JSON object was missing any required properties.IOException
- If an error occurs while reading the VolumeGroupVolumeProperties.
-