The COS batch operation feature allows you to perform large-scale batch operations on objects in a bucket. With this feature, you can now perform the following operations in batches:
You can generate an inventory file for the objects on which to perform a batch operation by using either COS inventory (you need to first enable the inventory feature as instructed in Setting Inventory), or the CSV format you specify. COS will then perform this batch operation based on the inventory file. For more information on batch operations, see Batch Operation Overview.
The configuration items are as described below:
Note:Currently, COS batch operation is only available in public cloud regions in Chinese mainland and Silicon Valley region.
Inventory Format | Field | Configuration Description |
---|---|---|
COS inventory report | - | You can use an inventory report generated by COS as the inventory file or create your own inventory file in CSV format. |
CSV | Bucket | Bucket name |
Key | Name of the object in a bucket. The object name encoded in URL format must be decoded and then can be used properly. | |
VersionId | Object version ID. If versioning is enabled for a bucket, COS will assign a version ID to each object added to the bucket. If you don't want to inventory the latest version of an object, you can specify a particular version ID. |
directory/manifest.json
or directory/manifest.csv
, respectively. For example, if you have an inventory file stored in the examplebucket-1250000000
root directory, the inventory path will be manifest.json
. The configuration items are as described below:
Note:For COS to perform batch operations, you need to use a CAM role to grant permissions. For more information on CAM roles, see Role Overview.
Click Next, check the batch operation job configuration you set, and select If you select this option, the job will be directly started after creation. Make sure that the above configuration information is correct. as needed.
To modify the information, click Modify or Previous.
After confirming that everything is correct, click Create or Create and Start.
Once completed, you can find the new job in the job list. If you want to cancel the job, click Cancel Job under Operation.
Apakah halaman ini membantu?