Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseClientAPI ¶
type BaseClientAPI interface { GetAppliedReservationList(ctx context.Context, subscriptionID string) (result reservations.AppliedReservations, err error) GetCatalog(ctx context.Context, subscriptionID string, reservedResourceType string, location string) (result reservations.ListCatalog, err error) }
BaseClientAPI contains the set of methods on the BaseClient type.
type ClientAPI ¶
type ClientAPI interface { AvailableScopes(ctx context.Context, reservationOrderID string, reservationID string, body []string) (result reservations.ReservationAvailableScopesFuture, err error) Get(ctx context.Context, reservationID string, reservationOrderID string, expand string) (result reservations.Response, err error) List(ctx context.Context, reservationOrderID string) (result reservations.ListPage, err error) ListRevisions(ctx context.Context, reservationID string, reservationOrderID string) (result reservations.ListPage, err error) Merge(ctx context.Context, reservationOrderID string, body reservations.MergeRequest) (result reservations.ReservationMergeFuture, err error) Split(ctx context.Context, reservationOrderID string, body reservations.SplitRequest) (result reservations.SplitFuture, err error) Update(ctx context.Context, reservationOrderID string, reservationID string, parameters reservations.Patch) (result reservations.ReservationUpdateFuture, err error) }
ClientAPI contains the set of methods on the Client type.
type OperationClientAPI ¶
type OperationClientAPI interface {
List(ctx context.Context) (result reservations.OperationListPage, err error)
}
OperationClientAPI contains the set of methods on the OperationClient type.
type OrderClientAPI ¶
type OrderClientAPI interface { Calculate(ctx context.Context, body reservations.PurchaseRequest) (result reservations.CalculatePriceResponse, err error) Get(ctx context.Context, reservationOrderID string, expand string) (result reservations.OrderResponse, err error) List(ctx context.Context) (result reservations.OrderListPage, err error) Purchase(ctx context.Context, reservationOrderID string, body reservations.PurchaseRequest) (result reservations.OrderPurchaseFuture, err error) }
OrderClientAPI contains the set of methods on the OrderClient type.
Click to show internal directories.
Click to hide internal directories.