vm

package
v2.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2022 License: ISC Imports: 11 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 {
	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 {
	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 {
	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 {
	Payload []*models.Task
}
AbortMigrateVMAcrossClusterOK describes a response with status code 200, with default header values.

Ok

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 {
	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 {
	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 {
	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 AddVMCdRomOK

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

Ok

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 {
	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 {
	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 {
	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 {
	Payload []*models.WithTaskVM
}
AddVMDiskOK describes a response with status code 200, with default header values.

Ok

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 AddVMNicBadRequest

type AddVMNicBadRequest struct {
	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 {
	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 {
	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 {
	Payload []*models.WithTaskVM
}
AddVMNicOK describes a response with status code 200, with default header values.

Ok

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 AddVMToFolderBadRequest

type AddVMToFolderBadRequest struct {
	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 {
	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 {
	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 {
	Payload []*models.WithTaskVM
}
AddVMToFolderOK describes a response with status code 200, with default header values.

Ok

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) AddVMNic

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

AddVMNic add Vm 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) ForceRestartVM

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

ForceRestartVM force restart Vm 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) 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) RemoveVMNic

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

RemoveVMNic remove Vm 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) 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) 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)

	AddVMNic(params *AddVMNicParams, opts ...ClientOption) (*AddVMNicOK, 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)

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

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

	GetVmsConnection(params *GetVmsConnectionParams, opts ...ClientOption) (*GetVmsConnectionOK, 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)

	RemoveVMNic(params *RemoveVMNicParams, opts ...ClientOption) (*RemoveVMNicOK, 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)

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

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

	UpdateVMNicBasicInfo(params *UpdateVMNicBasicInfoParams, opts ...ClientOption) (*UpdateVMNicBasicInfoOK, 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 {
	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 {
	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 {
	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 {
	Payload []*models.WithTaskVM
}
CloneVMOK describes a response with status code 200, with default header values.

Ok

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 {
	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 {
	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 {
	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 {
	Payload []*models.WithTaskVM
}
ConvertVMTemplateToVMOK describes a response with status code 200, with default header values.

Ok

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 {
	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 {
	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 {
	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 {
	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 {
	Payload []*models.WithTaskVM
}
CreateVMFromContentLibraryTemplateOK describes a response with status code 200, with default header values.

Ok

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 {
	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 {
	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 {
	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 {
	Payload []*models.WithTaskVM
}
CreateVMFromTemplateOK describes a response with status code 200, with default header values.

Ok

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 {
	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 {
	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 {
	Payload []*models.WithTaskVM
}
CreateVMOK describes a response with status code 200, with default header values.

Ok

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 {
	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 {
	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 {
	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 {
	Payload []*models.WithTaskDeleteVM
}
DeleteVMOK describes a response with status code 200, with default header values.

Ok

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.VMOperateParams

	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.VMOperateParams)

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.VMOperateParams) *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 {
	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 {
	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 {
	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 {
	Payload []*models.WithTaskVM
}
EjectIsoFromVMCdRomOK describes a response with status code 200, with default header values.

Ok

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 {
	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 {
	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 {
	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 {
	Payload []*models.WithTaskVM
}
ExpandVMDiskOK describes a response with status code 200, with default header values.

Ok

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 ForceRestartVMBadRequest

type ForceRestartVMBadRequest struct {
	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 {
	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 {
	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 {
	Payload []*models.WithTaskVM
}
ForceRestartVMOK describes a response with status code 200, with default header values.

Ok

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 GetVmsBadRequest

type GetVmsBadRequest struct {
	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 {
	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 {
	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 {
	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 {
	Payload *models.VMConnection
}
GetVmsConnectionOK describes a response with status code 200, with default header values.

Ok

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 {
	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 {
	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 {
	Payload []*models.VM
}
GetVmsOK describes a response with status code 200, with default header values.

Ok

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 InstallVmtoolsBadRequest

type InstallVmtoolsBadRequest struct {
	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 {
	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 {
	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 {
	Payload []*models.WithTaskVM
}
InstallVmtoolsOK describes a response with status code 200, with default header values.

Ok

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 {
	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 {
	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 {
	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 {
	Payload []*models.WithTaskVM
}
MigrateVMAcrossClusterOK describes a response with status code 200, with default header values.

Ok

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 {
	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 {
	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 {
	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 {
	Payload []*models.WithTaskVM
}
MigrateVMOK describes a response with status code 200, with default header values.

Ok

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 {
	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 {
	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 {
	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 {
	Payload []*models.WithTaskDeleteVM
}
MoveVMToRecycleBinOK describes a response with status code 200, with default header values.

Ok

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 {
	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 {
	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 {
	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 {
	Payload []*models.WithTaskVM
}
PoweroffVMOK describes a response with status code 200, with default header values.

Ok

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 {
	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 {
	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 {
	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 {
	Payload []*models.WithTaskVM
}
RebuildVMOK describes a response with status code 200, with default header values.

Ok

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 {
	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 {
	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 {
	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 {
	Payload []*models.WithTaskDeleteVM
}
RecoverVMFromRecycleBinOK describes a response with status code 200, with default header values.

Ok

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 {
	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 {
	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 {
	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 {
	Payload []*models.WithTaskVM
}
RemoveVMCdRomOK describes a response with status code 200, with default header values.

Ok

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 {
	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 {
	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 {
	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 {
	Payload []*models.WithTaskVM
}
RemoveVMDiskOK describes a response with status code 200, with default header values.

Ok

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 RemoveVMNicBadRequest

type RemoveVMNicBadRequest struct {
	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 RemoveVMNicInternalServerError

type RemoveVMNicInternalServerError struct {
	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 {
	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 {
	Payload []*models.WithTaskVM
}
RemoveVMNicOK describes a response with status code 200, with default header values.

Ok

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 RemoveVMToFolderBadRequest

type RemoveVMToFolderBadRequest struct {
	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 {
	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 {
	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 {
	Payload []*models.WithTaskVM
}
RemoveVMToFolderOK describes a response with status code 200, with default header values.

Ok

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 {
	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 {
	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 {
	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 {
	Payload []interface{}
}
ResetVMGuestOsPasswordOK describes a response with status code 200, with default header values.

Ok

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() []interface{}

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 {
	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 {
	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 {
	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 {
	Payload []*models.WithTaskVM
}
RestartVMOK describes a response with status code 200, with default header values.

Ok

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 {
	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 {
	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 {
	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 {
	Payload []*models.WithTaskVM
}
ResumeVMOK describes a response with status code 200, with default header values.

Ok

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 {
	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 {
	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 {
	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 {
	Payload []*models.WithTaskVM
}
RollbackVMOK describes a response with status code 200, with default header values.

Ok

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 {
	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 {
	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 {
	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 {
	Payload []*models.WithTaskVM
}
ShutDownVMOK describes a response with status code 200, with default header values.

Ok

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 {
	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 {
	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 {
	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 {
	Payload []*models.WithTaskVM
}
StartVMOK describes a response with status code 200, with default header values.

Ok

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 {
	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 {
	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 {
	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 {
	Payload []*models.WithTaskVM
}
StopVMInCutoverMigrationOK describes a response with status code 200, with default header values.

Ok

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 {
	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 {
	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 {
	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 {
	Payload []*models.WithTaskVM
}
SuspendVMOK describes a response with status code 200, with default header values.

Ok

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 {
	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 {
	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 {
	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 {
	Payload []*models.WithTaskVM
}
ToggleVMCdRomDisableOK describes a response with status code 200, with default header values.

Ok

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 {
	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 {
	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 {
	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 {
	Payload []*models.WithTaskVM
}
UpdateVMAdvancedOptionsOK describes a response with status code 200, with default header values.

Ok

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 {
	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 {
	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 {
	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 {
	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 {
	Payload []*models.WithTaskVM
}
UpdateVMDiskOK describes a response with status code 200, with default header values.

Ok

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 {
	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 {
	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 {
	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 {
	Payload []*models.WithTaskVM
}
UpdateVMHostOptionsOK describes a response with status code 200, with default header values.

Ok

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 {
	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 UpdateVMNicAdvanceInfoBadRequest

type UpdateVMNicAdvanceInfoBadRequest struct {
	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 {
	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 {
	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 {
	Payload []*UpdateVMNicAdvanceInfoOKBodyItems0
}
UpdateVMNicAdvanceInfoOK describes a response with status code 200, with default header values.

Ok

func NewUpdateVMNicAdvanceInfoOK

func NewUpdateVMNicAdvanceInfoOK() *UpdateVMNicAdvanceInfoOK

NewUpdateVMNicAdvanceInfoOK creates a UpdateVMNicAdvanceInfoOK with default headers values

func (*UpdateVMNicAdvanceInfoOK) Error

func (o *UpdateVMNicAdvanceInfoOK) Error() string

func (*UpdateVMNicAdvanceInfoOK) GetPayload

type UpdateVMNicAdvanceInfoOKBodyItems0

type UpdateVMNicAdvanceInfoOKBodyItems0 struct {

	// data
	// Required: true
	Data interface{} `json:"data"`

	// task id
	// Required: true
	TaskID interface{} `json:"task_id"`
}

UpdateVMNicAdvanceInfoOKBodyItems0 update VM nic advance info o k body items0 swagger:model UpdateVMNicAdvanceInfoOKBodyItems0

func (*UpdateVMNicAdvanceInfoOKBodyItems0) ContextValidate

func (o *UpdateVMNicAdvanceInfoOKBodyItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this update VM nic advance info o k body items0 based on context it is used

func (*UpdateVMNicAdvanceInfoOKBodyItems0) MarshalBinary

func (o *UpdateVMNicAdvanceInfoOKBodyItems0) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateVMNicAdvanceInfoOKBodyItems0) UnmarshalBinary

func (o *UpdateVMNicAdvanceInfoOKBodyItems0) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateVMNicAdvanceInfoOKBodyItems0) Validate

Validate validates this update VM nic advance info o k body items0

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 {
	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 {
	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 {
	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 {
	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 {
	Payload []*UpdateVMNicBasicInfoOKBodyItems0
}
UpdateVMNicBasicInfoOK describes a response with status code 200, with default header values.

Ok

func NewUpdateVMNicBasicInfoOK

func NewUpdateVMNicBasicInfoOK() *UpdateVMNicBasicInfoOK

NewUpdateVMNicBasicInfoOK creates a UpdateVMNicBasicInfoOK with default headers values

func (*UpdateVMNicBasicInfoOK) Error

func (o *UpdateVMNicBasicInfoOK) Error() string

func (*UpdateVMNicBasicInfoOK) GetPayload

type UpdateVMNicBasicInfoOKBodyItems0

type UpdateVMNicBasicInfoOKBodyItems0 struct {

	// data
	// Required: true
	Data interface{} `json:"data"`

	// task id
	// Required: true
	TaskID interface{} `json:"task_id"`
}

UpdateVMNicBasicInfoOKBodyItems0 update VM nic basic info o k body items0 swagger:model UpdateVMNicBasicInfoOKBodyItems0

func (*UpdateVMNicBasicInfoOKBodyItems0) ContextValidate

func (o *UpdateVMNicBasicInfoOKBodyItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this update VM nic basic info o k body items0 based on context it is used

func (*UpdateVMNicBasicInfoOKBodyItems0) MarshalBinary

func (o *UpdateVMNicBasicInfoOKBodyItems0) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateVMNicBasicInfoOKBodyItems0) UnmarshalBinary

func (o *UpdateVMNicBasicInfoOKBodyItems0) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateVMNicBasicInfoOKBodyItems0) Validate

Validate validates this update VM nic basic info o k body items0

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 {
	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 {
	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 {
	Payload []*models.WithTaskVM
}
UpdateVMNicOK describes a response with status code 200, with default header values.

Ok

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 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 {
	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 {
	Payload []*models.WithTaskVM
}
UpdateVMOK describes a response with status code 200, with default header values.

Ok

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 {
	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 {
	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 {
}
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

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 {
	Payload []interface{}
}
UpdateVMOwnerOK describes a response with status code 200, with default header values.

Ok

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() []interface{}

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