全部產品
Search
文件中心

Resource Access Management:GetAccountSummary - 查詢主帳號概覽資訊

更新時間:Jun 02, 2026

查詢阿里雲帳號(主帳號)的概覽資訊。

調試

您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。

調試

授權資訊

下表是API對應的授權資訊,可以在RAM權限原則語句的Action元素中使用,用來給RAM使用者或RAM角色授予調用此API的許可權。具體說明如下:

  • 操作:是指具體的許可權點。

  • 存取層級:是指每個操作的存取層級,取值為寫入(Write)、讀取(Read)或列出(List)。

  • 資源類型:是指操作中支援授權的資源類型。具體說明如下:

    • 對於必選的資源類型,用前面加 * 表示。

    • 對於不支援資源級授權的操作,用全部資源表示。

  • 條件關鍵字:是指雲產品自身定義的條件關鍵字。

  • 關聯操作:是指成功執行操作所需要的其他許可權。操作者必須同時具備關聯操作的許可權,操作才能成功。

操作

存取層級

資源類型

條件關鍵字

關聯操作

ram:GetAccountSummary

get

*全部資源

*

請求參數

名稱

類型

必填

描述

樣本值

當前API無需請求參數

返回參數

名稱

類型

描述

樣本值

object

RequestId

string

請求 ID。

81313F5E-3C85-478F-BCC9-E1B70E4556DB

SummaryMap

object

阿里雲帳號概覽資訊。

MFADevices

integer

虛擬多因素認證裝置的數量。

13

AccessKeysPerUserQuota

integer

每個 RAM 使用者允許擁有存取金鑰的最大數量。

2

AttachedPoliciesPerGroupQuota

integer

每個使用者組允許添加自訂策略的最大數量。

5

AttachedSystemPoliciesPerRoleQuota

integer

每個 RAM 角色允許添加系統策略的最大數量。

20

AttachedPoliciesPerRoleQuota

integer

每個 RAM 角色允許添加自訂策略的最大數量。

5

GroupsPerUserQuota

integer

每個 RAM 使用者允許加入的使用者組最大數量。

5

Roles

integer

RAM 角色數量。

19

PolicySizeQuota

integer

權限原則內容的最大長度。

2048

AttachedSystemPoliciesPerGroupQuota

integer

每個使用者組允許添加系統策略的最大數量。

20

AttachedSystemPoliciesPerUserQuota

integer

每個 RAM 使用者允許添加系統策略的最大數量。

20

AttachedPoliciesPerUserQuota

integer

每個 RAM 使用者允許添加自訂策略的最大數量。

10

GroupsQuota

integer

允許建立使用者組的最大數量。

50

Groups

integer

使用者組數量。

7

PoliciesQuota

integer

允許建立自訂策略的最大數量。

1500

VirtualMFADevicesQuota

integer

允許建立虛擬多因素認證裝置的最大數量。

1000

VersionsPerPolicyQuota

integer

權限原則版本的最大數量。

5

RolesQuota

integer

允許建立 RAM 角色的最大數量。

1000

UsersQuota

integer

允許建立 RAM 使用者的最大數量。

1000

Policies

integer

自訂策略數量。

13

Users

integer

RAM 使用者數量。

9

MFADevicesInUse

integer

使用中的虛擬多因素認證裝置的數量。

2

IPItemsPerAKPolicyQuota

integer

一條帳號級或 AccessKey 級網路訪問限制策略中可設定的 IP 位址最大數量。

50

ConditionsPerAKPolicyQuota

integer

一條帳號級或 AccessKey 級網路訪問限制策略中可設定的策略條目最大數量。

8

AccountAccessKeysPerAccountQuota

integer

主帳號 AccessKey 最大數量。

2

AuthorizedClientPerUserQuota

integer

ServiceCredentialsPerUserPerServiceQuota

integer

每個使用者在每個服務建立 API key 的最大數量。

2

樣本

正常返回樣本

JSON格式

{
  "RequestId": "81313F5E-3C85-478F-BCC9-E1B70E4556DB",
  "SummaryMap": {
    "MFADevices": 13,
    "AccessKeysPerUserQuota": 2,
    "AttachedPoliciesPerGroupQuota": 5,
    "AttachedSystemPoliciesPerRoleQuota": 20,
    "AttachedPoliciesPerRoleQuota": 5,
    "GroupsPerUserQuota": 5,
    "Roles": 19,
    "PolicySizeQuota": 2048,
    "AttachedSystemPoliciesPerGroupQuota": 20,
    "AttachedSystemPoliciesPerUserQuota": 20,
    "AttachedPoliciesPerUserQuota": 10,
    "GroupsQuota": 50,
    "Groups": 7,
    "PoliciesQuota": 1500,
    "VirtualMFADevicesQuota": 1000,
    "VersionsPerPolicyQuota": 5,
    "RolesQuota": 1000,
    "UsersQuota": 1000,
    "Policies": 13,
    "Users": 9,
    "MFADevicesInUse": 2,
    "IPItemsPerAKPolicyQuota": 50,
    "ConditionsPerAKPolicyQuota": 8,
    "AccountAccessKeysPerAccountQuota": 2,
    "AuthorizedClientPerUserQuota": 0,
    "ServiceCredentialsPerUserPerServiceQuota": 2
  }
}

錯誤碼

訪問錯誤中心查看更多錯誤碼。

變更歷史

更多資訊,參考變更詳情