SASQueryParametersOptions interface

建構 SASQueryParameters的選項。

屬性

cacheControl

Blob/檔案服務 SAS 中快取控制標頭的值。

contentDisposition

Blob/檔案服務 SAS 中內容處置標頭的值。

contentEncoding

Blob/檔案服務 SAS 中內容編碼標頭的值。

contentLanguage

Blob/檔案服務 SAS 中內容長度標頭的值。

contentType

Blob/檔案服務 SAS 中內容類型標頭的值。

correlationId

將記錄在儲存體診斷記錄中的 GUID 值,可用來將 SAS 產生與儲存體資源存取相互關聯。 這只適用于使用者委派 SAS。

encryptionScope

選擇性。 傳送具有此 SAS URI 授權的要求時要使用的加密範圍。

expiresOn

只有在提供識別碼時,才為選擇性。 此 SAS 權杖的到期時間。

identifier

選擇性。 只有 BlobSASSignatureValues) 的已簽署識別碼 (。

請參閱https://docs.microsoft.com/en-us/rest/api/storageservices/establishing-a-stored-access-policy

ipRange

選擇性。 此 SAS 中允許的 IP 範圍。

permissions

只有在提供識別碼時,才為選擇性。 如需詳細資訊,請參閱 AccountSASPermissionsBlobSASPermissionsContainerSASPermissions

preauthorizedAgentObjectId

GUID 格式的授權 AAD 物件識別碼。 使用者委派金鑰擁有者授權的使用者 AAD 物件識別碼,以執行 SAS 授與的動作。 Azure 儲存體服務會確保使用者委派金鑰的擁有者具有必要的許可權,再授與存取權,但不會執行此值中所指定使用者的額外許可權檢查。 這不能與 搭配 <xref:signedUnauthorizedUserObjectId> 使用。 這只適用于使用者委派 SAS。

protocol

選擇性。 允許的 HTTP 通訊協定 () 。

resource

選擇性。 指定哪些資源只能透過 SAS (存取 BlobSASSignatureValues) 。

請參閱https://docs.microsoft.com/rest/api/storageservices/create-service-sas#specifying-the-signed-resource-blob-service-only

resourceTypes

選擇性。 只有帳戶 SAS) 才能存取儲存體資源類型 (。 如需詳細資訊,請參閱 AccountSASResourceTypes

services

選擇性。 只有帳戶 SAS) 才能存取儲存體服務 (。 如需詳細資訊,請參閱 AccountSASServices

startsOn

選擇性。 此 SAS 權杖的開始時間。

userDelegationKey

使用者委派金鑰屬性。

屬性詳細資料

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

選擇性。 此 SAS 中允許的 IP 範圍。

ipRange?: SasIPRange

屬性值

permissions

只有在提供識別碼時,才為選擇性。 如需詳細資訊,請參閱 AccountSASPermissionsBlobSASPermissionsContainerSASPermissions

permissions?: string

屬性值

string

preauthorizedAgentObjectId

GUID 格式的授權 AAD 物件識別碼。 使用者委派金鑰擁有者授權的使用者 AAD 物件識別碼,以執行 SAS 授與的動作。 Azure 儲存體服務會確保使用者委派金鑰的擁有者具有必要的許可權,再授與存取權,但不會執行此值中所指定使用者的額外許可權檢查。 這不能與 搭配 <xref:signedUnauthorizedUserObjectId> 使用。 這只適用于使用者委派 SAS。

preauthorizedAgentObjectId?: string

屬性值

string

protocol

選擇性。 允許的 HTTP 通訊協定 () 。

protocol?: SASProtocol

屬性值

resource

選擇性。 指定哪些資源只能透過 SAS (存取 BlobSASSignatureValues) 。

請參閱https://docs.microsoft.com/rest/api/storageservices/create-service-sas#specifying-the-signed-resource-blob-service-only

resource?: string

屬性值

string

resourceTypes

選擇性。 只有帳戶 SAS) 才能存取儲存體資源類型 (。 如需詳細資訊,請參閱 AccountSASResourceTypes

resourceTypes?: string

屬性值

string

services

選擇性。 只有帳戶 SAS) 才能存取儲存體服務 (。 如需詳細資訊,請參閱 AccountSASServices

services?: string

屬性值

string

startsOn

選擇性。 此 SAS 權杖的開始時間。

startsOn?: Date

屬性值

Date

userDelegationKey

使用者委派金鑰屬性。

userDelegationKey?: UserDelegationKey

屬性值