/
operating_system.go
22 lines (21 loc) · 1.11 KB
/
operating_system.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
package usage
/*
OperatingSystem returns AWS Pricing OperatingSystem from Usage Platform.
*/
var OperatingSystem = map[string]string{
"Amazon Linux": "Linux", // PreInstalled: NA
"Linux/UNIX": "Linux", // PreInstalled: NA
"Linux/UNIX (Amazon VPC)": "Linux", // PreInstalled: NA
"Linux with SQL Standard": "Linux", // PreInstalled: SQL Standard
"Linux with SQL Web": "Linux", // PreInstalled: SQL Web
"Linux with SQL Enterprise": "Linux", // PreInstalled: SQL Enterprise
"Red Hat Enterprise Linux": "RHEL", // PreInstalled: NA
"SUSE Linux": "SUSE", // PreInstalled: NA
"Windows": "Windows", // PreInstalled: NA
"Windows (Amazon VPC)": "Windows", // PreInstalled: NA
"Windows with SQL Standard": "Windows", // PreInstalled: SQL Standard
"Windows with SQL Web": "Windows", // PreInstalled: SQL Web
"Windows with SQL Enterprise": "Windows", // PreInstalled: SQL Enterprise
"Windows (BYOL)": "", // pricing not found
"NoOperatingSystem": "", // pricing not found
}