ArmDevTestLabsModelFactory.DevTestLabCostData Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of 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
Parameters
The id.
- name
- String
The name.
- resourceType
- ResourceType
The resourceType.
- systemData
- SystemData
The systemData.
- tags
- IDictionary<String,String>
The tags.
- location
- AzureLocation
The location.
- targetCost
- DevTestLabTargetCost
The target cost properties.
- labCostDetails
- IEnumerable<DevTestLabCostDetails>
The lab cost details component of the cost data.
- resourceCosts
- IEnumerable<DevTestLabResourceCost>
The resource cost component of the cost data.
- currencyCode
- String
The currency code of the cost.
- startOn
- Nullable<DateTimeOffset>
The start time of the cost data.
- endOn
- Nullable<DateTimeOffset>
The end time of the cost data.
- createdOn
- Nullable<DateTimeOffset>
The creation date of the cost.
- provisioningState
- String
The provisioning status of the resource.
Returns
A new DevTestLabCostData instance for mocking.
Applies to
Azure SDK for .NET