Mengaktifkan protokol enkripsi Transport Layer Security (TLS) untuk instance ApsaraDB for Redis (kompatibel dengan Tair).
Deskripsi operasi
Untuk informasi tentang operasi terkait di konsol, lihat Mengonfigurasi enkripsi SSL.
Untuk menentukan versi SSL minimum, Anda dapat memanggil operasi ModifyInstanceConfig untuk mengubah parameter tersebut.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
kvstore:ModifyInstanceSSL |
update |
*DBInstance
|
|
None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
ID instance. |
r-bp1zxszhcgatnx**** |
| SSLEnabled |
string |
Yes |
Mengubah pengaturan TLS (SSL). Nilai yang valid:
|
Enable |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
ID permintaan. |
AD7E16AA-6B23-43BF-979C-07D957FB**** |
| InstanceId |
string |
ID instance. |
r-bp1zxszhcgatnx**** |
| TaskId |
string |
ID tugas. |
32184**** |
Contoh
Respons sukses
JSONformat
{
"RequestId": "AD7E16AA-6B23-43BF-979C-07D957FB****",
"InstanceId": "r-bp1zxszhcgatnx****",
"TaskId": "32184****"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidParameters.Format | Specified parameters is not valid. | |
| 403 | IncorrectCharacterType | Current DB instance CharacterType does not support this operation. | |
| 403 | IncorrectEngineVersion | Current engine version does not support operations. | |
| 403 | IncorrectDBInstanceState | Current DB instance state does not support this operation. | |
| 403 | IncorrectDBInstanceLockMode | Current DB instance lock mode does not support this operation. | |
| 404 | EnabledSSLNotSupport | Specified region does not support enable ssl. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.