Interface ComputeSku
-
- All Superinterfaces:
HasInnerModel<ResourceSkuInner>
public interface ComputeSku extends HasInnerModel<ResourceSkuInner>
Type representing sku for an Azure compute resource.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<String>apiVersions()AvailabilitySetSkuTypesavailabilitySetSkuType()The availability set sku type if the sku describes sku for availability set resource type.List<ResourceSkuCapabilities>capabilities()ResourceSkuCapacitycapacity()List<ResourceSkuCosts>costs()DiskSkuTypesdiskSkuType()The managed disk or snapshot sku type if the sku describes sku for disk or snapshot resource type.ComputeSkuNamename()List<com.azure.core.management.Region>regions()ComputeResourceTyperesourceType()List<ResourceSkuRestrictions>restrictions()ComputeSkuTiertier()VirtualMachineSizeTypesvirtualMachineSizeType()The virtual machine size type if the sku describes sku for virtual machine resource type.Map<com.azure.core.management.Region,Set<AvailabilityZoneId>>zones()-
Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.model.HasInnerModel
innerModel
-
-
-
-
Method Detail
-
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 for
VirtualMachine.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 for
Disk.DefinitionStages.WithSku.withSku(DiskSkuTypes),Disk.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 for
AvailabilitySet.DefinitionStages.WithSku.withSku(AvailabilitySetSkuTypes)andAvailabilitySet.UpdateStages.WithSku.withSku(AvailabilitySetSkuTypes).- Returns:
- the availability set sku type
-
regions
List<com.azure.core.management.Region> regions()
- Returns:
- the regions that the sku is available
-
zones
Map<com.azure.core.management.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
-
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
-
-