릴리스 노트
제품 공지
destination-prefix/YYYY-MM-DD-HH/Data/8d1048acf48096d17502bd62efc9f8c1.csv
필드 | 설명 |
FileName | 파일명 |
ATime | 파일의 접근 시간 설명: |
MTime | 파일 내용의 변경 시간 |
CTime | 파일 메타데이터의 변경 시간 |
Size | 파일 크기(단위: Byte) |
FileType | 디렉터리 또는 파일로 출력된 파일 상태, 출력 형식은 DIR(디렉터리) 또는 FILE(파일). |
ACL | 숫자로 출력 파일 권한 표시. 예: 755 |
UserName | 사용자 이름, 예: hadoop |
GroupName | 사용자 그룹 이름, 예: supergroup |
StorageClass | 현재 파일의 스토리지 유형. 가능한 값: STANDARD DEGRADE(즉 STANDARD_IA) ARCHIVE DEEP_ARCHIVE ARCHIVE+STANDARD(ARCHIVE 복구됨) DEEP_ARCHIVE+STANDARD(DEEP_ARCHIVE 복구됨) |
{"version": "2.0","statement": [{"action": "name/sts:AssumeRole","effect": "allow","principal": {"service": "cos.cloud.tencent.com"}}]}
COSBucketDestination을 소스 버킷으로 구성해야 합니다.Encryption 필드 구성을 지원하지 않습니다.IncludedObjectVersions 필드를 지원하지 않습니다.OptionalFields 필드는 다음와 같이 입력해야 합니다.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****
피드백