ArmCognitiveServicesModelFactory.CognitiveServicesComputePool Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.