Queries the SSL configuration of an AnalyticDB for MySQL cluster.
Operation description
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
adb:DescribeDBClusterSSL |
get |
*DBCluster
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
No |
The region ID. Note
You can call the DescribeRegions operation to query the most recent region list. |
cn-hangzhou |
| DBClusterId |
string |
Yes |
The cluster ID. Note
You can call the DescribeDBClusters operation to query information about all AnalyticDB for MySQL clusters in a region, including cluster IDs. |
amv-************ |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
348303D8-6F42-5141-9B00-A6EECA1E37B6 |
| ExpireTime |
string |
The expiration time of the SSL certificate. Format: yyyy-MM-ddTHH:mm:ssZ (UTC). |
2022-10-11T08:16:43Z |
| ConnectionString |
string |
The SSL-encrypted endpoint. |
amv-*********.ads.aliyuncs.com |
| SSLEnabled |
boolean |
Whether SSL encryption is enabled. Default value: true. Valid values:
|
true |
Examples
Success response
JSON format
{
"RequestId": "348303D8-6F42-5141-9B00-A6EECA1E37B6",
"ExpireTime": "2022-10-11T08:16:43Z",
"ConnectionString": "amv-*********.ads.aliyuncs.com",
"SSLEnabled": true
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 404 | InvalidDBCluster.NotFound | The DBClusterId provided does not exist in our records. | The specified DBClusterId parameter does not exist. Make sure that the DBClusterId value is valid. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.