Mengubah nama, deskripsi, atau pengaturan penerimaan rute dinamis pada tabel rute.
Deskripsi operasi
Operasi ModifyRouteTableAttributes tidak mendukung modifikasi secara bersamaan pada atribut tabel rute yang sama, seperti nama, deskripsi, atau pengaturan penerimaan rute dinamis.
Saat Anda memanggil operasi ModifyRouteTableAttributes untuk mengaktifkan atau menonaktifkan propagasi rute, perhatikan hal-hal berikut:
Mengaktifkan atau menonaktifkan propagasi rute adalah operasi asinkron.
Waktu yang diperlukan untuk mengaktifkan atau menonaktifkan propagasi rute bergantung pada jumlah entri rute yang dipropagasikan.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
vpc:ModifyRouteTableAttributes |
update |
*RouteTable
|
|
None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| RouteTableId |
string |
Yes |
ID tabel rute. |
vtb-bp145q7glnuzdvzu2**** |
| RouteTableName |
string |
No |
Nama tabel rute. Panjang nama harus 1 hingga 128 karakter dan tidak boleh diawali dengan |
doctest |
| Description |
string |
No |
Deskripsi tabel rute. Panjang deskripsi harus 1 hingga 256 karakter dan tidak boleh diawali dengan |
描述信息 |
| RegionId |
string |
Yes |
ID wilayah VPC tempat tabel rute berada. Anda dapat memanggil operasi DescribeRegions untuk mengkueri ID wilayah. |
cn-hangzhou |
| RoutePropagationEnable |
boolean |
No |
Apakah akan mengaktifkan propagasi rute untuk mengontrol penerimaan rute dinamis. Nilai valid:
|
true |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
ID permintaan. |
62172DD5-6BAC-45DF-8D44 |
Contoh
Respons sukses
JSONformat
{
"RequestId": "62172DD5-6BAC-45DF-8D44"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | Abs.InvaliTableName.Malformed | Table name format is invalid. | The new name of the route table is invalid. |
| 400 | Abs.InvalidRouteTableId.NotExist | The route table id is not exist. | |
| 400 | InvalidDescription.Malformed | Description format is invalid. | |
| 400 | Forbidden.DisableRoutePropagation | The operation of disable route propagation is forbidden. | Shutting down route propagation for this routing table is not allowed. |
| 400 | ResourceNotFound.RouteTable | The specified resource gatewayRouteTable is not found. | The gateway route table does not exist. |
| 400 | IncorrectStatus.RouteTable | The route table is in an invalid state. | The specified routing table is in the wrong state |
| 400 | IncorrectStatus.RoutePropagationStatus | Route table propagation status not stable. Please wait and try again. | Route table propagation status not stable. Please wait and try again. |
| 400 | IncorrectStatus.RouteEntry | The status of %s [%s] is incorrect. | Route entry is in non-steady state |
| 400 | IncorrectStatus.Vpc | Vpc status is invalid. | The VPC is in an unstable state. |
| 403 | Forbbiden | User not authorized to operate on the specified resource. | User not authorized to operate on the specified resource. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.