Aracılığıyla paylaş


BenefitRecommendationProperties Class

Definition

The properties of the benefit recommendations. Please note BenefitRecommendationProperties is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include SharedScopeBenefitRecommendationProperties and SingleScopeBenefitRecommendationProperties.

public abstract class BenefitRecommendationProperties
type BenefitRecommendationProperties = class
Public MustInherit Class BenefitRecommendationProperties
Inheritance
BenefitRecommendationProperties
Derived

Constructors

BenefitRecommendationProperties()

Initializes a new instance of BenefitRecommendationProperties.

Properties

AllRecommendationDetails

The list of all benefit recommendations with the recommendation details.

ArmSkuName

ARM SKU name. 'Compute_Savings_Plan' for SavingsPlan.

CommitmentGranularity

Grain of the proposed commitment amount. Supported values: 'Hourly'.

CostWithoutBenefit

The current cost without benefit, corresponds to 'totalHours' in the look-back period.

CurrencyCode

An ISO 4217 currency code identifier for the costs and savings amounts.

FirstConsumptionOn

The first usage date used for looking back for computing the recommendations.

LastConsumptionOn

The last usage date used for looking back for computing the recommendations.

LookBackPeriod

The number of days of usage evaluated for computing the recommendations.

RecommendationDetails

The details of the proposed recommendation.

Term

Term period of the benefit. For example, P1Y or P3Y.

TotalHours

The total hours for which the cost is covered. Its equal to number of records in a property 'properties/usage/charges'.

Usage

On-demand charges between firstConsumptionDate and lastConsumptionDate that were used for computing benefit recommendations.

Applies to