BenefitRecommendationProperties interface

The properties of the benefit recommendations.

Properties

allRecommendationDetails

The list of all benefit recommendations with the recommendation details. NOTE: This property will not be serialized. It can only be populated by the server.

armSkuName

ARM SKU name. 'Compute_Savings_Plan' for SavingsPlan. NOTE: This property will not be serialized. It can only be populated by the server.

commitmentGranularity

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

costWithoutBenefit

The current cost without benefit, corresponds to 'totalHours' in the look-back period. NOTE: This property will not be serialized. It can only be populated by the server.

currencyCode

An ISO 4217 currency code identifier for the costs and savings amounts. NOTE: This property will not be serialized. It can only be populated by the server.

firstConsumptionDate

The first usage date used for looking back for computing the recommendations. NOTE: This property will not be serialized. It can only be populated by the server.

lastConsumptionDate

The last usage date used for looking back for computing the recommendations. NOTE: This property will not be serialized. It can only be populated by the server.

lookBackPeriod

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

recommendationDetails

The details of the proposed recommendation.

scope

Polymorphic discriminator, which specifies the different types this object can be

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'. NOTE: This property will not be serialized. It can only be populated by the server.

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. NOTE: This property will not be serialized. It can only be populated by the server.

allRecommendationDetails?: AllSavingsList

Property Value

armSkuName

ARM SKU name. 'Compute_Savings_Plan' for SavingsPlan. NOTE: This property will not be serialized. It can only be populated by the server.

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. NOTE: This property will not be serialized. It can only be populated by the server.

costWithoutBenefit?: number

Property Value

number

currencyCode

An ISO 4217 currency code identifier for the costs and savings amounts. NOTE: This property will not be serialized. It can only be populated by the server.

currencyCode?: string

Property Value

string

firstConsumptionDate

The first usage date used for looking back for computing the recommendations. NOTE: This property will not be serialized. It can only be populated by the server.

firstConsumptionDate?: Date

Property Value

Date

lastConsumptionDate

The last usage date used for looking back for computing the recommendations. NOTE: This property will not be serialized. It can only be populated by the server.

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

Polymorphic discriminator, which specifies the different types this object can be

scope: "Single" | "Shared"

Property Value

"Single" | "Shared"

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'. NOTE: This property will not be serialized. It can only be populated by the server.

totalHours?: number

Property Value

number

usage

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

usage?: RecommendationUsageDetails

Property Value