VolumeInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. core. management. Resource - com.
azure. resourcemanager. netapp. fluent. models. VolumeInner
- com.
- com.
- com.
public final class VolumeInner
extends Resource
Volume resource.
Constructor Summary
Constructor | Description |
---|---|
VolumeInner() |
Creates an instance of Volume |
Method Summary
Modifier and Type | Method and Description |
---|---|
Float |
actualThroughputMibps()
Get the actual |
Avs |
avsDataStore()
Get the avs |
String |
backupId()
Get the backup |
String |
baremetalTenantId()
Get the baremetal |
String |
capacityPoolResourceId()
Get the capacity |
Integer |
cloneProgress()
Get the clone |
Boolean |
coolAccess()
Get the cool |
Cool |
coolAccessRetrievalPolicy()
Get the cool |
Integer |
coolnessPeriod()
Get the coolness |
String |
creationToken()
Get the creation |
Volume |
dataProtection()
Get the data |
List<String> |
dataStoreResourceId()
Get the data |
Long |
defaultGroupQuotaInKiBs()
Get the default |
Long |
defaultUserQuotaInKiBs()
Get the default |
Boolean |
deleteBaseSnapshot()
Get the delete |
Enable |
enableSubvolumes()
Get the enable |
Boolean |
encrypted()
Get the encrypted property: Specifies if the volume is encrypted or not. |
Encryption |
encryptionKeySource()
Get the encryption |
String |
etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated. |
Volume |
exportPolicy()
Get the export |
File |
fileAccessLogs()
Get the file |
String |
fileSystemId()
Get the file |
Long |
inheritedSizeInBytes()
Get the inherited |
Boolean |
isDefaultQuotaEnabled()
Get the is |
Boolean |
isLargeVolume()
Get the is |
Boolean |
isRestoring()
Get the is |
Boolean |
kerberosEnabled()
Get the kerberos |
String |
keyVaultPrivateEndpointResourceId()
Get the key |
Boolean |
ldapEnabled()
Get the ldap |
Long |
maximumNumberOfFiles()
Get the maximum |
List<Mount |
mountTargets()
Get the mount |
Network |
networkFeatures()
Get the network |
String |
networkSiblingSetId()
Get the network |
String |
originatingResourceId()
Get the originating |
List<Placement |
placementRules()
Get the placement |
List<String> |
protocolTypes()
Get the protocol |
String |
provisionedAvailabilityZone()
Get the provisioned |
String |
provisioningState()
Get the provisioning |
String |
proximityPlacementGroup()
Get the proximity |
Security |
securityStyle()
Get the security |
Service |
serviceLevel()
Get the service |
Smb |
smbAccessBasedEnumeration()
Get the smb |
Boolean |
smbContinuouslyAvailable()
Get the smb |
Boolean |
smbEncryption()
Get the smb |
Smb |
smbNonBrowsable()
Get the smb |
Boolean |
snapshotDirectoryVisible()
Get the snapshot |
String |
snapshotId()
Get the snapshot |
Volume |
storageToNetworkProximity()
Get the storage |
String |
subnetId()
Get the subnet |
System |
systemData()
Get the system |
String |
t2Network()
Get the t2Network property: T2 network information. |
Float |
throughputMibps()
Get the throughput |
String |
unixPermissions()
Get the unix |
long |
usageThreshold()
Get the usage |
void |
validate()
Validates the instance. |
String |
volumeGroupName()
Get the volume |
String |
volumeSpecName()
Get the volume |
String |
volumeType()
Get the volume |
Volume |
withAvsDataStore(AvsDataStore avsDataStore)
Set the avs |
Volume |
withBackupId(String backupId)
Set the backup |
Volume |
withCapacityPoolResourceId(String capacityPoolResourceId)
Set the capacity |
Volume |
withCoolAccess(Boolean coolAccess)
Set the cool |
Volume |
withCoolAccessRetrievalPolicy(CoolAccessRetrievalPolicy coolAccessRetrievalPolicy)
Set the cool |
Volume |
withCoolnessPeriod(Integer coolnessPeriod)
Set the coolness |
Volume |
withCreationToken(String creationToken)
Set the creation |
Volume |
withDataProtection(VolumePropertiesDataProtection dataProtection)
Set the data |
Volume |
withDefaultGroupQuotaInKiBs(Long defaultGroupQuotaInKiBs)
Set the default |
Volume |
withDefaultUserQuotaInKiBs(Long defaultUserQuotaInKiBs)
Set the default |
Volume |
withDeleteBaseSnapshot(Boolean deleteBaseSnapshot)
Set the delete |
Volume |
withEnableSubvolumes(EnableSubvolumes enableSubvolumes)
Set the enable |
Volume |
withEncryptionKeySource(EncryptionKeySource encryptionKeySource)
Set the encryption |
Volume |
withExportPolicy(VolumePropertiesExportPolicy exportPolicy)
Set the export |
Volume |
withIsDefaultQuotaEnabled(Boolean isDefaultQuotaEnabled)
Set the is |
Volume |
withIsLargeVolume(Boolean isLargeVolume)
Set the is |
Volume |
withIsRestoring(Boolean isRestoring)
Set the is |
Volume |
withKerberosEnabled(Boolean kerberosEnabled)
Set the kerberos |
Volume |
withKeyVaultPrivateEndpointResourceId(String keyVaultPrivateEndpointResourceId)
Set the key |
Volume |
withLdapEnabled(Boolean ldapEnabled)
Set the ldap |
Volume |
withLocation(String location) |
Volume |
withNetworkFeatures(NetworkFeatures networkFeatures)
Set the network |
Volume |
withPlacementRules(List<PlacementKeyValuePairs> placementRules)
Set the placement |
Volume |
withProtocolTypes(List<String> protocolTypes)
Set the protocol |
Volume |
withProximityPlacementGroup(String proximityPlacementGroup)
Set the proximity |
Volume |
withSecurityStyle(SecurityStyle securityStyle)
Set the security |
Volume |
withServiceLevel(ServiceLevel serviceLevel)
Set the service |
Volume |
withSmbAccessBasedEnumeration(SmbAccessBasedEnumeration smbAccessBasedEnumeration)
Set the smb |
Volume |
withSmbContinuouslyAvailable(Boolean smbContinuouslyAvailable)
Set the smb |
Volume |
withSmbEncryption(Boolean smbEncryption)
Set the smb |
Volume |
withSmbNonBrowsable(SmbNonBrowsable smbNonBrowsable)
Set the smb |
Volume |
withSnapshotDirectoryVisible(Boolean snapshotDirectoryVisible)
Set the snapshot |
Volume |
withSnapshotId(String snapshotId)
Set the snapshot |
Volume |
withSubnetId(String subnetId)
Set the subnet |
Volume |
withTags(Map<String,String> tags) |
Volume |
withThroughputMibps(Float throughputMibps)
Set the throughput |
Volume |
withUnixPermissions(String unixPermissions)
Set the unix |
Volume |
withUsageThreshold(long usageThreshold)
Set the usage |
Volume |
withVolumeSpecName(String volumeSpecName)
Set the volume |
Volume |
withVolumeType(String volumeType)
Set the volume |
Volume |
withZones(List<String> zones)
Set the zones property: Availability Zone. |
List<String> |
zones()
Get the zones property: Availability Zone. |
Methods inherited from ProxyResource
Methods inherited from Resource
Methods inherited from java.lang.Object
Constructor Details
VolumeInner
public VolumeInner()
Creates an instance of VolumeInner class.
Method Details
actualThroughputMibps
public Float actualThroughputMibps()
Get the actualThroughputMibps property: Actual throughput in MiB/s for auto qosType volumes calculated based on size and serviceLevel.
Returns:
avsDataStore
public AvsDataStore avsDataStore()
Get the avsDataStore property: avsDataStore Specifies whether the volume is enabled for Azure VMware Solution (AVS) datastore purpose.
Returns:
backupId
public String backupId()
Get the backupId property: Backup ID UUID v4 or resource identifier used to identify the Backup.
Returns:
baremetalTenantId
public String baremetalTenantId()
Get the baremetalTenantId property: Baremetal Tenant ID Unique Baremetal Tenant Identifier.
Returns:
capacityPoolResourceId
public String capacityPoolResourceId()
Get the capacityPoolResourceId property: Pool Resource Id used in case of creating a volume through volume group.
Returns:
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:
coolAccess
public Boolean coolAccess()
Get the coolAccess property: Specifies whether Cool Access(tiering) is enabled for the volume.
Returns:
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:
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:
creationToken
public String creationToken()
Get the creationToken property: Creation Token or File Path A unique file path for the volume. Used when creating mount targets.
Returns:
dataProtection
public VolumePropertiesDataProtection dataProtection()
Get the dataProtection property: DataProtection DataProtection type volumes include an object containing details of the replication.
Returns:
dataStoreResourceId
public List
Get the dataStoreResourceId property: dataStoreResourceId Data store resource unique identifier.
Returns:
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:
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:
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:
enableSubvolumes
public EnableSubvolumes enableSubvolumes()
Get the enableSubvolumes property: Flag indicating whether subvolume operations are enabled on the volume.
Returns:
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:
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:
etag
public String etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated.
Returns:
exportPolicy
public VolumePropertiesExportPolicy exportPolicy()
Get the exportPolicy property: exportPolicy Set of export policy rules.
Returns:
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:
fileSystemId
public String fileSystemId()
Get the fileSystemId property: FileSystem ID Unique FileSystem Identifier.
Returns:
inheritedSizeInBytes
public Long inheritedSizeInBytes()
Get the inheritedSizeInBytes property: inheritedSizeInBytes Space shared by short term clone volume with parent volume in bytes.
Returns:
isDefaultQuotaEnabled
public Boolean isDefaultQuotaEnabled()
Get the isDefaultQuotaEnabled property: Specifies if default quota is enabled for the volume.
Returns:
isLargeVolume
public Boolean isLargeVolume()
Get the isLargeVolume property: Is Large Volume Specifies whether volume is a Large Volume or Regular Volume.
Returns:
isRestoring
public Boolean isRestoring()
Get the isRestoring property: Restoring.
Returns:
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:
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:
ldapEnabled
public Boolean ldapEnabled()
Get the ldapEnabled property: Specifies whether LDAP is enabled or not for a given NFS volume.
Returns:
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:
mountTargets
public List
Get the mountTargets property: mountTargets List of mount targets.
Returns:
networkFeatures
public NetworkFeatures networkFeatures()
Get the networkFeatures property: Network features Network features available to the volume, or current state of update.
Returns:
networkSiblingSetId
public String networkSiblingSetId()
Get the networkSiblingSetId property: Network Sibling Set ID Network Sibling Set ID for the the group of volumes sharing networking resources.
Returns:
originatingResourceId
public String originatingResourceId()
Get the originatingResourceId property: Originating Resource Id Id of the snapshot or backup that the volume is restored from.
Returns:
placementRules
public List
Get the placementRules property: Volume placement rules Application specific placement rules for the particular volume.
Returns:
protocolTypes
public List
Get the protocolTypes property: protocolTypes Set of protocol types, default NFSv3, CIFS for SMB protocol.
Returns:
provisionedAvailabilityZone
public String provisionedAvailabilityZone()
Get the provisionedAvailabilityZone property: Provisioned Availability Zone The availability zone where the volume is provisioned. This refers to the logical availability zone where the volume resides.
Returns:
provisioningState
public String provisioningState()
Get the provisioningState property: Azure lifecycle management.
Returns:
proximityPlacementGroup
public String proximityPlacementGroup()
Get the proximityPlacementGroup property: Proximity placement group associated with the volume.
Returns:
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:
serviceLevel
public ServiceLevel serviceLevel()
Get the serviceLevel property: serviceLevel The service level of the file system.
Returns:
smbAccessBasedEnumeration
public SmbAccessBasedEnumeration smbAccessBasedEnumeration()
Get the smbAccessBasedEnumeration property: smbAccessBasedEnumeration Enables access-based enumeration share property for SMB Shares. Only applicable for SMB/DualProtocol volume.
Returns:
smbContinuouslyAvailable
public Boolean smbContinuouslyAvailable()
Get the smbContinuouslyAvailable property: Enables continuously available share property for smb volume. Only applicable for SMB volume.
Returns:
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:
smbNonBrowsable
public SmbNonBrowsable smbNonBrowsable()
Get the smbNonBrowsable property: smbNonBrowsable Enables non-browsable property for SMB Shares. Only applicable for SMB/DualProtocol volume.
Returns:
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:
snapshotId
public String snapshotId()
Get the snapshotId property: Snapshot ID UUID v4 or resource identifier used to identify the Snapshot.
Returns:
storageToNetworkProximity
public VolumeStorageToNetworkProximity storageToNetworkProximity()
Get the storageToNetworkProximity property: Storage to Network Proximity Provides storage to network proximity information for the volume.
Returns:
subnetId
public String subnetId()
Get the subnetId property: The Azure Resource URI for a delegated subnet. Must have the delegation Microsoft.NetApp/volumes.
Returns:
systemData
public SystemData systemData()
Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
Returns:
t2Network
public String t2Network()
Get the t2Network property: T2 network information.
Returns:
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:
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:
usageThreshold
public long usageThreshold()
Get the usageThreshold property: usageThreshold Maximum storage quota allowed for a file system in bytes. This is a soft quota used for alerting only. Minimum size is 100 GiB. Upper limit is 100TiB, 500Tib for LargeVolume or 2400Tib for LargeVolume on exceptional basis. Specified in bytes.
Returns:
validate
public void validate()
Validates the instance.
volumeGroupName
public String volumeGroupName()
Get the volumeGroupName property: Volume Group Name.
Returns:
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:
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. For creating clone volume, set type to ShortTermClone.
Returns:
withAvsDataStore
public VolumeInner withAvsDataStore(AvsDataStore avsDataStore)
Set the avsDataStore property: avsDataStore Specifies whether the volume is enabled for Azure VMware Solution (AVS) datastore purpose.
Parameters:
Returns:
withBackupId
public VolumeInner withBackupId(String backupId)
Set the backupId property: Backup ID UUID v4 or resource identifier used to identify the Backup.
Parameters:
Returns:
withCapacityPoolResourceId
public VolumeInner withCapacityPoolResourceId(String capacityPoolResourceId)
Set the capacityPoolResourceId property: Pool Resource Id used in case of creating a volume through volume group.
Parameters:
Returns:
withCoolAccess
public VolumeInner withCoolAccess(Boolean coolAccess)
Set the coolAccess property: Specifies whether Cool Access(tiering) is enabled for the volume.
Parameters:
Returns:
withCoolAccessRetrievalPolicy
public VolumeInner 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:
Returns:
withCoolnessPeriod
public VolumeInner 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:
Returns:
withCreationToken
public VolumeInner withCreationToken(String creationToken)
Set the creationToken property: Creation Token or File Path A unique file path for the volume. Used when creating mount targets.
Parameters:
Returns:
withDataProtection
public VolumeInner withDataProtection(VolumePropertiesDataProtection dataProtection)
Set the dataProtection property: DataProtection DataProtection type volumes include an object containing details of the replication.
Parameters:
Returns:
withDefaultGroupQuotaInKiBs
public VolumeInner 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:
Returns:
withDefaultUserQuotaInKiBs
public VolumeInner 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:
Returns:
withDeleteBaseSnapshot
public VolumeInner 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:
Returns:
withEnableSubvolumes
public VolumeInner withEnableSubvolumes(EnableSubvolumes enableSubvolumes)
Set the enableSubvolumes property: Flag indicating whether subvolume operations are enabled on the volume.
Parameters:
Returns:
withEncryptionKeySource
public VolumeInner 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:
Returns:
withExportPolicy
public VolumeInner withExportPolicy(VolumePropertiesExportPolicy exportPolicy)
Set the exportPolicy property: exportPolicy Set of export policy rules.
Parameters:
Returns:
withIsDefaultQuotaEnabled
public VolumeInner withIsDefaultQuotaEnabled(Boolean isDefaultQuotaEnabled)
Set the isDefaultQuotaEnabled property: Specifies if default quota is enabled for the volume.
Parameters:
Returns:
withIsLargeVolume
public VolumeInner withIsLargeVolume(Boolean isLargeVolume)
Set the isLargeVolume property: Is Large Volume Specifies whether volume is a Large Volume or Regular Volume.
Parameters:
Returns:
withIsRestoring
public VolumeInner withIsRestoring(Boolean isRestoring)
Set the isRestoring property: Restoring.
Parameters:
Returns:
withKerberosEnabled
public VolumeInner 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:
Returns:
withKeyVaultPrivateEndpointResourceId
public VolumeInner 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:
Returns:
withLdapEnabled
public VolumeInner withLdapEnabled(Boolean ldapEnabled)
Set the ldapEnabled property: Specifies whether LDAP is enabled or not for a given NFS volume.
Parameters:
Returns:
withLocation
public VolumeInner withLocation(String location)
Overrides:
VolumeInner.withLocation(String location)Parameters:
withNetworkFeatures
public VolumeInner withNetworkFeatures(NetworkFeatures networkFeatures)
Set the networkFeatures property: Network features Network features available to the volume, or current state of update.
Parameters:
Returns:
withPlacementRules
public VolumeInner withPlacementRules(List
Set the placementRules property: Volume placement rules Application specific placement rules for the particular volume.
Parameters:
Returns:
withProtocolTypes
public VolumeInner withProtocolTypes(List
Set the protocolTypes property: protocolTypes Set of protocol types, default NFSv3, CIFS for SMB protocol.
Parameters:
Returns:
withProximityPlacementGroup
public VolumeInner withProximityPlacementGroup(String proximityPlacementGroup)
Set the proximityPlacementGroup property: Proximity placement group associated with the volume.
Parameters:
Returns:
withSecurityStyle
public VolumeInner withSecurityStyle(SecurityStyle securityStyle)
Set the securityStyle property: The security style of volume, default unix, defaults to ntfs for dual protocol or CIFS protocol.
Parameters:
Returns:
withServiceLevel
public VolumeInner withServiceLevel(ServiceLevel serviceLevel)
Set the serviceLevel property: serviceLevel The service level of the file system.
Parameters:
Returns:
withSmbAccessBasedEnumeration
public VolumeInner withSmbAccessBasedEnumeration(SmbAccessBasedEnumeration smbAccessBasedEnumeration)
Set the smbAccessBasedEnumeration property: smbAccessBasedEnumeration Enables access-based enumeration share property for SMB Shares. Only applicable for SMB/DualProtocol volume.
Parameters:
Returns:
withSmbContinuouslyAvailable
public VolumeInner withSmbContinuouslyAvailable(Boolean smbContinuouslyAvailable)
Set the smbContinuouslyAvailable property: Enables continuously available share property for smb volume. Only applicable for SMB volume.
Parameters:
Returns:
withSmbEncryption
public VolumeInner 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:
Returns:
withSmbNonBrowsable
public VolumeInner withSmbNonBrowsable(SmbNonBrowsable smbNonBrowsable)
Set the smbNonBrowsable property: smbNonBrowsable Enables non-browsable property for SMB Shares. Only applicable for SMB/DualProtocol volume.
Parameters:
Returns:
withSnapshotDirectoryVisible
public VolumeInner 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:
Returns:
withSnapshotId
public VolumeInner withSnapshotId(String snapshotId)
Set the snapshotId property: Snapshot ID UUID v4 or resource identifier used to identify the Snapshot.
Parameters:
Returns:
withSubnetId
public VolumeInner withSubnetId(String subnetId)
Set the subnetId property: The Azure Resource URI for a delegated subnet. Must have the delegation Microsoft.NetApp/volumes.
Parameters:
Returns:
withTags
public VolumeInner withTags(Map
Overrides:
VolumeInner.withTags(Map<String,String> tags)Parameters:
withThroughputMibps
public VolumeInner 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:
Returns:
withUnixPermissions
public VolumeInner 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:
Returns:
withUsageThreshold
public VolumeInner withUsageThreshold(long usageThreshold)
Set the usageThreshold property: usageThreshold Maximum storage quota allowed for a file system in bytes. This is a soft quota used for alerting only. Minimum size is 100 GiB. Upper limit is 100TiB, 500Tib for LargeVolume or 2400Tib for LargeVolume on exceptional basis. Specified in bytes.
Parameters:
Returns:
withVolumeSpecName
public VolumeInner 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:
Returns:
withVolumeType
public VolumeInner withVolumeType(String volumeType)
Set the volumeType property: What type of volume is this. For destination volumes in Cross Region Replication, set type to DataProtection. For creating clone volume, set type to ShortTermClone.
Parameters:
Returns:
withZones
public VolumeInner withZones(List
Set the zones property: Availability Zone.
Parameters:
Returns:
zones
public List
Get the zones property: Availability Zone.
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for