CreateRouterInterface_云服务器 ECS_API文档

插件下载了解更多
VS Code 插件
安装插件之前,确保已安装 VS Code安装插件之前,确保已安装 VS Code
Alibaba Cloud Developer Toolkit is a collection of extensions that can help access Alibaba Cloud services in Visual Studio Code.
JetBrains 插件
安装插件之前,确保已安装 JetBrains IDE安装插件之前,确保已安装 JetBrains IDE
The Alibaba Cloud Developer Toolkit for JetBrains makes it easier to access Alibaba Cloud services.

流控信息

当前云产品API请求速率暂未透出。

授权信息

如下是此API对应的授权信息,用于RAM权限策略语句的Action元素中,为RAM用户或RAM角色授予调用此API的权限。请通过 RAM 访问控制设置,使用方法可参考访问控制帮助文档

具体说明如下:展开详情

操作访问级别资源类型条件关键字关联操作
vpc:CreateRouterInterface
Create
全部资源
*
vpc:TargetAccountRDId

请求参数

字段名称字段详情
RegionIdstring
Rolestring
OppositeRegionIdstring
Specstring
RouterTypestring
RouterIdstring
OppositeInterfaceIdstring
OppositeRouterIdstring
OppositeRouterTypestring
OppositeInterfaceOwnerIdstring
HealthCheckSourceIpstring
HealthCheckTargetIpstring
AccessPointIdstring
OppositeAccessPointIdstring
Descriptionstring
Namestring
Periodinteger<int32>
InstanceChargeTypestring
AutoPayboolean
PricingCyclestring
ClientTokenstring
UserCidrstring

返回参数

字段名称字段详情
RequestIdstring
OrderIdinteger<int64>
注意 请注意,该值为 Long 类型,在某些语言中可能存在精度丢失的风险,请小心使用。
RouterInterfaceIdstring

错误码

全局错误码
HTTP 状态码错误码错误信息操作
400
InvalidPrice.NotFound
Pricing plan result not found.诊断
400
InvalidAliuid
Invalid Aliuid.诊断
400
InvalidBandwidth.NotEnough
bandwdith not enough.诊断
400
InvalidRole.ValueNotSupported
The specified Role is not valid.诊断
400
InvalidSpec.ValudNotSupported
The specified Spec is not supported.诊断
400
InvalidRouterType.ValueNotSupported
The specified RouterType is not valid.诊断
400
InvalidOppositeRouterType.ValueNotSupported
The specified OppositeRouterType is not valid.诊断
400
ParameterMismatch.Role-Spec
The specified Spec and Role mismatch.诊断
400
InvalidName.Malformed
The specified "Name" is not valid.诊断
400
InvalidDescription.Malformed
The specifid "Description" is not valid.诊断
400
Forbidden.BillsOutstanding
You cannot create more RouterInterface because you have bills outstanding.诊断
400
QuotaExceed.RouterInterface
Living RouterInterface quota exceeded.诊断
400
LimitationExceed.InterfaceNumberOnRouter
Total number of RouterInterfaces on a Router exceeded.诊断
400
InvalidParam.NotFound
Parameter must not be null,uid, bid,regionNo, remoteRegionNo or routerId诊断
400
InvalidAccessPoint.NotMatch
The accessPoint id is not matched诊断
400
InvalidAccessPoint.NotExist
The accessPoint not exit诊断
400
ForbiddenAction
The user does not supported this action.诊断
400
Forbidden.AcceptRoleNotSupportPrePay
Acception side ri not support chargetype for prepaid.诊断
400
IllegalParam.HealthcheckIp
Healthcheck ip cannot equal with instance ip.诊断
400
OperationFailed.HcForInvalidRiType
Healthchecksourceip and healthchecktargetip is only valid for vr ri that is connected to vbr.诊断
400
OperationFailed.SyncOrderToSub
SyncOrderToSub error.诊断
400
IllegalParam.CrossBorderBandwidth
CrossBorder bandwidth error.诊断
400
IllegalParam.VRouterType
The VRouterType is not supported.诊断
400
IllegalParam.Spec
The spec is illegal.诊断
400
Forbidden.CrossBorder
User not authorized to create cross border routerInterface.诊断
400
InvalidRouterId.NotFound
Param is not valid,this user does not have this router or aliuid bid regionNo and routerId must have something wrong.诊断
400
INVAID_VBR_STATUS
VBR status must be active诊断
400
InvalidRouterInterfaceSpec.Malformed
Specified RouterInterface spec is not valid.诊断
400
InvalidCommodity.NotFound
Commodity is not exist.诊断
400
InvalidRouterInterfaceChargeType.Malformed
Specified RouterInterface ChargeType is not valid.诊断
400
IllegalParam.RegionId
The specified regionId is illegal.诊断
400
PAY.MAYI_WITHHOLDING_AGREEMENT_ILLEGAL
User withhoding argeement is illegal.诊断
404
InvalidRegionId.NotFound
The regionId provided does not exist in our records.诊断
404
InvalidOppositeRegionId.NotFound
The oppositeRegionId provided does not exist in our records.诊断
404
InvalidRouterId.NotFound
The specified RouterId does not exist in our recored.诊断
500
Forbidden.NotInRouterInterfaceCreateWhitelist
Not in router interface create whitelist.诊断
500
RI_CREATE_ONE_LIMIT_BY_SYNC
Create ri only one limit by sync.诊断
500
InvalidDescription.Malformed
The specifid "Description" is not valid.诊断
500
InvalidName.Malformed
The specified "Name" is not valid.诊断
500
InvalidAccessPoint.ValueNotAllowed
The non-vbr router interface cannot have access point configured.诊断

变更历史

暂无变更历史

相关示例