共用方式為


ShareCreateOptions Class

Definition

Optional parameters for creating a Share.

public class ShareCreateOptions
type ShareCreateOptions = class
Public Class ShareCreateOptions
Inheritance
ShareCreateOptions

Constructors

ShareCreateOptions()

Properties

AccessTier

Optional. Specifies the access tier of the share.

EnableSnapshotVirtualDirectoryAccess

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.

Metadata

Optional custom metadata to set for this share.

Protocols

The protocols to enable for the share.

QuotaInGB

Optional. Maximum size of the share in gigabytes. If unspecified, use the service's default value.

RootSquash

The root squash to set for the share. Only valid for NFS shares.

Applies to