すべてのプロダクト
Search
ドキュメントセンター

Elastic Compute Service:CreateRouterInterface

最終更新日:Jun 18, 2026

CreateRouterInterface。

説明

この API は廃止されました。一時的にアクセス可能ですが、更新やバグ修正対応は一切行われません。代わりに Vpc(2016-04-28) - CreateRouterInterface への移行を推奨します。より強化された機能に加え、サポートも引き続きご利用いただけます。

今すぐお試しください

この API を OpenAPI Explorer でお試しください。手作業による署名は必要ありません。呼び出しに成功すると、入力したパラメーターに基づき、資格情報が組み込まれた SDK コードが自動的に生成されます。このコードをダウンロードしてローカルで使用できます。

テスト

RAM 認証

下表に、この API を呼び出すために必要な認証情報を示します。認証情報は、RAM (Resource Access Management) ポリシーを使用して定義できます。以下で各列名について説明します。

  • アクション:特定のリソースに対して実行可能な操作。ポリシー構文ではAction要素として指定します。

  • API:アクションを具体的に実行するための API。

  • アクセスレベル:各 API に対して事前定義されているアクセスの種類。有効な値:create、list、get、update、delete。

  • リソースタイプ:アクションが作用するリソースの種類。リソースレベルでの権限をサポートするかどうかを示すことができます。ポリシーの有効性を確保するため、アクションの対象として適切なリソースを指定してください。

    • リソースレベルの権限を持つ API の場合、必要なリソースタイプはアスタリスク (*) でマークされます。ポリシーのResource要素で対応する ARN を指定してください。

    • リソースレベルの権限を持たない API の場合、「すべてのリソース」と表示され、ポリシーのResource要素でアスタリスク (*) でマークされます。

  • 条件キー:サービスによって定義された条件のキー。このキーにより、きめ細やかなアクセス制御が可能になります。この制御は、アクション単体に適用することも、特定のリソースに対するアクションに適用することもできます。Alibaba Cloud は、サービス固有の条件キーに加えて、すべての RAM 統合サービスに適用可能な一連の共通条件キーを提供しています。

  • 依存アクション:ある特定のアクションを実行するために、前提として実行が必要となる他のアクション。依存アクションの権限も RAM ユーザーまたは RAM ロールに付与する必要があります。

アクション

アクセスレベル

リソースタイプ

条件キー

依存アクション

vpc:CreateRouterInterface

create

*All Resource

*

  • vpc:TargetAccountRDId
なし

リクエストパラメーター

パラメーター

型

必須 / 任意

説明

例

RegionId

string

必須

Role

string

必須

OppositeRegionId

string

必須

Spec

string

必須

RouterType

string

必須

RouterId

string

必須

OppositeInterfaceId

string

任意

OppositeRouterId

string

任意

OppositeRouterType

string

任意

OppositeInterfaceOwnerId

string

任意

HealthCheckSourceIp

string

任意

HealthCheckTargetIp

string

任意

AccessPointId

string

任意

OppositeAccessPointId

string

任意

Description

string

任意

Name

string

任意

Period

integer

任意

InstanceChargeType

string

任意

AutoPay

boolean

任意

PricingCycle

string

任意

ClientToken

string

任意

ClientToken

string

任意

UserCidr

string

任意

レスポンスフィールド

フィールド

型

説明

例

object

RequestId

string

OrderId

integer

RouterInterfaceId

string

例

成功レスポンス

JSONJSON

{
  "RequestId": "",
  "OrderId": 0,
  "RouterInterfaceId": ""
}

エラーコード

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.
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.
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.

完全なリストについては、「エラーコード」をご参照ください。

変更履歴

完全なリストについては、「変更履歴」をご参照ください。