Class IncludedQuantityUtilizationSummary
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.costmanagement.fluent.models.BenefitUtilizationSummaryInner
com.azure.resourcemanager.costmanagement.models.IncludedQuantityUtilizationSummary
Included Quantity utilization summary resource.
-
Constructor Summary
ConstructorDescriptionCreates an instance of IncludedQuantityUtilizationSummary class. -
Method Summary
Modifier and TypeMethodDescriptionGet the armSkuName property: ARM SKU name.Get the benefitId property: The benefit ID is the identifier of the benefit.Get the benefitOrderId property: The benefit order ID is the identifier for a benefit purchase.Get the benefitType property: The benefit type.Get the usageDate property: Date corresponding to the utilization summary record.Get the utilizationPercentage property: This is the utilized percentage for the benefit ID.void
validate()
Validates the instance.withBenefitType
(BenefitKind benefitType) Set the benefitType property: The benefit type.Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
IncludedQuantityUtilizationSummary
public IncludedQuantityUtilizationSummary()Creates an instance of IncludedQuantityUtilizationSummary class.
-
-
Method Details
-
utilizationPercentage
Get the utilizationPercentage property: This is the utilized percentage for the benefit ID.- Returns:
- the utilizationPercentage value.
-
armSkuName
Get the armSkuName property: ARM SKU name. For example, 'Compute_Savings_Plan' for savings plan.- Returns:
- the armSkuName value.
-
benefitId
Get the benefitId property: The benefit ID is the identifier of the benefit.- Returns:
- the benefitId value.
-
benefitOrderId
Get the benefitOrderId property: The benefit order ID is the identifier for a benefit purchase.- Returns:
- the benefitOrderId value.
-
benefitType
Get the benefitType property: The benefit type. Supported values: 'SavingsPlan'.- Returns:
- the benefitType value.
-
withBenefitType
Set the benefitType property: The benefit type. Supported values: 'SavingsPlan'.- Parameters:
benefitType
- the benefitType value to set.- Returns:
- the IncludedQuantityUtilizationSummary object itself.
-
usageDate
Get the usageDate property: 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.- Returns:
- the usageDate value.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classBenefitUtilizationSummaryInner
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-