Torch Object Storage
Name | Location | Type | Required | Sample value | Note |
Name | Location | Type | Required | Sample value | Note |
inventory | Query | String | Yes | - | Special identifier representing the ListBucketInventory request. |
continuation-token | Query | String | No | next_inventory_id | Set the continuation-token to continue listing the bucket inventory from the last returned list instead of starting over. |
Name | Type | Sample value | Note |
Name | Type | Sample value | Note |
ListInventoryConfigurationsResult | Array | - | List the results of the bucket inventory rules. |
InventoryConfiguration | Array | - | Bucket inventory rules. |
IsTruncated | Bool | true | Whether to list all inventory tasks. The options are as follows:
|
NextContinuationToken | String | next_inventory_id | This field is returned when the inventory tasks in the bucket are not listed completely. You can use this field as the continuation-token parameter for the next request to retrieve the next page of the bucket inventory configuration list. |
Id | String | report | Bucket inventory name. |
IsEnabled | Bool | true | Enable the bucket inventory feature. Valid values:
|
Destination | Array | - | Information related to the inventory file. |
TOSBucketDestination | Array | - | Bucket-related information of the inventory file. Parent node: Destination |
Role | String | TosArchiveTOSInventory | Role name used to grant permission to read all files from the source bucket and write files to the target bucket in object storage. This role must have read and write permissions for TOS and service access rights. You can also use the default TOS role TosArchiveTOSInventory. |
Format | String | CSV | Format of the inventory file. Value CSV means the inventory file format is CSV compressed with GZIP. Parent node: TOSBucketDestination |
AccountId | String | 200000**** | The account ID of the bucket owner. Parent node: TOSBucketDestination |
Bucket | String | bucket_0001 | The bucket to save the manifest file. Parent node: TOSBucketDestination |
Prefix | String | prefix1 | Storage path prefix of the inventory file. Parent node: TOSBucketDestination |
Schedule | Array | - | Bucket list export cycle information. |
Frequency | String | Daily | Inventory file export cycle. Valid values:
Parent node: Schedule |
IncludedObjectVersions | String | All | Exported object versions. Valid values:
|
Filter | Array | - | Prefix for bucket list filtering. After specifying the prefix, the bucket list will export objects matching the prefix setting. |
Prefix | String | Pics/ | Export file prefix matching information. If not set, the manifest will include all objects in the bucket by default. Parent node: Filter |
OptionalFields | Array | - | Information exported from the inventory file. |
Field | String | Size | Information to be exported in the inventory file. Supports multiple selections, with the following options:
Parent node: OptionalFields |