Class ClusterCreateParameters
java.lang.Object
com.microsoft.azure.management.batchai.ClusterCreateParameters
Cluster creation operation.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet setup to be performed on each compute node in the cluster.Get scale settings for the cluster.subnet()
Get existing virtual network subnet to put the cluster nodes in.Get settings for an administrator user account that will be created on each compute node in the cluster.Get oS image configuration for cluster nodes.Get vM priority.vmSize()
Get the size of the virtual machines in the cluster.withNodeSetup
(NodeSetup nodeSetup) Set setup to be performed on each compute node in the cluster.withScaleSettings
(ScaleSettings scaleSettings) Set scale settings for the cluster.withSubnet
(ResourceId subnet) Set existing virtual network subnet to put the cluster nodes in.withUserAccountSettings
(UserAccountSettings userAccountSettings) Set settings for an administrator user account that will be created on each compute node in the cluster.withVirtualMachineConfiguration
(VirtualMachineConfiguration virtualMachineConfiguration) Set oS image configuration for cluster nodes.withVmPriority
(VmPriority vmPriority) Set vM priority.withVmSize
(String vmSize) Set the size of the virtual machines in the cluster.
-
Constructor Details
-
ClusterCreateParameters
public ClusterCreateParameters()
-
-
Method Details
-
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
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
Get vM priority. Allowed values are: dedicated (default) and lowpriority. Possible values include: 'dedicated', 'lowpriority'.- Returns:
- the vmPriority value
-
withVmPriority
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
Get scale settings for the cluster. Batch AI service supports manual and auto scale clusters.- Returns:
- the scaleSettings value
-
withScaleSettings
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
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
Get setup to be performed on each compute node in the cluster.- Returns:
- the nodeSetup value
-
withNodeSetup
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
Get settings for an administrator user account that will be created on each compute node in the cluster.- Returns:
- the userAccountSettings value
-
withUserAccountSettings
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
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
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.
-