Share via


ArmCognitiveServicesModelFactory.CommitmentQuota Method

Definition

Initializes a new instance of CommitmentQuota.

public static Azure.ResourceManager.CognitiveServices.Models.CommitmentQuota CommitmentQuota (long? quantity = default, string unit = default);
static member CommitmentQuota : Nullable<int64> * string -> Azure.ResourceManager.CognitiveServices.Models.CommitmentQuota
Public Shared Function CommitmentQuota (Optional quantity As Nullable(Of Long) = Nothing, Optional unit As String = Nothing) As CommitmentQuota

Parameters

quantity
Nullable<Int64>

Commitment quota quantity.

unit
String

Commitment quota unit.

Returns

A new CommitmentQuota instance for mocking.

Applies to