ArmDevTestLabsModelFactory.DevTestLabTargetCost 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.
Properties of a cost target.
public static Azure.ResourceManager.DevTestLabs.Models.DevTestLabTargetCost DevTestLabTargetCost(Azure.ResourceManager.DevTestLabs.Models.DevTestLabTargetCostStatus? status = default, int? target = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.DevTestLabs.Models.DevTestLabCostThreshold> costThresholds = default, DateTimeOffset? cycleStartOn = default, DateTimeOffset? cycleEndOn = default, Azure.ResourceManager.DevTestLabs.Models.DevTestLabReportingCycleType? cycleType = default);
static member DevTestLabTargetCost : Nullable<Azure.ResourceManager.DevTestLabs.Models.DevTestLabTargetCostStatus> * Nullable<int> * seq<Azure.ResourceManager.DevTestLabs.Models.DevTestLabCostThreshold> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<Azure.ResourceManager.DevTestLabs.Models.DevTestLabReportingCycleType> -> Azure.ResourceManager.DevTestLabs.Models.DevTestLabTargetCost
Public Shared Function DevTestLabTargetCost (Optional status As Nullable(Of DevTestLabTargetCostStatus) = Nothing, Optional target As Nullable(Of Integer) = Nothing, Optional costThresholds As IEnumerable(Of DevTestLabCostThreshold) = Nothing, Optional cycleStartOn As Nullable(Of DateTimeOffset) = Nothing, Optional cycleEndOn As Nullable(Of DateTimeOffset) = Nothing, Optional cycleType As Nullable(Of DevTestLabReportingCycleType) = Nothing) As DevTestLabTargetCost
Parameters
- status
- Nullable<DevTestLabTargetCostStatus>
Target cost status.
- costThresholds
- IEnumerable<DevTestLabCostThreshold>
Cost thresholds.
- cycleStartOn
- Nullable<DateTimeOffset>
Reporting cycle start date.
- cycleEndOn
- Nullable<DateTimeOffset>
Reporting cycle end date.
- cycleType
- Nullable<DevTestLabReportingCycleType>
Reporting cycle type.
Returns
A new DevTestLabTargetCost instance for mocking.