调用DescribeAccount接口查看云数据库ClickHouse云原生版集群的指定数据库账号信息。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
授权信息
当前API暂无授权信息透出。
请求参数
名称 | 类型 | 必填 | 描述 | 示例值 |
---|---|---|---|---|
Account | string | 是 | 数据库账号。 | test |
DBClusterId | string | 是 | 集群ID。 | cc-bp108z124a8o7**** |
RegionId | string | 否 | 地域ID。您可以通过调用DescribeRegions接口查询地域ID。 | cn-hangzhou |
返回参数
示例
正常返回示例
JSON
格式
{
"Data": {
"Account": "test",
"PasswordSha256Hex": "cd0289a263bf4146a2e00888321178234b65e8c050142074ad05683e3749****",
"PrivilegeType": "Super",
"PrivilegeDescription": "超级账户",
"Comment": "test"
},
"RequestId": "92016D5B-899D-5B77-A8A7-EFE523D4C80A"
}
错误码
HTTP status code | 错误码 | 错误信息 |
---|---|---|
500 | InternalError | The request processing has failed due to some unknown error, exception or failure. |
访问错误中心查看更多错误码。