你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ShareCreateOptions Class

Definition

Optional parameters for creating a Share.

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

Constructors

Name Description
ShareCreateOptions()

Properties

Name Description
AccessTier

Optional. Specifies the access tier of the share.

EnablePaidBursting

Optional. Supported in version 2024-11-04 and above. Only applicable for premium file storage accounts. This property enables paid bursting on premium file storage accounts.

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.

PaidBurstingMaxBandwidthMibps

Optional. Supported in version 2024-11-04 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.

PaidBurstingMaxIops

Optional. Supported in version 2024-11-04 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.

Protocols

The protocols to enable for the share.

ProvisionedMaxBandwidthMibps

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.

ProvisionedMaxIops

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.

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