ModifyDBClusterTDE
Deskripsi operasi
Anda harus mengaktifkan Key Management Service (KMS) sebelum melakukan operasi ini. Untuk informasi selengkapnya, lihat Purchase a dedicated KMS instance.
Transparent Data Encryption (TDE) tidak dapat dinonaktifkan setelah diaktifkan.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
polardb:ModifyDBClusterTDE |
update |
*DBCluster
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| DBClusterId |
string |
Yes |
ID kluster. |
pc-************ |
| TDEStatus |
string |
Yes |
Status TDE. Tetapkan nilai ke Enable. |
Enable |
| RoleArn |
string |
No |
Global Resource Descriptor dari role. Anda dapat menggunakan parameter ini untuk menentukan sebuah role. Untuk informasi selengkapnya, lihat Overview of RAM roles. |
acs:ram::1406926*****:role/aliyunrdsinstanceencryptiondefaultrole |
| EncryptionKey |
string |
No |
ID kunci kustom. |
749c1df7-****-****-****-********* |
| EncryptNewTables |
string |
No |
Menentukan apakah semua tabel baru akan dienkripsi secara otomatis. Nilai yang valid:
Catatan
Parameter ini hanya berlaku ketika mesin database kompatibel dengan MySQL. |
ON |
| EnableAutomaticRotation |
string |
No |
Menentukan apakah kunci TDE instans akan diputar secara otomatis selama jendela O&M berikutnya setelah versi baru kunci KMS tersedia. Parameter ini hanya berlaku untuk kunci kustom.
Catatan
Parameter ini hanya didukung ketika mesin database kompatibel dengan PostgreSQL atau Oracle. |
false |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
ID permintaan. |
5F859238-2A36-4A8D-BD0F-732112****** |
Contoh
Respons sukses
JSONformat
{
"RequestId": "5F859238-2A36-4A8D-BD0F-732112******"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidTDEStatus.AlreadyEnabled | TDE has already enabled in the this cluster. | |
| 400 | InvalidDBType.Malformed | The Specified DBType is not valid. | |
| 400 | InvalidTDEEnabledType.Malformed | The specified parameter TDEStatus is not valid. | |
| 400 | InvalidAutoTableTransparentEncryption.Malformed | The specified AutoTableTransparentEncryption is not valid. | |
| 403 | UnsupportedKmsService.NotEnabled | KMS service is not enabled. | |
| 403 | OperationDenied.DBNodeType | The operation is not permitted due to type of node. | |
| 403 | IncorrectGdnState | db instance %s status is not available:%s. | |
| 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.