vm

package
v0.0.0-...-67cd95e Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2022 License: MIT Imports: 10 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 string
}
AddVMCdRomBadRequest describes a response with status code 400, with default header values.

AddVMCdRomBadRequest add Vm cd rom 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() string

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 string
}
AddVMDiskBadRequest describes a response with status code 400, with default header values.

AddVMDiskBadRequest add Vm disk 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() string

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 string
}
AddVMNicBadRequest describes a response with status code 400, with default header values.

AddVMNicBadRequest add Vm nic 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() string

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 string
}
AddVMToFolderBadRequest describes a response with status code 400, with default header values.

AddVMToFolderBadRequest add Vm to folder 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() string

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

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

ForceRestartVM force restart Vm API

func (*Client) ForceShutDownVM

func (a *Client) ForceShutDownVM(params *ForceShutDownVMParams, opts ...ClientOption) (*ForceShutDownVMOK, error)

ForceShutDownVM force shut down 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) 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) UpdateVM

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

UpdateVM update Vm 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

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)

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

	ForceShutDownVM(params *ForceShutDownVMParams, opts ...ClientOption) (*ForceShutDownVMOK, 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)

	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)

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

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

	UpdateVMNic(params *UpdateVMNicParams, opts ...ClientOption) (*UpdateVMNicOK, 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 string
}
CloneVMBadRequest describes a response with status code 400, with default header values.

CloneVMBadRequest clone Vm 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() string

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 string
}
ConvertVMTemplateToVMBadRequest describes a response with status code 400, with default header values.

ConvertVMTemplateToVMBadRequest convert Vm template to Vm bad request

func NewConvertVMTemplateToVMBadRequest

func NewConvertVMTemplateToVMBadRequest() *ConvertVMTemplateToVMBadRequest

NewConvertVMTemplateToVMBadRequest creates a ConvertVMTemplateToVMBadRequest with default headers values

func (*ConvertVMTemplateToVMBadRequest) Error

func (*ConvertVMTemplateToVMBadRequest) GetPayload

func (o *ConvertVMTemplateToVMBadRequest) GetPayload() string

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 string
}
CreateVMBadRequest describes a response with status code 400, with default header values.

CreateVMBadRequest create Vm 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() string

type CreateVMFromTemplateBadRequest

type CreateVMFromTemplateBadRequest struct {
	Payload string
}
CreateVMFromTemplateBadRequest describes a response with status code 400, with default header values.

CreateVMFromTemplateBadRequest create Vm from template bad request

func NewCreateVMFromTemplateBadRequest

func NewCreateVMFromTemplateBadRequest() *CreateVMFromTemplateBadRequest

NewCreateVMFromTemplateBadRequest creates a CreateVMFromTemplateBadRequest with default headers values

func (*CreateVMFromTemplateBadRequest) Error

func (*CreateVMFromTemplateBadRequest) GetPayload

func (o *CreateVMFromTemplateBadRequest) GetPayload() string

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 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 string
}
DeleteVMBadRequest describes a response with status code 400, with default header values.

DeleteVMBadRequest delete Vm 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() string

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 ForceRestartVMBadRequest

type ForceRestartVMBadRequest struct {
	Payload string
}
ForceRestartVMBadRequest describes a response with status code 400, with default header values.

ForceRestartVMBadRequest force restart Vm 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() string

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 ForceShutDownVMBadRequest

type ForceShutDownVMBadRequest struct {
	Payload string
}
ForceShutDownVMBadRequest describes a response with status code 400, with default header values.

ForceShutDownVMBadRequest force shut down Vm bad request

func NewForceShutDownVMBadRequest

func NewForceShutDownVMBadRequest() *ForceShutDownVMBadRequest

NewForceShutDownVMBadRequest creates a ForceShutDownVMBadRequest with default headers values

func (*ForceShutDownVMBadRequest) Error

func (o *ForceShutDownVMBadRequest) Error() string

