Class VirtualMachineConfiguration


  • public class VirtualMachineConfiguration
    extends Object
    The configuration for compute nodes in a pool based on the Azure Virtual Machines infrastructure.
    • Constructor Detail

      • VirtualMachineConfiguration

        public VirtualMachineConfiguration()
    • 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.
      • dataDisks

        public List<DataDisk> dataDisks()
        Get the dataDisks value.
        Returns:
        the dataDisks value
      • 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.