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 Details

    • VolumeGroupVolumeProperties

      public VolumeGroupVolumeProperties()
      Creates an instance of VolumeGroupVolumeProperties class.
  • Method Details

    • name

      public String name()
      Get the name property: Resource name.
      Overrides:
      name in class com.azure.core.management.ProxyResource
      Returns:
      the name value.
    • withName

      public VolumeGroupVolumeProperties withName(String name)
      Set the name property: Resource name.
      Parameters:
      name - the name value to set.
      Returns:
      the VolumeGroupVolumeProperties object itself.
    • tags

      public Map<String,String> tags()
      Get the tags property: Resource tags.
      Returns:
      the tags value.
    • withTags

      public VolumeGroupVolumeProperties withTags(Map<String,String> tags)
      Set the tags property: Resource tags.
      Parameters:
      tags - the tags value to set.
      Returns:
      the VolumeGroupVolumeProperties object itself.
    • zones

      public List<String> zones()
      Get the zones property: Availability Zone.
      Returns:
      the zones value.
    • withZones

      public VolumeGroupVolumeProperties withZones(List<String> zones)
      Set the zones property: Availability Zone.
      Parameters:
      zones - the zones value to set.
      Returns:
      the VolumeGroupVolumeProperties object itself.
    • type

      public String type()
      Get the type property: The type of the resource.
      Overrides:
      type in class com.azure.core.management.ProxyResource
      Returns:
      the type value.
    • id

      public String id()
      Get the id property: Fully qualified resource Id for the resource.
      Overrides:
      id in class com.azure.core.management.ProxyResource
      Returns:
      the id value.
    • fileSystemId

      public String fileSystemId()
      Get the fileSystemId property: Unique FileSystem Identifier.
      Returns:
      the fileSystemId value.
    • creationToken

      public String creationToken()
      Get the creationToken property: A unique file path for the volume. Used when creating mount targets.
      Returns:
      the creationToken value.
    • withCreationToken

      public VolumeGroupVolumeProperties withCreationToken(String creationToken)
      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

      public ServiceLevel serviceLevel()
      Get the serviceLevel property: The service level of the file system.
      Returns:
      the serviceLevel value.
    • withServiceLevel

      public VolumeGroupVolumeProperties withServiceLevel(ServiceLevel serviceLevel)
      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

      public VolumeGroupVolumeProperties withUsageThreshold(long usageThreshold)
      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

      public VolumePropertiesExportPolicy exportPolicy()
      Get the exportPolicy property: Set of export policy rules.
      Returns:
      the exportPolicy value.
    • withExportPolicy

      public VolumeGroupVolumeProperties withExportPolicy(VolumePropertiesExportPolicy exportPolicy)
      Set the exportPolicy property: Set of export policy rules.
      Parameters:
      exportPolicy - the exportPolicy value to set.
      Returns:
      the VolumeGroupVolumeProperties object itself.
    • protocolTypes

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

      public VolumeGroupVolumeProperties withProtocolTypes(List<String> protocolTypes)
      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

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

      public String snapshotId()
      Get the snapshotId property: Resource identifier used to identify the Snapshot.
      Returns:
      the snapshotId value.
    • withSnapshotId

      public VolumeGroupVolumeProperties withSnapshotId(String snapshotId)
      Set the snapshotId property: Resource identifier used to identify the Snapshot.
      Parameters:
      snapshotId - the snapshotId value to set.
      Returns:
      the VolumeGroupVolumeProperties object itself.
    • deleteBaseSnapshot

      public Boolean 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

      public VolumeGroupVolumeProperties 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. Defaults to false.
      Parameters:
      deleteBaseSnapshot - the deleteBaseSnapshot value to set.
      Returns:
      the VolumeGroupVolumeProperties object itself.
    • backupId

      public String backupId()
      Get the backupId property: Resource identifier used to identify the Backup.
      Returns:
      the backupId value.
    • withBackupId

      public VolumeGroupVolumeProperties withBackupId(String backupId)
      Set the backupId property: Resource identifier used to identify the Backup.
      Parameters:
      backupId - the backupId value to set.
      Returns:
      the VolumeGroupVolumeProperties object itself.
    • baremetalTenantId

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

      public String 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

      public VolumeGroupVolumeProperties withSubnetId(String subnetId)
      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

      public NetworkFeatures 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

      public VolumeGroupVolumeProperties 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.
      Parameters:
      networkFeatures - the networkFeatures value to set.
      Returns:
      the VolumeGroupVolumeProperties object itself.
    • effectiveNetworkFeatures

      public NetworkFeatures 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

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

      public VolumeStorageToNetworkProximity storageToNetworkProximity()
      Get the storageToNetworkProximity property: Provides storage to network proximity information for the volume.
      Returns:
      the storageToNetworkProximity value.
    • mountTargets

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

      public String 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

      public VolumeGroupVolumeProperties withVolumeType(String volumeType)
      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

      public VolumePropertiesDataProtection 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

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

      public Boolean 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

      public VolumeGroupVolumeProperties 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).
      Parameters:
      snapshotDirectoryVisible - the snapshotDirectoryVisible value to set.
      Returns:
      the VolumeGroupVolumeProperties object itself.
    • kerberosEnabled

      public Boolean 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

      public VolumeGroupVolumeProperties withKerberosEnabled(Boolean kerberosEnabled)
      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

      public SecurityStyle 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

      public VolumeGroupVolumeProperties withSecurityStyle(SecurityStyle securityStyle)
      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

      public Boolean 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

      public VolumeGroupVolumeProperties withSmbEncryption(Boolean smbEncryption)
      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

      public SmbAccessBasedEnumeration 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

      public SmbNonBrowsable smbNonBrowsable()
      Get the smbNonBrowsable property: Enables non-browsable property for SMB Shares. Only applicable for SMB/DualProtocol volume.
      Returns:
      the smbNonBrowsable value.
    • withSmbNonBrowsable

      public VolumeGroupVolumeProperties withSmbNonBrowsable(SmbNonBrowsable smbNonBrowsable)
      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

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

      public VolumeGroupVolumeProperties withSmbContinuouslyAvailable(Boolean smbContinuouslyAvailable)
      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

      public Float 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

      public VolumeGroupVolumeProperties 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.
      Parameters:
      throughputMibps - the throughputMibps value to set.
      Returns:
      the VolumeGroupVolumeProperties object itself.
    • actualThroughputMibps

      public Float 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

      public EncryptionKeySource 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

      public VolumeGroupVolumeProperties withEncryptionKeySource(EncryptionKeySource encryptionKeySource)
      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

      public String 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

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

      public VolumeGroupVolumeProperties withLdapEnabled(Boolean ldapEnabled)
      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

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

      public VolumeGroupVolumeProperties withCoolAccess(Boolean coolAccess)
      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

      public Integer 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

      public VolumeGroupVolumeProperties withCoolnessPeriod(Integer coolnessPeriod)
      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

      public CoolAccessRetrievalPolicy 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

      public CoolAccessTieringPolicy 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

      public String 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

      public VolumeGroupVolumeProperties withUnixPermissions(String unixPermissions)
      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

      public Integer 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

      public FileAccessLogs 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

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

      public VolumeGroupVolumeProperties withAvsDataStore(AvsDataStore avsDataStore)
      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

      public List<String> dataStoreResourceId()
      Get the dataStoreResourceId property: Data store resource unique identifier.
      Returns:
      the dataStoreResourceId value.
    • isDefaultQuotaEnabled

      public Boolean isDefaultQuotaEnabled()
      Get the isDefaultQuotaEnabled property: Specifies if default quota is enabled for the volume.
      Returns:
      the isDefaultQuotaEnabled value.
    • withIsDefaultQuotaEnabled

      public VolumeGroupVolumeProperties withIsDefaultQuotaEnabled(Boolean isDefaultQuotaEnabled)
      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

      public Long 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

      public VolumeGroupVolumeProperties withDefaultUserQuotaInKiBs(Long defaultUserQuotaInKiBs)
      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

      public Long 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

      public VolumeGroupVolumeProperties withDefaultGroupQuotaInKiBs(Long defaultGroupQuotaInKiBs)
      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

      public Long 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

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

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

      public VolumeGroupVolumeProperties withCapacityPoolResourceId(String capacityPoolResourceId)
      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

      public String proximityPlacementGroup()
      Get the proximityPlacementGroup property: Proximity placement group associated with the volume.
      Returns:
      the proximityPlacementGroup value.
    • withProximityPlacementGroup

      public VolumeGroupVolumeProperties withProximityPlacementGroup(String proximityPlacementGroup)
      Set the proximityPlacementGroup property: Proximity placement group associated with the volume.
      Parameters:
      proximityPlacementGroup - the proximityPlacementGroup value to set.
      Returns:
      the VolumeGroupVolumeProperties object itself.
    • t2Network

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

      public String 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

      public VolumeGroupVolumeProperties 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.
      Parameters:
      volumeSpecName - the volumeSpecName value to set.
      Returns:
      the VolumeGroupVolumeProperties object itself.
    • encrypted

      public Boolean 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

      public List<PlacementKeyValuePairs> placementRules()
      Get the placementRules property: Application specific placement rules for the particular volume.
      Returns:
      the placementRules value.
    • withPlacementRules

      public VolumeGroupVolumeProperties withPlacementRules(List<PlacementKeyValuePairs> placementRules)
      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

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

      public VolumeGroupVolumeProperties withEnableSubvolumes(EnableSubvolumes enableSubvolumes)
      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

      public String 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

      public Boolean isLargeVolume()
      Get the isLargeVolume property: Specifies whether volume is a Large Volume or Regular Volume.
      Returns:
      the isLargeVolume value.
    • withIsLargeVolume

      public VolumeGroupVolumeProperties withIsLargeVolume(Boolean isLargeVolume)
      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

      public String 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

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>
      Overrides:
      toJson in class com.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.