Torch Object Storage
Name | Location | Type | Required | Sample Value | Description |
Name | Location | Type | Required | Sample Value | Description |
inventory | Query | String | Yes | - | A special identifier representing a GetBucketInventory request. |
id | Query | String | Yes | report | Bucket inventory name. |
Name | Type | Sample Value | Description |
Name | Type | Sample Value | Description |
InventoryConfiguration | Array | - | Bucket inventory rules. |
Id | String | report | Bucket inventory name. |
IsEnabled | Bool | true | Whether to enable the bucket inventory feature. The values are as follows:
|
Destination | Array | - | Information about the manifest file. |
TOSBucketDestination | Array | - | Bucket-related information for the manifest file. Parent Node: Destination |
Role | String | TosArchiveTOSInventory | Role name that grants the object store permission to read all files in the source bucket and write files to the target bucket. This role must have TOS read and write permissions and service access, or you can use the TOS default role TosArchiveTOSInventory. |
Format | String | CSV | The format of the manifest file. The value is CSV, that is, the format of the manifest file is CSV format compressed using GZIP. Parent Node: TOSBucketDestination |
AccountId | String | 200000**** | The account ID of the bucket owner. Parent Node: TOSBucketDestination |
Bucket | String | bucket_0001 | The bucket where the manifest file is saved. Parent Node: TOSBucketDestination |
Prefix | String | prefix1 | The storage path prefix for the manifest file. Parent Node: TOSBucketDestination |
Schedule | Array | - | Bucket inventory export cycle information. |
Frequency | String | Daily | Cycle of the manifest file export. The values are as follows:
Parent Node: Schedule |
Instant | Bool | true | Whether to enable the instant inventory feature. The values are as follows:
Parent Node: Schedule |
IncludedObjectVersions | String | All | The exported object version. The values are as follows:
|
Filter | Array | - | Prefix for bucket list filtering. After specifying the prefix, the bucket manifest exports objects that match the prefix setting. |
Prefix | String | Pics/ | Export file prefix matching information, if not set, a manifest of all objects in the bucket is generated by default. Parent Node: Filter |
OptionalFields | Array | - | Information exported from the manifest file. |
Field | String | Size | The manifest file needs to export the information. Multiple selection is supported, and the values are as follows:
Parent Node: OptionalFields |