ResourceSkuInner Class
- java.
lang. Object - com.
azure. resourcemanager. compute. fluent. models. ResourceSkuInner
- com.
Implements
public final class ResourceSkuInner
implements JsonSerializable<ResourceSkuInner>
Describes an available Compute SKU.
Constructor Summary
| Constructor | Description |
|---|---|
| ResourceSkuInner() |
Creates an instance of Resource |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| List<String> |
apiVersions()
Get the api |
|
List<Resource |
capabilities()
Get the capabilities property: A name value pair to describe the capability. |
|
Resource |
capacity()
Get the capacity property: Specifies the number of virtual machines in the scale set. |
|
List<Resource |
costs()
Get the costs property: Metadata for retrieving price info. |
| String |
family()
Get the family property: The Family of this particular SKU. |
|
static
Resource |
fromJson(JsonReader jsonReader)
Reads an instance of Resource |
| String |
kind()
Get the kind property: The Kind of resources that are supported in this SKU. |
|
List<Resource |
locationInfo()
Get the location |
| List<String> |
locations()
Get the locations property: The set of locations that the SKU is available. |
| String |
name()
Get the name property: The name of SKU. |
| String |
resourceType()
Get the resource |
|
List<Resource |
restrictions()
Get the restrictions property: The restrictions because of which SKU cannot be used. |
| String |
size()
Get the size property: The Size of the SKU. |
| String |
tier()
Get the tier property: Specifies the tier of virtual machines in a scale set. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
Methods inherited from java.lang.Object
Constructor Details
ResourceSkuInner
public ResourceSkuInner()
Creates an instance of ResourceSkuInner class.
Method Details
apiVersions
public List<String> apiVersions()
Get the apiVersions property: The api versions that support this SKU.
Returns:
capabilities
public List<ResourceSkuCapabilities> capabilities()
Get the capabilities property: A name value pair to describe the capability.
Returns:
capacity
public ResourceSkuCapacity capacity()
Get the capacity property: Specifies the number of virtual machines in the scale set.
Returns:
costs
public List<ResourceSkuCosts> costs()
Get the costs property: Metadata for retrieving price info.
Returns:
family
public String family()
Get the family property: The Family of this particular SKU.
Returns:
fromJson
public static ResourceSkuInner fromJson(JsonReader jsonReader)
Reads an instance of ResourceSkuInner from the JsonReader.
Parameters:
Returns:
Throws:
kind
public String kind()
Get the kind property: The Kind of resources that are supported in this SKU.
Returns:
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:
locations
public List<String> locations()
Get the locations property: The set of locations that the SKU is available.
Returns:
name
public String name()
Get the name property: The name of SKU.
Returns:
resourceType
public String resourceType()
Get the resourceType property: The type of resource the SKU applies to.
Returns:
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:
size
public String size()
Get the size property: The Size of the SKU.
Returns:
tier
public String tier()
Get the tier property: Specifies the tier of virtual machines in a scale set.
Possible Values:
**Standard**
**Basic**.
Returns:
toJson
validate
public void validate()
Validates the instance.