ArmCostManagementModelFactory.IncludedQuantityUtilizationSummary Method

Definition

Initializes a new instance of IncludedQuantityUtilizationSummary.

public static Azure.ResourceManager.CostManagement.Models.IncludedQuantityUtilizationSummary IncludedQuantityUtilizationSummary (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string armSkuName = default, string benefitId = default, string benefitOrderId = default, Azure.ResourceManager.CostManagement.Models.BillingAccountBenefitKind? benefitType = default, DateTimeOffset? usageOn = default, decimal? utilizationPercentage = default);
static member IncludedQuantityUtilizationSummary : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * string * string * Nullable<Azure.ResourceManager.CostManagement.Models.BillingAccountBenefitKind> * Nullable<DateTimeOffset> * Nullable<decimal> -> Azure.ResourceManager.CostManagement.Models.IncludedQuantityUtilizationSummary
Public Shared Function IncludedQuantityUtilizationSummary (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional armSkuName As String = Nothing, Optional benefitId As String = Nothing, Optional benefitOrderId As String = Nothing, Optional benefitType As Nullable(Of BillingAccountBenefitKind) = Nothing, Optional usageOn As Nullable(Of DateTimeOffset) = Nothing, Optional utilizationPercentage As Nullable(Of Decimal) = Nothing) As IncludedQuantityUtilizationSummary

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

armSkuName
String

ARM SKU name. For example, 'Compute_Savings_Plan' for savings plan.

benefitId
String

The benefit ID is the identifier of the benefit.

benefitOrderId
String

The benefit order ID is the identifier for a benefit purchase.

benefitType
Nullable<BillingAccountBenefitKind>

The benefit type. Supported values: 'SavingsPlan'.

usageOn
Nullable<DateTimeOffset>

Date corresponding to the utilization summary record. If the grain of data is monthly, value for this field will be first day of the month.

utilizationPercentage
Nullable<Decimal>

This is the utilized percentage for the benefit ID.

Returns

A new IncludedQuantityUtilizationSummary instance for mocking.

Applies to