Reviewed-by: gtema <artem.goncharov@gmail.com> Co-authored-by: Xiong, Chen Xiao <chenxiaoxiong@huawei.com> Co-committed-by: Xiong, Chen Xiao <chenxiaoxiong@huawei.com>
19 KiB
The PUT Payload Unit CDR Content
Field |
Location |
Type |
Description |
Remarks |
---|---|---|---|---|
RecordType |
1 |
String |
Type of a record in a file. |
Number of normal offline CDR records: 20 Number of corrected error offline CDR records: 30 |
TimeStamp |
2 |
String |
Time when an offline CDR record is generated. |
UTC Format: YYYYMMDDHH24MISS |
UserID |
3 |
String |
Unique ID of a subscriber. |
The value is the same as the value of ProjectID. |
RegionCode |
4 |
String |
ID of a region. |
ID of a region. |
AZCode |
5 |
String |
Code of an available zone. |
Code of an available zone. |
CloudServiceTypeCode |
6 |
String |
Type of a cloud service. |
Cloud service type corresponding to ResourceID. For example, cloudservicetype for VM in EC2 is recorded as otc.service.type.ec2, and cloudservicetype for VM in VDC is recorded as otc.service.type.vdc. For DIS: the string is otc.service.type.dis |
ResourceTypeCode |
7 |
String |
Type of a cloud resource. |
Cloud resource type corresponding to ResourceID, such as VM. ResourceType is a resource type specified by CloudServiceType, and CloudServiceType contains multiple sets of ResourceType. For example, EC2 is provided by VM, Volume, IP, and Image, and EC2 is a CloudServiceType, and VM, Volume, IP, and Image are ResourceType. For DIS: the string is otc.resource.type.dis |
ResourceSpecCode |
8 |
String |
Code of specified resource specifications. |
There are two type resourcespeccode for DIS: dis.general.partition dis.advanced.partition |
ResourceID |
9 |
String |
ID of a resource instance. |
ID of the partition in the DIS stream instance. The ID is different from partitions. |
BSSParams |
10 |
String |
Extended operation parameter. |
The contract ID of one tenant. The contract ID is the xdomain_id of user token. |
BeginTime |
11 |
String |
Start time of the statistics period of a record. |
UTC Format: YYYYMMDDHH24MISS |
EndTime |
12 |
String |
End time of the statistics period of a record. |
UTC Format: YYYYMMDDHH24MISS |
InputTraffic |
13 |
String |
Name of a specific accumulative factor. |
Accumulative factor: InputUnitNum |
InputTrafficValue |
14 |
Double |
Accumulative value of AccumulateFactorName. |
Accumulative value of InputUnitNum. This is the total Num of input record(sum/million) in the partition during this time period. The value unit is sum/million . |
ExtendParams |
15 |
String |
Extended field. |
This field indicates the amount of data the user is actually putting. |
ProductID |
16 |
String |
Product ID of this service |
Product ID: OTC_DIS_GEN_UNIT OTC_DIS_ADV_UNIT |
CET/CEST BeginTime |
17 |
String |
Start time of the statistics period of a record. |
Server Local Time: YYYYMMDDHH24MISS |
CET/CEST EndTime |
18 |
String |
End time of the statistics period of a record. |
Server Local Time: YYYYMMDDHH24MISS |
Tag |
19 |
String |
Extended field. |
This field is not used in DIS service, the value is empty. |
Example of PUT Payload Unit CDR content:
20|20161013150423 | a21be352dfa7682dfa768dfa7682dfdf | eu-west-0 | | otc.service.type.dis | otc.resource.type.dispayloadunit | dis.general.partition | 1dbcee33-7837-4316-852d-5d9f27f11e28 |00000000001000003344 | 20161013130000 | 20161013135959 | InputUnitNum | 12000 | 3201284 | OTC_DIS_GEN_UNIT |20161013140000 | 20161013145959|