Mengubah titik akhir atau nomor port instance Tair (kompatibel dengan Redis OSS).
Deskripsi operasi
Anda juga dapat mengubah titik akhir atau nomor port instance melalui konsol Tair (kompatibel dengan Redis OSS). Untuk informasi selengkapnya, lihat Ubah titik akhir atau nomor port instance.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
kvstore:ModifyDBInstanceConnectionString |
update |
*DBInstance
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| DBInstanceId |
string |
Yes |
ID instans. |
r-bp1zxszhcgatnx**** |
| NewConnectionString |
string |
No |
Awalan dari titik akhir baru. Tentukan titik akhir dalam format Catatan
Anda harus menentukan salah satu parameter NewConnectionString atau Port. |
standardredis123 |
| CurrentConnectionString |
string |
Yes |
Titik akhir saat ini dari instans. |
r-bp1zxszhcgatnx****.redis.rds.aliyuncs.com |
| Port |
string |
No |
Nomor port instans. Nilai yang valid: 1024 hingga 65535. Catatan
Anda harus menentukan salah satu parameter NewConnectionString atau Port. |
6379 |
| IPType |
string |
No |
Jenis jaringan dari titik akhir. Nilai yang valid:
|
Public |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
ID permintaan. |
1790D68A-465C-44E3-BC24-9732652961F9 |
Contoh
Respons sukses
JSONformat
{
"RequestId": "1790D68A-465C-44E3-BC24-9732652961F9"
}
Respons error
JSONformat
{
"code": "200",
"data": {
"RequestId": "A7CCD05D-74FE-44DE-A4F0-C3EE58A252BE"
},
"successResponse": true
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | NewConnectionStringNotSupport | Specified newConnectionString is not supported. | |
| 400 | InvalidIPType.Format | Specified parameter IPType is not supported. | |
| 400 | InvalidConnectionStringOrPort.Duplicate | Specified connection string or port want to be modified is the same with current net type. | |
| 400 | InvalidConnectionString.Format | Specified connection string is not valid. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.