ContainerGenerateSasUrlOptions interface
設定 generateSasUrl 作業的選項。
- Extends
屬性
| permissions | 只有在提供標識符時,才為選擇性。 指定要與 SAS 相關聯的許可權清單。 |
繼承的屬性
| cache |
Optional. SAS 的快取控制標頭。 |
| content |
Optional. SAS 的內容處置標頭。 |
| content |
Optional. SAS 的內容編碼標頭。 |
| content |
Optional. SAS 的內容語言標頭。 |
| content |
Optional. SAS 的內容類型標頭。 |
| encryption |
Optional. 傳送具有此SAS URI授權的要求時要使用的加密範圍。 |
| expires |
只有在提供標識符時,才為選擇性。 SAS 將無法再運作的時間。 |
| identifier | Optional. 如果有任何的話,此 SAS 會參考容器上的存取原則名稱。 請參閱 https://learn.microsoft.com/rest/api/storageservices/establishing-a-stored-access-policy |
| ip |
Optional. 此 SAS 中允許的IP範圍。 |
| protocol | Optional. SAS 通訊協定、僅限 HTTPS 或 HTTPSandHTTP |
| starts |
Optional. SAS 何時生效。 |
| version | 此 SAS 的目標服務版本。 如果未指定,它會預設為連結庫的目標版本。 |
屬性詳細資料
permissions
只有在提供標識符時,才為選擇性。 指定要與 SAS 相關聯的許可權清單。
permissions?: ContainerSASPermissions
屬性值
繼承的屬性詳細資料
cacheControl
contentDisposition
Optional. SAS 的內容處置標頭。
contentDisposition?: string
屬性值
string
contentEncoding
Optional. SAS 的內容編碼標頭。
contentEncoding?: string
屬性值
string
contentLanguage
Optional. SAS 的內容語言標頭。
contentLanguage?: string
屬性值
string
contentType
encryptionScope
Optional. 傳送具有此SAS URI授權的要求時要使用的加密範圍。
encryptionScope?: string
屬性值
string
expiresOn
identifier
Optional. 如果有任何的話,此 SAS 會參考容器上的存取原則名稱。
請參閱 https://learn.microsoft.com/rest/api/storageservices/establishing-a-stored-access-policy
identifier?: string
屬性值
string
ipRange
Optional. 此 SAS 中允許的IP範圍。
ipRange?: SasIPRange
屬性值
protocol
Optional. SAS 通訊協定、僅限 HTTPS 或 HTTPSandHTTP
protocol?: SASProtocol
屬性值
startsOn
version
此 SAS 的目標服務版本。 如果未指定,它會預設為連結庫的目標版本。
version?: string
屬性值
string