你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ArmSearchModelFactory.QuotaUsageResult 方法

定义

初始化 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

参数

id
ResourceIdentifier

Microsoft.Search 提供程序的配额使用情况 SKU 终结点的资源 ID。

unit
String

搜索 SKU 的度量单位。

currentValue
Nullable<Int32>

特定搜索 SKU 的当前用过的值。

limit
Nullable<Int32>

特定搜索 SKU 的配额限制。

name
QuotaUsageResultName

Azure 认知搜索支持的 SKU 的名称。

返回

用于模拟的新 QuotaUsageResult 实例。

适用于