BenefitRecommendationProperties interface

The properties of the benefit recommendations.

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.

firstConsumptionDate

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

lastConsumptionDate

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.

scope

The discriminator possible values: Single, Shared

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.

Property Details

allRecommendationDetails

The list of all benefit recommendations with the recommendation details.

allRecommendationDetails?: AllSavingsList

Property Value

armSkuName

ARM SKU name. 'Compute_Savings_Plan' for SavingsPlan.

armSkuName?: string

Property Value

string

commitmentGranularity

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

commitmentGranularity?: string

Property Value

string

costWithoutBenefit

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

costWithoutBenefit?: number

Property Value

number

currencyCode

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

currencyCode?: string

Property Value

string

firstConsumptionDate

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

firstConsumptionDate?: Date

Property Value

Date

lastConsumptionDate

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

lastConsumptionDate?: Date

Property Value

Date

lookBackPeriod

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

lookBackPeriod?: string

Property Value

string

recommendationDetails

The details of the proposed recommendation.

recommendationDetails?: AllSavingsBenefitDetails

Property Value

scope

The discriminator possible values: Single, Shared

scope: string

Property Value

string

term

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

term?: string

Property Value

string

totalHours

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

totalHours?: number

Property Value

number

usage

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

usage?: RecommendationUsageDetails

Property Value