Interface ComputeSku
- All Superinterfaces:
HasInner<com.microsoft.azure.management.compute.implementation.ResourceSkuInner>
public interface ComputeSku
extends HasInner<com.microsoft.azure.management.compute.implementation.ResourceSkuInner>
Type representing sku for an Azure compute resource.
-
Method Summary
Modifier and TypeMethodDescriptionThe availability set sku type if the sku describes sku for availability set resource type.capacity()
costs()
The managed disk or snapshot sku type if the sku describes sku for disk or snapshot resource type.name()
regions()
tier()
The virtual machine size type if the sku describes sku for virtual machine resource type.zones()
-
Method Details
-
name
ComputeSkuName name()- Returns:
- the sku name
-
tier
ComputeSkuTier tier()- Returns:
- the sku tier
-
resourceType
ComputeResourceType resourceType()- Returns:
- the compute resource type that the sku describes
-
virtualMachineSizeType
VirtualMachineSizeTypes virtualMachineSizeType()The virtual machine size type if the sku describes sku for virtual machine resource type. The size can be used forVirtualMachine.DefinitionStages.WithVMSize.withSize(VirtualMachineSizeTypes)
andVirtualMachine.Update.withSize(VirtualMachineSizeTypes)
.- Returns:
- the virtual machine size type
-
diskSkuType
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 forDisk.DefinitionStages.WithSku.withSku(DiskSkuTypes)
,Disk.UpdateStages.WithSku.withSku(DiskSkuTypes)
,Snapshot.DefinitionStages.WithSku.withSku(DiskSkuTypes)
andSnapshot.UpdateStages.WithSku.withSku(DiskSkuTypes)
.- Returns:
- the managed disk or snapshot sku type
-
availabilitySetSkuType
AvailabilitySetSkuTypes availabilitySetSkuType()The availability set sku type if the sku describes sku for availability set resource type. The sku type can be used forAvailabilitySet.DefinitionStages.WithSku.withSku(AvailabilitySetSkuTypes)
andAvailabilitySet.UpdateStages.WithSku.withSku(AvailabilitySetSkuTypes)
.- Returns:
- the availability set sku type
-
regions
- Returns:
- the regions that the sku is available
-
zones
Map<Region,Set<AvailabilityZoneId>> zones()- Returns:
- the availability zones supported for this sku, index by region
-
capacity
ResourceSkuCapacity capacity()- Returns:
- the scaling information of the sku
-
apiVersions
- Returns:
- the api versions that this sku supports
-
costs
List<ResourceSkuCosts> costs()- Returns:
- the metadata for querying the sku pricing information
-
capabilities
List<ResourceSkuCapabilities> capabilities()- Returns:
- the capabilities of the sku
-
restrictions
List<ResourceSkuRestrictions> restrictions()- Returns:
- the restrictions because of which SKU cannot be used
-