Torch Object Storage
Name | Location | Type | Required | Sample value | Note |
replication | Query | String | Yes | - | Represents a special identifier for the PutBucketReplication request. |
Name | Type | Required | Sample value | Note |
Role | String | Yes | ServiceRoleforReplicationAccessTOS | Role name. This role must have read and write permissions and service access permissions for TOS. You can also use the default TOS role ServiceRoleforReplicationAccessTOS. |
Rules | Array | Yes | - | Copy the replication rule information. |
ID | String | No | 1 | Unique identifier of the rule, fewer than 255 characters. |
Status | String | Yes | Enabled | Specify whether to enable this rule; the values are explained as follows:
|
PrefixSet | Array | No | prefix_1 | Object name prefix applicable to this rule. |
Tags | Array | No | - | TOS can replicate objects with specific tags, supporting up to 10 tags. For more details on tags, see Managing object tags. |
Key | String | No | key | The key of the object tag. Parent node: Tags |
Value | String | No | value | The value of the object tag. Parent node: Tags |
Destination | Object | Yes | - | Target bucket information. |
Bucket | String | Yes | Target Bucket Name | Target bucket name. |
Location | String | Yes | cn-beijing | Region of the target bucket. |
StorageClass | String | No | STANDARD | Specify the storage class of the object copied to the destination bucket. The values are described as follows:
tip
If both StorageClass and StorageClassInheritDirective parameters are set, the storage type is determined by the value specified in StorageClass. |
StorageClassInheritDirective | String | No | DESTINATION_BUCKET | Set the storage class for objects copied to the destination bucket. The values are described as follows:
|
HistoricalObjectReplication | String | Yes | Enabled | Whether to enable replication of historical objects. If enabled, historical objects matching this rule will be replicated. The options are as follows:
|
DeleteMarkerReplication | String | No | Enabled | Whether to enable synchronizing deletion markers. If enabled, deletion markers matching this rule will be synchronized. The options are as follows:
warning
|
DeleteObjectReplication | String | No | Enabled | Whether to enable synchronizing object deletion. If enabled, after deleting an object in the source bucket, the object in the target bucket will be deleted synchronously. The options are as follows:
warning
|
TransferType | String | No tip This parameter is required for cross-region replication scenarios between mainland China and regions outside mainland China. | tos_acc | Specify the data transfer link used for cross-region replication; the values are explained as follows:
The default value is internal. tip
|
AccessControlTranslation | Object | No | - | Object owner manages permissions. tip When replicating objects across accounts only, set the AccessControlTranslation parameter. |
Owner | String | No | BucketOwnerEntrusted | Only supports setting to BucketOwnerEntrusted, which grants the destination bucket owner management permissions for the copied objects. This means the destination bucket owner can read the objects and grant other accounts permission to read the objects. By default, the destination bucket owner can overwrite and delete objects but cannot read the objects or grant other accounts permission to read the objects. Parent node: AccessControlTranslation tip The Owner parameter must be set only when copying objects across accounts. |