Mengambil pengaturan SSL dari kluster PolarDB.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
polardb:DescribeDBClusterSSL |
get |
*dbcluster
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| DBClusterId |
string |
Yes |
ID kluster. Catatan
Anda dapat memanggil operasi DescribeDBClusters untuk melihat informasi detail semua kluster di bawah akun Anda, termasuk ID kluster. |
pc-************ |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
ID permintaan. |
C890995A-CF06-4F4D-8DB8-DD26C2****** |
| SSLAutoRotate |
string |
Menunjukkan apakah rotasi otomatis sertifikat SSL diaktifkan. Nilai yang valid:
Catatan
Parameter ini hanya didukung untuk PolarDB for MySQL. |
Enable |
| Items |
array<object> |
Daftar informasi koneksi SSL. |
|
|
object |
|||
| SSLExpireTime |
string |
Periode validitas sertifikat. Format: |
2021-11-13T07:14:22Z |
| SSLEnabled |
string |
Menunjukkan apakah enkripsi SSL diaktifkan. Nilai yang valid:
|
Enabled |
| SSLConnectionString |
string |
Titik akhir koneksi SSL. |
pc-************.mysql.polardb.rds.aliyuncs.com |
| DBEndpointId |
string |
ID titik akhir kluster. |
pe-************ |
| SSLAutoRotate |
string |
Menunjukkan apakah rotasi otomatis sertifikat SSL diaktifkan. Nilai yang valid:
Catatan
Parameter ini hanya didukung ketika mesin database kompatibel dengan sintaks PostgreSQL atau Oracle. |
Enable |
Contoh
Respons sukses
JSONformat
{
"RequestId": "C890995A-CF06-4F4D-8DB8-DD26C2******",
"SSLAutoRotate": "Enable",
"Items": [
{
"SSLExpireTime": "2021-11-13T07:14:22Z",
"SSLEnabled": "Enabled",
"SSLConnectionString": "pc-************.mysql.polardb.rds.aliyuncs.com",
"DBEndpointId": "pe-************",
"SSLAutoRotate": "Enable"
}
]
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidDBClusterId.Malformed | The specified parameter DBClusterId is not valid. | |
| 404 | InvalidDBCluster.NotFound | The DBClusterId provided does not exist in our records. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.