SASQueryParametersOptions interface
建構SASQueryParameters 的選項。
屬性
cache |
Blob/檔案服務 SAS 中快取控制標頭的值。 |
content |
Blob/檔案服務 SAS 中內容處置標頭的值。 |
content |
Blob/檔案服務 SAS 中內容編碼標頭的值。 |
content |
Blob/檔案服務 SAS 中內容長度標頭的值。 |
content |
Blob/檔案服務 SAS 中內容類型標頭的值。 |
correlation |
將記錄在記憶體診斷記錄中的 GUID 值,可用來將 SAS 產生與記憶體資源存取相互關聯。 這隻適用於使用者委派SAS。 |
encryption |
自選。 傳送具有此SAS URI授權的要求時要使用的加密範圍。 |
expires |
只有在提供標識符時,才為選擇性。 此 SAS 令牌的到期時間。 |
identifier | 自選。 已簽署的標識碼(僅適用於 BlobSASSignatureValues)。 請參閱 https://docs.microsoft.com/en-us/rest/api/storageservices/establishing-a-stored-access-policy |
ip |
自選。 此 SAS 中允許的IP範圍。 |
permissions | 只有在提供標識符時,才為選擇性。 如需詳細資訊,請參閱 AccountSASPermissions、BlobSASPermissions或 ContainerSASPermissions。 |
preauthorized |
GUID 格式的授權 AAD 物件識別碼。 使用者委派密鑰擁有者授權的使用者 AAD 物件識別碼,以執行 SAS 所授與的動作。 Azure 記憶體服務會確保使用者委派密鑰的擁有者在授與存取權之前具有必要許可權,但不會執行此值中所指定使用者的額外許可權檢查。 這無法與 <xref:signedUnauthorizedUserObjectId>搭配使用。 這隻適用於使用者委派SAS。 |
protocol | 自選。 允許的 HTTP 通訊協定(s)。 |
resource | 自選。 指定哪些資源可透過 SAS 存取(僅適用於 BlobSASSignatureValues)。 |
resource |
自選。 要存取的記憶體資源類型(僅適用於帳戶 SAS)。 如需詳細資訊,請參閱 AccountSASResourceTypes。 |
services | 自選。 要存取的記憶體服務(僅適用於帳戶 SAS)。 如需詳細資訊,請參閱 AccountSASServices。 |
starts |
自選。 此 SAS 令牌的開始時間。 |
user |
使用者委派索引鍵屬性。 |
屬性詳細資料
cacheControl
Blob/檔案服務 SAS 中快取控制標頭的值。
cacheControl?: string
屬性值
string
contentDisposition
Blob/檔案服務 SAS 中內容處置標頭的值。
contentDisposition?: string
屬性值
string
contentEncoding
Blob/檔案服務 SAS 中內容編碼標頭的值。
contentEncoding?: string
屬性值
string
contentLanguage
Blob/檔案服務 SAS 中內容長度標頭的值。
contentLanguage?: string
屬性值
string
contentType
Blob/檔案服務 SAS 中內容類型標頭的值。
contentType?: string
屬性值
string
correlationId
將記錄在記憶體診斷記錄中的 GUID 值,可用來將 SAS 產生與記憶體資源存取相互關聯。 這隻適用於使用者委派SAS。
correlationId?: string
屬性值
string
encryptionScope
自選。 傳送具有此SAS URI授權的要求時要使用的加密範圍。
encryptionScope?: string
屬性值
string
expiresOn
只有在提供標識符時,才為選擇性。 此 SAS 令牌的到期時間。
expiresOn?: Date
屬性值
Date
identifier
自選。 已簽署的標識碼(僅適用於 BlobSASSignatureValues)。
請參閱 https://docs.microsoft.com/en-us/rest/api/storageservices/establishing-a-stored-access-policy
identifier?: string
屬性值
string
ipRange
permissions
只有在提供標識符時,才為選擇性。 如需詳細資訊,請參閱 AccountSASPermissions、BlobSASPermissions或 ContainerSASPermissions。
permissions?: string
屬性值
string
preauthorizedAgentObjectId
GUID 格式的授權 AAD 物件識別碼。 使用者委派密鑰擁有者授權的使用者 AAD 物件識別碼,以執行 SAS 所授與的動作。 Azure 記憶體服務會確保使用者委派密鑰的擁有者在授與存取權之前具有必要許可權,但不會執行此值中所指定使用者的額外許可權檢查。 這無法與 <xref:signedUnauthorizedUserObjectId>搭配使用。 這隻適用於使用者委派SAS。
preauthorizedAgentObjectId?: string
屬性值
string
protocol
resource
resourceTypes
services
startsOn
自選。 此 SAS 令牌的開始時間。
startsOn?: Date
屬性值
Date