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