ArmCognitiveServicesModelFactory.DeploymentSizeCapacity Method

Definition

public static Azure.ResourceManager.CognitiveServices.Models.DeploymentSizeCapacity DeploymentSizeCapacity(int? modelInstanceAcceleratorCount = default, int? totalAvailableCapacity = default, int? largestDeploymentCapacity = default);
static member DeploymentSizeCapacity : Nullable<int> * Nullable<int> * Nullable<int> -> Azure.ResourceManager.CognitiveServices.Models.DeploymentSizeCapacity
Public Shared Function DeploymentSizeCapacity (Optional modelInstanceAcceleratorCount As Nullable(Of Integer) = Nothing, Optional totalAvailableCapacity As Nullable(Of Integer) = Nothing, Optional largestDeploymentCapacity As Nullable(Of Integer) = Nothing) As DeploymentSizeCapacity

Parameters

modelInstanceAcceleratorCount
Nullable<Int32>

The number of accelerators required per model instance.

totalAvailableCapacity
Nullable<Int32>

The total available capacity for this deployment size.

largestDeploymentCapacity
Nullable<Int32>

The largest contiguous deployment capacity available for this deployment size.

Returns

A new DeploymentSizeCapacity instance for mocking.

Applies to