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

ArmDevTestLabsModelFactory.DevTestLabCostData 方法

定义

初始化 DevTestLabCostData 的新实例。

public static Azure.ResourceManager.DevTestLabs.DevTestLabCostData DevTestLabCostData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.Core.AzureLocation location = default, Azure.ResourceManager.DevTestLabs.Models.DevTestLabTargetCost targetCost = default, double? estimatedLabCost = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.DevTestLabs.Models.DevTestLabCostDetails> labCostDetails = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.DevTestLabs.Models.DevTestLabResourceCost> resourceCosts = default, string currencyCode = default, DateTimeOffset? startOn = default, DateTimeOffset? endOn = default, DateTimeOffset? createdOn = default, string provisioningState = default, Guid? uniqueIdentifier = default);
static member DevTestLabCostData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * Azure.ResourceManager.DevTestLabs.Models.DevTestLabTargetCost * Nullable<double> * seq<Azure.ResourceManager.DevTestLabs.Models.DevTestLabCostDetails> * seq<Azure.ResourceManager.DevTestLabs.Models.DevTestLabResourceCost> * string * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * string * Nullable<Guid> -> Azure.ResourceManager.DevTestLabs.DevTestLabCostData
Public Shared Function DevTestLabCostData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional location As AzureLocation = Nothing, Optional targetCost As DevTestLabTargetCost = Nothing, Optional estimatedLabCost As Nullable(Of Double) = Nothing, Optional labCostDetails As IEnumerable(Of DevTestLabCostDetails) = Nothing, Optional resourceCosts As IEnumerable(Of DevTestLabResourceCost) = Nothing, Optional currencyCode As String = Nothing, Optional startOn As Nullable(Of DateTimeOffset) = Nothing, Optional endOn As Nullable(Of DateTimeOffset) = Nothing, Optional createdOn As Nullable(Of DateTimeOffset) = Nothing, Optional provisioningState As String = Nothing, Optional uniqueIdentifier As Nullable(Of Guid) = Nothing) As DevTestLabCostData

参数

name
String

名称。

resourceType
ResourceType

resourceType。

systemData
SystemData

systemData。

tags
IDictionary<String,String>

标记。

location
AzureLocation

位置。

targetCost
DevTestLabTargetCost

目标成本属性。

estimatedLabCost
Nullable<Double>

成本数据的实验室成本摘要组件。

labCostDetails
IEnumerable<DevTestLabCostDetails>

成本数据的实验室成本详细信息部分。

resourceCosts
IEnumerable<DevTestLabResourceCost>

成本数据的资源成本部分。

currencyCode
String

成本的货币代码。

startOn
Nullable<DateTimeOffset>

成本数据的开始时间。

endOn
Nullable<DateTimeOffset>

成本数据的结束时间。

createdOn
Nullable<DateTimeOffset>

成本的创建日期。

provisioningState
String

资源的预配状态。

uniqueIdentifier
Nullable<Guid>

资源的唯一不可变标识符 (Guid) 。

返回

用于模拟的新 DevTestLabCostData 实例。

适用于