CreateRouteEntry - 创建自定义路由条目

更新时间:
复制 MD 格式

调用CreateRouteEntryVPC路由器或边界路由器(VBR)上创建自定义路由条目

接口说明

  • CreateRouteEntry 接口属于异步接口,即系统会返回一个实例 ID,但该路由的添加尚未完成,系统后台的启动任务仍在进行。您可以调用 DescribeRouteEntryList 查询路由的添加状态:
    • 当路由处于 Creating 状态时,表示路由添加中。

    • 当路由处于 Created 状态时,表示路由添加完成。

  • CreateRouteEntry 接口不支持在同一个 VPC 或者同一个 VBR 中并发添加自定义路由条目。

  • CreateRouteEntry 接口在并发情况下可能返回 TaskConflict 错误码,请酌情重试。

使用该接口为 VPC 路由器的路由表添加自定义路由条目时,请注意以下事项:

说明

当添加的路由为前缀列表路由时,路由配额的计算为现存路由与前缀列表路由的最大路由条目数之和是否超过路由配额的限制。

  • 同一个路由表中自定义路由条目不能超过 200 条。

  • 自定义路由条目的目标网段(DestinationCidrBlock)不能和 VPC 内的交换机的网段相同,可以包含交换机的网段但是不能被交换机的网段包含。

  • 自定义路由条目的目标网段(DestinationCidrBlock)可以配置为比云服务系统路由网段100.64.0.0/10更明细的网段,但不支持和该网段相同。

    重要 由于目标网段为100.64.0.0/10的系统路由用于 VPC 内的云产品通信,建议您谨慎配置更明细的路由,如果配置错误将导致云产品服务无法正常访问和使用。

  • 同一路由表下的路由条目的目标网段(DestinationCidrBlock)不允许相同。

  • 如果指定的目标网段(DestinationCidrBlock)是一个 IP 地址,会按照 32 位掩码来处理。

  • 多条自定义路由条目可以指向同一个下一跳(NextHopId)。

  • 自定义路由条目的下一跳(NextHopId)必须和路由表在同一个 VPC。

  • 支持通过 NextHopList 参数配置 ECMP 路由:

    • 添加普通(非 ECMP)自定义路由时,需指定 DestinationCidrBlockNextHopTypeNextHopId 参数,且不能指定 NextHopList 参数。

    • 添加 ECMP 路由时,需指定 DestinationCidrBlockNextHopList 参数,且不能指定 NextHopTypeNextHopId 参数。

使用该接口为边界路由器的路由表添加自定义路由条目时,请注意以下事项:

  • 同一个路由表中自定义路由条目不能超过 200 条。

  • 不支持 NextHopList 参数。

  • 自定义路由条目的目标网段(DestinationCidrBlock)可以配置为比云服务系统路由网段100.64.0.0/10更明细的网段,但不支持和该网段相同。

    重要 由于目标网段为100.64.0.0/10的系统路由用于 VPC 内的云产品通信,建议您谨慎配置更明细的路由,如果配置错误将导致云产品服务无法正常访问和使用。

  • 同一路由表下的路由条目的目标网段(DestinationCidrBlock)不允许相同。

  • 如果指定的目标网段(DestinationCidrBlock)是一个 IP 地址,会按照 32 位掩码来处理。

  • 多条自定义路由条目可以指向同一个下一跳(NextHopId)。

  • 自定义路由条目的下一跳(NextHopId)必须是该 VBR 关联的路由器接口。

  • 只允许在 VBR 状态是 Active,而且对应的物理专线状态是 Enabled 且没有被欠费锁定的情况下在 VBR 上新建路由条目。

  • 仅支持添加普通路由(非 ECMP),需指定 DestinationCidrBlockNextHopTypeNextHopId 参数,且不能指定 NextHopList 参数。

调试

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

调试

