Class ShareSetPropertiesOptions
java.lang.Object
com.azure.storage.file.share.options.ShareSetPropertiesOptions
Extended options that may be passed when setting properties on a share.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets theShareAccessTier
.Get the paidBurstingMaxBandwidthMibps property: Optional.Get the paidBurstingMaxIops property: Optional.Get the provisionedMaxBandwidthMibps property: Optional.Get the provisionedMaxIops property: Optional.Gets the size in GB to limit the share's growth.Gets theShareRequestConditions
.Gets the root squash to set for the share.Get the enablePaidBursting property: Optional.Get the enableSnapshotVirtualDirectoryAccess property: The EnableSnapshotVirtualDirectoryAccess property.setAccessTier
(ShareAccessTier accessTier) Sets theShareAccessTier
.setPaidBurstingEnabled
(Boolean enablePaidBursting) Set the enablePaidBursting property: Optional.setPaidBurstingMaxBandwidthMibps
(Long paidBurstingMaxBandwidthMibps) Set the paidBurstingMaxBandwidthMibps property: Optional.setPaidBurstingMaxIops
(Long paidBurstingMaxIops) Set the paidBurstingMaxIops property: Optional.setProvisionedMaxBandwidthMibps
(Long provisionedMaxBandwidthMibps) Set the provisionedMaxBandwidthMibps property: Optional.setProvisionedMaxIops
(Long provisionedMaxIops) Set the provisionedMaxIops property: Optional.setQuotaInGb
(Integer quotaInGb) Sets the size in GB to limit the share's growth.setRequestConditions
(ShareRequestConditions requestConditions) Sets theShareRequestConditions
.setRootSquash
(ShareRootSquash rootSquash) Sets the root squash to set for the share.setSnapshotVirtualDirectoryAccessEnabled
(Boolean snapshotVirtualDirectoryAccessEnabled) Set the enableSnapshotVirtualDirectoryAccess property: The EnableSnapshotVirtualDirectoryAccess property.
-
Constructor Details
-
ShareSetPropertiesOptions
public ShareSetPropertiesOptions()Creates a new instance ofShareSetPropertiesOptions
.
-
-
Method Details
-
getAccessTier
Gets theShareAccessTier
.- Returns:
ShareAccessTier
-
getQuotaInGb
Gets the size in GB to limit the share's growth.- Returns:
- Size in GB to limit the share's growth.
-
setQuotaInGb
Sets the size in GB to limit the share's growth.- Parameters:
quotaInGb
- Size in GB to limit the share's growth.- Returns:
- The updated options.
-
getRootSquash
Gets the root squash to set for the share. Only valid for NFS.- Returns:
- The root squash to set for the share. Only valid for NFS.
-
getRequestConditions
Gets theShareRequestConditions
.- Returns:
ShareRequestConditions
.
-
isSnapshotVirtualDirectoryAccessEnabled
Get the enableSnapshotVirtualDirectoryAccess property: The EnableSnapshotVirtualDirectoryAccess property. Optional. Supported in version 2023-08-03 and above. Only applicable for premium file storage accounts. Specifies whether the snapshot virtual directory should be accessible at the root of share mount point when NFS is enabled. If not specified, the default is true.- Returns:
- the enableSnapshotVirtualDirectoryAccess value.
-
setSnapshotVirtualDirectoryAccessEnabled
public ShareSetPropertiesOptions setSnapshotVirtualDirectoryAccessEnabled(Boolean snapshotVirtualDirectoryAccessEnabled) Set the enableSnapshotVirtualDirectoryAccess property: The EnableSnapshotVirtualDirectoryAccess property. Optional. Supported in version 2023-08-03 and above. Only applicable for premium file storage accounts. Specifies whether the snapshot virtual directory should be accessible at the root of share mount point when NFS is enabled. If not specified, the default is true.- Parameters:
snapshotVirtualDirectoryAccessEnabled
- the enableSnapshotVirtualDirectoryAccess value to set.- Returns:
- the ShareSetPropertiesOptions object itself.
-
isPaidBurstingEnabled
Get the enablePaidBursting property: Optional. Supported in version 2023-11-03 and above. Only applicable for premium file storage accounts. This property enables paid bursting on premium file storage accounts.- Returns:
- the enablePaidBursting value.
-
setPaidBurstingEnabled
Set the enablePaidBursting property: Optional. Supported in version 2023-11-03 and above. Only applicable for premium file storage accounts. This property enables paid bursting on premium file storage accounts.- Parameters:
enablePaidBursting
- the enablePaidBursting value to set.- Returns:
- the ShareSetPropertiesOptions object itself.
-
getPaidBurstingMaxIops
Get the paidBurstingMaxIops property: Optional. Supported in version 2023-11-03 and above. Only applicable for premium file storage accounts. Default if not specified is the maximum IOPS the file share can support. Current maximum for a file share is 102,400 IOPS.- Returns:
- the paidBurstingMaxIops value.
-
setPaidBurstingMaxIops
Set the paidBurstingMaxIops property: Optional. Supported in version 2023-11-03 and above. Only applicable for premium file storage accounts. Default if not specified is the maximum IOPS the file share can support. Current maximum for a file share is 102,400 IOPS.- Parameters:
paidBurstingMaxIops
- the paidBurstingMaxIops value to set.- Returns:
- the ShareSetPropertiesOptions object itself.
-
getPaidBurstingMaxBandwidthMibps
Get the paidBurstingMaxBandwidthMibps property: Optional. Supported in version 2023-11-03 and above. Only applicable for premium file storage accounts. Default if not specified is the maximum throughput the file share can support. Current maximum for a file share is 10,340 MiB/sec.- Returns:
- the paidBurstingMaxBandwidthMibps value.
-
setPaidBurstingMaxBandwidthMibps
public ShareSetPropertiesOptions setPaidBurstingMaxBandwidthMibps(Long paidBurstingMaxBandwidthMibps) Set the paidBurstingMaxBandwidthMibps property: Optional. Supported in version 2023-11-03 and above. Only applicable for premium file storage accounts. Default if not specified is the maximum throughput the file share can support. Current maximum for a file share is 10,340 MiB/sec.- Parameters:
paidBurstingMaxBandwidthMibps
- the paidBurstingMaxBandwidthMibps value to set.- Returns:
- the ShareSetPropertiesOptions object itself.
-
getProvisionedMaxIops
Get the provisionedMaxIops property: Optional. Only applicable to provisioned v2 storage accounts. The provisioned IOPS of the share. For SSD, minimum IOPS is 3,000 and maximum is 100,000. For HDD, minimum IOPS is 500 and maximum is 50,000.- Returns:
- the provisionedMaxIops value.
-
setProvisionedMaxIops
Set the provisionedMaxIops property: Optional. Only applicable to provisioned v2 storage accounts. The provisioned IOPS of the share. For SSD, minimum IOPS is 3,000 and maximum is 100,000. For HDD, minimum IOPS is 500 and maximum is 50,000.- Parameters:
provisionedMaxIops
- the provisionedIops value to set.- Returns:
- the ShareSetPropertiesOptions object itself.
-
getProvisionedMaxBandwidthMibps
Get the provisionedMaxBandwidthMibps property: Optional. Only applicable to provisioned v2 storage accounts. The provisioned throughput of the share. For SSD, minimum throughput is 125 MiB/sec and maximum is 10,340 MiB/sec. For HDD, minimum throughput is 60 MiB/sec and maximum is 5,125 MiB/sec.- Returns:
- the provisionedMaxBandwidthMibps value.
-
setProvisionedMaxBandwidthMibps
Set the provisionedMaxBandwidthMibps property: Optional. Only applicable to provisioned v2 storage accounts. The provisioned throughput of the share. For SSD, minimum throughput is 125 MiB/sec and maximum is 10,340 MiB/sec. For HDD, minimum throughput is 60 MiB/sec and maximum is 5,125 MiB/sec.- Parameters:
provisionedMaxBandwidthMibps
- the provisionedMaxBandwidthMibps value to set.- Returns:
- the ShareSetPropertiesOptions object itself.
-