调用PutBucket创建协同存储的Bucket存储空间。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
授权信息
当前API暂无授权信息透出。
请求参数
名称 | 类型 | 必填 | 描述 | 示例值 |
---|---|---|---|---|
LogicalBucketType | string | 否 | 单节点存储,取值:sink | sink |
Comment | string | 否 | 备注。⻓度为 0-128 个字符或汉字。 | numb |
BucketAcl | string | 否 | Bucket 权限类型:
| private |
BucketName | string | 是 | Bucket 名称。 3~50 个字符,只允许小写字母、数字、短横线(-),且不能以短横线开头或结尾。 | test |
EnsRegionId | string | 否 | 节点区域 id,不指定时为全局默认节点 | cn-beijing-15 |
返回参数
示例
正常返回示例
JSON
格式
{
"RequestId": "85123E71-7710-4620-8AAB-133CCE49EC83"
}
错误码
HTTP status code | 错误码 | 错误信息 | 描述 |
---|---|---|---|
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. | - |
403 | AccessDenied | auth is not valid | - |
403 | OperationDenied | The current ens region has not been purchased | - |
404 | NoSuchEnsRegion | The ens region does not exist | - |
404 | NoSuchStorageDomain | The specified storageDomain does not exist. | - |
500 | InternalError | The request processing has failed due to some unknown error. | - |
访问错误中心查看更多错误码。
变更历史
变更时间 | 变更内容概要 | 操作 |
---|
暂无变更历史