InventoryConfiguration
| Parameter | Type | Mandatory (Yes/No) | Description |
|---|---|---|---|
| configurationId | String | Yes | Explanation: ID of a bucket inventory rule. Restrictions: The rule ID allows letters (a–z, A–Z), digits (0–9), hyphens (-), underscores (_), and periods (.). Value range: The value can be up to 64 characters long. Default value: None |
| isEnabled | boolean | Yes | Explanation: Whether the bucket inventory rule is enabled. Value range: true: The rule is enabled, and inventory files are generated. false: The rule is disabled. No inventory file is generated. Default value: true |
| objectPrefix | String | No | Explanation: Prefix for filtering objects. Only objects with the specified name prefix are included in inventory files. Value range: The value must contain 1 to 1,024 characters. Default value: None |
| frequency | String | Yes | Explanation: Intervals when inventories are generated. You can set this parameter to Daily or Weekly. An inventory is generated within one hour from when it is configured for the first time. Then it is generated at the specified intervals. Value range: Daily: Inventories are generated once a day. Weekly: Inventories are generated once a week. Default value: None |
| inventoryFormat | String | Yes | Explanation: Inventory file format. Only the CSV format is supported. Value range: CSV Default value: None |
| destinationBucket | String | Yes | Explanation: Name of the bucket for storing inventories. Restrictions:
Default value: None |
| inventoryPrefix | String | No | Explanation: The prefix of the inventory file name. Value range: The value must contain 1 to 1,024 characters. Default value: If you do not specify this parameter, BucketInventory is used as the prefix by default. |
| includedObjectVersions | String | Yes | Explanation: Whether versions of objects are included in an inventory. Value range:
Default value: None |
| optionalFields | ArrayList<String> | No | Explanation: Additional object metadata fields that are contained in an inventory file. Value range: Size: Object size. LastModifiedDate: The last time when the object was modified. StorageClass: The storage class of the object. ETag: The ETag value of the object. IsMultipartUploaded: Whether the object was uploaded in a multipart upload. ReplicationStatus: The cross-region replication status of the object. EncryptionStatus: The encryption status of the object. BucketKeyStatus: The bucket key status. UserMeta: The user-defined metadata. CRC64: The object's CRC64 value. ObjectType: The object type. Default value: None |
| filter | No | Explanation: Filter criteria for generating bucket inventories. You can filter objects by object name prefix, whether the object is of the latest version, and whether the object is a delete marker. Multiple filter criteria can be combined using the And operator. Restrictions: The filter and objectPrefix parameters are mutually exclusive. If filter is set, it takes precedence. If filter is not set, objectPrefix is used. Value range: For details, see Table 2. Default value: None |
| Parameter | Type | Mandatory (Yes/No) | Description |
|---|---|---|---|
| prefix | String | No | Explanation: Object name prefix used to filter objects. Only objects with the specified name prefix are included in inventory files. Value range: The value must contain 1 to 1,024 characters. Default value: Empty string, indicating that objects are not filtered by name prefix. |
What is your overall rating for this page?
Thank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot