使用 Microsoft Entra 識別碼進行授權

Azure 記憶體提供與 Microsoft Entra ID 的整合,以身分識別為基礎的 Blob、檔案、佇列和數據表服務要求授權。 使用 Microsoft Entra 識別符,您可以使用角色型訪問控制 (RBAC) 將 Blob、檔案、佇列和數據表資源的存取權授與使用者、群組或應用程式。 您可以授與範圍設定為個別容器、共用、佇列或數據表層級的許可權。

若要深入瞭解 Azure 記憶體中的Microsoft Entra ID 整合,請參閱 使用 Microsoft Entra ID授權存取 Azure Blob 和佇列。

如需在應用程式中使用 Microsoft Entra ID 的優點詳細資訊,請參閱 與 Microsoft 身分識別平臺整合

重要

為了獲得最佳安全性,Microsoft建議盡可能使用具有受控識別的 Microsoft Entra ID 來授權對 Blob、佇列和數據表數據的要求。 具有Microsoft Entra標識符和受控識別的授權,提供優於共用密鑰授權的安全性和使用便利性。 若要深入瞭解受控識別,請參閱 什麼是 Azure 資源的受控識別

針對裝載於 Azure 外部的資源,例如內部部署應用程式,您可以透過 Azure Arc 使用受控識別。例如,在已啟用 Azure Arc 的伺服器上執行的應用程式可以使用受控識別來連線到 Azure 服務。 若要深入瞭解,請參閱 使用已啟用 Azure Arc 的伺服器對 Azure 資源進行驗證

針對使用共用存取簽章 (SAS) 的案例,Microsoft建議使用使用者委派 SAS。 使用者委派 SAS 會使用 Microsoft Entra 認證來保護,而不是帳戶密鑰。 若要瞭解共用存取簽章,請參閱 建立使用者委派 SAS

使用 OAuth 存取令牌進行驗證

Azure 記憶體會接受與包含記憶體帳戶之訂用帳戶相關聯的Microsoft Entra 租使用者 OAuth 2.0 存取令牌。 Azure 記憶體接受下列專案的存取令牌:

  • 使用者和群組
  • 服務主體
  • Azure 資源的受控識別
  • 使用使用者委派的許可權的應用程式

Azure 記憶體會公開名為 user_impersonation 的單一委派範圍,允許應用程式採取用戶允許的任何動作。

若要要求 Azure 記憶體的令牌,請指定資源識別碼的值 https://storage.azure.com/。 如需資源識別碼的詳細資訊,請參閱 Microsoft 身分識別平臺範圍、許可權、& 同意

如需從使用者和服務主體Microsoft Entra ID 要求存取令牌的詳細資訊,請參閱 驗證流程和應用程式案例

如需針對使用受控識別設定之資源要求存取令牌的詳細資訊,請參閱 如何在 Azure VM 上使用 Azure 資源的受控識別,以取得存取令牌

使用 OAuth 令牌呼叫記憶體作業

若要使用 OAuth 存取令牌呼叫 Blob、檔案、佇列和數據表服務作業,請使用 Bearer 配置,在 授權 標頭中傳遞存取令牌, 和 指定 2017-11-09 的服務版本(2022-11-02 適用於 檔案 資源和 Directory 資源或 2024-11-04,以用於 FileService 資源及 FileShare 資源) 或更新版本, 如下列範例所示:

