Class ResourceSkuInner
java.lang.Object
com.azure.resourcemanager.compute.fluent.models.ResourceSkuInner
- All Implemented Interfaces:
com.azure.json.JsonSerializable<ResourceSkuInner>
public final class ResourceSkuInner
extends Object
implements com.azure.json.JsonSerializable<ResourceSkuInner>
Describes an available Compute SKU.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the apiVersions property: The api versions that support this SKU.Get the capabilities property: A name value pair to describe the capability.capacity()Get the capacity property: Specifies the number of virtual machines in the scale set.costs()Get the costs property: Metadata for retrieving price info.family()Get the family property: The Family of this particular SKU.static ResourceSkuInnerfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of ResourceSkuInner from the JsonReader.kind()Get the kind property: The Kind of resources that are supported in this SKU.Get the locationInfo property: A list of locations and availability zones in those locations where the SKU is available.Get the locations property: The set of locations that the SKU is available.name()Get the name property: The name of SKU.Get the resourceType property: The type of resource the SKU applies to.Get the restrictions property: The restrictions because of which SKU cannot be used.size()Get the size property: The Size of the SKU.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**.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
ResourceSkuInner
public ResourceSkuInner()Creates an instance of ResourceSkuInner class.
-
-
Method Details
-
resourceType
Get the resourceType property: The type of resource the SKU applies to.- Returns:
- the resourceType value.
-
name
Get the name property: The name of SKU.- Returns:
- the name value.
-
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
Get the size property: The Size of the SKU.- Returns:
- the size value.
-
family
Get the family property: The Family of this particular SKU.- Returns:
- the family value.
-
kind
Get the kind property: The Kind of resources that are supported in this SKU.- Returns:
- the kind value.
-
capacity
Get the capacity property: Specifies the number of virtual machines in the scale set.- Returns:
- the capacity value.
-
locations
Get the locations property: The set of locations that the SKU is available.- Returns:
- the locations value.
-
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
Get the apiVersions property: The api versions that support this SKU.- Returns:
- the apiVersions value.
-
costs
Get the costs property: Metadata for retrieving price info.- Returns:
- the costs value.
-
capabilities
Get the capabilities property: A name value pair to describe the capability.- Returns:
- the capabilities value.
-
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.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<ResourceSkuInner>- Throws:
IOException
-
fromJson
Reads an instance of ResourceSkuInner from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of ResourceSkuInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IOException- If an error occurs while reading the ResourceSkuInner.
-