Partilhar via


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()

Gets the api versions that this SKU supports.

abstract AvailabilitySetSkuTypes availabilitySetSkuType()

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

abstract List<ResourceSkuCapabilities> capabilities()

Gets the capabilities of the SKU.

abstract ResourceSkuCapacity capacity()

Gets the scaling information of the SKU.

abstract List<ResourceSkuCosts> costs()

Gets the metadata for querying the SKU pricing information.

abstract DiskSkuTypes diskSkuType()

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

abstract ComputeSkuName name()

Gets the SKU name.

abstract List<Region> regions()

Gets the regions that the SKU is available.

abstract ComputeResourceType resourceType()

Gets the compute resource type that the SKU describes.

abstract List<ResourceSkuRestrictions> restrictions()

Gets the restrictions because of which SKU cannot be used.

abstract ComputeSkuTier tier()

Gets the SKU 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()

Gets the availability zones supported for this SKU.

Method Details

apiVersions

public abstract List apiVersions()

Gets the api versions that this SKU supports.

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()

Gets the capabilities of the SKU.

Returns:

the capabilities of the SKU

capacity

public abstract ResourceSkuCapacity capacity()

Gets the scaling information of the SKU.

Returns:

the scaling information of the SKU

costs

public abstract List costs()

Gets the metadata for querying the SKU pricing information.

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()

Gets the SKU name.

Returns:

the SKU name

regions

public abstract List regions()

Gets the regions that the SKU is available.

Returns:

the regions that the sku is available

resourceType

public abstract ComputeResourceType resourceType()

Gets the compute resource type that the SKU describes.

Returns:

the compute resource type that the SKU describes

restrictions

public abstract List restrictions()

Gets the restrictions because of which SKU cannot be used.

Returns:

the restrictions because of which SKU cannot be used

tier

public abstract ComputeSkuTier tier()

Gets the SKU 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()

Gets the availability zones supported for this SKU.

Returns:

the availability zones supported for this SKU, index by region

Applies to