@@ -43,58 +43,65 @@ export class UsageReportService {
43
43
usernames : string [ ] = [ ] ;
44
44
valueType : BehaviorSubject < 'minutes' | 'cost' > = new BehaviorSubject < 'minutes' | 'cost' > ( 'cost' )
45
45
skuMapping : { [ key : string ] : string } = {
46
- "Compute - UBUNTU" : 'Ubuntu 2' ,
47
- "Compute - UBUNTU_16_CORE" : 'Ubuntu 16' ,
48
- "Compute - UBUNTU_16_CORE_ARM" : 'Ubuntu 16 (ARM)' ,
49
- "Compute - UBUNTU_2_CORE_ARM" : 'Ubuntu 2 (ARM)' ,
50
- "Compute - UBUNTU_32_CORE" : 'Ubuntu 32' ,
51
- "Compute - UBUNTU_32_CORE_ARM" : 'Ubuntu 32 (ARM)' ,
52
- "Compute - UBUNTU_4_CORE" : 'Ubuntu 4' ,
53
- "Compute - UBUNTU_4_CORE_ARM" : 'Ubuntu 4 (ARM)' ,
54
- "Compute - UBUNTU_4_CORE_GPU" : 'Ubuntu 4 (GPU)' ,
55
- "Compute - UBUNTU_64_CORE" : 'Ubuntu 64' ,
56
- "Compute - UBUNTU_64_CORE_ARM" : 'Ubuntu 64 (ARM)' ,
57
- "Compute - UBUNTU_8_CORE" : 'Ubuntu 8' ,
58
- "Compute - UBUNTU_8_CORE_ARM" : 'Ubuntu 8 (ARM)' ,
59
- "Compute - MACOS" : 'MacOS 3' ,
60
- "Compute - MACOS_12_CORE" : 'MacOS 12' ,
61
- "Compute - MACOS_8_CORE" : 'MacOS 8' ,
62
- "Compute - MACOS_LARGE" : 'MacOS 12 (x86)' ,
63
- "Compute - MACOS_XLARGE" : 'MacOS 6 (M1)' ,
64
- "Compute - WINDOWS" : 'Windows 2' ,
65
- "Compute - WINDOWS_16_CORE" : 'Windows 16' ,
66
- "Compute - WINDOWS_16_CORE_ARM" : 'Windows 16 (ARM)' ,
67
- "Compute - WINDOWS_2_CORE_ARM" : 'Windows 2 (ARM)' ,
68
- "Compute - WINDOWS_32_CORE" : 'Windows 32' ,
69
- "Compute - WINDOWS_32_CORE_ARM" : 'Windows 32 (ARM)' ,
70
- "Compute - WINDOWS_4_CORE" : 'Windows 4' ,
71
- "Compute - WINDOWS_4_CORE_ARM" : 'Windows 4 (ARM)' ,
72
- "Compute - WINDOWS_4_CORE_GPU" : 'Windows 4 (GPU)' ,
73
- "Compute - WINDOWS_64_CORE" : 'Windows 64' ,
74
- "Compute - WINDOWS_64_CORE_ARM" : 'Windows 64 (ARM)' ,
75
- "Compute - WINDOWS_8_CORE" : 'Windows 8' ,
76
- "Compute - WINDOWS_8_CORE_ARM" : 'Windows 8 (ARM)' ,
46
+ "actions_linux" : 'Ubuntu 2' ,
47
+ "actions_linux_16_core" : 'Ubuntu 16' ,
48
+ "actions_linux_16_core_arm" : 'Ubuntu 16 (ARM)' ,
49
+ "actions_linux_2_core_arm" : 'Ubuntu 2 (ARM)' ,
50
+ "actions_linux_32_core" : 'Ubuntu 32' ,
51
+ "actions_linux_32_core_arm" : 'Ubuntu 32 (ARM)' ,
52
+ "actions_linux_4_core" : 'Ubuntu 4' ,
53
+ "actions_linux_4_core_arm" : 'Ubuntu 4 (ARM)' ,
54
+ "actions_linux_4_core_gpu" : 'Ubuntu 4 (GPU)' ,
55
+ "actions_linux_64_core" : 'Ubuntu 64' ,
56
+ "actions_linux_64_core_arm" : 'Ubuntu 64 (ARM)' ,
57
+ "actions_linux_8_core" : 'Ubuntu 8' ,
58
+ "actions_linux_8_core_arm" : 'Ubuntu 8 (ARM)' ,
59
+ "actions_linux_2_core_advanced" : 'Ubuntu 2 (Advanced)' ,
60
+ "actions_macos" : 'MacOS 3' ,
61
+ "actions_macos_12_core" : 'MacOS 12' ,
62
+ "actions_macos_8_core" : 'MacOS 8' ,
63
+ "actions_macos_large" : 'MacOS 12 (x86)' ,
64
+ "actions_macos_xlarge" : 'MacOS 6 (M1)' ,
65
+ "actions_self_hosted_macos" : 'MacOS (Self-Hosted)' ,
66
+ "actions_windows" : 'Windows 2' ,
67
+ "actions_windows_16_core" : 'Windows 16' ,
68
+ "actions_windows_16_core_arm" : 'Windows 16 (ARM)' ,
69
+ "actions_windows_2_core_arm" : 'Windows 2 (ARM)' ,
70
+ "actions_windows_32_core" : 'Windows 32' ,
71
+ "actions_windows_32_core_arm" : 'Windows 32 (ARM)' ,
72
+ "actions_windows_4_core" : 'Windows 4' ,
73
+ "actions_windows_4_core_arm" : 'Windows 4 (ARM)' ,
74
+ "actions_windows_4_core_gpu" : 'Windows 4 (GPU)' ,
75
+ "actions_windows_64_core" : 'Windows 64' ,
76
+ "actions_windows_64_core_arm" : 'Windows 64 (ARM)' ,
77
+ "actions_windows_8_core" : 'Windows 8' ,
78
+ "actions_windows_8_core_arm" : 'Windows 8 (ARM)' ,
79
+ "actions_storage" : 'Actions Storage' ,
80
+ "actions_unknown" : 'Actions Unknown' ,
81
+ "copilot_enterprise" : 'Copilot Enterprise' ,
82
+ "copilot_for_business" : 'Copilot Business' ,
83
+ "git_lfs_storage" : 'Git LFS Storage' ,
84
+ "packages_storage" : 'Packages Storage' ,
77
85
} ;
78
86
skuOrder = [
79
- 'Compute - UBUNTU' ,
80
- 'Compute - UBUNTU_4_CORE' ,
81
- 'Compute - UBUNTU_8_CORE' ,
82
- 'Compute - UBUNTU_16_CORE' ,
83
- 'Compute - UBUNTU_32_CORE' ,
84
- 'Compute - UBUNTU_64_CORE' ,
85
- 'Compute - WINDOWS' ,
86
- // 'Compute - WINDOWS_4_CORE', DOESN'T EXIST
87
- 'Compute - WINDOWS_8_CORE' ,
88
- 'Compute - WINDOWS_16_CORE' ,
89
- 'Compute - WINDOWS_32_CORE' ,
90
- 'Compute - WINDOWS_64_CORE' ,
91
- 'Compute - MACOS' ,
92
- 'Compute - MACOS_12_CORE' ,
93
- 'Compute - MACOS_LARGE' ,
94
- 'Compute - MACOS_XLARGE' ,
95
- 'Data Transfer' ,
96
- 'Shared Storage' ,
97
- 'Copilot Business' ,
87
+ 'actions_linux' ,
88
+ 'actions_linux_4_core' ,
89
+ 'actions_linux_8_core' ,
90
+ 'actions_linux_16_core' ,
91
+ 'actions_linux_32_core' ,
92
+ 'actions_linux_64_core' ,
93
+ 'actions_windows' ,
94
+ // 'actions_windows_4_core', DOESN'T EXIST
95
+ 'actions_windows_8_core' ,
96
+ 'actions_windows_16_core' ,
97
+ 'actions_windows_32_core' ,
98
+ 'actions_windows_64_core' ,
99
+ 'actions_macos' ,
100
+ 'actions_macos_12_core' ,
101
+ 'actions_macos_large' ,
102
+ 'actions_macos_xlarge' ,
103
+ 'actions_storage' ,
104
+ 'copilot_for_business' ,
98
105
] . map ( sku => this . formatSku ( sku ) ) ;
99
106
monthsOrder = [
100
107
'January' ,
0 commit comments