vm

package
v1.10.0 Latest Latest
Warning

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

Go to latest
Published: May 13, 2022 License: ISC Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

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 added in v1.10.0

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

Server error

func NewAddVMCdRomInternalServerError added in v1.10.0

func NewAddVMCdRomInternalServerError() *AddVMCdRomInternalServerError

NewAddVMCdRomInternalServerError creates a AddVMCdRomInternalServerError with default headers values

func (*AddVMCdRomInternalServerError) Error added in v1.10.0

func (*AddVMCdRomInternalServerError) GetPayload added in v1.10.0

type AddVMCdRomNotFound added in v1.10.0

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

Not found

func NewAddVMCdRomNotFound added in v1.10.0

func NewAddVMCdRomNotFound() *AddVMCdRomNotFound

NewAddVMCdRomNotFound creates a AddVMCdRomNotFound with default headers values

func (*AddVMCdRomNotFound) Error added in v1.10.0

func (o *AddVMCdRomNotFound) Error() string

func (*AddVMCdRomNotFound) GetPayload added in v1.10.0

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 added in v1.10.0

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

Server error

func NewAddVMDiskInternalServerError added in v1.10.0

func NewAddVMDiskInternalServerError() *AddVMDiskInternalServerError

NewAddVMDiskInternalServerError creates a AddVMDiskInternalServerError with default headers values

func (*AddVMDiskInternalServerError) Error added in v1.10.0

func (*AddVMDiskInternalServerError) GetPayload added in v1.10.0

type AddVMDiskNotFound added in v1.10.0

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

Not found

func NewAddVMDiskNotFound added in v1.10.0

func NewAddVMDiskNotFound() *AddVMDiskNotFound

NewAddVMDiskNotFound creates a AddVMDiskNotFound with default headers values

func (*AddVMDiskNotFound) Error added in v1.10.0

func (o *AddVMDiskNotFound) Error() string

func (*AddVMDiskNotFound) GetPayload added in v1.10.0

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 added in v1.10.0

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

Server error

func NewAddVMNicInternalServerError added in v1.10.0

func NewAddVMNicInternalServerError() *AddVMNicInternalServerError

NewAddVMNicInternalServerError creates a AddVMNicInternalServerError with default headers values

func (*AddVMNicInternalServerError) Error added in v1.10.0

func (*AddVMNicInternalServerError) GetPayload added in v1.10.0

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

type AddVMNicNotFound added in v1.10.0

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

Not found

func NewAddVMNicNotFound added in v1.10.0

func NewAddVMNicNotFound() *AddVMNicNotFound

NewAddVMNicNotFound creates a AddVMNicNotFound with default headers values

func (*AddVMNicNotFound) Error added in v1.10.0

func (o *AddVMNicNotFound) Error() string

func (*AddVMNicNotFound) GetPayload added in v1.10.0

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 added in v1.10.0

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

Server error

func NewAddVMToFolderInternalServerError added in v1.10.0

func NewAddVMToFolderInternalServerError() *AddVMToFolderInternalServerError

NewAddVMToFolderInternalServerError creates a AddVMToFolderInternalServerError with default headers values

func (*AddVMToFolderInternalServerError) Error added in v1.10.0

func (*AddVMToFolderInternalServerError) GetPayload added in v1.10.0

type AddVMToFolderNotFound added in v1.10.0

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

Not found

func NewAddVMToFolderNotFound added in v1.10.0

func NewAddVMToFolderNotFound() *AddVMToFolderNotFound

NewAddVMToFolderNotFound creates a AddVMToFolderNotFound with default headers values

func (*AddVMToFolderNotFound) Error added in v1.10.0

func (o *AddVMToFolderNotFound) Error() string

func (*AddVMToFolderNotFound) GetPayload added in v1.10.0

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) 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) 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 added in v1.10.0

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

EjectIsoFromVMCdRom eject iso from Vm cd rom API

func (*Client) ExpandVMDisk added in v1.10.0

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

func (a *Client) MigRateVM(params *MigRateVMParams, opts ...ClientOption) (*MigRateVMOK, error)

MigRateVM mig rate Vm API

func (*Client) MoveVMToRecycleBin

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

MoveVMToRecycleBin move Vm to recycle bin API

func (*Client) PoweroffVM added in v1.10.0

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

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

SuspendVM suspend Vm API

func (*Client) ToggleVMCdRomDisable added in v1.10.0

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 added in v1.10.0

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

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

UpdateVMNic update Vm nic API

func (*Client) UpdateVMNicAdvanceInfo added in v1.10.0

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

UpdateVMNicAdvanceInfo update Vm nic advance info API

func (*Client) UpdateVMNicBasicInfo added in v1.10.0

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

