ArmCognitiveServicesModelFactory.CognitiveServicesComputePool Method

Definition

public static Azure.ResourceManager.CognitiveServices.Models.CognitiveServicesComputePool CognitiveServicesComputePool(string name = default, Azure.ResourceManager.CognitiveServices.Models.VmPriority vmPriority = default, string instanceType = default, int nodeCount = 0);
static member CognitiveServicesComputePool : string * Azure.ResourceManager.CognitiveServices.Models.VmPriority * string * int -> Azure.ResourceManager.CognitiveServices.Models.CognitiveServicesComputePool
Public Shared Function CognitiveServicesComputePool (Optional name As String = Nothing, Optional vmPriority As VmPriority = Nothing, Optional instanceType As String = Nothing, Optional nodeCount As Integer = 0) As CognitiveServicesComputePool

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.

Returns

A new CognitiveServicesComputePool instance for mocking.

Applies to