-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathmeter_mapping.py
More file actions
35 lines (34 loc) · 2.6 KB
/
meter_mapping.py
File metadata and controls
35 lines (34 loc) · 2.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
def map_data(id):
id = id.upper()
return {
'F271A8A388C44D93956A063E1D2FA80B' : 'Static IP Address Usage per IP addresses',
'9E2739BA86744796B465F64674B822BA' : 'Dynamic IP Address Usage per IP addresses',
'B4438D5D-453B-4EE1-B42A-DC72E377F1E4' : 'TableCapacity per GB*hours',
'B5C15376-6C94-4FDD-B655-1A69D138ACA3' : 'PageBlobCapacity per GB*hours',
'B03C6AE7-B080-4BFA-84A3-22C800F315C6' : 'QueueCapacity per GB*hours',
'09F8879E-87E9-4305-A572-4B7BE209F857' : 'BlockBlobCapacity per GB*hours',
'B9FF3CD0-28AA-4762-84BB-FF8FBAEA6A90' : 'TableTransactions per Request count in 10,000s',
'50A1AEAF-8ECA-48A0-8973-A5B3077FEE0D' : 'TableDataTransIn per Ingress data in GB',
'1B8C1DEC-EE42-414B-AA36-6229CF199370' : 'TableDataTransOut per Outgress in GB',
'43DAF82B-4618-444A-B994-40C23F7CD438' : 'BlobTransactions per Requests count in 10,000s',
'9764F92C-E44A-498E-8DC1-AAD66587A810' : 'BlobDataTransIn per Ingress data in GB',
'3023FEF4-ECA5-4D7B-87B3-CFBC061931E8' : 'BlobDataTransOut per Outgress in GB',
'EB43DD12-1AA6-4C4B-872C-FAF15A6785EA' : 'QueueTransactions per Requests count in 10,000s',
'E518E809-E369-4A45-9274-2017B29FFF25' : 'QueueDataTransIn per Ingress data in GB',
'DD0A10BA-A5D6-4CB6-88C0-7D585CEF9FC2' : 'QueueDataTransOut per Outgress in GB',
'FAB6EB84-500B-4A09-A8CA-7358F8BBAEA5' : 'Base VM Size Hours',
'9CD92D4C-BAFD-4492-B278-BEDC2DE8232A' : 'Windows VM Size Hours',
'6DAB500F-A4FD-49C4-956D-229BB9C8C793' : 'VM size hours per VM hours',
'EBF13B9F-B3EA-46FE-BF54-396E93D48AB4' : 'Key Vault transactions per Request count in 10000s',
'D1D04836-075C-4F27-BF65-0A1130EC60ED' : 'Compute Duration per GB Second',
'67CC4AFC-0691-48E1-A4B8-D744D1FEDBDE' : 'Compute Requests per 10 requests',
'957E9F36-2C14-45A1-B6A1-1723EF71A01D' : 'Shared App Service Hours',
'539CDEC7-B4F5-49F6-AAC4-1F15CFF0EDA9' : 'Free App Service Hours',
'88039D51-A206-3A89-E9DE-C5117E2D10A6' : 'Small Standard App Service Hours',
'83A2A13E-4788-78DD-5D55-2831B68ED825' : 'Medium Standard App Service Hours',
'1083B9DB-E9BB-24BE-A5E9-D6FDD0DDEFE6' : 'Large Standard App Service Hours',
'264ACB47-AD38-47F8-ADD3-47F01DC4F473' : 'SNI SSL per Per SNI SSL Binding',
'60B42D72-DC1C-472C-9895-6C516277EDB4' : 'IP SSL Per IP Based SSL Binding',
'CBCFEF9A-B91F-4597-A4D3-01FE334BED82' : 'SQL Server DatabaseSizeHourSqlMeter',
'E6D8CFCD-7734-495E-B1CC-5AB0B9C24BD3' : 'MySQL DatabaseSizeHourMySqlMeter'
}.get(id, "unknown meter id")