查询账户概要信息

最近更新时间:2017-12-21 21:17:58

查询账户概要信息(GetAccountSummary)

描述

查询主账户的IAM概要信息

返回API概览

请求参数

名称 类型 必须 长度限制(字符) 参数格式 描述
Action String 确定值 [a-zA-Z]+ 操作接口名,系统规定参数,取值:GetAccountSummary

返回元素(调用成功)

名称 类型 描述
SummaryMap SummaryMap Type IAM概要信息映射表

错误码(调用不成功)

示例(调用成功)

请求示例
https://iam.api.ksyun.com/?Action=GetAccountSummary
&公共请求参数
返回示例
  • XML格式
<GetAccountSummaryResponse>
    <ResponseMetadata>
        <RequestId>b1e84433-3110-4357-b3bc-1ebb2d87656a</RequestId>
    </ResponseMetadata>
    <GetAccountSummaryResult>
        <SummaryMap>
            <entry>
                <key>AccessKeysPerUserQuota</key>
                <value>2</value>
            </entry>
            <entry>
                <key>AccountAccessKeysPresent</key>
                <value>1</value>
            </entry>
            <entry>
                <key>AttachedPoliciesPerUserQuota</key>
                <value>5</value>
            </entry>
            <entry>
                <key>Policies</key>
                <value>0</value>
            </entry>
            <entry>
                <key>PoliciesQuota</key>
                <value>50</value>
            </entry>
            <entry>
                <key>PolicySizeQuota</key>
                <value>2048</value>
            </entry>
            <entry>
                <key>PolicyVersionsInUse</key>
                <value>2</value>
            </entry>
            <entry>
                <key>PolicyVersionsInUseQuota</key>
                <value>5</value>
            </entry>
            <entry>
                <key>Users</key>
                <value>5</value>
            </entry>
            <entry>
                <key>UsersQuota</key>
                <value>100</value>
            </entry>
            <entry>
                <key>VersionsPerPolicyQuota</key>
                <value>5</value>
            </entry>
        </SummaryMap>
    </GetAccountSummaryResult>
</GetAccountSummaryResponse>
  • JSON示例
{
  "ResponseMetadata": {
    "RequestId": "bb369d0d-4183-45c4-8177-2e7e09f37d7b"
  },
  "GetAccountSummaryResult": {
    "SummaryMap": {
      "entry": [
        {
          "key": "AccessKeysPerUserQuota",
          "value": "2"
        },
        {
          "key": "AccountAccessKeysPresent",
          "value": "1"
        },
        {
          "key": "AttachedPoliciesPerUserQuota",
          "value": "5"
        },
        {
          "key": "Policies",
          "value": "0"
        },
        {
          "key": "PoliciesQuota",
          "value": "50"
        },
        {
          "key": "PolicySizeQuota",
          "value": "2048"
        },
        {
          "key": "PolicyVersionsInUse",
          "value": "2"
        },
        {
          "key": "PolicyVersionsInUseQuota",
          "value": "5"
        },
        {
          "key": "Users",
          "value": "5"
        },
        {
          "key": "UsersQuota",
          "value": "100"
        },
        {
          "key": "VersionsPerPolicyQuota",
          "value": "5"
        }
      ]
    }
  }
}

金山云,开启您的云计算之旅

注册有礼