VirtualMachineInfo Class

  • java.lang.Object
    • com.microsoft.azure.batch.protocol.models.VirtualMachineInfo

public class VirtualMachineInfo

Info about the current state of the virtual machine.

Constructor Summary

Constructor Description
VirtualMachineInfo()

Method Summary

Modifier and Type Method and Description
ImageReference imageReference()

Get the imageReference value.

String scaleSetVmResourceId()

Get the scaleSetVmResourceId value.

VirtualMachineInfo withImageReference(ImageReference imageReference)

Set the imageReference value.

VirtualMachineInfo withScaleSetVmResourceId(String scaleSetVmResourceId)

Set the scaleSetVmResourceId value.

Methods inherited from java.lang.Object

Constructor Details

VirtualMachineInfo

public VirtualMachineInfo()

Method Details

imageReference

public ImageReference imageReference()

Get the imageReference value.

Returns:

the imageReference value

scaleSetVmResourceId

public String scaleSetVmResourceId()

Get the scaleSetVmResourceId value.

Returns:

the scaleSetVmResourceId value

withImageReference

public VirtualMachineInfo withImageReference(ImageReference imageReference)

Set the imageReference value.

Parameters:

imageReference - the imageReference value to set

Returns:

the VirtualMachineInfo object itself.

withScaleSetVmResourceId

public VirtualMachineInfo withScaleSetVmResourceId(String scaleSetVmResourceId)

Set the scaleSetVmResourceId value.

Parameters:

scaleSetVmResourceId - the scaleSetVmResourceId value to set

Returns:

the VirtualMachineInfo object itself.

Applies to