-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathconst.go
68 lines (62 loc) · 2.62 KB
/
const.go
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
package skewer
const (
// VirtualMachines is the .
VirtualMachines = "virtualMachines"
// Disks is a convenience constant to filter resource SKUs to only include disks.
Disks = "disks"
)
// Supported models an enum of possible boolean values for resource support in the Azure API.
type Supported string
const (
// CapabilitySupported is an enum value for the string "True" returned when a SKU supports a binary capability.
CapabilitySupported Supported = "True"
// CapabilityUnsupported is an enum value for the string "False" returned when a SKU does not support a binary capability.
CapabilityUnsupported Supported = "False"
)
const (
// EphemeralOSDisk identifies the capability for ephemeral os support.
EphemeralOSDisk = "EphemeralOSDiskSupported"
// AcceleratedNetworking identifies the capability for accelerated networking support.
AcceleratedNetworking = "AcceleratedNetworkingEnabled"
// VCPUs identifies the capability for the number of vCPUS.
VCPUs = "vCPUs"
// GPUs identifies the capability for the number of GPUS.
GPUs = "GPUs"
// MemoryGB identifies the capability for memory capacity.
MemoryGB = "MemoryGB"
// HyperVGenerations identifies the hyper-v generations this vm sku supports.
HyperVGenerations = "HyperVGenerations"
// EncryptionAtHost identifies the capability for accelerated networking support.
EncryptionAtHost = "EncryptionAtHostSupported"
// UltraSSDAvailable identifies the capability for ultra ssd
// enablement.
UltraSSDAvailable = "UltraSSDAvailable"
// CachedDiskBytes identifies the maximum size of the cache disk for
// a vm.
CachedDiskBytes = "CachedDiskBytes"
// MaxResourceVolumeMB identifies the maximum size of the temporary
// disk for a vm.
MaxResourceVolumeMB = "MaxResourceVolumeMB"
// CapabilityPremiumIO identifies the capability for PremiumIO.
CapabilityPremiumIO = "PremiumIO"
// CapabilityCpuArchitectureType identifies the type of CPU architecture (x64,Arm64).
CapabilityCPUArchitectureType = "CpuArchitectureType"
// CapabilityTrustedLaunchDisabled identifes whether TrustedLaunch is disabled.
CapabilityTrustedLaunchDisabled = "TrustedLaunchDisabled"
// CapabilityConfidentialComputingType identifies the type of ConfidentialComputing.
CapabilityConfidentialComputingType = "ConfidentialComputingType"
// ConfidentialComputingTypeSNP denoted the "SNP" ConfidentialComputing.
ConfidentialComputingTypeSNP = "SNP"
)
const (
// HyperVGeneration1 identifies a sku which supports HyperV
// Generation 1.
HyperVGeneration1 = "V1"
// HyperVGeneration2 identifies a sku which supports HyperV
// Generation 2.
HyperVGeneration2 = "V2"
)
const (
ten = 10
sixtyFour = 64
)