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 PossibleValuesForDatagrain() []string + func ValidateReservationID(input interface{}, key string) (warnings []string, errors []error) + func ValidateReservationOrderID(input interface{}, key string) (warnings []string, errors []error) + type Datagrain string + const DatagrainDaily + const DatagrainMonthly + func (s *Datagrain) UnmarshalJSON(bytes []byte) error + type ReservationId struct + ReservationId string + ReservationOrderId string + func NewReservationID(reservationOrderId string, reservationId string) ReservationId + func ParseReservationID(input string) (*ReservationId, error) + func ParseReservationIDInsensitively(input string) (*ReservationId, error) + func (id *ReservationId) FromParseResult(input resourceids.ParseResult) error + func (id ReservationId) ID() string + func (id ReservationId) Segments() []resourceids.Segment + func (id ReservationId) String() string + type ReservationOrderId struct + ReservationOrderId string + func NewReservationOrderID(reservationOrderId string) ReservationOrderId + func ParseReservationOrderID(input string) (*ReservationOrderId, error) + func ParseReservationOrderIDInsensitively(input string) (*ReservationOrderId, error) + func (id *ReservationOrderId) FromParseResult(input resourceids.ParseResult) error + func (id ReservationOrderId) ID() string + func (id ReservationOrderId) Segments() []resourceids.Segment + func (id ReservationOrderId) String() string + type ReservationSummariesClient struct + Client *resourcemanager.Client + func NewReservationSummariesClientWithBaseURI(sdkApi sdkEnv.Api) (*ReservationSummariesClient, error) + func (c ReservationSummariesClient) ReservationsSummariesList(ctx context.Context, id commonids.ScopeId, ...) (result ReservationsSummariesListOperationResponse, err error) + func (c ReservationSummariesClient) ReservationsSummariesListByReservationOrder(ctx context.Context, id ReservationOrderId, ...) (result ReservationsSummariesListByReservationOrderOperationResponse, err error) + func (c ReservationSummariesClient) ReservationsSummariesListByReservationOrderAndReservation(ctx context.Context, id ReservationId, ...) (...) + func (c ReservationSummariesClient) ReservationsSummariesListByReservationOrderAndReservationComplete(ctx context.Context, id ReservationId, ...) (ReservationsSummariesListByReservationOrderAndReservationCompleteResult, error) + func (c ReservationSummariesClient) ReservationsSummariesListByReservationOrderAndReservationCompleteMatchingPredicate(ctx context.Context, id ReservationId, ...) (result ReservationsSummariesListByReservationOrderAndReservationCompleteResult, ...) + func (c ReservationSummariesClient) ReservationsSummariesListByReservationOrderComplete(ctx context.Context, id ReservationOrderId, ...) (ReservationsSummariesListByReservationOrderCompleteResult, error) + func (c ReservationSummariesClient) ReservationsSummariesListByReservationOrderCompleteMatchingPredicate(ctx context.Context, id ReservationOrderId, ...) (result ReservationsSummariesListByReservationOrderCompleteResult, err error) + func (c ReservationSummariesClient) ReservationsSummariesListComplete(ctx context.Context, id commonids.ScopeId, ...) (ReservationsSummariesListCompleteResult, error) + func (c ReservationSummariesClient) ReservationsSummariesListCompleteMatchingPredicate(ctx context.Context, id commonids.ScopeId, ...) (result ReservationsSummariesListCompleteResult, err error) + type ReservationSummary struct + Etag *string + Id *string + Name *string + Properties *ReservationSummaryProperties + Tags *map[string]string + Type *string + type ReservationSummaryOperationPredicate struct + Etag *string + Id *string + Name *string + Type *string + func (p ReservationSummaryOperationPredicate) Matches(input ReservationSummary) bool + type ReservationSummaryProperties struct + AvgUtilizationPercentage *float64 + Kind *string + MaxUtilizationPercentage *float64 + MinUtilizationPercentage *float64 + PurchasedQuantity *float64 + RemainingQuantity *float64 + ReservationId *string + ReservationOrderId *string + ReservedHours *float64 + SkuName *string + TotalReservedQuantity *float64 + UsageDate *string + UsedHours *float64 + UsedQuantity *float64 + UtilizedPercentage *float64 + func (o *ReservationSummaryProperties) GetUsageDateAsTime() (*time.Time, error) + func (o *ReservationSummaryProperties) SetUsageDateAsTime(input time.Time) + type ReservationsSummariesListByReservationOrderAndReservationCompleteResult struct + Items []ReservationSummary + LatestHttpResponse *http.Response + type ReservationsSummariesListByReservationOrderAndReservationCustomPager struct + NextLink *odata.Link + func (p *ReservationsSummariesListByReservationOrderAndReservationCustomPager) NextPageLink() *odata.Link + type ReservationsSummariesListByReservationOrderAndReservationOperationOptions struct + Filter *string + Grain *Datagrain + func DefaultReservationsSummariesListByReservationOrderAndReservationOperationOptions() ReservationsSummariesListByReservationOrderAndReservationOperationOptions + func (o ReservationsSummariesListByReservationOrderAndReservationOperationOptions) ToHeaders() *client.Headers + func (o ReservationsSummariesListByReservationOrderAndReservationOperationOptions) ToOData() *odata.Query + func (o ReservationsSummariesListByReservationOrderAndReservationOperationOptions) ToQuery() *client.QueryParams + type ReservationsSummariesListByReservationOrderAndReservationOperationResponse struct + HttpResponse *http.Response + Model *[]ReservationSummary + OData *odata.OData + type ReservationsSummariesListByReservationOrderCompleteResult struct + Items []ReservationSummary + LatestHttpResponse *http.Response + type ReservationsSummariesListByReservationOrderCustomPager struct + NextLink *odata.Link + func (p *ReservationsSummariesListByReservationOrderCustomPager) NextPageLink() *odata.Link + type ReservationsSummariesListByReservationOrderOperationOptions struct + Filter *string + Grain *Datagrain + func DefaultReservationsSummariesListByReservationOrderOperationOptions() ReservationsSummariesListByReservationOrderOperationOptions + func (o ReservationsSummariesListByReservationOrderOperationOptions) ToHeaders() *client.Headers + func (o ReservationsSummariesListByReservationOrderOperationOptions) ToOData() *odata.Query + func (o ReservationsSummariesListByReservationOrderOperationOptions) ToQuery() *client.QueryParams + type ReservationsSummariesListByReservationOrderOperationResponse struct + HttpResponse *http.Response + Model *[]ReservationSummary + OData *odata.OData + type ReservationsSummariesListCompleteResult struct + Items []ReservationSummary + LatestHttpResponse *http.Response + type ReservationsSummariesListCustomPager struct + NextLink *odata.Link + func (p *ReservationsSummariesListCustomPager) NextPageLink() *odata.Link + type ReservationsSummariesListOperationOptions struct + EndDate *string + Filter *string + Grain *Datagrain + ReservationId *string + ReservationOrderId *string + StartDate *string + func DefaultReservationsSummariesListOperationOptions() ReservationsSummariesListOperationOptions + func (o ReservationsSummariesListOperationOptions) ToHeaders() *client.Headers + func (o ReservationsSummariesListOperationOptions) ToOData() *odata.Query + func (o ReservationsSummariesListOperationOptions) ToQuery() *client.QueryParams + type ReservationsSummariesListOperationResponse struct + HttpResponse *http.Response + Model *[]ReservationSummary + OData *odata.OData