Package version:

Interface ContainerGenerateSasUrlOptions

Options to configure ContainerClient.generateSasUrl operation.

interface ContainerGenerateSasUrlOptions {
    cacheControl?: string;
    contentDisposition?: string;
    contentEncoding?: string;
    contentLanguage?: string;
    contentType?: string;
    delegatedUserObjectId?: string;
    encryptionScope?: string;
    expiresOn?: any;
    identifier?: string;
    ipRange?: SasIPRange;
    permissions?: ContainerSASPermissions;
    protocol?: SASProtocol;
    startsOn?: any;
    version?: string;
}

Hierarchy (view full)

Properties

cacheControl?: string

Optional. The cache-control header for the SAS.

contentDisposition?: string

Optional. The content-disposition header for the SAS.

contentEncoding?: string

Optional. The content-encoding header for the SAS.

contentLanguage?: string

Optional. The content-language header for the SAS.

contentType?: string

Optional. The content-type header for the SAS.

delegatedUserObjectId?: string

Optional. Beginning in version 2025-07-05, this value specifies the Entra ID of the user would is authorized to use the resulting SAS URL. The resulting SAS URL must be used in conjunction with an Entra ID token that has been issued to the user specified in this value.

encryptionScope?: string

Optional. Encryption scope to use when sending requests authorized with this SAS URI.

expiresOn?: any

Optional only when identifier is provided. The time after which the SAS will no longer work.

identifier?: string

Optional. The name of the access policy on the container this SAS references if any.

ipRange?: SasIPRange

Optional. IP ranges allowed in this SAS.

Optional only when identifier is provided. Specifies the list of permissions to be associated with the SAS.

protocol?: SASProtocol

Optional. SAS protocols, HTTPS only or HTTPSandHTTP

startsOn?: any

Optional. When the SAS will take effect.

version?: string

The version of the service this SAS will target. If not specified, it will default to the version targeted by the library.