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

ArmDevTestLabsModelFactory.DevTestLabCostDetails 方法

定义

初始化 DevTestLabCostDetails 的新实例。

public static Azure.ResourceManager.DevTestLabs.Models.DevTestLabCostDetails DevTestLabCostDetails (DateTimeOffset? on = default, double? cost = default, Azure.ResourceManager.DevTestLabs.Models.DevTestLabCostType? costType = default);
static member DevTestLabCostDetails : Nullable<DateTimeOffset> * Nullable<double> * Nullable<Azure.ResourceManager.DevTestLabs.Models.DevTestLabCostType> -> Azure.ResourceManager.DevTestLabs.Models.DevTestLabCostDetails
Public Shared Function DevTestLabCostDetails (Optional on As Nullable(Of DateTimeOffset) = Nothing, Optional cost As Nullable(Of Double) = Nothing, Optional costType As Nullable(Of DevTestLabCostType) = Nothing) As DevTestLabCostDetails

参数

on
Nullable<DateTimeOffset>

成本项的日期。

cost
Nullable<Double>

成本项的成本构成。

costType
Nullable<DevTestLabCostType>

成本的类型。

返回

用于模拟的新 DevTestLabCostDetails 实例。

适用于