Request:
GET /container/file.txt
x-ms-version: 2017-11-09
Authorization: Bearer eyJ0eXAiO...V09ccgQ
User-Agent: PostmanRuntime/7.6.0
Accept: */*
Host: sampleoautheast2.blob.core.windows.net
accept-encoding: gzip, deflate

Response:
HTTP/1.1 200
status: 200
Content-Length: 28
Content-Type: text/plain
Content-MD5: dxG7IgOBzApXPcGHxGg5SA==
Last-Modified: Wed, 30 Jan 2019 07:21:32 GMT
Accept-Ranges: bytes
ETag: "0x8D686838F9E8BA7"
Server: Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0
x-ms-request-id: 09f31964-e01e-00a3-8066-d4e6c2000000
x-ms-version: 2017-11-09
x-ms-creation-time: Wed, 29 Aug 2018 04:22:47 GMT
x-ms-lease-status: unlocked
x-ms-lease-state: available
x-ms-blob-type: BlockBlob
x-ms-server-encrypted: true
Date: Wed, 06 Mar 2019 21:50:50 GMT
Welcome to Azure Storage!!

持有人挑戰

持有人挑戰是 OAuth 通訊協定 RFC 6750 的一部分,並用於授權單位探索。 對於對 Blob 服務的匿名要求,或針對具有無效 OAuth 持有人令牌的要求,伺服器會傳回具有識別提供者和資源資訊的狀態代碼 401(未經授權)。 請參閱 連結,瞭解如何在驗證期間使用這些值搭配 Microsoft Entra ID。

Azure 記憶體 Blob 和佇列服務會針對 2019-12-12 版和更新版本傳回持有人挑戰。 Azure 記憶體數據表服務會針對 2020-12-06 版和更新版本傳回持有人挑戰。 Azure Data Lake Storage Gen2 會針對 2017-11-09 版和更新版本傳回持有人挑戰。 Azure 檔案服務會從 2022-11-02 版和更新版本傳回持有人挑戰。

匿名讀取要求的回應

當 Blob 記憶體收到匿名要求時,如果下列所有條件都成立,該要求將會成功:

  • 記憶體帳戶允許匿名公用存取。
  • 容器已設定為允許匿名公用存取。
  • 要求是用於讀取存取。

如果上述任何條件都不是 true,則要求將會失敗。 失敗的回應碼取決於匿名要求是否使用支援持有人挑戰的服務版本提出。 服務版本 2019-12-12 和更新版本支援持有人挑戰:

  • 如果使用支援持有人挑戰的服務版本提出匿名要求,則服務會傳回錯誤碼 401 (未經授權)。
  • 如果使用不支援持有人挑戰的服務版本提出匿名要求,且不允許記憶體帳戶的匿名公用存取,則服務會傳回錯誤碼 409 (衝突)。
  • 如果使用不支援持有人挑戰的服務版本提出匿名要求,且記憶體帳戶允許匿名公用存取,則服務會傳回錯誤碼 404 (找不到)。

如需持有人挑戰的詳細資訊,請參閱 持有人挑戰

對持有人挑戰的範例回應

當用戶端要求不包含匿名下載 Blob 要求中的持有人令牌時,以下是持有人挑戰回應的範例:

Request:
GET /container/file.txt
x-ms-version: 2019-12-12
Host: sampleoautheast2.blob.core.windows.net

Response:
HTTP/1.1 401 Unauthorized
WWW-Authenticate: Bearer authorization_uri=https://login.microsoftonline.com/<tenant_id>/oauth2/authorize resource_id=https://storage.azure.com

<?xml version="1.0" encoding="utf-8"?>
<Error>
    <Code>NoAuthenticationInformation</Code>
    <Message>Server failed to authenticate the request. Please refer to the information in the www-authenticate header.
RequestId:ec4f02d7-1003-0006-21f9-c55bc8000000
Time:2020-01-08T08:01:46.2063459Z</Message>
</Error>
參數 描述
authorization_uri 授權伺服器的 URI(實體端點)。 此值也會作為查閱索引鍵,以從探索端點取得伺服器的詳細資訊。 用戶端必須驗證授權伺服器是否受信任。 當資源受到Microsoft Entra標識符保護時,就足以確認 URL 開頭為 https://login.microsoftonline.com 或其他Microsoft Entra ID 支援的主機名。 租使用者特定資源應該一律傳回租使用者特定的授權 URI。
resource_id 傳回資源的唯一標識碼。 當用戶端應用程式要求資源的存取令牌時,用戶端應用程式可以使用此標識碼作為資源參數的值。 用戶端應用程式必須確認此值,否則惡意服務可能會引發特權提升攻擊。 防止攻擊的建議策略是確認resource_id符合所存取 Web API URL 的基底。 Azure 記憶體資源識別碼 https://storage.azure.com

使用 RBAC 管理訪問許可權

Microsoft Entra ID 會處理透過 RBAC 存取受保護資源的授權。 使用 RBAC,您可以將角色指派給使用者、群組或服務主體。 每個角色都包含一組資源的許可權。 將角色指派給使用者、群組或服務主體之後,他們就能夠存取該資源。 您可以使用 Azure 入口網站、Azure 命令行工具和 Azure 管理 API 來指派訪問許可權。 如需 RBAC 的詳細資訊,請參閱 開始使用 Role-Based 存取控制

針對 Azure 記憶體,您可以授與記憶體帳戶中容器或佇列中數據的存取權。 Azure 記憶體提供這些內建的 RBAC 角色,以搭配 Microsoft Entra 標識碼使用:

如需如何為 Azure 記憶體定義內建角色的詳細資訊,請參閱 瞭解 Azure 資源的角色定義

您也可以定義自定義角色,以搭配 Blob 記憶體和 Azure 佇列使用。 如需詳細資訊,請參閱 為 Azure Role-Based 訪問控制建立自定義角色。

呼叫數據作業的許可權

下表描述Microsoft Entra 使用者、群組、受控識別或服務主體呼叫特定 Azure 記憶體作業所需的許可權。 若要讓用戶端呼叫特定作業,請確定用戶端指派的 RBAC 角色為該作業提供足夠的許可權。

Blob 服務作業的許可權

Blob 服務作業 RBAC 動作
列出容器 Microsoft.Storage/storageAccounts/blobServices/containers/read(範圍設定為記憶體帳戶或更新版本)
設定 Blob 服務屬性 Microsoft.Storage/storageAccounts/blobServices/write
取得 Blob 服務屬性 Microsoft.Storage/storageAccounts/blobServices/read
預檢 Blob 要求 匿名
取得 Blob 服務統計數據 Microsoft.Storage/storageAccounts/blobServices/read
取得帳戶資訊 不支援
取得使用者委派密鑰 Microsoft.Storage/storageAccounts/blobServices/generateUserDelegationKey/action
建立容器 Microsoft.Storage/storageAccounts/blobServices/containers/write
取得容器屬性 Microsoft.Storage/storageAccounts/blobServices/containers/read
取得容器元數據 Microsoft.Storage/storageAccounts/blobServices/containers/read
設定容器元數據 Microsoft.Storage/storageAccounts/blobServices/containers/write
取得容器 ACL 不支援
設定容器 ACL 不支援
租用容器 Microsoft.Storage/storageAccounts/blobServices/containers/write
刪除容器 Microsoft.Storage/storageAccounts/blobServices/containers/delete
還原容器 Microsoft.Storage/storageAccounts/blobServices/containers/write
列出 Blob Microsoft.Storage/storageAccounts/blobServices/containers/blobs/read
依容器 中的標籤尋找 Blob Microsoft.Storage/storageAccounts/blobServices/containers/blobs/filter/action
放置 Blob 建立或取代:Microsoft.Storage/storageAccounts/blobServices/containers/blobs/write
若要建立新的 Blob:Microsoft.Storage/storageAccounts/blobServices/containers/blobs/add/action
從 URL 放置 Blob 建立或取代:Microsoft.Storage/storageAccounts/blobServices/containers/blobs/write
若要建立新的 Blob:Microsoft.Storage/storageAccounts/blobServices/containers/blobs/add/action
取得 Blob Microsoft.Storage/storageAccounts/blobServices/containers/blobs/read
取得 Blob 屬性 Microsoft.Storage/storageAccounts/blobServices/containers/blobs/read
設定 Blob 屬性 Microsoft.Storage/storageAccounts/blobServices/containers/blobs/write
取得 Blob 元數據 Microsoft.Storage/storageAccounts/blobServices/containers/blobs/read
設定 Blob 元數據 Microsoft.Storage/storageAccounts/blobServices/containers/blobs/write
取得 Blob 標記 Microsoft.Storage/storageAccounts/blobServices/containers/blobs/tags/read
設定 Blob 標記 Microsoft.Storage/storageAccounts/blobServices/containers/blobs/tags/write
依標籤 尋找 Blob Microsoft.Storage/storageAccounts/blobServices/containers/blobs/filter/action
租用 Blob Microsoft.Storage/storageAccounts/blobServices/containers/blobs/write
快照集 Blob Microsoft.Storage/storageAccounts/blobServices/containers/blobs/write 或
Microsoft.Storage/storageAccounts/blobServices/containers/blobs/add/action
複製 Blob 目的地 Blob:Microsoft.Storage/storageAccounts/blobServices/containers/blobs/write 或 Microsoft.Storage/storageAccounts/blobServices/containers/blobs/add/action(將新的 Blob 寫入目的地時)
針對相同記憶體帳戶中的來源 Blob:Microsoft.Storage/storageAccounts/blobServices/containers/blobs/read
針對不同記憶體帳戶中的來源 Blob:以匿名方式使用,或包含有效的 SAS 令牌
從URL複製 Blob 目的地 Blob:Microsoft.Storage/storageAccounts/blobServices/containers/blobs/write 或 Microsoft.Storage/storageAccounts/blobServices/containers/blobs/add/action(將新的 Blob 寫入目的地時)
針對相同記憶體帳戶中的來源 Blob:Microsoft.Storage/storageAccounts/blobServices/containers/blobs/read
針對不同記憶體帳戶中的來源 Blob:以匿名方式使用,或包含有效的 SAS 令牌
中止複製 Blob Microsoft.Storage/storageAccounts/blobServices/containers/blobs/write
刪除 Blob Microsoft.Storage/storageAccounts/blobServices/containers/blobs/delete
取消刪除 Blob Microsoft.Storage/storageAccounts/blobServices/containers/write
設定 Blob 層 Microsoft.Storage/storageAccounts/blobServices/containers/blobs/write
Blob Batch 父要求:Microsoft.Storage/storageAccounts/blobServices/containers/write
子要求:請參閱該要求類型的許可權。
設定不變性原則 Microsoft.Storage/storageAccounts/blobServices/containers/blobs/immutableStorage/runAsSuperUser/action
刪除不變性原則 Microsoft.Storage/storageAccounts/blobServices/containers/blobs/immutableStorage/runAsSuperUser/action
設定 Blob 法務保留 Microsoft.Storage/storageAccounts/blobServices/containers/write
放置區塊 Microsoft.Storage/storageAccounts/blobServices/containers/blobs/write
從 URL 放置區塊 Microsoft.Storage/storageAccounts/blobServices/containers/blobs/write
放置區塊清單 Microsoft.Storage/storageAccounts/blobServices/containers/blobs/write
取得區塊清單 Microsoft.Storage/storageAccounts/blobServices/containers/blobs/read
查詢 Blob 內容 Microsoft.Storage/storageAccounts/blobServices/containers/blobs/read
放置頁面 Microsoft.Storage/storageAccounts/blobServices/containers/blobs/write
從 URL 放置頁面 Microsoft.Storage/storageAccounts/blobServices/containers/blobs/write
取得頁面範圍 Microsoft.Storage/storageAccounts/blobServices/containers/blobs/read
增量複製 Blob 目的地 Blob:Microsoft.Storage/storageAccounts/blobServices/containers/blobs/write
針對來源 Blob:Microsoft.Storage/storageAccounts/blobServices/containers/blobs/read
針對新的 Blob:Microsoft.Storage/storageAccounts/blobServices/containers/blobs/add/action
附加區塊 Microsoft.Storage/storageAccounts/blobServices/containers/blobs/write 或 Microsoft.Storage/storageAccounts/blobServices/containers/blobs/add/action
從 URL 附加區塊 Microsoft.Storage/storageAccounts/blobServices/containers/blobs/write 或 Microsoft.Storage/storageAccounts/blobServices/containers/blobs/add/action
設定 Blob 到期 Microsoft.Storage/storageAccounts/blobServices/containers/blobs/write

佇列服務作業的許可權

佇列服務作業 RBAC 動作
列出佇列 Microsoft.Storage/storageAccounts/queueServices/queues/read(範圍設定為記憶體帳戶或更新版本)
設定佇列服務屬性 Microsoft.Storage/storageAccounts/queueServices/read
取得佇列服務屬性 Microsoft.Storage/storageAccounts/queueServices/read
預檢佇列要求 匿名
取得佇列服務統計數據 Microsoft.Storage/storageAccounts/queueServices/read
建立佇列 Microsoft.Storage/storageAccounts/queueServices/queues/write
刪除佇列 Microsoft.Storage/storageAccounts/queueServices/queues/delete
取得佇列元數據 Microsoft.Storage/storageAccounts/queueServices/queues/read
設定佇列元數據 Microsoft.Storage/storageAccounts/queueServices/queues/write
取得佇列 ACL 無法透過 OAuth 使用
設定佇列 ACL 無法透過 OAuth 使用
放置訊息 Microsoft.Storage/storageAccounts/queueServices/queues/messages/add/action 或 Microsoft.Storage/storageAccounts/queueServices/queues/messages/write
取得訊息 Microsoft.Storage/storageAccounts/queueServices/queues/messages/process/action 或 (Microsoft.Storage/storageAccounts/queueServices/queues/messages/delete and Microsoft.Storage/storageAccounts/queueServices/queueServices/queues/messages/read)
查看訊息 Microsoft.Storage/storageAccounts/queueServices/queues/messages/read
刪除訊息 Microsoft.Storage/storageAccounts/queueServices/queues/messages/process/action 或 Microsoft.Storage/storageAccounts/queueServices/queues/messages/delete
清除訊息 Microsoft.Storage/storageAccounts/queueServices/queues/messages/delete
更新訊息 Microsoft.Storage/storageAccounts/queueServices/queues/messages/write

數據表服務作業的許可權

數據表服務作業 RBAC 動作
設定數據表服務屬性 Microsoft.Storage/storageAccounts/tableServices/write
取得數據表服務屬性 Microsoft.Storage/storageAccounts/tableServices/read
預檢數據表要求 匿名
Get Table Service Stats Microsoft.Storage/storageAccounts/tableServices/read
執行實體群組交易 子作業會個別授權
查詢數據表 Microsoft.Storage/storageAccounts/tableServices/tables/read(範圍設定為記憶體帳戶或更新版本)
建立數據表 Microsoft.Storage/storageAccounts/tableServices/tables/write
刪除資料表 Microsoft.Storage/storageAccounts/tableServices/tables/delete
取得數據表 ACL 無法透過 OAuth 使用
設定數據表 ACL 無法透過 OAuth 使用
查詢實體 Microsoft.Storage/storageAccounts/tableServices/tables/entities/read
插入實體 Microsoft.Storage/storageAccounts/tableServices/tables/entities/write 或 Microsoft.Storage/storageAccounts/tableServices/tables/entities/add/action
插入或合併實體 Microsoft.Storage/storageAccounts/tableServices/tables/entities/write 或 (Microsoft.Storage/storageAccounts/tableServices/tables/entities/add/action 和 Microsoft.Storage/storageAccounts/tableServices/tables/entities/update/action)
插入或取代實體 Microsoft.Storage/storageAccounts/tableServices/tables/entities/write 或 (Microsoft.Storage/storageAccounts/tableServices/tables/entities/add/action 和 Microsoft.Storage/storageAccounts/tableServices/tables/entities/update/action)
更新實體 Microsoft.Storage/storageAccounts/tableServices/tables/entities/write 或 Microsoft.Storage/storageAccounts/tableServices/tables/entities/update/action
合併實體 Microsoft.Storage/storageAccounts/tableServices/tables/entities/write 或 Microsoft.Storage/storageAccounts/tableServices/tables/entities/update/action
刪除實體 Microsoft.Storage/storageAccounts/tableServices/tables/entities/delete

檔案服務作業的許可權

檔案服務作業 RBAC 動作
取得檔案服務屬性 Microsoft.Storage/storageAccounts/fileServices/read
設定檔案服務屬性 Microsoft.Storage/storageAccounts/fileServices/write
預檢檔案要求 匿名
清單共用 Microsoft.Storage/storageAccounts/fileServices/shares/read
建立共用 Microsoft.Storage/storageAccounts/fileServices/shares/write
快照集共用 Microsoft.Storage/storageAccounts/fileServices/shares/write
取得共用屬性 Microsoft.Storage/storageAccounts/fileServices/shares/read
設定共用屬性 Microsoft.Storage/storageAccounts/fileServices/shares/write
取得共用元數據 Microsoft.Storage/storageAccounts/fileServices/shares/read
設定共用元數據 Microsoft.Storage/storageAccounts/fileServices/shares/write
刪除共用 Microsoft.Storage/storageAccounts/fileServices/shares/delete
還原共用 Microsoft.Storage/storageAccounts/fileServices/shares/restore/action
取得共用 ACL Microsoft.Storage/storageAccounts/fileServices/shares/read
設定共用 ACL Microsoft.Storage/storageAccounts/fileServices/shares/write
Get Share Stats Microsoft.Storage/storageAccounts/fileServices/shares/read
租用共用 Microsoft.Storage/storageAccounts/fileServices/shares/lease/action
建立許可權 Microsoft.Storage/storageAccounts/fileServices/fileShares/files/modifypermissions/action 和 Microsoft.Storage/storageAccounts/fileServices/writeFileBackupSemantics/action
取得許可權 Microsoft.Storage/storageAccounts/fileServices/fileShares/files/read 和 Microsoft.Storage/storageAccounts/fileServices/readFileBackupSemantics/action
清單目錄和檔案 Microsoft.Storage/storageAccounts/fileServices/fileShares/files/read 和 Microsoft.Storage/storageAccounts/fileServices/readFileBackupSemantics/action
建立目錄 Microsoft.Storage/storageAccounts/fileServices/fileShares/files/write 和 Microsoft.Storage/storageAccounts/fileServices/writeFileBackupSemantics/action
取得目錄屬性 Microsoft.Storage/storageAccounts/fileServices/fileShares/files/read 和 Microsoft.Storage/storageAccounts/fileServices/readFileBackupSemantics/action
設定目錄屬性 Microsoft.Storage/storageAccounts/fileServices/fileShares/files/write 和 Microsoft.Storage/storageAccounts/fileServices/writeFileBackupSemantics/action,以及Microsoft.Storage/storageAccounts/fileServices/fileShares/files/modifypermissions/action,如果 x-ms-file-permission 或 x-ms-file-permission-key 包含在 HTTP 要求標頭中。
刪除目錄 Microsoft.Storage/storageAccounts/fileServices/fileShares/files/write 和 Microsoft.Storage/storageAccounts/fileServices/writeFileBackupSemantics/action
取得目錄元數據 Microsoft.Storage/storageAccounts/fileServices/fileShares/files/read 和 Microsoft.Storage/storageAccounts/fileServices/readFileBackupSemantics/action
設定目錄元數據 Microsoft.Storage/storageAccounts/fileServices/fileShares/files/write 和 Microsoft.Storage/storageAccounts/fileServices/writeFileBackupSemantics/action
重新命名目錄 Microsoft.Storage/storageAccounts/fileServices/fileShares/files/write 和 Microsoft.Storage/storageAccounts/fileServices/writeFileBackupSemantics/action
建立檔案 Microsoft.Storage/storageAccounts/fileServices/fileShares/files/write 和 Microsoft.Storage/storageAccounts/fileServices/writeFileBackupSemantics/action
取得檔案 Microsoft.Storage/storageAccounts/fileServices/fileShares/files/read 和 Microsoft.Storage/storageAccounts/fileServices/readFileBackupSemantics/action
取得檔案屬性 Microsoft.Storage/storageAccounts/fileServices/fileShares/files/read 和 Microsoft.Storage/storageAccounts/fileServices/readFileBackupSemantics/action
設定檔案屬性 Microsoft.Storage/storageAccounts/fileServices/fileShares/files/write 和 Microsoft.Storage/storageAccounts/fileServices/writeFileBackupSemantics/action,以及Microsoft.Storage/storageAccounts/fileServices/fileShares/files/modifypermissions/action,如果 x-ms-file-permission 或 x-ms-file-permission-key 包含在 HTTP 要求標頭中。
放置範圍 Microsoft.Storage/storageAccounts/fileServices/fileShares/files/write 和 Microsoft.Storage/storageAccounts/fileServices/writeFileBackupSemantics/action
從 URL 放置範圍 Microsoft.Storage/storageAccounts/fileServices/fileShares/files/write 和 Microsoft.Storage/storageAccounts/fileServices/writeFileBackupSemantics/action
清單範圍 Microsoft.Storage/storageAccounts/fileServices/fileShares/files/read 和 Microsoft.Storage/storageAccounts/fileServices/readFileBackupSemantics/action
取得檔案元數據 Microsoft.Storage/storageAccounts/fileServices/fileShares/files/read 和 Microsoft.Storage/storageAccounts/fileServices/readFileBackupSemantics/action
設定檔案元數據 Microsoft.Storage/storageAccounts/fileServices/fileShares/files/write 和 Microsoft.Storage/storageAccounts/fileServices/writeFileBackupSemantics/action
刪除檔案 Microsoft.Storage/storageAccounts/fileServices/fileShares/files/write 和 Microsoft.Storage/storageAccounts/fileServices/writeFileBackupSemantics/action
複製檔案 Microsoft.Storage/storageAccounts/fileServices/fileShares/files/write 和 Microsoft.Storage/storageAccounts/fileServices/writeFileBackupSemantics/action,以及Microsoft.Storage/storageAccounts/fileServices/fileShares/files/modifypermissions/action,如果 x-ms-file-permission 或 x-ms-file-permission-key 包含在 HTTP 要求標頭中。
中止複製檔案 Microsoft.Storage/storageAccounts/fileServices/fileShares/files/write 和 Microsoft.Storage/storageAccounts/fileServices/writeFileBackupSemantics/action
清單句柄 Microsoft.Storage/storageAccounts/fileServices/fileShares/files/read 和 Microsoft.Storage/storageAccounts/fileServices/readFileBackupSemantics/action
強制關閉句柄 Microsoft.Storage/storageAccounts/fileServices/fileShares/files/write 和 Microsoft.Storage/storageAccounts/fileServices/writeFileBackupSemantics/action
租用檔案 Microsoft.Storage/storageAccounts/fileServices/fileShares/files/write 和 Microsoft.Storage/storageAccounts/fileServices/writeFileBackupSemantics/action
重新命名檔案 Microsoft.Storage/storageAccounts/fileServices/fileShares/files/write 和 Microsoft.Storage/storageAccounts/fileServices/writeFileBackupSemantics/action

另請參閱