ComputeSku Interface

Implements

public interface ComputeSku
extends HasInnerModel<ResourceSkuInner>

Type representing sku for an Azure compute resource.

Method Summary

Modifier and Type Method and Description
abstract List<String> apiVersions()
abstract AvailabilitySetSkuTypes availabilitySetSkuType()

The availability set sku type if the sku describes sku for availability set resource type.

abstract List<ResourceSkuCapabilities> capabilities()
abstract ResourceSkuCapacity capacity()
abstract List<ResourceSkuCosts> costs()
abstract DiskSkuTypes diskSkuType()

The managed disk or snapshot sku type if the sku describes sku for disk or snapshot resource type.

abstract ComputeSkuName name()
abstract List<Region> regions()
abstract ComputeResourceType resourceType()
abstract List<ResourceSkuRestrictions> restrictions()
abstract ComputeSkuTier tier()
abstract VirtualMachineSizeTypes virtualMachineSizeType()

The virtual machine size type if the sku describes sku for virtual machine resource type.

abstract Map<Region,Set<AvailabilityZoneId>> zones()

Method Details

apiVersions

public abstract List apiVersions()

Returns:

the api versions that this sku supports

availabilitySetSkuType

public abstract AvailabilitySetSkuTypes availabilitySetSkuType()

The availability set sku type if the sku describes sku for availability set resource type.

The sku type can be used for withSku(AvailabilitySetSkuTypes skuType) and withSku(AvailabilitySetSkuTypes skuType).

Returns:

the availability set sku type

capabilities

public abstract List capabilities()

Returns:

the capabilities of the sku

capacity

public abstract ResourceSkuCapacity capacity()

Returns:

the scaling information of the sku

costs

public abstract List costs()

Returns:

the metadata for querying the sku pricing information

diskSkuType

public abstract DiskSkuTypes diskSkuType()

The managed disk or snapshot sku type if the sku describes sku for disk or snapshot resource type.

The sku type can be used for withSku(DiskSkuTypes sku), withSku(DiskSkuTypes sku).

Returns:

the managed disk or snapshot sku type

name

public abstract ComputeSkuName name()

Returns:

the sku name

regions

public abstract List regions()

Returns:

the regions that the sku is available

resourceType

public abstract ComputeResourceType resourceType()

Returns:

the compute resource type that the sku describes

restrictions

public abstract List restrictions()

Returns:

the restrictions because of which SKU cannot be used

tier

public abstract ComputeSkuTier tier()

Returns:

the sku tier

virtualMachineSizeType

public abstract VirtualMachineSizeTypes virtualMachineSizeType()

The virtual machine size type if the sku describes sku for virtual machine resource type.

The size can be used for withSize(VirtualMachineSizeTypes size) and withSize(VirtualMachineSizeTypes size).

Returns:

the virtual machine size type

zones

public abstract Map> zones()

Returns:

the availability zones supported for this sku, index by region

Applies to