func (*ForceShutDownVMBadRequest) GetPayload

func (o *ForceShutDownVMBadRequest) GetPayload() string

type ForceShutDownVMOK

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

Ok

func NewForceShutDownVMOK

func NewForceShutDownVMOK() *ForceShutDownVMOK

NewForceShutDownVMOK creates a ForceShutDownVMOK with default headers values

func (*ForceShutDownVMOK) Error

func (o *ForceShutDownVMOK) Error() string

func (*ForceShutDownVMOK) GetPayload

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

type ForceShutDownVMParams

type ForceShutDownVMParams struct {

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

	// RequestBody.
	RequestBody *models.VMOperateParams

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

ForceShutDownVMParams contains all the parameters to send to the API endpoint

for the force shut down Vm operation.

Typically these are written to a http.Request.

func NewForceShutDownVMParams

func NewForceShutDownVMParams() *ForceShutDownVMParams

NewForceShutDownVMParams creates a new ForceShutDownVMParams 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 NewForceShutDownVMParamsWithContext

func NewForceShutDownVMParamsWithContext(ctx context.Context) *ForceShutDownVMParams

NewForceShutDownVMParamsWithContext creates a new ForceShutDownVMParams object with the ability to set a context for a request.

func NewForceShutDownVMParamsWithHTTPClient

func NewForceShutDownVMParamsWithHTTPClient(client *http.Client) *ForceShutDownVMParams

NewForceShutDownVMParamsWithHTTPClient creates a new ForceShutDownVMParams object with the ability to set a custom HTTPClient for a request.

func NewForceShutDownVMParamsWithTimeout

func NewForceShutDownVMParamsWithTimeout(timeout time.Duration) *ForceShutDownVMParams

NewForceShutDownVMParamsWithTimeout creates a new ForceShutDownVMParams object with the ability to set a timeout on a request.

func (*ForceShutDownVMParams) SetContentLanguage

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

SetContentLanguage adds the contentLanguage to the force shut down Vm params

func (*ForceShutDownVMParams) SetContext

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

SetContext adds the context to the force shut down Vm params

func (*ForceShutDownVMParams) SetDefaults

func (o *ForceShutDownVMParams) SetDefaults()

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

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

func (*ForceShutDownVMParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the force shut down Vm params

func (*ForceShutDownVMParams) SetRequestBody

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

SetRequestBody adds the requestBody to the force shut down Vm params

func (*ForceShutDownVMParams) SetTimeout

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

SetTimeout adds the timeout to the force shut down Vm params

func (*ForceShutDownVMParams) WithContentLanguage

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

WithContentLanguage adds the contentLanguage to the force shut down Vm params

func (*ForceShutDownVMParams) WithContext

WithContext adds the context to the force shut down Vm params

func (*ForceShutDownVMParams) WithDefaults

func (o *ForceShutDownVMParams) WithDefaults() *ForceShutDownVMParams

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

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

func (*ForceShutDownVMParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the force shut down Vm params

func (*ForceShutDownVMParams) WithRequestBody

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

WithRequestBody adds the requestBody to the force shut down Vm params

func (*ForceShutDownVMParams) WithTimeout

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

WithTimeout adds the timeout to the force shut down Vm params

func (*ForceShutDownVMParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ForceShutDownVMReader

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

ForceShutDownVMReader is a Reader for the ForceShutDownVM structure.

func (*ForceShutDownVMReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetVmsBadRequest

type GetVmsBadRequest struct {
	Payload string
}
GetVmsBadRequest describes a response with status code 400, with default header values.

GetVmsBadRequest get vms 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() string

type GetVmsConnectionBadRequest

type GetVmsConnectionBadRequest struct {
	Payload string
}
GetVmsConnectionBadRequest describes a response with status code 400, with default header values.

GetVmsConnectionBadRequest get vms connection 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() string

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 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 string
}
InstallVmtoolsBadRequest describes a response with status code 400, with default header values.

InstallVmtoolsBadRequest install vmtools 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() string

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 string
}
MigRateVMBadRequest describes a response with status code 400, with default header values.

MigRateVMBadRequest mig rate Vm 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() string

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 string
}
MoveVMToRecycleBinBadRequest describes a response with status code 400, with default header values.

MoveVMToRecycleBinBadRequest move Vm to recycle bin bad request

func NewMoveVMToRecycleBinBadRequest

func NewMoveVMToRecycleBinBadRequest() *MoveVMToRecycleBinBadRequest

NewMoveVMToRecycleBinBadRequest creates a MoveVMToRecycleBinBadRequest with default headers values

func (*MoveVMToRecycleBinBadRequest) Error

func (*MoveVMToRecycleBinBadRequest) GetPayload

func (o *MoveVMToRecycleBinBadRequest) GetPayload() string

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 RebuildVMBadRequest

type RebuildVMBadRequest struct {
	Payload string
}
RebuildVMBadRequest describes a response with status code 400, with default header values.

RebuildVMBadRequest rebuild Vm 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() string

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 string
}
RecoverVMFromRecycleBinBadRequest describes a response with status code 400, with default header values.

RecoverVMFromRecycleBinBadRequest recover Vm from recycle bin bad request

func NewRecoverVMFromRecycleBinBadRequest

func NewRecoverVMFromRecycleBinBadRequest() *RecoverVMFromRecycleBinBadRequest

NewRecoverVMFromRecycleBinBadRequest creates a RecoverVMFromRecycleBinBadRequest with default headers values

func (*RecoverVMFromRecycleBinBadRequest) Error

func (*RecoverVMFromRecycleBinBadRequest) GetPayload

func (o *RecoverVMFromRecycleBinBadRequest) GetPayload() string

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 string
}
RemoveVMCdRomBadRequest describes a response with status code 400, with default header values.

