Share via


ArmCognitiveServicesModelFactory.CognitiveServicesAccountDeploymentScaleSettings Method

Definition

Initializes a new instance of CognitiveServicesAccountDeploymentScaleSettings.

public static Azure.ResourceManager.CognitiveServices.Models.CognitiveServicesAccountDeploymentScaleSettings CognitiveServicesAccountDeploymentScaleSettings (Azure.ResourceManager.CognitiveServices.Models.CognitiveServicesAccountDeploymentScaleType? scaleType = default, int? capacity = default, int? activeCapacity = default);
static member CognitiveServicesAccountDeploymentScaleSettings : Nullable<Azure.ResourceManager.CognitiveServices.Models.CognitiveServicesAccountDeploymentScaleType> * Nullable<int> * Nullable<int> -> Azure.ResourceManager.CognitiveServices.Models.CognitiveServicesAccountDeploymentScaleSettings
Public Shared Function CognitiveServicesAccountDeploymentScaleSettings (Optional scaleType As Nullable(Of CognitiveServicesAccountDeploymentScaleType) = Nothing, Optional capacity As Nullable(Of Integer) = Nothing, Optional activeCapacity As Nullable(Of Integer) = Nothing) As CognitiveServicesAccountDeploymentScaleSettings

Parameters

scaleType
Nullable<CognitiveServicesAccountDeploymentScaleType>

Deployment scale type.

capacity
Nullable<Int32>

Deployment capacity.

activeCapacity
Nullable<Int32>

Deployment active capacity. This value might be different from capacity if customer recently updated capacity.

Returns

A new CognitiveServicesAccountDeploymentScaleSettings instance for mocking.

Applies to