Dela via


SearchModelFactory.SearchResourceCounter(Int64, Nullable<Int64>) Method

Definition

Initializes a new instance of SearchResourceCounter.

public static Azure.Search.Documents.Indexes.Models.SearchResourceCounter SearchResourceCounter (long usage, long? quota);
static member SearchResourceCounter : int64 * Nullable<int64> -> Azure.Search.Documents.Indexes.Models.SearchResourceCounter
Public Shared Function SearchResourceCounter (usage As Long, quota As Nullable(Of Long)) As SearchResourceCounter

Parameters

usage
Int64

The resource usage amount.

quota
Nullable<Int64>

The resource amount quota.

Returns

A new SearchResourceCounter instance for mocking.

Applies to