Mengaktifkan antarmuka router yang berada dalam status Inactive.
Deskripsi operasi
Setelah Anda memanggil operasi ActivateRouterInterface, antarmuka router memasuki status Activating. Setelah antarmuka router diaktifkan, antarmuka router memasuki status Active.
Anda tidak dapat mengaktifkan antarmuka router yang memiliki pembayaran tertunda.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
vpc:ActivateRouterInterface |
update |
*RouterInterface
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
ID wilayah antarmuka router. Anda dapat memanggil operasi DescribeRegions untuk mengkueri daftar wilayah terbaru. |
cn-hangzhou |
| RouterInterfaceId |
string |
Yes |
ID antarmuka router. |
ri-2zeo3xzyf38r4urz**** |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Parameter tanggapan. |
||
| RequestId |
string |
ID permintaan. |
079874CD-AEC1-43E6-AC03-ADD96B6E4907 |
Contoh
Respons sukses
JSONformat
{
"RequestId": "079874CD-AEC1-43E6-AC03-ADD96B6E4907"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | IncorrectRIStatus | RouterInterface can be operated by this action only when it's status is Inactive. | The RouterInterface can be operated by this action only when its status is Inactive. |
| 400 | Forbidden.FinancialLocked | This RouterInterface is financiel locked because of bills outstanding. | |
| 400 | OperationFailed.PconnTrafficNotEnable | The operation is failed because of PconnTrafficNotEnable. | The operation failed because outbound traffic is not enabled. |
| 400 | Forbbiden | The router does not belong to your account. | The router does not belong to your account. |
| 400 | NotSupportLinkrole | This RouterInterface is not a vlan interface for connection. | The router interface is not a VLAN interface used for connection. |
| 400 | OppositeRouterInterfaceIsDeleted | The opposite router interface is already deleted. | The peer router interface has been deleted. |
| 404 | InvalidRegionId.NotFound | The specified RegionId does not exist in our records. | |
| 404 | InvalidRouterInterfaceId.NotFound | The specified RouterInterfaceId does not exist in our records. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.