Package version:

Interface ShareSetPropertiesOptions

Options to configure the ShareClient.setProperties operation.

interface ShareSetPropertiesOptions {
    abortSignal?: any;
    accessTier?: ShareAccessTier;
    enableSnapshotVirtualDirectoryAccess?: boolean;
    leaseAccessConditions?: LeaseAccessConditions;
    paidBurstingEnabled?: boolean;
    paidBurstingMaxBandwidthMibps?: number;
    paidBurstingMaxIops?: number;
    quotaInGB?: number;
    rootSquash?: ShareRootSquash;
    shareProvisionedBandwidthMibps?: number;
    shareProvisionedIops?: number;
    tracingOptions?: any;
}

Hierarchy (view full)

Properties

abortSignal?: any

An implementation of the AbortSignalLike interface to signal the request to cancel the operation. For example, use the @azure/abort-controller to create an AbortSignal.

accessTier?: ShareAccessTier

Specifies the access tier of the share. Possible values include: 'TransactionOptimized', 'Hot', 'Cool'.

enableSnapshotVirtualDirectoryAccess?: boolean

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.

leaseAccessConditions?: LeaseAccessConditions

If specified, the operation only succeeds if the resource's lease is active and matches this ID.

paidBurstingEnabled?: boolean

Optional. Boolean. Default if not specified is false. This property enables paid bursting.

paidBurstingMaxBandwidthMibps?: number

Optional. Integer. 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?: number

Optional. Integer. Default if not specified is the maximum IOPS the file share can support. Current maximum for a file share is 102,400 IOPS.

quotaInGB?: number

Specifies the maximum size of the share, in gigabytes.

rootSquash?: ShareRootSquash

Root squash to set on the share. Only valid for NFS shares. Possible values include: 'NoRootSquash', 'RootSquash', 'AllSquash'.

shareProvisionedBandwidthMibps?: number

Optional. Supported in version 2025-01-05 and later. Only allowed for provisioned v2 file shares. Specifies the provisioned bandwidth of the share, in mebibytes per second (MiBps). If this is not specified, the provisioned bandwidth is set to value calculated based on recommendation formula.

shareProvisionedIops?: number

Optional. Supported in version 2025-01-05 and later. Only allowed for provisioned v2 file shares. Specifies the provisioned number of input/output operations per second (IOPS) of the share. If this is not specified, the provisioned IOPS is set to value calculated based on recommendation formula.

tracingOptions?: any