ReservationRecommendationDetailsClient Interface

public interface ReservationRecommendationDetailsClient

An instance of this class provides access to all the operations defined in ReservationRecommendationDetailsClient.

Method Summary

Modifier and Type Method and Description
abstract ReservationRecommendationDetailsModelInner get(String scope, String region, Term term, LookBackPeriod lookBackPeriod, String product)

Details of a reservation recommendation for what-if analysis of reserved instances.

abstract Response<ReservationRecommendationDetailsModelInner> getWithResponse(String scope, String region, Term term, LookBackPeriod lookBackPeriod, String product, Context context)

Details of a reservation recommendation for what-if analysis of reserved instances.

Method Details

get

public abstract ReservationRecommendationDetailsModelInner get(String scope, String region, Term term, LookBackPeriod lookBackPeriod, String product)

Details of a reservation recommendation for what-if analysis of reserved instances.

Parameters:

scope - The scope associated with reservation recommendation details operations. This includes '/subscriptions/{subscriptionId}/' for subscription scope, '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for resource group scope, /providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for BillingAccount scope, and '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}' for billingProfile scope.
region - Used to select the region the recommendation should be generated for.
term - Specify length of reservation recommendation term.
lookBackPeriod - Filter the time period on which reservation recommendation results are based.
product - Filter the products for which reservation recommendation results are generated. Examples: Standard_DS1_v2 (for VM), Premium_SSD_Managed_Disks_P30 (for Managed Disks).

Returns:

reservation recommendation details.

getWithResponse

public abstract Response getWithResponse(String scope, String region, Term term, LookBackPeriod lookBackPeriod, String product, Context context)

Details of a reservation recommendation for what-if analysis of reserved instances.

Parameters:

scope - The scope associated with reservation recommendation details operations. This includes '/subscriptions/{subscriptionId}/' for subscription scope, '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for resource group scope, /providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for BillingAccount scope, and '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}' for billingProfile scope.
region - Used to select the region the recommendation should be generated for.
term - Specify length of reservation recommendation term.
lookBackPeriod - Filter the time period on which reservation recommendation results are based.
product - Filter the products for which reservation recommendation results are generated. Examples: Standard_DS1_v2 (for VM), Premium_SSD_Managed_Disks_P30 (for Managed Disks).
context - The context to associate with this operation.

Returns:

reservation recommendation details.

Applies to