Request Parameter of PUT Bucket
Type Definition
type CreateBucketInput struct
Parameter Description
| Field | Type | Optional or Mandatory | Description |
|---|---|---|---|
| Bucket | string | Mandatory | Bucket name |
| Location | string | Mandatory unless the region where the OBS service resides is not the default region. | Bucket location This parameter is not required if the endpoint belongs to the default North China 1 region (cn-north-1). This parameter is a must if the endpoint belongs to any other regions. Click here to query currently valid regions. For details about OBS regions and endpoints, see Regions and Endpoints. |
| ACL | Optional | ACL that can be pre-defined during the bucket creation | |
| StorageClass | Optional | Bucket storage class that can be pre-defined during the bucket creation |
Last Article: SDK Common Responses
Next Article: Request Parameter of GET Buckets
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.