Package version:

Interface AccountSASSignatureValues

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 generateSASQueryParameters() to obtain a representation of the SAS which can actually be applied to queue urls. Note: that both this class and SASQueryParameters exist because the former is mutable and a logical representation while the latter is immutable and used to generate actual REST requests.

interface AccountSASSignatureValues {
    expiresOn: Date;
    ipRange?: SasIPRange;
    permissions: AccountSASPermissions;
    protocol?: SASProtocol;
    resourceTypes: string;
    services: string;
    startsOn?: any;
    version?: string;
}

Properties

expiresOn: Date

The time after which the SAS will no longer work.

ipRange?: SasIPRange

Optional. IP range allowed.

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

protocol?: SASProtocol

Optional. SAS protocols allowed.

resourceTypes: string

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

services: string

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

startsOn?: any

Optional. When the SAS will take effect.

version?: string

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