你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ShareSetPropertiesOptions Class
- java.
lang. Object - com.
azure. storage. file. share. options. ShareSetPropertiesOptions
- com.
public class ShareSetPropertiesOptions
Extended options that may be passed when setting properties on a share.
Constructor Summary
Constructor | Description | |
---|---|---|
ShareSetPropertiesOptions() |
Method Summary
Methods inherited from java.lang.Object
Constructor Details
ShareSetPropertiesOptions
public ShareSetPropertiesOptions()
Method Details
getAccessTier
getPaidBurstingMaxBandwidthMibps
public Long 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:
getPaidBurstingMaxIops
public Long 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:
getProvisionedMaxBandwidthMibps
public Long 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:
getProvisionedMaxIops
public Long 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:
getQuotaInGb
public Integer getQuotaInGb()
Returns:
getRequestConditions
getRootSquash
public ShareRootSquash getRootSquash()
Returns:
isPaidBurstingEnabled
public Boolean 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:
isSnapshotVirtualDirectoryAccessEnabled
public Boolean 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:
setAccessTier
public ShareSetPropertiesOptions setAccessTier(ShareAccessTier accessTier)
Parameters:
Returns:
setPaidBurstingEnabled
public ShareSetPropertiesOptions setPaidBurstingEnabled(Boolean enablePaidBursting)
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:
Returns:
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:
Returns:
setPaidBurstingMaxIops
public ShareSetPropertiesOptions setPaidBurstingMaxIops(Long paidBurstingMaxIops)
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:
Returns:
setProvisionedMaxBandwidthMibps
public ShareSetPropertiesOptions setProvisionedMaxBandwidthMibps(Long provisionedMaxBandwidthMibps)
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:
Returns:
setProvisionedMaxIops
public ShareSetPropertiesOptions setProvisionedMaxIops(Long provisionedMaxIops)
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:
Returns:
setQuotaInGb
public ShareSetPropertiesOptions setQuotaInGb(Integer quotaInGb)
Parameters:
Returns:
setRequestConditions
public ShareSetPropertiesOptions setRequestConditions(ShareRequestConditions requestConditions)
Parameters:
Returns:
setRootSquash
public ShareSetPropertiesOptions setRootSquash(ShareRootSquash rootSquash)
Parameters:
Returns:
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:
Returns: