reservations

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2022 License: BSD-2-Clause Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewMwClient

func NewMwClient(connector client.Connector) *mwClient

Types

type MwClient

type MwClient interface {

	// get the maintenance window for this SDDC
	//
	// @param orgParam Organization identifier (required)
	// @param reservationParam Reservation Identifier (required)
	// @return com.vmware.vmc.model.MaintenanceWindowGet
	// @throws Unauthenticated  Unauthorized
	// @throws Unauthorized  Access not allowed to the operation for the current user
	Get(orgParam string, reservationParam string) (model.MaintenanceWindowGet, error)

	// update the maintenance window for this SDDC
	//
	// @param orgParam Organization identifier (required)
	// @param reservationParam Reservation Identifier (required)
	// @param windowParam Maintenance Window (required)
	// @return com.vmware.vmc.model.MaintenanceWindow
	// @throws Unauthenticated  Unauthorized
	// @throws ConcurrentChange  Conflict with exiting reservation
	// @throws InvalidRequest  The reservation is not in a state that's valid for updates
	// @throws Unauthorized  Access not allowed to the operation for the current user
	Put(orgParam string, reservationParam string, windowParam model.MaintenanceWindow) (model.MaintenanceWindow, error)
}

Jump to

Keyboard shortcuts

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