AccountSASSignatureValues interface

ONLY AVAILABLE IN NODE.JS RUNTIME. AccountSASSignatureValues is used to generate a Shared Access Signature (SAS) for an Azure Storage account. Once all the values here are set appropriately, call <xref:generateAccountSASQueryParameters> to obtain a representation of the SAS which can actually be applied to blob urls. Note: that both this class and <xref:SASQueryParameters> exist because the former is mutable and a logical representation while the latter is immutable and used to generate actual REST requests.

Properties

expiresOn

The time after which the SAS will no longer work.

ipRange

Optional. IP range allowed.

permissions

Specifies which operations the SAS user may perform. Please refer to <xref:AccountSASPermissions> for help constructing the permissions string.

protocol

Optional. SAS protocols allowed.

resourceTypes

The values that indicate the resource types accessible with this SAS. Please refer to <xref:AccountSASResourceTypes> to construct this value.

services

The values that indicate the services accessible with this SAS. Please refer to <xref:AccountSASServices> to construct this value.

startsOn

Optional. When the SAS will take effect.

version

If not provided, this defaults to the service version targeted by this version of the library.

Property Details

expiresOn

The time after which the SAS will no longer work.

expiresOn: Date

Property Value

Date

ipRange

Optional. IP range allowed.

ipRange?: SasIPRange

Property Value

permissions

Specifies which operations the SAS user may perform. Please refer to <xref:AccountSASPermissions> for help constructing the permissions string.

permissions: AccountSASPermissions

Property Value

protocol

Optional. SAS protocols allowed.

protocol?: SASProtocol

Property Value

resourceTypes

The values that indicate the resource types accessible with this SAS. Please refer to <xref:AccountSASResourceTypes> to construct this value.

resourceTypes: string

Property Value

string

services

The values that indicate the services accessible with this SAS. Please refer to <xref:AccountSASServices> to construct this value.

services: string

Property Value

string

startsOn

Optional. When the SAS will take effect.

startsOn?: Date

Property Value

Date

version

If not provided, this defaults to the service version targeted by this version of the library.

version?: string

Property Value

string