File: legacy_csv_config.yml

package info (click to toggle)
python-cloudkittyclient 5.3.1-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 748 kB
  • sloc: python: 3,512; makefile: 26; sh: 2
file content (17 lines) | stat: -rw-r--r-- 630 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# This exact file format must be respected (- column_name: json_path)
# The path is interpreted using jsonpath-rw-ext, see
# https://github.com/sileht/python-jsonpath-rw-ext for syntax reference
- 'UsageStart': '$.begin'
- 'UsageEnd': '$.end'
- 'ResourceId': '$.desc.resource_id'
- 'Operation': '$.operation'
- 'UserId': '$.desc.user_id'
- 'ProjectId': '$.desc.project_id'
- 'ItemName': '$.desc.name'
- 'ItemFlavor': '$.desc.flavor_name'
- 'ItemFlavorId': '$.desc.flavor_id'
- 'AvailabilityZone': '$.desc.availability_zone'
- 'Service': '$.service'
- 'UsageQuantity': '$.volume'
- 'RateValue': '$.rate_value'
- 'Cost': '$.rating'