Mengaktifkan atau menonaktifkan kunci kluster.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
polardb:ModifyDBClusterDeletion |
update |
*DBCluster
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| DBClusterId |
string |
Yes |
ID kluster target. Catatan
Panggil operasi DescribeDBClusters untuk mencari ID kluster. |
pc-bp1313h70cd5m**** |
| Protection |
boolean |
No |
Apakah akan mengaktifkan atau menonaktifkan kunci kluster. Nilai default adalah false. Nilai valid:
|
true |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
24C80BD8-C710-4138-893A-D2AFED4FC13D |
Contoh
Respons sukses
JSONformat
{
"RequestId": "24C80BD8-C710-4138-893A-D2AFED4FC13D"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 403 | OperationDenied.DBClusterPayType | The operation is not permitted due to the pay type of cluster. | |
| 404 | InvalidDBCluster.NotFound | The DBClusterId provided does not exist in our records. | |
| 404 | InvalidDBClusterId.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.