VirtualMachineInfo Class
- java.
lang. Object - com.
azure. compute. batch. models. VirtualMachineInfo
- com.
Implements
public final class VirtualMachineInfo
implements JsonSerializable<VirtualMachineInfo>
Info about the current state of the virtual machine.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Virtual |
fromJson(JsonReader jsonReader)
Reads an instance of Virtual |
|
Batch |
getImageReference()
Get the image |
| String |
getScaleSetVmResourceId()
Get the scale |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Method Details
fromJson
public static VirtualMachineInfo fromJson(JsonReader jsonReader)
Reads an instance of VirtualMachineInfo from the JsonReader.
Parameters:
Returns:
Throws:
getImageReference
public BatchVmImageReference getImageReference()
Get the imageReference property: The reference to the Azure Virtual Machine's Marketplace Image.
Returns:
getScaleSetVmResourceId
public String getScaleSetVmResourceId()
Get the scaleSetVmResourceId property: The resource ID of the Compute Node's current Virtual Machine Scale Set VM. Only defined if the Batch Account was created with its poolAllocationMode property set to 'UserSubscription'.
Returns: