The COS batch operation feature allows you to perform large-scale batch operations on objects in a bucket. Currently, you can perform the following batch operations:
You can put objects for which you want to perform a certain operation in an inventory file; this file can be based on the inventory report generated by the inventory feature (you need to first enable the inventory feature), or you can create one in the specified format. COS batch operations can then be performed on the objects in the inventory file. For more information, see Overview.
Log in to the COS Console and click Batch Operation on the left sidebar to enter the batch operation management page.
Click Create Job to create a batch operation job and configure the following items:
|Inventory Format||Field||Configuration Instructions|
|COS inventory report||-||Please select this format if the inventory file comes from an inventory report generated by the inventory feature|
|CSV||Ignore||Placeholder field, which can be used when your inventory file contains irregular fields|
|Key||Name of an object in a bucket. If the CSV file format is used, the object name is URL-encoded and must be decoded before use|
|VersionId||Object version ID. If versioning is enabled for the bucket, COS will assign a version number to the objects added to the bucket. If you do not want to use the latest version of an object, you can select a particular version ID of the inventory object to use a past version|
directory/manifest.csv, respectively. For example, if you have an inventory stored in the
examplebucket-1250000000root directory, the inventory path will be
Click Next and the inventory Etag will be displayed, meaning you have selected the correct inventory objects. Then, you will enter the operation configuration page.
Click Next to enter the "Other Configurations" page where you can configure the following items:
To grant batch operation permission to COS, you need to create a CAM role. For more information on CAM roles, see Role Overview.
Click Next to enter the information verification page where you can verify the configuration of your batch operation job. If you need to make any changes, click the Edit button corresponding to the field you wish to modify, or click Previous to return to a previous section. After carefully checking over your information, click Create to finish creating the batch operation job.
After the batch operation job is created, find the newly created job in the job list and click [OK]. To cancel the job, click [Cancel] on the right.