CommonGenerateSasUrlOptions interface
Common options of the ShareGenerateSasUrlOptions and FileGenerateSasUrlOptions.
Properties
cache |
Optional. The cache-control header for the SAS. |
content |
Optional. The content-disposition header for the SAS. |
content |
Optional. The content-encoding header for the SAS. |
content |
Optional. The content-language header for the SAS. |
content |
Optional. The content-type header for the SAS. |
expires |
Optional only when identifier is provided. The time after which the SAS will no longer work. |
identifier | Optional. The name of the access policy on the share this SAS references if any. See https://docs.microsoft.com/en-us/rest/api/storageservices/establishing-a-stored-access-policy |
ip |
Optional. IP ranges allowed in this SAS. |
protocol | Optional. SAS protocols, HTTPS only or HTTPSandHTTP |
starts |
Optional. When the SAS will take effect. |
version | The version of the service this SAS will target. If not specified, it will default to the version targeted by the library. |
Property Details
cacheControl
Optional. The cache-control header for the SAS.
cacheControl?: string
Property Value
string
contentDisposition
Optional. The content-disposition header for the SAS.
contentDisposition?: string
Property Value
string
contentEncoding
Optional. The content-encoding header for the SAS.
contentEncoding?: string
Property Value
string
contentLanguage
Optional. The content-language header for the SAS.
contentLanguage?: string
Property Value
string
contentType
Optional. The content-type header for the SAS.
contentType?: string
Property Value
string
expiresOn
Optional only when identifier is provided. The time after which the SAS will no longer work.
expiresOn?: Date
Property Value
Date
identifier
Optional. The name of the access policy on the share this SAS references if any.
See https://docs.microsoft.com/en-us/rest/api/storageservices/establishing-a-stored-access-policy
identifier?: string
Property Value
string
ipRange
protocol
Optional. SAS protocols, HTTPS only or HTTPSandHTTP
protocol?: SASProtocol
Property Value
startsOn
Optional. When the SAS will take effect.
startsOn?: Date
Property Value
Date
version
The version of the service this SAS will target. If not specified, it will default to the version targeted by the library.
version?: string
Property Value
string