vm

package
v2.14.0 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2024 License: ISC Imports: 10 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AbortMigrateVMAcrossClusterBadRequest added in v2.1.0

type AbortMigrateVMAcrossClusterBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
AbortMigrateVMAcrossClusterBadRequest describes a response with status code 400, with default header values.

Bad request

func NewAbortMigrateVMAcrossClusterBadRequest added in v2.1.0

func NewAbortMigrateVMAcrossClusterBadRequest() *AbortMigrateVMAcrossClusterBadRequest

NewAbortMigrateVMAcrossClusterBadRequest creates a AbortMigrateVMAcrossClusterBadRequest with default headers values

func (*AbortMigrateVMAcrossClusterBadRequest) Error added in v2.1.0

func (*AbortMigrateVMAcrossClusterBadRequest) GetPayload added in v2.1.0

type AbortMigrateVMAcrossClusterInternalServerError added in v2.1.0

type AbortMigrateVMAcrossClusterInternalServerError struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
AbortMigrateVMAcrossClusterInternalServerError describes a response with status code 500, with default header values.

Server error

func NewAbortMigrateVMAcrossClusterInternalServerError added in v2.1.0

func NewAbortMigrateVMAcrossClusterInternalServerError() *AbortMigrateVMAcrossClusterInternalServerError

NewAbortMigrateVMAcrossClusterInternalServerError creates a AbortMigrateVMAcrossClusterInternalServerError with default headers values

func (*AbortMigrateVMAcrossClusterInternalServerError) Error added in v2.1.0

func (*AbortMigrateVMAcrossClusterInternalServerError) GetPayload added in v2.1.0

type AbortMigrateVMAcrossClusterNotFound added in v2.1.0

type AbortMigrateVMAcrossClusterNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
AbortMigrateVMAcrossClusterNotFound describes a response with status code 404, with default header values.

Not found

func NewAbortMigrateVMAcrossClusterNotFound added in v2.1.0

func NewAbortMigrateVMAcrossClusterNotFound() *AbortMigrateVMAcrossClusterNotFound

NewAbortMigrateVMAcrossClusterNotFound creates a AbortMigrateVMAcrossClusterNotFound with default headers values

func (*AbortMigrateVMAcrossClusterNotFound) Error added in v2.1.0

func (*AbortMigrateVMAcrossClusterNotFound) GetPayload added in v2.1.0

type AbortMigrateVMAcrossClusterOK added in v2.1.0

type AbortMigrateVMAcrossClusterOK struct {
	XTowerRequestID string

	Payload []*models.Task
}
AbortMigrateVMAcrossClusterOK describes a response with status code 200, with default header values.

AbortMigrateVMAcrossClusterOK abort migrate Vm across cluster o k

func NewAbortMigrateVMAcrossClusterOK added in v2.1.0

func NewAbortMigrateVMAcrossClusterOK() *AbortMigrateVMAcrossClusterOK

NewAbortMigrateVMAcrossClusterOK creates a AbortMigrateVMAcrossClusterOK with default headers values

func (*AbortMigrateVMAcrossClusterOK) Error added in v2.1.0

func (*AbortMigrateVMAcrossClusterOK) GetPayload added in v2.1.0

func (o *AbortMigrateVMAcrossClusterOK) GetPayload() []*models.Task

type AbortMigrateVMAcrossClusterParams added in v2.1.0

type AbortMigrateVMAcrossClusterParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.AbortMigrateVMAcrossClusterParams

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

AbortMigrateVMAcrossClusterParams contains all the parameters to send to the API endpoint

for the abort migrate Vm across cluster operation.

Typically these are written to a http.Request.

func NewAbortMigrateVMAcrossClusterParams added in v2.1.0

func NewAbortMigrateVMAcrossClusterParams() *AbortMigrateVMAcrossClusterParams

NewAbortMigrateVMAcrossClusterParams creates a new AbortMigrateVMAcrossClusterParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewAbortMigrateVMAcrossClusterParamsWithContext added in v2.1.0

func NewAbortMigrateVMAcrossClusterParamsWithContext(ctx context.Context) *AbortMigrateVMAcrossClusterParams

NewAbortMigrateVMAcrossClusterParamsWithContext creates a new AbortMigrateVMAcrossClusterParams object with the ability to set a context for a request.

func NewAbortMigrateVMAcrossClusterParamsWithHTTPClient added in v2.1.0

func NewAbortMigrateVMAcrossClusterParamsWithHTTPClient(client *http.Client) *AbortMigrateVMAcrossClusterParams

NewAbortMigrateVMAcrossClusterParamsWithHTTPClient creates a new AbortMigrateVMAcrossClusterParams object with the ability to set a custom HTTPClient for a request.

func NewAbortMigrateVMAcrossClusterParamsWithTimeout added in v2.1.0

func NewAbortMigrateVMAcrossClusterParamsWithTimeout(timeout time.Duration) *AbortMigrateVMAcrossClusterParams

NewAbortMigrateVMAcrossClusterParamsWithTimeout creates a new AbortMigrateVMAcrossClusterParams object with the ability to set a timeout on a request.

func (*AbortMigrateVMAcrossClusterParams) SetContentLanguage added in v2.1.0

func (o *AbortMigrateVMAcrossClusterParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the abort migrate Vm across cluster params

func (*AbortMigrateVMAcrossClusterParams) SetContext added in v2.1.0

SetContext adds the context to the abort migrate Vm across cluster params

func (*AbortMigrateVMAcrossClusterParams) SetDefaults added in v2.1.0

func (o *AbortMigrateVMAcrossClusterParams) SetDefaults()

SetDefaults hydrates default values in the abort migrate Vm across cluster params (not the query body).

All values with no default are reset to their zero value.

func (*AbortMigrateVMAcrossClusterParams) SetHTTPClient added in v2.1.0

func (o *AbortMigrateVMAcrossClusterParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the abort migrate Vm across cluster params

func (*AbortMigrateVMAcrossClusterParams) SetRequestBody added in v2.1.0

SetRequestBody adds the requestBody to the abort migrate Vm across cluster params

func (*AbortMigrateVMAcrossClusterParams) SetTimeout added in v2.1.0

func (o *AbortMigrateVMAcrossClusterParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the abort migrate Vm across cluster params

func (*AbortMigrateVMAcrossClusterParams) WithContentLanguage added in v2.1.0

func (o *AbortMigrateVMAcrossClusterParams) WithContentLanguage(contentLanguage *string) *AbortMigrateVMAcrossClusterParams

WithContentLanguage adds the contentLanguage to the abort migrate Vm across cluster params

func (*AbortMigrateVMAcrossClusterParams) WithContext added in v2.1.0

WithContext adds the context to the abort migrate Vm across cluster params

func (*AbortMigrateVMAcrossClusterParams) WithDefaults added in v2.1.0

WithDefaults hydrates default values in the abort migrate Vm across cluster params (not the query body).

All values with no default are reset to their zero value.

func (*AbortMigrateVMAcrossClusterParams) WithHTTPClient added in v2.1.0

WithHTTPClient adds the HTTPClient to the abort migrate Vm across cluster params

func (*AbortMigrateVMAcrossClusterParams) WithRequestBody added in v2.1.0

WithRequestBody adds the requestBody to the abort migrate Vm across cluster params

func (*AbortMigrateVMAcrossClusterParams) WithTimeout added in v2.1.0

WithTimeout adds the timeout to the abort migrate Vm across cluster params

func (*AbortMigrateVMAcrossClusterParams) WriteToRequest added in v2.1.0

WriteToRequest writes these params to a swagger request

type AbortMigrateVMAcrossClusterReader added in v2.1.0

type AbortMigrateVMAcrossClusterReader struct {
	// contains filtered or unexported fields
}

AbortMigrateVMAcrossClusterReader is a Reader for the AbortMigrateVMAcrossCluster structure.

func (*AbortMigrateVMAcrossClusterReader) ReadResponse added in v2.1.0

func (o *AbortMigrateVMAcrossClusterReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type AddVMCdRomBadRequest

type AddVMCdRomBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
AddVMCdRomBadRequest describes a response with status code 400, with default header values.

Bad request

func NewAddVMCdRomBadRequest

func NewAddVMCdRomBadRequest() *AddVMCdRomBadRequest

NewAddVMCdRomBadRequest creates a AddVMCdRomBadRequest with default headers values

func (*AddVMCdRomBadRequest) Error

func (o *AddVMCdRomBadRequest) Error() string

func (*AddVMCdRomBadRequest) GetPayload

func (o *AddVMCdRomBadRequest) GetPayload() *models.ErrorBody

type AddVMCdRomInternalServerError

type AddVMCdRomInternalServerError struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
AddVMCdRomInternalServerError describes a response with status code 500, with default header values.

Server error

func NewAddVMCdRomInternalServerError

func NewAddVMCdRomInternalServerError() *AddVMCdRomInternalServerError

NewAddVMCdRomInternalServerError creates a AddVMCdRomInternalServerError with default headers values

func (*AddVMCdRomInternalServerError) Error

func (*AddVMCdRomInternalServerError) GetPayload

type AddVMCdRomNotFound

type AddVMCdRomNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
AddVMCdRomNotFound describes a response with status code 404, with default header values.

Not found

func NewAddVMCdRomNotFound

func NewAddVMCdRomNotFound() *AddVMCdRomNotFound

NewAddVMCdRomNotFound creates a AddVMCdRomNotFound with default headers values

func (*AddVMCdRomNotFound) Error

func (o *AddVMCdRomNotFound) Error() string

func (*AddVMCdRomNotFound) GetPayload

func (o *AddVMCdRomNotFound) GetPayload() *models.ErrorBody

type AddVMCdRomNotModified added in v2.3.0

type AddVMCdRomNotModified struct {
}
AddVMCdRomNotModified describes a response with status code 304, with default header values.

Not modified

func NewAddVMCdRomNotModified added in v2.3.0

func NewAddVMCdRomNotModified() *AddVMCdRomNotModified

NewAddVMCdRomNotModified creates a AddVMCdRomNotModified with default headers values

func (*AddVMCdRomNotModified) Error added in v2.3.0

func (o *AddVMCdRomNotModified) Error() string

type AddVMCdRomOK

type AddVMCdRomOK struct {
	XTowerRequestID string

	Payload []*models.WithTaskVM
}
AddVMCdRomOK describes a response with status code 200, with default header values.

AddVMCdRomOK add Vm cd rom o k

func NewAddVMCdRomOK

func NewAddVMCdRomOK() *AddVMCdRomOK

NewAddVMCdRomOK creates a AddVMCdRomOK with default headers values

func (*AddVMCdRomOK) Error

func (o *AddVMCdRomOK) Error() string

func (*AddVMCdRomOK) GetPayload

func (o *AddVMCdRomOK) GetPayload() []*models.WithTaskVM

type AddVMCdRomParams

type AddVMCdRomParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.VMAddCdRomParams

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

AddVMCdRomParams contains all the parameters to send to the API endpoint

for the add Vm cd rom operation.

Typically these are written to a http.Request.

func NewAddVMCdRomParams

func NewAddVMCdRomParams() *AddVMCdRomParams

NewAddVMCdRomParams creates a new AddVMCdRomParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewAddVMCdRomParamsWithContext

func NewAddVMCdRomParamsWithContext(ctx context.Context) *AddVMCdRomParams

NewAddVMCdRomParamsWithContext creates a new AddVMCdRomParams object with the ability to set a context for a request.

func NewAddVMCdRomParamsWithHTTPClient

func NewAddVMCdRomParamsWithHTTPClient(client *http.Client) *AddVMCdRomParams

NewAddVMCdRomParamsWithHTTPClient creates a new AddVMCdRomParams object with the ability to set a custom HTTPClient for a request.

func NewAddVMCdRomParamsWithTimeout

func NewAddVMCdRomParamsWithTimeout(timeout time.Duration) *AddVMCdRomParams

NewAddVMCdRomParamsWithTimeout creates a new AddVMCdRomParams object with the ability to set a timeout on a request.

func (*AddVMCdRomParams) SetContentLanguage

func (o *AddVMCdRomParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the add Vm cd rom params

func (*AddVMCdRomParams) SetContext

func (o *AddVMCdRomParams) SetContext(ctx context.Context)

SetContext adds the context to the add Vm cd rom params

func (*AddVMCdRomParams) SetDefaults

func (o *AddVMCdRomParams) SetDefaults()

SetDefaults hydrates default values in the add Vm cd rom params (not the query body).

All values with no default are reset to their zero value.

func (*AddVMCdRomParams) SetHTTPClient

func (o *AddVMCdRomParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the add Vm cd rom params

func (*AddVMCdRomParams) SetRequestBody

func (o *AddVMCdRomParams) SetRequestBody(requestBody *models.VMAddCdRomParams)

SetRequestBody adds the requestBody to the add Vm cd rom params

func (*AddVMCdRomParams) SetTimeout

func (o *AddVMCdRomParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the add Vm cd rom params

func (*AddVMCdRomParams) WithContentLanguage

func (o *AddVMCdRomParams) WithContentLanguage(contentLanguage *string) *AddVMCdRomParams

WithContentLanguage adds the contentLanguage to the add Vm cd rom params

func (*AddVMCdRomParams) WithContext

func (o *AddVMCdRomParams) WithContext(ctx context.Context) *AddVMCdRomParams

WithContext adds the context to the add Vm cd rom params

func (*AddVMCdRomParams) WithDefaults

func (o *AddVMCdRomParams) WithDefaults() *AddVMCdRomParams

WithDefaults hydrates default values in the add Vm cd rom params (not the query body).

All values with no default are reset to their zero value.

func (*AddVMCdRomParams) WithHTTPClient

func (o *AddVMCdRomParams) WithHTTPClient(client *http.Client) *AddVMCdRomParams

WithHTTPClient adds the HTTPClient to the add Vm cd rom params

func (*AddVMCdRomParams) WithRequestBody

func (o *AddVMCdRomParams) WithRequestBody(requestBody *models.VMAddCdRomParams) *AddVMCdRomParams

WithRequestBody adds the requestBody to the add Vm cd rom params

func (*AddVMCdRomParams) WithTimeout

func (o *AddVMCdRomParams) WithTimeout(timeout time.Duration) *AddVMCdRomParams

WithTimeout adds the timeout to the add Vm cd rom params

func (*AddVMCdRomParams) WriteToRequest

func (o *AddVMCdRomParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type AddVMCdRomReader

type AddVMCdRomReader struct {
	// contains filtered or unexported fields
}

AddVMCdRomReader is a Reader for the AddVMCdRom structure.

func (*AddVMCdRomReader) ReadResponse

func (o *AddVMCdRomReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type AddVMDiskBadRequest

type AddVMDiskBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
AddVMDiskBadRequest describes a response with status code 400, with default header values.

Bad request

func NewAddVMDiskBadRequest

func NewAddVMDiskBadRequest() *AddVMDiskBadRequest

NewAddVMDiskBadRequest creates a AddVMDiskBadRequest with default headers values

func (*AddVMDiskBadRequest) Error

func (o *AddVMDiskBadRequest) Error() string

func (*AddVMDiskBadRequest) GetPayload

func (o *AddVMDiskBadRequest) GetPayload() *models.ErrorBody

type AddVMDiskInternalServerError

type AddVMDiskInternalServerError struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
AddVMDiskInternalServerError describes a response with status code 500, with default header values.

Server error

func NewAddVMDiskInternalServerError

func NewAddVMDiskInternalServerError() *AddVMDiskInternalServerError

NewAddVMDiskInternalServerError creates a AddVMDiskInternalServerError with default headers values

func (*AddVMDiskInternalServerError) Error

func (*AddVMDiskInternalServerError) GetPayload

type AddVMDiskNotFound

type AddVMDiskNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
AddVMDiskNotFound describes a response with status code 404, with default header values.

Not found

func NewAddVMDiskNotFound

func NewAddVMDiskNotFound() *AddVMDiskNotFound

NewAddVMDiskNotFound creates a AddVMDiskNotFound with default headers values

func (*AddVMDiskNotFound) Error

func (o *AddVMDiskNotFound) Error() string

func (*AddVMDiskNotFound) GetPayload

func (o *AddVMDiskNotFound) GetPayload() *models.ErrorBody

type AddVMDiskOK

type AddVMDiskOK struct {
	XTowerRequestID string

	Payload []*models.WithTaskVM
}
AddVMDiskOK describes a response with status code 200, with default header values.

AddVMDiskOK add Vm disk o k

func NewAddVMDiskOK

func NewAddVMDiskOK() *AddVMDiskOK

NewAddVMDiskOK creates a AddVMDiskOK with default headers values

func (*AddVMDiskOK) Error

func (o *AddVMDiskOK) Error() string

func (*AddVMDiskOK) GetPayload

func (o *AddVMDiskOK) GetPayload() []*models.WithTaskVM

type AddVMDiskParams

type AddVMDiskParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.VMAddDiskParams

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

AddVMDiskParams contains all the parameters to send to the API endpoint

for the add Vm disk operation.

Typically these are written to a http.Request.

func NewAddVMDiskParams

func NewAddVMDiskParams() *AddVMDiskParams

NewAddVMDiskParams creates a new AddVMDiskParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewAddVMDiskParamsWithContext

func NewAddVMDiskParamsWithContext(ctx context.Context) *AddVMDiskParams

NewAddVMDiskParamsWithContext creates a new AddVMDiskParams object with the ability to set a context for a request.

func NewAddVMDiskParamsWithHTTPClient

func NewAddVMDiskParamsWithHTTPClient(client *http.Client) *AddVMDiskParams

NewAddVMDiskParamsWithHTTPClient creates a new AddVMDiskParams object with the ability to set a custom HTTPClient for a request.

func NewAddVMDiskParamsWithTimeout

func NewAddVMDiskParamsWithTimeout(timeout time.Duration) *AddVMDiskParams

NewAddVMDiskParamsWithTimeout creates a new AddVMDiskParams object with the ability to set a timeout on a request.

func (*AddVMDiskParams) SetContentLanguage

func (o *AddVMDiskParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the add Vm disk params

func (*AddVMDiskParams) SetContext

func (o *AddVMDiskParams) SetContext(ctx context.Context)

SetContext adds the context to the add Vm disk params

func (*AddVMDiskParams) SetDefaults

func (o *AddVMDiskParams) SetDefaults()

SetDefaults hydrates default values in the add Vm disk params (not the query body).

All values with no default are reset to their zero value.

func (*AddVMDiskParams) SetHTTPClient

func (o *AddVMDiskParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the add Vm disk params

func (*AddVMDiskParams) SetRequestBody

func (o *AddVMDiskParams) SetRequestBody(requestBody *models.VMAddDiskParams)

SetRequestBody adds the requestBody to the add Vm disk params

func (*AddVMDiskParams) SetTimeout

func (o *AddVMDiskParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the add Vm disk params

func (*AddVMDiskParams) WithContentLanguage

func (o *AddVMDiskParams) WithContentLanguage(contentLanguage *string) *AddVMDiskParams

WithContentLanguage adds the contentLanguage to the add Vm disk params

func (*AddVMDiskParams) WithContext

func (o *AddVMDiskParams) WithContext(ctx context.Context) *AddVMDiskParams

WithContext adds the context to the add Vm disk params

func (*AddVMDiskParams) WithDefaults

func (o *AddVMDiskParams) WithDefaults() *AddVMDiskParams

WithDefaults hydrates default values in the add Vm disk params (not the query body).

All values with no default are reset to their zero value.

func (*AddVMDiskParams) WithHTTPClient

func (o *AddVMDiskParams) WithHTTPClient(client *http.Client) *AddVMDiskParams

WithHTTPClient adds the HTTPClient to the add Vm disk params

func (*AddVMDiskParams) WithRequestBody

func (o *AddVMDiskParams) WithRequestBody(requestBody *models.VMAddDiskParams) *AddVMDiskParams

WithRequestBody adds the requestBody to the add Vm disk params

func (*AddVMDiskParams) WithTimeout

func (o *AddVMDiskParams) WithTimeout(timeout time.Duration) *AddVMDiskParams

WithTimeout adds the timeout to the add Vm disk params

func (*AddVMDiskParams) WriteToRequest

func (o *AddVMDiskParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type AddVMDiskReader

type AddVMDiskReader struct {
	// contains filtered or unexported fields
}

AddVMDiskReader is a Reader for the AddVMDisk structure.

func (*AddVMDiskReader) ReadResponse

func (o *AddVMDiskReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type AddVMGpuDeviceBadRequest added in v2.12.0

type AddVMGpuDeviceBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
AddVMGpuDeviceBadRequest describes a response with status code 400, with default header values.

Bad request

func NewAddVMGpuDeviceBadRequest added in v2.12.0

func NewAddVMGpuDeviceBadRequest() *AddVMGpuDeviceBadRequest

NewAddVMGpuDeviceBadRequest creates a AddVMGpuDeviceBadRequest with default headers values

func (*AddVMGpuDeviceBadRequest) Error added in v2.12.0

func (o *AddVMGpuDeviceBadRequest) Error() string

func (*AddVMGpuDeviceBadRequest) GetPayload added in v2.12.0

func (o *AddVMGpuDeviceBadRequest) GetPayload() *models.ErrorBody

type AddVMGpuDeviceInternalServerError added in v2.12.0

type AddVMGpuDeviceInternalServerError struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
AddVMGpuDeviceInternalServerError describes a response with status code 500, with default header values.

Server error

func NewAddVMGpuDeviceInternalServerError added in v2.12.0

func NewAddVMGpuDeviceInternalServerError() *AddVMGpuDeviceInternalServerError

NewAddVMGpuDeviceInternalServerError creates a AddVMGpuDeviceInternalServerError with default headers values

func (*AddVMGpuDeviceInternalServerError) Error added in v2.12.0

func (*AddVMGpuDeviceInternalServerError) GetPayload added in v2.12.0

type AddVMGpuDeviceNotFound added in v2.12.0

type AddVMGpuDeviceNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
AddVMGpuDeviceNotFound describes a response with status code 404, with default header values.

Not found

func NewAddVMGpuDeviceNotFound added in v2.12.0

func NewAddVMGpuDeviceNotFound() *AddVMGpuDeviceNotFound

NewAddVMGpuDeviceNotFound creates a AddVMGpuDeviceNotFound with default headers values

func (*AddVMGpuDeviceNotFound) Error added in v2.12.0

func (o *AddVMGpuDeviceNotFound) Error() string

func (*AddVMGpuDeviceNotFound) GetPayload added in v2.12.0

func (o *AddVMGpuDeviceNotFound) GetPayload() *models.ErrorBody

type AddVMGpuDeviceOK added in v2.12.0

type AddVMGpuDeviceOK struct {
	XTowerRequestID string

	Payload []*models.WithTaskVM
}
AddVMGpuDeviceOK describes a response with status code 200, with default header values.

AddVMGpuDeviceOK add Vm gpu device o k

func NewAddVMGpuDeviceOK added in v2.12.0

func NewAddVMGpuDeviceOK() *AddVMGpuDeviceOK

NewAddVMGpuDeviceOK creates a AddVMGpuDeviceOK with default headers values

func (*AddVMGpuDeviceOK) Error added in v2.12.0

func (o *AddVMGpuDeviceOK) Error() string

func (*AddVMGpuDeviceOK) GetPayload added in v2.12.0

func (o *AddVMGpuDeviceOK) GetPayload() []*models.WithTaskVM

type AddVMGpuDeviceParams added in v2.12.0

type AddVMGpuDeviceParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.VMAddGpuDeviceParams

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

AddVMGpuDeviceParams contains all the parameters to send to the API endpoint

for the add Vm gpu device operation.

Typically these are written to a http.Request.

func NewAddVMGpuDeviceParams added in v2.12.0

func NewAddVMGpuDeviceParams() *AddVMGpuDeviceParams

NewAddVMGpuDeviceParams creates a new AddVMGpuDeviceParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewAddVMGpuDeviceParamsWithContext added in v2.12.0

func NewAddVMGpuDeviceParamsWithContext(ctx context.Context) *AddVMGpuDeviceParams

NewAddVMGpuDeviceParamsWithContext creates a new AddVMGpuDeviceParams object with the ability to set a context for a request.

func NewAddVMGpuDeviceParamsWithHTTPClient added in v2.12.0

func NewAddVMGpuDeviceParamsWithHTTPClient(client *http.Client) *AddVMGpuDeviceParams

NewAddVMGpuDeviceParamsWithHTTPClient creates a new AddVMGpuDeviceParams object with the ability to set a custom HTTPClient for a request.

func NewAddVMGpuDeviceParamsWithTimeout added in v2.12.0

func NewAddVMGpuDeviceParamsWithTimeout(timeout time.Duration) *AddVMGpuDeviceParams

NewAddVMGpuDeviceParamsWithTimeout creates a new AddVMGpuDeviceParams object with the ability to set a timeout on a request.

func (*AddVMGpuDeviceParams) SetContentLanguage added in v2.12.0

func (o *AddVMGpuDeviceParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the add Vm gpu device params

func (*AddVMGpuDeviceParams) SetContext added in v2.12.0

func (o *AddVMGpuDeviceParams) SetContext(ctx context.Context)

SetContext adds the context to the add Vm gpu device params

func (*AddVMGpuDeviceParams) SetDefaults added in v2.12.0

func (o *AddVMGpuDeviceParams) SetDefaults()

SetDefaults hydrates default values in the add Vm gpu device params (not the query body).

All values with no default are reset to their zero value.

func (*AddVMGpuDeviceParams) SetHTTPClient added in v2.12.0

func (o *AddVMGpuDeviceParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the add Vm gpu device params

func (*AddVMGpuDeviceParams) SetRequestBody added in v2.12.0

func (o *AddVMGpuDeviceParams) SetRequestBody(requestBody *models.VMAddGpuDeviceParams)

SetRequestBody adds the requestBody to the add Vm gpu device params

func (*AddVMGpuDeviceParams) SetTimeout added in v2.12.0

func (o *AddVMGpuDeviceParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the add Vm gpu device params

func (*AddVMGpuDeviceParams) WithContentLanguage added in v2.12.0

func (o *AddVMGpuDeviceParams) WithContentLanguage(contentLanguage *string) *AddVMGpuDeviceParams

WithContentLanguage adds the contentLanguage to the add Vm gpu device params

func (*AddVMGpuDeviceParams) WithContext added in v2.12.0

WithContext adds the context to the add Vm gpu device params

func (*AddVMGpuDeviceParams) WithDefaults added in v2.12.0

func (o *AddVMGpuDeviceParams) WithDefaults() *AddVMGpuDeviceParams

WithDefaults hydrates default values in the add Vm gpu device params (not the query body).

All values with no default are reset to their zero value.

func (*AddVMGpuDeviceParams) WithHTTPClient added in v2.12.0

func (o *AddVMGpuDeviceParams) WithHTTPClient(client *http.Client) *AddVMGpuDeviceParams

WithHTTPClient adds the HTTPClient to the add Vm gpu device params

func (*AddVMGpuDeviceParams) WithRequestBody added in v2.12.0

func (o *AddVMGpuDeviceParams) WithRequestBody(requestBody *models.VMAddGpuDeviceParams) *AddVMGpuDeviceParams

WithRequestBody adds the requestBody to the add Vm gpu device params

func (*AddVMGpuDeviceParams) WithTimeout added in v2.12.0

func (o *AddVMGpuDeviceParams) WithTimeout(timeout time.Duration) *AddVMGpuDeviceParams

WithTimeout adds the timeout to the add Vm gpu device params

func (*AddVMGpuDeviceParams) WriteToRequest added in v2.12.0

func (o *AddVMGpuDeviceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type AddVMGpuDeviceReader added in v2.12.0

type AddVMGpuDeviceReader struct {
	// contains filtered or unexported fields
}

AddVMGpuDeviceReader is a Reader for the AddVMGpuDevice structure.

func (*AddVMGpuDeviceReader) ReadResponse added in v2.12.0

func (o *AddVMGpuDeviceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type AddVMNicBadRequest

type AddVMNicBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
AddVMNicBadRequest describes a response with status code 400, with default header values.

Bad request

func NewAddVMNicBadRequest

func NewAddVMNicBadRequest() *AddVMNicBadRequest

NewAddVMNicBadRequest creates a AddVMNicBadRequest with default headers values

func (*AddVMNicBadRequest) Error

func (o *AddVMNicBadRequest) Error() string

func (*AddVMNicBadRequest) GetPayload

func (o *AddVMNicBadRequest) GetPayload() *models.ErrorBody

type AddVMNicInternalServerError

type AddVMNicInternalServerError struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
AddVMNicInternalServerError describes a response with status code 500, with default header values.

Server error

func NewAddVMNicInternalServerError

func NewAddVMNicInternalServerError() *AddVMNicInternalServerError

NewAddVMNicInternalServerError creates a AddVMNicInternalServerError with default headers values

func (*AddVMNicInternalServerError) Error

func (*AddVMNicInternalServerError) GetPayload

func (o *AddVMNicInternalServerError) GetPayload() *models.ErrorBody

type AddVMNicNotFound

type AddVMNicNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
AddVMNicNotFound describes a response with status code 404, with default header values.

Not found

func NewAddVMNicNotFound

func NewAddVMNicNotFound() *AddVMNicNotFound

NewAddVMNicNotFound creates a AddVMNicNotFound with default headers values

func (*AddVMNicNotFound) Error

func (o *AddVMNicNotFound) Error() string

func (*AddVMNicNotFound) GetPayload

func (o *AddVMNicNotFound) GetPayload() *models.ErrorBody

type AddVMNicOK

type AddVMNicOK struct {
	XTowerRequestID string

	Payload []*models.WithTaskVM
}
AddVMNicOK describes a response with status code 200, with default header values.

AddVMNicOK add Vm nic o k

func NewAddVMNicOK

func NewAddVMNicOK() *AddVMNicOK

NewAddVMNicOK creates a AddVMNicOK with default headers values

func (*AddVMNicOK) Error

func (o *AddVMNicOK) Error() string

func (*AddVMNicOK) GetPayload

func (o *AddVMNicOK) GetPayload() []*models.WithTaskVM

type AddVMNicParams

type AddVMNicParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.VMAddNicParams

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

AddVMNicParams contains all the parameters to send to the API endpoint

for the add Vm nic operation.

Typically these are written to a http.Request.

func NewAddVMNicParams

func NewAddVMNicParams() *AddVMNicParams

NewAddVMNicParams creates a new AddVMNicParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewAddVMNicParamsWithContext

func NewAddVMNicParamsWithContext(ctx context.Context) *AddVMNicParams

NewAddVMNicParamsWithContext creates a new AddVMNicParams object with the ability to set a context for a request.

func NewAddVMNicParamsWithHTTPClient

func NewAddVMNicParamsWithHTTPClient(client *http.Client) *AddVMNicParams

NewAddVMNicParamsWithHTTPClient creates a new AddVMNicParams object with the ability to set a custom HTTPClient for a request.

func NewAddVMNicParamsWithTimeout

func NewAddVMNicParamsWithTimeout(timeout time.Duration) *AddVMNicParams

NewAddVMNicParamsWithTimeout creates a new AddVMNicParams object with the ability to set a timeout on a request.

func (*AddVMNicParams) SetContentLanguage

func (o *AddVMNicParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the add Vm nic params

func (*AddVMNicParams) SetContext

func (o *AddVMNicParams) SetContext(ctx context.Context)

SetContext adds the context to the add Vm nic params

func (*AddVMNicParams) SetDefaults

func (o *AddVMNicParams) SetDefaults()

SetDefaults hydrates default values in the add Vm nic params (not the query body).

All values with no default are reset to their zero value.

func (*AddVMNicParams) SetHTTPClient

func (o *AddVMNicParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the add Vm nic params

func (*AddVMNicParams) SetRequestBody

func (o *AddVMNicParams) SetRequestBody(requestBody *models.VMAddNicParams)

SetRequestBody adds the requestBody to the add Vm nic params

func (*AddVMNicParams) SetTimeout

func (o *AddVMNicParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the add Vm nic params

func (*AddVMNicParams) WithContentLanguage

func (o *AddVMNicParams) WithContentLanguage(contentLanguage *string) *AddVMNicParams

WithContentLanguage adds the contentLanguage to the add Vm nic params

func (*AddVMNicParams) WithContext

func (o *AddVMNicParams) WithContext(ctx context.Context) *AddVMNicParams

WithContext adds the context to the add Vm nic params

func (*AddVMNicParams) WithDefaults

func (o *AddVMNicParams) WithDefaults() *AddVMNicParams

WithDefaults hydrates default values in the add Vm nic params (not the query body).

All values with no default are reset to their zero value.

func (*AddVMNicParams) WithHTTPClient

func (o *AddVMNicParams) WithHTTPClient(client *http.Client) *AddVMNicParams

WithHTTPClient adds the HTTPClient to the add Vm nic params

func (*AddVMNicParams) WithRequestBody

func (o *AddVMNicParams) WithRequestBody(requestBody *models.VMAddNicParams) *AddVMNicParams

WithRequestBody adds the requestBody to the add Vm nic params

func (*AddVMNicParams) WithTimeout

func (o *AddVMNicParams) WithTimeout(timeout time.Duration) *AddVMNicParams

WithTimeout adds the timeout to the add Vm nic params

func (*AddVMNicParams) WriteToRequest

func (o *AddVMNicParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type AddVMNicReader

type AddVMNicReader struct {
	// contains filtered or unexported fields
}

AddVMNicReader is a Reader for the AddVMNic structure.

func (*AddVMNicReader) ReadResponse

func (o *AddVMNicReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type AddVMPciNicBadRequest added in v2.12.0

type AddVMPciNicBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
AddVMPciNicBadRequest describes a response with status code 400, with default header values.

Bad request

func NewAddVMPciNicBadRequest added in v2.12.0

func NewAddVMPciNicBadRequest() *AddVMPciNicBadRequest

NewAddVMPciNicBadRequest creates a AddVMPciNicBadRequest with default headers values

func (*AddVMPciNicBadRequest) Error added in v2.12.0

func (o *AddVMPciNicBadRequest) Error() string

func (*AddVMPciNicBadRequest) GetPayload added in v2.12.0

func (o *AddVMPciNicBadRequest) GetPayload() *models.ErrorBody

type AddVMPciNicInternalServerError added in v2.12.0

type AddVMPciNicInternalServerError struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
AddVMPciNicInternalServerError describes a response with status code 500, with default header values.

Server error

func NewAddVMPciNicInternalServerError added in v2.12.0

func NewAddVMPciNicInternalServerError() *AddVMPciNicInternalServerError

NewAddVMPciNicInternalServerError creates a AddVMPciNicInternalServerError with default headers values

func (*AddVMPciNicInternalServerError) Error added in v2.12.0

func (*AddVMPciNicInternalServerError) GetPayload added in v2.12.0

type AddVMPciNicNotFound added in v2.12.0

type AddVMPciNicNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
AddVMPciNicNotFound describes a response with status code 404, with default header values.

Not found

func NewAddVMPciNicNotFound added in v2.12.0

func NewAddVMPciNicNotFound() *AddVMPciNicNotFound

NewAddVMPciNicNotFound creates a AddVMPciNicNotFound with default headers values

func (*AddVMPciNicNotFound) Error added in v2.12.0

func (o *AddVMPciNicNotFound) Error() string

func (*AddVMPciNicNotFound) GetPayload added in v2.12.0

func (o *AddVMPciNicNotFound) GetPayload() *models.ErrorBody

type AddVMPciNicNotModified added in v2.12.0

type AddVMPciNicNotModified struct {
}
AddVMPciNicNotModified describes a response with status code 304, with default header values.

Not modified

func NewAddVMPciNicNotModified added in v2.12.0

func NewAddVMPciNicNotModified() *AddVMPciNicNotModified

NewAddVMPciNicNotModified creates a AddVMPciNicNotModified with default headers values

func (*AddVMPciNicNotModified) Error added in v2.12.0

func (o *AddVMPciNicNotModified) Error() string

type AddVMPciNicOK added in v2.12.0

type AddVMPciNicOK struct {
	XTowerRequestID string

	Payload []*models.WithTaskVM
}
AddVMPciNicOK describes a response with status code 200, with default header values.

AddVMPciNicOK add Vm pci nic o k

func NewAddVMPciNicOK added in v2.12.0

func NewAddVMPciNicOK() *AddVMPciNicOK

NewAddVMPciNicOK creates a AddVMPciNicOK with default headers values

func (*AddVMPciNicOK) Error added in v2.12.0

func (o *AddVMPciNicOK) Error() string

func (*AddVMPciNicOK) GetPayload added in v2.12.0

func (o *AddVMPciNicOK) GetPayload() []*models.WithTaskVM

type AddVMPciNicParams added in v2.12.0

type AddVMPciNicParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.VMOperatePciNicParams

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

AddVMPciNicParams contains all the parameters to send to the API endpoint

for the add Vm pci nic operation.

Typically these are written to a http.Request.

func NewAddVMPciNicParams added in v2.12.0

func NewAddVMPciNicParams() *AddVMPciNicParams

NewAddVMPciNicParams creates a new AddVMPciNicParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewAddVMPciNicParamsWithContext added in v2.12.0

func NewAddVMPciNicParamsWithContext(ctx context.Context) *AddVMPciNicParams

NewAddVMPciNicParamsWithContext creates a new AddVMPciNicParams object with the ability to set a context for a request.

func NewAddVMPciNicParamsWithHTTPClient added in v2.12.0

func NewAddVMPciNicParamsWithHTTPClient(client *http.Client) *AddVMPciNicParams

NewAddVMPciNicParamsWithHTTPClient creates a new AddVMPciNicParams object with the ability to set a custom HTTPClient for a request.

func NewAddVMPciNicParamsWithTimeout added in v2.12.0

func NewAddVMPciNicParamsWithTimeout(timeout time.Duration) *AddVMPciNicParams

NewAddVMPciNicParamsWithTimeout creates a new AddVMPciNicParams object with the ability to set a timeout on a request.

func (*AddVMPciNicParams) SetContentLanguage added in v2.12.0

func (o *AddVMPciNicParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the add Vm pci nic params

func (*AddVMPciNicParams) SetContext added in v2.12.0

func (o *AddVMPciNicParams) SetContext(ctx context.Context)

SetContext adds the context to the add Vm pci nic params

func (*AddVMPciNicParams) SetDefaults added in v2.12.0

func (o *AddVMPciNicParams) SetDefaults()

SetDefaults hydrates default values in the add Vm pci nic params (not the query body).

All values with no default are reset to their zero value.

func (*AddVMPciNicParams) SetHTTPClient added in v2.12.0

func (o *AddVMPciNicParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the add Vm pci nic params

func (*AddVMPciNicParams) SetRequestBody added in v2.12.0

func (o *AddVMPciNicParams) SetRequestBody(requestBody *models.VMOperatePciNicParams)

SetRequestBody adds the requestBody to the add Vm pci nic params

func (*AddVMPciNicParams) SetTimeout added in v2.12.0

func (o *AddVMPciNicParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the add Vm pci nic params

func (*AddVMPciNicParams) WithContentLanguage added in v2.12.0

func (o *AddVMPciNicParams) WithContentLanguage(contentLanguage *string) *AddVMPciNicParams

WithContentLanguage adds the contentLanguage to the add Vm pci nic params

func (*AddVMPciNicParams) WithContext added in v2.12.0

func (o *AddVMPciNicParams) WithContext(ctx context.Context) *AddVMPciNicParams

WithContext adds the context to the add Vm pci nic params

func (*AddVMPciNicParams) WithDefaults added in v2.12.0

func (o *AddVMPciNicParams) WithDefaults() *AddVMPciNicParams

WithDefaults hydrates default values in the add Vm pci nic params (not the query body).

All values with no default are reset to their zero value.

func (*AddVMPciNicParams) WithHTTPClient added in v2.12.0

func (o *AddVMPciNicParams) WithHTTPClient(client *http.Client) *AddVMPciNicParams

WithHTTPClient adds the HTTPClient to the add Vm pci nic params

func (*AddVMPciNicParams) WithRequestBody added in v2.12.0

func (o *AddVMPciNicParams) WithRequestBody(requestBody *models.VMOperatePciNicParams) *AddVMPciNicParams

WithRequestBody adds the requestBody to the add Vm pci nic params

func (*AddVMPciNicParams) WithTimeout added in v2.12.0

func (o *AddVMPciNicParams) WithTimeout(timeout time.Duration) *AddVMPciNicParams

WithTimeout adds the timeout to the add Vm pci nic params

func (*AddVMPciNicParams) WriteToRequest added in v2.12.0

func (o *AddVMPciNicParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type AddVMPciNicReader added in v2.12.0

type AddVMPciNicReader struct {
	// contains filtered or unexported fields
}

AddVMPciNicReader is a Reader for the AddVMPciNic structure.

func (*AddVMPciNicReader) ReadResponse added in v2.12.0

func (o *AddVMPciNicReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type AddVMToFolderBadRequest

type AddVMToFolderBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
AddVMToFolderBadRequest describes a response with status code 400, with default header values.

Bad request

func NewAddVMToFolderBadRequest

func NewAddVMToFolderBadRequest() *AddVMToFolderBadRequest

NewAddVMToFolderBadRequest creates a AddVMToFolderBadRequest with default headers values

func (*AddVMToFolderBadRequest) Error

func (o *AddVMToFolderBadRequest) Error() string

func (*AddVMToFolderBadRequest) GetPayload

func (o *AddVMToFolderBadRequest) GetPayload() *models.ErrorBody

type AddVMToFolderInternalServerError

type AddVMToFolderInternalServerError struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
AddVMToFolderInternalServerError describes a response with status code 500, with default header values.

Server error

func NewAddVMToFolderInternalServerError

func NewAddVMToFolderInternalServerError() *AddVMToFolderInternalServerError

NewAddVMToFolderInternalServerError creates a AddVMToFolderInternalServerError with default headers values

func (*AddVMToFolderInternalServerError) Error

func (*AddVMToFolderInternalServerError) GetPayload

type AddVMToFolderNotFound

type AddVMToFolderNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
AddVMToFolderNotFound describes a response with status code 404, with default header values.

Not found

func NewAddVMToFolderNotFound

func NewAddVMToFolderNotFound() *AddVMToFolderNotFound

NewAddVMToFolderNotFound creates a AddVMToFolderNotFound with default headers values

func (*AddVMToFolderNotFound) Error

func (o *AddVMToFolderNotFound) Error() string

func (*AddVMToFolderNotFound) GetPayload

func (o *AddVMToFolderNotFound) GetPayload() *models.ErrorBody

type AddVMToFolderOK

type AddVMToFolderOK struct {
	XTowerRequestID string

	Payload []*models.WithTaskVM
}
AddVMToFolderOK describes a response with status code 200, with default header values.

AddVMToFolderOK add Vm to folder o k

func NewAddVMToFolderOK

func NewAddVMToFolderOK() *AddVMToFolderOK

NewAddVMToFolderOK creates a AddVMToFolderOK with default headers values

func (*AddVMToFolderOK) Error

func (o *AddVMToFolderOK) Error() string

func (*AddVMToFolderOK) GetPayload

func (o *AddVMToFolderOK) GetPayload() []*models.WithTaskVM

type AddVMToFolderParams

type AddVMToFolderParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.VMAddFolderParams

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

AddVMToFolderParams contains all the parameters to send to the API endpoint

for the add Vm to folder operation.

Typically these are written to a http.Request.

func NewAddVMToFolderParams

func NewAddVMToFolderParams() *AddVMToFolderParams

NewAddVMToFolderParams creates a new AddVMToFolderParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewAddVMToFolderParamsWithContext

func NewAddVMToFolderParamsWithContext(ctx context.Context) *AddVMToFolderParams

NewAddVMToFolderParamsWithContext creates a new AddVMToFolderParams object with the ability to set a context for a request.

func NewAddVMToFolderParamsWithHTTPClient

func NewAddVMToFolderParamsWithHTTPClient(client *http.Client) *AddVMToFolderParams

NewAddVMToFolderParamsWithHTTPClient creates a new AddVMToFolderParams object with the ability to set a custom HTTPClient for a request.

func NewAddVMToFolderParamsWithTimeout

func NewAddVMToFolderParamsWithTimeout(timeout time.Duration) *AddVMToFolderParams

NewAddVMToFolderParamsWithTimeout creates a new AddVMToFolderParams object with the ability to set a timeout on a request.

func (*AddVMToFolderParams) SetContentLanguage

func (o *AddVMToFolderParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the add Vm to folder params

func (*AddVMToFolderParams) SetContext

func (o *AddVMToFolderParams) SetContext(ctx context.Context)

SetContext adds the context to the add Vm to folder params

func (*AddVMToFolderParams) SetDefaults

func (o *AddVMToFolderParams) SetDefaults()

SetDefaults hydrates default values in the add Vm to folder params (not the query body).

All values with no default are reset to their zero value.

func (*AddVMToFolderParams) SetHTTPClient

func (o *AddVMToFolderParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the add Vm to folder params

func (*AddVMToFolderParams) SetRequestBody

func (o *AddVMToFolderParams) SetRequestBody(requestBody *models.VMAddFolderParams)

SetRequestBody adds the requestBody to the add Vm to folder params

func (*AddVMToFolderParams) SetTimeout

func (o *AddVMToFolderParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the add Vm to folder params

func (*AddVMToFolderParams) WithContentLanguage

func (o *AddVMToFolderParams) WithContentLanguage(contentLanguage *string) *AddVMToFolderParams

WithContentLanguage adds the contentLanguage to the add Vm to folder params

func (*AddVMToFolderParams) WithContext

WithContext adds the context to the add Vm to folder params

func (*AddVMToFolderParams) WithDefaults

func (o *AddVMToFolderParams) WithDefaults() *AddVMToFolderParams

WithDefaults hydrates default values in the add Vm to folder params (not the query body).

All values with no default are reset to their zero value.

func (*AddVMToFolderParams) WithHTTPClient

func (o *AddVMToFolderParams) WithHTTPClient(client *http.Client) *AddVMToFolderParams

WithHTTPClient adds the HTTPClient to the add Vm to folder params

func (*AddVMToFolderParams) WithRequestBody

func (o *AddVMToFolderParams) WithRequestBody(requestBody *models.VMAddFolderParams) *AddVMToFolderParams

WithRequestBody adds the requestBody to the add Vm to folder params

func (*AddVMToFolderParams) WithTimeout

func (o *AddVMToFolderParams) WithTimeout(timeout time.Duration) *AddVMToFolderParams

WithTimeout adds the timeout to the add Vm to folder params

func (*AddVMToFolderParams) WriteToRequest

func (o *AddVMToFolderParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type AddVMToFolderReader

type AddVMToFolderReader struct {
	// contains filtered or unexported fields
}

AddVMToFolderReader is a Reader for the AddVMToFolder structure.

func (*AddVMToFolderReader) ReadResponse

func (o *AddVMToFolderReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client for vm API

func (*Client) AbortMigrateVMAcrossCluster added in v2.1.0

func (a *Client) AbortMigrateVMAcrossCluster(params *AbortMigrateVMAcrossClusterParams, opts ...ClientOption) (*AbortMigrateVMAcrossClusterOK, error)

AbortMigrateVMAcrossCluster abort migrate Vm across cluster API

func (*Client) AddVMCdRom

func (a *Client) AddVMCdRom(params *AddVMCdRomParams, opts ...ClientOption) (*AddVMCdRomOK, error)

AddVMCdRom add Vm cd rom API

func (*Client) AddVMDisk

func (a *Client) AddVMDisk(params *AddVMDiskParams, opts ...ClientOption) (*AddVMDiskOK, error)

AddVMDisk add Vm disk API

func (*Client) AddVMGpuDevice added in v2.12.0

func (a *Client) AddVMGpuDevice(params *AddVMGpuDeviceParams, opts ...ClientOption) (*AddVMGpuDeviceOK, error)

AddVMGpuDevice add Vm gpu device API

func (*Client) AddVMNic

func (a *Client) AddVMNic(params *AddVMNicParams, opts ...ClientOption) (*AddVMNicOK, error)

AddVMNic add Vm nic API

func (*Client) AddVMPciNic added in v2.12.0

func (a *Client) AddVMPciNic(params *AddVMPciNicParams, opts ...ClientOption) (*AddVMPciNicOK, error)

AddVMPciNic add Vm pci nic API

func (*Client) AddVMToFolder

func (a *Client) AddVMToFolder(params *AddVMToFolderParams, opts ...ClientOption) (*AddVMToFolderOK, error)

AddVMToFolder add Vm to folder API

func (*Client) CloneVM

func (a *Client) CloneVM(params *CloneVMParams, opts ...ClientOption) (*CloneVMOK, error)

CloneVM clone Vm API

func (*Client) ConvertVMTemplateToVM

func (a *Client) ConvertVMTemplateToVM(params *ConvertVMTemplateToVMParams, opts ...ClientOption) (*ConvertVMTemplateToVMOK, error)

ConvertVMTemplateToVM convert Vm template to Vm API

func (*Client) CreateVM

func (a *Client) CreateVM(params *CreateVMParams, opts ...ClientOption) (*CreateVMOK, error)

CreateVM create Vm API

func (*Client) CreateVMFromContentLibraryTemplate added in v2.1.0

func (a *Client) CreateVMFromContentLibraryTemplate(params *CreateVMFromContentLibraryTemplateParams, opts ...ClientOption) (*CreateVMFromContentLibraryTemplateOK, error)

CreateVMFromContentLibraryTemplate create Vm from content library template API

func (*Client) CreateVMFromTemplate

func (a *Client) CreateVMFromTemplate(params *CreateVMFromTemplateParams, opts ...ClientOption) (*CreateVMFromTemplateOK, error)

CreateVMFromTemplate create Vm from template API

func (*Client) DeleteVM

func (a *Client) DeleteVM(params *DeleteVMParams, opts ...ClientOption) (*DeleteVMOK, error)

DeleteVM delete Vm API

func (*Client) EjectIsoFromVMCdRom

func (a *Client) EjectIsoFromVMCdRom(params *EjectIsoFromVMCdRomParams, opts ...ClientOption) (*EjectIsoFromVMCdRomOK, error)

EjectIsoFromVMCdRom eject iso from Vm cd rom API

func (*Client) ExpandVMDisk

func (a *Client) ExpandVMDisk(params *ExpandVMDiskParams, opts ...ClientOption) (*ExpandVMDiskOK, error)

ExpandVMDisk expand Vm disk API

func (*Client) ExportVM added in v2.9.0

func (a *Client) ExportVM(params *ExportVMParams, opts ...ClientOption) (*ExportVMOK, error)

ExportVM export Vm API

func (*Client) ForceRestartVM

func (a *Client) ForceRestartVM(params *ForceRestartVMParams, opts ...ClientOption) (*ForceRestartVMOK, error)

ForceRestartVM force restart Vm API

func (*Client) GetVMGpuDeviceInfo added in v2.14.0

func (a *Client) GetVMGpuDeviceInfo(params *GetVMGpuDeviceInfoParams, opts ...ClientOption) (*GetVMGpuDeviceInfoOK, error)

GetVMGpuDeviceInfo get Vm gpu device info API

func (*Client) GetVMVncInfo added in v2.14.0

func (a *Client) GetVMVncInfo(params *GetVMVncInfoParams, opts ...ClientOption) (*GetVMVncInfoOK, error)

GetVMVncInfo get Vm vnc info API

func (*Client) GetVms

func (a *Client) GetVms(params *GetVmsParams, opts ...ClientOption) (*GetVmsOK, error)

GetVms get vms API

func (*Client) GetVmsConnection

func (a *Client) GetVmsConnection(params *GetVmsConnectionParams, opts ...ClientOption) (*GetVmsConnectionOK, error)

GetVmsConnection get vms connection API

func (*Client) ImportVM added in v2.9.0

func (a *Client) ImportVM(params *ImportVMParams, opts ...ClientOption) (*ImportVMOK, error)

ImportVM import Vm API

func (*Client) InstallVmtools

func (a *Client) InstallVmtools(params *InstallVmtoolsParams, opts ...ClientOption) (*InstallVmtoolsOK, error)

InstallVmtools install vmtools API

func (*Client) MigrateVM added in v2.1.0

func (a *Client) MigrateVM(params *MigrateVMParams, opts ...ClientOption) (*MigrateVMOK, error)

MigrateVM migrate Vm API

func (*Client) MigrateVMAcrossCluster added in v2.1.0

func (a *Client) MigrateVMAcrossCluster(params *MigrateVMAcrossClusterParams, opts ...ClientOption) (*MigrateVMAcrossClusterOK, error)

MigrateVMAcrossCluster migrate Vm across cluster API

func (*Client) MoveVMToRecycleBin

func (a *Client) MoveVMToRecycleBin(params *MoveVMToRecycleBinParams, opts ...ClientOption) (*MoveVMToRecycleBinOK, error)

MoveVMToRecycleBin move Vm to recycle bin API

func (*Client) PoweroffVM

func (a *Client) PoweroffVM(params *PoweroffVMParams, opts ...ClientOption) (*PoweroffVMOK, error)

PoweroffVM poweroff Vm API

func (*Client) RebuildVM

func (a *Client) RebuildVM(params *RebuildVMParams, opts ...ClientOption) (*RebuildVMOK, error)

RebuildVM rebuild Vm API

func (*Client) RecoverVMFromRecycleBin

func (a *Client) RecoverVMFromRecycleBin(params *RecoverVMFromRecycleBinParams, opts ...ClientOption) (*RecoverVMFromRecycleBinOK, error)

RecoverVMFromRecycleBin recover Vm from recycle bin API

func (*Client) RemoveVMCdRom

func (a *Client) RemoveVMCdRom(params *RemoveVMCdRomParams, opts ...ClientOption) (*RemoveVMCdRomOK, error)

RemoveVMCdRom remove Vm cd rom API

func (*Client) RemoveVMDisk

func (a *Client) RemoveVMDisk(params *RemoveVMDiskParams, opts ...ClientOption) (*RemoveVMDiskOK, error)

RemoveVMDisk remove Vm disk API

func (*Client) RemoveVMGpuDevice added in v2.12.0

func (a *Client) RemoveVMGpuDevice(params *RemoveVMGpuDeviceParams, opts ...ClientOption) (*RemoveVMGpuDeviceOK, error)

RemoveVMGpuDevice remove Vm gpu device API

func (*Client) RemoveVMNic

func (a *Client) RemoveVMNic(params *RemoveVMNicParams, opts ...ClientOption) (*RemoveVMNicOK, error)

RemoveVMNic remove Vm nic API

func (*Client) RemoveVMNicByWhere added in v2.12.0

func (a *Client) RemoveVMNicByWhere(params *RemoveVMNicByWhereParams, opts ...ClientOption) (*RemoveVMNicByWhereOK, error)

RemoveVMNicByWhere remove Vm nic by where API

func (*Client) RemoveVMPciNic added in v2.12.0

func (a *Client) RemoveVMPciNic(params *RemoveVMPciNicParams, opts ...ClientOption) (*RemoveVMPciNicOK, error)

RemoveVMPciNic remove Vm pci nic API

func (*Client) RemoveVMToFolder

func (a *Client) RemoveVMToFolder(params *RemoveVMToFolderParams, opts ...ClientOption) (*RemoveVMToFolderOK, error)

RemoveVMToFolder remove Vm to folder API

func (*Client) ResetVMGuestOsPassword added in v2.1.0

func (a *Client) ResetVMGuestOsPassword(params *ResetVMGuestOsPasswordParams, opts ...ClientOption) (*ResetVMGuestOsPasswordOK, error)

ResetVMGuestOsPassword reset Vm guest os password API

func (*Client) RestartVM

func (a *Client) RestartVM(params *RestartVMParams, opts ...ClientOption) (*RestartVMOK, error)

RestartVM restart Vm API

func (*Client) ResumeVM

func (a *Client) ResumeVM(params *ResumeVMParams, opts ...ClientOption) (*ResumeVMOK, error)

ResumeVM resume Vm API

func (*Client) RollbackVM

func (a *Client) RollbackVM(params *RollbackVMParams, opts ...ClientOption) (*RollbackVMOK, error)

RollbackVM rollback Vm API

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

func (*Client) ShutDownVM

func (a *Client) ShutDownVM(params *ShutDownVMParams, opts ...ClientOption) (*ShutDownVMOK, error)

ShutDownVM shut down Vm API

func (*Client) StartVM

func (a *Client) StartVM(params *StartVMParams, opts ...ClientOption) (*StartVMOK, error)

StartVM start Vm API

func (*Client) StopVMInCutoverMigration added in v2.1.0

func (a *Client) StopVMInCutoverMigration(params *StopVMInCutoverMigrationParams, opts ...ClientOption) (*StopVMInCutoverMigrationOK, error)

StopVMInCutoverMigration stop Vm in cutover migration API

func (*Client) SuspendVM

func (a *Client) SuspendVM(params *SuspendVMParams, opts ...ClientOption) (*SuspendVMOK, error)

SuspendVM suspend Vm API

func (*Client) ToggleVMCdRomDisable

func (a *Client) ToggleVMCdRomDisable(params *ToggleVMCdRomDisableParams, opts ...ClientOption) (*ToggleVMCdRomDisableOK, error)

ToggleVMCdRomDisable toggle Vm cd rom disable API

func (*Client) UpdateVM

func (a *Client) UpdateVM(params *UpdateVMParams, opts ...ClientOption) (*UpdateVMOK, error)

UpdateVM update Vm API

func (*Client) UpdateVMAdvancedOptions

func (a *Client) UpdateVMAdvancedOptions(params *UpdateVMAdvancedOptionsParams, opts ...ClientOption) (*UpdateVMAdvancedOptionsOK, error)

UpdateVMAdvancedOptions update Vm advanced options API

func (*Client) UpdateVMDisk

func (a *Client) UpdateVMDisk(params *UpdateVMDiskParams, opts ...ClientOption) (*UpdateVMDiskOK, error)

UpdateVMDisk update Vm disk API

func (*Client) UpdateVMHostOptions added in v2.1.0

func (a *Client) UpdateVMHostOptions(params *UpdateVMHostOptionsParams, opts ...ClientOption) (*UpdateVMHostOptionsOK, error)

UpdateVMHostOptions update Vm host options API

func (*Client) UpdateVMIoPolicy added in v2.4.0

func (a *Client) UpdateVMIoPolicy(params *UpdateVMIoPolicyParams, opts ...ClientOption) (*UpdateVMIoPolicyOK, error)

UpdateVMIoPolicy update Vm io policy API

func (*Client) UpdateVMNic

func (a *Client) UpdateVMNic(params *UpdateVMNicParams, opts ...ClientOption) (*UpdateVMNicOK, error)

UpdateVMNic update Vm nic API

func (*Client) UpdateVMNicAdvanceInfo

func (a *Client) UpdateVMNicAdvanceInfo(params *UpdateVMNicAdvanceInfoParams, opts ...ClientOption) (*UpdateVMNicAdvanceInfoOK, error)

UpdateVMNicAdvanceInfo update Vm nic advance info API

func (*Client) UpdateVMNicBasicInfo

func (a *Client) UpdateVMNicBasicInfo(params *UpdateVMNicBasicInfoParams, opts ...ClientOption) (*UpdateVMNicBasicInfoOK, error)

UpdateVMNicBasicInfo update Vm nic basic info API

func (*Client) UpdateVMNicQosOption added in v2.11.0

func (a *Client) UpdateVMNicQosOption(params *UpdateVMNicQosOptionParams, opts ...ClientOption) (*UpdateVMNicQosOptionOK, error)

UpdateVMNicQosOption update Vm nic qos option API

func (*Client) UpdateVMOwner added in v2.1.0

func (a *Client) UpdateVMOwner(params *UpdateVMOwnerParams, opts ...ClientOption) (*UpdateVMOwnerOK, error)

UpdateVMOwner update Vm owner API

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	AbortMigrateVMAcrossCluster(params *AbortMigrateVMAcrossClusterParams, opts ...ClientOption) (*AbortMigrateVMAcrossClusterOK, error)

	AddVMCdRom(params *AddVMCdRomParams, opts ...ClientOption) (*AddVMCdRomOK, error)

	AddVMDisk(params *AddVMDiskParams, opts ...ClientOption) (*AddVMDiskOK, error)

	AddVMGpuDevice(params *AddVMGpuDeviceParams, opts ...ClientOption) (*AddVMGpuDeviceOK, error)

	AddVMNic(params *AddVMNicParams, opts ...ClientOption) (*AddVMNicOK, error)

	AddVMPciNic(params *AddVMPciNicParams, opts ...ClientOption) (*AddVMPciNicOK, error)

	AddVMToFolder(params *AddVMToFolderParams, opts ...ClientOption) (*AddVMToFolderOK, error)

	CloneVM(params *CloneVMParams, opts ...ClientOption) (*CloneVMOK, error)

	ConvertVMTemplateToVM(params *ConvertVMTemplateToVMParams, opts ...ClientOption) (*ConvertVMTemplateToVMOK, error)

	CreateVM(params *CreateVMParams, opts ...ClientOption) (*CreateVMOK, error)

	CreateVMFromContentLibraryTemplate(params *CreateVMFromContentLibraryTemplateParams, opts ...ClientOption) (*CreateVMFromContentLibraryTemplateOK, error)

	CreateVMFromTemplate(params *CreateVMFromTemplateParams, opts ...ClientOption) (*CreateVMFromTemplateOK, error)

	DeleteVM(params *DeleteVMParams, opts ...ClientOption) (*DeleteVMOK, error)

	EjectIsoFromVMCdRom(params *EjectIsoFromVMCdRomParams, opts ...ClientOption) (*EjectIsoFromVMCdRomOK, error)

	ExpandVMDisk(params *ExpandVMDiskParams, opts ...ClientOption) (*ExpandVMDiskOK, error)

	ExportVM(params *ExportVMParams, opts ...ClientOption) (*ExportVMOK, error)

	ForceRestartVM(params *ForceRestartVMParams, opts ...ClientOption) (*ForceRestartVMOK, error)

	GetVMGpuDeviceInfo(params *GetVMGpuDeviceInfoParams, opts ...ClientOption) (*GetVMGpuDeviceInfoOK, error)

	GetVMVncInfo(params *GetVMVncInfoParams, opts ...ClientOption) (*GetVMVncInfoOK, error)

	GetVms(params *GetVmsParams, opts ...ClientOption) (*GetVmsOK, error)

	GetVmsConnection(params *GetVmsConnectionParams, opts ...ClientOption) (*GetVmsConnectionOK, error)

	ImportVM(params *ImportVMParams, opts ...ClientOption) (*ImportVMOK, error)

	InstallVmtools(params *InstallVmtoolsParams, opts ...ClientOption) (*InstallVmtoolsOK, error)

	MigrateVM(params *MigrateVMParams, opts ...ClientOption) (*MigrateVMOK, error)

	MigrateVMAcrossCluster(params *MigrateVMAcrossClusterParams, opts ...ClientOption) (*MigrateVMAcrossClusterOK, error)

	MoveVMToRecycleBin(params *MoveVMToRecycleBinParams, opts ...ClientOption) (*MoveVMToRecycleBinOK, error)

	PoweroffVM(params *PoweroffVMParams, opts ...ClientOption) (*PoweroffVMOK, error)

	RebuildVM(params *RebuildVMParams, opts ...ClientOption) (*RebuildVMOK, error)

	RecoverVMFromRecycleBin(params *RecoverVMFromRecycleBinParams, opts ...ClientOption) (*RecoverVMFromRecycleBinOK, error)

	RemoveVMCdRom(params *RemoveVMCdRomParams, opts ...ClientOption) (*RemoveVMCdRomOK, error)

	RemoveVMDisk(params *RemoveVMDiskParams, opts ...ClientOption) (*RemoveVMDiskOK, error)

	RemoveVMGpuDevice(params *RemoveVMGpuDeviceParams, opts ...ClientOption) (*RemoveVMGpuDeviceOK, error)

	RemoveVMNic(params *RemoveVMNicParams, opts ...ClientOption) (*RemoveVMNicOK, error)

	RemoveVMNicByWhere(params *RemoveVMNicByWhereParams, opts ...ClientOption) (*RemoveVMNicByWhereOK, error)

	RemoveVMPciNic(params *RemoveVMPciNicParams, opts ...ClientOption) (*RemoveVMPciNicOK, error)

	RemoveVMToFolder(params *RemoveVMToFolderParams, opts ...ClientOption) (*RemoveVMToFolderOK, error)

	ResetVMGuestOsPassword(params *ResetVMGuestOsPasswordParams, opts ...ClientOption) (*ResetVMGuestOsPasswordOK, error)

	RestartVM(params *RestartVMParams, opts ...ClientOption) (*RestartVMOK, error)

	ResumeVM(params *ResumeVMParams, opts ...ClientOption) (*ResumeVMOK, error)

	RollbackVM(params *RollbackVMParams, opts ...ClientOption) (*RollbackVMOK, error)

	ShutDownVM(params *ShutDownVMParams, opts ...ClientOption) (*ShutDownVMOK, error)

	StartVM(params *StartVMParams, opts ...ClientOption) (*StartVMOK, error)

	StopVMInCutoverMigration(params *StopVMInCutoverMigrationParams, opts ...ClientOption) (*StopVMInCutoverMigrationOK, error)

	SuspendVM(params *SuspendVMParams, opts ...ClientOption) (*SuspendVMOK, error)

	ToggleVMCdRomDisable(params *ToggleVMCdRomDisableParams, opts ...ClientOption) (*ToggleVMCdRomDisableOK, error)

	UpdateVM(params *UpdateVMParams, opts ...ClientOption) (*UpdateVMOK, error)

	UpdateVMAdvancedOptions(params *UpdateVMAdvancedOptionsParams, opts ...ClientOption) (*UpdateVMAdvancedOptionsOK, error)

	UpdateVMDisk(params *UpdateVMDiskParams, opts ...ClientOption) (*UpdateVMDiskOK, error)

	UpdateVMHostOptions(params *UpdateVMHostOptionsParams, opts ...ClientOption) (*UpdateVMHostOptionsOK, error)

	UpdateVMIoPolicy(params *UpdateVMIoPolicyParams, opts ...ClientOption) (*UpdateVMIoPolicyOK, error)

	UpdateVMNic(params *UpdateVMNicParams, opts ...ClientOption) (*UpdateVMNicOK, error)

	UpdateVMNicAdvanceInfo(params *UpdateVMNicAdvanceInfoParams, opts ...ClientOption) (*UpdateVMNicAdvanceInfoOK, error)

	UpdateVMNicBasicInfo(params *UpdateVMNicBasicInfoParams, opts ...ClientOption) (*UpdateVMNicBasicInfoOK, error)

	UpdateVMNicQosOption(params *UpdateVMNicQosOptionParams, opts ...ClientOption) (*UpdateVMNicQosOptionOK, error)

	UpdateVMOwner(params *UpdateVMOwnerParams, opts ...ClientOption) (*UpdateVMOwnerOK, error)

	SetTransport(transport runtime.ClientTransport)
}

ClientService is the interface for Client methods

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService

New creates a new vm API client.

type CloneVMBadRequest

type CloneVMBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
CloneVMBadRequest describes a response with status code 400, with default header values.

Bad request

func NewCloneVMBadRequest

func NewCloneVMBadRequest() *CloneVMBadRequest

NewCloneVMBadRequest creates a CloneVMBadRequest with default headers values

func (*CloneVMBadRequest) Error

func (o *CloneVMBadRequest) Error() string

func (*CloneVMBadRequest) GetPayload

func (o *CloneVMBadRequest) GetPayload() *models.ErrorBody

type CloneVMInternalServerError

type CloneVMInternalServerError struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
CloneVMInternalServerError describes a response with status code 500, with default header values.

Server error

func NewCloneVMInternalServerError

func NewCloneVMInternalServerError() *CloneVMInternalServerError

NewCloneVMInternalServerError creates a CloneVMInternalServerError with default headers values

func (*CloneVMInternalServerError) Error

func (*CloneVMInternalServerError) GetPayload

func (o *CloneVMInternalServerError) GetPayload() *models.ErrorBody

type CloneVMNotFound

type CloneVMNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
CloneVMNotFound describes a response with status code 404, with default header values.

Not found

func NewCloneVMNotFound

func NewCloneVMNotFound() *CloneVMNotFound

NewCloneVMNotFound creates a CloneVMNotFound with default headers values

func (*CloneVMNotFound) Error

func (o *CloneVMNotFound) Error() string

func (*CloneVMNotFound) GetPayload

func (o *CloneVMNotFound) GetPayload() *models.ErrorBody

type CloneVMOK

type CloneVMOK struct {
	XTowerRequestID string

	Payload []*models.WithTaskVM
}
CloneVMOK describes a response with status code 200, with default header values.

CloneVMOK clone Vm o k

func NewCloneVMOK

func NewCloneVMOK() *CloneVMOK

NewCloneVMOK creates a CloneVMOK with default headers values

func (*CloneVMOK) Error

func (o *CloneVMOK) Error() string

func (*CloneVMOK) GetPayload

func (o *CloneVMOK) GetPayload() []*models.WithTaskVM

type CloneVMParams

type CloneVMParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody []*models.VMCloneParams

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

CloneVMParams contains all the parameters to send to the API endpoint

for the clone Vm operation.

Typically these are written to a http.Request.

func NewCloneVMParams

func NewCloneVMParams() *CloneVMParams

NewCloneVMParams creates a new CloneVMParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewCloneVMParamsWithContext

func NewCloneVMParamsWithContext(ctx context.Context) *CloneVMParams

NewCloneVMParamsWithContext creates a new CloneVMParams object with the ability to set a context for a request.

func NewCloneVMParamsWithHTTPClient

func NewCloneVMParamsWithHTTPClient(client *http.Client) *CloneVMParams

NewCloneVMParamsWithHTTPClient creates a new CloneVMParams object with the ability to set a custom HTTPClient for a request.

func NewCloneVMParamsWithTimeout

func NewCloneVMParamsWithTimeout(timeout time.Duration) *CloneVMParams

NewCloneVMParamsWithTimeout creates a new CloneVMParams object with the ability to set a timeout on a request.

func (*CloneVMParams) SetContentLanguage

func (o *CloneVMParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the clone Vm params

func (*CloneVMParams) SetContext

func (o *CloneVMParams) SetContext(ctx context.Context)

SetContext adds the context to the clone Vm params

func (*CloneVMParams) SetDefaults

func (o *CloneVMParams) SetDefaults()

SetDefaults hydrates default values in the clone Vm params (not the query body).

All values with no default are reset to their zero value.

func (*CloneVMParams) SetHTTPClient

func (o *CloneVMParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the clone Vm params

func (*CloneVMParams) SetRequestBody

func (o *CloneVMParams) SetRequestBody(requestBody []*models.VMCloneParams)

SetRequestBody adds the requestBody to the clone Vm params

func (*CloneVMParams) SetTimeout

func (o *CloneVMParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the clone Vm params

func (*CloneVMParams) WithContentLanguage

func (o *CloneVMParams) WithContentLanguage(contentLanguage *string) *CloneVMParams

WithContentLanguage adds the contentLanguage to the clone Vm params

func (*CloneVMParams) WithContext

func (o *CloneVMParams) WithContext(ctx context.Context) *CloneVMParams

WithContext adds the context to the clone Vm params

func (*CloneVMParams) WithDefaults

func (o *CloneVMParams) WithDefaults() *CloneVMParams

WithDefaults hydrates default values in the clone Vm params (not the query body).

All values with no default are reset to their zero value.

func (*CloneVMParams) WithHTTPClient

func (o *CloneVMParams) WithHTTPClient(client *http.Client) *CloneVMParams

WithHTTPClient adds the HTTPClient to the clone Vm params

func (*CloneVMParams) WithRequestBody

func (o *CloneVMParams) WithRequestBody(requestBody []*models.VMCloneParams) *CloneVMParams

WithRequestBody adds the requestBody to the clone Vm params

func (*CloneVMParams) WithTimeout

func (o *CloneVMParams) WithTimeout(timeout time.Duration) *CloneVMParams

WithTimeout adds the timeout to the clone Vm params

func (*CloneVMParams) WriteToRequest

func (o *CloneVMParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type CloneVMReader

type CloneVMReader struct {
	// contains filtered or unexported fields
}

CloneVMReader is a Reader for the CloneVM structure.

func (*CloneVMReader) ReadResponse

func (o *CloneVMReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ConvertVMTemplateToVMBadRequest

type ConvertVMTemplateToVMBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
ConvertVMTemplateToVMBadRequest describes a response with status code 400, with default header values.

Bad request

func NewConvertVMTemplateToVMBadRequest

func NewConvertVMTemplateToVMBadRequest() *ConvertVMTemplateToVMBadRequest

NewConvertVMTemplateToVMBadRequest creates a ConvertVMTemplateToVMBadRequest with default headers values

func (*ConvertVMTemplateToVMBadRequest) Error

func (*ConvertVMTemplateToVMBadRequest) GetPayload

type ConvertVMTemplateToVMInternalServerError

type ConvertVMTemplateToVMInternalServerError struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
ConvertVMTemplateToVMInternalServerError describes a response with status code 500, with default header values.

Server error

func NewConvertVMTemplateToVMInternalServerError

func NewConvertVMTemplateToVMInternalServerError() *ConvertVMTemplateToVMInternalServerError

NewConvertVMTemplateToVMInternalServerError creates a ConvertVMTemplateToVMInternalServerError with default headers values

func (*ConvertVMTemplateToVMInternalServerError) Error

func (*ConvertVMTemplateToVMInternalServerError) GetPayload

type ConvertVMTemplateToVMNotFound

type ConvertVMTemplateToVMNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
ConvertVMTemplateToVMNotFound describes a response with status code 404, with default header values.

Not found

func NewConvertVMTemplateToVMNotFound

func NewConvertVMTemplateToVMNotFound() *ConvertVMTemplateToVMNotFound

NewConvertVMTemplateToVMNotFound creates a ConvertVMTemplateToVMNotFound with default headers values

func (*ConvertVMTemplateToVMNotFound) Error

func (*ConvertVMTemplateToVMNotFound) GetPayload

type ConvertVMTemplateToVMOK

type ConvertVMTemplateToVMOK struct {
	XTowerRequestID string

	Payload []*models.WithTaskVM
}
ConvertVMTemplateToVMOK describes a response with status code 200, with default header values.

ConvertVMTemplateToVMOK convert Vm template to Vm o k

func NewConvertVMTemplateToVMOK

func NewConvertVMTemplateToVMOK() *ConvertVMTemplateToVMOK

NewConvertVMTemplateToVMOK creates a ConvertVMTemplateToVMOK with default headers values

func (*ConvertVMTemplateToVMOK) Error

func (o *ConvertVMTemplateToVMOK) Error() string

func (*ConvertVMTemplateToVMOK) GetPayload

func (o *ConvertVMTemplateToVMOK) GetPayload() []*models.WithTaskVM

type ConvertVMTemplateToVMParams

type ConvertVMTemplateToVMParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody []*models.ConvertVMTemplateToVMParams

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ConvertVMTemplateToVMParams contains all the parameters to send to the API endpoint

for the convert Vm template to Vm operation.

Typically these are written to a http.Request.

func NewConvertVMTemplateToVMParams

func NewConvertVMTemplateToVMParams() *ConvertVMTemplateToVMParams

NewConvertVMTemplateToVMParams creates a new ConvertVMTemplateToVMParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewConvertVMTemplateToVMParamsWithContext

func NewConvertVMTemplateToVMParamsWithContext(ctx context.Context) *ConvertVMTemplateToVMParams

NewConvertVMTemplateToVMParamsWithContext creates a new ConvertVMTemplateToVMParams object with the ability to set a context for a request.

func NewConvertVMTemplateToVMParamsWithHTTPClient

func NewConvertVMTemplateToVMParamsWithHTTPClient(client *http.Client) *ConvertVMTemplateToVMParams

NewConvertVMTemplateToVMParamsWithHTTPClient creates a new ConvertVMTemplateToVMParams object with the ability to set a custom HTTPClient for a request.

func NewConvertVMTemplateToVMParamsWithTimeout

func NewConvertVMTemplateToVMParamsWithTimeout(timeout time.Duration) *ConvertVMTemplateToVMParams

NewConvertVMTemplateToVMParamsWithTimeout creates a new ConvertVMTemplateToVMParams object with the ability to set a timeout on a request.

func (*ConvertVMTemplateToVMParams) SetContentLanguage

func (o *ConvertVMTemplateToVMParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the convert Vm template to Vm params

func (*ConvertVMTemplateToVMParams) SetContext

func (o *ConvertVMTemplateToVMParams) SetContext(ctx context.Context)

SetContext adds the context to the convert Vm template to Vm params

func (*ConvertVMTemplateToVMParams) SetDefaults

func (o *ConvertVMTemplateToVMParams) SetDefaults()

SetDefaults hydrates default values in the convert Vm template to Vm params (not the query body).

All values with no default are reset to their zero value.

func (*ConvertVMTemplateToVMParams) SetHTTPClient

func (o *ConvertVMTemplateToVMParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the convert Vm template to Vm params

func (*ConvertVMTemplateToVMParams) SetRequestBody

func (o *ConvertVMTemplateToVMParams) SetRequestBody(requestBody []*models.ConvertVMTemplateToVMParams)

SetRequestBody adds the requestBody to the convert Vm template to Vm params

func (*ConvertVMTemplateToVMParams) SetTimeout

func (o *ConvertVMTemplateToVMParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the convert Vm template to Vm params

func (*ConvertVMTemplateToVMParams) WithContentLanguage

func (o *ConvertVMTemplateToVMParams) WithContentLanguage(contentLanguage *string) *ConvertVMTemplateToVMParams

WithContentLanguage adds the contentLanguage to the convert Vm template to Vm params

func (*ConvertVMTemplateToVMParams) WithContext

WithContext adds the context to the convert Vm template to Vm params

func (*ConvertVMTemplateToVMParams) WithDefaults

WithDefaults hydrates default values in the convert Vm template to Vm params (not the query body).

All values with no default are reset to their zero value.

func (*ConvertVMTemplateToVMParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the convert Vm template to Vm params

func (*ConvertVMTemplateToVMParams) WithRequestBody

WithRequestBody adds the requestBody to the convert Vm template to Vm params

func (*ConvertVMTemplateToVMParams) WithTimeout

WithTimeout adds the timeout to the convert Vm template to Vm params

func (*ConvertVMTemplateToVMParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ConvertVMTemplateToVMReader

type ConvertVMTemplateToVMReader struct {
	// contains filtered or unexported fields
}

ConvertVMTemplateToVMReader is a Reader for the ConvertVMTemplateToVM structure.

func (*ConvertVMTemplateToVMReader) ReadResponse

func (o *ConvertVMTemplateToVMReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type CreateVMBadRequest

type CreateVMBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
CreateVMBadRequest describes a response with status code 400, with default header values.

Bad request

func NewCreateVMBadRequest

func NewCreateVMBadRequest() *CreateVMBadRequest

NewCreateVMBadRequest creates a CreateVMBadRequest with default headers values

func (*CreateVMBadRequest) Error

func (o *CreateVMBadRequest) Error() string

func (*CreateVMBadRequest) GetPayload

func (o *CreateVMBadRequest) GetPayload() *models.ErrorBody

type CreateVMFromContentLibraryTemplateBadRequest added in v2.1.0

type CreateVMFromContentLibraryTemplateBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
CreateVMFromContentLibraryTemplateBadRequest describes a response with status code 400, with default header values.

Bad request

func NewCreateVMFromContentLibraryTemplateBadRequest added in v2.1.0

func NewCreateVMFromContentLibraryTemplateBadRequest() *CreateVMFromContentLibraryTemplateBadRequest

NewCreateVMFromContentLibraryTemplateBadRequest creates a CreateVMFromContentLibraryTemplateBadRequest with default headers values

func (*CreateVMFromContentLibraryTemplateBadRequest) Error added in v2.1.0

func (*CreateVMFromContentLibraryTemplateBadRequest) GetPayload added in v2.1.0

type CreateVMFromContentLibraryTemplateInternalServerError added in v2.1.0

type CreateVMFromContentLibraryTemplateInternalServerError struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
CreateVMFromContentLibraryTemplateInternalServerError describes a response with status code 500, with default header values.

Server error

func NewCreateVMFromContentLibraryTemplateInternalServerError added in v2.1.0

func NewCreateVMFromContentLibraryTemplateInternalServerError() *CreateVMFromContentLibraryTemplateInternalServerError

NewCreateVMFromContentLibraryTemplateInternalServerError creates a CreateVMFromContentLibraryTemplateInternalServerError with default headers values

func (*CreateVMFromContentLibraryTemplateInternalServerError) Error added in v2.1.0

func (*CreateVMFromContentLibraryTemplateInternalServerError) GetPayload added in v2.1.0

type CreateVMFromContentLibraryTemplateNotFound added in v2.1.0

type CreateVMFromContentLibraryTemplateNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
CreateVMFromContentLibraryTemplateNotFound describes a response with status code 404, with default header values.

Not found

func NewCreateVMFromContentLibraryTemplateNotFound added in v2.1.0

func NewCreateVMFromContentLibraryTemplateNotFound() *CreateVMFromContentLibraryTemplateNotFound

NewCreateVMFromContentLibraryTemplateNotFound creates a CreateVMFromContentLibraryTemplateNotFound with default headers values

func (*CreateVMFromContentLibraryTemplateNotFound) Error added in v2.1.0

func (*CreateVMFromContentLibraryTemplateNotFound) GetPayload added in v2.1.0

type CreateVMFromContentLibraryTemplateOK added in v2.1.0

type CreateVMFromContentLibraryTemplateOK struct {
	XTowerRequestID string

	Payload []*models.WithTaskVM
}
CreateVMFromContentLibraryTemplateOK describes a response with status code 200, with default header values.

CreateVMFromContentLibraryTemplateOK create Vm from content library template o k

func NewCreateVMFromContentLibraryTemplateOK added in v2.1.0

func NewCreateVMFromContentLibraryTemplateOK() *CreateVMFromContentLibraryTemplateOK

NewCreateVMFromContentLibraryTemplateOK creates a CreateVMFromContentLibraryTemplateOK with default headers values

func (*CreateVMFromContentLibraryTemplateOK) Error added in v2.1.0

func (*CreateVMFromContentLibraryTemplateOK) GetPayload added in v2.1.0

type CreateVMFromContentLibraryTemplateParams added in v2.1.0

type CreateVMFromContentLibraryTemplateParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody []*models.VMCreateVMFromContentLibraryTemplateParams

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

CreateVMFromContentLibraryTemplateParams contains all the parameters to send to the API endpoint

for the create Vm from content library template operation.

Typically these are written to a http.Request.

func NewCreateVMFromContentLibraryTemplateParams added in v2.1.0

func NewCreateVMFromContentLibraryTemplateParams() *CreateVMFromContentLibraryTemplateParams

NewCreateVMFromContentLibraryTemplateParams creates a new CreateVMFromContentLibraryTemplateParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewCreateVMFromContentLibraryTemplateParamsWithContext added in v2.1.0

func NewCreateVMFromContentLibraryTemplateParamsWithContext(ctx context.Context) *CreateVMFromContentLibraryTemplateParams

NewCreateVMFromContentLibraryTemplateParamsWithContext creates a new CreateVMFromContentLibraryTemplateParams object with the ability to set a context for a request.

func NewCreateVMFromContentLibraryTemplateParamsWithHTTPClient added in v2.1.0

func NewCreateVMFromContentLibraryTemplateParamsWithHTTPClient(client *http.Client) *CreateVMFromContentLibraryTemplateParams

NewCreateVMFromContentLibraryTemplateParamsWithHTTPClient creates a new CreateVMFromContentLibraryTemplateParams object with the ability to set a custom HTTPClient for a request.

func NewCreateVMFromContentLibraryTemplateParamsWithTimeout added in v2.1.0

func NewCreateVMFromContentLibraryTemplateParamsWithTimeout(timeout time.Duration) *CreateVMFromContentLibraryTemplateParams

NewCreateVMFromContentLibraryTemplateParamsWithTimeout creates a new CreateVMFromContentLibraryTemplateParams object with the ability to set a timeout on a request.

func (*CreateVMFromContentLibraryTemplateParams) SetContentLanguage added in v2.1.0

func (o *CreateVMFromContentLibraryTemplateParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the create Vm from content library template params

func (*CreateVMFromContentLibraryTemplateParams) SetContext added in v2.1.0

SetContext adds the context to the create Vm from content library template params

func (*CreateVMFromContentLibraryTemplateParams) SetDefaults added in v2.1.0

SetDefaults hydrates default values in the create Vm from content library template params (not the query body).

All values with no default are reset to their zero value.

func (*CreateVMFromContentLibraryTemplateParams) SetHTTPClient added in v2.1.0

func (o *CreateVMFromContentLibraryTemplateParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the create Vm from content library template params

func (*CreateVMFromContentLibraryTemplateParams) SetRequestBody added in v2.1.0

SetRequestBody adds the requestBody to the create Vm from content library template params

func (*CreateVMFromContentLibraryTemplateParams) SetTimeout added in v2.1.0

SetTimeout adds the timeout to the create Vm from content library template params

func (*CreateVMFromContentLibraryTemplateParams) WithContentLanguage added in v2.1.0

WithContentLanguage adds the contentLanguage to the create Vm from content library template params

func (*CreateVMFromContentLibraryTemplateParams) WithContext added in v2.1.0

WithContext adds the context to the create Vm from content library template params

func (*CreateVMFromContentLibraryTemplateParams) WithDefaults added in v2.1.0

WithDefaults hydrates default values in the create Vm from content library template params (not the query body).

All values with no default are reset to their zero value.

func (*CreateVMFromContentLibraryTemplateParams) WithHTTPClient added in v2.1.0

WithHTTPClient adds the HTTPClient to the create Vm from content library template params

func (*CreateVMFromContentLibraryTemplateParams) WithRequestBody added in v2.1.0

WithRequestBody adds the requestBody to the create Vm from content library template params

func (*CreateVMFromContentLibraryTemplateParams) WithTimeout added in v2.1.0

WithTimeout adds the timeout to the create Vm from content library template params

func (*CreateVMFromContentLibraryTemplateParams) WriteToRequest added in v2.1.0

WriteToRequest writes these params to a swagger request

type CreateVMFromContentLibraryTemplateReader added in v2.1.0

type CreateVMFromContentLibraryTemplateReader struct {
	// contains filtered or unexported fields
}

CreateVMFromContentLibraryTemplateReader is a Reader for the CreateVMFromContentLibraryTemplate structure.

func (*CreateVMFromContentLibraryTemplateReader) ReadResponse added in v2.1.0

func (o *CreateVMFromContentLibraryTemplateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type CreateVMFromTemplateBadRequest

type CreateVMFromTemplateBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
CreateVMFromTemplateBadRequest describes a response with status code 400, with default header values.

Bad request

func NewCreateVMFromTemplateBadRequest

func NewCreateVMFromTemplateBadRequest() *CreateVMFromTemplateBadRequest

NewCreateVMFromTemplateBadRequest creates a CreateVMFromTemplateBadRequest with default headers values

func (*CreateVMFromTemplateBadRequest) Error

func (*CreateVMFromTemplateBadRequest) GetPayload

type CreateVMFromTemplateInternalServerError

type CreateVMFromTemplateInternalServerError struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
CreateVMFromTemplateInternalServerError describes a response with status code 500, with default header values.

Server error

func NewCreateVMFromTemplateInternalServerError

func NewCreateVMFromTemplateInternalServerError() *CreateVMFromTemplateInternalServerError

NewCreateVMFromTemplateInternalServerError creates a CreateVMFromTemplateInternalServerError with default headers values

func (*CreateVMFromTemplateInternalServerError) Error

func (*CreateVMFromTemplateInternalServerError) GetPayload

type CreateVMFromTemplateNotFound

type CreateVMFromTemplateNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
CreateVMFromTemplateNotFound describes a response with status code 404, with default header values.

Not found

func NewCreateVMFromTemplateNotFound

func NewCreateVMFromTemplateNotFound() *CreateVMFromTemplateNotFound

NewCreateVMFromTemplateNotFound creates a CreateVMFromTemplateNotFound with default headers values

func (*CreateVMFromTemplateNotFound) Error

func (*CreateVMFromTemplateNotFound) GetPayload

type CreateVMFromTemplateOK

type CreateVMFromTemplateOK struct {
	XTowerRequestID string

	Payload []*models.WithTaskVM
}
CreateVMFromTemplateOK describes a response with status code 200, with default header values.

CreateVMFromTemplateOK create Vm from template o k

func NewCreateVMFromTemplateOK

func NewCreateVMFromTemplateOK() *CreateVMFromTemplateOK

NewCreateVMFromTemplateOK creates a CreateVMFromTemplateOK with default headers values

func (*CreateVMFromTemplateOK) Error

func (o *CreateVMFromTemplateOK) Error() string

func (*CreateVMFromTemplateOK) GetPayload

func (o *CreateVMFromTemplateOK) GetPayload() []*models.WithTaskVM

type CreateVMFromTemplateParams

type CreateVMFromTemplateParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody []*models.VMCreateVMFromTemplateParams

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

CreateVMFromTemplateParams contains all the parameters to send to the API endpoint

for the create Vm from template operation.

Typically these are written to a http.Request.

func NewCreateVMFromTemplateParams

func NewCreateVMFromTemplateParams() *CreateVMFromTemplateParams

NewCreateVMFromTemplateParams creates a new CreateVMFromTemplateParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewCreateVMFromTemplateParamsWithContext

func NewCreateVMFromTemplateParamsWithContext(ctx context.Context) *CreateVMFromTemplateParams

NewCreateVMFromTemplateParamsWithContext creates a new CreateVMFromTemplateParams object with the ability to set a context for a request.

func NewCreateVMFromTemplateParamsWithHTTPClient

func NewCreateVMFromTemplateParamsWithHTTPClient(client *http.Client) *CreateVMFromTemplateParams

NewCreateVMFromTemplateParamsWithHTTPClient creates a new CreateVMFromTemplateParams object with the ability to set a custom HTTPClient for a request.

func NewCreateVMFromTemplateParamsWithTimeout

func NewCreateVMFromTemplateParamsWithTimeout(timeout time.Duration) *CreateVMFromTemplateParams

NewCreateVMFromTemplateParamsWithTimeout creates a new CreateVMFromTemplateParams object with the ability to set a timeout on a request.

func (*CreateVMFromTemplateParams) SetContentLanguage

func (o *CreateVMFromTemplateParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the create Vm from template params

func (*CreateVMFromTemplateParams) SetContext

func (o *CreateVMFromTemplateParams) SetContext(ctx context.Context)

SetContext adds the context to the create Vm from template params

func (*CreateVMFromTemplateParams) SetDefaults

func (o *CreateVMFromTemplateParams) SetDefaults()

SetDefaults hydrates default values in the create Vm from template params (not the query body).

All values with no default are reset to their zero value.

func (*CreateVMFromTemplateParams) SetHTTPClient

func (o *CreateVMFromTemplateParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the create Vm from template params

func (*CreateVMFromTemplateParams) SetRequestBody

func (o *CreateVMFromTemplateParams) SetRequestBody(requestBody []*models.VMCreateVMFromTemplateParams)

SetRequestBody adds the requestBody to the create Vm from template params

func (*CreateVMFromTemplateParams) SetTimeout

func (o *CreateVMFromTemplateParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the create Vm from template params

func (*CreateVMFromTemplateParams) WithContentLanguage

func (o *CreateVMFromTemplateParams) WithContentLanguage(contentLanguage *string) *CreateVMFromTemplateParams

WithContentLanguage adds the contentLanguage to the create Vm from template params

func (*CreateVMFromTemplateParams) WithContext

WithContext adds the context to the create Vm from template params

func (*CreateVMFromTemplateParams) WithDefaults

WithDefaults hydrates default values in the create Vm from template params (not the query body).

All values with no default are reset to their zero value.

func (*CreateVMFromTemplateParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create Vm from template params

func (*CreateVMFromTemplateParams) WithRequestBody

WithRequestBody adds the requestBody to the create Vm from template params

func (*CreateVMFromTemplateParams) WithTimeout

WithTimeout adds the timeout to the create Vm from template params

func (*CreateVMFromTemplateParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateVMFromTemplateReader

type CreateVMFromTemplateReader struct {
	// contains filtered or unexported fields
}

CreateVMFromTemplateReader is a Reader for the CreateVMFromTemplate structure.

func (*CreateVMFromTemplateReader) ReadResponse

func (o *CreateVMFromTemplateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type CreateVMInternalServerError

type CreateVMInternalServerError struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
CreateVMInternalServerError describes a response with status code 500, with default header values.

Server error

func NewCreateVMInternalServerError

func NewCreateVMInternalServerError() *CreateVMInternalServerError

NewCreateVMInternalServerError creates a CreateVMInternalServerError with default headers values

func (*CreateVMInternalServerError) Error

func (*CreateVMInternalServerError) GetPayload

func (o *CreateVMInternalServerError) GetPayload() *models.ErrorBody

type CreateVMNotFound

type CreateVMNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
CreateVMNotFound describes a response with status code 404, with default header values.

Not found

func NewCreateVMNotFound

func NewCreateVMNotFound() *CreateVMNotFound

NewCreateVMNotFound creates a CreateVMNotFound with default headers values

func (*CreateVMNotFound) Error

func (o *CreateVMNotFound) Error() string

func (*CreateVMNotFound) GetPayload

func (o *CreateVMNotFound) GetPayload() *models.ErrorBody

type CreateVMOK

type CreateVMOK struct {
	XTowerRequestID string

	Payload []*models.WithTaskVM
}
CreateVMOK describes a response with status code 200, with default header values.

CreateVMOK create Vm o k

func NewCreateVMOK

func NewCreateVMOK() *CreateVMOK

NewCreateVMOK creates a CreateVMOK with default headers values

func (*CreateVMOK) Error

func (o *CreateVMOK) Error() string

func (*CreateVMOK) GetPayload

func (o *CreateVMOK) GetPayload() []*models.WithTaskVM

type CreateVMParams

type CreateVMParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody []*models.VMCreationParams

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

CreateVMParams contains all the parameters to send to the API endpoint

for the create Vm operation.

Typically these are written to a http.Request.

func NewCreateVMParams

func NewCreateVMParams() *CreateVMParams

NewCreateVMParams creates a new CreateVMParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewCreateVMParamsWithContext

func NewCreateVMParamsWithContext(ctx context.Context) *CreateVMParams

NewCreateVMParamsWithContext creates a new CreateVMParams object with the ability to set a context for a request.

func NewCreateVMParamsWithHTTPClient

func NewCreateVMParamsWithHTTPClient(client *http.Client) *CreateVMParams

NewCreateVMParamsWithHTTPClient creates a new CreateVMParams object with the ability to set a custom HTTPClient for a request.

func NewCreateVMParamsWithTimeout

func NewCreateVMParamsWithTimeout(timeout time.Duration) *CreateVMParams

NewCreateVMParamsWithTimeout creates a new CreateVMParams object with the ability to set a timeout on a request.

func (*CreateVMParams) SetContentLanguage

func (o *CreateVMParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the create Vm params

func (*CreateVMParams) SetContext

func (o *CreateVMParams) SetContext(ctx context.Context)

SetContext adds the context to the create Vm params

func (*CreateVMParams) SetDefaults

func (o *CreateVMParams) SetDefaults()

SetDefaults hydrates default values in the create Vm params (not the query body).

All values with no default are reset to their zero value.

func (*CreateVMParams) SetHTTPClient

func (o *CreateVMParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the create Vm params

func (*CreateVMParams) SetRequestBody

func (o *CreateVMParams) SetRequestBody(requestBody []*models.VMCreationParams)

SetRequestBody adds the requestBody to the create Vm params

func (*CreateVMParams) SetTimeout

func (o *CreateVMParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the create Vm params

func (*CreateVMParams) WithContentLanguage

func (o *CreateVMParams) WithContentLanguage(contentLanguage *string) *CreateVMParams

WithContentLanguage adds the contentLanguage to the create Vm params

func (*CreateVMParams) WithContext

func (o *CreateVMParams) WithContext(ctx context.Context) *CreateVMParams

WithContext adds the context to the create Vm params

func (*CreateVMParams) WithDefaults

func (o *CreateVMParams) WithDefaults() *CreateVMParams

WithDefaults hydrates default values in the create Vm params (not the query body).

All values with no default are reset to their zero value.

func (*CreateVMParams) WithHTTPClient

func (o *CreateVMParams) WithHTTPClient(client *http.Client) *CreateVMParams

WithHTTPClient adds the HTTPClient to the create Vm params

func (*CreateVMParams) WithRequestBody

func (o *CreateVMParams) WithRequestBody(requestBody []*models.VMCreationParams) *CreateVMParams

WithRequestBody adds the requestBody to the create Vm params

func (*CreateVMParams) WithTimeout

func (o *CreateVMParams) WithTimeout(timeout time.Duration) *CreateVMParams

WithTimeout adds the timeout to the create Vm params

func (*CreateVMParams) WriteToRequest

func (o *CreateVMParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type CreateVMReader

type CreateVMReader struct {
	// contains filtered or unexported fields
}

CreateVMReader is a Reader for the CreateVM structure.

func (*CreateVMReader) ReadResponse

func (o *CreateVMReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type DeleteVMBadRequest

type DeleteVMBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
DeleteVMBadRequest describes a response with status code 400, with default header values.

Bad request

func NewDeleteVMBadRequest

func NewDeleteVMBadRequest() *DeleteVMBadRequest

NewDeleteVMBadRequest creates a DeleteVMBadRequest with default headers values

func (*DeleteVMBadRequest) Error

func (o *DeleteVMBadRequest) Error() string

func (*DeleteVMBadRequest) GetPayload

func (o *DeleteVMBadRequest) GetPayload() *models.ErrorBody

type DeleteVMInternalServerError

type DeleteVMInternalServerError struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
DeleteVMInternalServerError describes a response with status code 500, with default header values.

Server error

func NewDeleteVMInternalServerError

func NewDeleteVMInternalServerError() *DeleteVMInternalServerError

NewDeleteVMInternalServerError creates a DeleteVMInternalServerError with default headers values

func (*DeleteVMInternalServerError) Error

func (*DeleteVMInternalServerError) GetPayload

func (o *DeleteVMInternalServerError) GetPayload() *models.ErrorBody

type DeleteVMNotFound

type DeleteVMNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
DeleteVMNotFound describes a response with status code 404, with default header values.

Not found

func NewDeleteVMNotFound

func NewDeleteVMNotFound() *DeleteVMNotFound

NewDeleteVMNotFound creates a DeleteVMNotFound with default headers values

func (*DeleteVMNotFound) Error

func (o *DeleteVMNotFound) Error() string

func (*DeleteVMNotFound) GetPayload

func (o *DeleteVMNotFound) GetPayload() *models.ErrorBody

type DeleteVMOK

type DeleteVMOK struct {
	XTowerRequestID string

	Payload []*models.WithTaskDeleteVM
}
DeleteVMOK describes a response with status code 200, with default header values.

DeleteVMOK delete Vm o k

func NewDeleteVMOK

func NewDeleteVMOK() *DeleteVMOK

NewDeleteVMOK creates a DeleteVMOK with default headers values

func (*DeleteVMOK) Error

func (o *DeleteVMOK) Error() string

func (*DeleteVMOK) GetPayload

func (o *DeleteVMOK) GetPayload() []*models.WithTaskDeleteVM

type DeleteVMParams

type DeleteVMParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.VMDeleteParams

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DeleteVMParams contains all the parameters to send to the API endpoint

for the delete Vm operation.

Typically these are written to a http.Request.

func NewDeleteVMParams

func NewDeleteVMParams() *DeleteVMParams

NewDeleteVMParams creates a new DeleteVMParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewDeleteVMParamsWithContext

func NewDeleteVMParamsWithContext(ctx context.Context) *DeleteVMParams

NewDeleteVMParamsWithContext creates a new DeleteVMParams object with the ability to set a context for a request.

func NewDeleteVMParamsWithHTTPClient

func NewDeleteVMParamsWithHTTPClient(client *http.Client) *DeleteVMParams

NewDeleteVMParamsWithHTTPClient creates a new DeleteVMParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteVMParamsWithTimeout

func NewDeleteVMParamsWithTimeout(timeout time.Duration) *DeleteVMParams

NewDeleteVMParamsWithTimeout creates a new DeleteVMParams object with the ability to set a timeout on a request.

func (*DeleteVMParams) SetContentLanguage

func (o *DeleteVMParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the delete Vm params

func (*DeleteVMParams) SetContext

func (o *DeleteVMParams) SetContext(ctx context.Context)

SetContext adds the context to the delete Vm params

func (*DeleteVMParams) SetDefaults

func (o *DeleteVMParams) SetDefaults()

SetDefaults hydrates default values in the delete Vm params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteVMParams) SetHTTPClient

func (o *DeleteVMParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the delete Vm params

func (*DeleteVMParams) SetRequestBody

func (o *DeleteVMParams) SetRequestBody(requestBody *models.VMDeleteParams)

SetRequestBody adds the requestBody to the delete Vm params

func (*DeleteVMParams) SetTimeout

func (o *DeleteVMParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the delete Vm params

func (*DeleteVMParams) WithContentLanguage

func (o *DeleteVMParams) WithContentLanguage(contentLanguage *string) *DeleteVMParams

WithContentLanguage adds the contentLanguage to the delete Vm params

func (*DeleteVMParams) WithContext

func (o *DeleteVMParams) WithContext(ctx context.Context) *DeleteVMParams

WithContext adds the context to the delete Vm params

func (*DeleteVMParams) WithDefaults

func (o *DeleteVMParams) WithDefaults() *DeleteVMParams

WithDefaults hydrates default values in the delete Vm params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteVMParams) WithHTTPClient

func (o *DeleteVMParams) WithHTTPClient(client *http.Client) *DeleteVMParams

WithHTTPClient adds the HTTPClient to the delete Vm params

func (*DeleteVMParams) WithRequestBody

func (o *DeleteVMParams) WithRequestBody(requestBody *models.VMDeleteParams) *DeleteVMParams

WithRequestBody adds the requestBody to the delete Vm params

func (*DeleteVMParams) WithTimeout

func (o *DeleteVMParams) WithTimeout(timeout time.Duration) *DeleteVMParams

WithTimeout adds the timeout to the delete Vm params

func (*DeleteVMParams) WriteToRequest

func (o *DeleteVMParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type DeleteVMReader

type DeleteVMReader struct {
	// contains filtered or unexported fields
}

DeleteVMReader is a Reader for the DeleteVM structure.

func (*DeleteVMReader) ReadResponse

func (o *DeleteVMReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type EjectIsoFromVMCdRomBadRequest

type EjectIsoFromVMCdRomBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
EjectIsoFromVMCdRomBadRequest describes a response with status code 400, with default header values.

Bad request

func NewEjectIsoFromVMCdRomBadRequest

func NewEjectIsoFromVMCdRomBadRequest() *EjectIsoFromVMCdRomBadRequest

NewEjectIsoFromVMCdRomBadRequest creates a EjectIsoFromVMCdRomBadRequest with default headers values

func (*EjectIsoFromVMCdRomBadRequest) Error

func (*EjectIsoFromVMCdRomBadRequest) GetPayload

type EjectIsoFromVMCdRomInternalServerError

type EjectIsoFromVMCdRomInternalServerError struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
EjectIsoFromVMCdRomInternalServerError describes a response with status code 500, with default header values.

Server error

func NewEjectIsoFromVMCdRomInternalServerError

func NewEjectIsoFromVMCdRomInternalServerError() *EjectIsoFromVMCdRomInternalServerError

NewEjectIsoFromVMCdRomInternalServerError creates a EjectIsoFromVMCdRomInternalServerError with default headers values

func (*EjectIsoFromVMCdRomInternalServerError) Error

func (*EjectIsoFromVMCdRomInternalServerError) GetPayload

type EjectIsoFromVMCdRomNotFound

type EjectIsoFromVMCdRomNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
EjectIsoFromVMCdRomNotFound describes a response with status code 404, with default header values.

Not found

func NewEjectIsoFromVMCdRomNotFound

func NewEjectIsoFromVMCdRomNotFound() *EjectIsoFromVMCdRomNotFound

NewEjectIsoFromVMCdRomNotFound creates a EjectIsoFromVMCdRomNotFound with default headers values

func (*EjectIsoFromVMCdRomNotFound) Error

func (*EjectIsoFromVMCdRomNotFound) GetPayload

func (o *EjectIsoFromVMCdRomNotFound) GetPayload() *models.ErrorBody

type EjectIsoFromVMCdRomOK

type EjectIsoFromVMCdRomOK struct {
	XTowerRequestID string

	Payload []*models.WithTaskVM
}
EjectIsoFromVMCdRomOK describes a response with status code 200, with default header values.

EjectIsoFromVMCdRomOK eject iso from Vm cd rom o k

func NewEjectIsoFromVMCdRomOK

func NewEjectIsoFromVMCdRomOK() *EjectIsoFromVMCdRomOK

NewEjectIsoFromVMCdRomOK creates a EjectIsoFromVMCdRomOK with default headers values

func (*EjectIsoFromVMCdRomOK) Error

func (o *EjectIsoFromVMCdRomOK) Error() string

func (*EjectIsoFromVMCdRomOK) GetPayload

func (o *EjectIsoFromVMCdRomOK) GetPayload() []*models.WithTaskVM

type EjectIsoFromVMCdRomParams

type EjectIsoFromVMCdRomParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.VMEjectCdRomParams

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

EjectIsoFromVMCdRomParams contains all the parameters to send to the API endpoint

for the eject iso from Vm cd rom operation.

Typically these are written to a http.Request.

func NewEjectIsoFromVMCdRomParams

func NewEjectIsoFromVMCdRomParams() *EjectIsoFromVMCdRomParams

NewEjectIsoFromVMCdRomParams creates a new EjectIsoFromVMCdRomParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewEjectIsoFromVMCdRomParamsWithContext

func NewEjectIsoFromVMCdRomParamsWithContext(ctx context.Context) *EjectIsoFromVMCdRomParams

NewEjectIsoFromVMCdRomParamsWithContext creates a new EjectIsoFromVMCdRomParams object with the ability to set a context for a request.

func NewEjectIsoFromVMCdRomParamsWithHTTPClient

func NewEjectIsoFromVMCdRomParamsWithHTTPClient(client *http.Client) *EjectIsoFromVMCdRomParams

NewEjectIsoFromVMCdRomParamsWithHTTPClient creates a new EjectIsoFromVMCdRomParams object with the ability to set a custom HTTPClient for a request.

func NewEjectIsoFromVMCdRomParamsWithTimeout

func NewEjectIsoFromVMCdRomParamsWithTimeout(timeout time.Duration) *EjectIsoFromVMCdRomParams

NewEjectIsoFromVMCdRomParamsWithTimeout creates a new EjectIsoFromVMCdRomParams object with the ability to set a timeout on a request.

func (*EjectIsoFromVMCdRomParams) SetContentLanguage

func (o *EjectIsoFromVMCdRomParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the eject iso from Vm cd rom params

func (*EjectIsoFromVMCdRomParams) SetContext

func (o *EjectIsoFromVMCdRomParams) SetContext(ctx context.Context)

SetContext adds the context to the eject iso from Vm cd rom params

func (*EjectIsoFromVMCdRomParams) SetDefaults

func (o *EjectIsoFromVMCdRomParams) SetDefaults()

SetDefaults hydrates default values in the eject iso from Vm cd rom params (not the query body).

All values with no default are reset to their zero value.

func (*EjectIsoFromVMCdRomParams) SetHTTPClient

func (o *EjectIsoFromVMCdRomParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the eject iso from Vm cd rom params

func (*EjectIsoFromVMCdRomParams) SetRequestBody

func (o *EjectIsoFromVMCdRomParams) SetRequestBody(requestBody *models.VMEjectCdRomParams)

SetRequestBody adds the requestBody to the eject iso from Vm cd rom params

func (*EjectIsoFromVMCdRomParams) SetTimeout

func (o *EjectIsoFromVMCdRomParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the eject iso from Vm cd rom params

func (*EjectIsoFromVMCdRomParams) WithContentLanguage

func (o *EjectIsoFromVMCdRomParams) WithContentLanguage(contentLanguage *string) *EjectIsoFromVMCdRomParams

WithContentLanguage adds the contentLanguage to the eject iso from Vm cd rom params

func (*EjectIsoFromVMCdRomParams) WithContext

WithContext adds the context to the eject iso from Vm cd rom params

func (*EjectIsoFromVMCdRomParams) WithDefaults

WithDefaults hydrates default values in the eject iso from Vm cd rom params (not the query body).

All values with no default are reset to their zero value.

func (*EjectIsoFromVMCdRomParams) WithHTTPClient

func (o *EjectIsoFromVMCdRomParams) WithHTTPClient(client *http.Client) *EjectIsoFromVMCdRomParams

WithHTTPClient adds the HTTPClient to the eject iso from Vm cd rom params

func (*EjectIsoFromVMCdRomParams) WithRequestBody

WithRequestBody adds the requestBody to the eject iso from Vm cd rom params

func (*EjectIsoFromVMCdRomParams) WithTimeout

WithTimeout adds the timeout to the eject iso from Vm cd rom params

func (*EjectIsoFromVMCdRomParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type EjectIsoFromVMCdRomReader

type EjectIsoFromVMCdRomReader struct {
	// contains filtered or unexported fields
}

EjectIsoFromVMCdRomReader is a Reader for the EjectIsoFromVMCdRom structure.

func (*EjectIsoFromVMCdRomReader) ReadResponse

func (o *EjectIsoFromVMCdRomReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ExpandVMDiskBadRequest

type ExpandVMDiskBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
ExpandVMDiskBadRequest describes a response with status code 400, with default header values.

Bad request

func NewExpandVMDiskBadRequest

func NewExpandVMDiskBadRequest() *ExpandVMDiskBadRequest

NewExpandVMDiskBadRequest creates a ExpandVMDiskBadRequest with default headers values

func (*ExpandVMDiskBadRequest) Error

func (o *ExpandVMDiskBadRequest) Error() string

func (*ExpandVMDiskBadRequest) GetPayload

func (o *ExpandVMDiskBadRequest) GetPayload() *models.ErrorBody

type ExpandVMDiskInternalServerError

type ExpandVMDiskInternalServerError struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
ExpandVMDiskInternalServerError describes a response with status code 500, with default header values.

Server error

func NewExpandVMDiskInternalServerError

func NewExpandVMDiskInternalServerError() *ExpandVMDiskInternalServerError

NewExpandVMDiskInternalServerError creates a ExpandVMDiskInternalServerError with default headers values

func (*ExpandVMDiskInternalServerError) Error

func (*ExpandVMDiskInternalServerError) GetPayload

type ExpandVMDiskNotFound

type ExpandVMDiskNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
ExpandVMDiskNotFound describes a response with status code 404, with default header values.

Not found

func NewExpandVMDiskNotFound

func NewExpandVMDiskNotFound() *ExpandVMDiskNotFound

NewExpandVMDiskNotFound creates a ExpandVMDiskNotFound with default headers values

func (*ExpandVMDiskNotFound) Error

func (o *ExpandVMDiskNotFound) Error() string

func (*ExpandVMDiskNotFound) GetPayload

func (o *ExpandVMDiskNotFound) GetPayload() *models.ErrorBody

type ExpandVMDiskOK

type ExpandVMDiskOK struct {
	XTowerRequestID string

	Payload []*models.WithTaskVM
}
ExpandVMDiskOK describes a response with status code 200, with default header values.

ExpandVMDiskOK expand Vm disk o k

func NewExpandVMDiskOK

func NewExpandVMDiskOK() *ExpandVMDiskOK

NewExpandVMDiskOK creates a ExpandVMDiskOK with default headers values

func (*ExpandVMDiskOK) Error

func (o *ExpandVMDiskOK) Error() string

func (*ExpandVMDiskOK) GetPayload

func (o *ExpandVMDiskOK) GetPayload() []*models.WithTaskVM

type ExpandVMDiskParams

type ExpandVMDiskParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.VMExpandVMDiskParams

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ExpandVMDiskParams contains all the parameters to send to the API endpoint

for the expand Vm disk operation.

Typically these are written to a http.Request.

func NewExpandVMDiskParams

func NewExpandVMDiskParams() *ExpandVMDiskParams

NewExpandVMDiskParams creates a new ExpandVMDiskParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewExpandVMDiskParamsWithContext

func NewExpandVMDiskParamsWithContext(ctx context.Context) *ExpandVMDiskParams

NewExpandVMDiskParamsWithContext creates a new ExpandVMDiskParams object with the ability to set a context for a request.

func NewExpandVMDiskParamsWithHTTPClient

func NewExpandVMDiskParamsWithHTTPClient(client *http.Client) *ExpandVMDiskParams

NewExpandVMDiskParamsWithHTTPClient creates a new ExpandVMDiskParams object with the ability to set a custom HTTPClient for a request.

func NewExpandVMDiskParamsWithTimeout

func NewExpandVMDiskParamsWithTimeout(timeout time.Duration) *ExpandVMDiskParams

NewExpandVMDiskParamsWithTimeout creates a new ExpandVMDiskParams object with the ability to set a timeout on a request.

func (*ExpandVMDiskParams) SetContentLanguage

func (o *ExpandVMDiskParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the expand Vm disk params

func (*ExpandVMDiskParams) SetContext

func (o *ExpandVMDiskParams) SetContext(ctx context.Context)

SetContext adds the context to the expand Vm disk params

func (*ExpandVMDiskParams) SetDefaults

func (o *ExpandVMDiskParams) SetDefaults()

SetDefaults hydrates default values in the expand Vm disk params (not the query body).

All values with no default are reset to their zero value.

func (*ExpandVMDiskParams) SetHTTPClient

func (o *ExpandVMDiskParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the expand Vm disk params

func (*ExpandVMDiskParams) SetRequestBody

func (o *ExpandVMDiskParams) SetRequestBody(requestBody *models.VMExpandVMDiskParams)

SetRequestBody adds the requestBody to the expand Vm disk params

func (*ExpandVMDiskParams) SetTimeout

func (o *ExpandVMDiskParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the expand Vm disk params

func (*ExpandVMDiskParams) WithContentLanguage

func (o *ExpandVMDiskParams) WithContentLanguage(contentLanguage *string) *ExpandVMDiskParams

WithContentLanguage adds the contentLanguage to the expand Vm disk params

func (*ExpandVMDiskParams) WithContext

WithContext adds the context to the expand Vm disk params

func (*ExpandVMDiskParams) WithDefaults

func (o *ExpandVMDiskParams) WithDefaults() *ExpandVMDiskParams

WithDefaults hydrates default values in the expand Vm disk params (not the query body).

All values with no default are reset to their zero value.

func (*ExpandVMDiskParams) WithHTTPClient

func (o *ExpandVMDiskParams) WithHTTPClient(client *http.Client) *ExpandVMDiskParams

WithHTTPClient adds the HTTPClient to the expand Vm disk params

func (*ExpandVMDiskParams) WithRequestBody

func (o *ExpandVMDiskParams) WithRequestBody(requestBody *models.VMExpandVMDiskParams) *ExpandVMDiskParams

WithRequestBody adds the requestBody to the expand Vm disk params

func (*ExpandVMDiskParams) WithTimeout

func (o *ExpandVMDiskParams) WithTimeout(timeout time.Duration) *ExpandVMDiskParams

WithTimeout adds the timeout to the expand Vm disk params

func (*ExpandVMDiskParams) WriteToRequest

func (o *ExpandVMDiskParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ExpandVMDiskReader

type ExpandVMDiskReader struct {
	// contains filtered or unexported fields
}

ExpandVMDiskReader is a Reader for the ExpandVMDisk structure.

func (*ExpandVMDiskReader) ReadResponse

func (o *ExpandVMDiskReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ExportVMBadRequest added in v2.9.0

type ExportVMBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
ExportVMBadRequest describes a response with status code 400, with default header values.

Bad request

func NewExportVMBadRequest added in v2.9.0

func NewExportVMBadRequest() *ExportVMBadRequest

NewExportVMBadRequest creates a ExportVMBadRequest with default headers values

func (*ExportVMBadRequest) Error added in v2.9.0

func (o *ExportVMBadRequest) Error() string

func (*ExportVMBadRequest) GetPayload added in v2.9.0

func (o *ExportVMBadRequest) GetPayload() *models.ErrorBody

type ExportVMInternalServerError added in v2.9.0

type ExportVMInternalServerError struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
ExportVMInternalServerError describes a response with status code 500, with default header values.

Server error

func NewExportVMInternalServerError added in v2.9.0

func NewExportVMInternalServerError() *ExportVMInternalServerError

NewExportVMInternalServerError creates a ExportVMInternalServerError with default headers values

func (*ExportVMInternalServerError) Error added in v2.9.0

func (*ExportVMInternalServerError) GetPayload added in v2.9.0

func (o *ExportVMInternalServerError) GetPayload() *models.ErrorBody

type ExportVMNotFound added in v2.9.0

type ExportVMNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
ExportVMNotFound describes a response with status code 404, with default header values.

Not found

func NewExportVMNotFound added in v2.9.0

func NewExportVMNotFound() *ExportVMNotFound

NewExportVMNotFound creates a ExportVMNotFound with default headers values

func (*ExportVMNotFound) Error added in v2.9.0

func (o *ExportVMNotFound) Error() string

func (*ExportVMNotFound) GetPayload added in v2.9.0

func (o *ExportVMNotFound) GetPayload() *models.ErrorBody

type ExportVMNotModified added in v2.9.0

type ExportVMNotModified struct {
}
ExportVMNotModified describes a response with status code 304, with default header values.

Not modified

func NewExportVMNotModified added in v2.9.0

func NewExportVMNotModified() *ExportVMNotModified

NewExportVMNotModified creates a ExportVMNotModified with default headers values

func (*ExportVMNotModified) Error added in v2.9.0

func (o *ExportVMNotModified) Error() string

type ExportVMOK added in v2.9.0

type ExportVMOK struct {
	XTowerRequestID string

	Payload []*models.WithTaskVMExportFile
}
ExportVMOK describes a response with status code 200, with default header values.

ExportVMOK export Vm o k

func NewExportVMOK added in v2.9.0

func NewExportVMOK() *ExportVMOK

NewExportVMOK creates a ExportVMOK with default headers values

func (*ExportVMOK) Error added in v2.9.0

func (o *ExportVMOK) Error() string

func (*ExportVMOK) GetPayload added in v2.9.0

func (o *ExportVMOK) GetPayload() []*models.WithTaskVMExportFile

type ExportVMParams added in v2.9.0

type ExportVMParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.VMExportParams

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ExportVMParams contains all the parameters to send to the API endpoint

for the export Vm operation.

Typically these are written to a http.Request.

func NewExportVMParams added in v2.9.0

func NewExportVMParams() *ExportVMParams

NewExportVMParams creates a new ExportVMParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewExportVMParamsWithContext added in v2.9.0

func NewExportVMParamsWithContext(ctx context.Context) *ExportVMParams

NewExportVMParamsWithContext creates a new ExportVMParams object with the ability to set a context for a request.

func NewExportVMParamsWithHTTPClient added in v2.9.0

func NewExportVMParamsWithHTTPClient(client *http.Client) *ExportVMParams

NewExportVMParamsWithHTTPClient creates a new ExportVMParams object with the ability to set a custom HTTPClient for a request.

func NewExportVMParamsWithTimeout added in v2.9.0

func NewExportVMParamsWithTimeout(timeout time.Duration) *ExportVMParams

NewExportVMParamsWithTimeout creates a new ExportVMParams object with the ability to set a timeout on a request.

func (*ExportVMParams) SetContentLanguage added in v2.9.0

func (o *ExportVMParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the export Vm params

func (*ExportVMParams) SetContext added in v2.9.0

func (o *ExportVMParams) SetContext(ctx context.Context)

SetContext adds the context to the export Vm params

func (*ExportVMParams) SetDefaults added in v2.9.0

func (o *ExportVMParams) SetDefaults()

SetDefaults hydrates default values in the export Vm params (not the query body).

All values with no default are reset to their zero value.

func (*ExportVMParams) SetHTTPClient added in v2.9.0

func (o *ExportVMParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the export Vm params

func (*ExportVMParams) SetRequestBody added in v2.9.0

func (o *ExportVMParams) SetRequestBody(requestBody *models.VMExportParams)

SetRequestBody adds the requestBody to the export Vm params

func (*ExportVMParams) SetTimeout added in v2.9.0

func (o *ExportVMParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the export Vm params

func (*ExportVMParams) WithContentLanguage added in v2.9.0

func (o *ExportVMParams) WithContentLanguage(contentLanguage *string) *ExportVMParams

WithContentLanguage adds the contentLanguage to the export Vm params

func (*ExportVMParams) WithContext added in v2.9.0

func (o *ExportVMParams) WithContext(ctx context.Context) *ExportVMParams

WithContext adds the context to the export Vm params

func (*ExportVMParams) WithDefaults added in v2.9.0

func (o *ExportVMParams) WithDefaults() *ExportVMParams

WithDefaults hydrates default values in the export Vm params (not the query body).

All values with no default are reset to their zero value.

func (*ExportVMParams) WithHTTPClient added in v2.9.0

func (o *ExportVMParams) WithHTTPClient(client *http.Client) *ExportVMParams

WithHTTPClient adds the HTTPClient to the export Vm params

func (*ExportVMParams) WithRequestBody added in v2.9.0

func (o *ExportVMParams) WithRequestBody(requestBody *models.VMExportParams) *ExportVMParams

WithRequestBody adds the requestBody to the export Vm params

func (*ExportVMParams) WithTimeout added in v2.9.0

func (o *ExportVMParams) WithTimeout(timeout time.Duration) *ExportVMParams

WithTimeout adds the timeout to the export Vm params

func (*ExportVMParams) WriteToRequest added in v2.9.0

func (o *ExportVMParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ExportVMReader added in v2.9.0

type ExportVMReader struct {
	// contains filtered or unexported fields
}

ExportVMReader is a Reader for the ExportVM structure.

func (*ExportVMReader) ReadResponse added in v2.9.0

func (o *ExportVMReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ForceRestartVMBadRequest

type ForceRestartVMBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
ForceRestartVMBadRequest describes a response with status code 400, with default header values.

Bad request

func NewForceRestartVMBadRequest

func NewForceRestartVMBadRequest() *ForceRestartVMBadRequest

NewForceRestartVMBadRequest creates a ForceRestartVMBadRequest with default headers values

func (*ForceRestartVMBadRequest) Error

func (o *ForceRestartVMBadRequest) Error() string

func (*ForceRestartVMBadRequest) GetPayload

func (o *ForceRestartVMBadRequest) GetPayload() *models.ErrorBody

type ForceRestartVMInternalServerError

type ForceRestartVMInternalServerError struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
ForceRestartVMInternalServerError describes a response with status code 500, with default header values.

Server error

func NewForceRestartVMInternalServerError

func NewForceRestartVMInternalServerError() *ForceRestartVMInternalServerError

NewForceRestartVMInternalServerError creates a ForceRestartVMInternalServerError with default headers values

func (*ForceRestartVMInternalServerError) Error

func (*ForceRestartVMInternalServerError) GetPayload

type ForceRestartVMNotFound

type ForceRestartVMNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
ForceRestartVMNotFound describes a response with status code 404, with default header values.

Not found

func NewForceRestartVMNotFound

func NewForceRestartVMNotFound() *ForceRestartVMNotFound

NewForceRestartVMNotFound creates a ForceRestartVMNotFound with default headers values

func (*ForceRestartVMNotFound) Error

func (o *ForceRestartVMNotFound) Error() string

func (*ForceRestartVMNotFound) GetPayload

func (o *ForceRestartVMNotFound) GetPayload() *models.ErrorBody

type ForceRestartVMOK

type ForceRestartVMOK struct {
	XTowerRequestID string

	Payload []*models.WithTaskVM
}
ForceRestartVMOK describes a response with status code 200, with default header values.

ForceRestartVMOK force restart Vm o k

func NewForceRestartVMOK

func NewForceRestartVMOK() *ForceRestartVMOK

NewForceRestartVMOK creates a ForceRestartVMOK with default headers values

func (*ForceRestartVMOK) Error

func (o *ForceRestartVMOK) Error() string

func (*ForceRestartVMOK) GetPayload

func (o *ForceRestartVMOK) GetPayload() []*models.WithTaskVM

type ForceRestartVMParams

type ForceRestartVMParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.VMOperateParams

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ForceRestartVMParams contains all the parameters to send to the API endpoint

for the force restart Vm operation.

Typically these are written to a http.Request.

func NewForceRestartVMParams

func NewForceRestartVMParams() *ForceRestartVMParams

NewForceRestartVMParams creates a new ForceRestartVMParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewForceRestartVMParamsWithContext

func NewForceRestartVMParamsWithContext(ctx context.Context) *ForceRestartVMParams

NewForceRestartVMParamsWithContext creates a new ForceRestartVMParams object with the ability to set a context for a request.

func NewForceRestartVMParamsWithHTTPClient

func NewForceRestartVMParamsWithHTTPClient(client *http.Client) *ForceRestartVMParams

NewForceRestartVMParamsWithHTTPClient creates a new ForceRestartVMParams object with the ability to set a custom HTTPClient for a request.

func NewForceRestartVMParamsWithTimeout

func NewForceRestartVMParamsWithTimeout(timeout time.Duration) *ForceRestartVMParams

NewForceRestartVMParamsWithTimeout creates a new ForceRestartVMParams object with the ability to set a timeout on a request.

func (*ForceRestartVMParams) SetContentLanguage

func (o *ForceRestartVMParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the force restart Vm params

func (*ForceRestartVMParams) SetContext

func (o *ForceRestartVMParams) SetContext(ctx context.Context)

SetContext adds the context to the force restart Vm params

func (*ForceRestartVMParams) SetDefaults

func (o *ForceRestartVMParams) SetDefaults()

SetDefaults hydrates default values in the force restart Vm params (not the query body).

All values with no default are reset to their zero value.

func (*ForceRestartVMParams) SetHTTPClient

func (o *ForceRestartVMParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the force restart Vm params

func (*ForceRestartVMParams) SetRequestBody

func (o *ForceRestartVMParams) SetRequestBody(requestBody *models.VMOperateParams)

SetRequestBody adds the requestBody to the force restart Vm params

func (*ForceRestartVMParams) SetTimeout

func (o *ForceRestartVMParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the force restart Vm params

func (*ForceRestartVMParams) WithContentLanguage

func (o *ForceRestartVMParams) WithContentLanguage(contentLanguage *string) *ForceRestartVMParams

WithContentLanguage adds the contentLanguage to the force restart Vm params

func (*ForceRestartVMParams) WithContext

WithContext adds the context to the force restart Vm params

func (*ForceRestartVMParams) WithDefaults

func (o *ForceRestartVMParams) WithDefaults() *ForceRestartVMParams

WithDefaults hydrates default values in the force restart Vm params (not the query body).

All values with no default are reset to their zero value.

func (*ForceRestartVMParams) WithHTTPClient

func (o *ForceRestartVMParams) WithHTTPClient(client *http.Client) *ForceRestartVMParams

WithHTTPClient adds the HTTPClient to the force restart Vm params

func (*ForceRestartVMParams) WithRequestBody

func (o *ForceRestartVMParams) WithRequestBody(requestBody *models.VMOperateParams) *ForceRestartVMParams

WithRequestBody adds the requestBody to the force restart Vm params

func (*ForceRestartVMParams) WithTimeout

func (o *ForceRestartVMParams) WithTimeout(timeout time.Duration) *ForceRestartVMParams

WithTimeout adds the timeout to the force restart Vm params

func (*ForceRestartVMParams) WriteToRequest

func (o *ForceRestartVMParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ForceRestartVMReader

type ForceRestartVMReader struct {
	// contains filtered or unexported fields
}

ForceRestartVMReader is a Reader for the ForceRestartVM structure.

func (*ForceRestartVMReader) ReadResponse

func (o *ForceRestartVMReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetVMGpuDeviceInfoBadRequest added in v2.14.0

type GetVMGpuDeviceInfoBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
GetVMGpuDeviceInfoBadRequest describes a response with status code 400, with default header values.

Bad request

func NewGetVMGpuDeviceInfoBadRequest added in v2.14.0

func NewGetVMGpuDeviceInfoBadRequest() *GetVMGpuDeviceInfoBadRequest

NewGetVMGpuDeviceInfoBadRequest creates a GetVMGpuDeviceInfoBadRequest with default headers values

func (*GetVMGpuDeviceInfoBadRequest) Error added in v2.14.0

func (*GetVMGpuDeviceInfoBadRequest) GetPayload added in v2.14.0

type GetVMGpuDeviceInfoInternalServerError added in v2.14.0

type GetVMGpuDeviceInfoInternalServerError struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
GetVMGpuDeviceInfoInternalServerError describes a response with status code 500, with default header values.

Server error

func NewGetVMGpuDeviceInfoInternalServerError added in v2.14.0

func NewGetVMGpuDeviceInfoInternalServerError() *GetVMGpuDeviceInfoInternalServerError

NewGetVMGpuDeviceInfoInternalServerError creates a GetVMGpuDeviceInfoInternalServerError with default headers values

func (*GetVMGpuDeviceInfoInternalServerError) Error added in v2.14.0

func (*GetVMGpuDeviceInfoInternalServerError) GetPayload added in v2.14.0

type GetVMGpuDeviceInfoNotFound added in v2.14.0

type GetVMGpuDeviceInfoNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
GetVMGpuDeviceInfoNotFound describes a response with status code 404, with default header values.

Not found

func NewGetVMGpuDeviceInfoNotFound added in v2.14.0

func NewGetVMGpuDeviceInfoNotFound() *GetVMGpuDeviceInfoNotFound

NewGetVMGpuDeviceInfoNotFound creates a GetVMGpuDeviceInfoNotFound with default headers values

func (*GetVMGpuDeviceInfoNotFound) Error added in v2.14.0

func (*GetVMGpuDeviceInfoNotFound) GetPayload added in v2.14.0

func (o *GetVMGpuDeviceInfoNotFound) GetPayload() *models.ErrorBody

type GetVMGpuDeviceInfoOK added in v2.14.0

type GetVMGpuDeviceInfoOK struct {
	XTowerRequestID string

	Payload []*models.VMGpuInfo
}
GetVMGpuDeviceInfoOK describes a response with status code 200, with default header values.

GetVMGpuDeviceInfoOK get Vm gpu device info o k

func NewGetVMGpuDeviceInfoOK added in v2.14.0

func NewGetVMGpuDeviceInfoOK() *GetVMGpuDeviceInfoOK

NewGetVMGpuDeviceInfoOK creates a GetVMGpuDeviceInfoOK with default headers values

func (*GetVMGpuDeviceInfoOK) Error added in v2.14.0

func (o *GetVMGpuDeviceInfoOK) Error() string

func (*GetVMGpuDeviceInfoOK) GetPayload added in v2.14.0

func (o *GetVMGpuDeviceInfoOK) GetPayload() []*models.VMGpuInfo

type GetVMGpuDeviceInfoParams added in v2.14.0

type GetVMGpuDeviceInfoParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.GetVmsRequestBody

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetVMGpuDeviceInfoParams contains all the parameters to send to the API endpoint

for the get Vm gpu device info operation.

Typically these are written to a http.Request.

func NewGetVMGpuDeviceInfoParams added in v2.14.0

func NewGetVMGpuDeviceInfoParams() *GetVMGpuDeviceInfoParams

NewGetVMGpuDeviceInfoParams creates a new GetVMGpuDeviceInfoParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetVMGpuDeviceInfoParamsWithContext added in v2.14.0

func NewGetVMGpuDeviceInfoParamsWithContext(ctx context.Context) *GetVMGpuDeviceInfoParams

NewGetVMGpuDeviceInfoParamsWithContext creates a new GetVMGpuDeviceInfoParams object with the ability to set a context for a request.

func NewGetVMGpuDeviceInfoParamsWithHTTPClient added in v2.14.0

func NewGetVMGpuDeviceInfoParamsWithHTTPClient(client *http.Client) *GetVMGpuDeviceInfoParams

NewGetVMGpuDeviceInfoParamsWithHTTPClient creates a new GetVMGpuDeviceInfoParams object with the ability to set a custom HTTPClient for a request.

func NewGetVMGpuDeviceInfoParamsWithTimeout added in v2.14.0

func NewGetVMGpuDeviceInfoParamsWithTimeout(timeout time.Duration) *GetVMGpuDeviceInfoParams

NewGetVMGpuDeviceInfoParamsWithTimeout creates a new GetVMGpuDeviceInfoParams object with the ability to set a timeout on a request.

func (*GetVMGpuDeviceInfoParams) SetContentLanguage added in v2.14.0

func (o *GetVMGpuDeviceInfoParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the get Vm gpu device info params

func (*GetVMGpuDeviceInfoParams) SetContext added in v2.14.0

func (o *GetVMGpuDeviceInfoParams) SetContext(ctx context.Context)

SetContext adds the context to the get Vm gpu device info params

func (*GetVMGpuDeviceInfoParams) SetDefaults added in v2.14.0

func (o *GetVMGpuDeviceInfoParams) SetDefaults()

SetDefaults hydrates default values in the get Vm gpu device info params (not the query body).

All values with no default are reset to their zero value.

func (*GetVMGpuDeviceInfoParams) SetHTTPClient added in v2.14.0

func (o *GetVMGpuDeviceInfoParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get Vm gpu device info params

func (*GetVMGpuDeviceInfoParams) SetRequestBody added in v2.14.0

func (o *GetVMGpuDeviceInfoParams) SetRequestBody(requestBody *models.GetVmsRequestBody)

SetRequestBody adds the requestBody to the get Vm gpu device info params

func (*GetVMGpuDeviceInfoParams) SetTimeout added in v2.14.0

func (o *GetVMGpuDeviceInfoParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get Vm gpu device info params

func (*GetVMGpuDeviceInfoParams) WithContentLanguage added in v2.14.0

func (o *GetVMGpuDeviceInfoParams) WithContentLanguage(contentLanguage *string) *GetVMGpuDeviceInfoParams

WithContentLanguage adds the contentLanguage to the get Vm gpu device info params

func (*GetVMGpuDeviceInfoParams) WithContext added in v2.14.0

WithContext adds the context to the get Vm gpu device info params

func (*GetVMGpuDeviceInfoParams) WithDefaults added in v2.14.0

WithDefaults hydrates default values in the get Vm gpu device info params (not the query body).

All values with no default are reset to their zero value.

func (*GetVMGpuDeviceInfoParams) WithHTTPClient added in v2.14.0

func (o *GetVMGpuDeviceInfoParams) WithHTTPClient(client *http.Client) *GetVMGpuDeviceInfoParams

WithHTTPClient adds the HTTPClient to the get Vm gpu device info params

func (*GetVMGpuDeviceInfoParams) WithRequestBody added in v2.14.0

WithRequestBody adds the requestBody to the get Vm gpu device info params

func (*GetVMGpuDeviceInfoParams) WithTimeout added in v2.14.0

WithTimeout adds the timeout to the get Vm gpu device info params

func (*GetVMGpuDeviceInfoParams) WriteToRequest added in v2.14.0

WriteToRequest writes these params to a swagger request

type GetVMGpuDeviceInfoReader added in v2.14.0

type GetVMGpuDeviceInfoReader struct {
	// contains filtered or unexported fields
}

GetVMGpuDeviceInfoReader is a Reader for the GetVMGpuDeviceInfo structure.

func (*GetVMGpuDeviceInfoReader) ReadResponse added in v2.14.0

func (o *GetVMGpuDeviceInfoReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetVMVncInfoBadRequest added in v2.14.0

type GetVMVncInfoBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
GetVMVncInfoBadRequest describes a response with status code 400, with default header values.

Bad request

func NewGetVMVncInfoBadRequest added in v2.14.0

func NewGetVMVncInfoBadRequest() *GetVMVncInfoBadRequest

NewGetVMVncInfoBadRequest creates a GetVMVncInfoBadRequest with default headers values

func (*GetVMVncInfoBadRequest) Error added in v2.14.0

func (o *GetVMVncInfoBadRequest) Error() string

func (*GetVMVncInfoBadRequest) GetPayload added in v2.14.0

func (o *GetVMVncInfoBadRequest) GetPayload() *models.ErrorBody

type GetVMVncInfoInternalServerError added in v2.14.0

type GetVMVncInfoInternalServerError struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
GetVMVncInfoInternalServerError describes a response with status code 500, with default header values.

Server error

func NewGetVMVncInfoInternalServerError added in v2.14.0

func NewGetVMVncInfoInternalServerError() *GetVMVncInfoInternalServerError

NewGetVMVncInfoInternalServerError creates a GetVMVncInfoInternalServerError with default headers values

func (*GetVMVncInfoInternalServerError) Error added in v2.14.0

func (*GetVMVncInfoInternalServerError) GetPayload added in v2.14.0

type GetVMVncInfoNotFound added in v2.14.0

type GetVMVncInfoNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
GetVMVncInfoNotFound describes a response with status code 404, with default header values.

Not found

func NewGetVMVncInfoNotFound added in v2.14.0

func NewGetVMVncInfoNotFound() *GetVMVncInfoNotFound

NewGetVMVncInfoNotFound creates a GetVMVncInfoNotFound with default headers values

func (*GetVMVncInfoNotFound) Error added in v2.14.0

func (o *GetVMVncInfoNotFound) Error() string

func (*GetVMVncInfoNotFound) GetPayload added in v2.14.0

func (o *GetVMVncInfoNotFound) GetPayload() *models.ErrorBody

type GetVMVncInfoOK added in v2.14.0

type GetVMVncInfoOK struct {
	XTowerRequestID string

	Payload *models.VMVncInfo
}
GetVMVncInfoOK describes a response with status code 200, with default header values.

GetVMVncInfoOK get Vm vnc info o k

func NewGetVMVncInfoOK added in v2.14.0

func NewGetVMVncInfoOK() *GetVMVncInfoOK

NewGetVMVncInfoOK creates a GetVMVncInfoOK with default headers values

func (*GetVMVncInfoOK) Error added in v2.14.0

func (o *GetVMVncInfoOK) Error() string

func (*GetVMVncInfoOK) GetPayload added in v2.14.0

func (o *GetVMVncInfoOK) GetPayload() *models.VMVncInfo

type GetVMVncInfoParams added in v2.14.0

type GetVMVncInfoParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.GetVMVncInfoParams

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetVMVncInfoParams contains all the parameters to send to the API endpoint

for the get Vm vnc info operation.

Typically these are written to a http.Request.

func NewGetVMVncInfoParams added in v2.14.0

func NewGetVMVncInfoParams() *GetVMVncInfoParams

NewGetVMVncInfoParams creates a new GetVMVncInfoParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetVMVncInfoParamsWithContext added in v2.14.0

func NewGetVMVncInfoParamsWithContext(ctx context.Context) *GetVMVncInfoParams

NewGetVMVncInfoParamsWithContext creates a new GetVMVncInfoParams object with the ability to set a context for a request.

func NewGetVMVncInfoParamsWithHTTPClient added in v2.14.0

func NewGetVMVncInfoParamsWithHTTPClient(client *http.Client) *GetVMVncInfoParams

NewGetVMVncInfoParamsWithHTTPClient creates a new GetVMVncInfoParams object with the ability to set a custom HTTPClient for a request.

func NewGetVMVncInfoParamsWithTimeout added in v2.14.0

func NewGetVMVncInfoParamsWithTimeout(timeout time.Duration) *GetVMVncInfoParams

NewGetVMVncInfoParamsWithTimeout creates a new GetVMVncInfoParams object with the ability to set a timeout on a request.

func (*GetVMVncInfoParams) SetContentLanguage added in v2.14.0

func (o *GetVMVncInfoParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the get Vm vnc info params

func (*GetVMVncInfoParams) SetContext added in v2.14.0

func (o *GetVMVncInfoParams) SetContext(ctx context.Context)

SetContext adds the context to the get Vm vnc info params

func (*GetVMVncInfoParams) SetDefaults added in v2.14.0

func (o *GetVMVncInfoParams) SetDefaults()

SetDefaults hydrates default values in the get Vm vnc info params (not the query body).

All values with no default are reset to their zero value.

func (*GetVMVncInfoParams) SetHTTPClient added in v2.14.0

func (o *GetVMVncInfoParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get Vm vnc info params

func (*GetVMVncInfoParams) SetRequestBody added in v2.14.0

func (o *GetVMVncInfoParams) SetRequestBody(requestBody *models.GetVMVncInfoParams)

SetRequestBody adds the requestBody to the get Vm vnc info params

func (*GetVMVncInfoParams) SetTimeout added in v2.14.0

func (o *GetVMVncInfoParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get Vm vnc info params

func (*GetVMVncInfoParams) WithContentLanguage added in v2.14.0

func (o *GetVMVncInfoParams) WithContentLanguage(contentLanguage *string) *GetVMVncInfoParams

WithContentLanguage adds the contentLanguage to the get Vm vnc info params

func (*GetVMVncInfoParams) WithContext added in v2.14.0

WithContext adds the context to the get Vm vnc info params

func (*GetVMVncInfoParams) WithDefaults added in v2.14.0

func (o *GetVMVncInfoParams) WithDefaults() *GetVMVncInfoParams

WithDefaults hydrates default values in the get Vm vnc info params (not the query body).

All values with no default are reset to their zero value.

func (*GetVMVncInfoParams) WithHTTPClient added in v2.14.0

func (o *GetVMVncInfoParams) WithHTTPClient(client *http.Client) *GetVMVncInfoParams

WithHTTPClient adds the HTTPClient to the get Vm vnc info params

func (*GetVMVncInfoParams) WithRequestBody added in v2.14.0

func (o *GetVMVncInfoParams) WithRequestBody(requestBody *models.GetVMVncInfoParams) *GetVMVncInfoParams

WithRequestBody adds the requestBody to the get Vm vnc info params

func (*GetVMVncInfoParams) WithTimeout added in v2.14.0

func (o *GetVMVncInfoParams) WithTimeout(timeout time.Duration) *GetVMVncInfoParams

WithTimeout adds the timeout to the get Vm vnc info params

func (*GetVMVncInfoParams) WriteToRequest added in v2.14.0

func (o *GetVMVncInfoParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetVMVncInfoReader added in v2.14.0

type GetVMVncInfoReader struct {
	// contains filtered or unexported fields
}

GetVMVncInfoReader is a Reader for the GetVMVncInfo structure.

func (*GetVMVncInfoReader) ReadResponse added in v2.14.0

func (o *GetVMVncInfoReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetVmsBadRequest

type GetVmsBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
GetVmsBadRequest describes a response with status code 400, with default header values.

Bad request

func NewGetVmsBadRequest

func NewGetVmsBadRequest() *GetVmsBadRequest

NewGetVmsBadRequest creates a GetVmsBadRequest with default headers values

func (*GetVmsBadRequest) Error

func (o *GetVmsBadRequest) Error() string

func (*GetVmsBadRequest) GetPayload

func (o *GetVmsBadRequest) GetPayload() *models.ErrorBody

type GetVmsConnectionBadRequest

type GetVmsConnectionBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
GetVmsConnectionBadRequest describes a response with status code 400, with default header values.

Bad request

func NewGetVmsConnectionBadRequest

func NewGetVmsConnectionBadRequest() *GetVmsConnectionBadRequest

NewGetVmsConnectionBadRequest creates a GetVmsConnectionBadRequest with default headers values

func (*GetVmsConnectionBadRequest) Error

func (*GetVmsConnectionBadRequest) GetPayload

func (o *GetVmsConnectionBadRequest) GetPayload() *models.ErrorBody

type GetVmsConnectionInternalServerError

type GetVmsConnectionInternalServerError struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
GetVmsConnectionInternalServerError describes a response with status code 500, with default header values.

Server error

func NewGetVmsConnectionInternalServerError

func NewGetVmsConnectionInternalServerError() *GetVmsConnectionInternalServerError

NewGetVmsConnectionInternalServerError creates a GetVmsConnectionInternalServerError with default headers values

func (*GetVmsConnectionInternalServerError) Error

func (*GetVmsConnectionInternalServerError) GetPayload

type GetVmsConnectionNotFound

type GetVmsConnectionNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
GetVmsConnectionNotFound describes a response with status code 404, with default header values.

Not found

func NewGetVmsConnectionNotFound

func NewGetVmsConnectionNotFound() *GetVmsConnectionNotFound

NewGetVmsConnectionNotFound creates a GetVmsConnectionNotFound with default headers values

func (*GetVmsConnectionNotFound) Error

func (o *GetVmsConnectionNotFound) Error() string

func (*GetVmsConnectionNotFound) GetPayload

func (o *GetVmsConnectionNotFound) GetPayload() *models.ErrorBody

type GetVmsConnectionOK

type GetVmsConnectionOK struct {
	XTowerRequestID string

	Payload *models.VMConnection
}
GetVmsConnectionOK describes a response with status code 200, with default header values.

GetVmsConnectionOK get vms connection o k

func NewGetVmsConnectionOK

func NewGetVmsConnectionOK() *GetVmsConnectionOK

NewGetVmsConnectionOK creates a GetVmsConnectionOK with default headers values

func (*GetVmsConnectionOK) Error

func (o *GetVmsConnectionOK) Error() string

func (*GetVmsConnectionOK) GetPayload

func (o *GetVmsConnectionOK) GetPayload() *models.VMConnection

type GetVmsConnectionParams

type GetVmsConnectionParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.GetVmsConnectionRequestBody

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetVmsConnectionParams contains all the parameters to send to the API endpoint

for the get vms connection operation.

Typically these are written to a http.Request.

func NewGetVmsConnectionParams

func NewGetVmsConnectionParams() *GetVmsConnectionParams

NewGetVmsConnectionParams creates a new GetVmsConnectionParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetVmsConnectionParamsWithContext

func NewGetVmsConnectionParamsWithContext(ctx context.Context) *GetVmsConnectionParams

NewGetVmsConnectionParamsWithContext creates a new GetVmsConnectionParams object with the ability to set a context for a request.

func NewGetVmsConnectionParamsWithHTTPClient

func NewGetVmsConnectionParamsWithHTTPClient(client *http.Client) *GetVmsConnectionParams

NewGetVmsConnectionParamsWithHTTPClient creates a new GetVmsConnectionParams object with the ability to set a custom HTTPClient for a request.

func NewGetVmsConnectionParamsWithTimeout

func NewGetVmsConnectionParamsWithTimeout(timeout time.Duration) *GetVmsConnectionParams

NewGetVmsConnectionParamsWithTimeout creates a new GetVmsConnectionParams object with the ability to set a timeout on a request.

func (*GetVmsConnectionParams) SetContentLanguage

func (o *GetVmsConnectionParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the get vms connection params

func (*GetVmsConnectionParams) SetContext

func (o *GetVmsConnectionParams) SetContext(ctx context.Context)

SetContext adds the context to the get vms connection params

func (*GetVmsConnectionParams) SetDefaults

func (o *GetVmsConnectionParams) SetDefaults()

SetDefaults hydrates default values in the get vms connection params (not the query body).

All values with no default are reset to their zero value.

func (*GetVmsConnectionParams) SetHTTPClient

func (o *GetVmsConnectionParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get vms connection params

func (*GetVmsConnectionParams) SetRequestBody

func (o *GetVmsConnectionParams) SetRequestBody(requestBody *models.GetVmsConnectionRequestBody)

SetRequestBody adds the requestBody to the get vms connection params

func (*GetVmsConnectionParams) SetTimeout

func (o *GetVmsConnectionParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get vms connection params

func (*GetVmsConnectionParams) WithContentLanguage

func (o *GetVmsConnectionParams) WithContentLanguage(contentLanguage *string) *GetVmsConnectionParams

WithContentLanguage adds the contentLanguage to the get vms connection params

func (*GetVmsConnectionParams) WithContext

WithContext adds the context to the get vms connection params

func (*GetVmsConnectionParams) WithDefaults

WithDefaults hydrates default values in the get vms connection params (not the query body).

All values with no default are reset to their zero value.

func (*GetVmsConnectionParams) WithHTTPClient

func (o *GetVmsConnectionParams) WithHTTPClient(client *http.Client) *GetVmsConnectionParams

WithHTTPClient adds the HTTPClient to the get vms connection params

func (*GetVmsConnectionParams) WithRequestBody

WithRequestBody adds the requestBody to the get vms connection params

func (*GetVmsConnectionParams) WithTimeout

WithTimeout adds the timeout to the get vms connection params

func (*GetVmsConnectionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetVmsConnectionReader

type GetVmsConnectionReader struct {
	// contains filtered or unexported fields
}

GetVmsConnectionReader is a Reader for the GetVmsConnection structure.

func (*GetVmsConnectionReader) ReadResponse

func (o *GetVmsConnectionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetVmsInternalServerError

type GetVmsInternalServerError struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
GetVmsInternalServerError describes a response with status code 500, with default header values.

Server error

func NewGetVmsInternalServerError

func NewGetVmsInternalServerError() *GetVmsInternalServerError

NewGetVmsInternalServerError creates a GetVmsInternalServerError with default headers values

func (*GetVmsInternalServerError) Error

func (o *GetVmsInternalServerError) Error() string

func (*GetVmsInternalServerError) GetPayload

func (o *GetVmsInternalServerError) GetPayload() *models.ErrorBody

type GetVmsNotFound

type GetVmsNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
GetVmsNotFound describes a response with status code 404, with default header values.

Not found

func NewGetVmsNotFound

func NewGetVmsNotFound() *GetVmsNotFound

NewGetVmsNotFound creates a GetVmsNotFound with default headers values

func (*GetVmsNotFound) Error

func (o *GetVmsNotFound) Error() string

func (*GetVmsNotFound) GetPayload

func (o *GetVmsNotFound) GetPayload() *models.ErrorBody

type GetVmsOK

type GetVmsOK struct {
	XTowerRequestID string

	Payload []*models.VM
}
GetVmsOK describes a response with status code 200, with default header values.

GetVmsOK get vms o k

func NewGetVmsOK

func NewGetVmsOK() *GetVmsOK

NewGetVmsOK creates a GetVmsOK with default headers values

func (*GetVmsOK) Error

func (o *GetVmsOK) Error() string

func (*GetVmsOK) GetPayload

func (o *GetVmsOK) GetPayload() []*models.VM

type GetVmsParams

type GetVmsParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.GetVmsRequestBody

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetVmsParams contains all the parameters to send to the API endpoint

for the get vms operation.

Typically these are written to a http.Request.

func NewGetVmsParams

func NewGetVmsParams() *GetVmsParams

NewGetVmsParams creates a new GetVmsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetVmsParamsWithContext

func NewGetVmsParamsWithContext(ctx context.Context) *GetVmsParams

NewGetVmsParamsWithContext creates a new GetVmsParams object with the ability to set a context for a request.

func NewGetVmsParamsWithHTTPClient

func NewGetVmsParamsWithHTTPClient(client *http.Client) *GetVmsParams

NewGetVmsParamsWithHTTPClient creates a new GetVmsParams object with the ability to set a custom HTTPClient for a request.

func NewGetVmsParamsWithTimeout

func NewGetVmsParamsWithTimeout(timeout time.Duration) *GetVmsParams

NewGetVmsParamsWithTimeout creates a new GetVmsParams object with the ability to set a timeout on a request.

func (*GetVmsParams) SetContentLanguage

func (o *GetVmsParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the get vms params

func (*GetVmsParams) SetContext

func (o *GetVmsParams) SetContext(ctx context.Context)

SetContext adds the context to the get vms params

func (*GetVmsParams) SetDefaults

func (o *GetVmsParams) SetDefaults()

SetDefaults hydrates default values in the get vms params (not the query body).

All values with no default are reset to their zero value.

func (*GetVmsParams) SetHTTPClient

func (o *GetVmsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get vms params

func (*GetVmsParams) SetRequestBody

func (o *GetVmsParams) SetRequestBody(requestBody *models.GetVmsRequestBody)

SetRequestBody adds the requestBody to the get vms params

func (*GetVmsParams) SetTimeout

func (o *GetVmsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get vms params

func (*GetVmsParams) WithContentLanguage

func (o *GetVmsParams) WithContentLanguage(contentLanguage *string) *GetVmsParams

WithContentLanguage adds the contentLanguage to the get vms params

func (*GetVmsParams) WithContext

func (o *GetVmsParams) WithContext(ctx context.Context) *GetVmsParams

WithContext adds the context to the get vms params

func (*GetVmsParams) WithDefaults

func (o *GetVmsParams) WithDefaults() *GetVmsParams

WithDefaults hydrates default values in the get vms params (not the query body).

All values with no default are reset to their zero value.

func (*GetVmsParams) WithHTTPClient

func (o *GetVmsParams) WithHTTPClient(client *http.Client) *GetVmsParams

WithHTTPClient adds the HTTPClient to the get vms params

func (*GetVmsParams) WithRequestBody

func (o *GetVmsParams) WithRequestBody(requestBody *models.GetVmsRequestBody) *GetVmsParams

WithRequestBody adds the requestBody to the get vms params

func (*GetVmsParams) WithTimeout

func (o *GetVmsParams) WithTimeout(timeout time.Duration) *GetVmsParams

WithTimeout adds the timeout to the get vms params

func (*GetVmsParams) WriteToRequest

func (o *GetVmsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetVmsReader

type GetVmsReader struct {
	// contains filtered or unexported fields
}

GetVmsReader is a Reader for the GetVms structure.

func (*GetVmsReader) ReadResponse

func (o *GetVmsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ImportVMBadRequest added in v2.9.0

type ImportVMBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
ImportVMBadRequest describes a response with status code 400, with default header values.

Bad request

func NewImportVMBadRequest added in v2.9.0

func NewImportVMBadRequest() *ImportVMBadRequest

NewImportVMBadRequest creates a ImportVMBadRequest with default headers values

func (*ImportVMBadRequest) Error added in v2.9.0

func (o *ImportVMBadRequest) Error() string

func (*ImportVMBadRequest) GetPayload added in v2.9.0

func (o *ImportVMBadRequest) GetPayload() *models.ErrorBody

type ImportVMInternalServerError added in v2.9.0

type ImportVMInternalServerError struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
ImportVMInternalServerError describes a response with status code 500, with default header values.

Server error

func NewImportVMInternalServerError added in v2.9.0

func NewImportVMInternalServerError() *ImportVMInternalServerError

NewImportVMInternalServerError creates a ImportVMInternalServerError with default headers values

func (*ImportVMInternalServerError) Error added in v2.9.0

func (*ImportVMInternalServerError) GetPayload added in v2.9.0

func (o *ImportVMInternalServerError) GetPayload() *models.ErrorBody

type ImportVMNotFound added in v2.9.0

type ImportVMNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
ImportVMNotFound describes a response with status code 404, with default header values.

Not found

func NewImportVMNotFound added in v2.9.0

func NewImportVMNotFound() *ImportVMNotFound

NewImportVMNotFound creates a ImportVMNotFound with default headers values

func (*ImportVMNotFound) Error added in v2.9.0

func (o *ImportVMNotFound) Error() string

func (*ImportVMNotFound) GetPayload added in v2.9.0

func (o *ImportVMNotFound) GetPayload() *models.ErrorBody

type ImportVMOK added in v2.9.0

type ImportVMOK struct {
	XTowerRequestID string

	Payload []*models.WithTaskVM
}
ImportVMOK describes a response with status code 200, with default header values.

ImportVMOK import Vm o k

func NewImportVMOK added in v2.9.0

func NewImportVMOK() *ImportVMOK

NewImportVMOK creates a ImportVMOK with default headers values

func (*ImportVMOK) Error added in v2.9.0

func (o *ImportVMOK) Error() string

func (*ImportVMOK) GetPayload added in v2.9.0

func (o *ImportVMOK) GetPayload() []*models.WithTaskVM

type ImportVMParams added in v2.9.0

type ImportVMParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody []*models.VMImportParams

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ImportVMParams contains all the parameters to send to the API endpoint

for the import Vm operation.

Typically these are written to a http.Request.

func NewImportVMParams added in v2.9.0

func NewImportVMParams() *ImportVMParams

NewImportVMParams creates a new ImportVMParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewImportVMParamsWithContext added in v2.9.0

func NewImportVMParamsWithContext(ctx context.Context) *ImportVMParams

NewImportVMParamsWithContext creates a new ImportVMParams object with the ability to set a context for a request.

func NewImportVMParamsWithHTTPClient added in v2.9.0

func NewImportVMParamsWithHTTPClient(client *http.Client) *ImportVMParams

NewImportVMParamsWithHTTPClient creates a new ImportVMParams object with the ability to set a custom HTTPClient for a request.

func NewImportVMParamsWithTimeout added in v2.9.0

func NewImportVMParamsWithTimeout(timeout time.Duration) *ImportVMParams

NewImportVMParamsWithTimeout creates a new ImportVMParams object with the ability to set a timeout on a request.

func (*ImportVMParams) SetContentLanguage added in v2.9.0

func (o *ImportVMParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the import Vm params

func (*ImportVMParams) SetContext added in v2.9.0

func (o *ImportVMParams) SetContext(ctx context.Context)

SetContext adds the context to the import Vm params

func (*ImportVMParams) SetDefaults added in v2.9.0

func (o *ImportVMParams) SetDefaults()

SetDefaults hydrates default values in the import Vm params (not the query body).

All values with no default are reset to their zero value.

func (*ImportVMParams) SetHTTPClient added in v2.9.0

func (o *ImportVMParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the import Vm params

func (*ImportVMParams) SetRequestBody added in v2.9.0

func (o *ImportVMParams) SetRequestBody(requestBody []*models.VMImportParams)

SetRequestBody adds the requestBody to the import Vm params

func (*ImportVMParams) SetTimeout added in v2.9.0

func (o *ImportVMParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the import Vm params

func (*ImportVMParams) WithContentLanguage added in v2.9.0

func (o *ImportVMParams) WithContentLanguage(contentLanguage *string) *ImportVMParams

WithContentLanguage adds the contentLanguage to the import Vm params

func (*ImportVMParams) WithContext added in v2.9.0

func (o *ImportVMParams) WithContext(ctx context.Context) *ImportVMParams

WithContext adds the context to the import Vm params

func (*ImportVMParams) WithDefaults added in v2.9.0

func (o *ImportVMParams) WithDefaults() *ImportVMParams

WithDefaults hydrates default values in the import Vm params (not the query body).

All values with no default are reset to their zero value.

func (*ImportVMParams) WithHTTPClient added in v2.9.0

func (o *ImportVMParams) WithHTTPClient(client *http.Client) *ImportVMParams

WithHTTPClient adds the HTTPClient to the import Vm params

func (*ImportVMParams) WithRequestBody added in v2.9.0

func (o *ImportVMParams) WithRequestBody(requestBody []*models.VMImportParams) *ImportVMParams

WithRequestBody adds the requestBody to the import Vm params

func (*ImportVMParams) WithTimeout added in v2.9.0

func (o *ImportVMParams) WithTimeout(timeout time.Duration) *ImportVMParams

WithTimeout adds the timeout to the import Vm params

func (*ImportVMParams) WriteToRequest added in v2.9.0

func (o *ImportVMParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ImportVMReader added in v2.9.0

type ImportVMReader struct {
	// contains filtered or unexported fields
}

ImportVMReader is a Reader for the ImportVM structure.

func (*ImportVMReader) ReadResponse added in v2.9.0

func (o *ImportVMReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type InstallVmtoolsBadRequest

type InstallVmtoolsBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
InstallVmtoolsBadRequest describes a response with status code 400, with default header values.

Bad request

func NewInstallVmtoolsBadRequest

func NewInstallVmtoolsBadRequest() *InstallVmtoolsBadRequest

NewInstallVmtoolsBadRequest creates a InstallVmtoolsBadRequest with default headers values

func (*InstallVmtoolsBadRequest) Error

func (o *InstallVmtoolsBadRequest) Error() string

func (*InstallVmtoolsBadRequest) GetPayload

func (o *InstallVmtoolsBadRequest) GetPayload() *models.ErrorBody

type InstallVmtoolsInternalServerError

type InstallVmtoolsInternalServerError struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
InstallVmtoolsInternalServerError describes a response with status code 500, with default header values.

Server error

func NewInstallVmtoolsInternalServerError

func NewInstallVmtoolsInternalServerError() *InstallVmtoolsInternalServerError

NewInstallVmtoolsInternalServerError creates a InstallVmtoolsInternalServerError with default headers values

func (*InstallVmtoolsInternalServerError) Error

func (*InstallVmtoolsInternalServerError) GetPayload

type InstallVmtoolsNotFound

type InstallVmtoolsNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
InstallVmtoolsNotFound describes a response with status code 404, with default header values.

Not found

func NewInstallVmtoolsNotFound

func NewInstallVmtoolsNotFound() *InstallVmtoolsNotFound

NewInstallVmtoolsNotFound creates a InstallVmtoolsNotFound with default headers values

func (*InstallVmtoolsNotFound) Error

func (o *InstallVmtoolsNotFound) Error() string

func (*InstallVmtoolsNotFound) GetPayload

func (o *InstallVmtoolsNotFound) GetPayload() *models.ErrorBody

type InstallVmtoolsOK

type InstallVmtoolsOK struct {
	XTowerRequestID string

	Payload []*models.WithTaskVM
}
InstallVmtoolsOK describes a response with status code 200, with default header values.

InstallVmtoolsOK install vmtools o k

func NewInstallVmtoolsOK

func NewInstallVmtoolsOK() *InstallVmtoolsOK

NewInstallVmtoolsOK creates a InstallVmtoolsOK with default headers values

func (*InstallVmtoolsOK) Error

func (o *InstallVmtoolsOK) Error() string

func (*InstallVmtoolsOK) GetPayload

func (o *InstallVmtoolsOK) GetPayload() []*models.WithTaskVM

type InstallVmtoolsParams

type InstallVmtoolsParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.InstallVmtoolsParams

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

InstallVmtoolsParams contains all the parameters to send to the API endpoint

for the install vmtools operation.

Typically these are written to a http.Request.

func NewInstallVmtoolsParams

func NewInstallVmtoolsParams() *InstallVmtoolsParams

NewInstallVmtoolsParams creates a new InstallVmtoolsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewInstallVmtoolsParamsWithContext

func NewInstallVmtoolsParamsWithContext(ctx context.Context) *InstallVmtoolsParams

NewInstallVmtoolsParamsWithContext creates a new InstallVmtoolsParams object with the ability to set a context for a request.

func NewInstallVmtoolsParamsWithHTTPClient

func NewInstallVmtoolsParamsWithHTTPClient(client *http.Client) *InstallVmtoolsParams

NewInstallVmtoolsParamsWithHTTPClient creates a new InstallVmtoolsParams object with the ability to set a custom HTTPClient for a request.

func NewInstallVmtoolsParamsWithTimeout

func NewInstallVmtoolsParamsWithTimeout(timeout time.Duration) *InstallVmtoolsParams

NewInstallVmtoolsParamsWithTimeout creates a new InstallVmtoolsParams object with the ability to set a timeout on a request.

func (*InstallVmtoolsParams) SetContentLanguage

func (o *InstallVmtoolsParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the install vmtools params

func (*InstallVmtoolsParams) SetContext

func (o *InstallVmtoolsParams) SetContext(ctx context.Context)

SetContext adds the context to the install vmtools params

func (*InstallVmtoolsParams) SetDefaults

func (o *InstallVmtoolsParams) SetDefaults()

SetDefaults hydrates default values in the install vmtools params (not the query body).

All values with no default are reset to their zero value.

func (*InstallVmtoolsParams) SetHTTPClient

func (o *InstallVmtoolsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the install vmtools params

func (*InstallVmtoolsParams) SetRequestBody

func (o *InstallVmtoolsParams) SetRequestBody(requestBody *models.InstallVmtoolsParams)

SetRequestBody adds the requestBody to the install vmtools params

func (*InstallVmtoolsParams) SetTimeout

func (o *InstallVmtoolsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the install vmtools params

func (*InstallVmtoolsParams) WithContentLanguage

func (o *InstallVmtoolsParams) WithContentLanguage(contentLanguage *string) *InstallVmtoolsParams

WithContentLanguage adds the contentLanguage to the install vmtools params

func (*InstallVmtoolsParams) WithContext

WithContext adds the context to the install vmtools params

func (*InstallVmtoolsParams) WithDefaults

func (o *InstallVmtoolsParams) WithDefaults() *InstallVmtoolsParams

WithDefaults hydrates default values in the install vmtools params (not the query body).

All values with no default are reset to their zero value.

func (*InstallVmtoolsParams) WithHTTPClient

func (o *InstallVmtoolsParams) WithHTTPClient(client *http.Client) *InstallVmtoolsParams

WithHTTPClient adds the HTTPClient to the install vmtools params

func (*InstallVmtoolsParams) WithRequestBody

func (o *InstallVmtoolsParams) WithRequestBody(requestBody *models.InstallVmtoolsParams) *InstallVmtoolsParams

WithRequestBody adds the requestBody to the install vmtools params

func (*InstallVmtoolsParams) WithTimeout

func (o *InstallVmtoolsParams) WithTimeout(timeout time.Duration) *InstallVmtoolsParams

WithTimeout adds the timeout to the install vmtools params

func (*InstallVmtoolsParams) WriteToRequest

func (o *InstallVmtoolsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type InstallVmtoolsReader

type InstallVmtoolsReader struct {
	// contains filtered or unexported fields
}

InstallVmtoolsReader is a Reader for the InstallVmtools structure.

func (*InstallVmtoolsReader) ReadResponse

func (o *InstallVmtoolsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type MigrateVMAcrossClusterBadRequest added in v2.1.0

type MigrateVMAcrossClusterBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
MigrateVMAcrossClusterBadRequest describes a response with status code 400, with default header values.

Bad request

func NewMigrateVMAcrossClusterBadRequest added in v2.1.0

func NewMigrateVMAcrossClusterBadRequest() *MigrateVMAcrossClusterBadRequest

NewMigrateVMAcrossClusterBadRequest creates a MigrateVMAcrossClusterBadRequest with default headers values

func (*MigrateVMAcrossClusterBadRequest) Error added in v2.1.0

func (*MigrateVMAcrossClusterBadRequest) GetPayload added in v2.1.0

type MigrateVMAcrossClusterInternalServerError added in v2.1.0

type MigrateVMAcrossClusterInternalServerError struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
MigrateVMAcrossClusterInternalServerError describes a response with status code 500, with default header values.

Server error

func NewMigrateVMAcrossClusterInternalServerError added in v2.1.0

func NewMigrateVMAcrossClusterInternalServerError() *MigrateVMAcrossClusterInternalServerError

NewMigrateVMAcrossClusterInternalServerError creates a MigrateVMAcrossClusterInternalServerError with default headers values

func (*MigrateVMAcrossClusterInternalServerError) Error added in v2.1.0

func (*MigrateVMAcrossClusterInternalServerError) GetPayload added in v2.1.0

type MigrateVMAcrossClusterNotFound added in v2.1.0

type MigrateVMAcrossClusterNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
MigrateVMAcrossClusterNotFound describes a response with status code 404, with default header values.

Not found

func NewMigrateVMAcrossClusterNotFound added in v2.1.0

func NewMigrateVMAcrossClusterNotFound() *MigrateVMAcrossClusterNotFound

NewMigrateVMAcrossClusterNotFound creates a MigrateVMAcrossClusterNotFound with default headers values

func (*MigrateVMAcrossClusterNotFound) Error added in v2.1.0

func (*MigrateVMAcrossClusterNotFound) GetPayload added in v2.1.0

type MigrateVMAcrossClusterNotModified added in v2.1.0

type MigrateVMAcrossClusterNotModified struct {
}
MigrateVMAcrossClusterNotModified describes a response with status code 304, with default header values.

Not modified

func NewMigrateVMAcrossClusterNotModified added in v2.1.0

func NewMigrateVMAcrossClusterNotModified() *MigrateVMAcrossClusterNotModified

NewMigrateVMAcrossClusterNotModified creates a MigrateVMAcrossClusterNotModified with default headers values

func (*MigrateVMAcrossClusterNotModified) Error added in v2.1.0

type MigrateVMAcrossClusterOK added in v2.1.0

type MigrateVMAcrossClusterOK struct {
	XTowerRequestID string

	Payload []*models.WithTaskVM
}
MigrateVMAcrossClusterOK describes a response with status code 200, with default header values.

MigrateVMAcrossClusterOK migrate Vm across cluster o k

func NewMigrateVMAcrossClusterOK added in v2.1.0

func NewMigrateVMAcrossClusterOK() *MigrateVMAcrossClusterOK

NewMigrateVMAcrossClusterOK creates a MigrateVMAcrossClusterOK with default headers values

func (*MigrateVMAcrossClusterOK) Error added in v2.1.0

func (o *MigrateVMAcrossClusterOK) Error() string

func (*MigrateVMAcrossClusterOK) GetPayload added in v2.1.0

func (o *MigrateVMAcrossClusterOK) GetPayload() []*models.WithTaskVM

type MigrateVMAcrossClusterParams added in v2.1.0

type MigrateVMAcrossClusterParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.VMMigrateAcrossClusterParams

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

MigrateVMAcrossClusterParams contains all the parameters to send to the API endpoint

for the migrate Vm across cluster operation.

Typically these are written to a http.Request.

func NewMigrateVMAcrossClusterParams added in v2.1.0

func NewMigrateVMAcrossClusterParams() *MigrateVMAcrossClusterParams

NewMigrateVMAcrossClusterParams creates a new MigrateVMAcrossClusterParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewMigrateVMAcrossClusterParamsWithContext added in v2.1.0

func NewMigrateVMAcrossClusterParamsWithContext(ctx context.Context) *MigrateVMAcrossClusterParams

NewMigrateVMAcrossClusterParamsWithContext creates a new MigrateVMAcrossClusterParams object with the ability to set a context for a request.

func NewMigrateVMAcrossClusterParamsWithHTTPClient added in v2.1.0

func NewMigrateVMAcrossClusterParamsWithHTTPClient(client *http.Client) *MigrateVMAcrossClusterParams

NewMigrateVMAcrossClusterParamsWithHTTPClient creates a new MigrateVMAcrossClusterParams object with the ability to set a custom HTTPClient for a request.

func NewMigrateVMAcrossClusterParamsWithTimeout added in v2.1.0

func NewMigrateVMAcrossClusterParamsWithTimeout(timeout time.Duration) *MigrateVMAcrossClusterParams

NewMigrateVMAcrossClusterParamsWithTimeout creates a new MigrateVMAcrossClusterParams object with the ability to set a timeout on a request.

func (*MigrateVMAcrossClusterParams) SetContentLanguage added in v2.1.0

func (o *MigrateVMAcrossClusterParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the migrate Vm across cluster params

func (*MigrateVMAcrossClusterParams) SetContext added in v2.1.0

func (o *MigrateVMAcrossClusterParams) SetContext(ctx context.Context)

SetContext adds the context to the migrate Vm across cluster params

func (*MigrateVMAcrossClusterParams) SetDefaults added in v2.1.0

func (o *MigrateVMAcrossClusterParams) SetDefaults()

SetDefaults hydrates default values in the migrate Vm across cluster params (not the query body).

All values with no default are reset to their zero value.

func (*MigrateVMAcrossClusterParams) SetHTTPClient added in v2.1.0

func (o *MigrateVMAcrossClusterParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the migrate Vm across cluster params

func (*MigrateVMAcrossClusterParams) SetRequestBody added in v2.1.0

func (o *MigrateVMAcrossClusterParams) SetRequestBody(requestBody *models.VMMigrateAcrossClusterParams)

SetRequestBody adds the requestBody to the migrate Vm across cluster params

func (*MigrateVMAcrossClusterParams) SetTimeout added in v2.1.0

func (o *MigrateVMAcrossClusterParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the migrate Vm across cluster params

func (*MigrateVMAcrossClusterParams) WithContentLanguage added in v2.1.0

func (o *MigrateVMAcrossClusterParams) WithContentLanguage(contentLanguage *string) *MigrateVMAcrossClusterParams

WithContentLanguage adds the contentLanguage to the migrate Vm across cluster params

func (*MigrateVMAcrossClusterParams) WithContext added in v2.1.0

WithContext adds the context to the migrate Vm across cluster params

func (*MigrateVMAcrossClusterParams) WithDefaults added in v2.1.0

WithDefaults hydrates default values in the migrate Vm across cluster params (not the query body).

All values with no default are reset to their zero value.

func (*MigrateVMAcrossClusterParams) WithHTTPClient added in v2.1.0

WithHTTPClient adds the HTTPClient to the migrate Vm across cluster params

func (*MigrateVMAcrossClusterParams) WithRequestBody added in v2.1.0

WithRequestBody adds the requestBody to the migrate Vm across cluster params

func (*MigrateVMAcrossClusterParams) WithTimeout added in v2.1.0

WithTimeout adds the timeout to the migrate Vm across cluster params

func (*MigrateVMAcrossClusterParams) WriteToRequest added in v2.1.0

WriteToRequest writes these params to a swagger request

type MigrateVMAcrossClusterReader added in v2.1.0

type MigrateVMAcrossClusterReader struct {
	// contains filtered or unexported fields
}

MigrateVMAcrossClusterReader is a Reader for the MigrateVMAcrossCluster structure.

func (*MigrateVMAcrossClusterReader) ReadResponse added in v2.1.0

func (o *MigrateVMAcrossClusterReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type MigrateVMBadRequest added in v2.1.0

type MigrateVMBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
MigrateVMBadRequest describes a response with status code 400, with default header values.

Bad request

func NewMigrateVMBadRequest added in v2.1.0

func NewMigrateVMBadRequest() *MigrateVMBadRequest

NewMigrateVMBadRequest creates a MigrateVMBadRequest with default headers values

func (*MigrateVMBadRequest) Error added in v2.1.0

func (o *MigrateVMBadRequest) Error() string

func (*MigrateVMBadRequest) GetPayload added in v2.1.0

func (o *MigrateVMBadRequest) GetPayload() *models.ErrorBody

type MigrateVMInternalServerError added in v2.1.0

type MigrateVMInternalServerError struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
MigrateVMInternalServerError describes a response with status code 500, with default header values.

Server error

func NewMigrateVMInternalServerError added in v2.1.0

func NewMigrateVMInternalServerError() *MigrateVMInternalServerError

NewMigrateVMInternalServerError creates a MigrateVMInternalServerError with default headers values

func (*MigrateVMInternalServerError) Error added in v2.1.0

func (*MigrateVMInternalServerError) GetPayload added in v2.1.0

type MigrateVMNotFound added in v2.1.0

type MigrateVMNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
MigrateVMNotFound describes a response with status code 404, with default header values.

Not found

func NewMigrateVMNotFound added in v2.1.0

func NewMigrateVMNotFound() *MigrateVMNotFound

NewMigrateVMNotFound creates a MigrateVMNotFound with default headers values

func (*MigrateVMNotFound) Error added in v2.1.0

func (o *MigrateVMNotFound) Error() string

func (*MigrateVMNotFound) GetPayload added in v2.1.0

func (o *MigrateVMNotFound) GetPayload() *models.ErrorBody

type MigrateVMOK added in v2.1.0

type MigrateVMOK struct {
	XTowerRequestID string

	Payload []*models.WithTaskVM
}
MigrateVMOK describes a response with status code 200, with default header values.

MigrateVMOK migrate Vm o k

func NewMigrateVMOK added in v2.1.0

func NewMigrateVMOK() *MigrateVMOK

NewMigrateVMOK creates a MigrateVMOK with default headers values

func (*MigrateVMOK) Error added in v2.1.0

func (o *MigrateVMOK) Error() string

func (*MigrateVMOK) GetPayload added in v2.1.0

func (o *MigrateVMOK) GetPayload() []*models.WithTaskVM

type MigrateVMParams added in v2.1.0

type MigrateVMParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.VMMigrateParams

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

MigrateVMParams contains all the parameters to send to the API endpoint

for the migrate Vm operation.

Typically these are written to a http.Request.

func NewMigrateVMParams added in v2.1.0

func NewMigrateVMParams() *MigrateVMParams

NewMigrateVMParams creates a new MigrateVMParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewMigrateVMParamsWithContext added in v2.1.0

func NewMigrateVMParamsWithContext(ctx context.Context) *MigrateVMParams

NewMigrateVMParamsWithContext creates a new MigrateVMParams object with the ability to set a context for a request.

func NewMigrateVMParamsWithHTTPClient added in v2.1.0

func NewMigrateVMParamsWithHTTPClient(client *http.Client) *MigrateVMParams

NewMigrateVMParamsWithHTTPClient creates a new MigrateVMParams object with the ability to set a custom HTTPClient for a request.

func NewMigrateVMParamsWithTimeout added in v2.1.0

func NewMigrateVMParamsWithTimeout(timeout time.Duration) *MigrateVMParams

NewMigrateVMParamsWithTimeout creates a new MigrateVMParams object with the ability to set a timeout on a request.

func (*MigrateVMParams) SetContentLanguage added in v2.1.0

func (o *MigrateVMParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the migrate Vm params

func (*MigrateVMParams) SetContext added in v2.1.0

func (o *MigrateVMParams) SetContext(ctx context.Context)

SetContext adds the context to the migrate Vm params

func (*MigrateVMParams) SetDefaults added in v2.1.0

func (o *MigrateVMParams) SetDefaults()

SetDefaults hydrates default values in the migrate Vm params (not the query body).

All values with no default are reset to their zero value.

func (*MigrateVMParams) SetHTTPClient added in v2.1.0

func (o *MigrateVMParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the migrate Vm params

func (*MigrateVMParams) SetRequestBody added in v2.1.0

func (o *MigrateVMParams) SetRequestBody(requestBody *models.VMMigrateParams)

SetRequestBody adds the requestBody to the migrate Vm params

func (*MigrateVMParams) SetTimeout added in v2.1.0

func (o *MigrateVMParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the migrate Vm params

func (*MigrateVMParams) WithContentLanguage added in v2.1.0

func (o *MigrateVMParams) WithContentLanguage(contentLanguage *string) *MigrateVMParams

WithContentLanguage adds the contentLanguage to the migrate Vm params

func (*MigrateVMParams) WithContext added in v2.1.0

func (o *MigrateVMParams) WithContext(ctx context.Context) *MigrateVMParams

WithContext adds the context to the migrate Vm params

func (*MigrateVMParams) WithDefaults added in v2.1.0

func (o *MigrateVMParams) WithDefaults() *MigrateVMParams

WithDefaults hydrates default values in the migrate Vm params (not the query body).

All values with no default are reset to their zero value.

func (*MigrateVMParams) WithHTTPClient added in v2.1.0

func (o *MigrateVMParams) WithHTTPClient(client *http.Client) *MigrateVMParams

WithHTTPClient adds the HTTPClient to the migrate Vm params

func (*MigrateVMParams) WithRequestBody added in v2.1.0

func (o *MigrateVMParams) WithRequestBody(requestBody *models.VMMigrateParams) *MigrateVMParams

WithRequestBody adds the requestBody to the migrate Vm params

func (*MigrateVMParams) WithTimeout added in v2.1.0

func (o *MigrateVMParams) WithTimeout(timeout time.Duration) *MigrateVMParams

WithTimeout adds the timeout to the migrate Vm params

func (*MigrateVMParams) WriteToRequest added in v2.1.0

func (o *MigrateVMParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type MigrateVMReader added in v2.1.0

type MigrateVMReader struct {
	// contains filtered or unexported fields
}

MigrateVMReader is a Reader for the MigrateVM structure.

func (*MigrateVMReader) ReadResponse added in v2.1.0

func (o *MigrateVMReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type MoveVMToRecycleBinBadRequest

type MoveVMToRecycleBinBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
MoveVMToRecycleBinBadRequest describes a response with status code 400, with default header values.

Bad request

func NewMoveVMToRecycleBinBadRequest

func NewMoveVMToRecycleBinBadRequest() *MoveVMToRecycleBinBadRequest

NewMoveVMToRecycleBinBadRequest creates a MoveVMToRecycleBinBadRequest with default headers values

func (*MoveVMToRecycleBinBadRequest) Error

func (*MoveVMToRecycleBinBadRequest) GetPayload

type MoveVMToRecycleBinInternalServerError

type MoveVMToRecycleBinInternalServerError struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
MoveVMToRecycleBinInternalServerError describes a response with status code 500, with default header values.

Server error

func NewMoveVMToRecycleBinInternalServerError

func NewMoveVMToRecycleBinInternalServerError() *MoveVMToRecycleBinInternalServerError

NewMoveVMToRecycleBinInternalServerError creates a MoveVMToRecycleBinInternalServerError with default headers values

func (*MoveVMToRecycleBinInternalServerError) Error

func (*MoveVMToRecycleBinInternalServerError) GetPayload

type MoveVMToRecycleBinNotFound

type MoveVMToRecycleBinNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
MoveVMToRecycleBinNotFound describes a response with status code 404, with default header values.

Not found

func NewMoveVMToRecycleBinNotFound

func NewMoveVMToRecycleBinNotFound() *MoveVMToRecycleBinNotFound

NewMoveVMToRecycleBinNotFound creates a MoveVMToRecycleBinNotFound with default headers values

func (*MoveVMToRecycleBinNotFound) Error

func (*MoveVMToRecycleBinNotFound) GetPayload

func (o *MoveVMToRecycleBinNotFound) GetPayload() *models.ErrorBody

type MoveVMToRecycleBinOK

type MoveVMToRecycleBinOK struct {
	XTowerRequestID string

	Payload []*models.WithTaskDeleteVM
}
MoveVMToRecycleBinOK describes a response with status code 200, with default header values.

MoveVMToRecycleBinOK move Vm to recycle bin o k

func NewMoveVMToRecycleBinOK

func NewMoveVMToRecycleBinOK() *MoveVMToRecycleBinOK

NewMoveVMToRecycleBinOK creates a MoveVMToRecycleBinOK with default headers values

func (*MoveVMToRecycleBinOK) Error

func (o *MoveVMToRecycleBinOK) Error() string

func (*MoveVMToRecycleBinOK) GetPayload

func (o *MoveVMToRecycleBinOK) GetPayload() []*models.WithTaskDeleteVM

type MoveVMToRecycleBinParams

type MoveVMToRecycleBinParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.VMOperateParams

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

MoveVMToRecycleBinParams contains all the parameters to send to the API endpoint

for the move Vm to recycle bin operation.

Typically these are written to a http.Request.

func NewMoveVMToRecycleBinParams

func NewMoveVMToRecycleBinParams() *MoveVMToRecycleBinParams

NewMoveVMToRecycleBinParams creates a new MoveVMToRecycleBinParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewMoveVMToRecycleBinParamsWithContext

func NewMoveVMToRecycleBinParamsWithContext(ctx context.Context) *MoveVMToRecycleBinParams

NewMoveVMToRecycleBinParamsWithContext creates a new MoveVMToRecycleBinParams object with the ability to set a context for a request.

func NewMoveVMToRecycleBinParamsWithHTTPClient

func NewMoveVMToRecycleBinParamsWithHTTPClient(client *http.Client) *MoveVMToRecycleBinParams

NewMoveVMToRecycleBinParamsWithHTTPClient creates a new MoveVMToRecycleBinParams object with the ability to set a custom HTTPClient for a request.

func NewMoveVMToRecycleBinParamsWithTimeout

func NewMoveVMToRecycleBinParamsWithTimeout(timeout time.Duration) *MoveVMToRecycleBinParams

NewMoveVMToRecycleBinParamsWithTimeout creates a new MoveVMToRecycleBinParams object with the ability to set a timeout on a request.

func (*MoveVMToRecycleBinParams) SetContentLanguage

func (o *MoveVMToRecycleBinParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the move Vm to recycle bin params

func (*MoveVMToRecycleBinParams) SetContext

func (o *MoveVMToRecycleBinParams) SetContext(ctx context.Context)

SetContext adds the context to the move Vm to recycle bin params

func (*MoveVMToRecycleBinParams) SetDefaults

func (o *MoveVMToRecycleBinParams) SetDefaults()

SetDefaults hydrates default values in the move Vm to recycle bin params (not the query body).

All values with no default are reset to their zero value.

func (*MoveVMToRecycleBinParams) SetHTTPClient

func (o *MoveVMToRecycleBinParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the move Vm to recycle bin params

func (*MoveVMToRecycleBinParams) SetRequestBody

func (o *MoveVMToRecycleBinParams) SetRequestBody(requestBody *models.VMOperateParams)

SetRequestBody adds the requestBody to the move Vm to recycle bin params

func (*MoveVMToRecycleBinParams) SetTimeout

func (o *MoveVMToRecycleBinParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the move Vm to recycle bin params

func (*MoveVMToRecycleBinParams) WithContentLanguage

func (o *MoveVMToRecycleBinParams) WithContentLanguage(contentLanguage *string) *MoveVMToRecycleBinParams

WithContentLanguage adds the contentLanguage to the move Vm to recycle bin params

func (*MoveVMToRecycleBinParams) WithContext

WithContext adds the context to the move Vm to recycle bin params

func (*MoveVMToRecycleBinParams) WithDefaults

WithDefaults hydrates default values in the move Vm to recycle bin params (not the query body).

All values with no default are reset to their zero value.

func (*MoveVMToRecycleBinParams) WithHTTPClient

func (o *MoveVMToRecycleBinParams) WithHTTPClient(client *http.Client) *MoveVMToRecycleBinParams

WithHTTPClient adds the HTTPClient to the move Vm to recycle bin params

func (*MoveVMToRecycleBinParams) WithRequestBody

func (o *MoveVMToRecycleBinParams) WithRequestBody(requestBody *models.VMOperateParams) *MoveVMToRecycleBinParams

WithRequestBody adds the requestBody to the move Vm to recycle bin params

func (*MoveVMToRecycleBinParams) WithTimeout

WithTimeout adds the timeout to the move Vm to recycle bin params

func (*MoveVMToRecycleBinParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type MoveVMToRecycleBinReader

type MoveVMToRecycleBinReader struct {
	// contains filtered or unexported fields
}

MoveVMToRecycleBinReader is a Reader for the MoveVMToRecycleBin structure.

func (*MoveVMToRecycleBinReader) ReadResponse

func (o *MoveVMToRecycleBinReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PoweroffVMBadRequest

type PoweroffVMBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
PoweroffVMBadRequest describes a response with status code 400, with default header values.

Bad request

func NewPoweroffVMBadRequest

func NewPoweroffVMBadRequest() *PoweroffVMBadRequest

NewPoweroffVMBadRequest creates a PoweroffVMBadRequest with default headers values

func (*PoweroffVMBadRequest) Error

func (o *PoweroffVMBadRequest) Error() string

func (*PoweroffVMBadRequest) GetPayload

func (o *PoweroffVMBadRequest) GetPayload() *models.ErrorBody

type PoweroffVMInternalServerError

type PoweroffVMInternalServerError struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
PoweroffVMInternalServerError describes a response with status code 500, with default header values.

Server error

func NewPoweroffVMInternalServerError

func NewPoweroffVMInternalServerError() *PoweroffVMInternalServerError

NewPoweroffVMInternalServerError creates a PoweroffVMInternalServerError with default headers values

func (*PoweroffVMInternalServerError) Error

func (*PoweroffVMInternalServerError) GetPayload

type PoweroffVMNotFound

type PoweroffVMNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
PoweroffVMNotFound describes a response with status code 404, with default header values.

Not found

func NewPoweroffVMNotFound

func NewPoweroffVMNotFound() *PoweroffVMNotFound

NewPoweroffVMNotFound creates a PoweroffVMNotFound with default headers values

func (*PoweroffVMNotFound) Error

func (o *PoweroffVMNotFound) Error() string

func (*PoweroffVMNotFound) GetPayload

func (o *PoweroffVMNotFound) GetPayload() *models.ErrorBody

type PoweroffVMOK

type PoweroffVMOK struct {
	XTowerRequestID string

	Payload []*models.WithTaskVM
}
PoweroffVMOK describes a response with status code 200, with default header values.

PoweroffVMOK poweroff Vm o k

func NewPoweroffVMOK

func NewPoweroffVMOK() *PoweroffVMOK

NewPoweroffVMOK creates a PoweroffVMOK with default headers values

func (*PoweroffVMOK) Error

func (o *PoweroffVMOK) Error() string

func (*PoweroffVMOK) GetPayload

func (o *PoweroffVMOK) GetPayload() []*models.WithTaskVM

type PoweroffVMParams

type PoweroffVMParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.VMOperateParams

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PoweroffVMParams contains all the parameters to send to the API endpoint

for the poweroff Vm operation.

Typically these are written to a http.Request.

func NewPoweroffVMParams

func NewPoweroffVMParams() *PoweroffVMParams

NewPoweroffVMParams creates a new PoweroffVMParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPoweroffVMParamsWithContext

func NewPoweroffVMParamsWithContext(ctx context.Context) *PoweroffVMParams

NewPoweroffVMParamsWithContext creates a new PoweroffVMParams object with the ability to set a context for a request.

func NewPoweroffVMParamsWithHTTPClient

func NewPoweroffVMParamsWithHTTPClient(client *http.Client) *PoweroffVMParams

NewPoweroffVMParamsWithHTTPClient creates a new PoweroffVMParams object with the ability to set a custom HTTPClient for a request.

func NewPoweroffVMParamsWithTimeout

func NewPoweroffVMParamsWithTimeout(timeout time.Duration) *PoweroffVMParams

NewPoweroffVMParamsWithTimeout creates a new PoweroffVMParams object with the ability to set a timeout on a request.

func (*PoweroffVMParams) SetContentLanguage

func (o *PoweroffVMParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the poweroff Vm params

func (*PoweroffVMParams) SetContext

func (o *PoweroffVMParams) SetContext(ctx context.Context)

SetContext adds the context to the poweroff Vm params

func (*PoweroffVMParams) SetDefaults

func (o *PoweroffVMParams) SetDefaults()

SetDefaults hydrates default values in the poweroff Vm params (not the query body).

All values with no default are reset to their zero value.

func (*PoweroffVMParams) SetHTTPClient

func (o *PoweroffVMParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the poweroff Vm params

func (*PoweroffVMParams) SetRequestBody

func (o *PoweroffVMParams) SetRequestBody(requestBody *models.VMOperateParams)

SetRequestBody adds the requestBody to the poweroff Vm params

func (*PoweroffVMParams) SetTimeout

func (o *PoweroffVMParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the poweroff Vm params

func (*PoweroffVMParams) WithContentLanguage

func (o *PoweroffVMParams) WithContentLanguage(contentLanguage *string) *PoweroffVMParams

WithContentLanguage adds the contentLanguage to the poweroff Vm params

func (*PoweroffVMParams) WithContext

func (o *PoweroffVMParams) WithContext(ctx context.Context) *PoweroffVMParams

WithContext adds the context to the poweroff Vm params

func (*PoweroffVMParams) WithDefaults

func (o *PoweroffVMParams) WithDefaults() *PoweroffVMParams

WithDefaults hydrates default values in the poweroff Vm params (not the query body).

All values with no default are reset to their zero value.

func (*PoweroffVMParams) WithHTTPClient

func (o *PoweroffVMParams) WithHTTPClient(client *http.Client) *PoweroffVMParams

WithHTTPClient adds the HTTPClient to the poweroff Vm params

func (*PoweroffVMParams) WithRequestBody

func (o *PoweroffVMParams) WithRequestBody(requestBody *models.VMOperateParams) *PoweroffVMParams

WithRequestBody adds the requestBody to the poweroff Vm params

func (*PoweroffVMParams) WithTimeout

func (o *PoweroffVMParams) WithTimeout(timeout time.Duration) *PoweroffVMParams

WithTimeout adds the timeout to the poweroff Vm params

func (*PoweroffVMParams) WriteToRequest

func (o *PoweroffVMParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type PoweroffVMReader

type PoweroffVMReader struct {
	// contains filtered or unexported fields
}

PoweroffVMReader is a Reader for the PoweroffVM structure.

func (*PoweroffVMReader) ReadResponse

func (o *PoweroffVMReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type RebuildVMBadRequest

type RebuildVMBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
RebuildVMBadRequest describes a response with status code 400, with default header values.

Bad request

func NewRebuildVMBadRequest

func NewRebuildVMBadRequest() *RebuildVMBadRequest

NewRebuildVMBadRequest creates a RebuildVMBadRequest with default headers values

func (*RebuildVMBadRequest) Error

func (o *RebuildVMBadRequest) Error() string

func (*RebuildVMBadRequest) GetPayload

func (o *RebuildVMBadRequest) GetPayload() *models.ErrorBody

type RebuildVMInternalServerError

type RebuildVMInternalServerError struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
RebuildVMInternalServerError describes a response with status code 500, with default header values.

Server error

func NewRebuildVMInternalServerError

func NewRebuildVMInternalServerError() *RebuildVMInternalServerError

NewRebuildVMInternalServerError creates a RebuildVMInternalServerError with default headers values

func (*RebuildVMInternalServerError) Error

func (*RebuildVMInternalServerError) GetPayload

type RebuildVMNotFound

type RebuildVMNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
RebuildVMNotFound describes a response with status code 404, with default header values.

Not found

func NewRebuildVMNotFound

func NewRebuildVMNotFound() *RebuildVMNotFound

NewRebuildVMNotFound creates a RebuildVMNotFound with default headers values

func (*RebuildVMNotFound) Error

func (o *RebuildVMNotFound) Error() string

func (*RebuildVMNotFound) GetPayload

func (o *RebuildVMNotFound) GetPayload() *models.ErrorBody

type RebuildVMOK

type RebuildVMOK struct {
	XTowerRequestID string

	Payload []*models.WithTaskVM
}
RebuildVMOK describes a response with status code 200, with default header values.

RebuildVMOK rebuild Vm o k

func NewRebuildVMOK

func NewRebuildVMOK() *RebuildVMOK

NewRebuildVMOK creates a RebuildVMOK with default headers values

func (*RebuildVMOK) Error

func (o *RebuildVMOK) Error() string

func (*RebuildVMOK) GetPayload

func (o *RebuildVMOK) GetPayload() []*models.WithTaskVM

type RebuildVMParams

type RebuildVMParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody []*models.VMRebuildParams

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

RebuildVMParams contains all the parameters to send to the API endpoint

for the rebuild Vm operation.

Typically these are written to a http.Request.

func NewRebuildVMParams

func NewRebuildVMParams() *RebuildVMParams

NewRebuildVMParams creates a new RebuildVMParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewRebuildVMParamsWithContext

func NewRebuildVMParamsWithContext(ctx context.Context) *RebuildVMParams

NewRebuildVMParamsWithContext creates a new RebuildVMParams object with the ability to set a context for a request.

func NewRebuildVMParamsWithHTTPClient

func NewRebuildVMParamsWithHTTPClient(client *http.Client) *RebuildVMParams

NewRebuildVMParamsWithHTTPClient creates a new RebuildVMParams object with the ability to set a custom HTTPClient for a request.

func NewRebuildVMParamsWithTimeout

func NewRebuildVMParamsWithTimeout(timeout time.Duration) *RebuildVMParams

NewRebuildVMParamsWithTimeout creates a new RebuildVMParams object with the ability to set a timeout on a request.

func (*RebuildVMParams) SetContentLanguage

func (o *RebuildVMParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the rebuild Vm params

func (*RebuildVMParams) SetContext

func (o *RebuildVMParams) SetContext(ctx context.Context)

SetContext adds the context to the rebuild Vm params

func (*RebuildVMParams) SetDefaults

func (o *RebuildVMParams) SetDefaults()

SetDefaults hydrates default values in the rebuild Vm params (not the query body).

All values with no default are reset to their zero value.

func (*RebuildVMParams) SetHTTPClient

func (o *RebuildVMParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the rebuild Vm params

func (*RebuildVMParams) SetRequestBody

func (o *RebuildVMParams) SetRequestBody(requestBody []*models.VMRebuildParams)

SetRequestBody adds the requestBody to the rebuild Vm params

func (*RebuildVMParams) SetTimeout

func (o *RebuildVMParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the rebuild Vm params

func (*RebuildVMParams) WithContentLanguage

func (o *RebuildVMParams) WithContentLanguage(contentLanguage *string) *RebuildVMParams

WithContentLanguage adds the contentLanguage to the rebuild Vm params

func (*RebuildVMParams) WithContext

func (o *RebuildVMParams) WithContext(ctx context.Context) *RebuildVMParams

WithContext adds the context to the rebuild Vm params

func (*RebuildVMParams) WithDefaults

func (o *RebuildVMParams) WithDefaults() *RebuildVMParams

WithDefaults hydrates default values in the rebuild Vm params (not the query body).

All values with no default are reset to their zero value.

func (*RebuildVMParams) WithHTTPClient

func (o *RebuildVMParams) WithHTTPClient(client *http.Client) *RebuildVMParams

WithHTTPClient adds the HTTPClient to the rebuild Vm params

func (*RebuildVMParams) WithRequestBody

func (o *RebuildVMParams) WithRequestBody(requestBody []*models.VMRebuildParams) *RebuildVMParams

WithRequestBody adds the requestBody to the rebuild Vm params

func (*RebuildVMParams) WithTimeout

func (o *RebuildVMParams) WithTimeout(timeout time.Duration) *RebuildVMParams

WithTimeout adds the timeout to the rebuild Vm params

func (*RebuildVMParams) WriteToRequest

func (o *RebuildVMParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type RebuildVMReader

type RebuildVMReader struct {
	// contains filtered or unexported fields
}

RebuildVMReader is a Reader for the RebuildVM structure.

func (*RebuildVMReader) ReadResponse

func (o *RebuildVMReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type RecoverVMFromRecycleBinBadRequest

type RecoverVMFromRecycleBinBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
RecoverVMFromRecycleBinBadRequest describes a response with status code 400, with default header values.

Bad request

func NewRecoverVMFromRecycleBinBadRequest

func NewRecoverVMFromRecycleBinBadRequest() *RecoverVMFromRecycleBinBadRequest

NewRecoverVMFromRecycleBinBadRequest creates a RecoverVMFromRecycleBinBadRequest with default headers values

func (*RecoverVMFromRecycleBinBadRequest) Error

func (*RecoverVMFromRecycleBinBadRequest) GetPayload

type RecoverVMFromRecycleBinInternalServerError

type RecoverVMFromRecycleBinInternalServerError struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
RecoverVMFromRecycleBinInternalServerError describes a response with status code 500, with default header values.

Server error

func NewRecoverVMFromRecycleBinInternalServerError

func NewRecoverVMFromRecycleBinInternalServerError() *RecoverVMFromRecycleBinInternalServerError

NewRecoverVMFromRecycleBinInternalServerError creates a RecoverVMFromRecycleBinInternalServerError with default headers values

func (*RecoverVMFromRecycleBinInternalServerError) Error

func (*RecoverVMFromRecycleBinInternalServerError) GetPayload

type RecoverVMFromRecycleBinNotFound

type RecoverVMFromRecycleBinNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
RecoverVMFromRecycleBinNotFound describes a response with status code 404, with default header values.

Not found

func NewRecoverVMFromRecycleBinNotFound

func NewRecoverVMFromRecycleBinNotFound() *RecoverVMFromRecycleBinNotFound

NewRecoverVMFromRecycleBinNotFound creates a RecoverVMFromRecycleBinNotFound with default headers values

func (*RecoverVMFromRecycleBinNotFound) Error

func (*RecoverVMFromRecycleBinNotFound) GetPayload

type RecoverVMFromRecycleBinOK

type RecoverVMFromRecycleBinOK struct {
	XTowerRequestID string

	Payload []*models.WithTaskDeleteVM
}
RecoverVMFromRecycleBinOK describes a response with status code 200, with default header values.

RecoverVMFromRecycleBinOK recover Vm from recycle bin o k

func NewRecoverVMFromRecycleBinOK

func NewRecoverVMFromRecycleBinOK() *RecoverVMFromRecycleBinOK

NewRecoverVMFromRecycleBinOK creates a RecoverVMFromRecycleBinOK with default headers values

func (*RecoverVMFromRecycleBinOK) Error

func (o *RecoverVMFromRecycleBinOK) Error() string

func (*RecoverVMFromRecycleBinOK) GetPayload

type RecoverVMFromRecycleBinParams

type RecoverVMFromRecycleBinParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.VMOperateParams

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

RecoverVMFromRecycleBinParams contains all the parameters to send to the API endpoint

for the recover Vm from recycle bin operation.

Typically these are written to a http.Request.

func NewRecoverVMFromRecycleBinParams

func NewRecoverVMFromRecycleBinParams() *RecoverVMFromRecycleBinParams

NewRecoverVMFromRecycleBinParams creates a new RecoverVMFromRecycleBinParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewRecoverVMFromRecycleBinParamsWithContext

func NewRecoverVMFromRecycleBinParamsWithContext(ctx context.Context) *RecoverVMFromRecycleBinParams

NewRecoverVMFromRecycleBinParamsWithContext creates a new RecoverVMFromRecycleBinParams object with the ability to set a context for a request.

func NewRecoverVMFromRecycleBinParamsWithHTTPClient

func NewRecoverVMFromRecycleBinParamsWithHTTPClient(client *http.Client) *RecoverVMFromRecycleBinParams

NewRecoverVMFromRecycleBinParamsWithHTTPClient creates a new RecoverVMFromRecycleBinParams object with the ability to set a custom HTTPClient for a request.

func NewRecoverVMFromRecycleBinParamsWithTimeout

func NewRecoverVMFromRecycleBinParamsWithTimeout(timeout time.Duration) *RecoverVMFromRecycleBinParams

NewRecoverVMFromRecycleBinParamsWithTimeout creates a new RecoverVMFromRecycleBinParams object with the ability to set a timeout on a request.

func (*RecoverVMFromRecycleBinParams) SetContentLanguage

func (o *RecoverVMFromRecycleBinParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the recover Vm from recycle bin params

func (*RecoverVMFromRecycleBinParams) SetContext

func (o *RecoverVMFromRecycleBinParams) SetContext(ctx context.Context)

SetContext adds the context to the recover Vm from recycle bin params

func (*RecoverVMFromRecycleBinParams) SetDefaults

func (o *RecoverVMFromRecycleBinParams) SetDefaults()

SetDefaults hydrates default values in the recover Vm from recycle bin params (not the query body).

All values with no default are reset to their zero value.

func (*RecoverVMFromRecycleBinParams) SetHTTPClient

func (o *RecoverVMFromRecycleBinParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the recover Vm from recycle bin params

func (*RecoverVMFromRecycleBinParams) SetRequestBody

func (o *RecoverVMFromRecycleBinParams) SetRequestBody(requestBody *models.VMOperateParams)

SetRequestBody adds the requestBody to the recover Vm from recycle bin params

func (*RecoverVMFromRecycleBinParams) SetTimeout

func (o *RecoverVMFromRecycleBinParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the recover Vm from recycle bin params

func (*RecoverVMFromRecycleBinParams) WithContentLanguage

func (o *RecoverVMFromRecycleBinParams) WithContentLanguage(contentLanguage *string) *RecoverVMFromRecycleBinParams

WithContentLanguage adds the contentLanguage to the recover Vm from recycle bin params

func (*RecoverVMFromRecycleBinParams) WithContext

WithContext adds the context to the recover Vm from recycle bin params

func (*RecoverVMFromRecycleBinParams) WithDefaults

WithDefaults hydrates default values in the recover Vm from recycle bin params (not the query body).

All values with no default are reset to their zero value.

func (*RecoverVMFromRecycleBinParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the recover Vm from recycle bin params

func (*RecoverVMFromRecycleBinParams) WithRequestBody

WithRequestBody adds the requestBody to the recover Vm from recycle bin params

func (*RecoverVMFromRecycleBinParams) WithTimeout

WithTimeout adds the timeout to the recover Vm from recycle bin params

func (*RecoverVMFromRecycleBinParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type RecoverVMFromRecycleBinReader

type RecoverVMFromRecycleBinReader struct {
	// contains filtered or unexported fields
}

RecoverVMFromRecycleBinReader is a Reader for the RecoverVMFromRecycleBin structure.

func (*RecoverVMFromRecycleBinReader) ReadResponse

func (o *RecoverVMFromRecycleBinReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type RemoveVMCdRomBadRequest

type RemoveVMCdRomBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
RemoveVMCdRomBadRequest describes a response with status code 400, with default header values.

Bad request

func NewRemoveVMCdRomBadRequest

func NewRemoveVMCdRomBadRequest() *RemoveVMCdRomBadRequest

NewRemoveVMCdRomBadRequest creates a RemoveVMCdRomBadRequest with default headers values

func (*RemoveVMCdRomBadRequest) Error

func (o *RemoveVMCdRomBadRequest) Error() string

func (*RemoveVMCdRomBadRequest) GetPayload

func (o *RemoveVMCdRomBadRequest) GetPayload() *models.ErrorBody

type RemoveVMCdRomInternalServerError

type RemoveVMCdRomInternalServerError struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
RemoveVMCdRomInternalServerError describes a response with status code 500, with default header values.

Server error

func NewRemoveVMCdRomInternalServerError

func NewRemoveVMCdRomInternalServerError() *RemoveVMCdRomInternalServerError

NewRemoveVMCdRomInternalServerError creates a RemoveVMCdRomInternalServerError with default headers values

func (*RemoveVMCdRomInternalServerError) Error

func (*RemoveVMCdRomInternalServerError) GetPayload

type RemoveVMCdRomNotFound

type RemoveVMCdRomNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
RemoveVMCdRomNotFound describes a response with status code 404, with default header values.

Not found

func NewRemoveVMCdRomNotFound

func NewRemoveVMCdRomNotFound() *RemoveVMCdRomNotFound

NewRemoveVMCdRomNotFound creates a RemoveVMCdRomNotFound with default headers values

func (*RemoveVMCdRomNotFound) Error

func (o *RemoveVMCdRomNotFound) Error() string

func (*RemoveVMCdRomNotFound) GetPayload

func (o *RemoveVMCdRomNotFound) GetPayload() *models.ErrorBody

type RemoveVMCdRomOK

type RemoveVMCdRomOK struct {
	XTowerRequestID string

	Payload []*models.WithTaskVM
}
RemoveVMCdRomOK describes a response with status code 200, with default header values.

RemoveVMCdRomOK remove Vm cd rom o k

func NewRemoveVMCdRomOK

func NewRemoveVMCdRomOK() *RemoveVMCdRomOK

NewRemoveVMCdRomOK creates a RemoveVMCdRomOK with default headers values

func (*RemoveVMCdRomOK) Error

func (o *RemoveVMCdRomOK) Error() string

func (*RemoveVMCdRomOK) GetPayload

func (o *RemoveVMCdRomOK) GetPayload() []*models.WithTaskVM

type RemoveVMCdRomParams

type RemoveVMCdRomParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.VMRemoveCdRomParams

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

RemoveVMCdRomParams contains all the parameters to send to the API endpoint

for the remove Vm cd rom operation.

Typically these are written to a http.Request.

func NewRemoveVMCdRomParams

func NewRemoveVMCdRomParams() *RemoveVMCdRomParams

NewRemoveVMCdRomParams creates a new RemoveVMCdRomParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewRemoveVMCdRomParamsWithContext

func NewRemoveVMCdRomParamsWithContext(ctx context.Context) *RemoveVMCdRomParams

NewRemoveVMCdRomParamsWithContext creates a new RemoveVMCdRomParams object with the ability to set a context for a request.

func NewRemoveVMCdRomParamsWithHTTPClient

func NewRemoveVMCdRomParamsWithHTTPClient(client *http.Client) *RemoveVMCdRomParams

NewRemoveVMCdRomParamsWithHTTPClient creates a new RemoveVMCdRomParams object with the ability to set a custom HTTPClient for a request.

func NewRemoveVMCdRomParamsWithTimeout

func NewRemoveVMCdRomParamsWithTimeout(timeout time.Duration) *RemoveVMCdRomParams

NewRemoveVMCdRomParamsWithTimeout creates a new RemoveVMCdRomParams object with the ability to set a timeout on a request.

func (*RemoveVMCdRomParams) SetContentLanguage

func (o *RemoveVMCdRomParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the remove Vm cd rom params

func (*RemoveVMCdRomParams) SetContext

func (o *RemoveVMCdRomParams) SetContext(ctx context.Context)

SetContext adds the context to the remove Vm cd rom params

func (*RemoveVMCdRomParams) SetDefaults

func (o *RemoveVMCdRomParams) SetDefaults()

SetDefaults hydrates default values in the remove Vm cd rom params (not the query body).

All values with no default are reset to their zero value.

func (*RemoveVMCdRomParams) SetHTTPClient

func (o *RemoveVMCdRomParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the remove Vm cd rom params

func (*RemoveVMCdRomParams) SetRequestBody

func (o *RemoveVMCdRomParams) SetRequestBody(requestBody *models.VMRemoveCdRomParams)

SetRequestBody adds the requestBody to the remove Vm cd rom params

func (*RemoveVMCdRomParams) SetTimeout

func (o *RemoveVMCdRomParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the remove Vm cd rom params

func (*RemoveVMCdRomParams) WithContentLanguage

func (o *RemoveVMCdRomParams) WithContentLanguage(contentLanguage *string) *RemoveVMCdRomParams

WithContentLanguage adds the contentLanguage to the remove Vm cd rom params

func (*RemoveVMCdRomParams) WithContext

WithContext adds the context to the remove Vm cd rom params

func (*RemoveVMCdRomParams) WithDefaults

func (o *RemoveVMCdRomParams) WithDefaults() *RemoveVMCdRomParams

WithDefaults hydrates default values in the remove Vm cd rom params (not the query body).

All values with no default are reset to their zero value.

func (*RemoveVMCdRomParams) WithHTTPClient

func (o *RemoveVMCdRomParams) WithHTTPClient(client *http.Client) *RemoveVMCdRomParams

WithHTTPClient adds the HTTPClient to the remove Vm cd rom params

func (*RemoveVMCdRomParams) WithRequestBody

func (o *RemoveVMCdRomParams) WithRequestBody(requestBody *models.VMRemoveCdRomParams) *RemoveVMCdRomParams

WithRequestBody adds the requestBody to the remove Vm cd rom params

func (*RemoveVMCdRomParams) WithTimeout

func (o *RemoveVMCdRomParams) WithTimeout(timeout time.Duration) *RemoveVMCdRomParams

WithTimeout adds the timeout to the remove Vm cd rom params

func (*RemoveVMCdRomParams) WriteToRequest

func (o *RemoveVMCdRomParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type RemoveVMCdRomReader

type RemoveVMCdRomReader struct {
	// contains filtered or unexported fields
}

RemoveVMCdRomReader is a Reader for the RemoveVMCdRom structure.

func (*RemoveVMCdRomReader) ReadResponse

func (o *RemoveVMCdRomReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type RemoveVMDiskBadRequest

type RemoveVMDiskBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
RemoveVMDiskBadRequest describes a response with status code 400, with default header values.

Bad request

func NewRemoveVMDiskBadRequest

func NewRemoveVMDiskBadRequest() *RemoveVMDiskBadRequest

NewRemoveVMDiskBadRequest creates a RemoveVMDiskBadRequest with default headers values

func (*RemoveVMDiskBadRequest) Error

func (o *RemoveVMDiskBadRequest) Error() string

func (*RemoveVMDiskBadRequest) GetPayload

func (o *RemoveVMDiskBadRequest) GetPayload() *models.ErrorBody

type RemoveVMDiskInternalServerError

type RemoveVMDiskInternalServerError struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
RemoveVMDiskInternalServerError describes a response with status code 500, with default header values.

Server error

func NewRemoveVMDiskInternalServerError

func NewRemoveVMDiskInternalServerError() *RemoveVMDiskInternalServerError

NewRemoveVMDiskInternalServerError creates a RemoveVMDiskInternalServerError with default headers values

func (*RemoveVMDiskInternalServerError) Error

func (*RemoveVMDiskInternalServerError) GetPayload

type RemoveVMDiskNotFound

type RemoveVMDiskNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
RemoveVMDiskNotFound describes a response with status code 404, with default header values.

Not found

func NewRemoveVMDiskNotFound

func NewRemoveVMDiskNotFound() *RemoveVMDiskNotFound

NewRemoveVMDiskNotFound creates a RemoveVMDiskNotFound with default headers values

func (*RemoveVMDiskNotFound) Error

func (o *RemoveVMDiskNotFound) Error() string

func (*RemoveVMDiskNotFound) GetPayload

func (o *RemoveVMDiskNotFound) GetPayload() *models.ErrorBody

type RemoveVMDiskOK

type RemoveVMDiskOK struct {
	XTowerRequestID string

	Payload []*models.WithTaskVM
}
RemoveVMDiskOK describes a response with status code 200, with default header values.

RemoveVMDiskOK remove Vm disk o k

func NewRemoveVMDiskOK

func NewRemoveVMDiskOK() *RemoveVMDiskOK

NewRemoveVMDiskOK creates a RemoveVMDiskOK with default headers values

func (*RemoveVMDiskOK) Error

func (o *RemoveVMDiskOK) Error() string

func (*RemoveVMDiskOK) GetPayload

func (o *RemoveVMDiskOK) GetPayload() []*models.WithTaskVM

type RemoveVMDiskParams

type RemoveVMDiskParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.VMRemoveDiskParams

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

RemoveVMDiskParams contains all the parameters to send to the API endpoint

for the remove Vm disk operation.

Typically these are written to a http.Request.

func NewRemoveVMDiskParams

func NewRemoveVMDiskParams() *RemoveVMDiskParams

NewRemoveVMDiskParams creates a new RemoveVMDiskParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewRemoveVMDiskParamsWithContext

func NewRemoveVMDiskParamsWithContext(ctx context.Context) *RemoveVMDiskParams

NewRemoveVMDiskParamsWithContext creates a new RemoveVMDiskParams object with the ability to set a context for a request.

func NewRemoveVMDiskParamsWithHTTPClient

func NewRemoveVMDiskParamsWithHTTPClient(client *http.Client) *RemoveVMDiskParams

NewRemoveVMDiskParamsWithHTTPClient creates a new RemoveVMDiskParams object with the ability to set a custom HTTPClient for a request.

func NewRemoveVMDiskParamsWithTimeout

func NewRemoveVMDiskParamsWithTimeout(timeout time.Duration) *RemoveVMDiskParams

NewRemoveVMDiskParamsWithTimeout creates a new RemoveVMDiskParams object with the ability to set a timeout on a request.

func (*RemoveVMDiskParams) SetContentLanguage

func (o *RemoveVMDiskParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the remove Vm disk params

func (*RemoveVMDiskParams) SetContext

func (o *RemoveVMDiskParams) SetContext(ctx context.Context)

SetContext adds the context to the remove Vm disk params

func (*RemoveVMDiskParams) SetDefaults

func (o *RemoveVMDiskParams) SetDefaults()

SetDefaults hydrates default values in the remove Vm disk params (not the query body).

All values with no default are reset to their zero value.

func (*RemoveVMDiskParams) SetHTTPClient

func (o *RemoveVMDiskParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the remove Vm disk params

func (*RemoveVMDiskParams) SetRequestBody

func (o *RemoveVMDiskParams) SetRequestBody(requestBody *models.VMRemoveDiskParams)

SetRequestBody adds the requestBody to the remove Vm disk params

func (*RemoveVMDiskParams) SetTimeout

func (o *RemoveVMDiskParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the remove Vm disk params

func (*RemoveVMDiskParams) WithContentLanguage

func (o *RemoveVMDiskParams) WithContentLanguage(contentLanguage *string) *RemoveVMDiskParams

WithContentLanguage adds the contentLanguage to the remove Vm disk params

func (*RemoveVMDiskParams) WithContext

WithContext adds the context to the remove Vm disk params

func (*RemoveVMDiskParams) WithDefaults

func (o *RemoveVMDiskParams) WithDefaults() *RemoveVMDiskParams

WithDefaults hydrates default values in the remove Vm disk params (not the query body).

All values with no default are reset to their zero value.

func (*RemoveVMDiskParams) WithHTTPClient

func (o *RemoveVMDiskParams) WithHTTPClient(client *http.Client) *RemoveVMDiskParams

WithHTTPClient adds the HTTPClient to the remove Vm disk params

func (*RemoveVMDiskParams) WithRequestBody

func (o *RemoveVMDiskParams) WithRequestBody(requestBody *models.VMRemoveDiskParams) *RemoveVMDiskParams

WithRequestBody adds the requestBody to the remove Vm disk params

func (*RemoveVMDiskParams) WithTimeout

func (o *RemoveVMDiskParams) WithTimeout(timeout time.Duration) *RemoveVMDiskParams

WithTimeout adds the timeout to the remove Vm disk params

func (*RemoveVMDiskParams) WriteToRequest

func (o *RemoveVMDiskParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type RemoveVMDiskReader

type RemoveVMDiskReader struct {
	// contains filtered or unexported fields
}

RemoveVMDiskReader is a Reader for the RemoveVMDisk structure.

func (*RemoveVMDiskReader) ReadResponse

func (o *RemoveVMDiskReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type RemoveVMGpuDeviceBadRequest added in v2.12.0

type RemoveVMGpuDeviceBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
RemoveVMGpuDeviceBadRequest describes a response with status code 400, with default header values.

Bad request

func NewRemoveVMGpuDeviceBadRequest added in v2.12.0

func NewRemoveVMGpuDeviceBadRequest() *RemoveVMGpuDeviceBadRequest

NewRemoveVMGpuDeviceBadRequest creates a RemoveVMGpuDeviceBadRequest with default headers values

func (*RemoveVMGpuDeviceBadRequest) Error added in v2.12.0

func (*RemoveVMGpuDeviceBadRequest) GetPayload added in v2.12.0

func (o *RemoveVMGpuDeviceBadRequest) GetPayload() *models.ErrorBody

type RemoveVMGpuDeviceInternalServerError added in v2.12.0

type RemoveVMGpuDeviceInternalServerError struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
RemoveVMGpuDeviceInternalServerError describes a response with status code 500, with default header values.

Server error

func NewRemoveVMGpuDeviceInternalServerError added in v2.12.0

func NewRemoveVMGpuDeviceInternalServerError() *RemoveVMGpuDeviceInternalServerError

NewRemoveVMGpuDeviceInternalServerError creates a RemoveVMGpuDeviceInternalServerError with default headers values

func (*RemoveVMGpuDeviceInternalServerError) Error added in v2.12.0

func (*RemoveVMGpuDeviceInternalServerError) GetPayload added in v2.12.0

type RemoveVMGpuDeviceNotFound added in v2.12.0

type RemoveVMGpuDeviceNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
RemoveVMGpuDeviceNotFound describes a response with status code 404, with default header values.

Not found

func NewRemoveVMGpuDeviceNotFound added in v2.12.0

func NewRemoveVMGpuDeviceNotFound() *RemoveVMGpuDeviceNotFound

NewRemoveVMGpuDeviceNotFound creates a RemoveVMGpuDeviceNotFound with default headers values

func (*RemoveVMGpuDeviceNotFound) Error added in v2.12.0

func (o *RemoveVMGpuDeviceNotFound) Error() string

func (*RemoveVMGpuDeviceNotFound) GetPayload added in v2.12.0

func (o *RemoveVMGpuDeviceNotFound) GetPayload() *models.ErrorBody

type RemoveVMGpuDeviceOK added in v2.12.0

type RemoveVMGpuDeviceOK struct {
	XTowerRequestID string

	Payload []*models.WithTaskVM
}
RemoveVMGpuDeviceOK describes a response with status code 200, with default header values.

RemoveVMGpuDeviceOK remove Vm gpu device o k

func NewRemoveVMGpuDeviceOK added in v2.12.0

func NewRemoveVMGpuDeviceOK() *RemoveVMGpuDeviceOK

NewRemoveVMGpuDeviceOK creates a RemoveVMGpuDeviceOK with default headers values

func (*RemoveVMGpuDeviceOK) Error added in v2.12.0

func (o *RemoveVMGpuDeviceOK) Error() string

func (*RemoveVMGpuDeviceOK) GetPayload added in v2.12.0

func (o *RemoveVMGpuDeviceOK) GetPayload() []*models.WithTaskVM

type RemoveVMGpuDeviceParams added in v2.12.0

type RemoveVMGpuDeviceParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.VMRemoveGpuDeviceParams

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

RemoveVMGpuDeviceParams contains all the parameters to send to the API endpoint

for the remove Vm gpu device operation.

Typically these are written to a http.Request.

func NewRemoveVMGpuDeviceParams added in v2.12.0

func NewRemoveVMGpuDeviceParams() *RemoveVMGpuDeviceParams

NewRemoveVMGpuDeviceParams creates a new RemoveVMGpuDeviceParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewRemoveVMGpuDeviceParamsWithContext added in v2.12.0

func NewRemoveVMGpuDeviceParamsWithContext(ctx context.Context) *RemoveVMGpuDeviceParams

NewRemoveVMGpuDeviceParamsWithContext creates a new RemoveVMGpuDeviceParams object with the ability to set a context for a request.

func NewRemoveVMGpuDeviceParamsWithHTTPClient added in v2.12.0

func NewRemoveVMGpuDeviceParamsWithHTTPClient(client *http.Client) *RemoveVMGpuDeviceParams

NewRemoveVMGpuDeviceParamsWithHTTPClient creates a new RemoveVMGpuDeviceParams object with the ability to set a custom HTTPClient for a request.

func NewRemoveVMGpuDeviceParamsWithTimeout added in v2.12.0

func NewRemoveVMGpuDeviceParamsWithTimeout(timeout time.Duration) *RemoveVMGpuDeviceParams

NewRemoveVMGpuDeviceParamsWithTimeout creates a new RemoveVMGpuDeviceParams object with the ability to set a timeout on a request.

func (*RemoveVMGpuDeviceParams) SetContentLanguage added in v2.12.0

func (o *RemoveVMGpuDeviceParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the remove Vm gpu device params

func (*RemoveVMGpuDeviceParams) SetContext added in v2.12.0

func (o *RemoveVMGpuDeviceParams) SetContext(ctx context.Context)

SetContext adds the context to the remove Vm gpu device params

func (*RemoveVMGpuDeviceParams) SetDefaults added in v2.12.0

func (o *RemoveVMGpuDeviceParams) SetDefaults()

SetDefaults hydrates default values in the remove Vm gpu device params (not the query body).

All values with no default are reset to their zero value.

func (*RemoveVMGpuDeviceParams) SetHTTPClient added in v2.12.0

func (o *RemoveVMGpuDeviceParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the remove Vm gpu device params

func (*RemoveVMGpuDeviceParams) SetRequestBody added in v2.12.0

func (o *RemoveVMGpuDeviceParams) SetRequestBody(requestBody *models.VMRemoveGpuDeviceParams)

SetRequestBody adds the requestBody to the remove Vm gpu device params

func (*RemoveVMGpuDeviceParams) SetTimeout added in v2.12.0

func (o *RemoveVMGpuDeviceParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the remove Vm gpu device params

func (*RemoveVMGpuDeviceParams) WithContentLanguage added in v2.12.0

func (o *RemoveVMGpuDeviceParams) WithContentLanguage(contentLanguage *string) *RemoveVMGpuDeviceParams

WithContentLanguage adds the contentLanguage to the remove Vm gpu device params

func (*RemoveVMGpuDeviceParams) WithContext added in v2.12.0

WithContext adds the context to the remove Vm gpu device params

func (*RemoveVMGpuDeviceParams) WithDefaults added in v2.12.0

WithDefaults hydrates default values in the remove Vm gpu device params (not the query body).

All values with no default are reset to their zero value.

func (*RemoveVMGpuDeviceParams) WithHTTPClient added in v2.12.0

func (o *RemoveVMGpuDeviceParams) WithHTTPClient(client *http.Client) *RemoveVMGpuDeviceParams

WithHTTPClient adds the HTTPClient to the remove Vm gpu device params

func (*RemoveVMGpuDeviceParams) WithRequestBody added in v2.12.0

WithRequestBody adds the requestBody to the remove Vm gpu device params

func (*RemoveVMGpuDeviceParams) WithTimeout added in v2.12.0

WithTimeout adds the timeout to the remove Vm gpu device params

func (*RemoveVMGpuDeviceParams) WriteToRequest added in v2.12.0

WriteToRequest writes these params to a swagger request

type RemoveVMGpuDeviceReader added in v2.12.0

type RemoveVMGpuDeviceReader struct {
	// contains filtered or unexported fields
}

RemoveVMGpuDeviceReader is a Reader for the RemoveVMGpuDevice structure.

func (*RemoveVMGpuDeviceReader) ReadResponse added in v2.12.0

func (o *RemoveVMGpuDeviceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type RemoveVMNicBadRequest

type RemoveVMNicBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
RemoveVMNicBadRequest describes a response with status code 400, with default header values.

Bad request

func NewRemoveVMNicBadRequest

func NewRemoveVMNicBadRequest() *RemoveVMNicBadRequest

NewRemoveVMNicBadRequest creates a RemoveVMNicBadRequest with default headers values

func (*RemoveVMNicBadRequest) Error

func (o *RemoveVMNicBadRequest) Error() string

func (*RemoveVMNicBadRequest) GetPayload

func (o *RemoveVMNicBadRequest) GetPayload() *models.ErrorBody

type RemoveVMNicByWhereBadRequest added in v2.12.0

type RemoveVMNicByWhereBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
RemoveVMNicByWhereBadRequest describes a response with status code 400, with default header values.

Bad request

func NewRemoveVMNicByWhereBadRequest added in v2.12.0

func NewRemoveVMNicByWhereBadRequest() *RemoveVMNicByWhereBadRequest

NewRemoveVMNicByWhereBadRequest creates a RemoveVMNicByWhereBadRequest with default headers values

func (*RemoveVMNicByWhereBadRequest) Error added in v2.12.0

func (*RemoveVMNicByWhereBadRequest) GetPayload added in v2.12.0

type RemoveVMNicByWhereInternalServerError added in v2.12.0

type RemoveVMNicByWhereInternalServerError struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
RemoveVMNicByWhereInternalServerError describes a response with status code 500, with default header values.

Server error

func NewRemoveVMNicByWhereInternalServerError added in v2.12.0

func NewRemoveVMNicByWhereInternalServerError() *RemoveVMNicByWhereInternalServerError

NewRemoveVMNicByWhereInternalServerError creates a RemoveVMNicByWhereInternalServerError with default headers values

func (*RemoveVMNicByWhereInternalServerError) Error added in v2.12.0

func (*RemoveVMNicByWhereInternalServerError) GetPayload added in v2.12.0

type RemoveVMNicByWhereNotFound added in v2.12.0

type RemoveVMNicByWhereNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
RemoveVMNicByWhereNotFound describes a response with status code 404, with default header values.

Not found

func NewRemoveVMNicByWhereNotFound added in v2.12.0

func NewRemoveVMNicByWhereNotFound() *RemoveVMNicByWhereNotFound

NewRemoveVMNicByWhereNotFound creates a RemoveVMNicByWhereNotFound with default headers values

func (*RemoveVMNicByWhereNotFound) Error added in v2.12.0

func (*RemoveVMNicByWhereNotFound) GetPayload added in v2.12.0

func (o *RemoveVMNicByWhereNotFound) GetPayload() *models.ErrorBody

type RemoveVMNicByWhereOK added in v2.12.0

type RemoveVMNicByWhereOK struct {
	XTowerRequestID string

	Payload []*models.WithTaskVM
}
RemoveVMNicByWhereOK describes a response with status code 200, with default header values.

RemoveVMNicByWhereOK remove Vm nic by where o k

func NewRemoveVMNicByWhereOK added in v2.12.0

func NewRemoveVMNicByWhereOK() *RemoveVMNicByWhereOK

NewRemoveVMNicByWhereOK creates a RemoveVMNicByWhereOK with default headers values

func (*RemoveVMNicByWhereOK) Error added in v2.12.0

func (o *RemoveVMNicByWhereOK) Error() string

func (*RemoveVMNicByWhereOK) GetPayload added in v2.12.0

func (o *RemoveVMNicByWhereOK) GetPayload() []*models.WithTaskVM

type RemoveVMNicByWhereParams added in v2.12.0

type RemoveVMNicByWhereParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.VMRemoveNicByWhereParams

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

RemoveVMNicByWhereParams contains all the parameters to send to the API endpoint

for the remove Vm nic by where operation.

Typically these are written to a http.Request.

func NewRemoveVMNicByWhereParams added in v2.12.0

func NewRemoveVMNicByWhereParams() *RemoveVMNicByWhereParams

NewRemoveVMNicByWhereParams creates a new RemoveVMNicByWhereParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewRemoveVMNicByWhereParamsWithContext added in v2.12.0

func NewRemoveVMNicByWhereParamsWithContext(ctx context.Context) *RemoveVMNicByWhereParams

NewRemoveVMNicByWhereParamsWithContext creates a new RemoveVMNicByWhereParams object with the ability to set a context for a request.

func NewRemoveVMNicByWhereParamsWithHTTPClient added in v2.12.0

func NewRemoveVMNicByWhereParamsWithHTTPClient(client *http.Client) *RemoveVMNicByWhereParams

NewRemoveVMNicByWhereParamsWithHTTPClient creates a new RemoveVMNicByWhereParams object with the ability to set a custom HTTPClient for a request.

func NewRemoveVMNicByWhereParamsWithTimeout added in v2.12.0

func NewRemoveVMNicByWhereParamsWithTimeout(timeout time.Duration) *RemoveVMNicByWhereParams

NewRemoveVMNicByWhereParamsWithTimeout creates a new RemoveVMNicByWhereParams object with the ability to set a timeout on a request.

func (*RemoveVMNicByWhereParams) SetContentLanguage added in v2.12.0

func (o *RemoveVMNicByWhereParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the remove Vm nic by where params

func (*RemoveVMNicByWhereParams) SetContext added in v2.12.0

func (o *RemoveVMNicByWhereParams) SetContext(ctx context.Context)

SetContext adds the context to the remove Vm nic by where params

func (*RemoveVMNicByWhereParams) SetDefaults added in v2.12.0

func (o *RemoveVMNicByWhereParams) SetDefaults()

SetDefaults hydrates default values in the remove Vm nic by where params (not the query body).

All values with no default are reset to their zero value.

func (*RemoveVMNicByWhereParams) SetHTTPClient added in v2.12.0

func (o *RemoveVMNicByWhereParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the remove Vm nic by where params

func (*RemoveVMNicByWhereParams) SetRequestBody added in v2.12.0

func (o *RemoveVMNicByWhereParams) SetRequestBody(requestBody *models.VMRemoveNicByWhereParams)

SetRequestBody adds the requestBody to the remove Vm nic by where params

func (*RemoveVMNicByWhereParams) SetTimeout added in v2.12.0

func (o *RemoveVMNicByWhereParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the remove Vm nic by where params

func (*RemoveVMNicByWhereParams) WithContentLanguage added in v2.12.0

func (o *RemoveVMNicByWhereParams) WithContentLanguage(contentLanguage *string) *RemoveVMNicByWhereParams

WithContentLanguage adds the contentLanguage to the remove Vm nic by where params

func (*RemoveVMNicByWhereParams) WithContext added in v2.12.0

WithContext adds the context to the remove Vm nic by where params

func (*RemoveVMNicByWhereParams) WithDefaults added in v2.12.0

WithDefaults hydrates default values in the remove Vm nic by where params (not the query body).

All values with no default are reset to their zero value.

func (*RemoveVMNicByWhereParams) WithHTTPClient added in v2.12.0

func (o *RemoveVMNicByWhereParams) WithHTTPClient(client *http.Client) *RemoveVMNicByWhereParams

WithHTTPClient adds the HTTPClient to the remove Vm nic by where params

func (*RemoveVMNicByWhereParams) WithRequestBody added in v2.12.0

WithRequestBody adds the requestBody to the remove Vm nic by where params

func (*RemoveVMNicByWhereParams) WithTimeout added in v2.12.0

WithTimeout adds the timeout to the remove Vm nic by where params

func (*RemoveVMNicByWhereParams) WriteToRequest added in v2.12.0

WriteToRequest writes these params to a swagger request

type RemoveVMNicByWhereReader added in v2.12.0

type RemoveVMNicByWhereReader struct {
	// contains filtered or unexported fields
}

RemoveVMNicByWhereReader is a Reader for the RemoveVMNicByWhere structure.

func (*RemoveVMNicByWhereReader) ReadResponse added in v2.12.0

func (o *RemoveVMNicByWhereReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type RemoveVMNicInternalServerError

type RemoveVMNicInternalServerError struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
RemoveVMNicInternalServerError describes a response with status code 500, with default header values.

Server error

func NewRemoveVMNicInternalServerError

func NewRemoveVMNicInternalServerError() *RemoveVMNicInternalServerError

NewRemoveVMNicInternalServerError creates a RemoveVMNicInternalServerError with default headers values

func (*RemoveVMNicInternalServerError) Error

func (*RemoveVMNicInternalServerError) GetPayload

type RemoveVMNicNotFound

type RemoveVMNicNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
RemoveVMNicNotFound describes a response with status code 404, with default header values.

Not found

func NewRemoveVMNicNotFound

func NewRemoveVMNicNotFound() *RemoveVMNicNotFound

NewRemoveVMNicNotFound creates a RemoveVMNicNotFound with default headers values

func (*RemoveVMNicNotFound) Error

func (o *RemoveVMNicNotFound) Error() string

func (*RemoveVMNicNotFound) GetPayload

func (o *RemoveVMNicNotFound) GetPayload() *models.ErrorBody

type RemoveVMNicOK

type RemoveVMNicOK struct {
	XTowerRequestID string

	Payload []*models.WithTaskVM
}
RemoveVMNicOK describes a response with status code 200, with default header values.

RemoveVMNicOK remove Vm nic o k

func NewRemoveVMNicOK

func NewRemoveVMNicOK() *RemoveVMNicOK

NewRemoveVMNicOK creates a RemoveVMNicOK with default headers values

func (*RemoveVMNicOK) Error

func (o *RemoveVMNicOK) Error() string

func (*RemoveVMNicOK) GetPayload

func (o *RemoveVMNicOK) GetPayload() []*models.WithTaskVM

type RemoveVMNicParams

type RemoveVMNicParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.VMRemoveNicParams

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

RemoveVMNicParams contains all the parameters to send to the API endpoint

for the remove Vm nic operation.

Typically these are written to a http.Request.

func NewRemoveVMNicParams

func NewRemoveVMNicParams() *RemoveVMNicParams

NewRemoveVMNicParams creates a new RemoveVMNicParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewRemoveVMNicParamsWithContext

func NewRemoveVMNicParamsWithContext(ctx context.Context) *RemoveVMNicParams

NewRemoveVMNicParamsWithContext creates a new RemoveVMNicParams object with the ability to set a context for a request.

func NewRemoveVMNicParamsWithHTTPClient

func NewRemoveVMNicParamsWithHTTPClient(client *http.Client) *RemoveVMNicParams

NewRemoveVMNicParamsWithHTTPClient creates a new RemoveVMNicParams object with the ability to set a custom HTTPClient for a request.

func NewRemoveVMNicParamsWithTimeout

func NewRemoveVMNicParamsWithTimeout(timeout time.Duration) *RemoveVMNicParams

NewRemoveVMNicParamsWithTimeout creates a new RemoveVMNicParams object with the ability to set a timeout on a request.

func (*RemoveVMNicParams) SetContentLanguage

func (o *RemoveVMNicParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the remove Vm nic params

func (*RemoveVMNicParams) SetContext

func (o *RemoveVMNicParams) SetContext(ctx context.Context)

SetContext adds the context to the remove Vm nic params

func (*RemoveVMNicParams) SetDefaults

func (o *RemoveVMNicParams) SetDefaults()

SetDefaults hydrates default values in the remove Vm nic params (not the query body).

All values with no default are reset to their zero value.

func (*RemoveVMNicParams) SetHTTPClient

func (o *RemoveVMNicParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the remove Vm nic params

func (*RemoveVMNicParams) SetRequestBody

func (o *RemoveVMNicParams) SetRequestBody(requestBody *models.VMRemoveNicParams)

SetRequestBody adds the requestBody to the remove Vm nic params

func (*RemoveVMNicParams) SetTimeout

func (o *RemoveVMNicParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the remove Vm nic params

func (*RemoveVMNicParams) WithContentLanguage

func (o *RemoveVMNicParams) WithContentLanguage(contentLanguage *string) *RemoveVMNicParams

WithContentLanguage adds the contentLanguage to the remove Vm nic params

func (*RemoveVMNicParams) WithContext

func (o *RemoveVMNicParams) WithContext(ctx context.Context) *RemoveVMNicParams

WithContext adds the context to the remove Vm nic params

func (*RemoveVMNicParams) WithDefaults

func (o *RemoveVMNicParams) WithDefaults() *RemoveVMNicParams

WithDefaults hydrates default values in the remove Vm nic params (not the query body).

All values with no default are reset to their zero value.

func (*RemoveVMNicParams) WithHTTPClient

func (o *RemoveVMNicParams) WithHTTPClient(client *http.Client) *RemoveVMNicParams

WithHTTPClient adds the HTTPClient to the remove Vm nic params

func (*RemoveVMNicParams) WithRequestBody

func (o *RemoveVMNicParams) WithRequestBody(requestBody *models.VMRemoveNicParams) *RemoveVMNicParams

WithRequestBody adds the requestBody to the remove Vm nic params

func (*RemoveVMNicParams) WithTimeout

func (o *RemoveVMNicParams) WithTimeout(timeout time.Duration) *RemoveVMNicParams

WithTimeout adds the timeout to the remove Vm nic params

func (*RemoveVMNicParams) WriteToRequest

func (o *RemoveVMNicParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type RemoveVMNicReader

type RemoveVMNicReader struct {
	// contains filtered or unexported fields
}

RemoveVMNicReader is a Reader for the RemoveVMNic structure.

func (*RemoveVMNicReader) ReadResponse

func (o *RemoveVMNicReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type RemoveVMPciNicBadRequest added in v2.12.0

type RemoveVMPciNicBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
RemoveVMPciNicBadRequest describes a response with status code 400, with default header values.

Bad request

func NewRemoveVMPciNicBadRequest added in v2.12.0

func NewRemoveVMPciNicBadRequest() *RemoveVMPciNicBadRequest

NewRemoveVMPciNicBadRequest creates a RemoveVMPciNicBadRequest with default headers values

func (*RemoveVMPciNicBadRequest) Error added in v2.12.0

func (o *RemoveVMPciNicBadRequest) Error() string

func (*RemoveVMPciNicBadRequest) GetPayload added in v2.12.0

func (o *RemoveVMPciNicBadRequest) GetPayload() *models.ErrorBody

type RemoveVMPciNicInternalServerError added in v2.12.0

type RemoveVMPciNicInternalServerError struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
RemoveVMPciNicInternalServerError describes a response with status code 500, with default header values.

Server error

func NewRemoveVMPciNicInternalServerError added in v2.12.0

func NewRemoveVMPciNicInternalServerError() *RemoveVMPciNicInternalServerError

NewRemoveVMPciNicInternalServerError creates a RemoveVMPciNicInternalServerError with default headers values

func (*RemoveVMPciNicInternalServerError) Error added in v2.12.0

func (*RemoveVMPciNicInternalServerError) GetPayload added in v2.12.0

type RemoveVMPciNicNotFound added in v2.12.0

type RemoveVMPciNicNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
RemoveVMPciNicNotFound describes a response with status code 404, with default header values.

Not found

func NewRemoveVMPciNicNotFound added in v2.12.0

func NewRemoveVMPciNicNotFound() *RemoveVMPciNicNotFound

NewRemoveVMPciNicNotFound creates a RemoveVMPciNicNotFound with default headers values

func (*RemoveVMPciNicNotFound) Error added in v2.12.0

func (o *RemoveVMPciNicNotFound) Error() string

func (*RemoveVMPciNicNotFound) GetPayload added in v2.12.0

func (o *RemoveVMPciNicNotFound) GetPayload() *models.ErrorBody

type RemoveVMPciNicNotModified added in v2.12.0

type RemoveVMPciNicNotModified struct {
}
RemoveVMPciNicNotModified describes a response with status code 304, with default header values.

Not modified

func NewRemoveVMPciNicNotModified added in v2.12.0

func NewRemoveVMPciNicNotModified() *RemoveVMPciNicNotModified

NewRemoveVMPciNicNotModified creates a RemoveVMPciNicNotModified with default headers values

func (*RemoveVMPciNicNotModified) Error added in v2.12.0

func (o *RemoveVMPciNicNotModified) Error() string

type RemoveVMPciNicOK added in v2.12.0

type RemoveVMPciNicOK struct {
	XTowerRequestID string

	Payload []*models.WithTaskVM
}
RemoveVMPciNicOK describes a response with status code 200, with default header values.

RemoveVMPciNicOK remove Vm pci nic o k

func NewRemoveVMPciNicOK added in v2.12.0

func NewRemoveVMPciNicOK() *RemoveVMPciNicOK

NewRemoveVMPciNicOK creates a RemoveVMPciNicOK with default headers values

func (*RemoveVMPciNicOK) Error added in v2.12.0

func (o *RemoveVMPciNicOK) Error() string

func (*RemoveVMPciNicOK) GetPayload added in v2.12.0

func (o *RemoveVMPciNicOK) GetPayload() []*models.WithTaskVM

type RemoveVMPciNicParams added in v2.12.0

type RemoveVMPciNicParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.VMOperatePciNicParams

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

RemoveVMPciNicParams contains all the parameters to send to the API endpoint

for the remove Vm pci nic operation.

Typically these are written to a http.Request.

func NewRemoveVMPciNicParams added in v2.12.0

func NewRemoveVMPciNicParams() *RemoveVMPciNicParams

NewRemoveVMPciNicParams creates a new RemoveVMPciNicParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewRemoveVMPciNicParamsWithContext added in v2.12.0

func NewRemoveVMPciNicParamsWithContext(ctx context.Context) *RemoveVMPciNicParams

NewRemoveVMPciNicParamsWithContext creates a new RemoveVMPciNicParams object with the ability to set a context for a request.

func NewRemoveVMPciNicParamsWithHTTPClient added in v2.12.0

func NewRemoveVMPciNicParamsWithHTTPClient(client *http.Client) *RemoveVMPciNicParams

NewRemoveVMPciNicParamsWithHTTPClient creates a new RemoveVMPciNicParams object with the ability to set a custom HTTPClient for a request.

func NewRemoveVMPciNicParamsWithTimeout added in v2.12.0

func NewRemoveVMPciNicParamsWithTimeout(timeout time.Duration) *RemoveVMPciNicParams

NewRemoveVMPciNicParamsWithTimeout creates a new RemoveVMPciNicParams object with the ability to set a timeout on a request.

func (*RemoveVMPciNicParams) SetContentLanguage added in v2.12.0

func (o *RemoveVMPciNicParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the remove Vm pci nic params

func (*RemoveVMPciNicParams) SetContext added in v2.12.0

func (o *RemoveVMPciNicParams) SetContext(ctx context.Context)

SetContext adds the context to the remove Vm pci nic params

func (*RemoveVMPciNicParams) SetDefaults added in v2.12.0

func (o *RemoveVMPciNicParams) SetDefaults()

SetDefaults hydrates default values in the remove Vm pci nic params (not the query body).

All values with no default are reset to their zero value.

func (*RemoveVMPciNicParams) SetHTTPClient added in v2.12.0

func (o *RemoveVMPciNicParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the remove Vm pci nic params

func (*RemoveVMPciNicParams) SetRequestBody added in v2.12.0

func (o *RemoveVMPciNicParams) SetRequestBody(requestBody *models.VMOperatePciNicParams)

SetRequestBody adds the requestBody to the remove Vm pci nic params

func (*RemoveVMPciNicParams) SetTimeout added in v2.12.0

func (o *RemoveVMPciNicParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the remove Vm pci nic params

func (*RemoveVMPciNicParams) WithContentLanguage added in v2.12.0

func (o *RemoveVMPciNicParams) WithContentLanguage(contentLanguage *string) *RemoveVMPciNicParams

WithContentLanguage adds the contentLanguage to the remove Vm pci nic params

func (*RemoveVMPciNicParams) WithContext added in v2.12.0

WithContext adds the context to the remove Vm pci nic params

func (*RemoveVMPciNicParams) WithDefaults added in v2.12.0

func (o *RemoveVMPciNicParams) WithDefaults() *RemoveVMPciNicParams

WithDefaults hydrates default values in the remove Vm pci nic params (not the query body).

All values with no default are reset to their zero value.

func (*RemoveVMPciNicParams) WithHTTPClient added in v2.12.0

func (o *RemoveVMPciNicParams) WithHTTPClient(client *http.Client) *RemoveVMPciNicParams

WithHTTPClient adds the HTTPClient to the remove Vm pci nic params

func (*RemoveVMPciNicParams) WithRequestBody added in v2.12.0

func (o *RemoveVMPciNicParams) WithRequestBody(requestBody *models.VMOperatePciNicParams) *RemoveVMPciNicParams

WithRequestBody adds the requestBody to the remove Vm pci nic params

func (*RemoveVMPciNicParams) WithTimeout added in v2.12.0

func (o *RemoveVMPciNicParams) WithTimeout(timeout time.Duration) *RemoveVMPciNicParams

WithTimeout adds the timeout to the remove Vm pci nic params

func (*RemoveVMPciNicParams) WriteToRequest added in v2.12.0

func (o *RemoveVMPciNicParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type RemoveVMPciNicReader added in v2.12.0

type RemoveVMPciNicReader struct {
	// contains filtered or unexported fields
}

RemoveVMPciNicReader is a Reader for the RemoveVMPciNic structure.

func (*RemoveVMPciNicReader) ReadResponse added in v2.12.0

func (o *RemoveVMPciNicReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type RemoveVMToFolderBadRequest

type RemoveVMToFolderBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
RemoveVMToFolderBadRequest describes a response with status code 400, with default header values.

Bad request

func NewRemoveVMToFolderBadRequest

func NewRemoveVMToFolderBadRequest() *RemoveVMToFolderBadRequest

NewRemoveVMToFolderBadRequest creates a RemoveVMToFolderBadRequest with default headers values

func (*RemoveVMToFolderBadRequest) Error

func (*RemoveVMToFolderBadRequest) GetPayload

func (o *RemoveVMToFolderBadRequest) GetPayload() *models.ErrorBody

type RemoveVMToFolderInternalServerError

type RemoveVMToFolderInternalServerError struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
RemoveVMToFolderInternalServerError describes a response with status code 500, with default header values.

Server error

func NewRemoveVMToFolderInternalServerError

func NewRemoveVMToFolderInternalServerError() *RemoveVMToFolderInternalServerError

NewRemoveVMToFolderInternalServerError creates a RemoveVMToFolderInternalServerError with default headers values

func (*RemoveVMToFolderInternalServerError) Error

func (*RemoveVMToFolderInternalServerError) GetPayload

type RemoveVMToFolderNotFound

type RemoveVMToFolderNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
RemoveVMToFolderNotFound describes a response with status code 404, with default header values.

Not found

func NewRemoveVMToFolderNotFound

func NewRemoveVMToFolderNotFound() *RemoveVMToFolderNotFound

NewRemoveVMToFolderNotFound creates a RemoveVMToFolderNotFound with default headers values

func (*RemoveVMToFolderNotFound) Error

func (o *RemoveVMToFolderNotFound) Error() string

func (*RemoveVMToFolderNotFound) GetPayload

func (o *RemoveVMToFolderNotFound) GetPayload() *models.ErrorBody

type RemoveVMToFolderOK

type RemoveVMToFolderOK struct {
	XTowerRequestID string

	Payload []*models.WithTaskVM
}
RemoveVMToFolderOK describes a response with status code 200, with default header values.

RemoveVMToFolderOK remove Vm to folder o k

func NewRemoveVMToFolderOK

func NewRemoveVMToFolderOK() *RemoveVMToFolderOK

NewRemoveVMToFolderOK creates a RemoveVMToFolderOK with default headers values

func (*RemoveVMToFolderOK) Error

func (o *RemoveVMToFolderOK) Error() string

func (*RemoveVMToFolderOK) GetPayload

func (o *RemoveVMToFolderOK) GetPayload() []*models.WithTaskVM

type RemoveVMToFolderParams

type RemoveVMToFolderParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.VMOperateParams

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

RemoveVMToFolderParams contains all the parameters to send to the API endpoint

for the remove Vm to folder operation.

Typically these are written to a http.Request.

func NewRemoveVMToFolderParams

func NewRemoveVMToFolderParams() *RemoveVMToFolderParams

NewRemoveVMToFolderParams creates a new RemoveVMToFolderParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewRemoveVMToFolderParamsWithContext

func NewRemoveVMToFolderParamsWithContext(ctx context.Context) *RemoveVMToFolderParams

NewRemoveVMToFolderParamsWithContext creates a new RemoveVMToFolderParams object with the ability to set a context for a request.

func NewRemoveVMToFolderParamsWithHTTPClient

func NewRemoveVMToFolderParamsWithHTTPClient(client *http.Client) *RemoveVMToFolderParams

NewRemoveVMToFolderParamsWithHTTPClient creates a new RemoveVMToFolderParams object with the ability to set a custom HTTPClient for a request.

func NewRemoveVMToFolderParamsWithTimeout

func NewRemoveVMToFolderParamsWithTimeout(timeout time.Duration) *RemoveVMToFolderParams

NewRemoveVMToFolderParamsWithTimeout creates a new RemoveVMToFolderParams object with the ability to set a timeout on a request.

func (*RemoveVMToFolderParams) SetContentLanguage

func (o *RemoveVMToFolderParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the remove Vm to folder params

func (*RemoveVMToFolderParams) SetContext

func (o *RemoveVMToFolderParams) SetContext(ctx context.Context)

SetContext adds the context to the remove Vm to folder params

func (*RemoveVMToFolderParams) SetDefaults

func (o *RemoveVMToFolderParams) SetDefaults()

SetDefaults hydrates default values in the remove Vm to folder params (not the query body).

All values with no default are reset to their zero value.

func (*RemoveVMToFolderParams) SetHTTPClient

func (o *RemoveVMToFolderParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the remove Vm to folder params

func (*RemoveVMToFolderParams) SetRequestBody

func (o *RemoveVMToFolderParams) SetRequestBody(requestBody *models.VMOperateParams)

SetRequestBody adds the requestBody to the remove Vm to folder params

func (*RemoveVMToFolderParams) SetTimeout

func (o *RemoveVMToFolderParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the remove Vm to folder params

func (*RemoveVMToFolderParams) WithContentLanguage

func (o *RemoveVMToFolderParams) WithContentLanguage(contentLanguage *string) *RemoveVMToFolderParams

WithContentLanguage adds the contentLanguage to the remove Vm to folder params

func (*RemoveVMToFolderParams) WithContext

WithContext adds the context to the remove Vm to folder params

func (*RemoveVMToFolderParams) WithDefaults

WithDefaults hydrates default values in the remove Vm to folder params (not the query body).

All values with no default are reset to their zero value.

func (*RemoveVMToFolderParams) WithHTTPClient

func (o *RemoveVMToFolderParams) WithHTTPClient(client *http.Client) *RemoveVMToFolderParams

WithHTTPClient adds the HTTPClient to the remove Vm to folder params

func (*RemoveVMToFolderParams) WithRequestBody

func (o *RemoveVMToFolderParams) WithRequestBody(requestBody *models.VMOperateParams) *RemoveVMToFolderParams

WithRequestBody adds the requestBody to the remove Vm to folder params

func (*RemoveVMToFolderParams) WithTimeout

WithTimeout adds the timeout to the remove Vm to folder params

func (*RemoveVMToFolderParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type RemoveVMToFolderReader

type RemoveVMToFolderReader struct {
	// contains filtered or unexported fields
}

RemoveVMToFolderReader is a Reader for the RemoveVMToFolder structure.

func (*RemoveVMToFolderReader) ReadResponse

func (o *RemoveVMToFolderReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ResetVMGuestOsPasswordBadRequest added in v2.1.0

type ResetVMGuestOsPasswordBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
ResetVMGuestOsPasswordBadRequest describes a response with status code 400, with default header values.

Bad request

func NewResetVMGuestOsPasswordBadRequest added in v2.1.0

func NewResetVMGuestOsPasswordBadRequest() *ResetVMGuestOsPasswordBadRequest

NewResetVMGuestOsPasswordBadRequest creates a ResetVMGuestOsPasswordBadRequest with default headers values

func (*ResetVMGuestOsPasswordBadRequest) Error added in v2.1.0

func (*ResetVMGuestOsPasswordBadRequest) GetPayload added in v2.1.0

type ResetVMGuestOsPasswordInternalServerError added in v2.1.0

type ResetVMGuestOsPasswordInternalServerError struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
ResetVMGuestOsPasswordInternalServerError describes a response with status code 500, with default header values.

Server error

func NewResetVMGuestOsPasswordInternalServerError added in v2.1.0

func NewResetVMGuestOsPasswordInternalServerError() *ResetVMGuestOsPasswordInternalServerError

NewResetVMGuestOsPasswordInternalServerError creates a ResetVMGuestOsPasswordInternalServerError with default headers values

func (*ResetVMGuestOsPasswordInternalServerError) Error added in v2.1.0

func (*ResetVMGuestOsPasswordInternalServerError) GetPayload added in v2.1.0

type ResetVMGuestOsPasswordNotFound added in v2.1.0

type ResetVMGuestOsPasswordNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
ResetVMGuestOsPasswordNotFound describes a response with status code 404, with default header values.

Not found

func NewResetVMGuestOsPasswordNotFound added in v2.1.0

func NewResetVMGuestOsPasswordNotFound() *ResetVMGuestOsPasswordNotFound

NewResetVMGuestOsPasswordNotFound creates a ResetVMGuestOsPasswordNotFound with default headers values

func (*ResetVMGuestOsPasswordNotFound) Error added in v2.1.0

func (*ResetVMGuestOsPasswordNotFound) GetPayload added in v2.1.0

type ResetVMGuestOsPasswordNotModified added in v2.1.0

type ResetVMGuestOsPasswordNotModified struct {
}
ResetVMGuestOsPasswordNotModified describes a response with status code 304, with default header values.

Not modified

func NewResetVMGuestOsPasswordNotModified added in v2.1.0

func NewResetVMGuestOsPasswordNotModified() *ResetVMGuestOsPasswordNotModified

NewResetVMGuestOsPasswordNotModified creates a ResetVMGuestOsPasswordNotModified with default headers values

func (*ResetVMGuestOsPasswordNotModified) Error added in v2.1.0

type ResetVMGuestOsPasswordOK added in v2.1.0

type ResetVMGuestOsPasswordOK struct {
	XTowerRequestID string

	Payload []*models.WithTaskVM
}
ResetVMGuestOsPasswordOK describes a response with status code 200, with default header values.

ResetVMGuestOsPasswordOK reset Vm guest os password o k

func NewResetVMGuestOsPasswordOK added in v2.1.0

func NewResetVMGuestOsPasswordOK() *ResetVMGuestOsPasswordOK

NewResetVMGuestOsPasswordOK creates a ResetVMGuestOsPasswordOK with default headers values

func (*ResetVMGuestOsPasswordOK) Error added in v2.1.0

func (o *ResetVMGuestOsPasswordOK) Error() string

func (*ResetVMGuestOsPasswordOK) GetPayload added in v2.1.0

func (o *ResetVMGuestOsPasswordOK) GetPayload() []*models.WithTaskVM

type ResetVMGuestOsPasswordParams added in v2.1.0

type ResetVMGuestOsPasswordParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.VMResetGuestOsPasswordParams

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ResetVMGuestOsPasswordParams contains all the parameters to send to the API endpoint

for the reset Vm guest os password operation.

Typically these are written to a http.Request.

func NewResetVMGuestOsPasswordParams added in v2.1.0

func NewResetVMGuestOsPasswordParams() *ResetVMGuestOsPasswordParams

NewResetVMGuestOsPasswordParams creates a new ResetVMGuestOsPasswordParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewResetVMGuestOsPasswordParamsWithContext added in v2.1.0

func NewResetVMGuestOsPasswordParamsWithContext(ctx context.Context) *ResetVMGuestOsPasswordParams

NewResetVMGuestOsPasswordParamsWithContext creates a new ResetVMGuestOsPasswordParams object with the ability to set a context for a request.

func NewResetVMGuestOsPasswordParamsWithHTTPClient added in v2.1.0

func NewResetVMGuestOsPasswordParamsWithHTTPClient(client *http.Client) *ResetVMGuestOsPasswordParams

NewResetVMGuestOsPasswordParamsWithHTTPClient creates a new ResetVMGuestOsPasswordParams object with the ability to set a custom HTTPClient for a request.

func NewResetVMGuestOsPasswordParamsWithTimeout added in v2.1.0

func NewResetVMGuestOsPasswordParamsWithTimeout(timeout time.Duration) *ResetVMGuestOsPasswordParams

NewResetVMGuestOsPasswordParamsWithTimeout creates a new ResetVMGuestOsPasswordParams object with the ability to set a timeout on a request.

func (*ResetVMGuestOsPasswordParams) SetContentLanguage added in v2.1.0

func (o *ResetVMGuestOsPasswordParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the reset Vm guest os password params

func (*ResetVMGuestOsPasswordParams) SetContext added in v2.1.0

func (o *ResetVMGuestOsPasswordParams) SetContext(ctx context.Context)

SetContext adds the context to the reset Vm guest os password params

func (*ResetVMGuestOsPasswordParams) SetDefaults added in v2.1.0

func (o *ResetVMGuestOsPasswordParams) SetDefaults()

SetDefaults hydrates default values in the reset Vm guest os password params (not the query body).

All values with no default are reset to their zero value.

func (*ResetVMGuestOsPasswordParams) SetHTTPClient added in v2.1.0

func (o *ResetVMGuestOsPasswordParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the reset Vm guest os password params

func (*ResetVMGuestOsPasswordParams) SetRequestBody added in v2.1.0

func (o *ResetVMGuestOsPasswordParams) SetRequestBody(requestBody *models.VMResetGuestOsPasswordParams)

SetRequestBody adds the requestBody to the reset Vm guest os password params

func (*ResetVMGuestOsPasswordParams) SetTimeout added in v2.1.0

func (o *ResetVMGuestOsPasswordParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the reset Vm guest os password params

func (*ResetVMGuestOsPasswordParams) WithContentLanguage added in v2.1.0

func (o *ResetVMGuestOsPasswordParams) WithContentLanguage(contentLanguage *string) *ResetVMGuestOsPasswordParams

WithContentLanguage adds the contentLanguage to the reset Vm guest os password params

func (*ResetVMGuestOsPasswordParams) WithContext added in v2.1.0

WithContext adds the context to the reset Vm guest os password params

func (*ResetVMGuestOsPasswordParams) WithDefaults added in v2.1.0

WithDefaults hydrates default values in the reset Vm guest os password params (not the query body).

All values with no default are reset to their zero value.

func (*ResetVMGuestOsPasswordParams) WithHTTPClient added in v2.1.0

WithHTTPClient adds the HTTPClient to the reset Vm guest os password params

func (*ResetVMGuestOsPasswordParams) WithRequestBody added in v2.1.0

WithRequestBody adds the requestBody to the reset Vm guest os password params

func (*ResetVMGuestOsPasswordParams) WithTimeout added in v2.1.0

WithTimeout adds the timeout to the reset Vm guest os password params

func (*ResetVMGuestOsPasswordParams) WriteToRequest added in v2.1.0

WriteToRequest writes these params to a swagger request

type ResetVMGuestOsPasswordReader added in v2.1.0

type ResetVMGuestOsPasswordReader struct {
	// contains filtered or unexported fields
}

ResetVMGuestOsPasswordReader is a Reader for the ResetVMGuestOsPassword structure.

func (*ResetVMGuestOsPasswordReader) ReadResponse added in v2.1.0

func (o *ResetVMGuestOsPasswordReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type RestartVMBadRequest

type RestartVMBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
RestartVMBadRequest describes a response with status code 400, with default header values.

Bad request

func NewRestartVMBadRequest

func NewRestartVMBadRequest() *RestartVMBadRequest

NewRestartVMBadRequest creates a RestartVMBadRequest with default headers values

func (*RestartVMBadRequest) Error

func (o *RestartVMBadRequest) Error() string

func (*RestartVMBadRequest) GetPayload

func (o *RestartVMBadRequest) GetPayload() *models.ErrorBody

type RestartVMInternalServerError

type RestartVMInternalServerError struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
RestartVMInternalServerError describes a response with status code 500, with default header values.

Server error

func NewRestartVMInternalServerError

func NewRestartVMInternalServerError() *RestartVMInternalServerError

NewRestartVMInternalServerError creates a RestartVMInternalServerError with default headers values

func (*RestartVMInternalServerError) Error

func (*RestartVMInternalServerError) GetPayload

type RestartVMNotFound

type RestartVMNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
RestartVMNotFound describes a response with status code 404, with default header values.

Not found

func NewRestartVMNotFound

func NewRestartVMNotFound() *RestartVMNotFound

NewRestartVMNotFound creates a RestartVMNotFound with default headers values

func (*RestartVMNotFound) Error

func (o *RestartVMNotFound) Error() string

func (*RestartVMNotFound) GetPayload

func (o *RestartVMNotFound) GetPayload() *models.ErrorBody

type RestartVMOK

type RestartVMOK struct {
	XTowerRequestID string

	Payload []*models.WithTaskVM
}
RestartVMOK describes a response with status code 200, with default header values.

RestartVMOK restart Vm o k

func NewRestartVMOK

func NewRestartVMOK() *RestartVMOK

NewRestartVMOK creates a RestartVMOK with default headers values

func (*RestartVMOK) Error

func (o *RestartVMOK) Error() string

func (*RestartVMOK) GetPayload

func (o *RestartVMOK) GetPayload() []*models.WithTaskVM

type RestartVMParams

type RestartVMParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.VMOperateParams

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

RestartVMParams contains all the parameters to send to the API endpoint

for the restart Vm operation.

Typically these are written to a http.Request.

func NewRestartVMParams

func NewRestartVMParams() *RestartVMParams

NewRestartVMParams creates a new RestartVMParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewRestartVMParamsWithContext

func NewRestartVMParamsWithContext(ctx context.Context) *RestartVMParams

NewRestartVMParamsWithContext creates a new RestartVMParams object with the ability to set a context for a request.

func NewRestartVMParamsWithHTTPClient

func NewRestartVMParamsWithHTTPClient(client *http.Client) *RestartVMParams

NewRestartVMParamsWithHTTPClient creates a new RestartVMParams object with the ability to set a custom HTTPClient for a request.

func NewRestartVMParamsWithTimeout

func NewRestartVMParamsWithTimeout(timeout time.Duration) *RestartVMParams

NewRestartVMParamsWithTimeout creates a new RestartVMParams object with the ability to set a timeout on a request.

func (*RestartVMParams) SetContentLanguage

func (o *RestartVMParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the restart Vm params

func (*RestartVMParams) SetContext

func (o *RestartVMParams) SetContext(ctx context.Context)

SetContext adds the context to the restart Vm params

func (*RestartVMParams) SetDefaults

func (o *RestartVMParams) SetDefaults()

SetDefaults hydrates default values in the restart Vm params (not the query body).

All values with no default are reset to their zero value.

func (*RestartVMParams) SetHTTPClient

func (o *RestartVMParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the restart Vm params

func (*RestartVMParams) SetRequestBody

func (o *RestartVMParams) SetRequestBody(requestBody *models.VMOperateParams)

SetRequestBody adds the requestBody to the restart Vm params

func (*RestartVMParams) SetTimeout

func (o *RestartVMParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the restart Vm params

func (*RestartVMParams) WithContentLanguage

func (o *RestartVMParams) WithContentLanguage(contentLanguage *string) *RestartVMParams

WithContentLanguage adds the contentLanguage to the restart Vm params

func (*RestartVMParams) WithContext

func (o *RestartVMParams) WithContext(ctx context.Context) *RestartVMParams

WithContext adds the context to the restart Vm params

func (*RestartVMParams) WithDefaults

func (o *RestartVMParams) WithDefaults() *RestartVMParams

WithDefaults hydrates default values in the restart Vm params (not the query body).

All values with no default are reset to their zero value.

func (*RestartVMParams) WithHTTPClient

func (o *RestartVMParams) WithHTTPClient(client *http.Client) *RestartVMParams

WithHTTPClient adds the HTTPClient to the restart Vm params

func (*RestartVMParams) WithRequestBody

func (o *RestartVMParams) WithRequestBody(requestBody *models.VMOperateParams) *RestartVMParams

WithRequestBody adds the requestBody to the restart Vm params

func (*RestartVMParams) WithTimeout

func (o *RestartVMParams) WithTimeout(timeout time.Duration) *RestartVMParams

WithTimeout adds the timeout to the restart Vm params

func (*RestartVMParams) WriteToRequest

func (o *RestartVMParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type RestartVMReader

type RestartVMReader struct {
	// contains filtered or unexported fields
}

RestartVMReader is a Reader for the RestartVM structure.

func (*RestartVMReader) ReadResponse

func (o *RestartVMReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ResumeVMBadRequest

type ResumeVMBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
ResumeVMBadRequest describes a response with status code 400, with default header values.

Bad request

func NewResumeVMBadRequest

func NewResumeVMBadRequest() *ResumeVMBadRequest

NewResumeVMBadRequest creates a ResumeVMBadRequest with default headers values

func (*ResumeVMBadRequest) Error

func (o *ResumeVMBadRequest) Error() string

func (*ResumeVMBadRequest) GetPayload

func (o *ResumeVMBadRequest) GetPayload() *models.ErrorBody

type ResumeVMInternalServerError

type ResumeVMInternalServerError struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
ResumeVMInternalServerError describes a response with status code 500, with default header values.

Server error

func NewResumeVMInternalServerError

func NewResumeVMInternalServerError() *ResumeVMInternalServerError

NewResumeVMInternalServerError creates a ResumeVMInternalServerError with default headers values

func (*ResumeVMInternalServerError) Error

func (*ResumeVMInternalServerError) GetPayload

func (o *ResumeVMInternalServerError) GetPayload() *models.ErrorBody

type ResumeVMNotFound

type ResumeVMNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
ResumeVMNotFound describes a response with status code 404, with default header values.

Not found

func NewResumeVMNotFound

func NewResumeVMNotFound() *ResumeVMNotFound

NewResumeVMNotFound creates a ResumeVMNotFound with default headers values

func (*ResumeVMNotFound) Error

func (o *ResumeVMNotFound) Error() string

func (*ResumeVMNotFound) GetPayload

func (o *ResumeVMNotFound) GetPayload() *models.ErrorBody

type ResumeVMOK

type ResumeVMOK struct {
	XTowerRequestID string

	Payload []*models.WithTaskVM
}
ResumeVMOK describes a response with status code 200, with default header values.

ResumeVMOK resume Vm o k

func NewResumeVMOK

func NewResumeVMOK() *ResumeVMOK

NewResumeVMOK creates a ResumeVMOK with default headers values

func (*ResumeVMOK) Error

func (o *ResumeVMOK) Error() string

func (*ResumeVMOK) GetPayload

func (o *ResumeVMOK) GetPayload() []*models.WithTaskVM

type ResumeVMParams

type ResumeVMParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.VMOperateParams

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ResumeVMParams contains all the parameters to send to the API endpoint

for the resume Vm operation.

Typically these are written to a http.Request.

func NewResumeVMParams

func NewResumeVMParams() *ResumeVMParams

NewResumeVMParams creates a new ResumeVMParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewResumeVMParamsWithContext

func NewResumeVMParamsWithContext(ctx context.Context) *ResumeVMParams

NewResumeVMParamsWithContext creates a new ResumeVMParams object with the ability to set a context for a request.

func NewResumeVMParamsWithHTTPClient

func NewResumeVMParamsWithHTTPClient(client *http.Client) *ResumeVMParams

NewResumeVMParamsWithHTTPClient creates a new ResumeVMParams object with the ability to set a custom HTTPClient for a request.

func NewResumeVMParamsWithTimeout

func NewResumeVMParamsWithTimeout(timeout time.Duration) *ResumeVMParams

NewResumeVMParamsWithTimeout creates a new ResumeVMParams object with the ability to set a timeout on a request.

func (*ResumeVMParams) SetContentLanguage

func (o *ResumeVMParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the resume Vm params

func (*ResumeVMParams) SetContext

func (o *ResumeVMParams) SetContext(ctx context.Context)

SetContext adds the context to the resume Vm params

func (*ResumeVMParams) SetDefaults

func (o *ResumeVMParams) SetDefaults()

SetDefaults hydrates default values in the resume Vm params (not the query body).

All values with no default are reset to their zero value.

func (*ResumeVMParams) SetHTTPClient

func (o *ResumeVMParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the resume Vm params

func (*ResumeVMParams) SetRequestBody

func (o *ResumeVMParams) SetRequestBody(requestBody *models.VMOperateParams)

SetRequestBody adds the requestBody to the resume Vm params

func (*ResumeVMParams) SetTimeout

func (o *ResumeVMParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the resume Vm params

func (*ResumeVMParams) WithContentLanguage

func (o *ResumeVMParams) WithContentLanguage(contentLanguage *string) *ResumeVMParams

WithContentLanguage adds the contentLanguage to the resume Vm params

func (*ResumeVMParams) WithContext

func (o *ResumeVMParams) WithContext(ctx context.Context) *ResumeVMParams

WithContext adds the context to the resume Vm params

func (*ResumeVMParams) WithDefaults

func (o *ResumeVMParams) WithDefaults() *ResumeVMParams

WithDefaults hydrates default values in the resume Vm params (not the query body).

All values with no default are reset to their zero value.

func (*ResumeVMParams) WithHTTPClient

func (o *ResumeVMParams) WithHTTPClient(client *http.Client) *ResumeVMParams

WithHTTPClient adds the HTTPClient to the resume Vm params

func (*ResumeVMParams) WithRequestBody

func (o *ResumeVMParams) WithRequestBody(requestBody *models.VMOperateParams) *ResumeVMParams

WithRequestBody adds the requestBody to the resume Vm params

func (*ResumeVMParams) WithTimeout

func (o *ResumeVMParams) WithTimeout(timeout time.Duration) *ResumeVMParams

WithTimeout adds the timeout to the resume Vm params

func (*ResumeVMParams) WriteToRequest

func (o *ResumeVMParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ResumeVMReader

type ResumeVMReader struct {
	// contains filtered or unexported fields
}

ResumeVMReader is a Reader for the ResumeVM structure.

func (*ResumeVMReader) ReadResponse

func (o *ResumeVMReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type RollbackVMBadRequest

type RollbackVMBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
RollbackVMBadRequest describes a response with status code 400, with default header values.

Bad request

func NewRollbackVMBadRequest

func NewRollbackVMBadRequest() *RollbackVMBadRequest

NewRollbackVMBadRequest creates a RollbackVMBadRequest with default headers values

func (*RollbackVMBadRequest) Error

func (o *RollbackVMBadRequest) Error() string

func (*RollbackVMBadRequest) GetPayload

func (o *RollbackVMBadRequest) GetPayload() *models.ErrorBody

type RollbackVMInternalServerError

type RollbackVMInternalServerError struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
RollbackVMInternalServerError describes a response with status code 500, with default header values.

Server error

func NewRollbackVMInternalServerError

func NewRollbackVMInternalServerError() *RollbackVMInternalServerError

NewRollbackVMInternalServerError creates a RollbackVMInternalServerError with default headers values

func (*RollbackVMInternalServerError) Error

func (*RollbackVMInternalServerError) GetPayload

type RollbackVMNotFound

type RollbackVMNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
RollbackVMNotFound describes a response with status code 404, with default header values.

Not found

func NewRollbackVMNotFound

func NewRollbackVMNotFound() *RollbackVMNotFound

NewRollbackVMNotFound creates a RollbackVMNotFound with default headers values

func (*RollbackVMNotFound) Error

func (o *RollbackVMNotFound) Error() string

func (*RollbackVMNotFound) GetPayload

func (o *RollbackVMNotFound) GetPayload() *models.ErrorBody

type RollbackVMOK

type RollbackVMOK struct {
	XTowerRequestID string

	Payload []*models.WithTaskVM
}
RollbackVMOK describes a response with status code 200, with default header values.

RollbackVMOK rollback Vm o k

func NewRollbackVMOK

func NewRollbackVMOK() *RollbackVMOK

NewRollbackVMOK creates a RollbackVMOK with default headers values

func (*RollbackVMOK) Error

func (o *RollbackVMOK) Error() string

func (*RollbackVMOK) GetPayload

func (o *RollbackVMOK) GetPayload() []*models.WithTaskVM

type RollbackVMParams

type RollbackVMParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.VMRollbackParams

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

RollbackVMParams contains all the parameters to send to the API endpoint

for the rollback Vm operation.

Typically these are written to a http.Request.

func NewRollbackVMParams

func NewRollbackVMParams() *RollbackVMParams

NewRollbackVMParams creates a new RollbackVMParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewRollbackVMParamsWithContext

func NewRollbackVMParamsWithContext(ctx context.Context) *RollbackVMParams

NewRollbackVMParamsWithContext creates a new RollbackVMParams object with the ability to set a context for a request.

func NewRollbackVMParamsWithHTTPClient

func NewRollbackVMParamsWithHTTPClient(client *http.Client) *RollbackVMParams

NewRollbackVMParamsWithHTTPClient creates a new RollbackVMParams object with the ability to set a custom HTTPClient for a request.

func NewRollbackVMParamsWithTimeout

func NewRollbackVMParamsWithTimeout(timeout time.Duration) *RollbackVMParams

NewRollbackVMParamsWithTimeout creates a new RollbackVMParams object with the ability to set a timeout on a request.

func (*RollbackVMParams) SetContentLanguage

func (o *RollbackVMParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the rollback Vm params

func (*RollbackVMParams) SetContext

func (o *RollbackVMParams) SetContext(ctx context.Context)

SetContext adds the context to the rollback Vm params

func (*RollbackVMParams) SetDefaults

func (o *RollbackVMParams) SetDefaults()

SetDefaults hydrates default values in the rollback Vm params (not the query body).

All values with no default are reset to their zero value.

func (*RollbackVMParams) SetHTTPClient

func (o *RollbackVMParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the rollback Vm params

func (*RollbackVMParams) SetRequestBody

func (o *RollbackVMParams) SetRequestBody(requestBody *models.VMRollbackParams)

SetRequestBody adds the requestBody to the rollback Vm params

func (*RollbackVMParams) SetTimeout

func (o *RollbackVMParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the rollback Vm params

func (*RollbackVMParams) WithContentLanguage

func (o *RollbackVMParams) WithContentLanguage(contentLanguage *string) *RollbackVMParams

WithContentLanguage adds the contentLanguage to the rollback Vm params

func (*RollbackVMParams) WithContext

func (o *RollbackVMParams) WithContext(ctx context.Context) *RollbackVMParams

WithContext adds the context to the rollback Vm params

func (*RollbackVMParams) WithDefaults

func (o *RollbackVMParams) WithDefaults() *RollbackVMParams

WithDefaults hydrates default values in the rollback Vm params (not the query body).

All values with no default are reset to their zero value.

func (*RollbackVMParams) WithHTTPClient

func (o *RollbackVMParams) WithHTTPClient(client *http.Client) *RollbackVMParams

WithHTTPClient adds the HTTPClient to the rollback Vm params

func (*RollbackVMParams) WithRequestBody

func (o *RollbackVMParams) WithRequestBody(requestBody *models.VMRollbackParams) *RollbackVMParams

WithRequestBody adds the requestBody to the rollback Vm params

func (*RollbackVMParams) WithTimeout

func (o *RollbackVMParams) WithTimeout(timeout time.Duration) *RollbackVMParams

WithTimeout adds the timeout to the rollback Vm params

func (*RollbackVMParams) WriteToRequest

func (o *RollbackVMParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type RollbackVMReader

type RollbackVMReader struct {
	// contains filtered or unexported fields
}

RollbackVMReader is a Reader for the RollbackVM structure.

func (*RollbackVMReader) ReadResponse

func (o *RollbackVMReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ShutDownVMBadRequest

type ShutDownVMBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
ShutDownVMBadRequest describes a response with status code 400, with default header values.

Bad request

func NewShutDownVMBadRequest

func NewShutDownVMBadRequest() *ShutDownVMBadRequest

NewShutDownVMBadRequest creates a ShutDownVMBadRequest with default headers values

func (*ShutDownVMBadRequest) Error

func (o *ShutDownVMBadRequest) Error() string

func (*ShutDownVMBadRequest) GetPayload

func (o *ShutDownVMBadRequest) GetPayload() *models.ErrorBody

type ShutDownVMInternalServerError

type ShutDownVMInternalServerError struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
ShutDownVMInternalServerError describes a response with status code 500, with default header values.

Server error

func NewShutDownVMInternalServerError

func NewShutDownVMInternalServerError() *ShutDownVMInternalServerError

NewShutDownVMInternalServerError creates a ShutDownVMInternalServerError with default headers values

func (*ShutDownVMInternalServerError) Error

func (*ShutDownVMInternalServerError) GetPayload

type ShutDownVMNotFound

type ShutDownVMNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
ShutDownVMNotFound describes a response with status code 404, with default header values.

Not found

func NewShutDownVMNotFound

func NewShutDownVMNotFound() *ShutDownVMNotFound

NewShutDownVMNotFound creates a ShutDownVMNotFound with default headers values

func (*ShutDownVMNotFound) Error

func (o *ShutDownVMNotFound) Error() string

func (*ShutDownVMNotFound) GetPayload

func (o *ShutDownVMNotFound) GetPayload() *models.ErrorBody

type ShutDownVMOK

type ShutDownVMOK struct {
	XTowerRequestID string

	Payload []*models.WithTaskVM
}
ShutDownVMOK describes a response with status code 200, with default header values.

ShutDownVMOK shut down Vm o k

func NewShutDownVMOK

func NewShutDownVMOK() *ShutDownVMOK

NewShutDownVMOK creates a ShutDownVMOK with default headers values

func (*ShutDownVMOK) Error

func (o *ShutDownVMOK) Error() string

func (*ShutDownVMOK) GetPayload

func (o *ShutDownVMOK) GetPayload() []*models.WithTaskVM

type ShutDownVMParams

type ShutDownVMParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.VMOperateParams

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ShutDownVMParams contains all the parameters to send to the API endpoint

for the shut down Vm operation.

Typically these are written to a http.Request.

func NewShutDownVMParams

func NewShutDownVMParams() *ShutDownVMParams

NewShutDownVMParams creates a new ShutDownVMParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewShutDownVMParamsWithContext

func NewShutDownVMParamsWithContext(ctx context.Context) *ShutDownVMParams

NewShutDownVMParamsWithContext creates a new ShutDownVMParams object with the ability to set a context for a request.

func NewShutDownVMParamsWithHTTPClient

func NewShutDownVMParamsWithHTTPClient(client *http.Client) *ShutDownVMParams

NewShutDownVMParamsWithHTTPClient creates a new ShutDownVMParams object with the ability to set a custom HTTPClient for a request.

func NewShutDownVMParamsWithTimeout

func NewShutDownVMParamsWithTimeout(timeout time.Duration) *ShutDownVMParams

NewShutDownVMParamsWithTimeout creates a new ShutDownVMParams object with the ability to set a timeout on a request.

func (*ShutDownVMParams) SetContentLanguage

func (o *ShutDownVMParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the shut down Vm params

func (*ShutDownVMParams) SetContext

func (o *ShutDownVMParams) SetContext(ctx context.Context)

SetContext adds the context to the shut down Vm params

func (*ShutDownVMParams) SetDefaults

func (o *ShutDownVMParams) SetDefaults()

SetDefaults hydrates default values in the shut down Vm params (not the query body).

All values with no default are reset to their zero value.

func (*ShutDownVMParams) SetHTTPClient

func (o *ShutDownVMParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the shut down Vm params

func (*ShutDownVMParams) SetRequestBody

func (o *ShutDownVMParams) SetRequestBody(requestBody *models.VMOperateParams)

SetRequestBody adds the requestBody to the shut down Vm params

func (*ShutDownVMParams) SetTimeout

func (o *ShutDownVMParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the shut down Vm params

func (*ShutDownVMParams) WithContentLanguage

func (o *ShutDownVMParams) WithContentLanguage(contentLanguage *string) *ShutDownVMParams

WithContentLanguage adds the contentLanguage to the shut down Vm params

func (*ShutDownVMParams) WithContext

func (o *ShutDownVMParams) WithContext(ctx context.Context) *ShutDownVMParams

WithContext adds the context to the shut down Vm params

func (*ShutDownVMParams) WithDefaults

func (o *ShutDownVMParams) WithDefaults() *ShutDownVMParams

WithDefaults hydrates default values in the shut down Vm params (not the query body).

All values with no default are reset to their zero value.

func (*ShutDownVMParams) WithHTTPClient

func (o *ShutDownVMParams) WithHTTPClient(client *http.Client) *ShutDownVMParams

WithHTTPClient adds the HTTPClient to the shut down Vm params

func (*ShutDownVMParams) WithRequestBody

func (o *ShutDownVMParams) WithRequestBody(requestBody *models.VMOperateParams) *ShutDownVMParams

WithRequestBody adds the requestBody to the shut down Vm params

func (*ShutDownVMParams) WithTimeout

func (o *ShutDownVMParams) WithTimeout(timeout time.Duration) *ShutDownVMParams

WithTimeout adds the timeout to the shut down Vm params

func (*ShutDownVMParams) WriteToRequest

func (o *ShutDownVMParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ShutDownVMReader

type ShutDownVMReader struct {
	// contains filtered or unexported fields
}

ShutDownVMReader is a Reader for the ShutDownVM structure.

func (*ShutDownVMReader) ReadResponse

func (o *ShutDownVMReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type StartVMBadRequest

type StartVMBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
StartVMBadRequest describes a response with status code 400, with default header values.

Bad request

func NewStartVMBadRequest

func NewStartVMBadRequest() *StartVMBadRequest

NewStartVMBadRequest creates a StartVMBadRequest with default headers values

func (*StartVMBadRequest) Error

func (o *StartVMBadRequest) Error() string

func (*StartVMBadRequest) GetPayload

func (o *StartVMBadRequest) GetPayload() *models.ErrorBody

type StartVMInternalServerError

type StartVMInternalServerError struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
StartVMInternalServerError describes a response with status code 500, with default header values.

Server error

func NewStartVMInternalServerError

func NewStartVMInternalServerError() *StartVMInternalServerError

NewStartVMInternalServerError creates a StartVMInternalServerError with default headers values

func (*StartVMInternalServerError) Error

func (*StartVMInternalServerError) GetPayload

func (o *StartVMInternalServerError) GetPayload() *models.ErrorBody

type StartVMNotFound

type StartVMNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
StartVMNotFound describes a response with status code 404, with default header values.

Not found

func NewStartVMNotFound

func NewStartVMNotFound() *StartVMNotFound

NewStartVMNotFound creates a StartVMNotFound with default headers values

func (*StartVMNotFound) Error

func (o *StartVMNotFound) Error() string

func (*StartVMNotFound) GetPayload

func (o *StartVMNotFound) GetPayload() *models.ErrorBody

type StartVMOK

type StartVMOK struct {
	XTowerRequestID string

	Payload []*models.WithTaskVM
}
StartVMOK describes a response with status code 200, with default header values.

StartVMOK start Vm o k

func NewStartVMOK

func NewStartVMOK() *StartVMOK

NewStartVMOK creates a StartVMOK with default headers values

func (*StartVMOK) Error

func (o *StartVMOK) Error() string

func (*StartVMOK) GetPayload

func (o *StartVMOK) GetPayload() []*models.WithTaskVM

type StartVMParams

type StartVMParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.VMStartParams

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

StartVMParams contains all the parameters to send to the API endpoint

for the start Vm operation.

Typically these are written to a http.Request.

func NewStartVMParams

func NewStartVMParams() *StartVMParams

NewStartVMParams creates a new StartVMParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewStartVMParamsWithContext

func NewStartVMParamsWithContext(ctx context.Context) *StartVMParams

NewStartVMParamsWithContext creates a new StartVMParams object with the ability to set a context for a request.

func NewStartVMParamsWithHTTPClient

func NewStartVMParamsWithHTTPClient(client *http.Client) *StartVMParams

NewStartVMParamsWithHTTPClient creates a new StartVMParams object with the ability to set a custom HTTPClient for a request.

func NewStartVMParamsWithTimeout

func NewStartVMParamsWithTimeout(timeout time.Duration) *StartVMParams

NewStartVMParamsWithTimeout creates a new StartVMParams object with the ability to set a timeout on a request.

func (*StartVMParams) SetContentLanguage

func (o *StartVMParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the start Vm params

func (*StartVMParams) SetContext

func (o *StartVMParams) SetContext(ctx context.Context)

SetContext adds the context to the start Vm params

func (*StartVMParams) SetDefaults

func (o *StartVMParams) SetDefaults()

SetDefaults hydrates default values in the start Vm params (not the query body).

All values with no default are reset to their zero value.

func (*StartVMParams) SetHTTPClient

func (o *StartVMParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the start Vm params

func (*StartVMParams) SetRequestBody

func (o *StartVMParams) SetRequestBody(requestBody *models.VMStartParams)

SetRequestBody adds the requestBody to the start Vm params

func (*StartVMParams) SetTimeout

func (o *StartVMParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the start Vm params

func (*StartVMParams) WithContentLanguage

func (o *StartVMParams) WithContentLanguage(contentLanguage *string) *StartVMParams

WithContentLanguage adds the contentLanguage to the start Vm params

func (*StartVMParams) WithContext

func (o *StartVMParams) WithContext(ctx context.Context) *StartVMParams

WithContext adds the context to the start Vm params

func (*StartVMParams) WithDefaults

func (o *StartVMParams) WithDefaults() *StartVMParams

WithDefaults hydrates default values in the start Vm params (not the query body).

All values with no default are reset to their zero value.

func (*StartVMParams) WithHTTPClient

func (o *StartVMParams) WithHTTPClient(client *http.Client) *StartVMParams

WithHTTPClient adds the HTTPClient to the start Vm params

func (*StartVMParams) WithRequestBody

func (o *StartVMParams) WithRequestBody(requestBody *models.VMStartParams) *StartVMParams

WithRequestBody adds the requestBody to the start Vm params

func (*StartVMParams) WithTimeout

func (o *StartVMParams) WithTimeout(timeout time.Duration) *StartVMParams

WithTimeout adds the timeout to the start Vm params

func (*StartVMParams) WriteToRequest

func (o *StartVMParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type StartVMReader

type StartVMReader struct {
	// contains filtered or unexported fields
}

StartVMReader is a Reader for the StartVM structure.

func (*StartVMReader) ReadResponse

func (o *StartVMReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type StopVMInCutoverMigrationBadRequest added in v2.1.0

type StopVMInCutoverMigrationBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
StopVMInCutoverMigrationBadRequest describes a response with status code 400, with default header values.

Bad request

func NewStopVMInCutoverMigrationBadRequest added in v2.1.0

func NewStopVMInCutoverMigrationBadRequest() *StopVMInCutoverMigrationBadRequest

NewStopVMInCutoverMigrationBadRequest creates a StopVMInCutoverMigrationBadRequest with default headers values

func (*StopVMInCutoverMigrationBadRequest) Error added in v2.1.0

func (*StopVMInCutoverMigrationBadRequest) GetPayload added in v2.1.0

type StopVMInCutoverMigrationInternalServerError added in v2.1.0

type StopVMInCutoverMigrationInternalServerError struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
StopVMInCutoverMigrationInternalServerError describes a response with status code 500, with default header values.

Server error

func NewStopVMInCutoverMigrationInternalServerError added in v2.1.0

func NewStopVMInCutoverMigrationInternalServerError() *StopVMInCutoverMigrationInternalServerError

NewStopVMInCutoverMigrationInternalServerError creates a StopVMInCutoverMigrationInternalServerError with default headers values

func (*StopVMInCutoverMigrationInternalServerError) Error added in v2.1.0

func (*StopVMInCutoverMigrationInternalServerError) GetPayload added in v2.1.0

type StopVMInCutoverMigrationNotFound added in v2.1.0

type StopVMInCutoverMigrationNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
StopVMInCutoverMigrationNotFound describes a response with status code 404, with default header values.

Not found

func NewStopVMInCutoverMigrationNotFound added in v2.1.0

func NewStopVMInCutoverMigrationNotFound() *StopVMInCutoverMigrationNotFound

NewStopVMInCutoverMigrationNotFound creates a StopVMInCutoverMigrationNotFound with default headers values

func (*StopVMInCutoverMigrationNotFound) Error added in v2.1.0

func (*StopVMInCutoverMigrationNotFound) GetPayload added in v2.1.0

type StopVMInCutoverMigrationOK added in v2.1.0

type StopVMInCutoverMigrationOK struct {
	XTowerRequestID string

	Payload []*models.WithTaskVM
}
StopVMInCutoverMigrationOK describes a response with status code 200, with default header values.

StopVMInCutoverMigrationOK stop Vm in cutover migration o k

func NewStopVMInCutoverMigrationOK added in v2.1.0

func NewStopVMInCutoverMigrationOK() *StopVMInCutoverMigrationOK

NewStopVMInCutoverMigrationOK creates a StopVMInCutoverMigrationOK with default headers values

func (*StopVMInCutoverMigrationOK) Error added in v2.1.0

func (*StopVMInCutoverMigrationOK) GetPayload added in v2.1.0

func (o *StopVMInCutoverMigrationOK) GetPayload() []*models.WithTaskVM

type StopVMInCutoverMigrationParams added in v2.1.0

type StopVMInCutoverMigrationParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.StopVMInCutoverMigrationParams

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

StopVMInCutoverMigrationParams contains all the parameters to send to the API endpoint

for the stop Vm in cutover migration operation.

Typically these are written to a http.Request.

func NewStopVMInCutoverMigrationParams added in v2.1.0

func NewStopVMInCutoverMigrationParams() *StopVMInCutoverMigrationParams

NewStopVMInCutoverMigrationParams creates a new StopVMInCutoverMigrationParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewStopVMInCutoverMigrationParamsWithContext added in v2.1.0

func NewStopVMInCutoverMigrationParamsWithContext(ctx context.Context) *StopVMInCutoverMigrationParams

NewStopVMInCutoverMigrationParamsWithContext creates a new StopVMInCutoverMigrationParams object with the ability to set a context for a request.

func NewStopVMInCutoverMigrationParamsWithHTTPClient added in v2.1.0

func NewStopVMInCutoverMigrationParamsWithHTTPClient(client *http.Client) *StopVMInCutoverMigrationParams

NewStopVMInCutoverMigrationParamsWithHTTPClient creates a new StopVMInCutoverMigrationParams object with the ability to set a custom HTTPClient for a request.

func NewStopVMInCutoverMigrationParamsWithTimeout added in v2.1.0

func NewStopVMInCutoverMigrationParamsWithTimeout(timeout time.Duration) *StopVMInCutoverMigrationParams

NewStopVMInCutoverMigrationParamsWithTimeout creates a new StopVMInCutoverMigrationParams object with the ability to set a timeout on a request.

func (*StopVMInCutoverMigrationParams) SetContentLanguage added in v2.1.0

func (o *StopVMInCutoverMigrationParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the stop Vm in cutover migration params

func (*StopVMInCutoverMigrationParams) SetContext added in v2.1.0

func (o *StopVMInCutoverMigrationParams) SetContext(ctx context.Context)

SetContext adds the context to the stop Vm in cutover migration params

func (*StopVMInCutoverMigrationParams) SetDefaults added in v2.1.0

func (o *StopVMInCutoverMigrationParams) SetDefaults()

SetDefaults hydrates default values in the stop Vm in cutover migration params (not the query body).

All values with no default are reset to their zero value.

func (*StopVMInCutoverMigrationParams) SetHTTPClient added in v2.1.0

func (o *StopVMInCutoverMigrationParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the stop Vm in cutover migration params

func (*StopVMInCutoverMigrationParams) SetRequestBody added in v2.1.0

SetRequestBody adds the requestBody to the stop Vm in cutover migration params

func (*StopVMInCutoverMigrationParams) SetTimeout added in v2.1.0

func (o *StopVMInCutoverMigrationParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the stop Vm in cutover migration params

func (*StopVMInCutoverMigrationParams) WithContentLanguage added in v2.1.0

func (o *StopVMInCutoverMigrationParams) WithContentLanguage(contentLanguage *string) *StopVMInCutoverMigrationParams

WithContentLanguage adds the contentLanguage to the stop Vm in cutover migration params

func (*StopVMInCutoverMigrationParams) WithContext added in v2.1.0

WithContext adds the context to the stop Vm in cutover migration params

func (*StopVMInCutoverMigrationParams) WithDefaults added in v2.1.0

WithDefaults hydrates default values in the stop Vm in cutover migration params (not the query body).

All values with no default are reset to their zero value.

func (*StopVMInCutoverMigrationParams) WithHTTPClient added in v2.1.0

WithHTTPClient adds the HTTPClient to the stop Vm in cutover migration params

func (*StopVMInCutoverMigrationParams) WithRequestBody added in v2.1.0

WithRequestBody adds the requestBody to the stop Vm in cutover migration params

func (*StopVMInCutoverMigrationParams) WithTimeout added in v2.1.0

WithTimeout adds the timeout to the stop Vm in cutover migration params

func (*StopVMInCutoverMigrationParams) WriteToRequest added in v2.1.0

WriteToRequest writes these params to a swagger request

type StopVMInCutoverMigrationReader added in v2.1.0

type StopVMInCutoverMigrationReader struct {
	// contains filtered or unexported fields
}

StopVMInCutoverMigrationReader is a Reader for the StopVMInCutoverMigration structure.

func (*StopVMInCutoverMigrationReader) ReadResponse added in v2.1.0

func (o *StopVMInCutoverMigrationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type SuspendVMBadRequest

type SuspendVMBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
SuspendVMBadRequest describes a response with status code 400, with default header values.

Bad request

func NewSuspendVMBadRequest

func NewSuspendVMBadRequest() *SuspendVMBadRequest

NewSuspendVMBadRequest creates a SuspendVMBadRequest with default headers values

func (*SuspendVMBadRequest) Error

func (o *SuspendVMBadRequest) Error() string

func (*SuspendVMBadRequest) GetPayload

func (o *SuspendVMBadRequest) GetPayload() *models.ErrorBody

type SuspendVMInternalServerError

type SuspendVMInternalServerError struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
SuspendVMInternalServerError describes a response with status code 500, with default header values.

Server error

func NewSuspendVMInternalServerError

func NewSuspendVMInternalServerError() *SuspendVMInternalServerError

NewSuspendVMInternalServerError creates a SuspendVMInternalServerError with default headers values

func (*SuspendVMInternalServerError) Error

func (*SuspendVMInternalServerError) GetPayload

type SuspendVMNotFound

type SuspendVMNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
SuspendVMNotFound describes a response with status code 404, with default header values.

Not found

func NewSuspendVMNotFound

func NewSuspendVMNotFound() *SuspendVMNotFound

NewSuspendVMNotFound creates a SuspendVMNotFound with default headers values

func (*SuspendVMNotFound) Error

func (o *SuspendVMNotFound) Error() string

func (*SuspendVMNotFound) GetPayload

func (o *SuspendVMNotFound) GetPayload() *models.ErrorBody

type SuspendVMOK

type SuspendVMOK struct {
	XTowerRequestID string

	Payload []*models.WithTaskVM
}
SuspendVMOK describes a response with status code 200, with default header values.

SuspendVMOK suspend Vm o k

func NewSuspendVMOK

func NewSuspendVMOK() *SuspendVMOK

NewSuspendVMOK creates a SuspendVMOK with default headers values

func (*SuspendVMOK) Error

func (o *SuspendVMOK) Error() string

func (*SuspendVMOK) GetPayload

func (o *SuspendVMOK) GetPayload() []*models.WithTaskVM

type SuspendVMParams

type SuspendVMParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.VMOperateParams

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

SuspendVMParams contains all the parameters to send to the API endpoint

for the suspend Vm operation.

Typically these are written to a http.Request.

func NewSuspendVMParams

func NewSuspendVMParams() *SuspendVMParams

NewSuspendVMParams creates a new SuspendVMParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewSuspendVMParamsWithContext

func NewSuspendVMParamsWithContext(ctx context.Context) *SuspendVMParams

NewSuspendVMParamsWithContext creates a new SuspendVMParams object with the ability to set a context for a request.

func NewSuspendVMParamsWithHTTPClient

func NewSuspendVMParamsWithHTTPClient(client *http.Client) *SuspendVMParams

NewSuspendVMParamsWithHTTPClient creates a new SuspendVMParams object with the ability to set a custom HTTPClient for a request.

func NewSuspendVMParamsWithTimeout

func NewSuspendVMParamsWithTimeout(timeout time.Duration) *SuspendVMParams

NewSuspendVMParamsWithTimeout creates a new SuspendVMParams object with the ability to set a timeout on a request.

func (*SuspendVMParams) SetContentLanguage

func (o *SuspendVMParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the suspend Vm params

func (*SuspendVMParams) SetContext

func (o *SuspendVMParams) SetContext(ctx context.Context)

SetContext adds the context to the suspend Vm params

func (*SuspendVMParams) SetDefaults

func (o *SuspendVMParams) SetDefaults()

SetDefaults hydrates default values in the suspend Vm params (not the query body).

All values with no default are reset to their zero value.

func (*SuspendVMParams) SetHTTPClient

func (o *SuspendVMParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the suspend Vm params

func (*SuspendVMParams) SetRequestBody

func (o *SuspendVMParams) SetRequestBody(requestBody *models.VMOperateParams)

SetRequestBody adds the requestBody to the suspend Vm params

func (*SuspendVMParams) SetTimeout

func (o *SuspendVMParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the suspend Vm params

func (*SuspendVMParams) WithContentLanguage

func (o *SuspendVMParams) WithContentLanguage(contentLanguage *string) *SuspendVMParams

WithContentLanguage adds the contentLanguage to the suspend Vm params

func (*SuspendVMParams) WithContext

func (o *SuspendVMParams) WithContext(ctx context.Context) *SuspendVMParams

WithContext adds the context to the suspend Vm params

func (*SuspendVMParams) WithDefaults

func (o *SuspendVMParams) WithDefaults() *SuspendVMParams

WithDefaults hydrates default values in the suspend Vm params (not the query body).

All values with no default are reset to their zero value.

func (*SuspendVMParams) WithHTTPClient

func (o *SuspendVMParams) WithHTTPClient(client *http.Client) *SuspendVMParams

WithHTTPClient adds the HTTPClient to the suspend Vm params

func (*SuspendVMParams) WithRequestBody

func (o *SuspendVMParams) WithRequestBody(requestBody *models.VMOperateParams) *SuspendVMParams

WithRequestBody adds the requestBody to the suspend Vm params

func (*SuspendVMParams) WithTimeout

func (o *SuspendVMParams) WithTimeout(timeout time.Duration) *SuspendVMParams

WithTimeout adds the timeout to the suspend Vm params

func (*SuspendVMParams) WriteToRequest

func (o *SuspendVMParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type SuspendVMReader

type SuspendVMReader struct {
	// contains filtered or unexported fields
}

SuspendVMReader is a Reader for the SuspendVM structure.

func (*SuspendVMReader) ReadResponse

func (o *SuspendVMReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ToggleVMCdRomDisableBadRequest

type ToggleVMCdRomDisableBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
ToggleVMCdRomDisableBadRequest describes a response with status code 400, with default header values.

Bad request

func NewToggleVMCdRomDisableBadRequest

func NewToggleVMCdRomDisableBadRequest() *ToggleVMCdRomDisableBadRequest

NewToggleVMCdRomDisableBadRequest creates a ToggleVMCdRomDisableBadRequest with default headers values

func (*ToggleVMCdRomDisableBadRequest) Error

func (*ToggleVMCdRomDisableBadRequest) GetPayload

type ToggleVMCdRomDisableInternalServerError

type ToggleVMCdRomDisableInternalServerError struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
ToggleVMCdRomDisableInternalServerError describes a response with status code 500, with default header values.

Server error

func NewToggleVMCdRomDisableInternalServerError

func NewToggleVMCdRomDisableInternalServerError() *ToggleVMCdRomDisableInternalServerError

NewToggleVMCdRomDisableInternalServerError creates a ToggleVMCdRomDisableInternalServerError with default headers values

func (*ToggleVMCdRomDisableInternalServerError) Error

func (*ToggleVMCdRomDisableInternalServerError) GetPayload

type ToggleVMCdRomDisableNotFound

type ToggleVMCdRomDisableNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
ToggleVMCdRomDisableNotFound describes a response with status code 404, with default header values.

Not found

func NewToggleVMCdRomDisableNotFound

func NewToggleVMCdRomDisableNotFound() *ToggleVMCdRomDisableNotFound

NewToggleVMCdRomDisableNotFound creates a ToggleVMCdRomDisableNotFound with default headers values

func (*ToggleVMCdRomDisableNotFound) Error

func (*ToggleVMCdRomDisableNotFound) GetPayload

type ToggleVMCdRomDisableOK

type ToggleVMCdRomDisableOK struct {
	XTowerRequestID string

	Payload []*models.WithTaskVM
}
ToggleVMCdRomDisableOK describes a response with status code 200, with default header values.

ToggleVMCdRomDisableOK toggle Vm cd rom disable o k

func NewToggleVMCdRomDisableOK

func NewToggleVMCdRomDisableOK() *ToggleVMCdRomDisableOK

NewToggleVMCdRomDisableOK creates a ToggleVMCdRomDisableOK with default headers values

func (*ToggleVMCdRomDisableOK) Error

func (o *ToggleVMCdRomDisableOK) Error() string

func (*ToggleVMCdRomDisableOK) GetPayload

func (o *ToggleVMCdRomDisableOK) GetPayload() []*models.WithTaskVM

type ToggleVMCdRomDisableParams

type ToggleVMCdRomDisableParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.VMToggleCdRomDisableParams

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ToggleVMCdRomDisableParams contains all the parameters to send to the API endpoint

for the toggle Vm cd rom disable operation.

Typically these are written to a http.Request.

func NewToggleVMCdRomDisableParams

func NewToggleVMCdRomDisableParams() *ToggleVMCdRomDisableParams

NewToggleVMCdRomDisableParams creates a new ToggleVMCdRomDisableParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewToggleVMCdRomDisableParamsWithContext

func NewToggleVMCdRomDisableParamsWithContext(ctx context.Context) *ToggleVMCdRomDisableParams

NewToggleVMCdRomDisableParamsWithContext creates a new ToggleVMCdRomDisableParams object with the ability to set a context for a request.

func NewToggleVMCdRomDisableParamsWithHTTPClient

func NewToggleVMCdRomDisableParamsWithHTTPClient(client *http.Client) *ToggleVMCdRomDisableParams

NewToggleVMCdRomDisableParamsWithHTTPClient creates a new ToggleVMCdRomDisableParams object with the ability to set a custom HTTPClient for a request.

func NewToggleVMCdRomDisableParamsWithTimeout

func NewToggleVMCdRomDisableParamsWithTimeout(timeout time.Duration) *ToggleVMCdRomDisableParams

NewToggleVMCdRomDisableParamsWithTimeout creates a new ToggleVMCdRomDisableParams object with the ability to set a timeout on a request.

func (*ToggleVMCdRomDisableParams) SetContentLanguage

func (o *ToggleVMCdRomDisableParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the toggle Vm cd rom disable params

func (*ToggleVMCdRomDisableParams) SetContext

func (o *ToggleVMCdRomDisableParams) SetContext(ctx context.Context)

SetContext adds the context to the toggle Vm cd rom disable params

func (*ToggleVMCdRomDisableParams) SetDefaults

func (o *ToggleVMCdRomDisableParams) SetDefaults()

SetDefaults hydrates default values in the toggle Vm cd rom disable params (not the query body).

All values with no default are reset to their zero value.

func (*ToggleVMCdRomDisableParams) SetHTTPClient

func (o *ToggleVMCdRomDisableParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the toggle Vm cd rom disable params

func (*ToggleVMCdRomDisableParams) SetRequestBody

func (o *ToggleVMCdRomDisableParams) SetRequestBody(requestBody *models.VMToggleCdRomDisableParams)

SetRequestBody adds the requestBody to the toggle Vm cd rom disable params

func (*ToggleVMCdRomDisableParams) SetTimeout

func (o *ToggleVMCdRomDisableParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the toggle Vm cd rom disable params

func (*ToggleVMCdRomDisableParams) WithContentLanguage

func (o *ToggleVMCdRomDisableParams) WithContentLanguage(contentLanguage *string) *ToggleVMCdRomDisableParams

WithContentLanguage adds the contentLanguage to the toggle Vm cd rom disable params

func (*ToggleVMCdRomDisableParams) WithContext

WithContext adds the context to the toggle Vm cd rom disable params

func (*ToggleVMCdRomDisableParams) WithDefaults

WithDefaults hydrates default values in the toggle Vm cd rom disable params (not the query body).

All values with no default are reset to their zero value.

func (*ToggleVMCdRomDisableParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the toggle Vm cd rom disable params

func (*ToggleVMCdRomDisableParams) WithRequestBody

WithRequestBody adds the requestBody to the toggle Vm cd rom disable params

func (*ToggleVMCdRomDisableParams) WithTimeout

WithTimeout adds the timeout to the toggle Vm cd rom disable params

func (*ToggleVMCdRomDisableParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ToggleVMCdRomDisableReader

type ToggleVMCdRomDisableReader struct {
	// contains filtered or unexported fields
}

ToggleVMCdRomDisableReader is a Reader for the ToggleVMCdRomDisable structure.

func (*ToggleVMCdRomDisableReader) ReadResponse

func (o *ToggleVMCdRomDisableReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpdateVMAdvancedOptionsBadRequest

type UpdateVMAdvancedOptionsBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
UpdateVMAdvancedOptionsBadRequest describes a response with status code 400, with default header values.

Bad request

func NewUpdateVMAdvancedOptionsBadRequest

func NewUpdateVMAdvancedOptionsBadRequest() *UpdateVMAdvancedOptionsBadRequest

NewUpdateVMAdvancedOptionsBadRequest creates a UpdateVMAdvancedOptionsBadRequest with default headers values

func (*UpdateVMAdvancedOptionsBadRequest) Error

func (*UpdateVMAdvancedOptionsBadRequest) GetPayload

type UpdateVMAdvancedOptionsInternalServerError

type UpdateVMAdvancedOptionsInternalServerError struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
UpdateVMAdvancedOptionsInternalServerError describes a response with status code 500, with default header values.

Server error

func NewUpdateVMAdvancedOptionsInternalServerError

func NewUpdateVMAdvancedOptionsInternalServerError() *UpdateVMAdvancedOptionsInternalServerError

NewUpdateVMAdvancedOptionsInternalServerError creates a UpdateVMAdvancedOptionsInternalServerError with default headers values

func (*UpdateVMAdvancedOptionsInternalServerError) Error

func (*UpdateVMAdvancedOptionsInternalServerError) GetPayload

type UpdateVMAdvancedOptionsNotFound

type UpdateVMAdvancedOptionsNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
UpdateVMAdvancedOptionsNotFound describes a response with status code 404, with default header values.

Not found

func NewUpdateVMAdvancedOptionsNotFound

func NewUpdateVMAdvancedOptionsNotFound() *UpdateVMAdvancedOptionsNotFound

NewUpdateVMAdvancedOptionsNotFound creates a UpdateVMAdvancedOptionsNotFound with default headers values

func (*UpdateVMAdvancedOptionsNotFound) Error

func (*UpdateVMAdvancedOptionsNotFound) GetPayload

type UpdateVMAdvancedOptionsNotModified

type UpdateVMAdvancedOptionsNotModified struct {
}
UpdateVMAdvancedOptionsNotModified describes a response with status code 304, with default header values.

Not modified

func NewUpdateVMAdvancedOptionsNotModified

func NewUpdateVMAdvancedOptionsNotModified() *UpdateVMAdvancedOptionsNotModified

NewUpdateVMAdvancedOptionsNotModified creates a UpdateVMAdvancedOptionsNotModified with default headers values

func (*UpdateVMAdvancedOptionsNotModified) Error

type UpdateVMAdvancedOptionsOK

type UpdateVMAdvancedOptionsOK struct {
	XTowerRequestID string

	Payload []*models.WithTaskVM
}
UpdateVMAdvancedOptionsOK describes a response with status code 200, with default header values.

UpdateVMAdvancedOptionsOK update Vm advanced options o k

func NewUpdateVMAdvancedOptionsOK

func NewUpdateVMAdvancedOptionsOK() *UpdateVMAdvancedOptionsOK

NewUpdateVMAdvancedOptionsOK creates a UpdateVMAdvancedOptionsOK with default headers values

func (*UpdateVMAdvancedOptionsOK) Error

func (o *UpdateVMAdvancedOptionsOK) Error() string

func (*UpdateVMAdvancedOptionsOK) GetPayload

func (o *UpdateVMAdvancedOptionsOK) GetPayload() []*models.WithTaskVM

type UpdateVMAdvancedOptionsParams

type UpdateVMAdvancedOptionsParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.VMUpdateAdvancedOptionsParams

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UpdateVMAdvancedOptionsParams contains all the parameters to send to the API endpoint

for the update Vm advanced options operation.

Typically these are written to a http.Request.

func NewUpdateVMAdvancedOptionsParams

func NewUpdateVMAdvancedOptionsParams() *UpdateVMAdvancedOptionsParams

NewUpdateVMAdvancedOptionsParams creates a new UpdateVMAdvancedOptionsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewUpdateVMAdvancedOptionsParamsWithContext

func NewUpdateVMAdvancedOptionsParamsWithContext(ctx context.Context) *UpdateVMAdvancedOptionsParams

NewUpdateVMAdvancedOptionsParamsWithContext creates a new UpdateVMAdvancedOptionsParams object with the ability to set a context for a request.

func NewUpdateVMAdvancedOptionsParamsWithHTTPClient

func NewUpdateVMAdvancedOptionsParamsWithHTTPClient(client *http.Client) *UpdateVMAdvancedOptionsParams

NewUpdateVMAdvancedOptionsParamsWithHTTPClient creates a new UpdateVMAdvancedOptionsParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateVMAdvancedOptionsParamsWithTimeout

func NewUpdateVMAdvancedOptionsParamsWithTimeout(timeout time.Duration) *UpdateVMAdvancedOptionsParams

NewUpdateVMAdvancedOptionsParamsWithTimeout creates a new UpdateVMAdvancedOptionsParams object with the ability to set a timeout on a request.

func (*UpdateVMAdvancedOptionsParams) SetContentLanguage

func (o *UpdateVMAdvancedOptionsParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the update Vm advanced options params

func (*UpdateVMAdvancedOptionsParams) SetContext

func (o *UpdateVMAdvancedOptionsParams) SetContext(ctx context.Context)

SetContext adds the context to the update Vm advanced options params

func (*UpdateVMAdvancedOptionsParams) SetDefaults

func (o *UpdateVMAdvancedOptionsParams) SetDefaults()

SetDefaults hydrates default values in the update Vm advanced options params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateVMAdvancedOptionsParams) SetHTTPClient

func (o *UpdateVMAdvancedOptionsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the update Vm advanced options params

func (*UpdateVMAdvancedOptionsParams) SetRequestBody

func (o *UpdateVMAdvancedOptionsParams) SetRequestBody(requestBody *models.VMUpdateAdvancedOptionsParams)

SetRequestBody adds the requestBody to the update Vm advanced options params

func (*UpdateVMAdvancedOptionsParams) SetTimeout

func (o *UpdateVMAdvancedOptionsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the update Vm advanced options params

func (*UpdateVMAdvancedOptionsParams) WithContentLanguage

func (o *UpdateVMAdvancedOptionsParams) WithContentLanguage(contentLanguage *string) *UpdateVMAdvancedOptionsParams

WithContentLanguage adds the contentLanguage to the update Vm advanced options params

func (*UpdateVMAdvancedOptionsParams) WithContext

WithContext adds the context to the update Vm advanced options params

func (*UpdateVMAdvancedOptionsParams) WithDefaults

WithDefaults hydrates default values in the update Vm advanced options params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateVMAdvancedOptionsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update Vm advanced options params

func (*UpdateVMAdvancedOptionsParams) WithRequestBody

WithRequestBody adds the requestBody to the update Vm advanced options params

func (*UpdateVMAdvancedOptionsParams) WithTimeout

WithTimeout adds the timeout to the update Vm advanced options params

func (*UpdateVMAdvancedOptionsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateVMAdvancedOptionsReader

type UpdateVMAdvancedOptionsReader struct {
	// contains filtered or unexported fields
}

UpdateVMAdvancedOptionsReader is a Reader for the UpdateVMAdvancedOptions structure.

func (*UpdateVMAdvancedOptionsReader) ReadResponse

func (o *UpdateVMAdvancedOptionsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpdateVMBadRequest

type UpdateVMBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
UpdateVMBadRequest describes a response with status code 400, with default header values.

Bad request

func NewUpdateVMBadRequest

func NewUpdateVMBadRequest() *UpdateVMBadRequest

NewUpdateVMBadRequest creates a UpdateVMBadRequest with default headers values

func (*UpdateVMBadRequest) Error

func (o *UpdateVMBadRequest) Error() string

func (*UpdateVMBadRequest) GetPayload

func (o *UpdateVMBadRequest) GetPayload() *models.ErrorBody

type UpdateVMDiskBadRequest

type UpdateVMDiskBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
UpdateVMDiskBadRequest describes a response with status code 400, with default header values.

Bad request

func NewUpdateVMDiskBadRequest

func NewUpdateVMDiskBadRequest() *UpdateVMDiskBadRequest

NewUpdateVMDiskBadRequest creates a UpdateVMDiskBadRequest with default headers values

func (*UpdateVMDiskBadRequest) Error

func (o *UpdateVMDiskBadRequest) Error() string

func (*UpdateVMDiskBadRequest) GetPayload

func (o *UpdateVMDiskBadRequest) GetPayload() *models.ErrorBody

type UpdateVMDiskInternalServerError

type UpdateVMDiskInternalServerError struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
UpdateVMDiskInternalServerError describes a response with status code 500, with default header values.

Server error

func NewUpdateVMDiskInternalServerError

func NewUpdateVMDiskInternalServerError() *UpdateVMDiskInternalServerError

NewUpdateVMDiskInternalServerError creates a UpdateVMDiskInternalServerError with default headers values

func (*UpdateVMDiskInternalServerError) Error

func (*UpdateVMDiskInternalServerError) GetPayload

type UpdateVMDiskNotFound

type UpdateVMDiskNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
UpdateVMDiskNotFound describes a response with status code 404, with default header values.

Not found

func NewUpdateVMDiskNotFound

func NewUpdateVMDiskNotFound() *UpdateVMDiskNotFound

NewUpdateVMDiskNotFound creates a UpdateVMDiskNotFound with default headers values

func (*UpdateVMDiskNotFound) Error

func (o *UpdateVMDiskNotFound) Error() string

func (*UpdateVMDiskNotFound) GetPayload

func (o *UpdateVMDiskNotFound) GetPayload() *models.ErrorBody

type UpdateVMDiskOK

type UpdateVMDiskOK struct {
	XTowerRequestID string

	Payload []*models.WithTaskVM
}
UpdateVMDiskOK describes a response with status code 200, with default header values.

UpdateVMDiskOK update Vm disk o k

func NewUpdateVMDiskOK

func NewUpdateVMDiskOK() *UpdateVMDiskOK

NewUpdateVMDiskOK creates a UpdateVMDiskOK with default headers values

func (*UpdateVMDiskOK) Error

func (o *UpdateVMDiskOK) Error() string

func (*UpdateVMDiskOK) GetPayload

func (o *UpdateVMDiskOK) GetPayload() []*models.WithTaskVM

type UpdateVMDiskParams

type UpdateVMDiskParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.VMUpdateDiskParams

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UpdateVMDiskParams contains all the parameters to send to the API endpoint

for the update Vm disk operation.

Typically these are written to a http.Request.

func NewUpdateVMDiskParams

func NewUpdateVMDiskParams() *UpdateVMDiskParams

NewUpdateVMDiskParams creates a new UpdateVMDiskParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewUpdateVMDiskParamsWithContext

func NewUpdateVMDiskParamsWithContext(ctx context.Context) *UpdateVMDiskParams

NewUpdateVMDiskParamsWithContext creates a new UpdateVMDiskParams object with the ability to set a context for a request.

func NewUpdateVMDiskParamsWithHTTPClient

func NewUpdateVMDiskParamsWithHTTPClient(client *http.Client) *UpdateVMDiskParams

NewUpdateVMDiskParamsWithHTTPClient creates a new UpdateVMDiskParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateVMDiskParamsWithTimeout

func NewUpdateVMDiskParamsWithTimeout(timeout time.Duration) *UpdateVMDiskParams

NewUpdateVMDiskParamsWithTimeout creates a new UpdateVMDiskParams object with the ability to set a timeout on a request.

func (*UpdateVMDiskParams) SetContentLanguage

func (o *UpdateVMDiskParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the update Vm disk params

func (*UpdateVMDiskParams) SetContext

func (o *UpdateVMDiskParams) SetContext(ctx context.Context)

SetContext adds the context to the update Vm disk params

func (*UpdateVMDiskParams) SetDefaults

func (o *UpdateVMDiskParams) SetDefaults()

SetDefaults hydrates default values in the update Vm disk params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateVMDiskParams) SetHTTPClient

func (o *UpdateVMDiskParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the update Vm disk params

func (*UpdateVMDiskParams) SetRequestBody

func (o *UpdateVMDiskParams) SetRequestBody(requestBody *models.VMUpdateDiskParams)

SetRequestBody adds the requestBody to the update Vm disk params

func (*UpdateVMDiskParams) SetTimeout

func (o *UpdateVMDiskParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the update Vm disk params

func (*UpdateVMDiskParams) WithContentLanguage

func (o *UpdateVMDiskParams) WithContentLanguage(contentLanguage *string) *UpdateVMDiskParams

WithContentLanguage adds the contentLanguage to the update Vm disk params

func (*UpdateVMDiskParams) WithContext

WithContext adds the context to the update Vm disk params

func (*UpdateVMDiskParams) WithDefaults

func (o *UpdateVMDiskParams) WithDefaults() *UpdateVMDiskParams

WithDefaults hydrates default values in the update Vm disk params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateVMDiskParams) WithHTTPClient

func (o *UpdateVMDiskParams) WithHTTPClient(client *http.Client) *UpdateVMDiskParams

WithHTTPClient adds the HTTPClient to the update Vm disk params

func (*UpdateVMDiskParams) WithRequestBody

func (o *UpdateVMDiskParams) WithRequestBody(requestBody *models.VMUpdateDiskParams) *UpdateVMDiskParams

WithRequestBody adds the requestBody to the update Vm disk params

func (*UpdateVMDiskParams) WithTimeout

func (o *UpdateVMDiskParams) WithTimeout(timeout time.Duration) *UpdateVMDiskParams

WithTimeout adds the timeout to the update Vm disk params

func (*UpdateVMDiskParams) WriteToRequest

func (o *UpdateVMDiskParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type UpdateVMDiskReader

type UpdateVMDiskReader struct {
	// contains filtered or unexported fields
}

UpdateVMDiskReader is a Reader for the UpdateVMDisk structure.

func (*UpdateVMDiskReader) ReadResponse

func (o *UpdateVMDiskReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpdateVMHostOptionsBadRequest added in v2.1.0

type UpdateVMHostOptionsBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
UpdateVMHostOptionsBadRequest describes a response with status code 400, with default header values.

Bad request

func NewUpdateVMHostOptionsBadRequest added in v2.1.0

func NewUpdateVMHostOptionsBadRequest() *UpdateVMHostOptionsBadRequest

NewUpdateVMHostOptionsBadRequest creates a UpdateVMHostOptionsBadRequest with default headers values

func (*UpdateVMHostOptionsBadRequest) Error added in v2.1.0

func (*UpdateVMHostOptionsBadRequest) GetPayload added in v2.1.0

type UpdateVMHostOptionsInternalServerError added in v2.1.0

type UpdateVMHostOptionsInternalServerError struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
UpdateVMHostOptionsInternalServerError describes a response with status code 500, with default header values.

Server error

func NewUpdateVMHostOptionsInternalServerError added in v2.1.0

func NewUpdateVMHostOptionsInternalServerError() *UpdateVMHostOptionsInternalServerError

NewUpdateVMHostOptionsInternalServerError creates a UpdateVMHostOptionsInternalServerError with default headers values

func (*UpdateVMHostOptionsInternalServerError) Error added in v2.1.0

func (*UpdateVMHostOptionsInternalServerError) GetPayload added in v2.1.0

type UpdateVMHostOptionsNotFound added in v2.1.0

type UpdateVMHostOptionsNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
UpdateVMHostOptionsNotFound describes a response with status code 404, with default header values.

Not found

func NewUpdateVMHostOptionsNotFound added in v2.1.0

func NewUpdateVMHostOptionsNotFound() *UpdateVMHostOptionsNotFound

NewUpdateVMHostOptionsNotFound creates a UpdateVMHostOptionsNotFound with default headers values

func (*UpdateVMHostOptionsNotFound) Error added in v2.1.0

func (*UpdateVMHostOptionsNotFound) GetPayload added in v2.1.0

func (o *UpdateVMHostOptionsNotFound) GetPayload() *models.ErrorBody

type UpdateVMHostOptionsNotModified added in v2.1.0

type UpdateVMHostOptionsNotModified struct {
}
UpdateVMHostOptionsNotModified describes a response with status code 304, with default header values.

Not modified

func NewUpdateVMHostOptionsNotModified added in v2.1.0

func NewUpdateVMHostOptionsNotModified() *UpdateVMHostOptionsNotModified

NewUpdateVMHostOptionsNotModified creates a UpdateVMHostOptionsNotModified with default headers values

func (*UpdateVMHostOptionsNotModified) Error added in v2.1.0

type UpdateVMHostOptionsOK added in v2.1.0

type UpdateVMHostOptionsOK struct {
	XTowerRequestID string

	Payload []*models.WithTaskVM
}
UpdateVMHostOptionsOK describes a response with status code 200, with default header values.

UpdateVMHostOptionsOK update Vm host options o k

func NewUpdateVMHostOptionsOK added in v2.1.0

func NewUpdateVMHostOptionsOK() *UpdateVMHostOptionsOK

NewUpdateVMHostOptionsOK creates a UpdateVMHostOptionsOK with default headers values

func (*UpdateVMHostOptionsOK) Error added in v2.1.0

func (o *UpdateVMHostOptionsOK) Error() string

func (*UpdateVMHostOptionsOK) GetPayload added in v2.1.0

func (o *UpdateVMHostOptionsOK) GetPayload() []*models.WithTaskVM

type UpdateVMHostOptionsParams added in v2.1.0

type UpdateVMHostOptionsParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.VMUpdateHostOptionsParams

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UpdateVMHostOptionsParams contains all the parameters to send to the API endpoint

for the update Vm host options operation.

Typically these are written to a http.Request.

func NewUpdateVMHostOptionsParams added in v2.1.0

func NewUpdateVMHostOptionsParams() *UpdateVMHostOptionsParams

NewUpdateVMHostOptionsParams creates a new UpdateVMHostOptionsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewUpdateVMHostOptionsParamsWithContext added in v2.1.0

func NewUpdateVMHostOptionsParamsWithContext(ctx context.Context) *UpdateVMHostOptionsParams

NewUpdateVMHostOptionsParamsWithContext creates a new UpdateVMHostOptionsParams object with the ability to set a context for a request.

func NewUpdateVMHostOptionsParamsWithHTTPClient added in v2.1.0

func NewUpdateVMHostOptionsParamsWithHTTPClient(client *http.Client) *UpdateVMHostOptionsParams

NewUpdateVMHostOptionsParamsWithHTTPClient creates a new UpdateVMHostOptionsParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateVMHostOptionsParamsWithTimeout added in v2.1.0

func NewUpdateVMHostOptionsParamsWithTimeout(timeout time.Duration) *UpdateVMHostOptionsParams

NewUpdateVMHostOptionsParamsWithTimeout creates a new UpdateVMHostOptionsParams object with the ability to set a timeout on a request.

func (*UpdateVMHostOptionsParams) SetContentLanguage added in v2.1.0

func (o *UpdateVMHostOptionsParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the update Vm host options params

func (*UpdateVMHostOptionsParams) SetContext added in v2.1.0

func (o *UpdateVMHostOptionsParams) SetContext(ctx context.Context)

SetContext adds the context to the update Vm host options params

func (*UpdateVMHostOptionsParams) SetDefaults added in v2.1.0

func (o *UpdateVMHostOptionsParams) SetDefaults()

SetDefaults hydrates default values in the update Vm host options params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateVMHostOptionsParams) SetHTTPClient added in v2.1.0

func (o *UpdateVMHostOptionsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the update Vm host options params

func (*UpdateVMHostOptionsParams) SetRequestBody added in v2.1.0

func (o *UpdateVMHostOptionsParams) SetRequestBody(requestBody *models.VMUpdateHostOptionsParams)

SetRequestBody adds the requestBody to the update Vm host options params

func (*UpdateVMHostOptionsParams) SetTimeout added in v2.1.0

func (o *UpdateVMHostOptionsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the update Vm host options params

func (*UpdateVMHostOptionsParams) WithContentLanguage added in v2.1.0

func (o *UpdateVMHostOptionsParams) WithContentLanguage(contentLanguage *string) *UpdateVMHostOptionsParams

WithContentLanguage adds the contentLanguage to the update Vm host options params

func (*UpdateVMHostOptionsParams) WithContext added in v2.1.0

WithContext adds the context to the update Vm host options params

func (*UpdateVMHostOptionsParams) WithDefaults added in v2.1.0

WithDefaults hydrates default values in the update Vm host options params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateVMHostOptionsParams) WithHTTPClient added in v2.1.0

func (o *UpdateVMHostOptionsParams) WithHTTPClient(client *http.Client) *UpdateVMHostOptionsParams

WithHTTPClient adds the HTTPClient to the update Vm host options params

func (*UpdateVMHostOptionsParams) WithRequestBody added in v2.1.0

WithRequestBody adds the requestBody to the update Vm host options params

func (*UpdateVMHostOptionsParams) WithTimeout added in v2.1.0

WithTimeout adds the timeout to the update Vm host options params

func (*UpdateVMHostOptionsParams) WriteToRequest added in v2.1.0

WriteToRequest writes these params to a swagger request

type UpdateVMHostOptionsReader added in v2.1.0

type UpdateVMHostOptionsReader struct {
	// contains filtered or unexported fields
}

UpdateVMHostOptionsReader is a Reader for the UpdateVMHostOptions structure.

func (*UpdateVMHostOptionsReader) ReadResponse added in v2.1.0

func (o *UpdateVMHostOptionsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpdateVMInternalServerError

type UpdateVMInternalServerError struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
UpdateVMInternalServerError describes a response with status code 500, with default header values.

Server error

func NewUpdateVMInternalServerError

func NewUpdateVMInternalServerError() *UpdateVMInternalServerError

NewUpdateVMInternalServerError creates a UpdateVMInternalServerError with default headers values

func (*UpdateVMInternalServerError) Error

func (*UpdateVMInternalServerError) GetPayload

func (o *UpdateVMInternalServerError) GetPayload() *models.ErrorBody

type UpdateVMIoPolicyBadRequest added in v2.4.0

type UpdateVMIoPolicyBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
UpdateVMIoPolicyBadRequest describes a response with status code 400, with default header values.

Bad request

func NewUpdateVMIoPolicyBadRequest added in v2.4.0

func NewUpdateVMIoPolicyBadRequest() *UpdateVMIoPolicyBadRequest

NewUpdateVMIoPolicyBadRequest creates a UpdateVMIoPolicyBadRequest with default headers values

func (*UpdateVMIoPolicyBadRequest) Error added in v2.4.0

func (*UpdateVMIoPolicyBadRequest) GetPayload added in v2.4.0

func (o *UpdateVMIoPolicyBadRequest) GetPayload() *models.ErrorBody

type UpdateVMIoPolicyInternalServerError added in v2.4.0

type UpdateVMIoPolicyInternalServerError struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
UpdateVMIoPolicyInternalServerError describes a response with status code 500, with default header values.

Server error

func NewUpdateVMIoPolicyInternalServerError added in v2.4.0

func NewUpdateVMIoPolicyInternalServerError() *UpdateVMIoPolicyInternalServerError

NewUpdateVMIoPolicyInternalServerError creates a UpdateVMIoPolicyInternalServerError with default headers values

func (*UpdateVMIoPolicyInternalServerError) Error added in v2.4.0

func (*UpdateVMIoPolicyInternalServerError) GetPayload added in v2.4.0

type UpdateVMIoPolicyNotFound added in v2.4.0

type UpdateVMIoPolicyNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
UpdateVMIoPolicyNotFound describes a response with status code 404, with default header values.

Not found

func NewUpdateVMIoPolicyNotFound added in v2.4.0

func NewUpdateVMIoPolicyNotFound() *UpdateVMIoPolicyNotFound

NewUpdateVMIoPolicyNotFound creates a UpdateVMIoPolicyNotFound with default headers values

func (*UpdateVMIoPolicyNotFound) Error added in v2.4.0

func (o *UpdateVMIoPolicyNotFound) Error() string

func (*UpdateVMIoPolicyNotFound) GetPayload added in v2.4.0

func (o *UpdateVMIoPolicyNotFound) GetPayload() *models.ErrorBody

type UpdateVMIoPolicyNotModified added in v2.4.0

type UpdateVMIoPolicyNotModified struct {
}
UpdateVMIoPolicyNotModified describes a response with status code 304, with default header values.

Not modified

func NewUpdateVMIoPolicyNotModified added in v2.4.0

func NewUpdateVMIoPolicyNotModified() *UpdateVMIoPolicyNotModified

NewUpdateVMIoPolicyNotModified creates a UpdateVMIoPolicyNotModified with default headers values

func (*UpdateVMIoPolicyNotModified) Error added in v2.4.0

type UpdateVMIoPolicyOK added in v2.4.0

type UpdateVMIoPolicyOK struct {
	XTowerRequestID string

	Payload []*models.WithTaskVM
}
UpdateVMIoPolicyOK describes a response with status code 200, with default header values.

UpdateVMIoPolicyOK update Vm io policy o k

func NewUpdateVMIoPolicyOK added in v2.4.0

func NewUpdateVMIoPolicyOK() *UpdateVMIoPolicyOK

NewUpdateVMIoPolicyOK creates a UpdateVMIoPolicyOK with default headers values

func (*UpdateVMIoPolicyOK) Error added in v2.4.0

func (o *UpdateVMIoPolicyOK) Error() string

func (*UpdateVMIoPolicyOK) GetPayload added in v2.4.0

func (o *UpdateVMIoPolicyOK) GetPayload() []*models.WithTaskVM

type UpdateVMIoPolicyParams added in v2.4.0

type UpdateVMIoPolicyParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.VMUpdateIoPolicyParams

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UpdateVMIoPolicyParams contains all the parameters to send to the API endpoint

for the update Vm io policy operation.

Typically these are written to a http.Request.

func NewUpdateVMIoPolicyParams added in v2.4.0

func NewUpdateVMIoPolicyParams() *UpdateVMIoPolicyParams

NewUpdateVMIoPolicyParams creates a new UpdateVMIoPolicyParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewUpdateVMIoPolicyParamsWithContext added in v2.4.0

func NewUpdateVMIoPolicyParamsWithContext(ctx context.Context) *UpdateVMIoPolicyParams

NewUpdateVMIoPolicyParamsWithContext creates a new UpdateVMIoPolicyParams object with the ability to set a context for a request.

func NewUpdateVMIoPolicyParamsWithHTTPClient added in v2.4.0

func NewUpdateVMIoPolicyParamsWithHTTPClient(client *http.Client) *UpdateVMIoPolicyParams

NewUpdateVMIoPolicyParamsWithHTTPClient creates a new UpdateVMIoPolicyParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateVMIoPolicyParamsWithTimeout added in v2.4.0

func NewUpdateVMIoPolicyParamsWithTimeout(timeout time.Duration) *UpdateVMIoPolicyParams

NewUpdateVMIoPolicyParamsWithTimeout creates a new UpdateVMIoPolicyParams object with the ability to set a timeout on a request.

func (*UpdateVMIoPolicyParams) SetContentLanguage added in v2.4.0

func (o *UpdateVMIoPolicyParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the update Vm io policy params

func (*UpdateVMIoPolicyParams) SetContext added in v2.4.0

func (o *UpdateVMIoPolicyParams) SetContext(ctx context.Context)

SetContext adds the context to the update Vm io policy params

func (*UpdateVMIoPolicyParams) SetDefaults added in v2.4.0

func (o *UpdateVMIoPolicyParams) SetDefaults()

SetDefaults hydrates default values in the update Vm io policy params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateVMIoPolicyParams) SetHTTPClient added in v2.4.0

func (o *UpdateVMIoPolicyParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the update Vm io policy params

func (*UpdateVMIoPolicyParams) SetRequestBody added in v2.4.0

func (o *UpdateVMIoPolicyParams) SetRequestBody(requestBody *models.VMUpdateIoPolicyParams)

SetRequestBody adds the requestBody to the update Vm io policy params

func (*UpdateVMIoPolicyParams) SetTimeout added in v2.4.0

func (o *UpdateVMIoPolicyParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the update Vm io policy params

func (*UpdateVMIoPolicyParams) WithContentLanguage added in v2.4.0

func (o *UpdateVMIoPolicyParams) WithContentLanguage(contentLanguage *string) *UpdateVMIoPolicyParams

WithContentLanguage adds the contentLanguage to the update Vm io policy params

func (*UpdateVMIoPolicyParams) WithContext added in v2.4.0

WithContext adds the context to the update Vm io policy params

func (*UpdateVMIoPolicyParams) WithDefaults added in v2.4.0

WithDefaults hydrates default values in the update Vm io policy params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateVMIoPolicyParams) WithHTTPClient added in v2.4.0

func (o *UpdateVMIoPolicyParams) WithHTTPClient(client *http.Client) *UpdateVMIoPolicyParams

WithHTTPClient adds the HTTPClient to the update Vm io policy params

func (*UpdateVMIoPolicyParams) WithRequestBody added in v2.4.0

WithRequestBody adds the requestBody to the update Vm io policy params

func (*UpdateVMIoPolicyParams) WithTimeout added in v2.4.0

WithTimeout adds the timeout to the update Vm io policy params

func (*UpdateVMIoPolicyParams) WriteToRequest added in v2.4.0

WriteToRequest writes these params to a swagger request

type UpdateVMIoPolicyReader added in v2.4.0

type UpdateVMIoPolicyReader struct {
	// contains filtered or unexported fields
}

UpdateVMIoPolicyReader is a Reader for the UpdateVMIoPolicy structure.

func (*UpdateVMIoPolicyReader) ReadResponse added in v2.4.0

func (o *UpdateVMIoPolicyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpdateVMNicAdvanceInfoBadRequest

type UpdateVMNicAdvanceInfoBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
UpdateVMNicAdvanceInfoBadRequest describes a response with status code 400, with default header values.

Bad request

func NewUpdateVMNicAdvanceInfoBadRequest

func NewUpdateVMNicAdvanceInfoBadRequest() *UpdateVMNicAdvanceInfoBadRequest

NewUpdateVMNicAdvanceInfoBadRequest creates a UpdateVMNicAdvanceInfoBadRequest with default headers values

func (*UpdateVMNicAdvanceInfoBadRequest) Error

func (*UpdateVMNicAdvanceInfoBadRequest) GetPayload

type UpdateVMNicAdvanceInfoInternalServerError

type UpdateVMNicAdvanceInfoInternalServerError struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
UpdateVMNicAdvanceInfoInternalServerError describes a response with status code 500, with default header values.

Server error

func NewUpdateVMNicAdvanceInfoInternalServerError

func NewUpdateVMNicAdvanceInfoInternalServerError() *UpdateVMNicAdvanceInfoInternalServerError

NewUpdateVMNicAdvanceInfoInternalServerError creates a UpdateVMNicAdvanceInfoInternalServerError with default headers values

func (*UpdateVMNicAdvanceInfoInternalServerError) Error

func (*UpdateVMNicAdvanceInfoInternalServerError) GetPayload

type UpdateVMNicAdvanceInfoNotFound

type UpdateVMNicAdvanceInfoNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
UpdateVMNicAdvanceInfoNotFound describes a response with status code 404, with default header values.

Not found

func NewUpdateVMNicAdvanceInfoNotFound

func NewUpdateVMNicAdvanceInfoNotFound() *UpdateVMNicAdvanceInfoNotFound

NewUpdateVMNicAdvanceInfoNotFound creates a UpdateVMNicAdvanceInfoNotFound with default headers values

func (*UpdateVMNicAdvanceInfoNotFound) Error

func (*UpdateVMNicAdvanceInfoNotFound) GetPayload

type UpdateVMNicAdvanceInfoNotModified

type UpdateVMNicAdvanceInfoNotModified struct {
}
UpdateVMNicAdvanceInfoNotModified describes a response with status code 304, with default header values.

Not modified

func NewUpdateVMNicAdvanceInfoNotModified

func NewUpdateVMNicAdvanceInfoNotModified() *UpdateVMNicAdvanceInfoNotModified

NewUpdateVMNicAdvanceInfoNotModified creates a UpdateVMNicAdvanceInfoNotModified with default headers values

func (*UpdateVMNicAdvanceInfoNotModified) Error

type UpdateVMNicAdvanceInfoOK

type UpdateVMNicAdvanceInfoOK struct {
	XTowerRequestID string

	Payload []*models.WithTaskVM
}
UpdateVMNicAdvanceInfoOK describes a response with status code 200, with default header values.

UpdateVMNicAdvanceInfoOK update Vm nic advance info o k

func NewUpdateVMNicAdvanceInfoOK

func NewUpdateVMNicAdvanceInfoOK() *UpdateVMNicAdvanceInfoOK

NewUpdateVMNicAdvanceInfoOK creates a UpdateVMNicAdvanceInfoOK with default headers values

func (*UpdateVMNicAdvanceInfoOK) Error

func (o *UpdateVMNicAdvanceInfoOK) Error() string

func (*UpdateVMNicAdvanceInfoOK) GetPayload

func (o *UpdateVMNicAdvanceInfoOK) GetPayload() []*models.WithTaskVM

type UpdateVMNicAdvanceInfoParams

type UpdateVMNicAdvanceInfoParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.VMUpdateNicAdvanceInfoParams

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UpdateVMNicAdvanceInfoParams contains all the parameters to send to the API endpoint

for the update Vm nic advance info operation.

Typically these are written to a http.Request.

func NewUpdateVMNicAdvanceInfoParams

func NewUpdateVMNicAdvanceInfoParams() *UpdateVMNicAdvanceInfoParams

NewUpdateVMNicAdvanceInfoParams creates a new UpdateVMNicAdvanceInfoParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewUpdateVMNicAdvanceInfoParamsWithContext

func NewUpdateVMNicAdvanceInfoParamsWithContext(ctx context.Context) *UpdateVMNicAdvanceInfoParams

NewUpdateVMNicAdvanceInfoParamsWithContext creates a new UpdateVMNicAdvanceInfoParams object with the ability to set a context for a request.

func NewUpdateVMNicAdvanceInfoParamsWithHTTPClient

func NewUpdateVMNicAdvanceInfoParamsWithHTTPClient(client *http.Client) *UpdateVMNicAdvanceInfoParams

NewUpdateVMNicAdvanceInfoParamsWithHTTPClient creates a new UpdateVMNicAdvanceInfoParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateVMNicAdvanceInfoParamsWithTimeout

func NewUpdateVMNicAdvanceInfoParamsWithTimeout(timeout time.Duration) *UpdateVMNicAdvanceInfoParams

NewUpdateVMNicAdvanceInfoParamsWithTimeout creates a new UpdateVMNicAdvanceInfoParams object with the ability to set a timeout on a request.

func (*UpdateVMNicAdvanceInfoParams) SetContentLanguage

func (o *UpdateVMNicAdvanceInfoParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the update Vm nic advance info params

func (*UpdateVMNicAdvanceInfoParams) SetContext

func (o *UpdateVMNicAdvanceInfoParams) SetContext(ctx context.Context)

SetContext adds the context to the update Vm nic advance info params

func (*UpdateVMNicAdvanceInfoParams) SetDefaults

func (o *UpdateVMNicAdvanceInfoParams) SetDefaults()

SetDefaults hydrates default values in the update Vm nic advance info params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateVMNicAdvanceInfoParams) SetHTTPClient

func (o *UpdateVMNicAdvanceInfoParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the update Vm nic advance info params

func (*UpdateVMNicAdvanceInfoParams) SetRequestBody

func (o *UpdateVMNicAdvanceInfoParams) SetRequestBody(requestBody *models.VMUpdateNicAdvanceInfoParams)

SetRequestBody adds the requestBody to the update Vm nic advance info params

func (*UpdateVMNicAdvanceInfoParams) SetTimeout

func (o *UpdateVMNicAdvanceInfoParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the update Vm nic advance info params

func (*UpdateVMNicAdvanceInfoParams) WithContentLanguage

func (o *UpdateVMNicAdvanceInfoParams) WithContentLanguage(contentLanguage *string) *UpdateVMNicAdvanceInfoParams

WithContentLanguage adds the contentLanguage to the update Vm nic advance info params

func (*UpdateVMNicAdvanceInfoParams) WithContext

WithContext adds the context to the update Vm nic advance info params

func (*UpdateVMNicAdvanceInfoParams) WithDefaults

WithDefaults hydrates default values in the update Vm nic advance info params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateVMNicAdvanceInfoParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update Vm nic advance info params

func (*UpdateVMNicAdvanceInfoParams) WithRequestBody

WithRequestBody adds the requestBody to the update Vm nic advance info params

func (*UpdateVMNicAdvanceInfoParams) WithTimeout

WithTimeout adds the timeout to the update Vm nic advance info params

func (*UpdateVMNicAdvanceInfoParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateVMNicAdvanceInfoReader

type UpdateVMNicAdvanceInfoReader struct {
	// contains filtered or unexported fields
}

UpdateVMNicAdvanceInfoReader is a Reader for the UpdateVMNicAdvanceInfo structure.

func (*UpdateVMNicAdvanceInfoReader) ReadResponse

func (o *UpdateVMNicAdvanceInfoReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpdateVMNicBadRequest

type UpdateVMNicBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
UpdateVMNicBadRequest describes a response with status code 400, with default header values.

Bad request

func NewUpdateVMNicBadRequest

func NewUpdateVMNicBadRequest() *UpdateVMNicBadRequest

NewUpdateVMNicBadRequest creates a UpdateVMNicBadRequest with default headers values

func (*UpdateVMNicBadRequest) Error

func (o *UpdateVMNicBadRequest) Error() string

func (*UpdateVMNicBadRequest) GetPayload

func (o *UpdateVMNicBadRequest) GetPayload() *models.ErrorBody

type UpdateVMNicBasicInfoBadRequest

type UpdateVMNicBasicInfoBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
UpdateVMNicBasicInfoBadRequest describes a response with status code 400, with default header values.

Bad request

func NewUpdateVMNicBasicInfoBadRequest

func NewUpdateVMNicBasicInfoBadRequest() *UpdateVMNicBasicInfoBadRequest

NewUpdateVMNicBasicInfoBadRequest creates a UpdateVMNicBasicInfoBadRequest with default headers values

func (*UpdateVMNicBasicInfoBadRequest) Error

func (*UpdateVMNicBasicInfoBadRequest) GetPayload

type UpdateVMNicBasicInfoInternalServerError

type UpdateVMNicBasicInfoInternalServerError struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
UpdateVMNicBasicInfoInternalServerError describes a response with status code 500, with default header values.

Server error

func NewUpdateVMNicBasicInfoInternalServerError

func NewUpdateVMNicBasicInfoInternalServerError() *UpdateVMNicBasicInfoInternalServerError

NewUpdateVMNicBasicInfoInternalServerError creates a UpdateVMNicBasicInfoInternalServerError with default headers values

func (*UpdateVMNicBasicInfoInternalServerError) Error

func (*UpdateVMNicBasicInfoInternalServerError) GetPayload

type UpdateVMNicBasicInfoNotFound

type UpdateVMNicBasicInfoNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
UpdateVMNicBasicInfoNotFound describes a response with status code 404, with default header values.

Not found

func NewUpdateVMNicBasicInfoNotFound

func NewUpdateVMNicBasicInfoNotFound() *UpdateVMNicBasicInfoNotFound

NewUpdateVMNicBasicInfoNotFound creates a UpdateVMNicBasicInfoNotFound with default headers values

func (*UpdateVMNicBasicInfoNotFound) Error

func (*UpdateVMNicBasicInfoNotFound) GetPayload

type UpdateVMNicBasicInfoNotModified

type UpdateVMNicBasicInfoNotModified struct {
}
UpdateVMNicBasicInfoNotModified describes a response with status code 304, with default header values.

Not modified

func NewUpdateVMNicBasicInfoNotModified

func NewUpdateVMNicBasicInfoNotModified() *UpdateVMNicBasicInfoNotModified

NewUpdateVMNicBasicInfoNotModified creates a UpdateVMNicBasicInfoNotModified with default headers values

func (*UpdateVMNicBasicInfoNotModified) Error

type UpdateVMNicBasicInfoOK

type UpdateVMNicBasicInfoOK struct {
	XTowerRequestID string

	Payload []*models.WithTaskVM
}
UpdateVMNicBasicInfoOK describes a response with status code 200, with default header values.

UpdateVMNicBasicInfoOK update Vm nic basic info o k

func NewUpdateVMNicBasicInfoOK

func NewUpdateVMNicBasicInfoOK() *UpdateVMNicBasicInfoOK

NewUpdateVMNicBasicInfoOK creates a UpdateVMNicBasicInfoOK with default headers values

func (*UpdateVMNicBasicInfoOK) Error

func (o *UpdateVMNicBasicInfoOK) Error() string

func (*UpdateVMNicBasicInfoOK) GetPayload

func (o *UpdateVMNicBasicInfoOK) GetPayload() []*models.WithTaskVM

type UpdateVMNicBasicInfoParams

type UpdateVMNicBasicInfoParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.VMUpdateNicBasicInfoParams

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UpdateVMNicBasicInfoParams contains all the parameters to send to the API endpoint

for the update Vm nic basic info operation.

Typically these are written to a http.Request.

func NewUpdateVMNicBasicInfoParams

func NewUpdateVMNicBasicInfoParams() *UpdateVMNicBasicInfoParams

NewUpdateVMNicBasicInfoParams creates a new UpdateVMNicBasicInfoParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewUpdateVMNicBasicInfoParamsWithContext

func NewUpdateVMNicBasicInfoParamsWithContext(ctx context.Context) *UpdateVMNicBasicInfoParams

NewUpdateVMNicBasicInfoParamsWithContext creates a new UpdateVMNicBasicInfoParams object with the ability to set a context for a request.

func NewUpdateVMNicBasicInfoParamsWithHTTPClient

func NewUpdateVMNicBasicInfoParamsWithHTTPClient(client *http.Client) *UpdateVMNicBasicInfoParams

NewUpdateVMNicBasicInfoParamsWithHTTPClient creates a new UpdateVMNicBasicInfoParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateVMNicBasicInfoParamsWithTimeout

func NewUpdateVMNicBasicInfoParamsWithTimeout(timeout time.Duration) *UpdateVMNicBasicInfoParams

NewUpdateVMNicBasicInfoParamsWithTimeout creates a new UpdateVMNicBasicInfoParams object with the ability to set a timeout on a request.

func (*UpdateVMNicBasicInfoParams) SetContentLanguage

func (o *UpdateVMNicBasicInfoParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the update Vm nic basic info params

func (*UpdateVMNicBasicInfoParams) SetContext

func (o *UpdateVMNicBasicInfoParams) SetContext(ctx context.Context)

SetContext adds the context to the update Vm nic basic info params

func (*UpdateVMNicBasicInfoParams) SetDefaults

func (o *UpdateVMNicBasicInfoParams) SetDefaults()

SetDefaults hydrates default values in the update Vm nic basic info params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateVMNicBasicInfoParams) SetHTTPClient

func (o *UpdateVMNicBasicInfoParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the update Vm nic basic info params

func (*UpdateVMNicBasicInfoParams) SetRequestBody

func (o *UpdateVMNicBasicInfoParams) SetRequestBody(requestBody *models.VMUpdateNicBasicInfoParams)

SetRequestBody adds the requestBody to the update Vm nic basic info params

func (*UpdateVMNicBasicInfoParams) SetTimeout

func (o *UpdateVMNicBasicInfoParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the update Vm nic basic info params

func (*UpdateVMNicBasicInfoParams) WithContentLanguage

func (o *UpdateVMNicBasicInfoParams) WithContentLanguage(contentLanguage *string) *UpdateVMNicBasicInfoParams

WithContentLanguage adds the contentLanguage to the update Vm nic basic info params

func (*UpdateVMNicBasicInfoParams) WithContext

WithContext adds the context to the update Vm nic basic info params

func (*UpdateVMNicBasicInfoParams) WithDefaults

WithDefaults hydrates default values in the update Vm nic basic info params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateVMNicBasicInfoParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update Vm nic basic info params

func (*UpdateVMNicBasicInfoParams) WithRequestBody

WithRequestBody adds the requestBody to the update Vm nic basic info params

func (*UpdateVMNicBasicInfoParams) WithTimeout

WithTimeout adds the timeout to the update Vm nic basic info params

func (*UpdateVMNicBasicInfoParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateVMNicBasicInfoReader

type UpdateVMNicBasicInfoReader struct {
	// contains filtered or unexported fields
}

UpdateVMNicBasicInfoReader is a Reader for the UpdateVMNicBasicInfo structure.

func (*UpdateVMNicBasicInfoReader) ReadResponse

func (o *UpdateVMNicBasicInfoReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpdateVMNicInternalServerError

type UpdateVMNicInternalServerError struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
UpdateVMNicInternalServerError describes a response with status code 500, with default header values.

Server error

func NewUpdateVMNicInternalServerError

func NewUpdateVMNicInternalServerError() *UpdateVMNicInternalServerError

NewUpdateVMNicInternalServerError creates a UpdateVMNicInternalServerError with default headers values

func (*UpdateVMNicInternalServerError) Error

func (*UpdateVMNicInternalServerError) GetPayload

type UpdateVMNicNotFound

type UpdateVMNicNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
UpdateVMNicNotFound describes a response with status code 404, with default header values.

Not found

func NewUpdateVMNicNotFound

func NewUpdateVMNicNotFound() *UpdateVMNicNotFound

NewUpdateVMNicNotFound creates a UpdateVMNicNotFound with default headers values

func (*UpdateVMNicNotFound) Error

func (o *UpdateVMNicNotFound) Error() string

func (*UpdateVMNicNotFound) GetPayload

func (o *UpdateVMNicNotFound) GetPayload() *models.ErrorBody

type UpdateVMNicOK

type UpdateVMNicOK struct {
	XTowerRequestID string

	Payload []*models.WithTaskVM
}
UpdateVMNicOK describes a response with status code 200, with default header values.

UpdateVMNicOK update Vm nic o k

func NewUpdateVMNicOK

func NewUpdateVMNicOK() *UpdateVMNicOK

NewUpdateVMNicOK creates a UpdateVMNicOK with default headers values

func (*UpdateVMNicOK) Error

func (o *UpdateVMNicOK) Error() string

func (*UpdateVMNicOK) GetPayload

func (o *UpdateVMNicOK) GetPayload() []*models.WithTaskVM

type UpdateVMNicParams

type UpdateVMNicParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.VMUpdateNicParams

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UpdateVMNicParams contains all the parameters to send to the API endpoint

for the update Vm nic operation.

Typically these are written to a http.Request.

func NewUpdateVMNicParams

func NewUpdateVMNicParams() *UpdateVMNicParams

NewUpdateVMNicParams creates a new UpdateVMNicParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewUpdateVMNicParamsWithContext

func NewUpdateVMNicParamsWithContext(ctx context.Context) *UpdateVMNicParams

NewUpdateVMNicParamsWithContext creates a new UpdateVMNicParams object with the ability to set a context for a request.

func NewUpdateVMNicParamsWithHTTPClient

func NewUpdateVMNicParamsWithHTTPClient(client *http.Client) *UpdateVMNicParams

NewUpdateVMNicParamsWithHTTPClient creates a new UpdateVMNicParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateVMNicParamsWithTimeout

func NewUpdateVMNicParamsWithTimeout(timeout time.Duration) *UpdateVMNicParams

NewUpdateVMNicParamsWithTimeout creates a new UpdateVMNicParams object with the ability to set a timeout on a request.

func (*UpdateVMNicParams) SetContentLanguage

func (o *UpdateVMNicParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the update Vm nic params

func (*UpdateVMNicParams) SetContext

func (o *UpdateVMNicParams) SetContext(ctx context.Context)

SetContext adds the context to the update Vm nic params

func (*UpdateVMNicParams) SetDefaults

func (o *UpdateVMNicParams) SetDefaults()

SetDefaults hydrates default values in the update Vm nic params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateVMNicParams) SetHTTPClient

func (o *UpdateVMNicParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the update Vm nic params

func (*UpdateVMNicParams) SetRequestBody

func (o *UpdateVMNicParams) SetRequestBody(requestBody *models.VMUpdateNicParams)

SetRequestBody adds the requestBody to the update Vm nic params

func (*UpdateVMNicParams) SetTimeout

func (o *UpdateVMNicParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the update Vm nic params

func (*UpdateVMNicParams) WithContentLanguage

func (o *UpdateVMNicParams) WithContentLanguage(contentLanguage *string) *UpdateVMNicParams

WithContentLanguage adds the contentLanguage to the update Vm nic params

func (*UpdateVMNicParams) WithContext

func (o *UpdateVMNicParams) WithContext(ctx context.Context) *UpdateVMNicParams

WithContext adds the context to the update Vm nic params

func (*UpdateVMNicParams) WithDefaults

func (o *UpdateVMNicParams) WithDefaults() *UpdateVMNicParams

WithDefaults hydrates default values in the update Vm nic params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateVMNicParams) WithHTTPClient

func (o *UpdateVMNicParams) WithHTTPClient(client *http.Client) *UpdateVMNicParams

WithHTTPClient adds the HTTPClient to the update Vm nic params

func (*UpdateVMNicParams) WithRequestBody

func (o *UpdateVMNicParams) WithRequestBody(requestBody *models.VMUpdateNicParams) *UpdateVMNicParams

WithRequestBody adds the requestBody to the update Vm nic params

func (*UpdateVMNicParams) WithTimeout

func (o *UpdateVMNicParams) WithTimeout(timeout time.Duration) *UpdateVMNicParams

WithTimeout adds the timeout to the update Vm nic params

func (*UpdateVMNicParams) WriteToRequest

func (o *UpdateVMNicParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type UpdateVMNicQosOptionBadRequest added in v2.11.0

type UpdateVMNicQosOptionBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
UpdateVMNicQosOptionBadRequest describes a response with status code 400, with default header values.

Bad request

func NewUpdateVMNicQosOptionBadRequest added in v2.11.0

func NewUpdateVMNicQosOptionBadRequest() *UpdateVMNicQosOptionBadRequest

NewUpdateVMNicQosOptionBadRequest creates a UpdateVMNicQosOptionBadRequest with default headers values

func (*UpdateVMNicQosOptionBadRequest) Error added in v2.11.0

func (*UpdateVMNicQosOptionBadRequest) GetPayload added in v2.11.0

type UpdateVMNicQosOptionInternalServerError added in v2.11.0

type UpdateVMNicQosOptionInternalServerError struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
UpdateVMNicQosOptionInternalServerError describes a response with status code 500, with default header values.

Server error

func NewUpdateVMNicQosOptionInternalServerError added in v2.11.0

func NewUpdateVMNicQosOptionInternalServerError() *UpdateVMNicQosOptionInternalServerError

NewUpdateVMNicQosOptionInternalServerError creates a UpdateVMNicQosOptionInternalServerError with default headers values

func (*UpdateVMNicQosOptionInternalServerError) Error added in v2.11.0

func (*UpdateVMNicQosOptionInternalServerError) GetPayload added in v2.11.0

type UpdateVMNicQosOptionNotFound added in v2.11.0

type UpdateVMNicQosOptionNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
UpdateVMNicQosOptionNotFound describes a response with status code 404, with default header values.

Not found

func NewUpdateVMNicQosOptionNotFound added in v2.11.0

func NewUpdateVMNicQosOptionNotFound() *UpdateVMNicQosOptionNotFound

NewUpdateVMNicQosOptionNotFound creates a UpdateVMNicQosOptionNotFound with default headers values

func (*UpdateVMNicQosOptionNotFound) Error added in v2.11.0

func (*UpdateVMNicQosOptionNotFound) GetPayload added in v2.11.0

type UpdateVMNicQosOptionNotModified added in v2.11.0

type UpdateVMNicQosOptionNotModified struct {
}
UpdateVMNicQosOptionNotModified describes a response with status code 304, with default header values.

Not modified

func NewUpdateVMNicQosOptionNotModified added in v2.11.0

func NewUpdateVMNicQosOptionNotModified() *UpdateVMNicQosOptionNotModified

NewUpdateVMNicQosOptionNotModified creates a UpdateVMNicQosOptionNotModified with default headers values

func (*UpdateVMNicQosOptionNotModified) Error added in v2.11.0

type UpdateVMNicQosOptionOK added in v2.11.0

type UpdateVMNicQosOptionOK struct {
	XTowerRequestID string

	Payload []*models.WithTaskVM
}
UpdateVMNicQosOptionOK describes a response with status code 200, with default header values.

UpdateVMNicQosOptionOK update Vm nic qos option o k

func NewUpdateVMNicQosOptionOK added in v2.11.0

func NewUpdateVMNicQosOptionOK() *UpdateVMNicQosOptionOK

NewUpdateVMNicQosOptionOK creates a UpdateVMNicQosOptionOK with default headers values

func (*UpdateVMNicQosOptionOK) Error added in v2.11.0

func (o *UpdateVMNicQosOptionOK) Error() string

func (*UpdateVMNicQosOptionOK) GetPayload added in v2.11.0

func (o *UpdateVMNicQosOptionOK) GetPayload() []*models.WithTaskVM

type UpdateVMNicQosOptionParams added in v2.11.0

type UpdateVMNicQosOptionParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.VMUpdateNicQosOptionsParams

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UpdateVMNicQosOptionParams contains all the parameters to send to the API endpoint

for the update Vm nic qos option operation.

Typically these are written to a http.Request.

func NewUpdateVMNicQosOptionParams added in v2.11.0

func NewUpdateVMNicQosOptionParams() *UpdateVMNicQosOptionParams

NewUpdateVMNicQosOptionParams creates a new UpdateVMNicQosOptionParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewUpdateVMNicQosOptionParamsWithContext added in v2.11.0

func NewUpdateVMNicQosOptionParamsWithContext(ctx context.Context) *UpdateVMNicQosOptionParams

NewUpdateVMNicQosOptionParamsWithContext creates a new UpdateVMNicQosOptionParams object with the ability to set a context for a request.

func NewUpdateVMNicQosOptionParamsWithHTTPClient added in v2.11.0

func NewUpdateVMNicQosOptionParamsWithHTTPClient(client *http.Client) *UpdateVMNicQosOptionParams

NewUpdateVMNicQosOptionParamsWithHTTPClient creates a new UpdateVMNicQosOptionParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateVMNicQosOptionParamsWithTimeout added in v2.11.0

func NewUpdateVMNicQosOptionParamsWithTimeout(timeout time.Duration) *UpdateVMNicQosOptionParams

NewUpdateVMNicQosOptionParamsWithTimeout creates a new UpdateVMNicQosOptionParams object with the ability to set a timeout on a request.

func (*UpdateVMNicQosOptionParams) SetContentLanguage added in v2.11.0

func (o *UpdateVMNicQosOptionParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the update Vm nic qos option params

func (*UpdateVMNicQosOptionParams) SetContext added in v2.11.0

func (o *UpdateVMNicQosOptionParams) SetContext(ctx context.Context)

SetContext adds the context to the update Vm nic qos option params

func (*UpdateVMNicQosOptionParams) SetDefaults added in v2.11.0

func (o *UpdateVMNicQosOptionParams) SetDefaults()

SetDefaults hydrates default values in the update Vm nic qos option params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateVMNicQosOptionParams) SetHTTPClient added in v2.11.0

func (o *UpdateVMNicQosOptionParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the update Vm nic qos option params

func (*UpdateVMNicQosOptionParams) SetRequestBody added in v2.11.0

func (o *UpdateVMNicQosOptionParams) SetRequestBody(requestBody *models.VMUpdateNicQosOptionsParams)

SetRequestBody adds the requestBody to the update Vm nic qos option params

func (*UpdateVMNicQosOptionParams) SetTimeout added in v2.11.0

func (o *UpdateVMNicQosOptionParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the update Vm nic qos option params

func (*UpdateVMNicQosOptionParams) WithContentLanguage added in v2.11.0

func (o *UpdateVMNicQosOptionParams) WithContentLanguage(contentLanguage *string) *UpdateVMNicQosOptionParams

WithContentLanguage adds the contentLanguage to the update Vm nic qos option params

func (*UpdateVMNicQosOptionParams) WithContext added in v2.11.0

WithContext adds the context to the update Vm nic qos option params

func (*UpdateVMNicQosOptionParams) WithDefaults added in v2.11.0

WithDefaults hydrates default values in the update Vm nic qos option params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateVMNicQosOptionParams) WithHTTPClient added in v2.11.0

WithHTTPClient adds the HTTPClient to the update Vm nic qos option params

func (*UpdateVMNicQosOptionParams) WithRequestBody added in v2.11.0

WithRequestBody adds the requestBody to the update Vm nic qos option params

func (*UpdateVMNicQosOptionParams) WithTimeout added in v2.11.0

WithTimeout adds the timeout to the update Vm nic qos option params

func (*UpdateVMNicQosOptionParams) WriteToRequest added in v2.11.0

WriteToRequest writes these params to a swagger request

type UpdateVMNicQosOptionReader added in v2.11.0

type UpdateVMNicQosOptionReader struct {
	// contains filtered or unexported fields
}

UpdateVMNicQosOptionReader is a Reader for the UpdateVMNicQosOption structure.

func (*UpdateVMNicQosOptionReader) ReadResponse added in v2.11.0

func (o *UpdateVMNicQosOptionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpdateVMNicReader

type UpdateVMNicReader struct {
	// contains filtered or unexported fields
}

UpdateVMNicReader is a Reader for the UpdateVMNic structure.

func (*UpdateVMNicReader) ReadResponse

func (o *UpdateVMNicReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpdateVMNotFound

type UpdateVMNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
UpdateVMNotFound describes a response with status code 404, with default header values.

Not found

func NewUpdateVMNotFound

func NewUpdateVMNotFound() *UpdateVMNotFound

NewUpdateVMNotFound creates a UpdateVMNotFound with default headers values

func (*UpdateVMNotFound) Error

func (o *UpdateVMNotFound) Error() string

func (*UpdateVMNotFound) GetPayload

func (o *UpdateVMNotFound) GetPayload() *models.ErrorBody

type UpdateVMOK

type UpdateVMOK struct {
	XTowerRequestID string

	Payload []*models.WithTaskVM
}
UpdateVMOK describes a response with status code 200, with default header values.

UpdateVMOK update Vm o k

func NewUpdateVMOK

func NewUpdateVMOK() *UpdateVMOK

NewUpdateVMOK creates a UpdateVMOK with default headers values

func (*UpdateVMOK) Error

func (o *UpdateVMOK) Error() string

func (*UpdateVMOK) GetPayload

func (o *UpdateVMOK) GetPayload() []*models.WithTaskVM

type UpdateVMOwnerBadRequest added in v2.1.0

type UpdateVMOwnerBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
UpdateVMOwnerBadRequest describes a response with status code 400, with default header values.

Bad request

func NewUpdateVMOwnerBadRequest added in v2.1.0

func NewUpdateVMOwnerBadRequest() *UpdateVMOwnerBadRequest

NewUpdateVMOwnerBadRequest creates a UpdateVMOwnerBadRequest with default headers values

func (*UpdateVMOwnerBadRequest) Error added in v2.1.0

func (o *UpdateVMOwnerBadRequest) Error() string

func (*UpdateVMOwnerBadRequest) GetPayload added in v2.1.0

func (o *UpdateVMOwnerBadRequest) GetPayload() *models.ErrorBody

type UpdateVMOwnerInternalServerError added in v2.1.0

type UpdateVMOwnerInternalServerError struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
UpdateVMOwnerInternalServerError describes a response with status code 500, with default header values.

Server error

func NewUpdateVMOwnerInternalServerError added in v2.1.0

func NewUpdateVMOwnerInternalServerError() *UpdateVMOwnerInternalServerError

NewUpdateVMOwnerInternalServerError creates a UpdateVMOwnerInternalServerError with default headers values

func (*UpdateVMOwnerInternalServerError) Error added in v2.1.0

func (*UpdateVMOwnerInternalServerError) GetPayload added in v2.1.0

type UpdateVMOwnerNotFound added in v2.1.0

type UpdateVMOwnerNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
UpdateVMOwnerNotFound describes a response with status code 404, with default header values.

Not found

func NewUpdateVMOwnerNotFound added in v2.1.0

func NewUpdateVMOwnerNotFound() *UpdateVMOwnerNotFound

NewUpdateVMOwnerNotFound creates a UpdateVMOwnerNotFound with default headers values

func (*UpdateVMOwnerNotFound) Error added in v2.1.0

func (o *UpdateVMOwnerNotFound) Error() string

func (*UpdateVMOwnerNotFound) GetPayload added in v2.4.0

func (o *UpdateVMOwnerNotFound) GetPayload() *models.ErrorBody

type UpdateVMOwnerNotModified added in v2.1.0

type UpdateVMOwnerNotModified struct {
}
UpdateVMOwnerNotModified describes a response with status code 304, with default header values.

Not modified

func NewUpdateVMOwnerNotModified added in v2.1.0

func NewUpdateVMOwnerNotModified() *UpdateVMOwnerNotModified

NewUpdateVMOwnerNotModified creates a UpdateVMOwnerNotModified with default headers values

func (*UpdateVMOwnerNotModified) Error added in v2.1.0

func (o *UpdateVMOwnerNotModified) Error() string

type UpdateVMOwnerOK added in v2.1.0

type UpdateVMOwnerOK struct {
	XTowerRequestID string

	Payload []*models.WithTaskVM
}
UpdateVMOwnerOK describes a response with status code 200, with default header values.

UpdateVMOwnerOK update Vm owner o k

func NewUpdateVMOwnerOK added in v2.1.0

func NewUpdateVMOwnerOK() *UpdateVMOwnerOK

NewUpdateVMOwnerOK creates a UpdateVMOwnerOK with default headers values

func (*UpdateVMOwnerOK) Error added in v2.1.0

func (o *UpdateVMOwnerOK) Error() string

func (*UpdateVMOwnerOK) GetPayload added in v2.1.0

func (o *UpdateVMOwnerOK) GetPayload() []*models.WithTaskVM

type UpdateVMOwnerParams added in v2.1.0

type UpdateVMOwnerParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.VMUpdateOwnerParams

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UpdateVMOwnerParams contains all the parameters to send to the API endpoint

for the update Vm owner operation.

Typically these are written to a http.Request.

func NewUpdateVMOwnerParams added in v2.1.0

func NewUpdateVMOwnerParams() *UpdateVMOwnerParams

NewUpdateVMOwnerParams creates a new UpdateVMOwnerParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewUpdateVMOwnerParamsWithContext added in v2.1.0

func NewUpdateVMOwnerParamsWithContext(ctx context.Context) *UpdateVMOwnerParams

NewUpdateVMOwnerParamsWithContext creates a new UpdateVMOwnerParams object with the ability to set a context for a request.

func NewUpdateVMOwnerParamsWithHTTPClient added in v2.1.0

func NewUpdateVMOwnerParamsWithHTTPClient(client *http.Client) *UpdateVMOwnerParams

NewUpdateVMOwnerParamsWithHTTPClient creates a new UpdateVMOwnerParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateVMOwnerParamsWithTimeout added in v2.1.0

func NewUpdateVMOwnerParamsWithTimeout(timeout time.Duration) *UpdateVMOwnerParams

NewUpdateVMOwnerParamsWithTimeout creates a new UpdateVMOwnerParams object with the ability to set a timeout on a request.

func (*UpdateVMOwnerParams) SetContentLanguage added in v2.1.0

func (o *UpdateVMOwnerParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the update Vm owner params

func (*UpdateVMOwnerParams) SetContext added in v2.1.0

func (o *UpdateVMOwnerParams) SetContext(ctx context.Context)

SetContext adds the context to the update Vm owner params

func (*UpdateVMOwnerParams) SetDefaults added in v2.1.0

func (o *UpdateVMOwnerParams) SetDefaults()

SetDefaults hydrates default values in the update Vm owner params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateVMOwnerParams) SetHTTPClient added in v2.1.0

func (o *UpdateVMOwnerParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the update Vm owner params

func (*UpdateVMOwnerParams) SetRequestBody added in v2.1.0

func (o *UpdateVMOwnerParams) SetRequestBody(requestBody *models.VMUpdateOwnerParams)

SetRequestBody adds the requestBody to the update Vm owner params

func (*UpdateVMOwnerParams) SetTimeout added in v2.1.0

func (o *UpdateVMOwnerParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the update Vm owner params

func (*UpdateVMOwnerParams) WithContentLanguage added in v2.1.0

func (o *UpdateVMOwnerParams) WithContentLanguage(contentLanguage *string) *UpdateVMOwnerParams

WithContentLanguage adds the contentLanguage to the update Vm owner params

func (*UpdateVMOwnerParams) WithContext added in v2.1.0

WithContext adds the context to the update Vm owner params

func (*UpdateVMOwnerParams) WithDefaults added in v2.1.0

func (o *UpdateVMOwnerParams) WithDefaults() *UpdateVMOwnerParams

WithDefaults hydrates default values in the update Vm owner params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateVMOwnerParams) WithHTTPClient added in v2.1.0

func (o *UpdateVMOwnerParams) WithHTTPClient(client *http.Client) *UpdateVMOwnerParams

WithHTTPClient adds the HTTPClient to the update Vm owner params

func (*UpdateVMOwnerParams) WithRequestBody added in v2.1.0

func (o *UpdateVMOwnerParams) WithRequestBody(requestBody *models.VMUpdateOwnerParams) *UpdateVMOwnerParams

WithRequestBody adds the requestBody to the update Vm owner params

func (*UpdateVMOwnerParams) WithTimeout added in v2.1.0

func (o *UpdateVMOwnerParams) WithTimeout(timeout time.Duration) *UpdateVMOwnerParams

WithTimeout adds the timeout to the update Vm owner params

func (*UpdateVMOwnerParams) WriteToRequest added in v2.1.0

func (o *UpdateVMOwnerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type UpdateVMOwnerReader added in v2.1.0

type UpdateVMOwnerReader struct {
	// contains filtered or unexported fields
}

UpdateVMOwnerReader is a Reader for the UpdateVMOwner structure.

func (*UpdateVMOwnerReader) ReadResponse added in v2.1.0

func (o *UpdateVMOwnerReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpdateVMParams

type UpdateVMParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.VMUpdateParams

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UpdateVMParams contains all the parameters to send to the API endpoint

for the update Vm operation.

Typically these are written to a http.Request.

func NewUpdateVMParams

func NewUpdateVMParams() *UpdateVMParams

NewUpdateVMParams creates a new UpdateVMParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewUpdateVMParamsWithContext

func NewUpdateVMParamsWithContext(ctx context.Context) *UpdateVMParams

NewUpdateVMParamsWithContext creates a new UpdateVMParams object with the ability to set a context for a request.

func NewUpdateVMParamsWithHTTPClient

func NewUpdateVMParamsWithHTTPClient(client *http.Client) *UpdateVMParams

NewUpdateVMParamsWithHTTPClient creates a new UpdateVMParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateVMParamsWithTimeout

func NewUpdateVMParamsWithTimeout(timeout time.Duration) *UpdateVMParams

NewUpdateVMParamsWithTimeout creates a new UpdateVMParams object with the ability to set a timeout on a request.

func (*UpdateVMParams) SetContentLanguage

func (o *UpdateVMParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the update Vm params

func (*UpdateVMParams) SetContext

func (o *UpdateVMParams) SetContext(ctx context.Context)

SetContext adds the context to the update Vm params

func (*UpdateVMParams) SetDefaults

func (o *UpdateVMParams) SetDefaults()

SetDefaults hydrates default values in the update Vm params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateVMParams) SetHTTPClient

func (o *UpdateVMParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the update Vm params

func (*UpdateVMParams) SetRequestBody

func (o *UpdateVMParams) SetRequestBody(requestBody *models.VMUpdateParams)

SetRequestBody adds the requestBody to the update Vm params

func (*UpdateVMParams) SetTimeout

func (o *UpdateVMParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the update Vm params

func (*UpdateVMParams) WithContentLanguage

func (o *UpdateVMParams) WithContentLanguage(contentLanguage *string) *UpdateVMParams

WithContentLanguage adds the contentLanguage to the update Vm params

func (*UpdateVMParams) WithContext

func (o *UpdateVMParams) WithContext(ctx context.Context) *UpdateVMParams

WithContext adds the context to the update Vm params

func (*UpdateVMParams) WithDefaults

func (o *UpdateVMParams) WithDefaults() *UpdateVMParams

WithDefaults hydrates default values in the update Vm params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateVMParams) WithHTTPClient

func (o *UpdateVMParams) WithHTTPClient(client *http.Client) *UpdateVMParams

WithHTTPClient adds the HTTPClient to the update Vm params

func (*UpdateVMParams) WithRequestBody

func (o *UpdateVMParams) WithRequestBody(requestBody *models.VMUpdateParams) *UpdateVMParams

WithRequestBody adds the requestBody to the update Vm params

func (*UpdateVMParams) WithTimeout

func (o *UpdateVMParams) WithTimeout(timeout time.Duration) *UpdateVMParams

WithTimeout adds the timeout to the update Vm params

func (*UpdateVMParams) WriteToRequest

func (o *UpdateVMParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type UpdateVMReader

type UpdateVMReader struct {
	// contains filtered or unexported fields
}

UpdateVMReader is a Reader for the UpdateVM structure.

func (*UpdateVMReader) ReadResponse

func (o *UpdateVMReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

Source Files

Jump to

Keyboard shortcuts

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