描述
查找指定实例、指定DB的帐户列表信息或某个指定账号的信息。
请求参数
返回参数
DBInstanceAccount参数
DatabasePrivilege参数
示例
请求示例
-
[backcolor=transparent]
https[backcolor=transparent]
:[backcolor=transparent]
//rds.aliyuncs.com/?Action=DescribeAccounts
- [backcolor=transparent]&[backcolor=transparent]DBInstanceId[backcolor=transparent]=[backcolor=transparent]rdsubauieubauie
- [backcolor=transparent]&<公共请求参数>
返回示例
XML格式:
-
[backcolor=transparent]
<DescribeAccountsResponse>
- [backcolor=transparent] [backcolor=transparent]<RequestId>[backcolor=transparent]2603CA96-B17D-4903-BC04-61A2C829CD94[backcolor=transparent]</RequestId>
- [backcolor=transparent] [backcolor=transparent]<Accounts>
- [backcolor=transparent] [backcolor=transparent]<DBInstanceAccount>
- [backcolor=transparent] [backcolor=transparent]<AccountName>[backcolor=transparent]MySQL[backcolor=transparent]</AccountName>
- [backcolor=transparent] [backcolor=transparent]<DBInstanceId>[backcolor=transparent]testdb[backcolor=transparent]</DBInstanceId>
- [backcolor=transparent] [backcolor=transparent]<AccountStatus>[backcolor=transparent]utf8[backcolor=transparent]</AccountStatus>
- [backcolor=transparent] [backcolor=transparent]<AccountDescription></AccountDescription>
- [backcolor=transparent] [backcolor=transparent]<DatabasePrivileges>
- [backcolor=transparent] [backcolor=transparent]<DatabasePrivilege></DatabasePrivilege>
- [backcolor=transparent]</DatabasePrivileges>
- [backcolor=transparent] [backcolor=transparent]<DBInstanceAccount>
- [backcolor=transparent] [backcolor=transparent]</Accounts>
- [backcolor=transparent]</DescribeAccountsResponse>
JSON格式:
- [backcolor=transparent]{
- [backcolor=transparent] [backcolor=transparent]"Accounts"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent]{
- [backcolor=transparent] [backcolor=transparent]"DBInstanceAccount"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent][
- [backcolor=transparent] [backcolor=transparent]{
- [backcolor=transparent] [backcolor=transparent]"AccountDescription"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent]""[backcolor=transparent],[backcolor=transparent]
- [backcolor=transparent] [backcolor=transparent]"DBInstanceId"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent]"rdsubauieubauie"[backcolor=transparent],[backcolor=transparent]
- [backcolor=transparent] [backcolor=transparent]"DatabasePrivileges"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent]{
- [backcolor=transparent] [backcolor=transparent]"DatabasePrivilege"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent][]
- [backcolor=transparent] [backcolor=transparent]},[backcolor=transparent]
- [backcolor=transparent] [backcolor=transparent]"AccountStatus"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent]"Unavailable"[backcolor=transparent],[backcolor=transparent]
- [backcolor=transparent] [backcolor=transparent]"AccountName"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent]"testaccount"
- [backcolor=transparent] [backcolor=transparent]}
- [backcolor=transparent] [backcolor=transparent]]
- [backcolor=transparent] [backcolor=transparent]},[backcolor=transparent]
- [backcolor=transparent] [backcolor=transparent]"RequestId"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent]"8D9A9689-F108-43B4-9D2E-0A52FF42B008"
- [backcolor=transparent]}