ClusterCreateParameters Class

Cluster creation operation.

Inheritance
ClusterCreateParameters

Constructor

ClusterCreateParameters(*, vm_size: Optional[str] = None, vm_priority: Optional[Union[str, azure.mgmt.batchai.models._batch_ai_enums.VmPriority]] = None, scale_settings: Optional[azure.mgmt.batchai.models._models_py3.ScaleSettings] = None, virtual_machine_configuration: Optional[azure.mgmt.batchai.models._models_py3.VirtualMachineConfiguration] = None, node_setup: Optional[azure.mgmt.batchai.models._models_py3.NodeSetup] = None, user_account_settings: Optional[azure.mgmt.batchai.models._models_py3.UserAccountSettings] = None, subnet: Optional[azure.mgmt.batchai.models._models_py3.ResourceId] = None, **kwargs)

Parameters

vm_size
str
Required

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).

vm_priority
str or <xref:batch_ai.models.VmPriority>
Required

VM priority. Allowed values are: dedicated (default) and lowpriority. Possible values include: "dedicated", "lowpriority".

scale_settings
<xref:batch_ai.models.ScaleSettings>
Required

Scale settings for the cluster. Batch AI service supports manual and auto scale clusters.

virtual_machine_configuration
<xref:batch_ai.models.VirtualMachineConfiguration>
Required

OS image configuration for cluster nodes. All nodes in a cluster have the same OS image.

node_setup
<xref:batch_ai.models.NodeSetup>
Required

Setup to be performed on each compute node in the cluster.

user_account_settings
<xref:batch_ai.models.UserAccountSettings>
Required

Settings for an administrator user account that will be created on each compute node in the cluster.

subnet
<xref:batch_ai.models.ResourceId>
Required

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.