ShareCreateOptions interface

Options to configure the create operation.

Extends

Properties

abortSignal

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

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

metadata

A name-value pair to associate with a file storage object.

protocols

Supported in version 2020-02-10 and above. Specifies the enabled protocols on the share. If not specified, the default is SMB.

quota

Specifies the maximum size of the share, in gigabytes.

rootSquash

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

Inherited Properties

tracingOptions

Property Details

abortSignal

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.

abortSignal?: AbortSignalLike

Property Value

AbortSignalLike

accessTier

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

accessTier?: ShareAccessTier

Property Value

metadata

A name-value pair to associate with a file storage object.

metadata?: {[propertyName: string]: string}

Property Value

{[propertyName: string]: string}

protocols

Supported in version 2020-02-10 and above. Specifies the enabled protocols on the share. If not specified, the default is SMB.

protocols?: ShareProtocols

Property Value

quota

Specifies the maximum size of the share, in gigabytes.

quota?: number

Property Value

number

rootSquash

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

rootSquash?: ShareRootSquash

Property Value

Inherited Property Details

tracingOptions

tracingOptions?: OperationTracingOptions

Property Value

OperationTracingOptions

Inherited From CommonOptions.tracingOptions