查询云数据库 Tair(兼容 Redis)实例是否开启了TLS(SSL)加密认证。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
|
操作 |
访问级别 |
资源类型 |
条件关键字 |
关联操作 |
|
kvstore:DescribeInstanceSSL |
get |
*DBInstance
|
无 | 无 |
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| InstanceId |
string |
是 |
实例 ID。 |
r-bp1zxszhcgatnx**** |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
|||
| InstanceId |
string |
实例 ID。 |
r-bp1zxszhcgatnx**** |
| RequestId |
string |
请求 ID。 |
02260F96-913E-4655-9BA5-A3651CAF**** |
| SSLEnabled |
string |
TLS(SSL)加密功能的状态:
|
Enable |
| SSLExpiredTime |
string |
CA 证书的过期时间。 格式为 YYYY-MM-DDTHH:mm:ssZ,使用 UTC 时间。 |
2020-08-05T09:05:53Z |
| CertCommonName |
string |
CA 证书的公共名,默认值为实例的内网连接地址。 |
r-bp1zxszhcgatnx****.redis.rds.aliyuncs.com |
| CertDownloadURL |
string |
CA 证书的下载链接。 |
https://apsaradb-public.oss-ap-sout****-1.aliy****.com/ApsaraDB-CA-Chain.zip |
示例
正常返回示例
JSON格式
{
"InstanceId": "r-bp1zxszhcgatnx****",
"RequestId": "02260F96-913E-4655-9BA5-A3651CAF****",
"SSLEnabled": "Enable",
"SSLExpiredTime": "2020-08-05T09:05:53Z",
"CertCommonName": "r-bp1zxszhcgatnx****.redis.rds.aliyuncs.com",
"CertDownloadURL": "https://apsaradb-public.oss-ap-sout****-1.aliy****.com/ApsaraDB-CA-Chain.zip"
}
错误码
|
HTTP status code |
错误码 |
错误信息 |
描述 |
|---|---|---|---|
| 400 | InvalidRedisVersionPattern | Redis db or proxy version does not match specified pattern. | |
| 403 | IncorrectCharacterType | Current DB instance CharacterType does not support this operation. | |
| 403 | IncorrectEngineVersion | Current engine version does not support operations. | |
| 404 | InvalidInstanceId.NotFound | The InstanceId provided does not exist in our records. |
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。