Mengaktifkan atau menonaktifkan enkripsi SSL untuk kluster PolarDB, atau memperbarui sertifikat CA-nya.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
polardb:ModifyDBClusterSSL |
update |
*DBCluster
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| DBClusterId |
string |
Yes |
ID kluster. |
pc-************ |
| SSLEnabled |
string |
No |
Status enkripsi SSL. Nilai yang valid:
Catatan
Setelah Anda mengaktifkan enkripsi SSL atau memperbarui sertifikat SSL, Anda harus mengunduh dan mengonfigurasi sertifikat tersebut. Lihat Configure SSL encryption. |
Enable |
| DBEndpointId |
string |
No |
ID titik akhir. Catatan
|
pe-****************** |
| NetType |
string |
No |
Jenis jaringan titik akhir. Nilainya harus sama dengan jenis jaringan titik akhir yang ditentukan oleh parameter DBEndpointId. Nilai yang valid:
Catatan
|
Public |
| SSLAutoRotate |
string |
No |
Menentukan apakah rotasi otomatis sertifikat SSL diaktifkan.
|
Enable |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
ID permintaan. |
A94B1755-6D8B-4E27-BF3C-8562BC****** |
Contoh
Respons sukses
JSONformat
{
"RequestId": "A94B1755-6D8B-4E27-BF3C-8562BC******"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | EngineMigration.ActionDisabled | Specified action is disabled while custins is in engine migration. | |
| 400 | InvalidDBEndpointId.Malformed | The specified parameter DBEndpointId is not valid. | |
| 400 | InvalidSSLAutoRotate.Malformed | The specified SSLAutoRotate is not valid. | |
| 400 | InvalidNetType.Malformed | The specified parameter NetType is not valid. | |
| 400 | InvalidConnectionString.Malformed | The specified parameter ConnectionString is not valid. | |
| 404 | InvalidDBCluster.NotFound | The DBClusterId provided does not exist in our records. | |
| 404 | InvalidDBClusterId.Malformed | The specified parameter DBClusterId is not valid. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.