PUT v1/bunits/{bunitId}/consumers/{consumerId}/cosbucket
Update the information of a bucket
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
bunitId |
The ID of the business unit of the bucket | integer |
Required |
consumerId |
The ID of the consumption unit of the bucket | integer |
Required |
Body Parameters
The bucket containing the updated information
CosBucketName | Description | Type | Additional information |
---|---|---|---|
Name |
Name |
string |
None. |
CosId |
Unique COS ID |
string |
None. |
ObjectCount |
Number of Objects |
integer |
None. |
ObjectsSizeBytes |
Total Size of Objects |
integer |
None. |
VersioningState |
VersioningState |
None. |
|
HardQuotaBytes |
integer |
None. |
|
RetentionPolicy |
RetentionPolicy |
None. |
|
RetentionDays |
integer |
None. |
|
StaticWebsiteEnabled |
boolean |
None. |
|
HasReplicationPolicy |
boolean |
None. |
|
HasActiveInventoryPolicy |
boolean |
None. |
|
IsBackupVault |
boolean |
None. |
|
DeleteProcess |
DeleteProcess |
None. |
|
Owner |
CosAccount |
None. |
|
Vault |
CosVault |
None. |
|
Consumer |
Consumer |
None. |
|
Preset |
CosBucketPreset |
None. |
|
DataSourceState |
DataSourceState |
None. |
|
DataSourcePlatform |
DataSourcePlatform |
None. |
|
DataSourceType |
DataSourceType |
None. |
|
BackupServer |
Server |
None. |
|
Id |
A unique ID for the object. |
integer |
Read-only. |
CreatedDate |
Time and date the object was created. |
date |
Read-only. |
ArchivedDate |
Time and date the object was or is going to be archived. Unarchived objects have no value in ArchivedDate |
date |
Read-only. |
Operations |
Collection of OperationResult |
None. |
Request Formats
application/json
Sample:
Sample not available.
text/json
Sample:
Sample not available.
Response Information
Resource Description
The updated bucket
CosBucketName | Description | Type | Additional information |
---|---|---|---|
Name |
Name |
string |
None. |
CosId |
Unique COS ID |
string |
None. |
ObjectCount |
Number of Objects |
integer |
None. |
ObjectsSizeBytes |
Total Size of Objects |
integer |
None. |
VersioningState |
VersioningState |
None. |
|
HardQuotaBytes |
integer |
None. |
|
RetentionPolicy |
RetentionPolicy |
None. |
|
RetentionDays |
integer |
None. |
|
StaticWebsiteEnabled |
boolean |
None. |
|
HasReplicationPolicy |
boolean |
None. |
|
HasActiveInventoryPolicy |
boolean |
None. |
|
IsBackupVault |
boolean |
None. |
|
DeleteProcess |
DeleteProcess |
None. |
|
Owner |
CosAccount |
None. |
|
Vault |
CosVault |
None. |
|
Consumer |
Consumer |
None. |
|
Preset |
CosBucketPreset |
None. |
|
DataSourceState |
DataSourceState |
None. |
|
DataSourcePlatform |
DataSourcePlatform |
None. |
|
DataSourceType |
DataSourceType |
None. |
|
BackupServer |
Server |
None. |
|
Id |
A unique ID for the object. |
integer |
Read-only. |
CreatedDate |
Time and date the object was created. |
date |
Read-only. |
ArchivedDate |
Time and date the object was or is going to be archived. Unarchived objects have no value in ArchivedDate |
date |
Read-only. |
Operations |
Collection of OperationResult |
None. |
Response Formats
application/json
Sample:
Sample not available.
text/json
Sample:
Sample not available.