InstanceSku Class
- java.
lang. Object - com.
azure. resourcemanager. compute. models. InstanceSku
- com.
Implements
public final class InstanceSku
implements JsonSerializable<InstanceSku>
The role instance SKU.
Constructor Summary
Constructor | Description |
---|---|
InstanceSku() |
Creates an instance of Instance |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Instance |
fromJson(JsonReader jsonReader)
Reads an instance of Instance |
String |
name()
Get the name property: The sku name. |
String |
tier()
Get the tier property: The tier of the cloud service role instance. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Methods inherited from java.lang.Object
Constructor Details
InstanceSku
public InstanceSku()
Creates an instance of InstanceSku class.
Method Details
fromJson
public static InstanceSku fromJson(JsonReader jsonReader)
Reads an instance of InstanceSku from the JsonReader.
Parameters:
Returns:
Throws:
name
public String name()
Get the name property: The sku name.
Returns:
tier
public String tier()
Get the tier property: The tier of the cloud service role instance.
Returns:
toJson
validate
public void validate()
Validates the instance.
Applies to
Azure SDK for Java