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

ArmLabServicesModelFactory.LabServicesUsage 方法

定义

初始化 LabServicesUsage 的新实例。

public static Azure.ResourceManager.LabServices.Models.LabServicesUsage LabServicesUsage (long? currentValue = default, long? limit = default, Azure.ResourceManager.LabServices.Models.LabServicesUsageUnit? unit = default, Azure.ResourceManager.LabServices.Models.LabServicesUsageName name = default, Azure.Core.ResourceIdentifier id = default);
static member LabServicesUsage : Nullable<int64> * Nullable<int64> * Nullable<Azure.ResourceManager.LabServices.Models.LabServicesUsageUnit> * Azure.ResourceManager.LabServices.Models.LabServicesUsageName * Azure.Core.ResourceIdentifier -> Azure.ResourceManager.LabServices.Models.LabServicesUsage
Public Shared Function LabServicesUsage (Optional currentValue As Nullable(Of Long) = Nothing, Optional limit As Nullable(Of Long) = Nothing, Optional unit As Nullable(Of LabServicesUsageUnit) = Nothing, Optional name As LabServicesUsageName = Nothing, Optional id As ResourceIdentifier = Nothing) As LabServicesUsage

参数

currentValue
Nullable<Int64>

当前用法。

limit
Nullable<Int64>

限制整数。

unit
Nullable<LabServicesUsageUnit>

单元详细信息。

name
LabServicesUsageName

名称。

id
ResourceIdentifier

完全限定的 arm 资源 ID。

返回

用于模拟的新 LabServicesUsage 实例。

适用于