Documentation
¶
Index ¶
- func FilterVMSizes(skus []mgmtcompute.ResourceSku, location string) map[string]*mgmtcompute.ResourceSku
- func HasCapability(sku *mgmtcompute.ResourceSku, capabilityName string) bool
- func IsRestricted(skus map[string]*mgmtcompute.ResourceSku, location, VMSize string) bool
- func SupportedOSDisk(vmSku *mgmtcompute.ResourceSku) string
- func Zones(sku *mgmtcompute.ResourceSku) []string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FilterVMSizes ¶
func FilterVMSizes(skus []mgmtcompute.ResourceSku, location string) map[string]*mgmtcompute.ResourceSku
FilterVMSizes filters resource SKU by location and returns only virtual machines, their names, restrictions, location info, and capabilities.
func HasCapability ¶
func HasCapability(sku *mgmtcompute.ResourceSku, capabilityName string) bool
HasCapability checks whether given resource SKU has specific capability
func IsRestricted ¶
func IsRestricted(skus map[string]*mgmtcompute.ResourceSku, location, VMSize string) bool
IsRestricted checks whether given resource SKU is restricted in a given location
func SupportedOSDisk ¶
func SupportedOSDisk(vmSku *mgmtcompute.ResourceSku) string
SupportedOSDisk returns the type of OSDisk for the given resource. Most VMs will use Premium disks but some SKUs only support Standard SSDs
func Zones ¶
func Zones(sku *mgmtcompute.ResourceSku) []string
Zones returns zone information for the resource SKU
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.