ゲートウェイ クラスタを作成します。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
hcs-sgw:CreateStorageBundle |
none |
*All Resource
|
なし | なし |
リクエストパラメーター
|
パラメーター |
タイプ |
必須 / 任意 |
説明 |
例 |
| Name |
string |
必須 |
ゲートウェイ クラスタの名前。名前は 1 ~ 60 文字で、大文字、小文字、漢字、数字、ピリオド(.)、アンダースコア(_)、またはハイフン(-)を含めることができます。名前は大文字、小文字、または漢字で始まる必要があります。 |
alex-123*** |
| Description |
string |
任意 |
ゲートウェイ クラスタの説明。説明は 0 ~ 128 文字です。 |
|
| BackendBucketRegionId |
string |
必須 |
ゲートウェイ クラスタが配置されているリージョン。DescribeRegions 操作を呼び出して、有効なリージョン ID を取得できます。 |
cn-shanghai |
レスポンスパラメーター
|
パラメーター |
タイプ |
説明 |
例 |
|
object |
|||
| Message |
string |
リクエスト結果の説明。 |
successful |
| RequestId |
string |
リクエスト ID。 |
2AD80BDC-E05C-4A77-BBAD-5EDAEDE6D333 |
| StorageBundleId |
string |
ゲートウェイ クラスタの ID。 |
sb-000ibk4xrlr03qrjr*** |
| Code |
string |
状態コード。状態コード 200 は、リクエストが成功したことを示します。 |
200 |
| Success |
boolean |
リクエストが成功したかどうかを示します。 |
true |
例
成功レスポンス
JSONJSON
{
"Message": "successful",
"RequestId": "2AD80BDC-E05C-4A77-BBAD-5EDAEDE6D333",
"StorageBundleId": "sb-000ibk4xrlr03qrjr***",
"Code": "200",
"Success": true
}
エラーコード
|
HTTP ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 400 | EmptyStorageBundleName | You must enter a valid name for the gateway cluster. | |
| 400 | InvalidRegionId | The specified RegionId does not exist. You must specify a valid RegionId. | |
| 400 | StorageBundleDescriptionOverLimit | The length of the specified description of the gateway cluster exceeds the maximum limit. The description cannot exceed 128 characters in length. | |
| 400 | BadRequest | Invalid request. You must specify valid parameters in the request. | |
| 400 | DuplicateStorageBundleName | The name you specified for the gateway cluster already exists. You must specify a valid name. | |
| 400 | InvalidStorageBundleName | The specified name for the gateway cluster is invalid. The name must be 1 to 60 characters in length and can contain letters, Chinese, digits, periods (.), underscores (_), and hyphens (-). The name must start with a letter or Chinese. |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。