调用DeactivateRouterInterface接口冻结路由器接口。

调用本接口后路由器接口进入Deactivating状态,冻结完成后进入Inactive状态。

说明 无法对处于欠费状态的路由器接口进行冻结操作。

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

请求参数

名称 类型 是否必选 示例值 描述
Action String DeactivateRouterInterface

要执行的操作。

取值: DeactivateRouterInterface

RegionId String cn-hangzhou

路由器接口所在的地域。 您可以通过调用DescribeRegions接口获取地域ID。

RouterInterfaceId String ri-2zeo3xzyf38r4urz****

路由器接口的ID。

返回数据

名称 类型 示例值 描述
RequestId String BE7EB53A-99AB-4DA8-AEDE-75FA90D046A6

请求ID。

示例

请求示例

http(s)://vpc.aliyuncs.com/?Action=DeactivateRouterInterface
&RegionId=cn-hangzhou
&RouterInterfaceId=ri-2zeo3xzyf38r4urz****
&<公共请求参数>

正常返回示例

XML 格式

<ActivateRouterInterfaceResponse>
      <RequestId>0ED8D006-F706-4D23-88ED-E11ED28DCAC0</RequestId>
</ActivateRouterInterfaceResponse>

JSON 格式

{
	"RequestId":"0ED8D006-F706-4D23-88ED-E11ED28DCAC0"
}

错误码

HttpCode 错误码 错误信息 描述
404 InvalidRouterInterfaceId.NotFound The specified RouterInterfaceId does not exist in our record. 指定的路由器接口不存在,请您检查填写的路由器接口是否正确。
400 IncorrectStatus RouterInterface can be operated by this action only when it's status is Active. 只有当路由器接口的状态为Active时,才可执行该操作。
400 Forbidden.FinancileLocked This RouterInterface is financiel locked because of bills outstanding. 该路由器接口已欠费锁定,因为您有未结算的账单。

访问错误中心查看更多错误码。