協調ストレージ用のバケットを作成します。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
ens:PutBucket |
create |
*All Resource
|
なし | なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| BucketName |
string |
必須 |
バケット名。長さは 3~50 文字である必要があります。使用できるのは、小文字、数字、ハイフン (-) のみです。ハイフンで開始または終了することはできません。 |
my-bucket |
| LogicalBucketType |
string |
任意 |
バケットの論理タイプ。有効な値は次のとおりです。 sink:指定されたノード上の sink バケット。 standard:標準のグローバルバケット。これがデフォルト値です。 |
sink |
| Comment |
string |
任意 |
コメント。文字、数字、中国語文字、絵文字を含め、最大 128 文字まで入力できます。 |
this is comment |
| BucketAcl |
string |
任意 |
バケットの権限タイプ: private (非公開、デフォルト)。 public-read-write:公開読み書きアクセスを許可します。 public-read:公開読み取りアクセスを許可します。 |
private |
| EnsRegionId |
string |
任意 |
エッジゾーン ID。指定しない場合、グローバルデフォルトエッジゾーンが使用されます。 |
xx-xx-xx |
| DispatchScope |
string |
任意 |
スケジューリング範囲。有効な値:
説明
グローバルバケットを作成する場合は、このパラメーターを指定する必要があります。 |
sink |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
応答スキーマ |
||
| RequestId |
string |
リクエスト ID。 |
85123E71-7710-4620-8AAB-133CCE49EC83 |
例
成功レスポンス
JSONJSON
{
"RequestId": "85123E71-7710-4620-8AAB-133CCE49EC83"
}
エラーコード
|
HTTP ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 400 | TooManyBuckets | The number of buckets created exceeds the limit. | |
| 400 | Invalid%s | Specified parameter %s is not valid. | |
| 400 | UnSupportedCity | The city is not supported. | |
| 400 | BucketAlreadyExists | The bucket already exists or is occupied by other users. | |
| 400 | InvalidEngineId | The engineId does not belong to the city. | |
| 400 | InvalidBucketName | Specified parameter BucketName is not valid. | |
| 400 | InvalidComment | Specified parameter Comment is not valid. | |
| 400 | InvalidDataRedundancyType | Specified parameter DataRedundancyType is not valid. | |
| 400 | NoPermission | Permission denied. | |
| 400 | InvalidParameter.%s | The specified field %s invalid. Please check it again. | |
| 400 | EnsRegionIdIsMandatory | The parameter EnsRegionId is mandatory while creating a single node bucket. | |
| 500 | InternalError | The request processing has failed due to some unknown error. | |
| 403 | AccessDenied | auth is not valid | |
| 403 | OperationDenied | The current ens region has not been purchased | |
| 403 | UserDisable | The user has been disabled due to arrears. | このユーザーは料金不足で無効になった。 |
| 404 | NoSuchEnsRegion | The ens region does not exist | |
| 404 | NoSuchStorageDomain | The specified storageDomain does not exist. |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。