Class ClusterCreateParameters

java.lang.Object
com.microsoft.azure.management.batchai.ClusterCreateParameters

public class ClusterCreateParameters extends Object
Cluster creation operation.
  • Constructor Details

    • ClusterCreateParameters

      public ClusterCreateParameters()
  • Method Details

    • vmSize

      public String vmSize()
      Get the size of the virtual machines in the cluster. All nodes in a cluster have the same VM size. For information about available VM sizes for clusters using images from the Virtual Machines Marketplace see Sizes for Virtual Machines (Linux). Batch AI service supports all Azure VM sizes except STANDARD_A0 and those with premium storage (STANDARD_GS, STANDARD_DS, and STANDARD_DSV2 series).
      Returns:
      the vmSize value
    • withVmSize

      public ClusterCreateParameters withVmSize(String vmSize)
      Set the size of the virtual machines in the cluster. All nodes in a cluster have the same VM size. For information about available VM sizes for clusters using images from the Virtual Machines Marketplace see Sizes for Virtual Machines (Linux). Batch AI service supports all Azure VM sizes except STANDARD_A0 and those with premium storage (STANDARD_GS, STANDARD_DS, and STANDARD_DSV2 series).
      Parameters:
      vmSize - the vmSize value to set
      Returns:
      the ClusterCreateParameters object itself.
    • vmPriority

      public VmPriority vmPriority()
      Get vM priority. Allowed values are: dedicated (default) and lowpriority. Possible values include: 'dedicated', 'lowpriority'.
      Returns:
      the vmPriority value
    • withVmPriority

      public ClusterCreateParameters withVmPriority(VmPriority vmPriority)
      Set vM priority. Allowed values are: dedicated (default) and lowpriority. Possible values include: 'dedicated', 'lowpriority'.
      Parameters:
      vmPriority - the vmPriority value to set
      Returns:
      the ClusterCreateParameters object itself.
    • scaleSettings

      public ScaleSettings scaleSettings()
      Get scale settings for the cluster. Batch AI service supports manual and auto scale clusters.
      Returns:
      the scaleSettings value
    • withScaleSettings

      public ClusterCreateParameters withScaleSettings(ScaleSettings scaleSettings)
      Set scale settings for the cluster. Batch AI service supports manual and auto scale clusters.
      Parameters:
      scaleSettings - the scaleSettings value to set
      Returns:
      the ClusterCreateParameters object itself.
    • virtualMachineConfiguration

      public VirtualMachineConfiguration virtualMachineConfiguration()
      Get oS image configuration for cluster nodes. All nodes in a cluster have the same OS image.
      Returns:
      the virtualMachineConfiguration value
    • withVirtualMachineConfiguration

      public ClusterCreateParameters withVirtualMachineConfiguration(VirtualMachineConfiguration virtualMachineConfiguration)
      Set oS image configuration for cluster nodes. All nodes in a cluster have the same OS image.
      Parameters:
      virtualMachineConfiguration - the virtualMachineConfiguration value to set
      Returns:
      the ClusterCreateParameters object itself.
    • nodeSetup

      public NodeSetup nodeSetup()
      Get setup to be performed on each compute node in the cluster.
      Returns:
      the nodeSetup value
    • withNodeSetup

      public ClusterCreateParameters withNodeSetup(NodeSetup nodeSetup)
      Set setup to be performed on each compute node in the cluster.
      Parameters:
      nodeSetup - the nodeSetup value to set
      Returns:
      the ClusterCreateParameters object itself.
    • userAccountSettings

      public UserAccountSettings userAccountSettings()
      Get settings for an administrator user account that will be created on each compute node in the cluster.
      Returns:
      the userAccountSettings value
    • withUserAccountSettings

      public ClusterCreateParameters withUserAccountSettings(UserAccountSettings userAccountSettings)
      Set settings for an administrator user account that will be created on each compute node in the cluster.
      Parameters:
      userAccountSettings - the userAccountSettings value to set
      Returns:
      the ClusterCreateParameters object itself.
    • subnet

      public ResourceId subnet()
      Get existing virtual network subnet to put the cluster nodes in. Note, if a File Server mount configured in node setup, the File Server's subnet will be used automatically.
      Returns:
      the subnet value
    • withSubnet

      public ClusterCreateParameters withSubnet(ResourceId subnet)
      Set existing virtual network subnet to put the cluster nodes in. Note, if a File Server mount configured in node setup, the File Server's subnet will be used automatically.
      Parameters:
      subnet - the subnet value to set
      Returns:
      the ClusterCreateParameters object itself.