你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ArmDevTestLabsModelFactory.DevTestLabCostData 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
初始化 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
参数
ID。
- name
- String
名称。
- resourceType
- ResourceType
resourceType。
- systemData
- SystemData
systemData。
- tags
- IDictionary<String,String>
标记。
- location
- AzureLocation
位置。
- targetCost
- DevTestLabTargetCost
目标成本属性。
- labCostDetails
- IEnumerable<DevTestLabCostDetails>
成本数据的实验室成本详细信息部分。
- resourceCosts
- IEnumerable<DevTestLabResourceCost>
成本数据的资源成本部分。
- currencyCode
- String
成本的货币代码。
- startOn
- Nullable<DateTimeOffset>
成本数据的开始时间。
- endOn
- Nullable<DateTimeOffset>
成本数据的结束时间。
- createdOn
- Nullable<DateTimeOffset>
成本的创建日期。
- provisioningState
- String
资源的预配状态。
返回
用于模拟的新 DevTestLabCostData 实例。
适用于
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