ArmDevTestLabsModelFactory.DevTestLabCostDetails Method

Definition

Initializes a new instance of 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

Parameters

on
Nullable<DateTimeOffset>

The date of the cost item.

cost
Nullable<Double>

The cost component of the cost item.

costType
Nullable<DevTestLabCostType>

The type of the cost.

Returns

A new DevTestLabCostDetails instance for mocking.

Applies to