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 TypeMethodDescriptionGet the enableSnapshotVirtualDirectoryAccess property: The EnableSnapshotVirtualDirectoryAccess property.setAccessTier(ShareAccessTier accessTier) setQuotaInGb(Integer quotaInGb) setRequestConditions(ShareRequestConditions requestConditions) setRootSquash(ShareRootSquash rootSquash) setSnapshotVirtualDirectoryAccessEnabled(Boolean snapshotVirtualDirectoryAccessEnabled) Set the enableSnapshotVirtualDirectoryAccess property: The EnableSnapshotVirtualDirectoryAccess property.
-
Constructor Details
-
ShareSetPropertiesOptions
public ShareSetPropertiesOptions()
-
-
Method Details
-
getAccessTier
- Returns:
ShareAccessTier
-
getQuotaInGb
- Returns:
- Size in GB to limit the share's growth.
-
setQuotaInGb
- Parameters:
quotaInGb- Size in GB to limit the share's growth.- Returns:
- The updated options.
-
getRootSquash
- Returns:
- The root squash to set for the share. Only valid for NFS.
-
getRequestConditions
- 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.
-