Queries SSL information.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
polardbx:DescribeDBInstanceSSL |
none |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| DBInstanceName |
string |
No |
The instance ID. |
pxc-********* |
| RegionId |
string |
No |
The region ID of the instance. |
cn-hangzhou |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
C458B1E8-1683-3645-B154-6BA32080EEA |
| Data |
object |
The data struct. |
|
| SSLEnabled |
boolean |
Indicates whether SSL is enabled for the instance. Valid values:
|
false |
| SSLExpiredTime |
string |
The certificate expiration time. |
2022-11-04T09:39:07Z |
| CertCommonName |
string |
The domain name bound to the certificate. |
pxc-sddddddcym7g7w****.polarx.singapore.rds.aliyuncs.com |
Examples
Success response
JSON format
{
"RequestId": "C458B1E8-1683-3645-B154-6BA32080EEA",
"Data": {
"SSLEnabled": false,
"SSLExpiredTime": "2022-11-04T09:39:07Z",
"CertCommonName": "pxc-sddddddcym7g7w****.polarx.singapore.rds.aliyuncs.com"
}
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 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. | |
| 500 | InternalError | An error occurred while processing your request. | |
| 404 | InvalidDBInstance.NotFound | The specified DB instance does not exist. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.