Freezes a router interface by calling the DeactivateRouterInterface operation.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
vpc:DeactivateRouterInterface |
update |
*RouterInterface
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The region where the router interface is located. You can call the DescribeRegions operation to query region IDs. |
cn-hangzhou |
| RouterInterfaceId |
string |
Yes |
The ID of the router interface. |
ri-2zeo3xzyf38r4urz**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The request ID. |
||
| RequestId |
string |
The request ID. |
BE7EB53A-99AB-4DA8-AEDE-75FA90D046A6 |
Examples
Success response
JSON format
{
"RequestId": "BE7EB53A-99AB-4DA8-AEDE-75FA90D046A6"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | IncorrectRIStatus | RouterInterface can be operated by this action only when it's status is Active. | You can perform this operation only when the router interface is in the Active state. |
| 400 | Forbidden.FinancialLocked | This RouterInterface is financiel locked because of bills outstanding. | |
| 400 | Forbbiden.InvaildOwner | The RouterInterface owener error | The information about the router owner is invalid. |
| 400 | OperationFailed.OperationLocked | Operation failed because OperationLocked. | The operation failed because the instance is locked due to O&M. |
| 400 | InvalidRegionId.NotFound | The specified RegionId does not exist. | The specified region does not exist. |
| 404 | InvalidRegionId.NotFound | The RegionId provided does not exist in our records. | The parameter is invalid. |
| 404 | InvalidRouterInterfaceId.NotFound | The specified RouterInterfaceId does not exist in our record. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.