Class ResourceSkuInner
- java.lang.Object
-
- com.azure.resourcemanager.compute.fluent.models.ResourceSkuInner
-
public final class ResourceSkuInner extends Object
Describes an available Compute SKU.
-
-
Constructor Summary
Constructors Constructor Description ResourceSkuInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>apiVersions()Get the apiVersions property: The api versions that support this SKU.List<ResourceSkuCapabilities>capabilities()Get the capabilities property: A name value pair to describe the capability.ResourceSkuCapacitycapacity()Get the capacity property: Specifies the number of virtual machines in the scale set.List<ResourceSkuCosts>costs()Get the costs property: Metadata for retrieving price info.Stringfamily()Get the family property: The Family of this particular SKU.Stringkind()Get the kind property: The Kind of resources that are supported in this SKU.List<ResourceSkuLocationInfo>locationInfo()Get the locationInfo property: A list of locations and availability zones in those locations where the SKU is available.List<String>locations()Get the locations property: The set of locations that the SKU is available.Stringname()Get the name property: The name of SKU.StringresourceType()Get the resourceType property: The type of resource the SKU applies to.List<ResourceSkuRestrictions>restrictions()Get the restrictions property: The restrictions because of which SKU cannot be used.Stringsize()Get the size property: The Size of the SKU.Stringtier()Get the tier property: Specifies the tier of virtual machines in a scale set.<br /><br /> Possible Values:<br /><br /> **Standard**<br /><br /> **Basic**.voidvalidate()Validates the instance.
-
-
-
Method Detail
-
resourceType
public String resourceType()
Get the resourceType property: The type of resource the SKU applies to.- Returns:
- the resourceType value.
-
name
public String name()
Get the name property: The name of SKU.- Returns:
- the name value.
-
tier
public String tier()
Get the tier property: Specifies the tier of virtual machines in a scale set.<br /><br /> Possible Values:<br /><br /> **Standard**<br /><br /> **Basic**.- Returns:
- the tier value.
-
size
public String size()
Get the size property: The Size of the SKU.- Returns:
- the size value.
-
family
public String family()
Get the family property: The Family of this particular SKU.- Returns:
- the family value.
-
kind
public String kind()
Get the kind property: The Kind of resources that are supported in this SKU.- Returns:
- the kind value.
-
capacity
public ResourceSkuCapacity capacity()
Get the capacity property: Specifies the number of virtual machines in the scale set.- Returns:
- the capacity value.
-
locations
public List<String> locations()
Get the locations property: The set of locations that the SKU is available.- Returns:
- the locations value.
-
locationInfo
public List<ResourceSkuLocationInfo> locationInfo()
Get the locationInfo property: A list of locations and availability zones in those locations where the SKU is available.- Returns:
- the locationInfo value.
-
apiVersions
public List<String> apiVersions()
Get the apiVersions property: The api versions that support this SKU.- Returns:
- the apiVersions value.
-
costs
public List<ResourceSkuCosts> costs()
Get the costs property: Metadata for retrieving price info.- Returns:
- the costs value.
-
capabilities
public List<ResourceSkuCapabilities> capabilities()
Get the capabilities property: A name value pair to describe the capability.- Returns:
- the capabilities value.
-
restrictions
public List<ResourceSkuRestrictions> restrictions()
Get the restrictions property: The restrictions because of which SKU cannot be used. This is empty if there are no restrictions.- Returns:
- the restrictions value.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-