Share via


BatchPoolSpecification(String) Constructor

Definition

Initializes a new instance of BatchPoolSpecification.

public BatchPoolSpecification (string vmSize);
new Azure.Compute.Batch.BatchPoolSpecification : string -> Azure.Compute.Batch.BatchPoolSpecification
Public Sub New (vmSize As String)

Parameters

vmSize
String

The size of the virtual machines in the Pool. All virtual machines in a Pool are the same size. For information about available sizes of virtual machines in Pools, see Choose a VM size for Compute Nodes in an Azure Batch Pool (https://docs.microsoft.com/azure/batch/batch-pool-vm-sizes).

Exceptions

vmSize is null.

Applies to