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 ValidateReservationID(input interface{}, key string) (warnings []string, errors []error) + func ValidateReservationOrderID(input interface{}, key string) (warnings []string, errors []error) + type ReservationDetail struct + Etag *string + Id *string + Name *string + Properties *ReservationDetailProperties + Tags *map[string]string + Type *string + type ReservationDetailOperationPredicate struct + Etag *string + Id *string + Name *string + Type *string + func (p ReservationDetailOperationPredicate) Matches(input ReservationDetail) bool + type ReservationDetailProperties struct + InstanceFlexibilityGroup *string + InstanceFlexibilityRatio *string + InstanceId *string + Kind *string + ReservationId *string + ReservationOrderId *string + ReservedHours *float64 + SkuName *string + TotalReservedQuantity *float64 + UsageDate *string + UsedHours *float64 + func (o *ReservationDetailProperties) GetUsageDateAsTime() (*time.Time, error) + func (o *ReservationDetailProperties) SetUsageDateAsTime(input time.Time) + type ReservationDetailsClient struct + Client *resourcemanager.Client + func NewReservationDetailsClientWithBaseURI(sdkApi sdkEnv.Api) (*ReservationDetailsClient, error) + func (c ReservationDetailsClient) ReservationsDetailsList(ctx context.Context, id commonids.ScopeId, ...) (result ReservationsDetailsListOperationResponse, err error) + func (c ReservationDetailsClient) ReservationsDetailsListByReservationOrder(ctx context.Context, id ReservationOrderId, ...) (result ReservationsDetailsListByReservationOrderOperationResponse, err error) + func (c ReservationDetailsClient) ReservationsDetailsListByReservationOrderAndReservation(ctx context.Context, id ReservationId, ...) (...) + func (c ReservationDetailsClient) ReservationsDetailsListByReservationOrderAndReservationComplete(ctx context.Context, id ReservationId, ...) (ReservationsDetailsListByReservationOrderAndReservationCompleteResult, error) + func (c ReservationDetailsClient) ReservationsDetailsListByReservationOrderAndReservationCompleteMatchingPredicate(ctx context.Context, id ReservationId, ...) (result ReservationsDetailsListByReservationOrderAndReservationCompleteResult, ...) + func (c ReservationDetailsClient) ReservationsDetailsListByReservationOrderComplete(ctx context.Context, id ReservationOrderId, ...) (ReservationsDetailsListByReservationOrderCompleteResult, error) + func (c ReservationDetailsClient) ReservationsDetailsListByReservationOrderCompleteMatchingPredicate(ctx context.Context, id ReservationOrderId, ...) (result 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, ...) (result ReservationsDetailsListCompleteResult, err 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 ReservationsDetailsListByReservationOrderAndReservationCompleteResult struct + Items []ReservationDetail + LatestHttpResponse *http.Response + type ReservationsDetailsListByReservationOrderAndReservationCustomPager struct + NextLink *odata.Link + func (p *ReservationsDetailsListByReservationOrderAndReservationCustomPager) NextPageLink() *odata.Link + type ReservationsDetailsListByReservationOrderAndReservationOperationOptions struct + Filter *string + func DefaultReservationsDetailsListByReservationOrderAndReservationOperationOptions() ReservationsDetailsListByReservationOrderAndReservationOperationOptions + func (o ReservationsDetailsListByReservationOrderAndReservationOperationOptions) ToHeaders() *client.Headers + func (o ReservationsDetailsListByReservationOrderAndReservationOperationOptions) ToOData() *odata.Query + func (o ReservationsDetailsListByReservationOrderAndReservationOperationOptions) ToQuery() *client.QueryParams + type ReservationsDetailsListByReservationOrderAndReservationOperationResponse struct + HttpResponse *http.Response + Model *[]ReservationDetail + OData *odata.OData + type ReservationsDetailsListByReservationOrderCompleteResult struct + Items []ReservationDetail + LatestHttpResponse *http.Response + type ReservationsDetailsListByReservationOrderCustomPager struct + NextLink *odata.Link + func (p *ReservationsDetailsListByReservationOrderCustomPager) NextPageLink() *odata.Link + type ReservationsDetailsListByReservationOrderOperationOptions struct + Filter *string + func DefaultReservationsDetailsListByReservationOrderOperationOptions() ReservationsDetailsListByReservationOrderOperationOptions + func (o ReservationsDetailsListByReservationOrderOperationOptions) ToHeaders() *client.Headers + func (o ReservationsDetailsListByReservationOrderOperationOptions) ToOData() *odata.Query + func (o ReservationsDetailsListByReservationOrderOperationOptions) ToQuery() *client.QueryParams + type ReservationsDetailsListByReservationOrderOperationResponse struct + HttpResponse *http.Response + Model *[]ReservationDetail + OData *odata.OData + type ReservationsDetailsListCompleteResult struct + Items []ReservationDetail + LatestHttpResponse *http.Response + type ReservationsDetailsListCustomPager struct + NextLink *odata.Link + func (p *ReservationsDetailsListCustomPager) NextPageLink() *odata.Link + type ReservationsDetailsListOperationOptions struct + EndDate *string + Filter *string + ReservationId *string + ReservationOrderId *string + StartDate *string + func DefaultReservationsDetailsListOperationOptions() ReservationsDetailsListOperationOptions + func (o ReservationsDetailsListOperationOptions) ToHeaders() *client.Headers + func (o ReservationsDetailsListOperationOptions) ToOData() *odata.Query + func (o ReservationsDetailsListOperationOptions) ToQuery() *client.QueryParams + type ReservationsDetailsListOperationResponse struct + HttpResponse *http.Response + Model *[]ReservationDetail + OData *odata.OData