RemoveVMCdRomBadRequest remove Vm cd rom 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() string

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 string
}
RemoveVMDiskBadRequest describes a response with status code 400, with default header values.

RemoveVMDiskBadRequest remove Vm disk 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() string

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 string
}
RemoveVMNicBadRequest describes a response with status code 400, with default header values.

RemoveVMNicBadRequest remove Vm nic 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() string

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 string
}
RemoveVMToFolderBadRequest describes a response with status code 400, with default header values.

RemoveVMToFolderBadRequest remove Vm to folder 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() string

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 string
}
RestartVMBadRequest describes a response with status code 400, with default header values.

RestartVMBadRequest restart Vm 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() string

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 string
}
ResumeVMBadRequest describes a response with status code 400, with default header values.

ResumeVMBadRequest resume Vm 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() string

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 string
}
RollbackVMBadRequest describes a response with status code 400, with default header values.

RollbackVMBadRequest rollback Vm 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() string

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 string
}
ShutDownVMBadRequest describes a response with status code 400, with default header values.

ShutDownVMBadRequest shut down Vm 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() string

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 string
}
StartVMBadRequest describes a response with status code 400, with default header values.

StartVMBadRequest start Vm 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() string

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 string
}
SuspendVMBadRequest describes a response with status code 400, with default header values.

SuspendVMBadRequest suspend Vm 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() string

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 UpdateVMBadRequest

type UpdateVMBadRequest struct {
	Payload string
}
UpdateVMBadRequest describes a response with status code 400, with default header values.

UpdateVMBadRequest update Vm 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() string

type UpdateVMDiskBadRequest

type UpdateVMDiskBadRequest struct {
	Payload string
}
UpdateVMDiskBadRequest describes a response with status code 400, with default header values.

UpdateVMDiskBadRequest update Vm disk 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() string

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 UpdateVMNicBadRequest

type UpdateVMNicBadRequest struct {
	Payload string
}
UpdateVMNicBadRequest describes a response with status code 400, with default header values.

UpdateVMNicBadRequest update Vm nic 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() string

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