UpdateVMNicBasicInfo update Vm nic basic info API

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	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)

	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)

	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)

	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)

	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)

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

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

	UpdateVMNicBasicInfo(params *UpdateVMNicBasicInfoParams, opts ...ClientOption) (*UpdateVMNicBasicInfoOK, 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 added in v1.10.0

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

Server error

func NewCloneVMInternalServerError added in v1.10.0

func NewCloneVMInternalServerError() *CloneVMInternalServerError

NewCloneVMInternalServerError creates a CloneVMInternalServerError with default headers values

func (*CloneVMInternalServerError) Error added in v1.10.0

func (*CloneVMInternalServerError) GetPayload added in v1.10.0

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

type CloneVMNotFound added in v1.10.0

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

Not found

func NewCloneVMNotFound added in v1.10.0

func NewCloneVMNotFound() *CloneVMNotFound

NewCloneVMNotFound creates a CloneVMNotFound with default headers values

func (*CloneVMNotFound) Error added in v1.10.0

func (o *CloneVMNotFound) Error() string

func (*CloneVMNotFound) GetPayload added in v1.10.0

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 added in v1.10.0

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

Server error

func NewConvertVMTemplateToVMInternalServerError added in v1.10.0

func NewConvertVMTemplateToVMInternalServerError() *ConvertVMTemplateToVMInternalServerError

NewConvertVMTemplateToVMInternalServerError creates a ConvertVMTemplateToVMInternalServerError with default headers values

func (*ConvertVMTemplateToVMInternalServerError) Error added in v1.10.0

func (*ConvertVMTemplateToVMInternalServerError) GetPayload added in v1.10.0

type ConvertVMTemplateToVMNotFound added in v1.10.0

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

Not found

func NewConvertVMTemplateToVMNotFound added in v1.10.0

func NewConvertVMTemplateToVMNotFound() *ConvertVMTemplateToVMNotFound

NewConvertVMTemplateToVMNotFound creates a ConvertVMTemplateToVMNotFound with default headers values

func (*ConvertVMTemplateToVMNotFound) Error added in v1.10.0

func (*ConvertVMTemplateToVMNotFound) GetPayload added in v1.10.0

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 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 added in v1.10.0

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

Server error

func NewCreateVMFromTemplateInternalServerError added in v1.10.0

func NewCreateVMFromTemplateInternalServerError() *CreateVMFromTemplateInternalServerError

NewCreateVMFromTemplateInternalServerError creates a CreateVMFromTemplateInternalServerError with default headers values

func (*CreateVMFromTemplateInternalServerError) Error added in v1.10.0

func (*CreateVMFromTemplateInternalServerError) GetPayload added in v1.10.0

type CreateVMFromTemplateNotFound added in v1.10.0

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

Not found

func NewCreateVMFromTemplateNotFound added in v1.10.0

func NewCreateVMFromTemplateNotFound() *CreateVMFromTemplateNotFound

NewCreateVMFromTemplateNotFound creates a CreateVMFromTemplateNotFound with default headers values

func (*CreateVMFromTemplateNotFound) Error added in v1.10.0

func (*CreateVMFromTemplateNotFound) GetPayload added in v1.10.0

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 added in v1.10.0

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

Server error

func NewCreateVMInternalServerError added in v1.10.0

func NewCreateVMInternalServerError() *CreateVMInternalServerError

NewCreateVMInternalServerError creates a CreateVMInternalServerError with default headers values

func (*CreateVMInternalServerError) Error added in v1.10.0

func (*CreateVMInternalServerError) GetPayload added in v1.10.0

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

type CreateVMNotFound added in v1.10.0

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

Not found

func NewCreateVMNotFound added in v1.10.0

func NewCreateVMNotFound() *CreateVMNotFound

NewCreateVMNotFound creates a CreateVMNotFound with default headers values

func (*CreateVMNotFound) Error added in v1.10.0

func (o *CreateVMNotFound) Error() string

func (*CreateVMNotFound) GetPayload added in v1.10.0

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 added in v1.10.0

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

Server error

func NewDeleteVMInternalServerError added in v1.10.0

func NewDeleteVMInternalServerError() *DeleteVMInternalServerError

NewDeleteVMInternalServerError creates a DeleteVMInternalServerError with default headers values

func (*DeleteVMInternalServerError) Error added in v1.10.0

func (*DeleteVMInternalServerError) GetPayload added in v1.10.0

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

type DeleteVMNotFound added in v1.10.0

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

Not found

func NewDeleteVMNotFound added in v1.10.0

func NewDeleteVMNotFound() *DeleteVMNotFound

NewDeleteVMNotFound creates a DeleteVMNotFound with default headers values

func (*DeleteVMNotFound) Error added in v1.10.0

func (o *DeleteVMNotFound) Error() string

func (*DeleteVMNotFound) GetPayload added in v1.10.0

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 added in v1.10.0

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

Bad request

func NewEjectIsoFromVMCdRomBadRequest added in v1.10.0

func NewEjectIsoFromVMCdRomBadRequest() *EjectIsoFromVMCdRomBadRequest

NewEjectIsoFromVMCdRomBadRequest creates a EjectIsoFromVMCdRomBadRequest with default headers values

func (*EjectIsoFromVMCdRomBadRequest) Error added in v1.10.0

func (*EjectIsoFromVMCdRomBadRequest) GetPayload added in v1.10.0

type EjectIsoFromVMCdRomInternalServerError added in v1.10.0

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

Server error

func NewEjectIsoFromVMCdRomInternalServerError added in v1.10.0

func NewEjectIsoFromVMCdRomInternalServerError() *EjectIsoFromVMCdRomInternalServerError

NewEjectIsoFromVMCdRomInternalServerError creates a EjectIsoFromVMCdRomInternalServerError with default headers values

func (*EjectIsoFromVMCdRomInternalServerError) Error added in v1.10.0

func (*EjectIsoFromVMCdRomInternalServerError) GetPayload added in v1.10.0

type EjectIsoFromVMCdRomNotFound added in v1.10.0

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

Not found

func NewEjectIsoFromVMCdRomNotFound added in v1.10.0

func NewEjectIsoFromVMCdRomNotFound() *EjectIsoFromVMCdRomNotFound

NewEjectIsoFromVMCdRomNotFound creates a EjectIsoFromVMCdRomNotFound with default headers values

func (*EjectIsoFromVMCdRomNotFound) Error added in v1.10.0

func (*EjectIsoFromVMCdRomNotFound) GetPayload added in v1.10.0

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

type EjectIsoFromVMCdRomOK added in v1.10.0

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

Ok

func NewEjectIsoFromVMCdRomOK added in v1.10.0

func NewEjectIsoFromVMCdRomOK() *EjectIsoFromVMCdRomOK

NewEjectIsoFromVMCdRomOK creates a EjectIsoFromVMCdRomOK with default headers values

func (*EjectIsoFromVMCdRomOK) Error added in v1.10.0

func (o *EjectIsoFromVMCdRomOK) Error() string

func (*EjectIsoFromVMCdRomOK) GetPayload added in v1.10.0

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

type EjectIsoFromVMCdRomParams added in v1.10.0

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 added in v1.10.0

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 added in v1.10.0

func NewEjectIsoFromVMCdRomParamsWithContext(ctx context.Context) *EjectIsoFromVMCdRomParams

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

func NewEjectIsoFromVMCdRomParamsWithHTTPClient added in v1.10.0

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 added in v1.10.0

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 added in v1.10.0

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

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

func (*EjectIsoFromVMCdRomParams) SetContext added in v1.10.0

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

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

func (*EjectIsoFromVMCdRomParams) SetDefaults added in v1.10.0

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 added in v1.10.0

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

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

func (*EjectIsoFromVMCdRomParams) SetRequestBody added in v1.10.0

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

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

func (*EjectIsoFromVMCdRomParams) SetTimeout added in v1.10.0

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

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

func (*EjectIsoFromVMCdRomParams) WithContentLanguage added in v1.10.0

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

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

func (*EjectIsoFromVMCdRomParams) WithContext added in v1.10.0

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

func (*EjectIsoFromVMCdRomParams) WithDefaults added in v1.10.0

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 added in v1.10.0

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

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

func (*EjectIsoFromVMCdRomParams) WithRequestBody added in v1.10.0

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

func (*EjectIsoFromVMCdRomParams) WithTimeout added in v1.10.0

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

func (*EjectIsoFromVMCdRomParams) WriteToRequest added in v1.10.0

WriteToRequest writes these params to a swagger request

type EjectIsoFromVMCdRomReader added in v1.10.0

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

EjectIsoFromVMCdRomReader is a Reader for the EjectIsoFromVMCdRom structure.

func (*EjectIsoFromVMCdRomReader) ReadResponse added in v1.10.0

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

ReadResponse reads a server response into the received o.

type ExpandVMDiskBadRequest added in v1.10.0

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

Bad request

func NewExpandVMDiskBadRequest added in v1.10.0

func NewExpandVMDiskBadRequest() *ExpandVMDiskBadRequest

NewExpandVMDiskBadRequest creates a ExpandVMDiskBadRequest with default headers values

func (*ExpandVMDiskBadRequest) Error added in v1.10.0

func (o *ExpandVMDiskBadRequest) Error() string

func (*ExpandVMDiskBadRequest) GetPayload added in v1.10.0

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

type ExpandVMDiskInternalServerError added in v1.10.0

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

Server error

func NewExpandVMDiskInternalServerError added in v1.10.0

func NewExpandVMDiskInternalServerError() *ExpandVMDiskInternalServerError

NewExpandVMDiskInternalServerError creates a ExpandVMDiskInternalServerError with default headers values

func (*ExpandVMDiskInternalServerError) Error added in v1.10.0

func (*ExpandVMDiskInternalServerError) GetPayload added in v1.10.0

type ExpandVMDiskNotFound added in v1.10.0

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

Not found

func NewExpandVMDiskNotFound added in v1.10.0

func NewExpandVMDiskNotFound() *ExpandVMDiskNotFound

NewExpandVMDiskNotFound creates a ExpandVMDiskNotFound with default headers values

func (*ExpandVMDiskNotFound) Error added in v1.10.0

func (o *ExpandVMDiskNotFound) Error() string

func (*ExpandVMDiskNotFound) GetPayload added in v1.10.0

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

type ExpandVMDiskOK added in v1.10.0

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

Ok

func NewExpandVMDiskOK added in v1.10.0

func NewExpandVMDiskOK() *ExpandVMDiskOK

NewExpandVMDiskOK creates a ExpandVMDiskOK with default headers values

func (*ExpandVMDiskOK) Error added in v1.10.0

func (o *ExpandVMDiskOK) Error() string

func (*ExpandVMDiskOK) GetPayload added in v1.10.0

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

type ExpandVMDiskParams added in v1.10.0

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 added in v1.10.0

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 added in v1.10.0

func NewExpandVMDiskParamsWithContext(ctx context.Context) *ExpandVMDiskParams

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

func NewExpandVMDiskParamsWithHTTPClient added in v1.10.0

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 added in v1.10.0

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 added in v1.10.0

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

SetContentLanguage adds the contentLanguage to the expand Vm disk params

func (*ExpandVMDiskParams) SetContext added in v1.10.0

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

SetContext adds the context to the expand Vm disk params

func (*ExpandVMDiskParams) SetDefaults added in v1.10.0

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 added in v1.10.0

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

SetHTTPClient adds the HTTPClient to the expand Vm disk params

func (*ExpandVMDiskParams) SetRequestBody added in v1.10.0

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

SetRequestBody adds the requestBody to the expand Vm disk params

func (*ExpandVMDiskParams) SetTimeout added in v1.10.0

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

SetTimeout adds the timeout to the expand Vm disk params

func (*ExpandVMDiskParams) WithContentLanguage added in v1.10.0

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

WithContentLanguage adds the contentLanguage to the expand Vm disk params

func (*ExpandVMDiskParams) WithContext added in v1.10.0

WithContext adds the context to the expand Vm disk params

func (*ExpandVMDiskParams) WithDefaults added in v1.10.0

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 added in v1.10.0

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

WithHTTPClient adds the HTTPClient to the expand Vm disk params

func (*ExpandVMDiskParams) WithRequestBody added in v1.10.0

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

WithRequestBody adds the requestBody to the expand Vm disk params

func (*ExpandVMDiskParams) WithTimeout added in v1.10.0

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

WithTimeout adds the timeout to the expand Vm disk params

func (*ExpandVMDiskParams) WriteToRequest added in v1.10.0

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

WriteToRequest writes these params to a swagger request

type ExpandVMDiskReader added in v1.10.0

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

ExpandVMDiskReader is a Reader for the ExpandVMDisk structure.

func (*ExpandVMDiskReader) ReadResponse added in v1.10.0

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 added in v1.10.0

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

Server error

func NewForceRestartVMInternalServerError added in v1.10.0

func NewForceRestartVMInternalServerError() *ForceRestartVMInternalServerError

NewForceRestartVMInternalServerError creates a ForceRestartVMInternalServerError with default headers values

func (*ForceRestartVMInternalServerError) Error added in v1.10.0

func (*ForceRestartVMInternalServerError) GetPayload added in v1.10.0

type ForceRestartVMNotFound added in v1.10.0

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

Not found

func NewForceRestartVMNotFound added in v1.10.0

func NewForceRestartVMNotFound() *ForceRestartVMNotFound

NewForceRestartVMNotFound creates a ForceRestartVMNotFound with default headers values

func (*ForceRestartVMNotFound) Error added in v1.10.0

func (o *ForceRestartVMNotFound) Error() string

func (*ForceRestartVMNotFound) GetPayload added in v1.10.0

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 added in v1.10.0

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

Server error

func NewGetVmsConnectionInternalServerError added in v1.10.0

func NewGetVmsConnectionInternalServerError() *GetVmsConnectionInternalServerError

NewGetVmsConnectionInternalServerError creates a GetVmsConnectionInternalServerError with default headers values

func (*GetVmsConnectionInternalServerError) Error added in v1.10.0

func (*GetVmsConnectionInternalServerError) GetPayload added in v1.10.0

type GetVmsConnectionNotFound added in v1.10.0

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

Not found

func NewGetVmsConnectionNotFound added in v1.10.0

func NewGetVmsConnectionNotFound() *GetVmsConnectionNotFound

NewGetVmsConnectionNotFound creates a GetVmsConnectionNotFound with default headers values

func (*GetVmsConnectionNotFound) Error added in v1.10.0

func (o *GetVmsConnectionNotFound) Error() string

func (*GetVmsConnectionNotFound) GetPayload added in v1.10.0

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 added in v1.10.0

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

Server error

func NewGetVmsInternalServerError added in v1.10.0

func NewGetVmsInternalServerError() *GetVmsInternalServerError

NewGetVmsInternalServerError creates a GetVmsInternalServerError with default headers values

func (*GetVmsInternalServerError) Error added in v1.10.0

func (o *GetVmsInternalServerError) Error() string

func (*GetVmsInternalServerError) GetPayload added in v1.10.0

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

type GetVmsNotFound added in v1.10.0

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

Not found

func NewGetVmsNotFound added in v1.10.0

func NewGetVmsNotFound() *GetVmsNotFound

NewGetVmsNotFound creates a GetVmsNotFound with default headers values

func (*GetVmsNotFound) Error added in v1.10.0

func (o *GetVmsNotFound) Error() string

func (*GetVmsNotFound) GetPayload added in v1.10.0

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 added in v1.10.0

type InstallVmtoolsInternalServerError struct {
	Payload *models.ErrorBody
}
InstallVmtoolsInternalServerError describes a response with status code 500, with default header values.

Server error

func NewInstallVmtoolsInternalServerError added in v1.10.0

func NewInstallVmtoolsInternalServerError() *InstallVmtoolsInternalServerError

NewInstallVmtoolsInternalServerError creates a InstallVmtoolsInternalServerError with default headers values

func (*InstallVmtoolsInternalServerError) Error added in v1.10.0

func (*InstallVmtoolsInternalServerError) GetPayload added in v1.10.0

type InstallVmtoolsNotFound added in v1.10.0

type InstallVmtoolsNotFound struct {
	Payload *models.ErrorBody
}
InstallVmtoolsNotFound describes a response with status code 404, with default header values.

Not found

func NewInstallVmtoolsNotFound added in v1.10.0

func NewInstallVmtoolsNotFound() *InstallVmtoolsNotFound

NewInstallVmtoolsNotFound creates a InstallVmtoolsNotFound with default headers values

func (*InstallVmtoolsNotFound) Error added in v1.10.0

func (o *InstallVmtoolsNotFound) Error() string

func (*InstallVmtoolsNotFound) GetPayload added in v1.10.0

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 MigRateVMBadRequest

type MigRateVMBadRequest struct {
	Payload *models.ErrorBody
}
MigRateVMBadRequest describes a response with status code 400, with default header values.

Bad request

func NewMigRateVMBadRequest

func NewMigRateVMBadRequest() *MigRateVMBadRequest

NewMigRateVMBadRequest creates a MigRateVMBadRequest with default headers values

func (*MigRateVMBadRequest) Error

func (o *MigRateVMBadRequest) Error() string

func (*MigRateVMBadRequest) GetPayload

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

type MigRateVMInternalServerError added in v1.10.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 v1.10.0

func NewMigRateVMInternalServerError() *MigRateVMInternalServerError

NewMigRateVMInternalServerError creates a MigRateVMInternalServerError with default headers values

func (*MigRateVMInternalServerError) Error added in v1.10.0

func (*MigRateVMInternalServerError) GetPayload added in v1.10.0

type MigRateVMNotFound added in v1.10.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 v1.10.0

func NewMigRateVMNotFound() *MigRateVMNotFound

NewMigRateVMNotFound creates a MigRateVMNotFound with default headers values

func (*MigRateVMNotFound) Error added in v1.10.0

func (o *MigRateVMNotFound) Error() string

func (*MigRateVMNotFound) GetPayload added in v1.10.0

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

type MigRateVMOK

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

Ok

func NewMigRateVMOK

func NewMigRateVMOK() *MigRateVMOK

NewMigRateVMOK creates a MigRateVMOK with default headers values

func (*MigRateVMOK) Error

func (o *MigRateVMOK) Error() string

func (*MigRateVMOK) GetPayload

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

type MigRateVMParams

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 mig rate Vm operation.

Typically these are written to a http.Request.

func NewMigRateVMParams

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

func NewMigRateVMParamsWithContext(ctx context.Context) *MigRateVMParams

NewMigRateVMParamsWithContext creates a new MigRateVMParams object with the ability to set a context for a request.

func NewMigRateVMParamsWithHTTPClient

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

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

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

SetContentLanguage adds the contentLanguage to the mig rate Vm params

func (*MigRateVMParams) SetContext

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

SetContext adds the context to the mig rate Vm params

func (*MigRateVMParams) SetDefaults

func (o *MigRateVMParams) SetDefaults()

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

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

func (*MigRateVMParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the mig rate Vm params

func (*MigRateVMParams) SetRequestBody

func (o *MigRateVMParams) SetRequestBody(requestBody *models.VMMigrateParams)

SetRequestBody adds the requestBody to the mig rate Vm params

func (*MigRateVMParams) SetTimeout

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

SetTimeout adds the timeout to the mig rate Vm params

func (*MigRateVMParams) WithContentLanguage

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

WithContentLanguage adds the contentLanguage to the mig rate Vm params

func (*MigRateVMParams) WithContext

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

WithContext adds the context to the mig rate Vm params

func (*MigRateVMParams) WithDefaults

func (o *MigRateVMParams) WithDefaults() *MigRateVMParams

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

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

func (*MigRateVMParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the mig rate Vm params

func (*MigRateVMParams) WithRequestBody

func (o *MigRateVMParams) WithRequestBody(requestBody *models.VMMigrateParams) *MigRateVMParams

WithRequestBody adds the requestBody to the mig rate Vm params

func (*MigRateVMParams) WithTimeout

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

WithTimeout adds the timeout to the mig rate Vm params

func (*MigRateVMParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type MigRateVMReader

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

MigRateVMReader is a Reader for the MigRateVM structure.

func (*MigRateVMReader) ReadResponse

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 added in v1.10.0

type MoveVMToRecycleBinInternalServerError struct {
	Payload *models.ErrorBody
}
MoveVMToRecycleBinInternalServerError describes a response with status code 500, with default header values.

Server error

func NewMoveVMToRecycleBinInternalServerError added in v1.10.0

func NewMoveVMToRecycleBinInternalServerError() *MoveVMToRecycleBinInternalServerError

NewMoveVMToRecycleBinInternalServerError creates a MoveVMToRecycleBinInternalServerError with default headers values

func (*MoveVMToRecycleBinInternalServerError) Error added in v1.10.0

func (*MoveVMToRecycleBinInternalServerError) GetPayload added in v1.10.0

type MoveVMToRecycleBinNotFound added in v1.10.0

type MoveVMToRecycleBinNotFound struct {
	Payload *models.ErrorBody
}
MoveVMToRecycleBinNotFound describes a response with status code 404, with default header values.

Not found

func NewMoveVMToRecycleBinNotFound added in v1.10.0

func NewMoveVMToRecycleBinNotFound() *MoveVMToRecycleBinNotFound

NewMoveVMToRecycleBinNotFound creates a MoveVMToRecycleBinNotFound with default headers values

func (*MoveVMToRecycleBinNotFound) Error added in v1.10.0

func (*MoveVMToRecycleBinNotFound) GetPayload added in v1.10.0

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 added in v1.10.0

type PoweroffVMBadRequest struct {
	Payload *models.ErrorBody
}
PoweroffVMBadRequest describes a response with status code 400, with default header values.

Bad request

func NewPoweroffVMBadRequest added in v1.10.0

func NewPoweroffVMBadRequest() *PoweroffVMBadRequest

NewPoweroffVMBadRequest creates a PoweroffVMBadRequest with default headers values

func (*PoweroffVMBadRequest) Error added in v1.10.0

func (o *PoweroffVMBadRequest) Error() string

func (*PoweroffVMBadRequest) GetPayload added in v1.10.0

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

type PoweroffVMInternalServerError added in v1.10.0

type PoweroffVMInternalServerError struct {
	Payload *models.ErrorBody
}
PoweroffVMInternalServerError describes a response with status code 500, with default header values.

Server error

func NewPoweroffVMInternalServerError added in v1.10.0

func NewPoweroffVMInternalServerError() *PoweroffVMInternalServerError

NewPoweroffVMInternalServerError creates a PoweroffVMInternalServerError with default headers values

func (*PoweroffVMInternalServerError) Error added in v1.10.0

func (*PoweroffVMInternalServerError) GetPayload added in v1.10.0

type PoweroffVMNotFound added in v1.10.0

type PoweroffVMNotFound struct {
	Payload *models.ErrorBody
}
PoweroffVMNotFound describes a response with status code 404, with default header values.

Not found

func NewPoweroffVMNotFound added in v1.10.0

func NewPoweroffVMNotFound() *PoweroffVMNotFound

NewPoweroffVMNotFound creates a PoweroffVMNotFound with default headers values

func (*PoweroffVMNotFound) Error added in v1.10.0

func (o *PoweroffVMNotFound) Error() string

func (*PoweroffVMNotFound) GetPayload added in v1.10.0

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

type PoweroffVMOK added in v1.10.0

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

Ok

func NewPoweroffVMOK added in v1.10.0

func NewPoweroffVMOK() *PoweroffVMOK

NewPoweroffVMOK creates a PoweroffVMOK with default headers values

func (*PoweroffVMOK) Error added in v1.10.0

func (o *PoweroffVMOK) Error() string

func (*PoweroffVMOK) GetPayload added in v1.10.0

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

type PoweroffVMParams added in v1.10.0

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 added in v1.10.0

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 added in v1.10.0

func NewPoweroffVMParamsWithContext(ctx context.Context) *PoweroffVMParams

NewPoweroffVMParamsWithContext creates a new PoweroffVMParams object with the ability to set a context for a request.

func NewPoweroffVMParamsWithHTTPClient added in v1.10.0

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 added in v1.10.0

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 added in v1.10.0

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

SetContentLanguage adds the contentLanguage to the poweroff Vm params

func (*PoweroffVMParams) SetContext added in v1.10.0

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

SetContext adds the context to the poweroff Vm params

func (*PoweroffVMParams) SetDefaults added in v1.10.0

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 added in v1.10.0

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

SetHTTPClient adds the HTTPClient to the poweroff Vm params

func (*PoweroffVMParams) SetRequestBody added in v1.10.0

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

SetRequestBody adds the requestBody to the poweroff Vm params

func (*PoweroffVMParams) SetTimeout added in v1.10.0

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

SetTimeout adds the timeout to the poweroff Vm params

func (*PoweroffVMParams) WithContentLanguage added in v1.10.0

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

WithContentLanguage adds the contentLanguage to the poweroff Vm params

func (*PoweroffVMParams) WithContext added in v1.10.0

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

WithContext adds the context to the poweroff Vm params

func (*PoweroffVMParams) WithDefaults added in v1.10.0

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 added in v1.10.0

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

WithHTTPClient adds the HTTPClient to the poweroff Vm params

func (*PoweroffVMParams) WithRequestBody added in v1.10.0

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

WithRequestBody adds the requestBody to the poweroff Vm params

func (*PoweroffVMParams) WithTimeout added in v1.10.0

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

WithTimeout adds the timeout to the poweroff Vm params

func (*PoweroffVMParams) WriteToRequest added in v1.10.0

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

WriteToRequest writes these params to a swagger request

type PoweroffVMReader added in v1.10.0

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

PoweroffVMReader is a Reader for the PoweroffVM structure.

func (*PoweroffVMReader) ReadResponse added in v1.10.0

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 added in v1.10.0

type RebuildVMInternalServerError struct {
	Payload *models.ErrorBody
}
RebuildVMInternalServerError describes a response with status code 500, with default header values.

Server error

func NewRebuildVMInternalServerError added in v1.10.0

func NewRebuildVMInternalServerError() *RebuildVMInternalServerError

NewRebuildVMInternalServerError creates a RebuildVMInternalServerError with default headers values

func (*RebuildVMInternalServerError) Error added in v1.10.0

func (*RebuildVMInternalServerError) GetPayload added in v1.10.0

type RebuildVMNotFound added in v1.10.0

type RebuildVMNotFound struct {
	Payload *models.ErrorBody
}
RebuildVMNotFound describes a response with status code 404, with default header values.

Not found

func NewRebuildVMNotFound added in v1.10.0

func NewRebuildVMNotFound() *RebuildVMNotFound

NewRebuildVMNotFound creates a RebuildVMNotFound with default headers values

func (*RebuildVMNotFound) Error added in v1.10.0

func (o *RebuildVMNotFound) Error() string

func (*RebuildVMNotFound) GetPayload added in v1.10.0

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 added in v1.10.0

type RecoverVMFromRecycleBinInternalServerError struct {
	Payload *models.ErrorBody
}
RecoverVMFromRecycleBinInternalServerError describes a response with status code 500, with default header values.

Server error

func NewRecoverVMFromRecycleBinInternalServerError added in v1.10.0

func NewRecoverVMFromRecycleBinInternalServerError() *RecoverVMFromRecycleBinInternalServerError

NewRecoverVMFromRecycleBinInternalServerError creates a RecoverVMFromRecycleBinInternalServerError with default headers values

func (*RecoverVMFromRecycleBinInternalServerError) Error added in v1.10.0

func (*RecoverVMFromRecycleBinInternalServerError) GetPayload added in v1.10.0

type RecoverVMFromRecycleBinNotFound added in v1.10.0

type RecoverVMFromRecycleBinNotFound struct {
	Payload *models.ErrorBody
}
RecoverVMFromRecycleBinNotFound describes a response with status code 404, with default header values.

Not found

func NewRecoverVMFromRecycleBinNotFound added in v1.10.0

func NewRecoverVMFromRecycleBinNotFound() *RecoverVMFromRecycleBinNotFound

NewRecoverVMFromRecycleBinNotFound creates a RecoverVMFromRecycleBinNotFound with default headers values

func (*RecoverVMFromRecycleBinNotFound) Error added in v1.10.0

func (*RecoverVMFromRecycleBinNotFound) GetPayload added in v1.10.0

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 added in v1.10.0

type RemoveVMCdRomInternalServerError struct {
	Payload *models.ErrorBody
}
RemoveVMCdRomInternalServerError describes a response with status code 500, with default header values.

Server error

func NewRemoveVMCdRomInternalServerError added in v1.10.0

func NewRemoveVMCdRomInternalServerError() *RemoveVMCdRomInternalServerError

NewRemoveVMCdRomInternalServerError creates a RemoveVMCdRomInternalServerError with default headers values

func (*RemoveVMCdRomInternalServerError) Error added in v1.10.0

func (*RemoveVMCdRomInternalServerError) GetPayload added in v1.10.0

type RemoveVMCdRomNotFound added in v1.10.0

type RemoveVMCdRomNotFound struct {
	Payload *models.ErrorBody
}
RemoveVMCdRomNotFound describes a response with status code 404, with default header values.

Not found

func NewRemoveVMCdRomNotFound added in v1.10.0

func NewRemoveVMCdRomNotFound() *RemoveVMCdRomNotFound

NewRemoveVMCdRomNotFound creates a RemoveVMCdRomNotFound with default headers values

func (*RemoveVMCdRomNotFound) Error added in v1.10.0

func (o *RemoveVMCdRomNotFound) Error() string

func (*RemoveVMCdRomNotFound) GetPayload added in v1.10.0

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 added in v1.10.0

type RemoveVMDiskInternalServerError struct {
	Payload *models.ErrorBody
}
RemoveVMDiskInternalServerError describes a response with status code 500, with default header values.

Server error

func NewRemoveVMDiskInternalServerError added in v1.10.0

func NewRemoveVMDiskInternalServerError() *RemoveVMDiskInternalServerError

NewRemoveVMDiskInternalServerError creates a RemoveVMDiskInternalServerError with default headers values

func (*RemoveVMDiskInternalServerError) Error added in v1.10.0

func (*RemoveVMDiskInternalServerError) GetPayload added in v1.10.0

type RemoveVMDiskNotFound added in v1.10.0

type RemoveVMDiskNotFound struct {
	Payload *models.ErrorBody
}
RemoveVMDiskNotFound describes a response with status code 404, with default header values.

Not found

func NewRemoveVMDiskNotFound added in v1.10.0

func NewRemoveVMDiskNotFound() *RemoveVMDiskNotFound

NewRemoveVMDiskNotFound creates a RemoveVMDiskNotFound with default headers values

func (*RemoveVMDiskNotFound) Error added in v1.10.0

func (o *RemoveVMDiskNotFound) Error() string

func (*RemoveVMDiskNotFound) GetPayload added in v1.10.0

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 added in v1.10.0

type RemoveVMNicInternalServerError struct {
	Payload *models.ErrorBody
}
RemoveVMNicInternalServerError describes a response with status code 500, with default header values.

Server error

func NewRemoveVMNicInternalServerError added in v1.10.0

func NewRemoveVMNicInternalServerError() *RemoveVMNicInternalServerError

NewRemoveVMNicInternalServerError creates a RemoveVMNicInternalServerError with default headers values

func (*RemoveVMNicInternalServerError) Error added in v1.10.0

func (*RemoveVMNicInternalServerError) GetPayload added in v1.10.0

type RemoveVMNicNotFound added in v1.10.0

type RemoveVMNicNotFound struct {
	Payload *models.ErrorBody
}
RemoveVMNicNotFound describes a response with status code 404, with default header values.

Not found

func NewRemoveVMNicNotFound added in v1.10.0

func NewRemoveVMNicNotFound() *RemoveVMNicNotFound

NewRemoveVMNicNotFound creates a RemoveVMNicNotFound with default headers values

func (*RemoveVMNicNotFound) Error added in v1.10.0

func (o *RemoveVMNicNotFound) Error() string

func (*RemoveVMNicNotFound) GetPayload added in v1.10.0

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 added in v1.10.0

type RemoveVMToFolderInternalServerError struct {
	Payload *models.ErrorBody
}
RemoveVMToFolderInternalServerError describes a response with status code 500, with default header values.

Server error

func NewRemoveVMToFolderInternalServerError added in v1.10.0

func NewRemoveVMToFolderInternalServerError() *RemoveVMToFolderInternalServerError

NewRemoveVMToFolderInternalServerError creates a RemoveVMToFolderInternalServerError with default headers values

func (*RemoveVMToFolderInternalServerError) Error added in v1.10.0

func (*RemoveVMToFolderInternalServerError) GetPayload added in v1.10.0

type RemoveVMToFolderNotFound added in v1.10.0

type RemoveVMToFolderNotFound struct {
	Payload *models.ErrorBody
}
RemoveVMToFolderNotFound describes a response with status code 404, with default header values.

Not found

func NewRemoveVMToFolderNotFound added in v1.10.0

func NewRemoveVMToFolderNotFound() *RemoveVMToFolderNotFound

NewRemoveVMToFolderNotFound creates a RemoveVMToFolderNotFound with default headers values

func (*RemoveVMToFolderNotFound) Error added in v1.10.0

func (o *RemoveVMToFolderNotFound) Error() string

func (*RemoveVMToFolderNotFound) GetPayload added in v1.10.0

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 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 added in v1.10.0

type RestartVMInternalServerError struct {
	Payload *models.ErrorBody
}
RestartVMInternalServerError describes a response with status code 500, with default header values.

Server error

func NewRestartVMInternalServerError added in v1.10.0

func NewRestartVMInternalServerError() *RestartVMInternalServerError

NewRestartVMInternalServerError creates a RestartVMInternalServerError with default headers values

func (*RestartVMInternalServerError) Error added in v1.10.0

func (*RestartVMInternalServerError) GetPayload added in v1.10.0

type RestartVMNotFound added in v1.10.0

type RestartVMNotFound struct {
	Payload *models.ErrorBody
}
RestartVMNotFound describes a response with status code 404, with default header values.

Not found

func NewRestartVMNotFound added in v1.10.0

func NewRestartVMNotFound() *RestartVMNotFound

NewRestartVMNotFound creates a RestartVMNotFound with default headers values

func (*RestartVMNotFound) Error added in v1.10.0

func (o *RestartVMNotFound) Error() string

func (*RestartVMNotFound) GetPayload added in v1.10.0

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 added in v1.10.0

type ResumeVMInternalServerError struct {
	Payload *models.ErrorBody
}
ResumeVMInternalServerError describes a response with status code 500, with default header values.

Server error

func NewResumeVMInternalServerError added in v1.10.0

func NewResumeVMInternalServerError() *ResumeVMInternalServerError

NewResumeVMInternalServerError creates a ResumeVMInternalServerError with default headers values

func (*ResumeVMInternalServerError) Error added in v1.10.0

func (*ResumeVMInternalServerError) GetPayload added in v1.10.0

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

type ResumeVMNotFound added in v1.10.0

type ResumeVMNotFound struct {
	Payload *models.ErrorBody
}
ResumeVMNotFound describes a response with status code 404, with default header values.

Not found

func NewResumeVMNotFound added in v1.10.0

func NewResumeVMNotFound() *ResumeVMNotFound

NewResumeVMNotFound creates a ResumeVMNotFound with default headers values

func (*ResumeVMNotFound) Error added in v1.10.0

func (o *ResumeVMNotFound) Error() string

func (*ResumeVMNotFound) GetPayload added in v1.10.0

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 added in v1.10.0

type RollbackVMInternalServerError struct {
	Payload *models.ErrorBody
}
RollbackVMInternalServerError describes a response with status code 500, with default header values.

Server error

func NewRollbackVMInternalServerError added in v1.10.0

func NewRollbackVMInternalServerError() *RollbackVMInternalServerError

NewRollbackVMInternalServerError creates a RollbackVMInternalServerError with default headers values

func (*RollbackVMInternalServerError) Error added in v1.10.0

func (*RollbackVMInternalServerError) GetPayload added in v1.10.0

type RollbackVMNotFound added in v1.10.0

type RollbackVMNotFound struct {
	Payload *models.ErrorBody
}
RollbackVMNotFound describes a response with status code 404, with default header values.

Not found

func NewRollbackVMNotFound added in v1.10.0

func NewRollbackVMNotFound() *RollbackVMNotFound

NewRollbackVMNotFound creates a RollbackVMNotFound with default headers values

func (*RollbackVMNotFound) Error added in v1.10.0

func (o *RollbackVMNotFound) Error() string

func (*RollbackVMNotFound) GetPayload added in v1.10.0

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 added in v1.10.0

type ShutDownVMInternalServerError struct {
	Payload *models.ErrorBody
}
ShutDownVMInternalServerError describes a response with status code 500, with default header values.

Server error

func NewShutDownVMInternalServerError added in v1.10.0

func NewShutDownVMInternalServerError() *ShutDownVMInternalServerError

NewShutDownVMInternalServerError creates a ShutDownVMInternalServerError with default headers values

func (*ShutDownVMInternalServerError) Error added in v1.10.0

func (*ShutDownVMInternalServerError) GetPayload added in v1.10.0

type ShutDownVMNotFound added in v1.10.0

type ShutDownVMNotFound struct {
	Payload *models.ErrorBody
}
ShutDownVMNotFound describes a response with status code 404, with default header values.

Not found

func NewShutDownVMNotFound added in v1.10.0

func NewShutDownVMNotFound() *ShutDownVMNotFound

NewShutDownVMNotFound creates a ShutDownVMNotFound with default headers values

func (*ShutDownVMNotFound) Error added in v1.10.0

func (o *ShutDownVMNotFound) Error() string

func (*ShutDownVMNotFound) GetPayload added in v1.10.0

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 added in v1.10.0

type StartVMInternalServerError struct {
	Payload *models.ErrorBody
}
StartVMInternalServerError describes a response with status code 500, with default header values.

Server error

func NewStartVMInternalServerError added in v1.10.0

func NewStartVMInternalServerError() *StartVMInternalServerError

NewStartVMInternalServerError creates a StartVMInternalServerError with default headers values

func (*StartVMInternalServerError) Error added in v1.10.0

func (*StartVMInternalServerError) GetPayload added in v1.10.0

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

type StartVMNotFound added in v1.10.0

type StartVMNotFound struct {
	Payload *models.ErrorBody
}
StartVMNotFound describes a response with status code 404, with default header values.

Not found

func NewStartVMNotFound added in v1.10.0

func NewStartVMNotFound() *StartVMNotFound

NewStartVMNotFound creates a StartVMNotFound with default headers values

func (*StartVMNotFound) Error added in v1.10.0

func (o *StartVMNotFound) Error() string

func (*StartVMNotFound) GetPayload added in v1.10.0

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 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 added in v1.10.0

type SuspendVMInternalServerError struct {
	Payload *models.ErrorBody
}
SuspendVMInternalServerError describes a response with status code 500, with default header values.

Server error

func NewSuspendVMInternalServerError added in v1.10.0

func NewSuspendVMInternalServerError() *SuspendVMInternalServerError

NewSuspendVMInternalServerError creates a SuspendVMInternalServerError with default headers values

func (*SuspendVMInternalServerError) Error added in v1.10.0

func (*SuspendVMInternalServerError) GetPayload added in v1.10.0

type SuspendVMNotFound added in v1.10.0

type SuspendVMNotFound struct {
	Payload *models.ErrorBody
}
SuspendVMNotFound describes a response with status code 404, with default header values.

Not found

func NewSuspendVMNotFound added in v1.10.0

func NewSuspendVMNotFound() *SuspendVMNotFound

NewSuspendVMNotFound creates a SuspendVMNotFound with default headers values

func (*SuspendVMNotFound) Error added in v1.10.0

func (o *SuspendVMNotFound) Error() string

func (*SuspendVMNotFound) GetPayload added in v1.10.0

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 added in v1.10.0

type ToggleVMCdRomDisableBadRequest struct {
	Payload *models.ErrorBody
}
ToggleVMCdRomDisableBadRequest describes a response with status code 400, with default header values.

Bad request

func NewToggleVMCdRomDisableBadRequest added in v1.10.0

func NewToggleVMCdRomDisableBadRequest() *ToggleVMCdRomDisableBadRequest

NewToggleVMCdRomDisableBadRequest creates a ToggleVMCdRomDisableBadRequest with default headers values

func (*ToggleVMCdRomDisableBadRequest) Error added in v1.10.0

func (*ToggleVMCdRomDisableBadRequest) GetPayload added in v1.10.0

type ToggleVMCdRomDisableInternalServerError added in v1.10.0

type ToggleVMCdRomDisableInternalServerError struct {
	Payload *models.ErrorBody
}
ToggleVMCdRomDisableInternalServerError describes a response with status code 500, with default header values.

Server error

func NewToggleVMCdRomDisableInternalServerError added in v1.10.0

func NewToggleVMCdRomDisableInternalServerError() *ToggleVMCdRomDisableInternalServerError

NewToggleVMCdRomDisableInternalServerError creates a ToggleVMCdRomDisableInternalServerError with default headers values

func (*ToggleVMCdRomDisableInternalServerError) Error added in v1.10.0

func (*ToggleVMCdRomDisableInternalServerError) GetPayload added in v1.10.0

type ToggleVMCdRomDisableNotFound added in v1.10.0

type ToggleVMCdRomDisableNotFound struct {
	Payload *models.ErrorBody
}
ToggleVMCdRomDisableNotFound describes a response with status code 404, with default header values.

Not found

func NewToggleVMCdRomDisableNotFound added in v1.10.0

func NewToggleVMCdRomDisableNotFound() *ToggleVMCdRomDisableNotFound

NewToggleVMCdRomDisableNotFound creates a ToggleVMCdRomDisableNotFound with default headers values

func (*ToggleVMCdRomDisableNotFound) Error added in v1.10.0

func (*ToggleVMCdRomDisableNotFound) GetPayload added in v1.10.0

type ToggleVMCdRomDisableOK added in v1.10.0

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

Ok

func NewToggleVMCdRomDisableOK added in v1.10.0

func NewToggleVMCdRomDisableOK() *ToggleVMCdRomDisableOK

NewToggleVMCdRomDisableOK creates a ToggleVMCdRomDisableOK with default headers values

func (*ToggleVMCdRomDisableOK) Error added in v1.10.0

func (o *ToggleVMCdRomDisableOK) Error() string

func (*ToggleVMCdRomDisableOK) GetPayload added in v1.10.0

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

type ToggleVMCdRomDisableParams added in v1.10.0

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 added in v1.10.0

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 added in v1.10.0

func NewToggleVMCdRomDisableParamsWithContext(ctx context.Context) *ToggleVMCdRomDisableParams

NewToggleVMCdRomDisableParamsWithContext creates a new ToggleVMCdRomDisableParams object with the ability to set a context for a request.

func NewToggleVMCdRomDisableParamsWithHTTPClient added in v1.10.0

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 added in v1.10.0

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 added in v1.10.0

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

SetContentLanguage adds the contentLanguage to the toggle Vm cd rom disable params

func (*ToggleVMCdRomDisableParams) SetContext added in v1.10.0

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

SetContext adds the context to the toggle Vm cd rom disable params

func (*ToggleVMCdRomDisableParams) SetDefaults added in v1.10.0

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 added in v1.10.0

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

SetHTTPClient adds the HTTPClient to the toggle Vm cd rom disable params

func (*ToggleVMCdRomDisableParams) SetRequestBody added in v1.10.0

func (o *ToggleVMCdRomDisableParams) SetRequestBody(requestBody *models.VMToggleCdRomDisableParams)

SetRequestBody adds the requestBody to the toggle Vm cd rom disable params

func (*ToggleVMCdRomDisableParams) SetTimeout added in v1.10.0

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

SetTimeout adds the timeout to the toggle Vm cd rom disable params

func (*ToggleVMCdRomDisableParams) WithContentLanguage added in v1.10.0

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

WithContentLanguage adds the contentLanguage to the toggle Vm cd rom disable params

func (*ToggleVMCdRomDisableParams) WithContext added in v1.10.0

WithContext adds the context to the toggle Vm cd rom disable params

func (*ToggleVMCdRomDisableParams) WithDefaults added in v1.10.0

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 added in v1.10.0

WithHTTPClient adds the HTTPClient to the toggle Vm cd rom disable params

func (*ToggleVMCdRomDisableParams) WithRequestBody added in v1.10.0

WithRequestBody adds the requestBody to the toggle Vm cd rom disable params

func (*ToggleVMCdRomDisableParams) WithTimeout added in v1.10.0

WithTimeout adds the timeout to the toggle Vm cd rom disable params

func (*ToggleVMCdRomDisableParams) WriteToRequest added in v1.10.0

WriteToRequest writes these params to a swagger request

type ToggleVMCdRomDisableReader added in v1.10.0

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

ToggleVMCdRomDisableReader is a Reader for the ToggleVMCdRomDisable structure.

func (*ToggleVMCdRomDisableReader) ReadResponse added in v1.10.0

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

ReadResponse reads a server response into the received o.

type UpdateVMAdvancedOptionsBadRequest added in v1.10.0

type UpdateVMAdvancedOptionsBadRequest struct {
	Payload *models.ErrorBody
}
UpdateVMAdvancedOptionsBadRequest describes a response with status code 400, with default header values.

Bad request

func NewUpdateVMAdvancedOptionsBadRequest added in v1.10.0

func NewUpdateVMAdvancedOptionsBadRequest() *UpdateVMAdvancedOptionsBadRequest

NewUpdateVMAdvancedOptionsBadRequest creates a UpdateVMAdvancedOptionsBadRequest with default headers values

func (*UpdateVMAdvancedOptionsBadRequest) Error added in v1.10.0

func (*UpdateVMAdvancedOptionsBadRequest) GetPayload added in v1.10.0

type UpdateVMAdvancedOptionsInternalServerError added in v1.10.0

type UpdateVMAdvancedOptionsInternalServerError struct {
	Payload *models.ErrorBody
}
UpdateVMAdvancedOptionsInternalServerError describes a response with status code 500, with default header values.

Server error

func NewUpdateVMAdvancedOptionsInternalServerError added in v1.10.0

func NewUpdateVMAdvancedOptionsInternalServerError() *UpdateVMAdvancedOptionsInternalServerError

NewUpdateVMAdvancedOptionsInternalServerError creates a UpdateVMAdvancedOptionsInternalServerError with default headers values

func (*UpdateVMAdvancedOptionsInternalServerError) Error added in v1.10.0

func (*UpdateVMAdvancedOptionsInternalServerError) GetPayload added in v1.10.0

type UpdateVMAdvancedOptionsNotFound added in v1.10.0

type UpdateVMAdvancedOptionsNotFound struct {
	Payload *models.ErrorBody
}
UpdateVMAdvancedOptionsNotFound describes a response with status code 404, with default header values.

Not found

func NewUpdateVMAdvancedOptionsNotFound added in v1.10.0

func NewUpdateVMAdvancedOptionsNotFound() *UpdateVMAdvancedOptionsNotFound

NewUpdateVMAdvancedOptionsNotFound creates a UpdateVMAdvancedOptionsNotFound with default headers values

func (*UpdateVMAdvancedOptionsNotFound) Error added in v1.10.0

func (*UpdateVMAdvancedOptionsNotFound) GetPayload added in v1.10.0

type UpdateVMAdvancedOptionsNotModified added in v1.10.0

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

Not modified

func NewUpdateVMAdvancedOptionsNotModified added in v1.10.0

func NewUpdateVMAdvancedOptionsNotModified() *UpdateVMAdvancedOptionsNotModified

NewUpdateVMAdvancedOptionsNotModified creates a UpdateVMAdvancedOptionsNotModified with default headers values

func (*UpdateVMAdvancedOptionsNotModified) Error added in v1.10.0

type UpdateVMAdvancedOptionsOK added in v1.10.0

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

Ok

func NewUpdateVMAdvancedOptionsOK added in v1.10.0

func NewUpdateVMAdvancedOptionsOK() *UpdateVMAdvancedOptionsOK

NewUpdateVMAdvancedOptionsOK creates a UpdateVMAdvancedOptionsOK with default headers values

func (*UpdateVMAdvancedOptionsOK) Error added in v1.10.0

func (o *UpdateVMAdvancedOptionsOK) Error() string

func (*UpdateVMAdvancedOptionsOK) GetPayload added in v1.10.0

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

type UpdateVMAdvancedOptionsParams added in v1.10.0

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 added in v1.10.0

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 added in v1.10.0

func NewUpdateVMAdvancedOptionsParamsWithContext(ctx context.Context) *UpdateVMAdvancedOptionsParams

NewUpdateVMAdvancedOptionsParamsWithContext creates a new UpdateVMAdvancedOptionsParams object with the ability to set a context for a request.

func NewUpdateVMAdvancedOptionsParamsWithHTTPClient added in v1.10.0

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 added in v1.10.0

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 added in v1.10.0

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

SetContentLanguage adds the contentLanguage to the update Vm advanced options params

func (*UpdateVMAdvancedOptionsParams) SetContext added in v1.10.0

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

SetContext adds the context to the update Vm advanced options params

func (*UpdateVMAdvancedOptionsParams) SetDefaults added in v1.10.0

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 added in v1.10.0

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

SetHTTPClient adds the HTTPClient to the update Vm advanced options params

func (*UpdateVMAdvancedOptionsParams) SetRequestBody added in v1.10.0

func (o *UpdateVMAdvancedOptionsParams) SetRequestBody(requestBody *models.VMUpdateAdvancedOptionsParams)

SetRequestBody adds the requestBody to the update Vm advanced options params

func (*UpdateVMAdvancedOptionsParams) SetTimeout added in v1.10.0

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

SetTimeout adds the timeout to the update Vm advanced options params

func (*UpdateVMAdvancedOptionsParams) WithContentLanguage added in v1.10.0

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

WithContentLanguage adds the contentLanguage to the update Vm advanced options params

func (*UpdateVMAdvancedOptionsParams) WithContext added in v1.10.0

WithContext adds the context to the update Vm advanced options params

func (*UpdateVMAdvancedOptionsParams) WithDefaults added in v1.10.0

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 added in v1.10.0

WithHTTPClient adds the HTTPClient to the update Vm advanced options params

func (*UpdateVMAdvancedOptionsParams) WithRequestBody added in v1.10.0

WithRequestBody adds the requestBody to the update Vm advanced options params

func (*UpdateVMAdvancedOptionsParams) WithTimeout added in v1.10.0

WithTimeout adds the timeout to the update Vm advanced options params

func (*UpdateVMAdvancedOptionsParams) WriteToRequest added in v1.10.0

WriteToRequest writes these params to a swagger request

type UpdateVMAdvancedOptionsReader added in v1.10.0

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

UpdateVMAdvancedOptionsReader is a Reader for the UpdateVMAdvancedOptions structure.

func (*UpdateVMAdvancedOptionsReader) ReadResponse added in v1.10.0

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 added in v1.10.0

type UpdateVMDiskInternalServerError struct {
	Payload *models.ErrorBody
}
UpdateVMDiskInternalServerError describes a response with status code 500, with default header values.

Server error

func NewUpdateVMDiskInternalServerError added in v1.10.0

func NewUpdateVMDiskInternalServerError() *UpdateVMDiskInternalServerError

NewUpdateVMDiskInternalServerError creates a UpdateVMDiskInternalServerError with default headers values

func (*UpdateVMDiskInternalServerError) Error added in v1.10.0

func (*UpdateVMDiskInternalServerError) GetPayload added in v1.10.0

type UpdateVMDiskNotFound added in v1.10.0

type UpdateVMDiskNotFound struct {
	Payload *models.ErrorBody
}
UpdateVMDiskNotFound describes a response with status code 404, with default header values.

Not found

func NewUpdateVMDiskNotFound added in v1.10.0

func NewUpdateVMDiskNotFound() *UpdateVMDiskNotFound

NewUpdateVMDiskNotFound creates a UpdateVMDiskNotFound with default headers values

func (*UpdateVMDiskNotFound) Error added in v1.10.0

func (o *UpdateVMDiskNotFound) Error() string

func (*UpdateVMDiskNotFound) GetPayload added in v1.10.0

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 UpdateVMInternalServerError added in v1.10.0

type UpdateVMInternalServerError struct {
	Payload *models.ErrorBody
}
UpdateVMInternalServerError describes a response with status code 500, with default header values.

Server error

func NewUpdateVMInternalServerError added in v1.10.0

func NewUpdateVMInternalServerError() *UpdateVMInternalServerError

NewUpdateVMInternalServerError creates a UpdateVMInternalServerError with default headers values

func (*UpdateVMInternalServerError) Error added in v1.10.0

func (*UpdateVMInternalServerError) GetPayload added in v1.10.0

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

type UpdateVMNicAdvanceInfoBadRequest added in v1.10.0

type UpdateVMNicAdvanceInfoBadRequest struct {
	Payload *models.ErrorBody
}
UpdateVMNicAdvanceInfoBadRequest describes a response with status code 400, with default header values.

Bad request

func NewUpdateVMNicAdvanceInfoBadRequest added in v1.10.0

func NewUpdateVMNicAdvanceInfoBadRequest() *UpdateVMNicAdvanceInfoBadRequest

NewUpdateVMNicAdvanceInfoBadRequest creates a UpdateVMNicAdvanceInfoBadRequest with default headers values

func (*UpdateVMNicAdvanceInfoBadRequest) Error added in v1.10.0

func (*UpdateVMNicAdvanceInfoBadRequest) GetPayload added in v1.10.0

type UpdateVMNicAdvanceInfoInternalServerError added in v1.10.0

type UpdateVMNicAdvanceInfoInternalServerError struct {
	Payload *models.ErrorBody
}
UpdateVMNicAdvanceInfoInternalServerError describes a response with status code 500, with default header values.

Server error

func NewUpdateVMNicAdvanceInfoInternalServerError added in v1.10.0

func NewUpdateVMNicAdvanceInfoInternalServerError() *UpdateVMNicAdvanceInfoInternalServerError

NewUpdateVMNicAdvanceInfoInternalServerError creates a UpdateVMNicAdvanceInfoInternalServerError with default headers values

func (*UpdateVMNicAdvanceInfoInternalServerError) Error added in v1.10.0

func (*UpdateVMNicAdvanceInfoInternalServerError) GetPayload added in v1.10.0

type UpdateVMNicAdvanceInfoNotFound added in v1.10.0

type UpdateVMNicAdvanceInfoNotFound struct {
	Payload *models.ErrorBody
}
UpdateVMNicAdvanceInfoNotFound describes a response with status code 404, with default header values.

Not found

func NewUpdateVMNicAdvanceInfoNotFound added in v1.10.0

func NewUpdateVMNicAdvanceInfoNotFound() *UpdateVMNicAdvanceInfoNotFound

NewUpdateVMNicAdvanceInfoNotFound creates a UpdateVMNicAdvanceInfoNotFound with default headers values

func (*UpdateVMNicAdvanceInfoNotFound) Error added in v1.10.0

func (*UpdateVMNicAdvanceInfoNotFound) GetPayload added in v1.10.0

type UpdateVMNicAdvanceInfoNotModified added in v1.10.0

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

Not modified

func NewUpdateVMNicAdvanceInfoNotModified added in v1.10.0

func NewUpdateVMNicAdvanceInfoNotModified() *UpdateVMNicAdvanceInfoNotModified

NewUpdateVMNicAdvanceInfoNotModified creates a UpdateVMNicAdvanceInfoNotModified with default headers values

func (*UpdateVMNicAdvanceInfoNotModified) Error added in v1.10.0

type UpdateVMNicAdvanceInfoOK added in v1.10.0

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

Ok

func NewUpdateVMNicAdvanceInfoOK added in v1.10.0

func NewUpdateVMNicAdvanceInfoOK() *UpdateVMNicAdvanceInfoOK

NewUpdateVMNicAdvanceInfoOK creates a UpdateVMNicAdvanceInfoOK with default headers values

func (*UpdateVMNicAdvanceInfoOK) Error added in v1.10.0

func (o *UpdateVMNicAdvanceInfoOK) Error() string

func (*UpdateVMNicAdvanceInfoOK) GetPayload added in v1.10.0

type UpdateVMNicAdvanceInfoOKBodyItems0 added in v1.10.0

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 added in v1.10.0

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 added in v1.10.0

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

MarshalBinary interface implementation

func (*UpdateVMNicAdvanceInfoOKBodyItems0) UnmarshalBinary added in v1.10.0

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

UnmarshalBinary interface implementation

func (*UpdateVMNicAdvanceInfoOKBodyItems0) Validate added in v1.10.0

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

type UpdateVMNicAdvanceInfoParams added in v1.10.0

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 added in v1.10.0

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 added in v1.10.0

func NewUpdateVMNicAdvanceInfoParamsWithContext(ctx context.Context) *UpdateVMNicAdvanceInfoParams

NewUpdateVMNicAdvanceInfoParamsWithContext creates a new UpdateVMNicAdvanceInfoParams object with the ability to set a context for a request.

func NewUpdateVMNicAdvanceInfoParamsWithHTTPClient added in v1.10.0

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 added in v1.10.0

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 added in v1.10.0

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

SetContentLanguage adds the contentLanguage to the update Vm nic advance info params

func (*UpdateVMNicAdvanceInfoParams) SetContext added in v1.10.0

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

SetContext adds the context to the update Vm nic advance info params

func (*UpdateVMNicAdvanceInfoParams) SetDefaults added in v1.10.0

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 added in v1.10.0

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

SetHTTPClient adds the HTTPClient to the update Vm nic advance info params

func (*UpdateVMNicAdvanceInfoParams) SetRequestBody added in v1.10.0

func (o *UpdateVMNicAdvanceInfoParams) SetRequestBody(requestBody *models.VMUpdateNicAdvanceInfoParams)

SetRequestBody adds the requestBody to the update Vm nic advance info params

func (*UpdateVMNicAdvanceInfoParams) SetTimeout added in v1.10.0

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

SetTimeout adds the timeout to the update Vm nic advance info params

func (*UpdateVMNicAdvanceInfoParams) WithContentLanguage added in v1.10.0

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

WithContentLanguage adds the contentLanguage to the update Vm nic advance info params

func (*UpdateVMNicAdvanceInfoParams) WithContext added in v1.10.0

WithContext adds the context to the update Vm nic advance info params

func (*UpdateVMNicAdvanceInfoParams) WithDefaults added in v1.10.0

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 added in v1.10.0

WithHTTPClient adds the HTTPClient to the update Vm nic advance info params

func (*UpdateVMNicAdvanceInfoParams) WithRequestBody added in v1.10.0

WithRequestBody adds the requestBody to the update Vm nic advance info params

func (*UpdateVMNicAdvanceInfoParams) WithTimeout added in v1.10.0

WithTimeout adds the timeout to the update Vm nic advance info params

func (*UpdateVMNicAdvanceInfoParams) WriteToRequest added in v1.10.0

WriteToRequest writes these params to a swagger request

type UpdateVMNicAdvanceInfoReader added in v1.10.0

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

UpdateVMNicAdvanceInfoReader is a Reader for the UpdateVMNicAdvanceInfo structure.

func (*UpdateVMNicAdvanceInfoReader) ReadResponse added in v1.10.0

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 added in v1.10.0

type UpdateVMNicBasicInfoBadRequest struct {
	Payload *models.ErrorBody
}
UpdateVMNicBasicInfoBadRequest describes a response with status code 400, with default header values.

Bad request

func NewUpdateVMNicBasicInfoBadRequest added in v1.10.0

func NewUpdateVMNicBasicInfoBadRequest() *UpdateVMNicBasicInfoBadRequest

NewUpdateVMNicBasicInfoBadRequest creates a UpdateVMNicBasicInfoBadRequest with default headers values

func (*UpdateVMNicBasicInfoBadRequest) Error added in v1.10.0

func (*UpdateVMNicBasicInfoBadRequest) GetPayload added in v1.10.0

type UpdateVMNicBasicInfoInternalServerError added in v1.10.0

type UpdateVMNicBasicInfoInternalServerError struct {
	Payload *models.ErrorBody
}
UpdateVMNicBasicInfoInternalServerError describes a response with status code 500, with default header values.

Server error

func NewUpdateVMNicBasicInfoInternalServerError added in v1.10.0

func NewUpdateVMNicBasicInfoInternalServerError() *UpdateVMNicBasicInfoInternalServerError

NewUpdateVMNicBasicInfoInternalServerError creates a UpdateVMNicBasicInfoInternalServerError with default headers values

func (*UpdateVMNicBasicInfoInternalServerError) Error added in v1.10.0

func (*UpdateVMNicBasicInfoInternalServerError) GetPayload added in v1.10.0

type UpdateVMNicBasicInfoNotFound added in v1.10.0

type UpdateVMNicBasicInfoNotFound struct {
	Payload *models.ErrorBody
}
UpdateVMNicBasicInfoNotFound describes a response with status code 404, with default header values.

Not found

func NewUpdateVMNicBasicInfoNotFound added in v1.10.0

func NewUpdateVMNicBasicInfoNotFound() *UpdateVMNicBasicInfoNotFound

NewUpdateVMNicBasicInfoNotFound creates a UpdateVMNicBasicInfoNotFound with default headers values

func (*UpdateVMNicBasicInfoNotFound) Error added in v1.10.0

func (*UpdateVMNicBasicInfoNotFound) GetPayload added in v1.10.0

type UpdateVMNicBasicInfoNotModified added in v1.10.0

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

Not modified

func NewUpdateVMNicBasicInfoNotModified added in v1.10.0

func NewUpdateVMNicBasicInfoNotModified() *UpdateVMNicBasicInfoNotModified

NewUpdateVMNicBasicInfoNotModified creates a UpdateVMNicBasicInfoNotModified with default headers values

func (*UpdateVMNicBasicInfoNotModified) Error added in v1.10.0

type UpdateVMNicBasicInfoOK added in v1.10.0

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

Ok

func NewUpdateVMNicBasicInfoOK added in v1.10.0

func NewUpdateVMNicBasicInfoOK() *UpdateVMNicBasicInfoOK

NewUpdateVMNicBasicInfoOK creates a UpdateVMNicBasicInfoOK with default headers values

func (*UpdateVMNicBasicInfoOK) Error added in v1.10.0

func (o *UpdateVMNicBasicInfoOK) Error() string

func (*UpdateVMNicBasicInfoOK) GetPayload added in v1.10.0

type UpdateVMNicBasicInfoOKBodyItems0 added in v1.10.0

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 added in v1.10.0

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 added in v1.10.0

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

MarshalBinary interface implementation

func (*UpdateVMNicBasicInfoOKBodyItems0) UnmarshalBinary added in v1.10.0

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

UnmarshalBinary interface implementation

func (*UpdateVMNicBasicInfoOKBodyItems0) Validate added in v1.10.0

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

type UpdateVMNicBasicInfoParams added in v1.10.0

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 added in v1.10.0

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 added in v1.10.0

func NewUpdateVMNicBasicInfoParamsWithContext(ctx context.Context) *UpdateVMNicBasicInfoParams

NewUpdateVMNicBasicInfoParamsWithContext creates a new UpdateVMNicBasicInfoParams object with the ability to set a context for a request.

func NewUpdateVMNicBasicInfoParamsWithHTTPClient added in v1.10.0

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 added in v1.10.0

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 added in v1.10.0

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

SetContentLanguage adds the contentLanguage to the update Vm nic basic info params

func (*UpdateVMNicBasicInfoParams) SetContext added in v1.10.0

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

SetContext adds the context to the update Vm nic basic info params

func (*UpdateVMNicBasicInfoParams) SetDefaults added in v1.10.0

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 added in v1.10.0

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

SetHTTPClient adds the HTTPClient to the update Vm nic basic info params

func (*UpdateVMNicBasicInfoParams) SetRequestBody added in v1.10.0

func (o *UpdateVMNicBasicInfoParams) SetRequestBody(requestBody *models.VMUpdateNicBasicInfoParams)

SetRequestBody adds the requestBody to the update Vm nic basic info params

func (*UpdateVMNicBasicInfoParams) SetTimeout added in v1.10.0

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

SetTimeout adds the timeout to the update Vm nic basic info params

func (*UpdateVMNicBasicInfoParams) WithContentLanguage added in v1.10.0

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

WithContentLanguage adds the contentLanguage to the update Vm nic basic info params

func (*UpdateVMNicBasicInfoParams) WithContext added in v1.10.0

WithContext adds the context to the update Vm nic basic info params

func (*UpdateVMNicBasicInfoParams) WithDefaults added in v1.10.0

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 added in v1.10.0

WithHTTPClient adds the HTTPClient to the update Vm nic basic info params

func (*UpdateVMNicBasicInfoParams) WithRequestBody added in v1.10.0

WithRequestBody adds the requestBody to the update Vm nic basic info params

func (*UpdateVMNicBasicInfoParams) WithTimeout added in v1.10.0

WithTimeout adds the timeout to the update Vm nic basic info params

func (*UpdateVMNicBasicInfoParams) WriteToRequest added in v1.10.0

WriteToRequest writes these params to a swagger request

type UpdateVMNicBasicInfoReader added in v1.10.0

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

UpdateVMNicBasicInfoReader is a Reader for the UpdateVMNicBasicInfo structure.

func (*UpdateVMNicBasicInfoReader) ReadResponse added in v1.10.0

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

ReadResponse reads a server response into the received o.

type UpdateVMNicInternalServerError added in v1.10.0

type UpdateVMNicInternalServerError struct {
	Payload *models.ErrorBody
}
UpdateVMNicInternalServerError describes a response with status code 500, with default header values.

Server error

func NewUpdateVMNicInternalServerError added in v1.10.0

func NewUpdateVMNicInternalServerError() *UpdateVMNicInternalServerError

NewUpdateVMNicInternalServerError creates a UpdateVMNicInternalServerError with default headers values

func (*UpdateVMNicInternalServerError) Error added in v1.10.0

func (*UpdateVMNicInternalServerError) GetPayload added in v1.10.0

type UpdateVMNicNotFound added in v1.10.0

type UpdateVMNicNotFound struct {
	Payload *models.ErrorBody
}
UpdateVMNicNotFound describes a response with status code 404, with default header values.

Not found

func NewUpdateVMNicNotFound added in v1.10.0

func NewUpdateVMNicNotFound() *UpdateVMNicNotFound

NewUpdateVMNicNotFound creates a UpdateVMNicNotFound with default headers values

func (*UpdateVMNicNotFound) Error added in v1.10.0

func (o *UpdateVMNicNotFound) Error() string

func (*UpdateVMNicNotFound) GetPayload added in v1.10.0

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 added in v1.10.0

type UpdateVMNotFound struct {
	Payload *models.ErrorBody
}
UpdateVMNotFound describes a response with status code 404, with default header values.

Not found

func NewUpdateVMNotFound added in v1.10.0

func NewUpdateVMNotFound() *UpdateVMNotFound

NewUpdateVMNotFound creates a UpdateVMNotFound with default headers values

func (*UpdateVMNotFound) Error added in v1.10.0

func (o *UpdateVMNotFound) Error() string

func (*UpdateVMNotFound) GetPayload added in v1.10.0

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