POST v1/bunits/{bunitId}/cosbucketpresets
Create a new Cos bucket preset
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
bunitId |
The ID of the business unit the preset should be related to | integer |
Required |
Body Parameters
The preset to be created
CosBucketPresetName | Description | Type | Additional information |
---|---|---|---|
Name |
string |
None. |
|
QualityGroup |
QualityGroup |
None. |
|
LockQualityGroup |
boolean |
None. |
|
VersioningState |
VersioningState |
None. |
|
LockVersioningState |
boolean |
None. |
|
HardQuotaBytes |
integer |
None. |
|
LockHardQuotaBytes |
boolean |
None. |
|
RetentionPolicy |
RetentionPolicy |
None. |
|
LockRetentionPolicy |
boolean |
None. |
|
RetentionDays |
integer |
None. |
|
LockRetentionDays |
boolean |
None. |
|
Inherited |
boolean |
None. |
|
BusinessUnit |
BusinessUnit |
None. |
|
BusinessUnitId |
integer |
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 preset with created information
CosBucketPresetName | Description | Type | Additional information |
---|---|---|---|
Name |
string |
None. |
|
QualityGroup |
QualityGroup |
None. |
|
LockQualityGroup |
boolean |
None. |
|
VersioningState |
VersioningState |
None. |
|
LockVersioningState |
boolean |
None. |
|
HardQuotaBytes |
integer |
None. |
|
LockHardQuotaBytes |
boolean |
None. |
|
RetentionPolicy |
RetentionPolicy |
None. |
|
LockRetentionPolicy |
boolean |
None. |
|
RetentionDays |
integer |
None. |
|
LockRetentionDays |
boolean |
None. |
|
Inherited |
boolean |
None. |
|
BusinessUnit |
BusinessUnit |
None. |
|
BusinessUnitId |
integer |
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.