エッジツーエッジネットワークインスタンスを作成します。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
ens:CreateEpnInstance |
create |
*すべてのリソース。
|
なし | なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| EPNInstanceType |
string |
必須 |
エッジツーエッジ通信インスタンスのタイプ。有効な値: EdgeToEdge。 |
EdgeToEdge |
| EPNInstanceName |
string |
任意 |
エッジツーエッジネットワークインスタンスの名前。 |
test EPNInstanceName |
| InternetChargeType |
string |
必須 |
ネットワークの課金タイプ。有効な値:
課金方法は 1 つのみサポートされています。課金方法がすでに存在する場合、デフォルトでは新しい値は無効となり、既存の値が優先されます。 |
BandwidthByDay |
| NetworkingModel |
string |
必須 |
ネットワークモード。有効な値:
|
SpeedUp |
| InternetMaxBandwidthOut |
integer |
必須 |
インターネットへのアウトバウンド帯域幅の最大値。単位: Mbit/s。有効な値: 1 から 100。 |
1 |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
|||
| EPNInstanceId |
string |
エッジツーエッジネットワークインスタンスの ID。 |
epn-xxxxx |
| RequestId |
string |
リクエスト ID。 |
CEF72CEB-54B6-4AE8-B225-F876FF7BA984 |
例
成功レスポンス
JSONJSON
{
"EPNInstanceId": "epn-xxxxx",
"RequestId": "CEF72CEB-54B6-4AE8-B225-F876FF7BA984"
}
エラーコード
|
HTTP ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 400 | StockNotEnough | The specified instance type has insufficient resource. | |
| 400 | UserNotExist | The specified user is not authroized to perform this operation. | |
| 400 | MissingParameter | The input parameter that is mandatory for processing this request is not supplied. | |
| 400 | InstanceIdNotFound | The input parameter instancdId that is not found. | インスタンス ID の情報が見つかりませんでした。有効なインスタンス ID を入力してください。 |
| 400 | NoPermission | Permission denied. | |
| 400 | InvalidParameter | The input parameter is Invalid. | |
| 400 | InvalidParameter.%s | The specified field %s invalid. Please check it again. | |
| 400 | InvalidDiskSize.ValueNotSupported | The specified disk capacity is invalid. Specify another capacity and try again. | |
| 400 | InvalidParameter.Bandwidth | The specified parameter InternetChargeType is not valid. | |
| 400 | InvalidParameter.Image | The specified image does not support. | |
| 400 | InvalidParameter.InstanceType | The specified parameter InstanceType is not valid. | |
| 400 | InvalidAccountStatus.NotEnoughBalance | Your account does not have enough balance. | |
| 400 | unsupported_Ipv6Feature | This ensregion does not support creating instance of the IPv6 type. Select another type. | |
| 400 | Forbidden.CreateInstance | The user is not in the Goods whitelist of creating instance interface. | |
| 400 | ENS_OperationUnsupported_KeyPairName | The KeyPairNameis not available or image not support ssh key. | |
| 400 | ENS_DependencyViolation_WindowsInstance | The instance creating is window, only user password to login. | |
| 400 | ENS_PASSWORDORKEYPAIRNAME_MODULE_NOT_CHOOSEN | The required module pwd or keyPairName is not inputed | |
| 400 | InvalidPrivateIpAddress | Specified private IP address is not in the CIDR block of virtual switch. | |
| 400 | InvalidVSwitchId.NotFound | Specified virtual switch does not exist. | 指定された vSwitch ID は存在しません。 |
| 400 | InvalidPrivateIpAddress.Duplicated | Specified private IP address is duplicated. | |
| 400 | CallInterface | Call Interface Happen Error. | API オペレーションの呼び出し中にエラーが発生しました。 |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。