CreateRouterInterface。
この API は廃止されました。一時的にアクセス可能ですが、更新やバグ修正対応は一切行われません。代わりに Vpc(2016-04-28) - CreateRouterInterface への移行を推奨します。より強化された機能に加え、サポートも引き続きご利用いただけます。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
vpc:CreateRouterInterface |
create |
*All Resource
|
|
なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| 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. |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。