Versions in this module Expand all Collapse all v0 v0.20241126.2320 Nov 26, 2024 v0.20241126.1723 Nov 26, 2024 Changes in this version + func PossibleValuesForReservationRecommendationKind() []string + type Amount struct + Currency *string + Value *float64 + type BaseReservationRecommendationImpl struct + ETag *string + Id *string + Kind ReservationRecommendationKind + Location *string + Name *string + Sku *string + Tags *map[string]string + Type *string + func (s BaseReservationRecommendationImpl) ReservationRecommendation() BaseReservationRecommendationImpl + type LegacyReservationRecommendation struct + ETag *string + Id *string + Kind ReservationRecommendationKind + Location *string + Name *string + Properties LegacyReservationRecommendationProperties + Sku *string + Tags *map[string]string + Type *string + func (s LegacyReservationRecommendation) MarshalJSON() ([]byte, error) + func (s LegacyReservationRecommendation) ReservationRecommendation() BaseReservationRecommendationImpl + type LegacyReservationRecommendationProperties struct + CostWithNoReservedInstances *float64 + FirstUsageDate *string + InstanceFlexibilityGroup *string + InstanceFlexibilityRatio *float64 + LookBackPeriod *string + MeterId *string + NetSavings *float64 + NormalizedSize *string + RecommendedQuantity *float64 + RecommendedQuantityNormalized *float64 + ResourceType *string + Scope *string + SkuProperties *[]SkuProperty + Term *string + TotalCostWithReservedInstances *float64 + func (o *LegacyReservationRecommendationProperties) GetFirstUsageDateAsTime() (*time.Time, error) + func (o *LegacyReservationRecommendationProperties) SetFirstUsageDateAsTime(input time.Time) + type ListCompleteResult struct + Items []ReservationRecommendation + LatestHttpResponse *http.Response + type ListCustomPager struct + NextLink *odata.Link + func (p *ListCustomPager) NextPageLink() *odata.Link + type ListOperationOptions struct + Filter *string + func DefaultListOperationOptions() ListOperationOptions + func (o ListOperationOptions) ToHeaders() *client.Headers + func (o ListOperationOptions) ToOData() *odata.Query + func (o ListOperationOptions) ToQuery() *client.QueryParams + type ListOperationResponse struct + HttpResponse *http.Response + Model *[]ReservationRecommendation + OData *odata.OData + type ModernReservationRecommendation struct + ETag *string + Id *string + Kind ReservationRecommendationKind + Location *string + Name *string + Properties ModernReservationRecommendationProperties + Sku *string + Tags *map[string]string + Type *string + func (s ModernReservationRecommendation) MarshalJSON() ([]byte, error) + func (s ModernReservationRecommendation) ReservationRecommendation() BaseReservationRecommendationImpl + type ModernReservationRecommendationProperties struct + CostWithNoReservedInstances *Amount + FirstUsageDate *string + InstanceFlexibilityGroup *string + InstanceFlexibilityRatio *float64 + Location *string + LookBackPeriod *int64 + MeterId *string + NetSavings *Amount + NormalizedSize *string + RecommendedQuantity *float64 + RecommendedQuantityNormalized *float64 + ResourceType *string + Scope *int64 + SkuName *string + SkuProperties *[]SkuProperty + SubscriptionId *string + Term *string + TotalCostWithReservedInstances *Amount + func (o *ModernReservationRecommendationProperties) GetFirstUsageDateAsTime() (*time.Time, error) + func (o *ModernReservationRecommendationProperties) SetFirstUsageDateAsTime(input time.Time) + type RawReservationRecommendationImpl struct + Type string + Values map[string]interface{} + func (s RawReservationRecommendationImpl) ReservationRecommendation() BaseReservationRecommendationImpl + type ReservationRecommendation interface + ReservationRecommendation func() BaseReservationRecommendationImpl + func UnmarshalReservationRecommendationImplementation(input []byte) (ReservationRecommendation, error) + type ReservationRecommendationKind string + const ReservationRecommendationKindLegacy + const ReservationRecommendationKindModern + func (s *ReservationRecommendationKind) UnmarshalJSON(bytes []byte) error + type ReservationRecommendationOperationPredicate struct + func (p ReservationRecommendationOperationPredicate) Matches(input ReservationRecommendation) bool + type ReservationRecommendationsClient struct + Client *resourcemanager.Client + func NewReservationRecommendationsClientWithBaseURI(sdkApi sdkEnv.Api) (*ReservationRecommendationsClient, error) + func (c ReservationRecommendationsClient) List(ctx context.Context, id commonids.ScopeId, options ListOperationOptions) (result ListOperationResponse, err error) + func (c ReservationRecommendationsClient) ListComplete(ctx context.Context, id commonids.ScopeId, options ListOperationOptions) (ListCompleteResult, error) + func (c ReservationRecommendationsClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.ScopeId, options ListOperationOptions, ...) (result ListCompleteResult, err error) + type SkuProperty struct + Name *string + Value *string