ストレージゲートウェイを作成します。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
ens:CreateStorageGateway |
create |
*All Resource
|
なし | なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| OrderDetails |
array<object> |
必須 |
注文の配列。 |
|
|
object |
必須 |
|||
| EnsRegionId |
string |
必須 |
ノードの ID。 |
cn-shenzhen-3 |
| GatewayType |
string |
必須 |
ゲートウェイのタイプ。このパラメーターを 1 に設定します。1 は iSCSI を示します。 |
1 |
| VpcId |
string |
必須 |
VPC の ID。 |
n-123 |
| GatewayName |
string |
任意 |
ゲートウェイの名前。名前は 2~128 文字 の長さである必要があります。名前は文字で始まり、 |
testGatewayName |
| Description |
string |
任意 |
ゲートウェイの説明。説明は 2~256 文字 の長さである必要があり、 |
testDescription |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
応答のスキーマ |
||
| RequestId |
string |
リクエスト ID。 |
EA3758E0-8899-17D3-9526-5F62CF33A586 |
| AllocationId |
array<object> |
作成されたノードのリスト。 |
|
|
object |
|||
| InstanceId |
string |
インスタンスの ID。 |
e426409223 |
| EnsRegionId |
string |
ノードの ID。 |
cn-chengdu-telecom-4 |
| BizStatusCode |
string |
成功状態コード。
|
AllSuccess |
| UnAllocationId |
array<object> |
作成されなかったノードのリスト。 |
|
|
object |
|||
| InstanceId |
string |
インスタンスの ID。 |
e426409258 |
| EnsRegionId |
string |
ノードの ID。 |
cn-chengdu-26 |
例
成功レスポンス
JSONJSON
{
"RequestId": "EA3758E0-8899-17D3-9526-5F62CF33A586",
"AllocationId": [
{
"InstanceId": "e426409223",
"EnsRegionId": "cn-chengdu-telecom-4"
}
],
"BizStatusCode": "AllSuccess",
"UnAllocationId": [
{
"InstanceId": "e426409258",
"EnsRegionId": "cn-chengdu-26"
}
]
}
エラーコード
|
HTTP ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 400 | OrderFailed | 订单失败 | |
| 400 | SaleControl.VerificationFailed | You did not pass the salecontrol verification.Please contact the product. | |
| 400 | Invalid%s | The specified parameter %s is invalid. | |
| 400 | SaleControlVerificationFailedStock | Inventory sales constraint verification failed, please re-match, or contact the product. | |
| 400 | SaleControlVerificationFailedRegion | The node sales constraint verification failed, please re-select or contact the product. | |
| 400 | %s | Some of the bulk orders failed, please try again:%s. | |
| 400 | NoPermission | Permission denied. |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。