All Products
Search
Document Center

Resource Access Management:GetAccountSummary

Last Updated:Mar 03, 2024

Queries the overview information of an Alibaba Cloud account.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:

  • Operation: the value that you can use in the Action element to specify the operation on a resource.
  • Access level: the access level of each operation. The levels are read, write, and list.
  • Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
    • The required resource types are displayed in bold characters.
    • If the permissions cannot be granted at the resource level, All Resources is used in the Resource type column of the operation.
  • Condition Key: the condition key that is defined by the cloud service.
  • Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
OperationAccess levelResource typeCondition keyAssociated operation
ram:GetAccountSummaryRead
  • All Resources
    *
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
The current API does not require request parameters

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

The ID of the request.

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

The overview information of the Alibaba Cloud account.

MFADevicesinteger

The number of virtual multi-factor authentication (MFA) devices.

13
AccessKeysPerUserQuotainteger

The maximum number of AccessKey pairs that a RAM user can have.

2
AttachedPoliciesPerGroupQuotainteger

The maximum number of custom policies that can be added to a RAM user group.

5
AttachedSystemPoliciesPerRoleQuotainteger

The maximum number of system policies that can be added to a RAM role.

20
AttachedPoliciesPerRoleQuotainteger

The maximum number of custom policies that can be added to a RAM role.

5
GroupsPerUserQuotainteger

The maximum number of RAM user groups to which a RAM user can be added.

5
Rolesinteger

The number of RAM roles.

19
PolicySizeQuotainteger

The maximum length of the policy content.

2048
AttachedSystemPoliciesPerGroupQuotainteger

The maximum number of system policies that can be added to a RAM user group.

20
AttachedSystemPoliciesPerUserQuotainteger

The maximum number of system policies that can be added to a RAM user.

20
AttachedPoliciesPerUserQuotainteger

The maximum number of custom policies that can be added to a RAM user.

10
GroupsQuotainteger

The maximum number of RAM user groups that can be created.

50
Groupsinteger

The number of RAM user groups.

7
PoliciesQuotainteger

The maximum number of custom policies that can be created.

1500
VirtualMFADevicesQuotainteger

The maximum number of virtual MFA devices that can be created.

1000
VersionsPerPolicyQuotainteger

The maximum number of policy versions.

5
RolesQuotainteger

The maximum number of RAM roles that can be created.

1000
UsersQuotainteger

The maximum number of RAM users that can be created.

1000
Policiesinteger

The number of custom policies.

13
Usersinteger

The number of RAM users.

9
MFADevicesInUseinteger

The number of virtual MFA devices in use.

2

Examples

Sample success responses

JSONformat

{
  "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
  }
}

Error codes

For a list of error codes, visit the Service error codes.