文档

DissociateRouteTablesFromVpcGatewayEndpoint - 将网关终端节点与路由表解绑

更新时间:

调用DissociateRouteTablesFromVpcGatewayEndpoint接口将网关终端节点与路由表解绑。

调试

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

授权信息

下表是API对应的授权信息,可以在RAM权限策略语句的Action元素中使用,用来给RAM用户或RAM角色授予调用此API的权限。具体说明如下:

  • 操作:是指具体的权限点。
  • 访问级别:是指每个操作的访问级别,取值为写入(Write)、读取(Read)或列出(List)。
  • 资源类型:是指操作中支持授权的资源类型。具体说明如下:
    • 对于必选的资源类型,用背景高亮的方式表示。
    • 对于不支持资源级授权的操作,用全部资源表示。
  • 条件关键字:是指云产品自身定义的条件关键字。
  • 关联操作:是指成功执行操作所需要的其他权限。操作者必须同时具备关联操作的权限,操作才能成功。
操作访问级别资源类型条件关键字关联操作
vpc:DissociateRouteTablesFromVpcGatewayEndpointWrite
  • GatewayEndpoint
    acs:vpc:{#regionId}:{#accountId}:gatewayendpoint/{#GatewayEndpointId}

请求参数

名称类型必填描述示例值
EndpointIdstring

网关终端节点实例 ID。

vpce-bp11cwae3p6z7ftbm****
RouteTableIdsarray

路由表列表。

string

VPC 路由表的 ID。

vtb-m5elgtm3aj586iitr****
ClientTokenstring

客户端 Token,用于保证请求的幂等性。

从您的客户端生成一个参数值,确保不同请求间该参数值唯一。ClientToken 只支持 ASCII 字符。

说明 若您未指定,则系统自动使用 API 请求的 RequestId 作为 ClientToken 标识。每次 API 请求的 RequestId 可能不一样。
TF-DissociateRouteTablesFromVpcGatewayEndpoint-1634369235-8f****
DryRunboolean

是否检测此次请求。取值:

  • true:发送检查请求。
  • false(默认值):发送正常请求。
false
RegionIdstring

终端节点所属的地域 ID。您可以通过调用 DescribeRegions 接口获取地域 ID。

cn-hangzhou

返回参数

名称类型描述示例值
object

返回信息。

RequestIdstring

请求 ID。

30F711D5-E7E2-5D42-A247-0FA7288BEAAA

示例

正常返回示例

JSON格式

{
  "RequestId": "30F711D5-E7E2-5D42-A247-0FA7288BEAAA"
}

错误码

HTTP status code错误码错误信息描述
400OperationFailed.ConcurrentOperationThe operation is failed because of concurrent operation.-
400IdempotentParameterMismatchThe request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical.-
400ResourceNotFound.GatewayEndpointThe specified resource gateway endpoint is not found.指定的GatewayEndpoint不存在
400IncorrectStatus.GatewayEndpointThe status of GatewayEndpoint [%s] is incorrect.-
400ResourceNotFound.RouteTableThe specified resource routetable is not found.-
400IncorrectStatus.RouteTableThe status of route table [%s] is incorrect.-
400ResourceNotFound.AssociationThe specified resource gateway endpoint is not associated.-
400IncorrectStatus.RouteEntrySome route entry status blocked this operation.-
400ForbbidenUser not authorized to operate on the specified resource.用户没有权限操作指定的资源。
400InvalidRegionId.NotFoundThe regionId provided does not exist in our records.指定的RegionId不存在。请检查该参数是否正确。
400IncorrectStatus.CenStatusThe CenStatus of Vpc is incorrect.-
400ResourceNotFound.RouteEntryThe specified resource is not found.-

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

变更历史

变更时间变更内容概要操作
暂无变更历史
  • 本页导读 (1)
文档反馈