CognitiveServicesComputePool(String, VmPriority, String, Int32) Constructor

Definition

Initializes a new instance of CognitiveServicesComputePool.

public CognitiveServicesComputePool(string name, Azure.ResourceManager.CognitiveServices.Models.VmPriority vmPriority, string instanceType, int nodeCount);
new Azure.ResourceManager.CognitiveServices.Models.CognitiveServicesComputePool : string * Azure.ResourceManager.CognitiveServices.Models.VmPriority * string * int -> Azure.ResourceManager.CognitiveServices.Models.CognitiveServicesComputePool
Public Sub New (name As String, vmPriority As VmPriority, instanceType As String, nodeCount As Integer)

Parameters

name
String

The name of the pool.

vmPriority
VmPriority

The VM priority of the pool.

instanceType
String

The instance type (VM SKU) used in the pool.

nodeCount
Int32

The number of nodes in the pool.

Exceptions

name or instanceType is null.

Applies to