vm_volume

package
v2.3.1-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2022 License: ISC Imports: 10 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for vm volume API

func (*Client) CloneVMVolume added in v2.3.0

func (a *Client) CloneVMVolume(params *CloneVMVolumeParams, opts ...ClientOption) (*CloneVMVolumeOK, error)

CloneVMVolume clone Vm volume API

func (*Client) CreateVMVolume

func (a *Client) CreateVMVolume(params *CreateVMVolumeParams, opts ...ClientOption) (*CreateVMVolumeOK, error)

CreateVMVolume create Vm volume API

func (*Client) DeleteVMVolumeFromVM

func (a *Client) DeleteVMVolumeFromVM(params *DeleteVMVolumeFromVMParams, opts ...ClientOption) (*DeleteVMVolumeFromVMOK, error)

DeleteVMVolumeFromVM delete Vm volume from Vm API

func (*Client) GetVMVolumes

func (a *Client) GetVMVolumes(params *GetVMVolumesParams, opts ...ClientOption) (*GetVMVolumesOK, error)

GetVMVolumes get Vm volumes API

func (*Client) GetVMVolumesConnection

func (a *Client) GetVMVolumesConnection(params *GetVMVolumesConnectionParams, opts ...ClientOption) (*GetVMVolumesConnectionOK, error)

GetVMVolumesConnection get Vm volumes connection API

func (*Client) RebuildVMVolume added in v2.3.0

func (a *Client) RebuildVMVolume(params *RebuildVMVolumeParams, opts ...ClientOption) (*RebuildVMVolumeOK, error)

RebuildVMVolume rebuild Vm volume API

func (*Client) RollbackVMVolume added in v2.3.0

func (a *Client) RollbackVMVolume(params *RollbackVMVolumeParams, opts ...ClientOption) (*RollbackVMVolumeOK, error)

RollbackVMVolume rollback Vm volume API

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateVMVolume added in v2.3.0

func (a *Client) UpdateVMVolume(params *UpdateVMVolumeParams, opts ...ClientOption) (*UpdateVMVolumeOK, error)

