Interface ComputeSku
- All Superinterfaces:
HasInnerModel<ResourceSkuInner>
Type representing sku for an Azure compute resource.
-
Method Summary
Modifier and TypeMethodDescriptionGets the api versions that this SKU supports.The availability set sku type if the sku describes sku for availability set resource type.Gets the capabilities of the SKU.capacity()Gets the scaling information of the SKU.costs()Gets the metadata for querying the SKU pricing information.The managed disk or snapshot sku type if the sku describes sku for disk or snapshot resource type.name()Gets the SKU name.List<com.azure.core.management.Region> regions()Gets the regions that the SKU is available.Gets the compute resource type that the SKU describes.Gets the restrictions because of which SKU cannot be used.tier()Gets the SKU tier.The virtual machine size type if the sku describes sku for virtual machine resource type.Map<com.azure.core.management.Region, Set<AvailabilityZoneId>> zones()Gets the availability zones supported for this SKU.Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.model.HasInnerModel
innerModel
-
Method Details
-
name
ComputeSkuName name()Gets the SKU name.- Returns:
- the SKU name
-
tier
ComputeSkuTier tier()Gets the SKU tier.- Returns:
- the SKU tier
-
resourceType
ComputeResourceType resourceType()Gets the compute resource type that the SKU describes.- 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()Gets the regions that the SKU is available.- Returns:
- the regions that the sku is available
-
zones
Map<com.azure.core.management.Region,Set<AvailabilityZoneId>> zones()Gets the availability zones supported for this SKU.- Returns:
- the availability zones supported for this SKU, index by region
-
capacity
ResourceSkuCapacity capacity()Gets the scaling information of the SKU.- Returns:
- the scaling information of the SKU
-
apiVersions
Gets the api versions that this SKU supports.- Returns:
- the api versions that this SKU supports
-
costs
List<ResourceSkuCosts> costs()Gets the metadata for querying the SKU pricing information.- Returns:
- the metadata for querying the SKU pricing information
-
capabilities
List<ResourceSkuCapabilities> capabilities()Gets the capabilities of the SKU.- Returns:
- the capabilities of the SKU
-
restrictions
List<ResourceSkuRestrictions> restrictions()Gets the restrictions because of which SKU cannot be used.- Returns:
- the restrictions because of which SKU cannot be used
-