reservationsapi

package
v49.2.0+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 28, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AutoQuotaIncreaseClientAPI

type AutoQuotaIncreaseClientAPI interface {
	Create(ctx context.Context, subscriptionID string, autoQuotaIncreaseRequest reservations.AutoQuotaIncreaseDetail) (result reservations.AutoQuotaIncreaseDetail, err error)
	GetProperties(ctx context.Context, subscriptionID string) (result reservations.AutoQuotaIncreaseDetail, err error)
}

AutoQuotaIncreaseClientAPI contains the set of methods on the AutoQuotaIncreaseClient type.

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 {
	Archive(ctx context.Context, reservationOrderID string, reservationID string) (result autorest.Response, err error)
	AvailableScopes(ctx context.Context, reservationOrderID string, reservationID string, body reservations.AvailableScopeRequest) (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)
	ListComplete(ctx context.Context, reservationOrderID string) (result reservations.ListIterator, err error)
	ListRevisions(ctx context.Context, reservationID string, reservationOrderID string) (result reservations.ListPage, err error)
	ListRevisionsComplete(ctx context.Context, reservationID string, reservationOrderID string) (result reservations.ListIterator, 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)
	Unarchive(ctx context.Context, reservationOrderID string, reservationID string) (result autorest.Response, 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)
	ListComplete(ctx context.Context) (result reservations.OperationListIterator, 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)
	ListComplete(ctx context.Context) (result reservations.OrderListIterator, 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.

type QuotaClientAPI

type QuotaClientAPI interface {
	CreateOrUpdate(ctx context.Context, subscriptionID string, providerID string, location string, resourceName string, createQuotaRequest reservations.CurrentQuotaLimitBase) (result reservations.QuotaCreateOrUpdateFuture, err error)
	Get(ctx context.Context, subscriptionID string, providerID string, location string, resourceName string) (result reservations.CurrentQuotaLimitBase, err error)
	List(ctx context.Context, subscriptionID string, providerID string, location string) (result reservations.QuotaLimitsPage, err error)
	ListComplete(ctx context.Context, subscriptionID string, providerID string, location string) (result reservations.QuotaLimitsIterator, err error)
	Update(ctx context.Context, subscriptionID string, providerID string, location string, resourceName string, createQuotaRequest reservations.CurrentQuotaLimitBase) (result reservations.QuotaUpdateFuture, err error)
}

QuotaClientAPI contains the set of methods on the QuotaClient type.

type QuotaRequestStatusClientAPI

type QuotaRequestStatusClientAPI interface {
	Get(ctx context.Context, subscriptionID string, providerID string, location string, ID string) (result reservations.QuotaRequestDetails, err error)
	List(ctx context.Context, subscriptionID string, providerID string, location string, filter string, top *int32, skiptoken string) (result reservations.QuotaRequestDetailsListPage, err error)
	ListComplete(ctx context.Context, subscriptionID string, providerID string, location string, filter string, top *int32, skiptoken string) (result reservations.QuotaRequestDetailsListIterator, err error)
}

QuotaRequestStatusClientAPI contains the set of methods on the QuotaRequestStatusClient type.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL