Documentation ¶
Index ¶
- func ValidateReservationID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateReservationOrderID(input interface{}, key string) (warnings []string, errors []error)
- type ReservationDetail
- type ReservationDetailOperationPredicate
- type ReservationDetailProperties
- type ReservationDetailsClient
- func (c ReservationDetailsClient) ReservationsDetailsList(ctx context.Context, id commonids.ScopeId, ...) (resp ReservationsDetailsListOperationResponse, err error)
- func (c ReservationDetailsClient) ReservationsDetailsListByReservationOrder(ctx context.Context, id ReservationOrderId, ...) (resp ReservationsDetailsListByReservationOrderOperationResponse, err error)
- func (c ReservationDetailsClient) ReservationsDetailsListByReservationOrderAndReservation(ctx context.Context, id ReservationId, ...) (resp ReservationsDetailsListByReservationOrderAndReservationOperationResponse, ...)
- func (c ReservationDetailsClient) ReservationsDetailsListByReservationOrderAndReservationComplete(ctx context.Context, id ReservationId, ...) (ReservationsDetailsListByReservationOrderAndReservationCompleteResult, error)
- func (c ReservationDetailsClient) ReservationsDetailsListByReservationOrderAndReservationCompleteMatchingPredicate(ctx context.Context, id ReservationId, ...) (resp ReservationsDetailsListByReservationOrderAndReservationCompleteResult, ...)
- func (c ReservationDetailsClient) ReservationsDetailsListByReservationOrderComplete(ctx context.Context, id ReservationOrderId, ...) (ReservationsDetailsListByReservationOrderCompleteResult, error)
- func (c ReservationDetailsClient) ReservationsDetailsListByReservationOrderCompleteMatchingPredicate(ctx context.Context, id ReservationOrderId, ...) (resp ReservationsDetailsListByReservationOrderCompleteResult, err error)
- func (c ReservationDetailsClient) ReservationsDetailsListComplete(ctx context.Context, id commonids.ScopeId, ...) (ReservationsDetailsListCompleteResult, error)
- func (c ReservationDetailsClient) ReservationsDetailsListCompleteMatchingPredicate(ctx context.Context, id commonids.ScopeId, ...) (resp ReservationsDetailsListCompleteResult, err error)
- type ReservationId
- type ReservationOrderId
- type ReservationsDetailsListByReservationOrderAndReservationCompleteResult
- type ReservationsDetailsListByReservationOrderAndReservationOperationOptions
- type ReservationsDetailsListByReservationOrderAndReservationOperationResponse
- type ReservationsDetailsListByReservationOrderCompleteResult
- type ReservationsDetailsListByReservationOrderOperationOptions
- type ReservationsDetailsListByReservationOrderOperationResponse
- type ReservationsDetailsListCompleteResult
- type ReservationsDetailsListOperationOptions
- type ReservationsDetailsListOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateReservationID ¶
ValidateReservationID checks that 'input' can be parsed as a Reservation ID
func ValidateReservationOrderID ¶
ValidateReservationOrderID checks that 'input' can be parsed as a Reservation Order ID
Types ¶
type ReservationDetail ¶
type ReservationDetailOperationPredicate ¶
type ReservationDetailOperationPredicate struct { ETag *string Id *string Name *string Type *string }
func (ReservationDetailOperationPredicate) Matches ¶
func (p ReservationDetailOperationPredicate) Matches(input ReservationDetail) bool
type ReservationDetailProperties ¶
type ReservationDetailProperties struct { InstanceFlexibilityGroup *string `json:"instanceFlexibilityGroup,omitempty"` InstanceFlexibilityRatio *string `json:"instanceFlexibilityRatio,omitempty"` InstanceId *string `json:"instanceId,omitempty"` Kind *string `json:"kind,omitempty"` ReservationId *string `json:"reservationId,omitempty"` ReservationOrderId *string `json:"reservationOrderId,omitempty"` ReservedHours *float64 `json:"reservedHours,omitempty"` SkuName *string `json:"skuName,omitempty"` TotalReservedQuantity *float64 `json:"totalReservedQuantity,omitempty"` UsageDate *string `json:"usageDate,omitempty"` UsedHours *float64 `json:"usedHours,omitempty"` }
func (*ReservationDetailProperties) GetUsageDateAsTime ¶
func (o *ReservationDetailProperties) GetUsageDateAsTime() (*time.Time, error)
func (*ReservationDetailProperties) SetUsageDateAsTime ¶
func (o *ReservationDetailProperties) SetUsageDateAsTime(input time.Time)
type ReservationDetailsClient ¶
type ReservationDetailsClient struct { Client autorest.Client // contains filtered or unexported fields }
func NewReservationDetailsClientWithBaseURI ¶
func NewReservationDetailsClientWithBaseURI(endpoint string) ReservationDetailsClient
func (ReservationDetailsClient) ReservationsDetailsList ¶
func (c ReservationDetailsClient) ReservationsDetailsList(ctx context.Context, id commonids.ScopeId, options ReservationsDetailsListOperationOptions) (resp ReservationsDetailsListOperationResponse, err error)
ReservationsDetailsList ...
func (ReservationDetailsClient) ReservationsDetailsListByReservationOrder ¶
func (c ReservationDetailsClient) ReservationsDetailsListByReservationOrder(ctx context.Context, id ReservationOrderId, options ReservationsDetailsListByReservationOrderOperationOptions) (resp ReservationsDetailsListByReservationOrderOperationResponse, err error)
ReservationsDetailsListByReservationOrder ...
func (ReservationDetailsClient) ReservationsDetailsListByReservationOrderAndReservation ¶
func (c ReservationDetailsClient) ReservationsDetailsListByReservationOrderAndReservation(ctx context.Context, id ReservationId, options ReservationsDetailsListByReservationOrderAndReservationOperationOptions) (resp ReservationsDetailsListByReservationOrderAndReservationOperationResponse, err error)
ReservationsDetailsListByReservationOrderAndReservation ...
func (ReservationDetailsClient) ReservationsDetailsListByReservationOrderAndReservationComplete ¶
func (c ReservationDetailsClient) ReservationsDetailsListByReservationOrderAndReservationComplete(ctx context.Context, id ReservationId, options ReservationsDetailsListByReservationOrderAndReservationOperationOptions) (ReservationsDetailsListByReservationOrderAndReservationCompleteResult, error)
ReservationsDetailsListByReservationOrderAndReservationComplete retrieves all of the results into a single object
func (ReservationDetailsClient) ReservationsDetailsListByReservationOrderAndReservationCompleteMatchingPredicate ¶
func (c ReservationDetailsClient) ReservationsDetailsListByReservationOrderAndReservationCompleteMatchingPredicate(ctx context.Context, id ReservationId, options ReservationsDetailsListByReservationOrderAndReservationOperationOptions, predicate ReservationDetailOperationPredicate) (resp ReservationsDetailsListByReservationOrderAndReservationCompleteResult, err error)
ReservationsDetailsListByReservationOrderAndReservationCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (ReservationDetailsClient) ReservationsDetailsListByReservationOrderComplete ¶
func (c ReservationDetailsClient) ReservationsDetailsListByReservationOrderComplete(ctx context.Context, id ReservationOrderId, options ReservationsDetailsListByReservationOrderOperationOptions) (ReservationsDetailsListByReservationOrderCompleteResult, error)
ReservationsDetailsListByReservationOrderComplete retrieves all of the results into a single object
func (ReservationDetailsClient) ReservationsDetailsListByReservationOrderCompleteMatchingPredicate ¶
func (c ReservationDetailsClient) ReservationsDetailsListByReservationOrderCompleteMatchingPredicate(ctx context.Context, id ReservationOrderId, options ReservationsDetailsListByReservationOrderOperationOptions, predicate ReservationDetailOperationPredicate) (resp ReservationsDetailsListByReservationOrderCompleteResult, err error)
ReservationsDetailsListByReservationOrderCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (ReservationDetailsClient) ReservationsDetailsListComplete ¶
func (c ReservationDetailsClient) ReservationsDetailsListComplete(ctx context.Context, id commonids.ScopeId, options ReservationsDetailsListOperationOptions) (ReservationsDetailsListCompleteResult, error)
ReservationsDetailsListComplete retrieves all of the results into a single object
func (ReservationDetailsClient) ReservationsDetailsListCompleteMatchingPredicate ¶
func (c ReservationDetailsClient) ReservationsDetailsListCompleteMatchingPredicate(ctx context.Context, id commonids.ScopeId, options ReservationsDetailsListOperationOptions, predicate ReservationDetailOperationPredicate) (resp ReservationsDetailsListCompleteResult, err error)
ReservationsDetailsListCompleteMatchingPredicate retrieves all of the results and then applied the predicate
type ReservationId ¶
ReservationId is a struct representing the Resource ID for a Reservation
func NewReservationID ¶
func NewReservationID(reservationOrderId string, reservationId string) ReservationId
NewReservationID returns a new ReservationId struct
func ParseReservationID ¶
func ParseReservationID(input string) (*ReservationId, error)
ParseReservationID parses 'input' into a ReservationId
func ParseReservationIDInsensitively ¶
func ParseReservationIDInsensitively(input string) (*ReservationId, error)
ParseReservationIDInsensitively parses 'input' case-insensitively into a ReservationId note: this method should only be used for API response data and not user input
func (ReservationId) ID ¶
func (id ReservationId) ID() string
ID returns the formatted Reservation ID
func (ReservationId) Segments ¶
func (id ReservationId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Reservation ID
func (ReservationId) String ¶
func (id ReservationId) String() string
String returns a human-readable description of this Reservation ID
type ReservationOrderId ¶
type ReservationOrderId struct {
ReservationOrderId string
}
ReservationOrderId is a struct representing the Resource ID for a Reservation Order
func NewReservationOrderID ¶
func NewReservationOrderID(reservationOrderId string) ReservationOrderId
NewReservationOrderID returns a new ReservationOrderId struct
func ParseReservationOrderID ¶
func ParseReservationOrderID(input string) (*ReservationOrderId, error)
ParseReservationOrderID parses 'input' into a ReservationOrderId
func ParseReservationOrderIDInsensitively ¶
func ParseReservationOrderIDInsensitively(input string) (*ReservationOrderId, error)
ParseReservationOrderIDInsensitively parses 'input' case-insensitively into a ReservationOrderId note: this method should only be used for API response data and not user input
func (ReservationOrderId) ID ¶
func (id ReservationOrderId) ID() string
ID returns the formatted Reservation Order ID
func (ReservationOrderId) Segments ¶
func (id ReservationOrderId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Reservation Order ID
func (ReservationOrderId) String ¶
func (id ReservationOrderId) String() string
String returns a human-readable description of this Reservation Order ID
type ReservationsDetailsListByReservationOrderAndReservationCompleteResult ¶
type ReservationsDetailsListByReservationOrderAndReservationCompleteResult struct {
Items []ReservationDetail
}
type ReservationsDetailsListByReservationOrderAndReservationOperationOptions ¶
type ReservationsDetailsListByReservationOrderAndReservationOperationOptions struct {
Filter *string
}
func DefaultReservationsDetailsListByReservationOrderAndReservationOperationOptions ¶
func DefaultReservationsDetailsListByReservationOrderAndReservationOperationOptions() ReservationsDetailsListByReservationOrderAndReservationOperationOptions
type ReservationsDetailsListByReservationOrderAndReservationOperationResponse ¶
type ReservationsDetailsListByReservationOrderAndReservationOperationResponse struct { HttpResponse *http.Response Model *[]ReservationDetail // contains filtered or unexported fields }
func (ReservationsDetailsListByReservationOrderAndReservationOperationResponse) HasMore ¶
func (r ReservationsDetailsListByReservationOrderAndReservationOperationResponse) HasMore() bool
type ReservationsDetailsListByReservationOrderCompleteResult ¶
type ReservationsDetailsListByReservationOrderCompleteResult struct {
Items []ReservationDetail
}
type ReservationsDetailsListByReservationOrderOperationOptions ¶
type ReservationsDetailsListByReservationOrderOperationOptions struct {
Filter *string
}
func DefaultReservationsDetailsListByReservationOrderOperationOptions ¶
func DefaultReservationsDetailsListByReservationOrderOperationOptions() ReservationsDetailsListByReservationOrderOperationOptions
type ReservationsDetailsListByReservationOrderOperationResponse ¶
type ReservationsDetailsListByReservationOrderOperationResponse struct { HttpResponse *http.Response Model *[]ReservationDetail // contains filtered or unexported fields }
func (ReservationsDetailsListByReservationOrderOperationResponse) HasMore ¶
func (r ReservationsDetailsListByReservationOrderOperationResponse) HasMore() bool
func (ReservationsDetailsListByReservationOrderOperationResponse) LoadMore ¶
func (r ReservationsDetailsListByReservationOrderOperationResponse) LoadMore(ctx context.Context) (resp ReservationsDetailsListByReservationOrderOperationResponse, err error)
type ReservationsDetailsListCompleteResult ¶
type ReservationsDetailsListCompleteResult struct {
Items []ReservationDetail
}
type ReservationsDetailsListOperationOptions ¶
type ReservationsDetailsListOperationOptions struct { EndDate *string Filter *string ReservationId *string ReservationOrderId *string StartDate *string }
func DefaultReservationsDetailsListOperationOptions ¶
func DefaultReservationsDetailsListOperationOptions() ReservationsDetailsListOperationOptions
type ReservationsDetailsListOperationResponse ¶
type ReservationsDetailsListOperationResponse struct { HttpResponse *http.Response Model *[]ReservationDetail // contains filtered or unexported fields }
func (ReservationsDetailsListOperationResponse) HasMore ¶
func (r ReservationsDetailsListOperationResponse) HasMore() bool
func (ReservationsDetailsListOperationResponse) LoadMore ¶
func (r ReservationsDetailsListOperationResponse) LoadMore(ctx context.Context) (resp ReservationsDetailsListOperationResponse, err error)
Source Files ¶
- client.go
- id_reservation.go
- id_reservationorder.go
- method_reservationsdetailslist_autorest.go
- method_reservationsdetailslistbyreservationorder_autorest.go
- method_reservationsdetailslistbyreservationorderandreservation_autorest.go
- model_reservationdetail.go
- model_reservationdetailproperties.go
- predicates.go
- version.go