Share via


ArmSearchModelFactory.QuotaUsageResult Method

Definition

Initializes a new instance of QuotaUsageResult.

public static Azure.ResourceManager.Search.Models.QuotaUsageResult QuotaUsageResult (Azure.Core.ResourceIdentifier id = default, string unit = default, int? currentValue = default, int? limit = default, Azure.ResourceManager.Search.Models.QuotaUsageResultName name = default);
static member QuotaUsageResult : Azure.Core.ResourceIdentifier * string * Nullable<int> * Nullable<int> * Azure.ResourceManager.Search.Models.QuotaUsageResultName -> Azure.ResourceManager.Search.Models.QuotaUsageResult
Public Shared Function QuotaUsageResult (Optional id As ResourceIdentifier = Nothing, Optional unit As String = Nothing, Optional currentValue As Nullable(Of Integer) = Nothing, Optional limit As Nullable(Of Integer) = Nothing, Optional name As QuotaUsageResultName = Nothing) As QuotaUsageResult

Parameters

id
ResourceIdentifier

The resource ID of the quota usage SKU endpoint for Microsoft.Search provider.

unit
String

The unit of measurement for the search SKU.

currentValue
Nullable<Int32>

The currently used up value for the particular search SKU.

limit
Nullable<Int32>

The quota limit for the particular search SKU.

name
QuotaUsageResultName

The name of the SKU supported by Azure AI Search.

Returns

A new QuotaUsageResult instance for mocking.

Applies to