Torch Object Storage
Name | Location | Type | Required | Sample Value | Description |
Name | Location | Type | Required | Sample Value | Description |
object-lock | Query | String | Yes | - | Represents a special identifier for the GetBucketObjectLockConfiguration request. |
Name | Type | Sample Value | Description |
Name | Type | Sample Value | Description |
ObjectLockEnabled | String | Enabled | Whether to enable the retention policy; the only valid value is Enabled, which indicates that the retention policy is enabled. |
Rule | Object | - | Bucket retention strategy rules. |
DefaultRetention | Object | - | The default retention policy for the bucket. Parent node: Rule. |
Days | Integer | 1 | Object lock duration (days): During the specified period, the object cannot be deleted or overwritten. The duration is measured in days. Parent Node: DefaultRetention |
Years | Integer | 1 | Object lock duration (in years): During the specified number of years, the object cannot be deleted or overwritten. The unit is years, and one year equals 365 days. Parent Node: DefaultRetention |
Mode | String | COMPLIANCE | Retention policy mode, with the value limited to COMPLIANCE, indicates compliance mode, in which no user can delete or overwrite locked objects during the retention period. Parent Node: DefaultRetention |