2020-12-04 09:26:20 +03:00
|
|
|
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"
|
2023-07-18 19:14:14 +03:00
|
|
|
// GPUs identifies the capability for the number of GPUS.
|
|
|
|
GPUs = "GPUs"
|
2020-12-04 09:26:20 +03:00
|
|
|
// 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"
|
2021-01-08 05:43:28 +03:00
|
|
|
// CachedDiskBytes identifies the maximum size of the cache disk for
|
2020-12-04 09:26:20 +03:00
|
|
|
// a vm.
|
|
|
|
CachedDiskBytes = "CachedDiskBytes"
|
2021-01-08 05:43:28 +03:00
|
|
|
// MaxResourceVolumeMB identifies the maximum size of the temporary
|
|
|
|
// disk for a vm.
|
|
|
|
MaxResourceVolumeMB = "MaxResourceVolumeMB"
|
2023-07-18 19:14:14 +03:00
|
|
|
// 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"
|
2020-12-04 09:26:20 +03:00
|
|
|
)
|
|
|
|
|
|
|
|
const (
|
|
|
|
// HyperVGeneration1 identifies a sku which supports HyperV
|
|
|
|
// Generation 1.
|
|
|
|
HyperVGeneration1 = "V1"
|
|
|
|
// HyperVGeneration2 identifies a sku which supports HyperV
|
|
|
|
// Generation 2.
|
|
|
|
HyperVGeneration2 = "V2"
|
|
|
|
)
|
2022-08-03 17:43:52 +03:00
|
|
|
|
|
|
|
const (
|
|
|
|
ten = 10
|
|
|
|
sixtyFour = 64
|
|
|
|
)
|