Share via


DocumentAnalysisModelFactory.ResourceQuotaDetails Method

Definition

Initializes a new instance of ResourceQuotaDetails.

public static Azure.AI.FormRecognizer.DocumentAnalysis.ResourceQuotaDetails ResourceQuotaDetails (int used = 0, int quota = 0, DateTimeOffset quotaResetsOn = default);
static member ResourceQuotaDetails : int * int * DateTimeOffset -> Azure.AI.FormRecognizer.DocumentAnalysis.ResourceQuotaDetails
Public Shared Function ResourceQuotaDetails (Optional used As Integer = 0, Optional quota As Integer = 0, Optional quotaResetsOn As DateTimeOffset = Nothing) As ResourceQuotaDetails

Parameters

used
Int32

Amount of the resource quota used.

quota
Int32

Resource quota limit.

quotaResetsOn
DateTimeOffset

Date/time when the resource quota usage will be reset.

Returns

A new ResourceQuotaDetails instance for mocking.

Applies to