Versions in this module Expand all Collapse all v1 v1.0.20 Dec 19, 2019 Changes in this version + type ProductInfo struct + CloudServiceType string + ExtendParams string + Id string + ResouceSizeMeasureId int + ResourceSize int + ResourceSpecCode string + ResourceType string + UsageFactor string + UsageMeasureId int + UsageValue float64 + type ProductRatingResult struct + Amount *float64 + DiscountAmount *float64 + ExtendParams string + Id string + MeasureId *int + OriginalAmount *float64 + ProductId string + type QueryRatingOpts struct + AvaliableZoneId string + ChargingMode *int + InquiryTime string + PeriodEndDate string + PeriodNum int + PeriodType int + ProductInfo []ProductInfo + RegionId string + RelativeResourceId string + RelativeResourcePeriodType int + SubscriptionNum int + TenantId string + func (opts QueryRatingOpts) ToQueryRatingOptsMap() (map[string]interface{}, error) + type QueryRatingOptsBuilder interface + ToQueryRatingOptsMap func() (map[string]interface{}, error) + type QueryRatingResp struct + ErrorCode string + ErrorMsg string + RatingResult RatingResult + type QueryRatingResult struct + func QueryRating(client *gophercloud.ServiceClient, opts QueryRatingOptsBuilder) (r QueryRatingResult) + func (r QueryRatingResult) Extract() (*QueryRatingResp, error) + type RatingResult struct + Amount *float64 + Currency string + DiscountAmount *float64 + ExtendParams string + MeasureId *int + OriginalAmount *float64 + ProductRatingResult []ProductRatingResult