Release Notes
Announcements
destination-prefix/YYYY-MM-DD-HH/Data/8d1048acf48096d17502bd62efc9f8c1.csv
Field | Description |
FileName | File name. |
ATime | File access time Note: To ensure the best read/write performance, the metadata acceleration bucket does not enable ATime tracing by default. If you need the ATime feature, contact us. |
MTime | Change time of file content |
CTime | Change time of file metadata |
Size | File size (Byte) |
FileType | Print file status as directory or file, output format: DIR (directory) or FILE (file) |
ACL | Print file permissions in digits, for example: 755 |
UserName | Username, for example: hadoop |
GroupName | User group name, for example: supergroup |
StorageClass | The current file storage type. Possible values: STANDARD (standard storage) DEGRADE (infrequent storage) ARCHIVE (archive storage) DEEP_ARCHIVE (deep archive storage) ARCHIVE+STANDARD (archive storage restored to standard) DEEP_ARCHIVE+STANDARD (deep archive storage restored to standard) |
{"version": "2.0","statement": [{"action": "name/sts:AssumeRole","effect": "allow","principal": {"service": "cos.cloud.tencent.com"}}]}
COSBucketDestination needs to be configured as the source bucket.Encryption field cannot be configured when creating a task.IncludedObjectVersions field is unsupported during configuration.OptionalFields field, refer to the example below for input parameters.PUT /?inventory HTTP/1.1Host: <BucketName-APPID>.cos.<Region>.myqcloud.comDate: GMT DateAuthorization: Auth StringContent-MD5: MD5<InventoryConfiguration><IsEnabled>true</IsEnabled><Destination><COSBucketDestination><Format>CSV</Format><AccountId>1000000000</AccountId><Bucket>qcs::cos:ap-beijing::bucketname-100000000</Bucket><Prefix>/testprefix</Prefix></COSBucketDestination></Destination><Schedule><Frequency>Daily</Frequency></Schedule><Filter><Prefix>/my-inventory</Prefix></Filter><OptionalFields><Field>ATime</Field><Field>ACL</Field><Field>MTime</Field><Field>CTime</Field><Field>Size</Field><Field>UserName</Field><Field>GroupName</Field><Field>StorageClass</Field><Field>FileType</Field></OptionalFields></InventoryConfiguration>
HTTP/1.1 200 OKContent-Type: application/xmlContent-Length: 0Date: Mon, 28 Aug 2018 02:53:38 GMTServer: tencent-cosx-cos-request-id: NTlhMzg1ZWVfMjQ4OGY3MGFfMWE1NF8****
GET /?inventory&id=inventory-configuration-ID HTTP/1.1Host: <BucketName-APPID>.cos.<Region>.myqcloud.comDate: GMT DateAuthorization: Auth String
HTTP/1.1 200 OKContent-Type: application/xmlContent-Length: 331Date: Mon, 28 Aug 2018 02:53:39 GMTServer: tencent-cosx-cos-request-id: NTlhMzg1ZWVfMjQ4OGY3MGFfMWE1NF84Y2M<?xml version = "1.0" encoding = "UTF-8"><InventoryConfiguration xmlns = "http://...."><Id>12761</Id><IsEnabled>true</IsEnabled><Destination><COSBucketDestination><Format>CSV</Format><AccountId>1000000000</AccountId><Bucket>qcs::cos:ap-beijing::bucketname-100000000</Bucket><Prefix>/testprefix</Prefix></COSBucketDestination></Destination><Schedule><Frequency>Daily</Frequency></Schedule><Filter><Prefix>/my-inventory</Prefix></Filter><OptionalFields><Field>ATime</Field><Field>ACL</Field><Field>MTime</Field><Field>CTime</Field><Field>Size</Field><Field>UserName</Field><Field>GroupName</Field><Field>StorageClass</Field><Field>FileType</Field></OptionalFields></InventoryConfiguration>
GET /?inventory HTTP/1.1Host: <BucketName-APPID>.cos.<Region>.myqcloud.comDate: GMT DateAuthorization: Auth String
HTTP/1.1 200 OKContent-Type: application/xmlContent-Length: 331Date: Mon, 28 Aug 2018 02:53:39 GMTServer: tencent-cosx-cos-request-id: NTlhMzg1ZWVfMjQ4OGY3MGFfMWE1NF8****<?xml version = "1.0" encoding = "UTF-8"><ListInventoryConfigurationResult xmlns = "http://...."><InventoryConfiguration><Id>12761</Id><IsEnabled>true</IsEnabled><Destination><COSBucketDestination><Format>CSV</Format><AccountId>1000000000</AccountId><Bucket>qcs::cos:ap-beijing::bucketname-100000000</Bucket><Prefix>/testprefix</Prefix></COSBucketDestination></Destination><Schedule><Frequency>Daily</Frequency></Schedule><Filter><Prefix>/my-inventory</Prefix></Filter><OptionalFields><Field>ATime</Field><Field>ACL</Field><Field>MTime</Field><Field>CTime</Field><Field>Size</Field><Field>UserName</Field><Field>GroupName</Field><Field>StorageClass</Field><Field>FileType</Field></OptionalFields></InventoryConfiguration><InventoryConfiguration><Id>12762</Id><IsEnabled>true</IsEnabled><Destination><COSBucketDestination><Format>CSV</Format><AccountId>1000000000</AccountId><Bucket>qcs::cos:ap-beijing::bucketname-100000000</Bucket><Prefix>/testprefix</Prefix></COSBucketDestination></Destination><Schedule><Frequency>Daily</Frequency></Schedule><Filter><Prefix>/my-inventory2</Prefix></Filter><OptionalFields><Field>ATime</Field><Field>ACL</Field><Field>MTime</Field><Field>CTime</Field><Field>Size</Field><Field>UserName</Field><Field>GroupName</Field><Field>StorageClass</Field><Field>FileType</Field></OptionalFields></InventoryConfiguration><IsTruncated>false</IsTruncated></ListInventoryConfigurationResult>
DELETE /?inventory&id=inventory-configuration-id HTTP/1.1Host: <BucketName-APPID>.cos.<Region>.myqcloud.comDate: GMT DateAuthorization: Auth String
HTTP/1.1 204 No ContentServer: tencent-cosDate: Mon, 28 Aug 2018 02:53:40 GMTx-cos-id-2:0dfafa/DAPDIFdafdsfDdfSFFfdfKKJdafasiuKJK2x-cos-request-id: NTlhM2I3M2JfMjQ4OGY3MGFfMWE1NF84****
Was this page helpful?
You can also Contact sales or Submit a Ticket for help.
Help us improve! Rate your documentation experience in 5 mins.
Feedback