查看SSL信息。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
|
操作 |
访问级别 |
资源类型 |
条件关键字 |
关联操作 |
|
polardbx:DescribeDBInstanceSSL |
none |
*全部资源
|
无 | 无 |
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| DBInstanceName |
string |
否 |
实例 ID。 |
pxc-********* |
| RegionId |
string |
否 |
实例所属地域的 ID。 |
cn-hangzhou |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
|||
| RequestId |
string |
请求 ID。 |
C458B1E8-1683-3645-B154-6BA32080EEA |
| Data |
object |
数据结构体。 |
|
| SSLEnabled |
boolean |
实例是否开启 SSL:
|
false |
| SSLExpiredTime |
string |
证书过期时间。 |
2022-11-04T09:39:07Z |
| CertCommonName |
string |
证书绑定域名。 |
pxc-sddddddcym7g7w****.polarx.singapore.rds.aliyuncs.com |
示例
正常返回示例
JSON格式
{
"RequestId": "C458B1E8-1683-3645-B154-6BA32080EEA",
"Data": {
"SSLEnabled": false,
"SSLExpiredTime": "2022-11-04T09:39:07Z",
"CertCommonName": "pxc-sddddddcym7g7w****.polarx.singapore.rds.aliyuncs.com"
}
}
错误码
|
HTTP status code |
错误码 |
错误信息 |
描述 |
|---|---|---|---|
| 400 | IdempotentParameterMismatch | The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical. | 该请求使用与先前相同但不相同的请求相同的客户端令牌。 除非请求相同,否则请勿将客户端令牌与其他请求重用。 |
| 400 | InvalidAction | The specified Action is invalid. | 指定的Action无效。 |
| 500 | InternalError | An error occurred while processing your request. | 接口暂时不可用 |
| 404 | InvalidDBInstance.NotFound | The specified DB instance does not exist. | 数据库实例不存在 |
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。