UpdateVMVolume update Vm volume API

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	CloneVMVolume(params *CloneVMVolumeParams, opts ...ClientOption) (*CloneVMVolumeOK, error)

	CreateVMVolume(params *CreateVMVolumeParams, opts ...ClientOption) (*CreateVMVolumeOK, error)

	DeleteVMVolumeFromVM(params *DeleteVMVolumeFromVMParams, opts ...ClientOption) (*DeleteVMVolumeFromVMOK, error)

	GetVMVolumes(params *GetVMVolumesParams, opts ...ClientOption) (*GetVMVolumesOK, error)

	GetVMVolumesConnection(params *GetVMVolumesConnectionParams, opts ...ClientOption) (*GetVMVolumesConnectionOK, error)

	RebuildVMVolume(params *RebuildVMVolumeParams, opts ...ClientOption) (*RebuildVMVolumeOK, error)

	RollbackVMVolume(params *RollbackVMVolumeParams, opts ...ClientOption) (*RollbackVMVolumeOK, error)

	UpdateVMVolume(params *UpdateVMVolumeParams, opts ...ClientOption) (*UpdateVMVolumeOK, 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 volume API client.

type CloneVMVolumeBadRequest added in v2.3.0

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

Bad request

func NewCloneVMVolumeBadRequest added in v2.3.0

func NewCloneVMVolumeBadRequest() *CloneVMVolumeBadRequest

NewCloneVMVolumeBadRequest creates a CloneVMVolumeBadRequest with default headers values

func (*CloneVMVolumeBadRequest) Error added in v2.3.0

func (o *CloneVMVolumeBadRequest) Error() string

func (*CloneVMVolumeBadRequest) GetPayload added in v2.3.0

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

type CloneVMVolumeInternalServerError added in v2.3.0

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

Server error

func NewCloneVMVolumeInternalServerError added in v2.3.0

func NewCloneVMVolumeInternalServerError() *CloneVMVolumeInternalServerError

NewCloneVMVolumeInternalServerError creates a CloneVMVolumeInternalServerError with default headers values

func (*CloneVMVolumeInternalServerError) Error added in v2.3.0

func (*CloneVMVolumeInternalServerError) GetPayload added in v2.3.0

type CloneVMVolumeNotFound added in v2.3.0

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

Not found

func NewCloneVMVolumeNotFound added in v2.3.0

func NewCloneVMVolumeNotFound() *CloneVMVolumeNotFound

NewCloneVMVolumeNotFound creates a CloneVMVolumeNotFound with default headers values

func (*CloneVMVolumeNotFound) Error added in v2.3.0

func (o *CloneVMVolumeNotFound) Error() string

func (*CloneVMVolumeNotFound) GetPayload added in v2.3.0

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

type CloneVMVolumeOK added in v2.3.0

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

Ok

func NewCloneVMVolumeOK added in v2.3.0

func NewCloneVMVolumeOK() *CloneVMVolumeOK

NewCloneVMVolumeOK creates a CloneVMVolumeOK with default headers values

func (*CloneVMVolumeOK) Error added in v2.3.0

func (o *CloneVMVolumeOK) Error() string

func (*CloneVMVolumeOK) GetPayload added in v2.3.0

func (o *CloneVMVolumeOK) GetPayload() []*models.WithTaskVMVolume

type CloneVMVolumeParams added in v2.3.0

type CloneVMVolumeParams struct {

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

	// RequestBody.
	RequestBody []*models.CloneVMVolumeParams

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

CloneVMVolumeParams contains all the parameters to send to the API endpoint

for the clone Vm volume operation.

Typically these are written to a http.Request.

func NewCloneVMVolumeParams added in v2.3.0

func NewCloneVMVolumeParams() *CloneVMVolumeParams

NewCloneVMVolumeParams creates a new CloneVMVolumeParams 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 NewCloneVMVolumeParamsWithContext added in v2.3.0

func NewCloneVMVolumeParamsWithContext(ctx context.Context) *CloneVMVolumeParams

NewCloneVMVolumeParamsWithContext creates a new CloneVMVolumeParams object with the ability to set a context for a request.

func NewCloneVMVolumeParamsWithHTTPClient added in v2.3.0

func NewCloneVMVolumeParamsWithHTTPClient(client *http.Client) *CloneVMVolumeParams

NewCloneVMVolumeParamsWithHTTPClient creates a new CloneVMVolumeParams object with the ability to set a custom HTTPClient for a request.

func NewCloneVMVolumeParamsWithTimeout added in v2.3.0

func NewCloneVMVolumeParamsWithTimeout(timeout time.Duration) *CloneVMVolumeParams

NewCloneVMVolumeParamsWithTimeout creates a new CloneVMVolumeParams object with the ability to set a timeout on a request.

func (*CloneVMVolumeParams) SetContentLanguage added in v2.3.0

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

SetContentLanguage adds the contentLanguage to the clone Vm volume params

func (*CloneVMVolumeParams) SetContext added in v2.3.0

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

SetContext adds the context to the clone Vm volume params

func (*CloneVMVolumeParams) SetDefaults added in v2.3.0

func (o *CloneVMVolumeParams) SetDefaults()

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

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

func (*CloneVMVolumeParams) SetHTTPClient added in v2.3.0

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

SetHTTPClient adds the HTTPClient to the clone Vm volume params

func (*CloneVMVolumeParams) SetRequestBody added in v2.3.0

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

SetRequestBody adds the requestBody to the clone Vm volume params

func (*CloneVMVolumeParams) SetTimeout added in v2.3.0

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

SetTimeout adds the timeout to the clone Vm volume params

func (*CloneVMVolumeParams) WithContentLanguage added in v2.3.0

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

WithContentLanguage adds the contentLanguage to the clone Vm volume params

func (*CloneVMVolumeParams) WithContext added in v2.3.0

WithContext adds the context to the clone Vm volume params

func (*CloneVMVolumeParams) WithDefaults added in v2.3.0

func (o *CloneVMVolumeParams) WithDefaults() *CloneVMVolumeParams

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

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

func (*CloneVMVolumeParams) WithHTTPClient added in v2.3.0

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

WithHTTPClient adds the HTTPClient to the clone Vm volume params

func (*CloneVMVolumeParams) WithRequestBody added in v2.3.0

func (o *CloneVMVolumeParams) WithRequestBody(requestBody []*models.CloneVMVolumeParams) *CloneVMVolumeParams

WithRequestBody adds the requestBody to the clone Vm volume params

func (*CloneVMVolumeParams) WithTimeout added in v2.3.0

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

WithTimeout adds the timeout to the clone Vm volume params

func (*CloneVMVolumeParams) WriteToRequest added in v2.3.0

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

WriteToRequest writes these params to a swagger request

type CloneVMVolumeReader added in v2.3.0

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

CloneVMVolumeReader is a Reader for the CloneVMVolume structure.

func (*CloneVMVolumeReader) ReadResponse added in v2.3.0

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

ReadResponse reads a server response into the received o.

type CreateVMVolumeBadRequest

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

Bad request

func NewCreateVMVolumeBadRequest

func NewCreateVMVolumeBadRequest() *CreateVMVolumeBadRequest

NewCreateVMVolumeBadRequest creates a CreateVMVolumeBadRequest with default headers values

func (*CreateVMVolumeBadRequest) Error

func (o *CreateVMVolumeBadRequest) Error() string

func (*CreateVMVolumeBadRequest) GetPayload

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

type CreateVMVolumeInternalServerError

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

Server error

func NewCreateVMVolumeInternalServerError

func NewCreateVMVolumeInternalServerError() *CreateVMVolumeInternalServerError

NewCreateVMVolumeInternalServerError creates a CreateVMVolumeInternalServerError with default headers values

func (*CreateVMVolumeInternalServerError) Error

func (*CreateVMVolumeInternalServerError) GetPayload

type CreateVMVolumeNotFound

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

Not found

func NewCreateVMVolumeNotFound

func NewCreateVMVolumeNotFound() *CreateVMVolumeNotFound

NewCreateVMVolumeNotFound creates a CreateVMVolumeNotFound with default headers values

func (*CreateVMVolumeNotFound) Error

func (o *CreateVMVolumeNotFound) Error() string

func (*CreateVMVolumeNotFound) GetPayload

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

type CreateVMVolumeOK

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

Ok

func NewCreateVMVolumeOK

func NewCreateVMVolumeOK() *CreateVMVolumeOK

NewCreateVMVolumeOK creates a CreateVMVolumeOK with default headers values

func (*CreateVMVolumeOK) Error

func (o *CreateVMVolumeOK) Error() string

func (*CreateVMVolumeOK) GetPayload

func (o *CreateVMVolumeOK) GetPayload() []*models.WithTaskVMVolume

type CreateVMVolumeParams

type CreateVMVolumeParams struct {

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

	// RequestBody.
	RequestBody []*models.VMVolumeCreationParams

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

CreateVMVolumeParams contains all the parameters to send to the API endpoint

for the create Vm volume operation.

Typically these are written to a http.Request.

func NewCreateVMVolumeParams

func NewCreateVMVolumeParams() *CreateVMVolumeParams

NewCreateVMVolumeParams creates a new CreateVMVolumeParams 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 NewCreateVMVolumeParamsWithContext

func NewCreateVMVolumeParamsWithContext(ctx context.Context) *CreateVMVolumeParams

NewCreateVMVolumeParamsWithContext creates a new CreateVMVolumeParams object with the ability to set a context for a request.

func NewCreateVMVolumeParamsWithHTTPClient

func NewCreateVMVolumeParamsWithHTTPClient(client *http.Client) *CreateVMVolumeParams

NewCreateVMVolumeParamsWithHTTPClient creates a new CreateVMVolumeParams object with the ability to set a custom HTTPClient for a request.

func NewCreateVMVolumeParamsWithTimeout

func NewCreateVMVolumeParamsWithTimeout(timeout time.Duration) *CreateVMVolumeParams

NewCreateVMVolumeParamsWithTimeout creates a new CreateVMVolumeParams object with the ability to set a timeout on a request.

func (*CreateVMVolumeParams) SetContentLanguage

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

SetContentLanguage adds the contentLanguage to the create Vm volume params

func (*CreateVMVolumeParams) SetContext

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

SetContext adds the context to the create Vm volume params

func (*CreateVMVolumeParams) SetDefaults

func (o *CreateVMVolumeParams) SetDefaults()

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

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

func (*CreateVMVolumeParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create Vm volume params

func (*CreateVMVolumeParams) SetRequestBody

func (o *CreateVMVolumeParams) SetRequestBody(requestBody []*models.VMVolumeCreationParams)

SetRequestBody adds the requestBody to the create Vm volume params

func (*CreateVMVolumeParams) SetTimeout

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

SetTimeout adds the timeout to the create Vm volume params

func (*CreateVMVolumeParams) WithContentLanguage

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

WithContentLanguage adds the contentLanguage to the create Vm volume params

func (*CreateVMVolumeParams) WithContext

WithContext adds the context to the create Vm volume params

func (*CreateVMVolumeParams) WithDefaults

func (o *CreateVMVolumeParams) WithDefaults() *CreateVMVolumeParams

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

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

func (*CreateVMVolumeParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create Vm volume params

func (*CreateVMVolumeParams) WithRequestBody

func (o *CreateVMVolumeParams) WithRequestBody(requestBody []*models.VMVolumeCreationParams) *CreateVMVolumeParams

WithRequestBody adds the requestBody to the create Vm volume params

func (*CreateVMVolumeParams) WithTimeout

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

WithTimeout adds the timeout to the create Vm volume params

func (*CreateVMVolumeParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type CreateVMVolumeReader

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

CreateVMVolumeReader is a Reader for the CreateVMVolume structure.

func (*CreateVMVolumeReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteVMVolumeFromVMBadRequest

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

Bad request

func NewDeleteVMVolumeFromVMBadRequest

func NewDeleteVMVolumeFromVMBadRequest() *DeleteVMVolumeFromVMBadRequest

NewDeleteVMVolumeFromVMBadRequest creates a DeleteVMVolumeFromVMBadRequest with default headers values

func (*DeleteVMVolumeFromVMBadRequest) Error

func (*DeleteVMVolumeFromVMBadRequest) GetPayload

type DeleteVMVolumeFromVMInternalServerError

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

Server error

func NewDeleteVMVolumeFromVMInternalServerError

func NewDeleteVMVolumeFromVMInternalServerError() *DeleteVMVolumeFromVMInternalServerError

NewDeleteVMVolumeFromVMInternalServerError creates a DeleteVMVolumeFromVMInternalServerError with default headers values

func (*DeleteVMVolumeFromVMInternalServerError) Error

func (*DeleteVMVolumeFromVMInternalServerError) GetPayload

type DeleteVMVolumeFromVMNotFound

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

Not found

func NewDeleteVMVolumeFromVMNotFound

func NewDeleteVMVolumeFromVMNotFound() *DeleteVMVolumeFromVMNotFound

NewDeleteVMVolumeFromVMNotFound creates a DeleteVMVolumeFromVMNotFound with default headers values

func (*DeleteVMVolumeFromVMNotFound) Error

func (*DeleteVMVolumeFromVMNotFound) GetPayload

type DeleteVMVolumeFromVMOK

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

Ok

func NewDeleteVMVolumeFromVMOK

func NewDeleteVMVolumeFromVMOK() *DeleteVMVolumeFromVMOK

NewDeleteVMVolumeFromVMOK creates a DeleteVMVolumeFromVMOK with default headers values

func (*DeleteVMVolumeFromVMOK) Error

func (o *DeleteVMVolumeFromVMOK) Error() string

func (*DeleteVMVolumeFromVMOK) GetPayload

type DeleteVMVolumeFromVMParams

type DeleteVMVolumeFromVMParams struct {

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

	// RequestBody.
	RequestBody *models.VMVolumeDeletionParams

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

DeleteVMVolumeFromVMParams contains all the parameters to send to the API endpoint

for the delete Vm volume from Vm operation.

Typically these are written to a http.Request.

func NewDeleteVMVolumeFromVMParams

func NewDeleteVMVolumeFromVMParams() *DeleteVMVolumeFromVMParams

NewDeleteVMVolumeFromVMParams creates a new DeleteVMVolumeFromVMParams 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 NewDeleteVMVolumeFromVMParamsWithContext

func NewDeleteVMVolumeFromVMParamsWithContext(ctx context.Context) *DeleteVMVolumeFromVMParams

NewDeleteVMVolumeFromVMParamsWithContext creates a new DeleteVMVolumeFromVMParams object with the ability to set a context for a request.

func NewDeleteVMVolumeFromVMParamsWithHTTPClient

func NewDeleteVMVolumeFromVMParamsWithHTTPClient(client *http.Client) *DeleteVMVolumeFromVMParams

NewDeleteVMVolumeFromVMParamsWithHTTPClient creates a new DeleteVMVolumeFromVMParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteVMVolumeFromVMParamsWithTimeout

func NewDeleteVMVolumeFromVMParamsWithTimeout(timeout time.Duration) *DeleteVMVolumeFromVMParams

NewDeleteVMVolumeFromVMParamsWithTimeout creates a new DeleteVMVolumeFromVMParams object with the ability to set a timeout on a request.

func (*DeleteVMVolumeFromVMParams) SetContentLanguage

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

SetContentLanguage adds the contentLanguage to the delete Vm volume from Vm params

func (*DeleteVMVolumeFromVMParams) SetContext

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

SetContext adds the context to the delete Vm volume from Vm params

func (*DeleteVMVolumeFromVMParams) SetDefaults

func (o *DeleteVMVolumeFromVMParams) SetDefaults()

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

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

func (*DeleteVMVolumeFromVMParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete Vm volume from Vm params

func (*DeleteVMVolumeFromVMParams) SetRequestBody

func (o *DeleteVMVolumeFromVMParams) SetRequestBody(requestBody *models.VMVolumeDeletionParams)

SetRequestBody adds the requestBody to the delete Vm volume from Vm params

func (*DeleteVMVolumeFromVMParams) SetTimeout

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

SetTimeout adds the timeout to the delete Vm volume from Vm params

func (*DeleteVMVolumeFromVMParams) WithContentLanguage

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

WithContentLanguage adds the contentLanguage to the delete Vm volume from Vm params

func (*DeleteVMVolumeFromVMParams) WithContext

WithContext adds the context to the delete Vm volume from Vm params

func (*DeleteVMVolumeFromVMParams) WithDefaults

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

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

func (*DeleteVMVolumeFromVMParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete Vm volume from Vm params

func (*DeleteVMVolumeFromVMParams) WithRequestBody

WithRequestBody adds the requestBody to the delete Vm volume from Vm params

func (*DeleteVMVolumeFromVMParams) WithTimeout

WithTimeout adds the timeout to the delete Vm volume from Vm params

func (*DeleteVMVolumeFromVMParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteVMVolumeFromVMReader

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

DeleteVMVolumeFromVMReader is a Reader for the DeleteVMVolumeFromVM structure.

func (*DeleteVMVolumeFromVMReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetVMVolumesBadRequest

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

Bad request

func NewGetVMVolumesBadRequest

func NewGetVMVolumesBadRequest() *GetVMVolumesBadRequest

NewGetVMVolumesBadRequest creates a GetVMVolumesBadRequest with default headers values

func (*GetVMVolumesBadRequest) Error

func (o *GetVMVolumesBadRequest) Error() string

func (*GetVMVolumesBadRequest) GetPayload

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

type GetVMVolumesConnectionBadRequest

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

Bad request

func NewGetVMVolumesConnectionBadRequest

func NewGetVMVolumesConnectionBadRequest() *GetVMVolumesConnectionBadRequest

NewGetVMVolumesConnectionBadRequest creates a GetVMVolumesConnectionBadRequest with default headers values

func (*GetVMVolumesConnectionBadRequest) Error

func (*GetVMVolumesConnectionBadRequest) GetPayload

type GetVMVolumesConnectionInternalServerError

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

Server error

func NewGetVMVolumesConnectionInternalServerError

func NewGetVMVolumesConnectionInternalServerError() *GetVMVolumesConnectionInternalServerError

NewGetVMVolumesConnectionInternalServerError creates a GetVMVolumesConnectionInternalServerError with default headers values

func (*GetVMVolumesConnectionInternalServerError) Error

func (*GetVMVolumesConnectionInternalServerError) GetPayload

type GetVMVolumesConnectionNotFound

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

Not found

func NewGetVMVolumesConnectionNotFound

func NewGetVMVolumesConnectionNotFound() *GetVMVolumesConnectionNotFound

NewGetVMVolumesConnectionNotFound creates a GetVMVolumesConnectionNotFound with default headers values

func (*GetVMVolumesConnectionNotFound) Error

func (*GetVMVolumesConnectionNotFound) GetPayload

type GetVMVolumesConnectionOK

type GetVMVolumesConnectionOK struct {
	Payload *models.VMVolumeConnection
}
GetVMVolumesConnectionOK describes a response with status code 200, with default header values.

Ok

func NewGetVMVolumesConnectionOK

func NewGetVMVolumesConnectionOK() *GetVMVolumesConnectionOK

NewGetVMVolumesConnectionOK creates a GetVMVolumesConnectionOK with default headers values

func (*GetVMVolumesConnectionOK) Error

func (o *GetVMVolumesConnectionOK) Error() string

func (*GetVMVolumesConnectionOK) GetPayload

type GetVMVolumesConnectionParams

type GetVMVolumesConnectionParams struct {

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

	// RequestBody.
	RequestBody *models.GetVMVolumesConnectionRequestBody

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

GetVMVolumesConnectionParams contains all the parameters to send to the API endpoint

for the get Vm volumes connection operation.

Typically these are written to a http.Request.

func NewGetVMVolumesConnectionParams

func NewGetVMVolumesConnectionParams() *GetVMVolumesConnectionParams

NewGetVMVolumesConnectionParams creates a new GetVMVolumesConnectionParams 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 NewGetVMVolumesConnectionParamsWithContext

func NewGetVMVolumesConnectionParamsWithContext(ctx context.Context) *GetVMVolumesConnectionParams

NewGetVMVolumesConnectionParamsWithContext creates a new GetVMVolumesConnectionParams object with the ability to set a context for a request.

func NewGetVMVolumesConnectionParamsWithHTTPClient

func NewGetVMVolumesConnectionParamsWithHTTPClient(client *http.Client) *GetVMVolumesConnectionParams

NewGetVMVolumesConnectionParamsWithHTTPClient creates a new GetVMVolumesConnectionParams object with the ability to set a custom HTTPClient for a request.

func NewGetVMVolumesConnectionParamsWithTimeout

func NewGetVMVolumesConnectionParamsWithTimeout(timeout time.Duration) *GetVMVolumesConnectionParams

NewGetVMVolumesConnectionParamsWithTimeout creates a new GetVMVolumesConnectionParams object with the ability to set a timeout on a request.

func (*GetVMVolumesConnectionParams) SetContentLanguage

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

SetContentLanguage adds the contentLanguage to the get Vm volumes connection params

func (*GetVMVolumesConnectionParams) SetContext

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

SetContext adds the context to the get Vm volumes connection params

func (*GetVMVolumesConnectionParams) SetDefaults

func (o *GetVMVolumesConnectionParams) SetDefaults()

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

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

func (*GetVMVolumesConnectionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get Vm volumes connection params

func (*GetVMVolumesConnectionParams) SetRequestBody

SetRequestBody adds the requestBody to the get Vm volumes connection params

func (*GetVMVolumesConnectionParams) SetTimeout

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

SetTimeout adds the timeout to the get Vm volumes connection params

func (*GetVMVolumesConnectionParams) WithContentLanguage

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

WithContentLanguage adds the contentLanguage to the get Vm volumes connection params

func (*GetVMVolumesConnectionParams) WithContext

WithContext adds the context to the get Vm volumes connection params

func (*GetVMVolumesConnectionParams) WithDefaults

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

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

func (*GetVMVolumesConnectionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get Vm volumes connection params

func (*GetVMVolumesConnectionParams) WithRequestBody

WithRequestBody adds the requestBody to the get Vm volumes connection params

func (*GetVMVolumesConnectionParams) WithTimeout

WithTimeout adds the timeout to the get Vm volumes connection params

func (*GetVMVolumesConnectionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetVMVolumesConnectionReader

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

GetVMVolumesConnectionReader is a Reader for the GetVMVolumesConnection structure.

func (*GetVMVolumesConnectionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetVMVolumesInternalServerError

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

Server error

func NewGetVMVolumesInternalServerError

func NewGetVMVolumesInternalServerError() *GetVMVolumesInternalServerError

NewGetVMVolumesInternalServerError creates a GetVMVolumesInternalServerError with default headers values

func (*GetVMVolumesInternalServerError) Error

func (*GetVMVolumesInternalServerError) GetPayload

type GetVMVolumesNotFound

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

Not found

func NewGetVMVolumesNotFound

func NewGetVMVolumesNotFound() *GetVMVolumesNotFound

NewGetVMVolumesNotFound creates a GetVMVolumesNotFound with default headers values

func (*GetVMVolumesNotFound) Error

func (o *GetVMVolumesNotFound) Error() string

func (*GetVMVolumesNotFound) GetPayload

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

type GetVMVolumesOK

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

Ok

func NewGetVMVolumesOK

func NewGetVMVolumesOK() *GetVMVolumesOK

NewGetVMVolumesOK creates a GetVMVolumesOK with default headers values

func (*GetVMVolumesOK) Error

func (o *GetVMVolumesOK) Error() string

func (*GetVMVolumesOK) GetPayload

func (o *GetVMVolumesOK) GetPayload() []*models.VMVolume

type GetVMVolumesParams

type GetVMVolumesParams struct {

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

	// RequestBody.
	RequestBody *models.GetVMVolumesRequestBody

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

GetVMVolumesParams contains all the parameters to send to the API endpoint

for the get Vm volumes operation.

Typically these are written to a http.Request.

func NewGetVMVolumesParams

func NewGetVMVolumesParams() *GetVMVolumesParams

NewGetVMVolumesParams creates a new GetVMVolumesParams 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 NewGetVMVolumesParamsWithContext

func NewGetVMVolumesParamsWithContext(ctx context.Context) *GetVMVolumesParams

NewGetVMVolumesParamsWithContext creates a new GetVMVolumesParams object with the ability to set a context for a request.

func NewGetVMVolumesParamsWithHTTPClient

func NewGetVMVolumesParamsWithHTTPClient(client *http.Client) *GetVMVolumesParams

NewGetVMVolumesParamsWithHTTPClient creates a new GetVMVolumesParams object with the ability to set a custom HTTPClient for a request.

func NewGetVMVolumesParamsWithTimeout

func NewGetVMVolumesParamsWithTimeout(timeout time.Duration) *GetVMVolumesParams

NewGetVMVolumesParamsWithTimeout creates a new GetVMVolumesParams object with the ability to set a timeout on a request.

func (*GetVMVolumesParams) SetContentLanguage

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

SetContentLanguage adds the contentLanguage to the get Vm volumes params

func (*GetVMVolumesParams) SetContext

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

SetContext adds the context to the get Vm volumes params

func (*GetVMVolumesParams) SetDefaults

func (o *GetVMVolumesParams) SetDefaults()

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

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

func (*GetVMVolumesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get Vm volumes params

func (*GetVMVolumesParams) SetRequestBody

func (o *GetVMVolumesParams) SetRequestBody(requestBody *models.GetVMVolumesRequestBody)

SetRequestBody adds the requestBody to the get Vm volumes params

func (*GetVMVolumesParams) SetTimeout

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

SetTimeout adds the timeout to the get Vm volumes params

func (*GetVMVolumesParams) WithContentLanguage

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

WithContentLanguage adds the contentLanguage to the get Vm volumes params

func (*GetVMVolumesParams) WithContext

WithContext adds the context to the get Vm volumes params

func (*GetVMVolumesParams) WithDefaults

func (o *GetVMVolumesParams) WithDefaults() *GetVMVolumesParams

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

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

func (*GetVMVolumesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get Vm volumes params

func (*GetVMVolumesParams) WithRequestBody

func (o *GetVMVolumesParams) WithRequestBody(requestBody *models.GetVMVolumesRequestBody) *GetVMVolumesParams

WithRequestBody adds the requestBody to the get Vm volumes params

func (*GetVMVolumesParams) WithTimeout

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

WithTimeout adds the timeout to the get Vm volumes params

func (*GetVMVolumesParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetVMVolumesReader

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

GetVMVolumesReader is a Reader for the GetVMVolumes structure.

func (*GetVMVolumesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RebuildVMVolumeBadRequest added in v2.3.0

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

Bad request

func NewRebuildVMVolumeBadRequest added in v2.3.0

func NewRebuildVMVolumeBadRequest() *RebuildVMVolumeBadRequest

NewRebuildVMVolumeBadRequest creates a RebuildVMVolumeBadRequest with default headers values

func (*RebuildVMVolumeBadRequest) Error added in v2.3.0

func (o *RebuildVMVolumeBadRequest) Error() string

func (*RebuildVMVolumeBadRequest) GetPayload added in v2.3.0

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

type RebuildVMVolumeInternalServerError added in v2.3.0

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

Server error

func NewRebuildVMVolumeInternalServerError added in v2.3.0

func NewRebuildVMVolumeInternalServerError() *RebuildVMVolumeInternalServerError

NewRebuildVMVolumeInternalServerError creates a RebuildVMVolumeInternalServerError with default headers values

func (*RebuildVMVolumeInternalServerError) Error added in v2.3.0

func (*RebuildVMVolumeInternalServerError) GetPayload added in v2.3.0

type RebuildVMVolumeNotFound added in v2.3.0

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

Not found

func NewRebuildVMVolumeNotFound added in v2.3.0

func NewRebuildVMVolumeNotFound() *RebuildVMVolumeNotFound

NewRebuildVMVolumeNotFound creates a RebuildVMVolumeNotFound with default headers values

func (*RebuildVMVolumeNotFound) Error added in v2.3.0

func (o *RebuildVMVolumeNotFound) Error() string

func (*RebuildVMVolumeNotFound) GetPayload added in v2.3.0

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

type RebuildVMVolumeNotModified added in v2.3.0

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

Not modified

func NewRebuildVMVolumeNotModified added in v2.3.0

func NewRebuildVMVolumeNotModified() *RebuildVMVolumeNotModified

NewRebuildVMVolumeNotModified creates a RebuildVMVolumeNotModified with default headers values

func (*RebuildVMVolumeNotModified) Error added in v2.3.0

type RebuildVMVolumeOK added in v2.3.0

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

Ok

func NewRebuildVMVolumeOK added in v2.3.0

func NewRebuildVMVolumeOK() *RebuildVMVolumeOK

NewRebuildVMVolumeOK creates a RebuildVMVolumeOK with default headers values

func (*RebuildVMVolumeOK) Error added in v2.3.0

func (o *RebuildVMVolumeOK) Error() string

func (*RebuildVMVolumeOK) GetPayload added in v2.3.0

func (o *RebuildVMVolumeOK) GetPayload() []*models.WithTaskVMVolume

type RebuildVMVolumeParams added in v2.3.0

type RebuildVMVolumeParams struct {

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

	// RequestBody.
	RequestBody []*models.VMVolumeRebuildParams

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

RebuildVMVolumeParams contains all the parameters to send to the API endpoint

for the rebuild Vm volume operation.

Typically these are written to a http.Request.

func NewRebuildVMVolumeParams added in v2.3.0

func NewRebuildVMVolumeParams() *RebuildVMVolumeParams

NewRebuildVMVolumeParams creates a new RebuildVMVolumeParams 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 NewRebuildVMVolumeParamsWithContext added in v2.3.0

func NewRebuildVMVolumeParamsWithContext(ctx context.Context) *RebuildVMVolumeParams

NewRebuildVMVolumeParamsWithContext creates a new RebuildVMVolumeParams object with the ability to set a context for a request.

func NewRebuildVMVolumeParamsWithHTTPClient added in v2.3.0

func NewRebuildVMVolumeParamsWithHTTPClient(client *http.Client) *RebuildVMVolumeParams

NewRebuildVMVolumeParamsWithHTTPClient creates a new RebuildVMVolumeParams object with the ability to set a custom HTTPClient for a request.

func NewRebuildVMVolumeParamsWithTimeout added in v2.3.0

func NewRebuildVMVolumeParamsWithTimeout(timeout time.Duration) *RebuildVMVolumeParams

NewRebuildVMVolumeParamsWithTimeout creates a new RebuildVMVolumeParams object with the ability to set a timeout on a request.

func (*RebuildVMVolumeParams) SetContentLanguage added in v2.3.0

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

SetContentLanguage adds the contentLanguage to the rebuild Vm volume params

func (*RebuildVMVolumeParams) SetContext added in v2.3.0

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

SetContext adds the context to the rebuild Vm volume params

func (*RebuildVMVolumeParams) SetDefaults added in v2.3.0

func (o *RebuildVMVolumeParams) SetDefaults()

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

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

func (*RebuildVMVolumeParams) SetHTTPClient added in v2.3.0

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

SetHTTPClient adds the HTTPClient to the rebuild Vm volume params

func (*RebuildVMVolumeParams) SetRequestBody added in v2.3.0

func (o *RebuildVMVolumeParams) SetRequestBody(requestBody []*models.VMVolumeRebuildParams)

SetRequestBody adds the requestBody to the rebuild Vm volume params

func (*RebuildVMVolumeParams) SetTimeout added in v2.3.0

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

SetTimeout adds the timeout to the rebuild Vm volume params

func (*RebuildVMVolumeParams) WithContentLanguage added in v2.3.0

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

WithContentLanguage adds the contentLanguage to the rebuild Vm volume params

func (*RebuildVMVolumeParams) WithContext added in v2.3.0

WithContext adds the context to the rebuild Vm volume params

func (*RebuildVMVolumeParams) WithDefaults added in v2.3.0

func (o *RebuildVMVolumeParams) WithDefaults() *RebuildVMVolumeParams

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

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

func (*RebuildVMVolumeParams) WithHTTPClient added in v2.3.0

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

WithHTTPClient adds the HTTPClient to the rebuild Vm volume params

func (*RebuildVMVolumeParams) WithRequestBody added in v2.3.0

func (o *RebuildVMVolumeParams) WithRequestBody(requestBody []*models.VMVolumeRebuildParams) *RebuildVMVolumeParams

WithRequestBody adds the requestBody to the rebuild Vm volume params

func (*RebuildVMVolumeParams) WithTimeout added in v2.3.0

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

WithTimeout adds the timeout to the rebuild Vm volume params

func (*RebuildVMVolumeParams) WriteToRequest added in v2.3.0

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

WriteToRequest writes these params to a swagger request

type RebuildVMVolumeReader added in v2.3.0

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

RebuildVMVolumeReader is a Reader for the RebuildVMVolume structure.

func (*RebuildVMVolumeReader) ReadResponse added in v2.3.0

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

ReadResponse reads a server response into the received o.

type RollbackVMVolumeBadRequest added in v2.3.0

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

Bad request

func NewRollbackVMVolumeBadRequest added in v2.3.0

func NewRollbackVMVolumeBadRequest() *RollbackVMVolumeBadRequest

NewRollbackVMVolumeBadRequest creates a RollbackVMVolumeBadRequest with default headers values

func (*RollbackVMVolumeBadRequest) Error added in v2.3.0

func (*RollbackVMVolumeBadRequest) GetPayload added in v2.3.0

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

type RollbackVMVolumeInternalServerError added in v2.3.0

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

Server error

func NewRollbackVMVolumeInternalServerError added in v2.3.0

func NewRollbackVMVolumeInternalServerError() *RollbackVMVolumeInternalServerError

NewRollbackVMVolumeInternalServerError creates a RollbackVMVolumeInternalServerError with default headers values

func (*RollbackVMVolumeInternalServerError) Error added in v2.3.0

func (*RollbackVMVolumeInternalServerError) GetPayload added in v2.3.0

type RollbackVMVolumeNotFound added in v2.3.0

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

Not found

func NewRollbackVMVolumeNotFound added in v2.3.0

func NewRollbackVMVolumeNotFound() *RollbackVMVolumeNotFound

NewRollbackVMVolumeNotFound creates a RollbackVMVolumeNotFound with default headers values

func (*RollbackVMVolumeNotFound) Error added in v2.3.0

func (o *RollbackVMVolumeNotFound) Error() string

func (*RollbackVMVolumeNotFound) GetPayload added in v2.3.0

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

type RollbackVMVolumeNotModified added in v2.3.0

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

Not modified

func NewRollbackVMVolumeNotModified added in v2.3.0

func NewRollbackVMVolumeNotModified() *RollbackVMVolumeNotModified

NewRollbackVMVolumeNotModified creates a RollbackVMVolumeNotModified with default headers values

func (*RollbackVMVolumeNotModified) Error added in v2.3.0

type RollbackVMVolumeOK added in v2.3.0

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

Ok

func NewRollbackVMVolumeOK added in v2.3.0

func NewRollbackVMVolumeOK() *RollbackVMVolumeOK

NewRollbackVMVolumeOK creates a RollbackVMVolumeOK with default headers values

func (*RollbackVMVolumeOK) Error added in v2.3.0

func (o *RollbackVMVolumeOK) Error() string

func (*RollbackVMVolumeOK) GetPayload added in v2.3.0

func (o *RollbackVMVolumeOK) GetPayload() []*models.WithTaskVMVolume

type RollbackVMVolumeParams added in v2.3.0

type RollbackVMVolumeParams struct {

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

	// RequestBody.
	RequestBody []*models.VMVolumeRollbackParams

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

RollbackVMVolumeParams contains all the parameters to send to the API endpoint

for the rollback Vm volume operation.

Typically these are written to a http.Request.

func NewRollbackVMVolumeParams added in v2.3.0

func NewRollbackVMVolumeParams() *RollbackVMVolumeParams

NewRollbackVMVolumeParams creates a new RollbackVMVolumeParams 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 NewRollbackVMVolumeParamsWithContext added in v2.3.0

func NewRollbackVMVolumeParamsWithContext(ctx context.Context) *RollbackVMVolumeParams

NewRollbackVMVolumeParamsWithContext creates a new RollbackVMVolumeParams object with the ability to set a context for a request.

func NewRollbackVMVolumeParamsWithHTTPClient added in v2.3.0

func NewRollbackVMVolumeParamsWithHTTPClient(client *http.Client) *RollbackVMVolumeParams

NewRollbackVMVolumeParamsWithHTTPClient creates a new RollbackVMVolumeParams object with the ability to set a custom HTTPClient for a request.

func NewRollbackVMVolumeParamsWithTimeout added in v2.3.0

func NewRollbackVMVolumeParamsWithTimeout(timeout time.Duration) *RollbackVMVolumeParams

NewRollbackVMVolumeParamsWithTimeout creates a new RollbackVMVolumeParams object with the ability to set a timeout on a request.

func (*RollbackVMVolumeParams) SetContentLanguage added in v2.3.0

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

SetContentLanguage adds the contentLanguage to the rollback Vm volume params

func (*RollbackVMVolumeParams) SetContext added in v2.3.0

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

SetContext adds the context to the rollback Vm volume params

func (*RollbackVMVolumeParams) SetDefaults added in v2.3.0

func (o *RollbackVMVolumeParams) SetDefaults()

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

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

func (*RollbackVMVolumeParams) SetHTTPClient added in v2.3.0

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

SetHTTPClient adds the HTTPClient to the rollback Vm volume params

func (*RollbackVMVolumeParams) SetRequestBody added in v2.3.0

func (o *RollbackVMVolumeParams) SetRequestBody(requestBody []*models.VMVolumeRollbackParams)

SetRequestBody adds the requestBody to the rollback Vm volume params

func (*RollbackVMVolumeParams) SetTimeout added in v2.3.0

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

SetTimeout adds the timeout to the rollback Vm volume params

func (*RollbackVMVolumeParams) WithContentLanguage added in v2.3.0

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

WithContentLanguage adds the contentLanguage to the rollback Vm volume params

func (*RollbackVMVolumeParams) WithContext added in v2.3.0

WithContext adds the context to the rollback Vm volume params

func (*RollbackVMVolumeParams) WithDefaults added in v2.3.0

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

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

func (*RollbackVMVolumeParams) WithHTTPClient added in v2.3.0

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

WithHTTPClient adds the HTTPClient to the rollback Vm volume params

func (*RollbackVMVolumeParams) WithRequestBody added in v2.3.0

func (o *RollbackVMVolumeParams) WithRequestBody(requestBody []*models.VMVolumeRollbackParams) *RollbackVMVolumeParams

WithRequestBody adds the requestBody to the rollback Vm volume params

func (*RollbackVMVolumeParams) WithTimeout added in v2.3.0

WithTimeout adds the timeout to the rollback Vm volume params

func (*RollbackVMVolumeParams) WriteToRequest added in v2.3.0

WriteToRequest writes these params to a swagger request

type RollbackVMVolumeReader added in v2.3.0

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

RollbackVMVolumeReader is a Reader for the RollbackVMVolume structure.

func (*RollbackVMVolumeReader) ReadResponse added in v2.3.0

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

ReadResponse reads a server response into the received o.

type UpdateVMVolumeBadRequest added in v2.3.0

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

Bad request

func NewUpdateVMVolumeBadRequest added in v2.3.0

func NewUpdateVMVolumeBadRequest() *UpdateVMVolumeBadRequest

NewUpdateVMVolumeBadRequest creates a UpdateVMVolumeBadRequest with default headers values

func (*UpdateVMVolumeBadRequest) Error added in v2.3.0

func (o *UpdateVMVolumeBadRequest) Error() string

func (*UpdateVMVolumeBadRequest) GetPayload added in v2.3.0

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

type UpdateVMVolumeInternalServerError added in v2.3.0

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

Server error

func NewUpdateVMVolumeInternalServerError added in v2.3.0

func NewUpdateVMVolumeInternalServerError() *UpdateVMVolumeInternalServerError

NewUpdateVMVolumeInternalServerError creates a UpdateVMVolumeInternalServerError with default headers values

func (*UpdateVMVolumeInternalServerError) Error added in v2.3.0

func (*UpdateVMVolumeInternalServerError) GetPayload added in v2.3.0

type UpdateVMVolumeNotFound added in v2.3.0

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

Not found

func NewUpdateVMVolumeNotFound added in v2.3.0

func NewUpdateVMVolumeNotFound() *UpdateVMVolumeNotFound

NewUpdateVMVolumeNotFound creates a UpdateVMVolumeNotFound with default headers values

func (*UpdateVMVolumeNotFound) Error added in v2.3.0

func (o *UpdateVMVolumeNotFound) Error() string

func (*UpdateVMVolumeNotFound) GetPayload added in v2.3.0

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

type UpdateVMVolumeNotModified added in v2.3.0

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

Not modified

func NewUpdateVMVolumeNotModified added in v2.3.0

func NewUpdateVMVolumeNotModified() *UpdateVMVolumeNotModified

NewUpdateVMVolumeNotModified creates a UpdateVMVolumeNotModified with default headers values

func (*UpdateVMVolumeNotModified) Error added in v2.3.0

func (o *UpdateVMVolumeNotModified) Error() string

type UpdateVMVolumeOK added in v2.3.0

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

Ok

func NewUpdateVMVolumeOK added in v2.3.0

func NewUpdateVMVolumeOK() *UpdateVMVolumeOK

NewUpdateVMVolumeOK creates a UpdateVMVolumeOK with default headers values

func (*UpdateVMVolumeOK) Error added in v2.3.0

func (o *UpdateVMVolumeOK) Error() string

func (*UpdateVMVolumeOK) GetPayload added in v2.3.0

func (o *UpdateVMVolumeOK) GetPayload() []*models.WithTaskVMVolume

type UpdateVMVolumeParams added in v2.3.0

type UpdateVMVolumeParams struct {

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

	// RequestBody.
	RequestBody *models.UpdateVMVolumeParams

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

UpdateVMVolumeParams contains all the parameters to send to the API endpoint

for the update Vm volume operation.

Typically these are written to a http.Request.

func NewUpdateVMVolumeParams added in v2.3.0

func NewUpdateVMVolumeParams() *UpdateVMVolumeParams

NewUpdateVMVolumeParams creates a new UpdateVMVolumeParams 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 NewUpdateVMVolumeParamsWithContext added in v2.3.0

func NewUpdateVMVolumeParamsWithContext(ctx context.Context) *UpdateVMVolumeParams

NewUpdateVMVolumeParamsWithContext creates a new UpdateVMVolumeParams object with the ability to set a context for a request.

func NewUpdateVMVolumeParamsWithHTTPClient added in v2.3.0

func NewUpdateVMVolumeParamsWithHTTPClient(client *http.Client) *UpdateVMVolumeParams

NewUpdateVMVolumeParamsWithHTTPClient creates a new UpdateVMVolumeParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateVMVolumeParamsWithTimeout added in v2.3.0

func NewUpdateVMVolumeParamsWithTimeout(timeout time.Duration) *UpdateVMVolumeParams

NewUpdateVMVolumeParamsWithTimeout creates a new UpdateVMVolumeParams object with the ability to set a timeout on a request.

func (*UpdateVMVolumeParams) SetContentLanguage added in v2.3.0

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

SetContentLanguage adds the contentLanguage to the update Vm volume params

func (*UpdateVMVolumeParams) SetContext added in v2.3.0

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

SetContext adds the context to the update Vm volume params

func (*UpdateVMVolumeParams) SetDefaults added in v2.3.0

func (o *UpdateVMVolumeParams) SetDefaults()

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

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

func (*UpdateVMVolumeParams) SetHTTPClient added in v2.3.0

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

SetHTTPClient adds the HTTPClient to the update Vm volume params

func (*UpdateVMVolumeParams) SetRequestBody added in v2.3.0

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

SetRequestBody adds the requestBody to the update Vm volume params

func (*UpdateVMVolumeParams) SetTimeout added in v2.3.0

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

SetTimeout adds the timeout to the update Vm volume params

func (*UpdateVMVolumeParams) WithContentLanguage added in v2.3.0

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

WithContentLanguage adds the contentLanguage to the update Vm volume params

func (*UpdateVMVolumeParams) WithContext added in v2.3.0

WithContext adds the context to the update Vm volume params

func (*UpdateVMVolumeParams) WithDefaults added in v2.3.0

func (o *UpdateVMVolumeParams) WithDefaults() *UpdateVMVolumeParams

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

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

func (*UpdateVMVolumeParams) WithHTTPClient added in v2.3.0

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

WithHTTPClient adds the HTTPClient to the update Vm volume params

func (*UpdateVMVolumeParams) WithRequestBody added in v2.3.0

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

WithRequestBody adds the requestBody to the update Vm volume params

func (*UpdateVMVolumeParams) WithTimeout added in v2.3.0

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

WithTimeout adds the timeout to the update Vm volume params

func (*UpdateVMVolumeParams) WriteToRequest added in v2.3.0

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

WriteToRequest writes these params to a swagger request

type UpdateVMVolumeReader added in v2.3.0

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

UpdateVMVolumeReader is a Reader for the UpdateVMVolume structure.

func (*UpdateVMVolumeReader) ReadResponse added in v2.3.0

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

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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