Class VirtualMachineConfiguration
- java.lang.Object
-
- com.microsoft.azure.management.batch.VirtualMachineConfiguration
-
public class VirtualMachineConfiguration extends Object
The configuration for compute nodes in a pool based on the Azure Virtual Machines infrastructure.
-
-
Constructor Summary
Constructors Constructor Description VirtualMachineConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<DataDisk>dataDisks()Get the dataDisks value.ImageReferenceimageReference()Get the imageReference value.StringlicenseType()Get the licenseType value.StringnodeAgentSkuId()Get the nodeAgentSkuId value.OSDiskosDisk()Get the osDisk value.WindowsConfigurationwindowsConfiguration()Get the windowsConfiguration value.VirtualMachineConfigurationwithDataDisks(List<DataDisk> dataDisks)Set the dataDisks value.VirtualMachineConfigurationwithImageReference(ImageReference imageReference)Set the imageReference value.VirtualMachineConfigurationwithLicenseType(String licenseType)Set the licenseType value.VirtualMachineConfigurationwithNodeAgentSkuId(String nodeAgentSkuId)Set the nodeAgentSkuId value.VirtualMachineConfigurationwithOsDisk(OSDisk osDisk)Set the osDisk value.VirtualMachineConfigurationwithWindowsConfiguration(WindowsConfiguration windowsConfiguration)Set the windowsConfiguration value.
-
-
-
Method Detail
-
imageReference
public ImageReference imageReference()
Get the imageReference value.- Returns:
- the imageReference value
-
withImageReference
public VirtualMachineConfiguration withImageReference(ImageReference imageReference)
Set the imageReference value.- Parameters:
imageReference- the imageReference value to set- Returns:
- the VirtualMachineConfiguration object itself.
-
osDisk
public OSDisk osDisk()
Get the osDisk value.- Returns:
- the osDisk value
-
withOsDisk
public VirtualMachineConfiguration withOsDisk(OSDisk osDisk)
Set the osDisk value.- Parameters:
osDisk- the osDisk value to set- Returns:
- the VirtualMachineConfiguration object itself.
-
nodeAgentSkuId
public String nodeAgentSkuId()
Get the nodeAgentSkuId value.- Returns:
- the nodeAgentSkuId value
-
withNodeAgentSkuId
public VirtualMachineConfiguration withNodeAgentSkuId(String nodeAgentSkuId)
Set the nodeAgentSkuId value.- Parameters:
nodeAgentSkuId- the nodeAgentSkuId value to set- Returns:
- the VirtualMachineConfiguration object itself.
-
windowsConfiguration
public WindowsConfiguration windowsConfiguration()
Get the windowsConfiguration value.- Returns:
- the windowsConfiguration value
-
withWindowsConfiguration
public VirtualMachineConfiguration withWindowsConfiguration(WindowsConfiguration windowsConfiguration)
Set the windowsConfiguration value.- Parameters:
windowsConfiguration- the windowsConfiguration value to set- Returns:
- the VirtualMachineConfiguration object itself.
-
withDataDisks
public VirtualMachineConfiguration withDataDisks(List<DataDisk> dataDisks)
Set the dataDisks value.- Parameters:
dataDisks- the dataDisks value to set- Returns:
- the VirtualMachineConfiguration object itself.
-
licenseType
public String licenseType()
Get the licenseType value.- Returns:
- the licenseType value
-
withLicenseType
public VirtualMachineConfiguration withLicenseType(String licenseType)
Set the licenseType value.- Parameters:
licenseType- the licenseType value to set- Returns:
- the VirtualMachineConfiguration object itself.
-
-