Documentation ¶
Index ¶
- func PossibleValuesForLookBackPeriod() []string
- func PossibleValuesForScope() []string
- func PossibleValuesForTerm() []string
- type GetOperationOptions
- type GetOperationResponse
- type LookBackPeriod
- type ReservationRecommendationDetailsCalculatedSavingsProperties
- type ReservationRecommendationDetailsClient
- type ReservationRecommendationDetailsModel
- type ReservationRecommendationDetailsProperties
- type ReservationRecommendationDetailsResourceProperties
- type ReservationRecommendationDetailsSavingsProperties
- type ReservationRecommendationDetailsUsageProperties
- type Scope
- type Term
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForLookBackPeriod ¶
func PossibleValuesForLookBackPeriod() []string
func PossibleValuesForScope ¶
func PossibleValuesForScope() []string
func PossibleValuesForTerm ¶
func PossibleValuesForTerm() []string
Types ¶
type GetOperationOptions ¶
type GetOperationOptions struct { LookBackPeriod *LookBackPeriod Product *string Region *string Scope *Scope Term *Term }
func DefaultGetOperationOptions ¶
func DefaultGetOperationOptions() GetOperationOptions
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response Model *ReservationRecommendationDetailsModel }
type LookBackPeriod ¶
type LookBackPeriod string
const ( LookBackPeriodLastSevenDays LookBackPeriod = "Last7Days" LookBackPeriodLastSixZeroDays LookBackPeriod = "Last60Days" LookBackPeriodLastThreeZeroDays LookBackPeriod = "Last30Days" )
type ReservationRecommendationDetailsCalculatedSavingsProperties ¶
type ReservationRecommendationDetailsCalculatedSavingsProperties struct { OnDemandCost *float64 `json:"onDemandCost,omitempty"` OverageCost *float64 `json:"overageCost,omitempty"` Quantity *float64 `json:"quantity,omitempty"` ReservationCost *float64 `json:"reservationCost,omitempty"` ReservedUnitCount *float64 `json:"reservedUnitCount,omitempty"` Savings *float64 `json:"savings,omitempty"` TotalReservationCost *float64 `json:"totalReservationCost,omitempty"` }
type ReservationRecommendationDetailsClient ¶
type ReservationRecommendationDetailsClient struct { Client autorest.Client // contains filtered or unexported fields }
func NewReservationRecommendationDetailsClientWithBaseURI ¶
func NewReservationRecommendationDetailsClientWithBaseURI(endpoint string) ReservationRecommendationDetailsClient
func (ReservationRecommendationDetailsClient) Get ¶
func (c ReservationRecommendationDetailsClient) Get(ctx context.Context, id commonids.ScopeId, options GetOperationOptions) (result GetOperationResponse, err error)
Get ...
type ReservationRecommendationDetailsModel ¶
type ReservationRecommendationDetailsModel struct { Etag *string `json:"etag,omitempty"` Id *string `json:"id,omitempty"` Location *string `json:"location,omitempty"` Name *string `json:"name,omitempty"` Properties *ReservationRecommendationDetailsProperties `json:"properties"` Sku *string `json:"sku,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type ReservationRecommendationDetailsProperties ¶
type ReservationRecommendationDetailsProperties struct { Currency *string `json:"currency,omitempty"` Resource *ReservationRecommendationDetailsResourceProperties `json:"resource"` ResourceGroup *string `json:"resourceGroup,omitempty"` Savings *ReservationRecommendationDetailsSavingsProperties `json:"savings"` Scope *string `json:"scope,omitempty"` Usage *ReservationRecommendationDetailsUsageProperties `json:"usage"` }
type ReservationRecommendationDetailsResourceProperties ¶
type ReservationRecommendationDetailsResourceProperties struct { AppliedScopes *[]string `json:"appliedScopes,omitempty"` OnDemandRate *float64 `json:"onDemandRate,omitempty"` Product *string `json:"product,omitempty"` Region *string `json:"region,omitempty"` ReservationRate *float64 `json:"reservationRate,omitempty"` ResourceType *string `json:"resourceType,omitempty"` }
type ReservationRecommendationDetailsSavingsProperties ¶
type ReservationRecommendationDetailsSavingsProperties struct { CalculatedSavings *[]ReservationRecommendationDetailsCalculatedSavingsProperties `json:"calculatedSavings,omitempty"` LookBackPeriod *int64 `json:"lookBackPeriod,omitempty"` RecommendedQuantity *float64 `json:"recommendedQuantity,omitempty"` ReservationOrderTerm *string `json:"reservationOrderTerm,omitempty"` SavingsType *string `json:"savingsType,omitempty"` UnitOfMeasure *string `json:"unitOfMeasure,omitempty"` }
type ReservationRecommendationDetailsUsageProperties ¶
type ReservationRecommendationDetailsUsageProperties struct { FirstConsumptionDate *string `json:"firstConsumptionDate,omitempty"` LastConsumptionDate *string `json:"lastConsumptionDate,omitempty"` LookBackUnitType *string `json:"lookBackUnitType,omitempty"` UsageData *[]float64 `json:"usageData,omitempty"` UsageGrain *string `json:"usageGrain,omitempty"` }
Source Files ¶
- client.go
- constants.go
- method_get_autorest.go
- model_reservationrecommendationdetailscalculatedsavingsproperties.go
- model_reservationrecommendationdetailsmodel.go
- model_reservationrecommendationdetailsproperties.go
- model_reservationrecommendationdetailsresourceproperties.go
- model_reservationrecommendationdetailssavingsproperties.go
- model_reservationrecommendationdetailsusageproperties.go
- version.go
Click to show internal directories.
Click to hide internal directories.