授权信息

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

  • 操作:是指具体的权限点。

  • 访问级别:是指每个操作的访问级别,取值为写入(Write)、读取(Read)或列出(List)。

  • 资源类型:是指操作中支持授权的资源类型。具体说明如下:

    • 对于必选的资源类型,用前面加 * 表示。

    • 对于不支持资源级授权的操作,用全部资源表示。

  • 条件关键字:是指云产品自身定义的条件关键字。

  • 关联操作:是指成功执行操作所需要的其他权限。操作者必须同时具备关联操作的权限,操作才能成功。

操作

访问级别

资源类型

条件关键字

关联操作

vpc:CreateRouteEntry

create

*RouteTable

acs:vpc:{#regionId}:{#accountId}:routetable/{#RouteTableId}

请求参数

名称

类型

必填

描述

示例值

RegionId

string

路由表所属地域的 ID。

您可以通过调用 DescribeRegions 接口获取地域 ID。

cn-hangzhou

RouteTableId

string

要添加自定义路由条目的路由表 ID。

vtb-bp145q7glnuzd****

DestinationCidrBlock

string

自定义路由条目的目标网段,支持 IPv4、IPv6、前缀列表的目标网段和前缀列表的实例 ID。需满足以下要求:

  • 目标网段不能指向 100.64.0.0/10 或被 100.64.0.0/10 包含。

  • 同一张路由表内的不同路由条目的目标网段不能相同。

192.168.0.0/24

NextHopId

string

自定义路由条目的下一跳实例的 ID。

说明

若选择 NextHopType 为 ECR,您可以通过 DescribeExpressConnectRouterAssociation 接口获取 AssociationId 作为下一跳 ID。

i-j6c2fp57q8rr4jlu****

ClientToken

string

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

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

说明

若您未指定,则系统自动使用 API 请求的 RequestId 作为 ClientToken 标识。每次 API 请求的 RequestId 不一样。

02fb3da4-130e-11e9-8e44-001****

RouteEntryName

string

要添加的自定义路由条目的名称。

名称长度为 1~128 个字符,不能以http://https://开头。

test

Description

string

自定义路由条目的描述信息。

描述长度为 1~256 个字符,不能以http://https://开头。

test

NextHopType

string

自定义路由条目的下一跳的类型,取值:

  • Instance(默认值):ECS 实例。

  • HaVip:高可用虚拟 IP。

  • RouterInterface:路由器接口。

  • NetworkInterface:弹性网卡。

  • VpnGateway:VPN 网关。

  • IPv6Gateway:IPv6 网关。

  • NatGateway:NAT 网关。

  • Attachment:转发路由器。

  • VpcPeer:VPC 对等连接。

  • Ipv4Gateway:IPv4 网关。

  • GatewayEndpoint:网关终端节点。

  • Ecr:专线网关。

  • GatewayLoadBalancerEndpoint:网关型负载均衡终端节点。

枚举值:

  • HaVip :

    HaVip

  • VpnGateway :

    VpnGateway

  • GatewayLoadBalancerEndpoint :

    GatewayLoadBalancerEndpoint

  • VpcPeer :

    VpcPeer

  • Instance :

    Instance

  • NetworkInterface :

    NetworkInterface

  • NatGateway :

    NatGateway

  • Attachment :

    Attachment

  • Ipv4Gateway :

    Ipv4Gateway

  • GatewayEndpoint :

    GatewayEndpoint

  • Ecr :

    Ecr

  • RouterInterface :

    RouterInterface

  • IPv6Gateway :

    IPv6Gateway

RouterInterface

NextHopList

array<object>

下一跳的信息。

object

下一跳的信息。

NextHopId

string

ECMP 路由的下一跳实例的 ID。

ri-2zeo3xzyf3cd8r4****

Weight

integer

ECMP 路由的下一跳的路由权重。

10

NextHopType

string

ECMP 路由的下一跳的类型,目前仅取值:RouterInterface(路由器接口)。

RouterInterface

DryRun

boolean

是否只预检此次请求。取值:

  • true:发送检查请求,不会创建路由条目。检查项包括是否填写了必需参数、请求格式、业务限制。如果检查不通过,则返回对应错误。如果检查通过,则返回错误码DryRunOperation

  • false(默认值):发送正常请求,通过检查后返回 HTTP 2xx 状态码并直接进行操作。

false

返回参数

名称

类型

描述

示例值

object

自定义路由条目的 ID。

RouteEntryId

string

自定义路由条目的 ID。

rte-sn6vjkioxte1gz83z****

RequestId

string

请求 ID。

0ED8D006-F706-4D23-88ED-E11ED28DCAC0

示例

正常返回示例

JSON格式

{
  "RouteEntryId": "rte-sn6vjkioxte1gz83z****",
  "RequestId": "0ED8D006-F706-4D23-88ED-E11ED28DCAC0"
}

错误码

HTTP status code

错误码

错误信息

描述

400 IllegalParam.CidrBlock The specified CidrBlock is illegal. CidrBlock参数非法。
400 QuotaExceeded Route entry quota exceeded in this route table.
400 MissingParameter Miss mandatory parameter.
400 InvalidCidrBlock.Malformed Specified CIDR block is not valid.
400 InvalidCIDRBlock.Duplicate Specified CIDR block is already exists.
400 IncorrectVpcStatus Current VPC status does not support this operation.
400 IncorrectInstanceStatus Current instance status does not support this operation.
400 IncorrectRouteEntryStatus Some route entry status blocked this operation.
400 IncorrectVSwitchStatus The current virtual switch status does not support this operation. vSwitch处于pending状态,无法删除。
400 InvalidCidrBlock Specified CIDR block is not valid. 可能的报错原因: 1. 您不在10.0.0.0/8的路由网段的白名单中,不能使用该网段。 2. 添加的自定义路由目标网段不能从属于同一个VPC下面所有交换机的网段。 3. 由于100.64.0.0/10是云服务地址,您不能再添加该网段指向云下IDC。 4. 除100.64.0.0/10以外,100.64.0.0/11、100.96.0.0/11等明细路由网段均不能使用在云下IDC。
400 InvalidNextHop.NotFound Specified next hop does not exist.
400 InvalidVRouter.NotFound vRouter not exists.
400 InvalidVPC.NotFound vpc not exists.
400 InvalidNexthopTypeAndList.BothNull both nexthopType and nextHopList are null.
400 InvalidNexthopTypeAndList.BothNotNull both nexthopType and nextHopList are not null.
400 InvalidRouterInterface invalid router interface.
400 InvalidOppositeRouterType nexthop list cannot only contain router interface whose opposite router interface is on vbr.
400 InvalidNexthopListSize nexthop size is illegal. Must be between 2 and 4. 必须指定2~4个路由器接口作为下一跳。
400 InvalidEntryRuleQuota.NotFound Route entry quota rule not exists.
400 Forbidden.CheckEntryRuleQuota Route entry quota rule check error.
400 InvalidVBRStatus invalid virtual border router status.
400 InvalidPhysicalConnectionBusinessStatus invalid physical connection business status.
400 InvalidRouterType Cannot specify nexthop list in vbr's route table. VBR路由表中不存在指定的下一跳
400 IncorrectHaVipStatus This operation is denied because satus of the specified HaVip is neither Available nor InUse. 无法执行该操作,因为HaVip的状态是AvailableInUse。
400 CountLimitExceed.HaVipRouteEntry The count of route entry to HaVip in one route table is exceeded. 同路由表中指向HaVip的路由数超过限制。
400 InvalidRouteEntry.Duplicate The route entry already exist.
400 InvalidParam The Ecmp routerEntry with router interfaces local vgw vip not match.
400 INVALID_WEIGHT_PARAM Specified value of weight invalid
400 FORBIDDEN_USE_VPC_AS_INTERNET_GATEWAY The Specified CIDR must be in vpc CIDR.
400 InvalidNexthop The Specified nexthop illegal.
400 INVALID_VPC_ID The Specified VpcId not match. VPC不存在,请您检查输入的VPC是否正确。
400 InvalidRouteEntrySize The Specified routerEntry size not legal. 等价路由需要选择2~4个路由器接口作为路由下一跳。
400 TaskConflict The operation is too frequent, please wait a moment and try again. 操作过于频繁,请稍等一会再重试
400 InvalidRouteEntry Specified routeEntry not exist.
400 InvalidDestinationCidrBlock The specified destinationCidrBlock must not included in black list cidr.
400 Forbidden.VRouterNotFound Specified virtual switch is not found during access authentication.
400 DefaultValidate.Error validte fail.
400 Region.NotSupport The specified region does not currently support nextHopType for networkInterface
400 OperationFailed.NotifyCenCreate Failed to notify cen when create route entry.
400 Forbidden.PrivateIpNotFound Private ip address not exist.
400 OperationUnsupported.InactiveMode Vpc multi scope route only support active standby.
400 InvalidRouteEntryName.Malformed Specified RouteEntry name is not valid. 无法修改,因为指定的路由条目名称无效
400 IncorrectStatus.MultiScopeRiRouteEntry MultiScope ri status must not in idle.
400 OperationUnsupported.MoreThanOneVpnOrHavip MultiScope can not support more than one vpn/havip.
400 OperationUnsupported.EcmpRiTypeOrNumber Emcp entry not supported if vpc-vbr or vbr-vlan ri does not exist.
400 Duplicated.VpcNextHop Route entry nexthop duplicate. 下一个重复的路由条目。
400 OperationUnsupported.SubRouteTableECMP Vpc subRouteTable don't support ecmp or multiScope.
400 InvalidNexthop.NotFound VRouterEntry nexthop does not exist.
400 IllegalParam.NextHopId Instance not exists or not vpc vm.
400 QuotaExceeded.HaVipRouteEntry Vpc havip route entry quota exceed.
400 InvalidNexthop.DirectEni The direct Eni cannot be nexthop. 直通Eni不能作为下一跳
400 OperationFailed.InvalidNexthop vpc multi scope route must has a enable nexthop.
400 OperationFailed.NotifyCenDelete Failed to notify cen when delete route entry.
400 InvalidNatGateway.NotFound Natgateway not exist.
400 OperationFailed.CxpRouteExist Cxp route alreay existed.
400 OperationFailed.GetEniInfo Failed to get networkInterface info.
400 OperationUnsupported.InvalidRouterInterfaceType Only vpc vbr interface support ecmp route.
400 InvalidHaVip.NotFound The specified HaVip does not exist in the specified region.
400 OperationFailed.MultiScopeType The specified nexthop type is not support in multiScope.
400 OperationFailed.DistibuteLock Distibute lock fail. 操作被其他请求加锁;
400 QuotaExceeded.VpnRouteEntry Vpn route entry quota exceeded. 创建路由条目失败,因为vpn路由条目超出限制
400 InvalidAttachment.NotFound The attachment is not found. Attachment不存在。
400 OperationFailed.ActiveNetworkInterfaceNotFound No active network interface is found on the attachment. Attachment上不存在可用的弹性网卡。
400 InvalidNetworkInterface.NotFound The network interface is not found on the attachment. Attachment上的弹性网卡不存在。
400 OperationFailed.QueryAttachmentInfo Failed to query attachment information. 查询Attachment信息失败。
400 IllegalParam.AttachmentId The attachment is invalid. Attachment非法。
400 OperationFailed.NotSupportIPV6 The specified next hop does not support IPv6. 指定的下一跳不支持IPv6功能。
400 IncorrectStatus.Ipv6Address The IPv6 address of the specified next hop is being assigned or deleted. 指定的下一跳的IPv6地址此时正在被创建或删除中。
400 OperationUnsupported.Ipv6EntryOnPrimaryNetworkInterface You cannot create IPv6 route entries on a primary network interface. 不允许创建下一跳为主网卡的IPv6路由。
400 OperationUnsupported.SpecifyIpOnIpv6Entry You cannot specify the private IP address when you create IPv6 route entries. 创建IPv6路由不允许指定private IP参数。
400 OperationUnsupported.MutipleIpv6Address You cannot specify a next hop that has bound multiple IPv6 addresses. 不允许指定绑定了多个IPV6地址的下一跳。
400 OperationDenied.Ipv6EntryOnCustomTable You cannot create any IPv6 route entry on a custom route table. 不允许在自定义路由表上创建IPv6路由。
400 OperationDenied.CloudBoxVbrEntryAllowedInCustomRouteTable The operation is not allowed because only the custom routing table can add a routing entry with the next hop pointing to the cloud box type VBR. 指定操作被禁止,因为只有自定义路由表能够添加下一跳指向云盒类型VBR的路由条目。
400 OperationDenied.RouteTableAssociateNotCloudBoxVSwitch The operation is not allowed because of the routing table is bound to a non-cloud box type vswitch, and routing entries pointing to the cloud box VBR cannot be added. 指定操作被禁止,因为路由表绑定到了非云盒类型的vSwitch上,不能添加指向云盒VBR的路由条目。
400 OperationDenied.VbrMisMatchCloudBox The operation is not allowed because the routing table is bound to a cloud box vswitch, and routing entries pointing to other cloud box VBRs cannot be added. 指定操作被禁止,因为路由表绑定到了一个云盒vSwitch上,不能添加指向其他云盒VBR的路由条目。
400 OperationDenied.VbrIdle The operation is not allowed because the next hop of the added routing entry is a VBR type RI at the opposite end, which cannot be in an idle state. 指定操作被禁止,因为添加的路由条目下一跳是对端为VBR类型的RI,不能处于空闲状态。
400 OperationDenied.RouterInterfaceToDifferentVpc The operation is not allowed because the router interface is connected to different VPCs. 指定操作被禁止,因为路由器接口指向不同的VPC。
400 OperationDenied.RouterInterfaceFromDifferentZones The operation is not allowed because the router interface resides in different zones. 指定操作被禁止,因为路由器接口来自不同的可用区。
400 OperationFailed.PconnTrafficNotEnable The operation is failed because of PconnTrafficNotEnable. 操作失败,因为出方向流量未开通。
400 ResourceNotFound.VpcPeer The specified resource of %s is not found. 无法找到指定的VpcPeer
400 IncorrectStatus.VpcPeer The status of %s [%s] is incorrect. %s[%s]的状态不正确。
400 OperationDenied.RouteTableTypeNotPermitted The operation is not allowed because the type of route table is not permitted. 指定路由表类型不允许创建路由条目
400 OperationDenied.GatewayRouteTableNotPermitted The operation is not allowed to create a route pointing to this nextHop type on gateway route table. 网关路由表中不支持创建指向此实例类型的路由条目。
400 UnsupportedFeature.VpcPeerIpv6 IPv6 route entries for VPC peering connections cannot be created in this region. 此路由器接口对端是VPC,此地域不支持创建此类型下一跳的IPV6路由。
400 OperationDenied.VpcIpv6NotEnabled IPv6 has not been enabled for the VPC. 由于该VPC未使能IPV6能力,操作被拒绝。
400 IncorrectStatus.Ipv4Gateway The status of Ipv4Gateway is incorrect.
400 ResourceNotFound.PrefixList The specified resource of prefixList is not found. 输入的prefixList不存在
400 UnsupportedFeature.CreatePrefixListEcmpRouteEntry The feature of creating ecmp route entry with prefixList is not supported. 目前不支持使用前缀列表创建Ecmp路由。
400 OperationDenied.RouterInterfaceIpv6NotEnabled Routerinterface does not support IPv6. routerinterface不支持ipv6
400 OperationDenied.NextHopTypeNotPermitted The operation is not allowed because the nextHop type is invalid. 不允许创建下一跳为此类型的路由。
400 ResourceAlreadyAssociated.PrefixList The operation failed because the specified prefixList route entry already exists. 操作失败,此前缀列表路由存在。
400 OperationFailed.CidrConflictWithPrefixList The specified CIDR block already exists in a prefixList route entry. 路由Cidr与已存在的前缀列表路由冲突。
400 ResourceNotFound.Ipv4Gateway Specified Ipv4Gateway does not exist. 传入的IPv4网关实例不存在。
400 Mismatch.HaVipIdAndRouteTableId The HaVip and RouteTable are mismatched. 传入的高可用虚拟IP与路由表不属于同一个VPC。
400 OperationFailed.OperationLocked The operation failed because the nextHop instance is in the O&M lock state. 路由下一跳实例处于运维锁定状态,无法操作。
400 Mismatch.Ipv4GatewayIdAndRouteTableId The specified IPv4Gateway and RouteTable are not matched. 操作失败,传入的IPv4网关和路由表不属于同一VPC。
400 OperationUnsupported.DestinationCidrBlockOverlapWithVSwitch The destination IPv6 network segment specified in the route entry overlaps with the vSwitch network segment. 路由条目中指定的目标IPv6网段与vSwitch网段重叠。
400 ResourceNotAssociated.Cen The Vpc and Cen are not associated. 操作失败,本VPC未关联到此CEN中。
400 IncorrectStatus.CenRelation The status of Vpc in Cen is incorrect. 操作失败,VPCCEN中状态未达稳态。
400 OperationDenied.CenTypeInvalid The operation is not allowed because of Cen type is invalid.. 不支持在路由表中创建路由指向此类型的Cen。
400 ResourceNotFound.Cen The specified resource of Cen is not found. 操作失败,传入Cen资源不存在。
400 ResourceNotFound.NetworkInterface The specified resource of network interface is not found. 指定的网卡不存在。
400 RouteConflict.AlreadyExist Route conflict exists in routing table. 路由表中存在路由冲突。
400 IncorrectStatus.RouterInterface The specified RouterInterface status is invalid. 路由器接口状态异常。
400 InvalidNexthop.UnsupportedEniBizType The biz type of NetworkInterface is illegal. 作为路由下一跳的网卡业务类型非法。
400 OperationDenied.RouterInterfaceIpv6 RouterInterface does not support IPv6. RouterInterface 不支持 IPv6。
400 InvalidNextHopType Specified parameter "NextHopType" is not valid. NextHopType 参数非法。
400 OperationDenied.VbrAttachEcrInMiddleStatus The operation is not allowed because of VBR attach or detach ECR in middle status. 由于边界路由器正处于加载或者卸载专线网关过程中,当前操作无法执行,请您稍等后重试。
400 ResourceNotAssociated.Ecr The ECR is not associated. 当前资源未与专线网关关联,无法执行此操作,请核对后重试。
400 UnsupportedFeature.RouterInterfaceIpv6 The feature of ipv6 is not supported for the routerInterface. 该路由器接口不支持ipv6
400 InvalidVpnInstanceId.NotFound The specified VPN was not found. 指定的VPN实例未找到。
400 OperationFailed.ScopeActiveRouteEntryType Operation failed because the type of the active route entry is not supported. 操作失败,不支持此活动路由条目的类型。
400 OperationFailed.ScopeStandbyRouteEntryQuota Operation failed because the quota for standby route entries in the scope has been exceeded. 操作失败,因为超出了备用路由条目的配额。
400 OperationFailed.ScopeActiveRouteEntryQuota Operation failed because the quota for active route entries in the scope has been exceeded. 操作失败,因为超出了活动路由条目的配额。
400 OperationUnsupported.ScopeInvalidRouteType The specified route type is unsupported. 不支持此路由类型。
400 OperationFailed.EcmpInvalidRouterInterfaceOppositeType Operation failed because the opposite type of the router interface is invalid for ECMP configuration. 操作失败,该ri的对端类型对于ECMP是无效的。
400 OperationUnsupported.Ipv6EcmpRouteEntry The EcmpRouteEntry is not supported for IPv6. IPv6不支持Ecmp路由。
400 OperationUnsupported.Ipv6CidrBlock The specified IPv6 CIDR block is unsupported. 不支持此IPv6CidrBlock。
400 OperationUnsupported.Ipv6ForVBR IPv6 route entry is not supported for VirtualBorderRouter. VBR不支持IPv6路由。
400 IncorrectStatus.RouteTableStatus The status of the specified RouteTable is incorrect. 指定的路由表未处于稳态。
400 OperationFailed.InvalidNextHopType Operation failed because Ecmp routeEntry has more than one ri entry and can only support one non-ri entry. 创建路由条目失败,因为ECMP(Equal-Cost Multipath Routing)路由只支持一个非RI(non-ri)类型作为下一跳
400 UnsupportedRegion The feature is not supported in current region. 当前地域不支持该功能。
400 UnsupportedFeature.VpcAdvancedFeature The VPC does not support some advanced features. VPC不支持某些高级功能,请提交工单处理。
400 OperationDenied.CreateEcmpForPublishedRouteEntry Operation denied because of can not create EcmpRouteEntry for published RouteEntry. 已发布路由不支持创建主备路由或负载均衡路由。
400 OperationDenied.TrAttachmentIpv6Disabled The operation is not allowed because tr attachment Ipv6 is disabled. Tr Attachment未开启Ipv6能力
400 Mismatch.EniIdAndRouteTableId The operation is not allowed because eni and route table not in same vpc. 操作失败,因为指定的弹性网卡和路由表不属于同一个Vpc
400 InvalidDescription.Malformed The Description is illegal. 指定的资源描述格式不合法。长度为2-256个字符,不能以http://和https://开头。
400 OperationFailed.InstanceDismatchCurrentVpc The specified instance does not exist in current vpc.
400 OperationDenied.RouterInterfaceStatusNotAllowed The operation is not allowed because of RouterInterfaceStatusNotAllowed. 路由器接口状态异常。
400 OperationFailed.Ipv6AddressNotBind The specified next hop has no IPv6 address. ipv6路由的下一跳没有ipv6地址
400 OperationUnsupported.MultipleIpv6Address Operation unsupported because specific route next hop instance has multiple IPv6 address. 操作不支持,因为指定的路由下一跳实例绑定了多个IPv6地址
500 VPC.ERROR error code 500,Internal server error.
500 InternalError The request processing has failed due to some unknown error, exception or failure. 内部错误
500 IncorrectStatus.Ipv4Gateway The status of Ipv4Gateway is incorrect. Ipv4Gateway状态处于非稳态
403 IncorrectInstanceStatus The current status of the resource does not support this operation.
404 InvalidParameter Instance not exists or not vpc vm
404 InvalidNatGatewayId.NotFound Specified value of NatGatewayId is not found in our record.
404 InvalidInstanId.NotFound Specified instance does not exist.
404 InvalidNextHopId.NotFound Specified next hop does not exist.
404 InvalidRouteTableId.NotFound Specified route table does not exist.
404 InvalidHaVipId.NotFound The specified HaVip does not exist in the specified VPC. HaVipVPC中不存在。
404 InvalidNetworkInterface.NotFound The specified networkInterface does not exist.
404 InvalidVpc.NotFound Specified vpc is not found in our record.
404 InvalidIpv6Gateway.NotFound Specified Ipv6Gateway does not exist.
404 ResourceNotFound.GatewayLoadBalancerEndpoint GatewayLoadBalancerEndpoint instance not found. 未找到GatewayLoadBalancerEndpoint实例。

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

变更历史

更多信息,参考变更详情