virtual_machines

package
v1.2.4 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

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 virtual machines API

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) VcsVirtualMachineCreateUsingPUT added in v1.0.0

VcsVirtualMachineCreateUsingPUT creates

Create vSphere vCenter virtual machine

func (*Client) VcsVirtualMachineDeleteUsingDELETE added in v1.0.0

func (a *Client) VcsVirtualMachineDeleteUsingDELETE(params *VcsVirtualMachineDeleteUsingDELETEParams, opts ...ClientOption) (*VcsVirtualMachineDeleteUsingDELETEOK, error)

VcsVirtualMachineDeleteUsingDELETE deletes

Delete vSphere vCenter virtual machine

func (*Client) VcsVirtualMachineGroupGetUsingGET1

func (a *Client) VcsVirtualMachineGroupGetUsingGET1(params *VcsVirtualMachineGroupGetUsingGET1Params, opts ...ClientOption) (*VcsVirtualMachineGroupGetUsingGET1OK, error)

VcsVirtualMachineGroupGetUsingGET1 gets

Get vSphere vCenter virtual machine

func (*Client) VcsVirtualMachineListUsingGET1

func (a *Client) VcsVirtualMachineListUsingGET1(params *VcsVirtualMachineListUsingGET1Params, opts ...ClientOption) (*VcsVirtualMachineListUsingGET1OK, error)

VcsVirtualMachineListUsingGET1 lists

List vSphere vCenter virtual machines

func (*Client) VcsVirtualMachineSnapshotCreateUsingPUT added in v1.2.0

VcsVirtualMachineSnapshotCreateUsingPUT creates snapshot

Create virtual machine snapshot

func (*Client) VcsVirtualMachineSnapshotDeleteUsingDELETE added in v1.2.0

func (a *Client) VcsVirtualMachineSnapshotDeleteUsingDELETE(params *VcsVirtualMachineSnapshotDeleteUsingDELETEParams, opts ...ClientOption) (*VcsVirtualMachineSnapshotDeleteUsingDELETEOK, error)

VcsVirtualMachineSnapshotDeleteUsingDELETE deletes snapshot

Delete virtual machine snapshot

func (*Client) VcsVirtualMachineSnapshotGetUsingGET added in v1.2.0

func (a *Client) VcsVirtualMachineSnapshotGetUsingGET(params *VcsVirtualMachineSnapshotGetUsingGETParams, opts ...ClientOption) (*VcsVirtualMachineSnapshotGetUsingGETOK, error)

VcsVirtualMachineSnapshotGetUsingGET gets snapshot

Get virtual machine snapshot

func (*Client) VcsVirtualMachineSnapshotListUsingGET added in v1.2.0

func (a *Client) VcsVirtualMachineSnapshotListUsingGET(params *VcsVirtualMachineSnapshotListUsingGETParams, opts ...ClientOption) (*VcsVirtualMachineSnapshotListUsingGETOK, error)

VcsVirtualMachineSnapshotListUsingGET lists snapshots

List virtual machine snapshot(s)

func (*Client) VcsVirtualMachineSnapshotRevertUsingPOST added in v1.2.0

func (a *Client) VcsVirtualMachineSnapshotRevertUsingPOST(params *VcsVirtualMachineSnapshotRevertUsingPOSTParams, opts ...ClientOption) (*VcsVirtualMachineSnapshotRevertUsingPOSTOK, error)

VcsVirtualMachineSnapshotRevertUsingPOST reverts to snapshot

Revert to virtual machine snapshot

func (*Client) VcsVirtualMachineUpdateUsingPUT added in v1.0.0

func (a *Client) VcsVirtualMachineUpdateUsingPUT(params *VcsVirtualMachineUpdateUsingPUTParams, opts ...ClientOption) (*VcsVirtualMachineUpdateUsingPUTOK, error)

VcsVirtualMachineUpdateUsingPUT updates

Update vSphere vCenter virtual machine

type ClientOption added in v1.2.4

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	VcsVirtualMachineCreateUsingPUT(params *VcsVirtualMachineCreateUsingPUTParams, opts ...ClientOption) (*VcsVirtualMachineCreateUsingPUTOK, *VcsVirtualMachineCreateUsingPUTCreated, error)

	VcsVirtualMachineDeleteUsingDELETE(params *VcsVirtualMachineDeleteUsingDELETEParams, opts ...ClientOption) (*VcsVirtualMachineDeleteUsingDELETEOK, error)

	VcsVirtualMachineGroupGetUsingGET1(params *VcsVirtualMachineGroupGetUsingGET1Params, opts ...ClientOption) (*VcsVirtualMachineGroupGetUsingGET1OK, error)

	VcsVirtualMachineListUsingGET1(params *VcsVirtualMachineListUsingGET1Params, opts ...ClientOption) (*VcsVirtualMachineListUsingGET1OK, error)

	VcsVirtualMachineSnapshotCreateUsingPUT(params *VcsVirtualMachineSnapshotCreateUsingPUTParams, opts ...ClientOption) (*VcsVirtualMachineSnapshotCreateUsingPUTOK, *VcsVirtualMachineSnapshotCreateUsingPUTCreated, error)

	VcsVirtualMachineSnapshotDeleteUsingDELETE(params *VcsVirtualMachineSnapshotDeleteUsingDELETEParams, opts ...ClientOption) (*VcsVirtualMachineSnapshotDeleteUsingDELETEOK, error)

	VcsVirtualMachineSnapshotGetUsingGET(params *VcsVirtualMachineSnapshotGetUsingGETParams, opts ...ClientOption) (*VcsVirtualMachineSnapshotGetUsingGETOK, error)

	VcsVirtualMachineSnapshotListUsingGET(params *VcsVirtualMachineSnapshotListUsingGETParams, opts ...ClientOption) (*VcsVirtualMachineSnapshotListUsingGETOK, error)

	VcsVirtualMachineSnapshotRevertUsingPOST(params *VcsVirtualMachineSnapshotRevertUsingPOSTParams, opts ...ClientOption) (*VcsVirtualMachineSnapshotRevertUsingPOSTOK, error)

	VcsVirtualMachineUpdateUsingPUT(params *VcsVirtualMachineUpdateUsingPUTParams, opts ...ClientOption) (*VcsVirtualMachineUpdateUsingPUTOK, 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 virtual machines API client.

type VcsVirtualMachineCreateUsingPUTBadRequest added in v1.0.0

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

Bad request, error occurred. For more details see log messages.

func NewVcsVirtualMachineCreateUsingPUTBadRequest added in v1.0.0

func NewVcsVirtualMachineCreateUsingPUTBadRequest() *VcsVirtualMachineCreateUsingPUTBadRequest

NewVcsVirtualMachineCreateUsingPUTBadRequest creates a VcsVirtualMachineCreateUsingPUTBadRequest with default headers values

func (*VcsVirtualMachineCreateUsingPUTBadRequest) Error added in v1.0.0

func (*VcsVirtualMachineCreateUsingPUTBadRequest) GetPayload added in v1.2.0

type VcsVirtualMachineCreateUsingPUTCreated added in v1.0.0

type VcsVirtualMachineCreateUsingPUTCreated struct {
	Payload *models.VcsVirtualMachineCreateResponse
}
VcsVirtualMachineCreateUsingPUTCreated describes a response with status code 201, with default header values.

Entity has been created

func NewVcsVirtualMachineCreateUsingPUTCreated added in v1.0.0

func NewVcsVirtualMachineCreateUsingPUTCreated() *VcsVirtualMachineCreateUsingPUTCreated

NewVcsVirtualMachineCreateUsingPUTCreated creates a VcsVirtualMachineCreateUsingPUTCreated with default headers values

func (*VcsVirtualMachineCreateUsingPUTCreated) Error added in v1.0.0

func (*VcsVirtualMachineCreateUsingPUTCreated) GetPayload added in v1.0.0

type VcsVirtualMachineCreateUsingPUTOK added in v1.0.0

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

OK

func NewVcsVirtualMachineCreateUsingPUTOK added in v1.0.0

func NewVcsVirtualMachineCreateUsingPUTOK() *VcsVirtualMachineCreateUsingPUTOK

NewVcsVirtualMachineCreateUsingPUTOK creates a VcsVirtualMachineCreateUsingPUTOK with default headers values

func (*VcsVirtualMachineCreateUsingPUTOK) Error added in v1.0.0

func (*VcsVirtualMachineCreateUsingPUTOK) GetPayload added in v1.0.0

type VcsVirtualMachineCreateUsingPUTParams added in v1.0.0

type VcsVirtualMachineCreateUsingPUTParams struct {

	/* VirtualMachine.

	   virtualMachine
	*/
	VirtualMachine *models.VcsVirtualMachineInstance

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

VcsVirtualMachineCreateUsingPUTParams contains all the parameters to send to the API endpoint

for the vcs virtual machine create using p u t operation.

Typically these are written to a http.Request.

func NewVcsVirtualMachineCreateUsingPUTParams added in v1.0.0

func NewVcsVirtualMachineCreateUsingPUTParams() *VcsVirtualMachineCreateUsingPUTParams

NewVcsVirtualMachineCreateUsingPUTParams creates a new VcsVirtualMachineCreateUsingPUTParams 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 NewVcsVirtualMachineCreateUsingPUTParamsWithContext added in v1.0.0

func NewVcsVirtualMachineCreateUsingPUTParamsWithContext(ctx context.Context) *VcsVirtualMachineCreateUsingPUTParams

NewVcsVirtualMachineCreateUsingPUTParamsWithContext creates a new VcsVirtualMachineCreateUsingPUTParams object with the ability to set a context for a request.

func NewVcsVirtualMachineCreateUsingPUTParamsWithHTTPClient added in v1.0.0

func NewVcsVirtualMachineCreateUsingPUTParamsWithHTTPClient(client *http.Client) *VcsVirtualMachineCreateUsingPUTParams

NewVcsVirtualMachineCreateUsingPUTParamsWithHTTPClient creates a new VcsVirtualMachineCreateUsingPUTParams object with the ability to set a custom HTTPClient for a request.

func NewVcsVirtualMachineCreateUsingPUTParamsWithTimeout added in v1.0.0

func NewVcsVirtualMachineCreateUsingPUTParamsWithTimeout(timeout time.Duration) *VcsVirtualMachineCreateUsingPUTParams

NewVcsVirtualMachineCreateUsingPUTParamsWithTimeout creates a new VcsVirtualMachineCreateUsingPUTParams object with the ability to set a timeout on a request.

func (*VcsVirtualMachineCreateUsingPUTParams) SetContext added in v1.0.0

SetContext adds the context to the vcs virtual machine create using p u t params

func (*VcsVirtualMachineCreateUsingPUTParams) SetDefaults added in v1.2.4

func (o *VcsVirtualMachineCreateUsingPUTParams) SetDefaults()

SetDefaults hydrates default values in the vcs virtual machine create using p u t params (not the query body).

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

func (*VcsVirtualMachineCreateUsingPUTParams) SetHTTPClient added in v1.0.0

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

SetHTTPClient adds the HTTPClient to the vcs virtual machine create using p u t params

func (*VcsVirtualMachineCreateUsingPUTParams) SetTimeout added in v1.0.0

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

SetTimeout adds the timeout to the vcs virtual machine create using p u t params

func (*VcsVirtualMachineCreateUsingPUTParams) SetVirtualMachine added in v1.0.0

func (o *VcsVirtualMachineCreateUsingPUTParams) SetVirtualMachine(virtualMachine *models.VcsVirtualMachineInstance)

SetVirtualMachine adds the virtualMachine to the vcs virtual machine create using p u t params

func (*VcsVirtualMachineCreateUsingPUTParams) WithContext added in v1.0.0

WithContext adds the context to the vcs virtual machine create using p u t params

func (*VcsVirtualMachineCreateUsingPUTParams) WithDefaults added in v1.2.4

WithDefaults hydrates default values in the vcs virtual machine create using p u t params (not the query body).

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

func (*VcsVirtualMachineCreateUsingPUTParams) WithHTTPClient added in v1.0.0

WithHTTPClient adds the HTTPClient to the vcs virtual machine create using p u t params

func (*VcsVirtualMachineCreateUsingPUTParams) WithTimeout added in v1.0.0

WithTimeout adds the timeout to the vcs virtual machine create using p u t params

func (*VcsVirtualMachineCreateUsingPUTParams) WithVirtualMachine added in v1.0.0

WithVirtualMachine adds the virtualMachine to the vcs virtual machine create using p u t params

func (*VcsVirtualMachineCreateUsingPUTParams) WriteToRequest added in v1.0.0

WriteToRequest writes these params to a swagger request

type VcsVirtualMachineCreateUsingPUTReader added in v1.0.0

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

VcsVirtualMachineCreateUsingPUTReader is a Reader for the VcsVirtualMachineCreateUsingPUT structure.

func (*VcsVirtualMachineCreateUsingPUTReader) ReadResponse added in v1.0.0

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

ReadResponse reads a server response into the received o.

type VcsVirtualMachineDeleteUsingDELETEBadRequest added in v1.0.0

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

Bad request, error occurred. For more details see log messages.

func NewVcsVirtualMachineDeleteUsingDELETEBadRequest added in v1.0.0

func NewVcsVirtualMachineDeleteUsingDELETEBadRequest() *VcsVirtualMachineDeleteUsingDELETEBadRequest

NewVcsVirtualMachineDeleteUsingDELETEBadRequest creates a VcsVirtualMachineDeleteUsingDELETEBadRequest with default headers values

func (*VcsVirtualMachineDeleteUsingDELETEBadRequest) Error added in v1.0.0

func (*VcsVirtualMachineDeleteUsingDELETEBadRequest) GetPayload added in v1.2.0

type VcsVirtualMachineDeleteUsingDELETEOK added in v1.0.0

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

Request has been completed successfully

func NewVcsVirtualMachineDeleteUsingDELETEOK added in v1.0.0

func NewVcsVirtualMachineDeleteUsingDELETEOK() *VcsVirtualMachineDeleteUsingDELETEOK

NewVcsVirtualMachineDeleteUsingDELETEOK creates a VcsVirtualMachineDeleteUsingDELETEOK with default headers values

func (*VcsVirtualMachineDeleteUsingDELETEOK) Error added in v1.0.0

func (*VcsVirtualMachineDeleteUsingDELETEOK) GetPayload added in v1.0.0

type VcsVirtualMachineDeleteUsingDELETEParams added in v1.0.0

type VcsVirtualMachineDeleteUsingDELETEParams struct {

	/* VirtualMachineID.

	   virtualMachineId
	*/
	VirtualMachineID string

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

VcsVirtualMachineDeleteUsingDELETEParams contains all the parameters to send to the API endpoint

for the vcs virtual machine delete using d e l e t e operation.

Typically these are written to a http.Request.

func NewVcsVirtualMachineDeleteUsingDELETEParams added in v1.0.0

func NewVcsVirtualMachineDeleteUsingDELETEParams() *VcsVirtualMachineDeleteUsingDELETEParams

NewVcsVirtualMachineDeleteUsingDELETEParams creates a new VcsVirtualMachineDeleteUsingDELETEParams 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 NewVcsVirtualMachineDeleteUsingDELETEParamsWithContext added in v1.0.0

func NewVcsVirtualMachineDeleteUsingDELETEParamsWithContext(ctx context.Context) *VcsVirtualMachineDeleteUsingDELETEParams

NewVcsVirtualMachineDeleteUsingDELETEParamsWithContext creates a new VcsVirtualMachineDeleteUsingDELETEParams object with the ability to set a context for a request.

func NewVcsVirtualMachineDeleteUsingDELETEParamsWithHTTPClient added in v1.0.0

func NewVcsVirtualMachineDeleteUsingDELETEParamsWithHTTPClient(client *http.Client) *VcsVirtualMachineDeleteUsingDELETEParams

NewVcsVirtualMachineDeleteUsingDELETEParamsWithHTTPClient creates a new VcsVirtualMachineDeleteUsingDELETEParams object with the ability to set a custom HTTPClient for a request.

func NewVcsVirtualMachineDeleteUsingDELETEParamsWithTimeout added in v1.0.0

func NewVcsVirtualMachineDeleteUsingDELETEParamsWithTimeout(timeout time.Duration) *VcsVirtualMachineDeleteUsingDELETEParams

NewVcsVirtualMachineDeleteUsingDELETEParamsWithTimeout creates a new VcsVirtualMachineDeleteUsingDELETEParams object with the ability to set a timeout on a request.

func (*VcsVirtualMachineDeleteUsingDELETEParams) SetContext added in v1.0.0

SetContext adds the context to the vcs virtual machine delete using d e l e t e params

func (*VcsVirtualMachineDeleteUsingDELETEParams) SetDefaults added in v1.2.4

SetDefaults hydrates default values in the vcs virtual machine delete using d e l e t e params (not the query body).

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

func (*VcsVirtualMachineDeleteUsingDELETEParams) SetHTTPClient added in v1.0.0

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

SetHTTPClient adds the HTTPClient to the vcs virtual machine delete using d e l e t e params

func (*VcsVirtualMachineDeleteUsingDELETEParams) SetTimeout added in v1.0.0

SetTimeout adds the timeout to the vcs virtual machine delete using d e l e t e params

func (*VcsVirtualMachineDeleteUsingDELETEParams) SetVirtualMachineID added in v1.0.0

func (o *VcsVirtualMachineDeleteUsingDELETEParams) SetVirtualMachineID(virtualMachineID string)

SetVirtualMachineID adds the virtualMachineId to the vcs virtual machine delete using d e l e t e params

func (*VcsVirtualMachineDeleteUsingDELETEParams) WithContext added in v1.0.0

WithContext adds the context to the vcs virtual machine delete using d e l e t e params

func (*VcsVirtualMachineDeleteUsingDELETEParams) WithDefaults added in v1.2.4

WithDefaults hydrates default values in the vcs virtual machine delete using d e l e t e params (not the query body).

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

func (*VcsVirtualMachineDeleteUsingDELETEParams) WithHTTPClient added in v1.0.0

WithHTTPClient adds the HTTPClient to the vcs virtual machine delete using d e l e t e params

func (*VcsVirtualMachineDeleteUsingDELETEParams) WithTimeout added in v1.0.0

WithTimeout adds the timeout to the vcs virtual machine delete using d e l e t e params

func (*VcsVirtualMachineDeleteUsingDELETEParams) WithVirtualMachineID added in v1.0.0

WithVirtualMachineID adds the virtualMachineID to the vcs virtual machine delete using d e l e t e params

func (*VcsVirtualMachineDeleteUsingDELETEParams) WriteToRequest added in v1.0.0

WriteToRequest writes these params to a swagger request

type VcsVirtualMachineDeleteUsingDELETEReader added in v1.0.0

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

VcsVirtualMachineDeleteUsingDELETEReader is a Reader for the VcsVirtualMachineDeleteUsingDELETE structure.

func (*VcsVirtualMachineDeleteUsingDELETEReader) ReadResponse added in v1.0.0

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

ReadResponse reads a server response into the received o.

type VcsVirtualMachineGroupGetUsingGET1BadRequest

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

Bad request, error occurred. For more details see log messages.

func NewVcsVirtualMachineGroupGetUsingGET1BadRequest

func NewVcsVirtualMachineGroupGetUsingGET1BadRequest() *VcsVirtualMachineGroupGetUsingGET1BadRequest

NewVcsVirtualMachineGroupGetUsingGET1BadRequest creates a VcsVirtualMachineGroupGetUsingGET1BadRequest with default headers values

func (*VcsVirtualMachineGroupGetUsingGET1BadRequest) Error

func (*VcsVirtualMachineGroupGetUsingGET1BadRequest) GetPayload added in v1.2.0

type VcsVirtualMachineGroupGetUsingGET1NotFound

type VcsVirtualMachineGroupGetUsingGET1NotFound struct {
}
VcsVirtualMachineGroupGetUsingGET1NotFound describes a response with status code 404, with default header values.

Entity not found.

func NewVcsVirtualMachineGroupGetUsingGET1NotFound

func NewVcsVirtualMachineGroupGetUsingGET1NotFound() *VcsVirtualMachineGroupGetUsingGET1NotFound

NewVcsVirtualMachineGroupGetUsingGET1NotFound creates a VcsVirtualMachineGroupGetUsingGET1NotFound with default headers values

func (*VcsVirtualMachineGroupGetUsingGET1NotFound) Error

type VcsVirtualMachineGroupGetUsingGET1OK

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

OK

func NewVcsVirtualMachineGroupGetUsingGET1OK

func NewVcsVirtualMachineGroupGetUsingGET1OK() *VcsVirtualMachineGroupGetUsingGET1OK

NewVcsVirtualMachineGroupGetUsingGET1OK creates a VcsVirtualMachineGroupGetUsingGET1OK with default headers values

func (*VcsVirtualMachineGroupGetUsingGET1OK) Error

func (*VcsVirtualMachineGroupGetUsingGET1OK) GetPayload

type VcsVirtualMachineGroupGetUsingGET1Params

type VcsVirtualMachineGroupGetUsingGET1Params struct {

	/* VirtualMachineID.

	   virtualMachineId
	*/
	VirtualMachineID string

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

VcsVirtualMachineGroupGetUsingGET1Params contains all the parameters to send to the API endpoint

for the vcs virtual machine group get using g e t 1 operation.

Typically these are written to a http.Request.

func NewVcsVirtualMachineGroupGetUsingGET1Params

func NewVcsVirtualMachineGroupGetUsingGET1Params() *VcsVirtualMachineGroupGetUsingGET1Params

NewVcsVirtualMachineGroupGetUsingGET1Params creates a new VcsVirtualMachineGroupGetUsingGET1Params 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 NewVcsVirtualMachineGroupGetUsingGET1ParamsWithContext

func NewVcsVirtualMachineGroupGetUsingGET1ParamsWithContext(ctx context.Context) *VcsVirtualMachineGroupGetUsingGET1Params

NewVcsVirtualMachineGroupGetUsingGET1ParamsWithContext creates a new VcsVirtualMachineGroupGetUsingGET1Params object with the ability to set a context for a request.

func NewVcsVirtualMachineGroupGetUsingGET1ParamsWithHTTPClient

func NewVcsVirtualMachineGroupGetUsingGET1ParamsWithHTTPClient(client *http.Client) *VcsVirtualMachineGroupGetUsingGET1Params

NewVcsVirtualMachineGroupGetUsingGET1ParamsWithHTTPClient creates a new VcsVirtualMachineGroupGetUsingGET1Params object with the ability to set a custom HTTPClient for a request.

func NewVcsVirtualMachineGroupGetUsingGET1ParamsWithTimeout

func NewVcsVirtualMachineGroupGetUsingGET1ParamsWithTimeout(timeout time.Duration) *VcsVirtualMachineGroupGetUsingGET1Params

NewVcsVirtualMachineGroupGetUsingGET1ParamsWithTimeout creates a new VcsVirtualMachineGroupGetUsingGET1Params object with the ability to set a timeout on a request.

func (*VcsVirtualMachineGroupGetUsingGET1Params) SetContext

SetContext adds the context to the vcs virtual machine group get using g e t 1 params

func (*VcsVirtualMachineGroupGetUsingGET1Params) SetDefaults added in v1.2.4

SetDefaults hydrates default values in the vcs virtual machine group get using g e t 1 params (not the query body).

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

func (*VcsVirtualMachineGroupGetUsingGET1Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the vcs virtual machine group get using g e t 1 params

func (*VcsVirtualMachineGroupGetUsingGET1Params) SetTimeout

SetTimeout adds the timeout to the vcs virtual machine group get using g e t 1 params

func (*VcsVirtualMachineGroupGetUsingGET1Params) SetVirtualMachineID

func (o *VcsVirtualMachineGroupGetUsingGET1Params) SetVirtualMachineID(virtualMachineID string)

SetVirtualMachineID adds the virtualMachineId to the vcs virtual machine group get using g e t 1 params

func (*VcsVirtualMachineGroupGetUsingGET1Params) WithContext

WithContext adds the context to the vcs virtual machine group get using g e t 1 params

func (*VcsVirtualMachineGroupGetUsingGET1Params) WithDefaults added in v1.2.4

WithDefaults hydrates default values in the vcs virtual machine group get using g e t 1 params (not the query body).

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

func (*VcsVirtualMachineGroupGetUsingGET1Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the vcs virtual machine group get using g e t 1 params

func (*VcsVirtualMachineGroupGetUsingGET1Params) WithTimeout

WithTimeout adds the timeout to the vcs virtual machine group get using g e t 1 params

func (*VcsVirtualMachineGroupGetUsingGET1Params) WithVirtualMachineID

WithVirtualMachineID adds the virtualMachineID to the vcs virtual machine group get using g e t 1 params

func (*VcsVirtualMachineGroupGetUsingGET1Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type VcsVirtualMachineGroupGetUsingGET1Reader

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

VcsVirtualMachineGroupGetUsingGET1Reader is a Reader for the VcsVirtualMachineGroupGetUsingGET1 structure.

func (*VcsVirtualMachineGroupGetUsingGET1Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type VcsVirtualMachineListUsingGET1BadRequest

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

Bad request, error occurred. For more details see log messages.

func NewVcsVirtualMachineListUsingGET1BadRequest

func NewVcsVirtualMachineListUsingGET1BadRequest() *VcsVirtualMachineListUsingGET1BadRequest

NewVcsVirtualMachineListUsingGET1BadRequest creates a VcsVirtualMachineListUsingGET1BadRequest with default headers values

func (*VcsVirtualMachineListUsingGET1BadRequest) Error

func (*VcsVirtualMachineListUsingGET1BadRequest) GetPayload added in v1.2.0

type VcsVirtualMachineListUsingGET1OK

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

OK

func NewVcsVirtualMachineListUsingGET1OK

func NewVcsVirtualMachineListUsingGET1OK() *VcsVirtualMachineListUsingGET1OK

NewVcsVirtualMachineListUsingGET1OK creates a VcsVirtualMachineListUsingGET1OK with default headers values

func (*VcsVirtualMachineListUsingGET1OK) Error

func (*VcsVirtualMachineListUsingGET1OK) GetPayload

type VcsVirtualMachineListUsingGET1Params

type VcsVirtualMachineListUsingGET1Params struct {

	/* DisplayName.

	   displayName
	*/
	DisplayName *string

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

VcsVirtualMachineListUsingGET1Params contains all the parameters to send to the API endpoint

for the vcs virtual machine list using g e t 1 operation.

Typically these are written to a http.Request.

func NewVcsVirtualMachineListUsingGET1Params

func NewVcsVirtualMachineListUsingGET1Params() *VcsVirtualMachineListUsingGET1Params

NewVcsVirtualMachineListUsingGET1Params creates a new VcsVirtualMachineListUsingGET1Params 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 NewVcsVirtualMachineListUsingGET1ParamsWithContext

func NewVcsVirtualMachineListUsingGET1ParamsWithContext(ctx context.Context) *VcsVirtualMachineListUsingGET1Params

NewVcsVirtualMachineListUsingGET1ParamsWithContext creates a new VcsVirtualMachineListUsingGET1Params object with the ability to set a context for a request.

func NewVcsVirtualMachineListUsingGET1ParamsWithHTTPClient

func NewVcsVirtualMachineListUsingGET1ParamsWithHTTPClient(client *http.Client) *VcsVirtualMachineListUsingGET1Params

NewVcsVirtualMachineListUsingGET1ParamsWithHTTPClient creates a new VcsVirtualMachineListUsingGET1Params object with the ability to set a custom HTTPClient for a request.

func NewVcsVirtualMachineListUsingGET1ParamsWithTimeout

func NewVcsVirtualMachineListUsingGET1ParamsWithTimeout(timeout time.Duration) *VcsVirtualMachineListUsingGET1Params

NewVcsVirtualMachineListUsingGET1ParamsWithTimeout creates a new VcsVirtualMachineListUsingGET1Params object with the ability to set a timeout on a request.

func (*VcsVirtualMachineListUsingGET1Params) SetContext

SetContext adds the context to the vcs virtual machine list using g e t 1 params

func (*VcsVirtualMachineListUsingGET1Params) SetDefaults added in v1.2.4

func (o *VcsVirtualMachineListUsingGET1Params) SetDefaults()

SetDefaults hydrates default values in the vcs virtual machine list using g e t 1 params (not the query body).

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

func (*VcsVirtualMachineListUsingGET1Params) SetDisplayName added in v1.0.0

func (o *VcsVirtualMachineListUsingGET1Params) SetDisplayName(displayName *string)

SetDisplayName adds the displayName to the vcs virtual machine list using g e t 1 params

func (*VcsVirtualMachineListUsingGET1Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the vcs virtual machine list using g e t 1 params

func (*VcsVirtualMachineListUsingGET1Params) SetTimeout

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

SetTimeout adds the timeout to the vcs virtual machine list using g e t 1 params

func (*VcsVirtualMachineListUsingGET1Params) WithContext

WithContext adds the context to the vcs virtual machine list using g e t 1 params

func (*VcsVirtualMachineListUsingGET1Params) WithDefaults added in v1.2.4

WithDefaults hydrates default values in the vcs virtual machine list using g e t 1 params (not the query body).

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

func (*VcsVirtualMachineListUsingGET1Params) WithDisplayName added in v1.0.0

WithDisplayName adds the displayName to the vcs virtual machine list using g e t 1 params

func (*VcsVirtualMachineListUsingGET1Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the vcs virtual machine list using g e t 1 params

func (*VcsVirtualMachineListUsingGET1Params) WithTimeout

WithTimeout adds the timeout to the vcs virtual machine list using g e t 1 params

func (*VcsVirtualMachineListUsingGET1Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type VcsVirtualMachineListUsingGET1Reader

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

VcsVirtualMachineListUsingGET1Reader is a Reader for the VcsVirtualMachineListUsingGET1 structure.

func (*VcsVirtualMachineListUsingGET1Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type VcsVirtualMachineSnapshotCreateUsingPUTBadRequest added in v1.2.0

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

Bad request, error occurred. For more details see log messages.

func NewVcsVirtualMachineSnapshotCreateUsingPUTBadRequest added in v1.2.0

func NewVcsVirtualMachineSnapshotCreateUsingPUTBadRequest() *VcsVirtualMachineSnapshotCreateUsingPUTBadRequest

NewVcsVirtualMachineSnapshotCreateUsingPUTBadRequest creates a VcsVirtualMachineSnapshotCreateUsingPUTBadRequest with default headers values

func (*VcsVirtualMachineSnapshotCreateUsingPUTBadRequest) Error added in v1.2.0

func (*VcsVirtualMachineSnapshotCreateUsingPUTBadRequest) GetPayload added in v1.2.0

type VcsVirtualMachineSnapshotCreateUsingPUTCreated added in v1.2.0

type VcsVirtualMachineSnapshotCreateUsingPUTCreated struct {
	Payload *models.CreateSnapshotResponse
}
VcsVirtualMachineSnapshotCreateUsingPUTCreated describes a response with status code 201, with default header values.

Entity has been created

func NewVcsVirtualMachineSnapshotCreateUsingPUTCreated added in v1.2.0

func NewVcsVirtualMachineSnapshotCreateUsingPUTCreated() *VcsVirtualMachineSnapshotCreateUsingPUTCreated

NewVcsVirtualMachineSnapshotCreateUsingPUTCreated creates a VcsVirtualMachineSnapshotCreateUsingPUTCreated with default headers values

func (*VcsVirtualMachineSnapshotCreateUsingPUTCreated) Error added in v1.2.0

func (*VcsVirtualMachineSnapshotCreateUsingPUTCreated) GetPayload added in v1.2.0

type VcsVirtualMachineSnapshotCreateUsingPUTOK added in v1.2.0

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

OK

func NewVcsVirtualMachineSnapshotCreateUsingPUTOK added in v1.2.0

func NewVcsVirtualMachineSnapshotCreateUsingPUTOK() *VcsVirtualMachineSnapshotCreateUsingPUTOK

NewVcsVirtualMachineSnapshotCreateUsingPUTOK creates a VcsVirtualMachineSnapshotCreateUsingPUTOK with default headers values

func (*VcsVirtualMachineSnapshotCreateUsingPUTOK) Error added in v1.2.0

func (*VcsVirtualMachineSnapshotCreateUsingPUTOK) GetPayload added in v1.2.0

type VcsVirtualMachineSnapshotCreateUsingPUTParams added in v1.2.0

type VcsVirtualMachineSnapshotCreateUsingPUTParams struct {

	/* RAMSnapshot.

	   ramSnapshot
	*/
	RAMSnapshot *bool

	/* SnapshotInstance.

	   snapshotInstance
	*/
	SnapshotInstance *models.SnapshotInstance

	/* VirtualMachineID.

	   virtualMachineId
	*/
	VirtualMachineID string

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

VcsVirtualMachineSnapshotCreateUsingPUTParams contains all the parameters to send to the API endpoint

for the vcs virtual machine snapshot create using p u t operation.

Typically these are written to a http.Request.

func NewVcsVirtualMachineSnapshotCreateUsingPUTParams added in v1.2.0

func NewVcsVirtualMachineSnapshotCreateUsingPUTParams() *VcsVirtualMachineSnapshotCreateUsingPUTParams

NewVcsVirtualMachineSnapshotCreateUsingPUTParams creates a new VcsVirtualMachineSnapshotCreateUsingPUTParams 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 NewVcsVirtualMachineSnapshotCreateUsingPUTParamsWithContext added in v1.2.0

func NewVcsVirtualMachineSnapshotCreateUsingPUTParamsWithContext(ctx context.Context) *VcsVirtualMachineSnapshotCreateUsingPUTParams

NewVcsVirtualMachineSnapshotCreateUsingPUTParamsWithContext creates a new VcsVirtualMachineSnapshotCreateUsingPUTParams object with the ability to set a context for a request.

func NewVcsVirtualMachineSnapshotCreateUsingPUTParamsWithHTTPClient added in v1.2.0

func NewVcsVirtualMachineSnapshotCreateUsingPUTParamsWithHTTPClient(client *http.Client) *VcsVirtualMachineSnapshotCreateUsingPUTParams

NewVcsVirtualMachineSnapshotCreateUsingPUTParamsWithHTTPClient creates a new VcsVirtualMachineSnapshotCreateUsingPUTParams object with the ability to set a custom HTTPClient for a request.

func NewVcsVirtualMachineSnapshotCreateUsingPUTParamsWithTimeout added in v1.2.0

func NewVcsVirtualMachineSnapshotCreateUsingPUTParamsWithTimeout(timeout time.Duration) *VcsVirtualMachineSnapshotCreateUsingPUTParams

NewVcsVirtualMachineSnapshotCreateUsingPUTParamsWithTimeout creates a new VcsVirtualMachineSnapshotCreateUsingPUTParams object with the ability to set a timeout on a request.

func (*VcsVirtualMachineSnapshotCreateUsingPUTParams) SetContext added in v1.2.0

SetContext adds the context to the vcs virtual machine snapshot create using p u t params

func (*VcsVirtualMachineSnapshotCreateUsingPUTParams) SetDefaults added in v1.2.4

SetDefaults hydrates default values in the vcs virtual machine snapshot create using p u t params (not the query body).

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

func (*VcsVirtualMachineSnapshotCreateUsingPUTParams) SetHTTPClient added in v1.2.0

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

SetHTTPClient adds the HTTPClient to the vcs virtual machine snapshot create using p u t params

func (*VcsVirtualMachineSnapshotCreateUsingPUTParams) SetRAMSnapshot added in v1.2.0

func (o *VcsVirtualMachineSnapshotCreateUsingPUTParams) SetRAMSnapshot(rAMSnapshot *bool)

SetRAMSnapshot adds the ramSnapshot to the vcs virtual machine snapshot create using p u t params

func (*VcsVirtualMachineSnapshotCreateUsingPUTParams) SetSnapshotInstance added in v1.2.0

func (o *VcsVirtualMachineSnapshotCreateUsingPUTParams) SetSnapshotInstance(snapshotInstance *models.SnapshotInstance)

SetSnapshotInstance adds the snapshotInstance to the vcs virtual machine snapshot create using p u t params

func (*VcsVirtualMachineSnapshotCreateUsingPUTParams) SetTimeout added in v1.2.0

SetTimeout adds the timeout to the vcs virtual machine snapshot create using p u t params

func (*VcsVirtualMachineSnapshotCreateUsingPUTParams) SetVirtualMachineID added in v1.2.0

func (o *VcsVirtualMachineSnapshotCreateUsingPUTParams) SetVirtualMachineID(virtualMachineID string)

SetVirtualMachineID adds the virtualMachineId to the vcs virtual machine snapshot create using p u t params

func (*VcsVirtualMachineSnapshotCreateUsingPUTParams) WithContext added in v1.2.0

WithContext adds the context to the vcs virtual machine snapshot create using p u t params

func (*VcsVirtualMachineSnapshotCreateUsingPUTParams) WithDefaults added in v1.2.4

WithDefaults hydrates default values in the vcs virtual machine snapshot create using p u t params (not the query body).

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

func (*VcsVirtualMachineSnapshotCreateUsingPUTParams) WithHTTPClient added in v1.2.0

WithHTTPClient adds the HTTPClient to the vcs virtual machine snapshot create using p u t params

func (*VcsVirtualMachineSnapshotCreateUsingPUTParams) WithRAMSnapshot added in v1.2.0

WithRAMSnapshot adds the rAMSnapshot to the vcs virtual machine snapshot create using p u t params

func (*VcsVirtualMachineSnapshotCreateUsingPUTParams) WithSnapshotInstance added in v1.2.0

WithSnapshotInstance adds the snapshotInstance to the vcs virtual machine snapshot create using p u t params

func (*VcsVirtualMachineSnapshotCreateUsingPUTParams) WithTimeout added in v1.2.0

WithTimeout adds the timeout to the vcs virtual machine snapshot create using p u t params

func (*VcsVirtualMachineSnapshotCreateUsingPUTParams) WithVirtualMachineID added in v1.2.0

WithVirtualMachineID adds the virtualMachineID to the vcs virtual machine snapshot create using p u t params

func (*VcsVirtualMachineSnapshotCreateUsingPUTParams) WriteToRequest added in v1.2.0

WriteToRequest writes these params to a swagger request

type VcsVirtualMachineSnapshotCreateUsingPUTReader added in v1.2.0

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

VcsVirtualMachineSnapshotCreateUsingPUTReader is a Reader for the VcsVirtualMachineSnapshotCreateUsingPUT structure.

func (*VcsVirtualMachineSnapshotCreateUsingPUTReader) ReadResponse added in v1.2.0

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

ReadResponse reads a server response into the received o.

type VcsVirtualMachineSnapshotDeleteUsingDELETEBadRequest added in v1.2.0

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

Bad request, error occurred. For more details see log messages.

func NewVcsVirtualMachineSnapshotDeleteUsingDELETEBadRequest added in v1.2.0

func NewVcsVirtualMachineSnapshotDeleteUsingDELETEBadRequest() *VcsVirtualMachineSnapshotDeleteUsingDELETEBadRequest

NewVcsVirtualMachineSnapshotDeleteUsingDELETEBadRequest creates a VcsVirtualMachineSnapshotDeleteUsingDELETEBadRequest with default headers values

func (*VcsVirtualMachineSnapshotDeleteUsingDELETEBadRequest) Error added in v1.2.0

func (*VcsVirtualMachineSnapshotDeleteUsingDELETEBadRequest) GetPayload added in v1.2.0

type VcsVirtualMachineSnapshotDeleteUsingDELETEOK added in v1.2.0

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

Request has been completed successfully

func NewVcsVirtualMachineSnapshotDeleteUsingDELETEOK added in v1.2.0

func NewVcsVirtualMachineSnapshotDeleteUsingDELETEOK() *VcsVirtualMachineSnapshotDeleteUsingDELETEOK

NewVcsVirtualMachineSnapshotDeleteUsingDELETEOK creates a VcsVirtualMachineSnapshotDeleteUsingDELETEOK with default headers values

func (*VcsVirtualMachineSnapshotDeleteUsingDELETEOK) Error added in v1.2.0

func (*VcsVirtualMachineSnapshotDeleteUsingDELETEOK) GetPayload added in v1.2.0

type VcsVirtualMachineSnapshotDeleteUsingDELETEParams added in v1.2.0

type VcsVirtualMachineSnapshotDeleteUsingDELETEParams struct {

	/* SnapshotID.

	   snapshotId
	*/
	SnapshotID string

	/* VirtualMachineID.

	   virtualMachineId
	*/
	VirtualMachineID string

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

VcsVirtualMachineSnapshotDeleteUsingDELETEParams contains all the parameters to send to the API endpoint

for the vcs virtual machine snapshot delete using d e l e t e operation.

Typically these are written to a http.Request.

func NewVcsVirtualMachineSnapshotDeleteUsingDELETEParams added in v1.2.0

func NewVcsVirtualMachineSnapshotDeleteUsingDELETEParams() *VcsVirtualMachineSnapshotDeleteUsingDELETEParams

NewVcsVirtualMachineSnapshotDeleteUsingDELETEParams creates a new VcsVirtualMachineSnapshotDeleteUsingDELETEParams 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 NewVcsVirtualMachineSnapshotDeleteUsingDELETEParamsWithContext added in v1.2.0

func NewVcsVirtualMachineSnapshotDeleteUsingDELETEParamsWithContext(ctx context.Context) *VcsVirtualMachineSnapshotDeleteUsingDELETEParams

NewVcsVirtualMachineSnapshotDeleteUsingDELETEParamsWithContext creates a new VcsVirtualMachineSnapshotDeleteUsingDELETEParams object with the ability to set a context for a request.

func NewVcsVirtualMachineSnapshotDeleteUsingDELETEParamsWithHTTPClient added in v1.2.0

func NewVcsVirtualMachineSnapshotDeleteUsingDELETEParamsWithHTTPClient(client *http.Client) *VcsVirtualMachineSnapshotDeleteUsingDELETEParams

NewVcsVirtualMachineSnapshotDeleteUsingDELETEParamsWithHTTPClient creates a new VcsVirtualMachineSnapshotDeleteUsingDELETEParams object with the ability to set a custom HTTPClient for a request.

func NewVcsVirtualMachineSnapshotDeleteUsingDELETEParamsWithTimeout added in v1.2.0

func NewVcsVirtualMachineSnapshotDeleteUsingDELETEParamsWithTimeout(timeout time.Duration) *VcsVirtualMachineSnapshotDeleteUsingDELETEParams

NewVcsVirtualMachineSnapshotDeleteUsingDELETEParamsWithTimeout creates a new VcsVirtualMachineSnapshotDeleteUsingDELETEParams object with the ability to set a timeout on a request.

func (*VcsVirtualMachineSnapshotDeleteUsingDELETEParams) SetContext added in v1.2.0

SetContext adds the context to the vcs virtual machine snapshot delete using d e l e t e params

func (*VcsVirtualMachineSnapshotDeleteUsingDELETEParams) SetDefaults added in v1.2.4

SetDefaults hydrates default values in the vcs virtual machine snapshot delete using d e l e t e params (not the query body).

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

func (*VcsVirtualMachineSnapshotDeleteUsingDELETEParams) SetHTTPClient added in v1.2.0

SetHTTPClient adds the HTTPClient to the vcs virtual machine snapshot delete using d e l e t e params

func (*VcsVirtualMachineSnapshotDeleteUsingDELETEParams) SetSnapshotID added in v1.2.0

func (o *VcsVirtualMachineSnapshotDeleteUsingDELETEParams) SetSnapshotID(snapshotID string)

SetSnapshotID adds the snapshotId to the vcs virtual machine snapshot delete using d e l e t e params

func (*VcsVirtualMachineSnapshotDeleteUsingDELETEParams) SetTimeout added in v1.2.0

SetTimeout adds the timeout to the vcs virtual machine snapshot delete using d e l e t e params

func (*VcsVirtualMachineSnapshotDeleteUsingDELETEParams) SetVirtualMachineID added in v1.2.0

func (o *VcsVirtualMachineSnapshotDeleteUsingDELETEParams) SetVirtualMachineID(virtualMachineID string)

SetVirtualMachineID adds the virtualMachineId to the vcs virtual machine snapshot delete using d e l e t e params

func (*VcsVirtualMachineSnapshotDeleteUsingDELETEParams) WithContext added in v1.2.0

WithContext adds the context to the vcs virtual machine snapshot delete using d e l e t e params

func (*VcsVirtualMachineSnapshotDeleteUsingDELETEParams) WithDefaults added in v1.2.4

WithDefaults hydrates default values in the vcs virtual machine snapshot delete using d e l e t e params (not the query body).

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

func (*VcsVirtualMachineSnapshotDeleteUsingDELETEParams) WithHTTPClient added in v1.2.0

WithHTTPClient adds the HTTPClient to the vcs virtual machine snapshot delete using d e l e t e params

func (*VcsVirtualMachineSnapshotDeleteUsingDELETEParams) WithSnapshotID added in v1.2.0

WithSnapshotID adds the snapshotID to the vcs virtual machine snapshot delete using d e l e t e params

func (*VcsVirtualMachineSnapshotDeleteUsingDELETEParams) WithTimeout added in v1.2.0

WithTimeout adds the timeout to the vcs virtual machine snapshot delete using d e l e t e params

func (*VcsVirtualMachineSnapshotDeleteUsingDELETEParams) WithVirtualMachineID added in v1.2.0

WithVirtualMachineID adds the virtualMachineID to the vcs virtual machine snapshot delete using d e l e t e params

func (*VcsVirtualMachineSnapshotDeleteUsingDELETEParams) WriteToRequest added in v1.2.0

WriteToRequest writes these params to a swagger request

type VcsVirtualMachineSnapshotDeleteUsingDELETEReader added in v1.2.0

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

VcsVirtualMachineSnapshotDeleteUsingDELETEReader is a Reader for the VcsVirtualMachineSnapshotDeleteUsingDELETE structure.

func (*VcsVirtualMachineSnapshotDeleteUsingDELETEReader) ReadResponse added in v1.2.0

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

ReadResponse reads a server response into the received o.

type VcsVirtualMachineSnapshotGetUsingGETBadRequest added in v1.2.0

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

Bad request, error occurred. For more details see log messages.

func NewVcsVirtualMachineSnapshotGetUsingGETBadRequest added in v1.2.0

func NewVcsVirtualMachineSnapshotGetUsingGETBadRequest() *VcsVirtualMachineSnapshotGetUsingGETBadRequest

NewVcsVirtualMachineSnapshotGetUsingGETBadRequest creates a VcsVirtualMachineSnapshotGetUsingGETBadRequest with default headers values

func (*VcsVirtualMachineSnapshotGetUsingGETBadRequest) Error added in v1.2.0

func (*VcsVirtualMachineSnapshotGetUsingGETBadRequest) GetPayload added in v1.2.0

type VcsVirtualMachineSnapshotGetUsingGETOK added in v1.2.0

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

Request has been completed successfully

func NewVcsVirtualMachineSnapshotGetUsingGETOK added in v1.2.0

func NewVcsVirtualMachineSnapshotGetUsingGETOK() *VcsVirtualMachineSnapshotGetUsingGETOK

NewVcsVirtualMachineSnapshotGetUsingGETOK creates a VcsVirtualMachineSnapshotGetUsingGETOK with default headers values

func (*VcsVirtualMachineSnapshotGetUsingGETOK) Error added in v1.2.0

func (*VcsVirtualMachineSnapshotGetUsingGETOK) GetPayload added in v1.2.0

type VcsVirtualMachineSnapshotGetUsingGETParams added in v1.2.0

type VcsVirtualMachineSnapshotGetUsingGETParams struct {

	/* SnapshotID.

	   snapshotId
	*/
	SnapshotID string

	/* VirtualMachineID.

	   virtualMachineId
	*/
	VirtualMachineID string

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

VcsVirtualMachineSnapshotGetUsingGETParams contains all the parameters to send to the API endpoint

for the vcs virtual machine snapshot get using g e t operation.

Typically these are written to a http.Request.

func NewVcsVirtualMachineSnapshotGetUsingGETParams added in v1.2.0

func NewVcsVirtualMachineSnapshotGetUsingGETParams() *VcsVirtualMachineSnapshotGetUsingGETParams

NewVcsVirtualMachineSnapshotGetUsingGETParams creates a new VcsVirtualMachineSnapshotGetUsingGETParams 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 NewVcsVirtualMachineSnapshotGetUsingGETParamsWithContext added in v1.2.0

func NewVcsVirtualMachineSnapshotGetUsingGETParamsWithContext(ctx context.Context) *VcsVirtualMachineSnapshotGetUsingGETParams

NewVcsVirtualMachineSnapshotGetUsingGETParamsWithContext creates a new VcsVirtualMachineSnapshotGetUsingGETParams object with the ability to set a context for a request.

func NewVcsVirtualMachineSnapshotGetUsingGETParamsWithHTTPClient added in v1.2.0

func NewVcsVirtualMachineSnapshotGetUsingGETParamsWithHTTPClient(client *http.Client) *VcsVirtualMachineSnapshotGetUsingGETParams

NewVcsVirtualMachineSnapshotGetUsingGETParamsWithHTTPClient creates a new VcsVirtualMachineSnapshotGetUsingGETParams object with the ability to set a custom HTTPClient for a request.

func NewVcsVirtualMachineSnapshotGetUsingGETParamsWithTimeout added in v1.2.0

func NewVcsVirtualMachineSnapshotGetUsingGETParamsWithTimeout(timeout time.Duration) *VcsVirtualMachineSnapshotGetUsingGETParams

NewVcsVirtualMachineSnapshotGetUsingGETParamsWithTimeout creates a new VcsVirtualMachineSnapshotGetUsingGETParams object with the ability to set a timeout on a request.

func (*VcsVirtualMachineSnapshotGetUsingGETParams) SetContext added in v1.2.0

SetContext adds the context to the vcs virtual machine snapshot get using g e t params

func (*VcsVirtualMachineSnapshotGetUsingGETParams) SetDefaults added in v1.2.4

SetDefaults hydrates default values in the vcs virtual machine snapshot get using g e t params (not the query body).

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

func (*VcsVirtualMachineSnapshotGetUsingGETParams) SetHTTPClient added in v1.2.0

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

SetHTTPClient adds the HTTPClient to the vcs virtual machine snapshot get using g e t params

func (*VcsVirtualMachineSnapshotGetUsingGETParams) SetSnapshotID added in v1.2.0

func (o *VcsVirtualMachineSnapshotGetUsingGETParams) SetSnapshotID(snapshotID string)

SetSnapshotID adds the snapshotId to the vcs virtual machine snapshot get using g e t params

func (*VcsVirtualMachineSnapshotGetUsingGETParams) SetTimeout added in v1.2.0

SetTimeout adds the timeout to the vcs virtual machine snapshot get using g e t params

func (*VcsVirtualMachineSnapshotGetUsingGETParams) SetVirtualMachineID added in v1.2.0

func (o *VcsVirtualMachineSnapshotGetUsingGETParams) SetVirtualMachineID(virtualMachineID string)

SetVirtualMachineID adds the virtualMachineId to the vcs virtual machine snapshot get using g e t params

func (*VcsVirtualMachineSnapshotGetUsingGETParams) WithContext added in v1.2.0

WithContext adds the context to the vcs virtual machine snapshot get using g e t params

func (*VcsVirtualMachineSnapshotGetUsingGETParams) WithDefaults added in v1.2.4

WithDefaults hydrates default values in the vcs virtual machine snapshot get using g e t params (not the query body).

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

func (*VcsVirtualMachineSnapshotGetUsingGETParams) WithHTTPClient added in v1.2.0

WithHTTPClient adds the HTTPClient to the vcs virtual machine snapshot get using g e t params

func (*VcsVirtualMachineSnapshotGetUsingGETParams) WithSnapshotID added in v1.2.0

WithSnapshotID adds the snapshotID to the vcs virtual machine snapshot get using g e t params

func (*VcsVirtualMachineSnapshotGetUsingGETParams) WithTimeout added in v1.2.0

WithTimeout adds the timeout to the vcs virtual machine snapshot get using g e t params

func (*VcsVirtualMachineSnapshotGetUsingGETParams) WithVirtualMachineID added in v1.2.0

WithVirtualMachineID adds the virtualMachineID to the vcs virtual machine snapshot get using g e t params

func (*VcsVirtualMachineSnapshotGetUsingGETParams) WriteToRequest added in v1.2.0

WriteToRequest writes these params to a swagger request

type VcsVirtualMachineSnapshotGetUsingGETReader added in v1.2.0

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

VcsVirtualMachineSnapshotGetUsingGETReader is a Reader for the VcsVirtualMachineSnapshotGetUsingGET structure.

func (*VcsVirtualMachineSnapshotGetUsingGETReader) ReadResponse added in v1.2.0

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

ReadResponse reads a server response into the received o.

type VcsVirtualMachineSnapshotListUsingGETBadRequest added in v1.2.0

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

Bad request, error occurred. For more details see log messages.

func NewVcsVirtualMachineSnapshotListUsingGETBadRequest added in v1.2.0

func NewVcsVirtualMachineSnapshotListUsingGETBadRequest() *VcsVirtualMachineSnapshotListUsingGETBadRequest

NewVcsVirtualMachineSnapshotListUsingGETBadRequest creates a VcsVirtualMachineSnapshotListUsingGETBadRequest with default headers values

func (*VcsVirtualMachineSnapshotListUsingGETBadRequest) Error added in v1.2.0

func (*VcsVirtualMachineSnapshotListUsingGETBadRequest) GetPayload added in v1.2.0

type VcsVirtualMachineSnapshotListUsingGETOK added in v1.2.0

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

Request has been completed successfully

func NewVcsVirtualMachineSnapshotListUsingGETOK added in v1.2.0

func NewVcsVirtualMachineSnapshotListUsingGETOK() *VcsVirtualMachineSnapshotListUsingGETOK

NewVcsVirtualMachineSnapshotListUsingGETOK creates a VcsVirtualMachineSnapshotListUsingGETOK with default headers values

func (*VcsVirtualMachineSnapshotListUsingGETOK) Error added in v1.2.0

func (*VcsVirtualMachineSnapshotListUsingGETOK) GetPayload added in v1.2.0

type VcsVirtualMachineSnapshotListUsingGETParams added in v1.2.0

type VcsVirtualMachineSnapshotListUsingGETParams struct {

	/* DisplayName.

	   displayName
	*/
	DisplayName *string

	/* VirtualMachineID.

	   virtualMachineId
	*/
	VirtualMachineID string

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

VcsVirtualMachineSnapshotListUsingGETParams contains all the parameters to send to the API endpoint

for the vcs virtual machine snapshot list using g e t operation.

Typically these are written to a http.Request.

func NewVcsVirtualMachineSnapshotListUsingGETParams added in v1.2.0

func NewVcsVirtualMachineSnapshotListUsingGETParams() *VcsVirtualMachineSnapshotListUsingGETParams

NewVcsVirtualMachineSnapshotListUsingGETParams creates a new VcsVirtualMachineSnapshotListUsingGETParams 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 NewVcsVirtualMachineSnapshotListUsingGETParamsWithContext added in v1.2.0

func NewVcsVirtualMachineSnapshotListUsingGETParamsWithContext(ctx context.Context) *VcsVirtualMachineSnapshotListUsingGETParams

NewVcsVirtualMachineSnapshotListUsingGETParamsWithContext creates a new VcsVirtualMachineSnapshotListUsingGETParams object with the ability to set a context for a request.

func NewVcsVirtualMachineSnapshotListUsingGETParamsWithHTTPClient added in v1.2.0

func NewVcsVirtualMachineSnapshotListUsingGETParamsWithHTTPClient(client *http.Client) *VcsVirtualMachineSnapshotListUsingGETParams

NewVcsVirtualMachineSnapshotListUsingGETParamsWithHTTPClient creates a new VcsVirtualMachineSnapshotListUsingGETParams object with the ability to set a custom HTTPClient for a request.

func NewVcsVirtualMachineSnapshotListUsingGETParamsWithTimeout added in v1.2.0

func NewVcsVirtualMachineSnapshotListUsingGETParamsWithTimeout(timeout time.Duration) *VcsVirtualMachineSnapshotListUsingGETParams

NewVcsVirtualMachineSnapshotListUsingGETParamsWithTimeout creates a new VcsVirtualMachineSnapshotListUsingGETParams object with the ability to set a timeout on a request.

func (*VcsVirtualMachineSnapshotListUsingGETParams) SetContext added in v1.2.0

SetContext adds the context to the vcs virtual machine snapshot list using g e t params

func (*VcsVirtualMachineSnapshotListUsingGETParams) SetDefaults added in v1.2.4

SetDefaults hydrates default values in the vcs virtual machine snapshot list using g e t params (not the query body).

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

func (*VcsVirtualMachineSnapshotListUsingGETParams) SetDisplayName added in v1.2.0

func (o *VcsVirtualMachineSnapshotListUsingGETParams) SetDisplayName(displayName *string)

SetDisplayName adds the displayName to the vcs virtual machine snapshot list using g e t params

func (*VcsVirtualMachineSnapshotListUsingGETParams) SetHTTPClient added in v1.2.0

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

SetHTTPClient adds the HTTPClient to the vcs virtual machine snapshot list using g e t params

func (*VcsVirtualMachineSnapshotListUsingGETParams) SetTimeout added in v1.2.0

SetTimeout adds the timeout to the vcs virtual machine snapshot list using g e t params

func (*VcsVirtualMachineSnapshotListUsingGETParams) SetVirtualMachineID added in v1.2.0

func (o *VcsVirtualMachineSnapshotListUsingGETParams) SetVirtualMachineID(virtualMachineID string)

SetVirtualMachineID adds the virtualMachineId to the vcs virtual machine snapshot list using g e t params

func (*VcsVirtualMachineSnapshotListUsingGETParams) WithContext added in v1.2.0

WithContext adds the context to the vcs virtual machine snapshot list using g e t params

func (*VcsVirtualMachineSnapshotListUsingGETParams) WithDefaults added in v1.2.4

WithDefaults hydrates default values in the vcs virtual machine snapshot list using g e t params (not the query body).

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

func (*VcsVirtualMachineSnapshotListUsingGETParams) WithDisplayName added in v1.2.0

WithDisplayName adds the displayName to the vcs virtual machine snapshot list using g e t params

func (*VcsVirtualMachineSnapshotListUsingGETParams) WithHTTPClient added in v1.2.0

WithHTTPClient adds the HTTPClient to the vcs virtual machine snapshot list using g e t params

func (*VcsVirtualMachineSnapshotListUsingGETParams) WithTimeout added in v1.2.0

WithTimeout adds the timeout to the vcs virtual machine snapshot list using g e t params

func (*VcsVirtualMachineSnapshotListUsingGETParams) WithVirtualMachineID added in v1.2.0

WithVirtualMachineID adds the virtualMachineID to the vcs virtual machine snapshot list using g e t params

func (*VcsVirtualMachineSnapshotListUsingGETParams) WriteToRequest added in v1.2.0

WriteToRequest writes these params to a swagger request

type VcsVirtualMachineSnapshotListUsingGETReader added in v1.2.0

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

VcsVirtualMachineSnapshotListUsingGETReader is a Reader for the VcsVirtualMachineSnapshotListUsingGET structure.

func (*VcsVirtualMachineSnapshotListUsingGETReader) ReadResponse added in v1.2.0

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

ReadResponse reads a server response into the received o.

type VcsVirtualMachineSnapshotRevertUsingPOSTBadRequest added in v1.2.0

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

Bad request, error occurred. For more details see log messages.

func NewVcsVirtualMachineSnapshotRevertUsingPOSTBadRequest added in v1.2.0

func NewVcsVirtualMachineSnapshotRevertUsingPOSTBadRequest() *VcsVirtualMachineSnapshotRevertUsingPOSTBadRequest

NewVcsVirtualMachineSnapshotRevertUsingPOSTBadRequest creates a VcsVirtualMachineSnapshotRevertUsingPOSTBadRequest with default headers values

func (*VcsVirtualMachineSnapshotRevertUsingPOSTBadRequest) Error added in v1.2.0

func (*VcsVirtualMachineSnapshotRevertUsingPOSTBadRequest) GetPayload added in v1.2.0

type VcsVirtualMachineSnapshotRevertUsingPOSTOK added in v1.2.0

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

Request has been completed successfully

func NewVcsVirtualMachineSnapshotRevertUsingPOSTOK added in v1.2.0

func NewVcsVirtualMachineSnapshotRevertUsingPOSTOK() *VcsVirtualMachineSnapshotRevertUsingPOSTOK

NewVcsVirtualMachineSnapshotRevertUsingPOSTOK creates a VcsVirtualMachineSnapshotRevertUsingPOSTOK with default headers values

func (*VcsVirtualMachineSnapshotRevertUsingPOSTOK) Error added in v1.2.0

func (*VcsVirtualMachineSnapshotRevertUsingPOSTOK) GetPayload added in v1.2.0

type VcsVirtualMachineSnapshotRevertUsingPOSTParams added in v1.2.0

type VcsVirtualMachineSnapshotRevertUsingPOSTParams struct {

	/* SnapshotID.

	   snapshotId
	*/
	SnapshotID string

	/* VirtualMachineID.

	   virtualMachineId
	*/
	VirtualMachineID string

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

VcsVirtualMachineSnapshotRevertUsingPOSTParams contains all the parameters to send to the API endpoint

for the vcs virtual machine snapshot revert using p o s t operation.

Typically these are written to a http.Request.

func NewVcsVirtualMachineSnapshotRevertUsingPOSTParams added in v1.2.0

func NewVcsVirtualMachineSnapshotRevertUsingPOSTParams() *VcsVirtualMachineSnapshotRevertUsingPOSTParams

NewVcsVirtualMachineSnapshotRevertUsingPOSTParams creates a new VcsVirtualMachineSnapshotRevertUsingPOSTParams 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 NewVcsVirtualMachineSnapshotRevertUsingPOSTParamsWithContext added in v1.2.0

func NewVcsVirtualMachineSnapshotRevertUsingPOSTParamsWithContext(ctx context.Context) *VcsVirtualMachineSnapshotRevertUsingPOSTParams

NewVcsVirtualMachineSnapshotRevertUsingPOSTParamsWithContext creates a new VcsVirtualMachineSnapshotRevertUsingPOSTParams object with the ability to set a context for a request.

func NewVcsVirtualMachineSnapshotRevertUsingPOSTParamsWithHTTPClient added in v1.2.0

func NewVcsVirtualMachineSnapshotRevertUsingPOSTParamsWithHTTPClient(client *http.Client) *VcsVirtualMachineSnapshotRevertUsingPOSTParams

NewVcsVirtualMachineSnapshotRevertUsingPOSTParamsWithHTTPClient creates a new VcsVirtualMachineSnapshotRevertUsingPOSTParams object with the ability to set a custom HTTPClient for a request.

func NewVcsVirtualMachineSnapshotRevertUsingPOSTParamsWithTimeout added in v1.2.0

func NewVcsVirtualMachineSnapshotRevertUsingPOSTParamsWithTimeout(timeout time.Duration) *VcsVirtualMachineSnapshotRevertUsingPOSTParams

NewVcsVirtualMachineSnapshotRevertUsingPOSTParamsWithTimeout creates a new VcsVirtualMachineSnapshotRevertUsingPOSTParams object with the ability to set a timeout on a request.

func (*VcsVirtualMachineSnapshotRevertUsingPOSTParams) SetContext added in v1.2.0

SetContext adds the context to the vcs virtual machine snapshot revert using p o s t params

func (*VcsVirtualMachineSnapshotRevertUsingPOSTParams) SetDefaults added in v1.2.4

SetDefaults hydrates default values in the vcs virtual machine snapshot revert using p o s t params (not the query body).

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

func (*VcsVirtualMachineSnapshotRevertUsingPOSTParams) SetHTTPClient added in v1.2.0

SetHTTPClient adds the HTTPClient to the vcs virtual machine snapshot revert using p o s t params

func (*VcsVirtualMachineSnapshotRevertUsingPOSTParams) SetSnapshotID added in v1.2.0

func (o *VcsVirtualMachineSnapshotRevertUsingPOSTParams) SetSnapshotID(snapshotID string)

SetSnapshotID adds the snapshotId to the vcs virtual machine snapshot revert using p o s t params

func (*VcsVirtualMachineSnapshotRevertUsingPOSTParams) SetTimeout added in v1.2.0

SetTimeout adds the timeout to the vcs virtual machine snapshot revert using p o s t params

func (*VcsVirtualMachineSnapshotRevertUsingPOSTParams) SetVirtualMachineID added in v1.2.0

func (o *VcsVirtualMachineSnapshotRevertUsingPOSTParams) SetVirtualMachineID(virtualMachineID string)

SetVirtualMachineID adds the virtualMachineId to the vcs virtual machine snapshot revert using p o s t params

func (*VcsVirtualMachineSnapshotRevertUsingPOSTParams) WithContext added in v1.2.0

WithContext adds the context to the vcs virtual machine snapshot revert using p o s t params

func (*VcsVirtualMachineSnapshotRevertUsingPOSTParams) WithDefaults added in v1.2.4

WithDefaults hydrates default values in the vcs virtual machine snapshot revert using p o s t params (not the query body).

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

func (*VcsVirtualMachineSnapshotRevertUsingPOSTParams) WithHTTPClient added in v1.2.0

WithHTTPClient adds the HTTPClient to the vcs virtual machine snapshot revert using p o s t params

func (*VcsVirtualMachineSnapshotRevertUsingPOSTParams) WithSnapshotID added in v1.2.0

WithSnapshotID adds the snapshotID to the vcs virtual machine snapshot revert using p o s t params

func (*VcsVirtualMachineSnapshotRevertUsingPOSTParams) WithTimeout added in v1.2.0

WithTimeout adds the timeout to the vcs virtual machine snapshot revert using p o s t params

func (*VcsVirtualMachineSnapshotRevertUsingPOSTParams) WithVirtualMachineID added in v1.2.0

WithVirtualMachineID adds the virtualMachineID to the vcs virtual machine snapshot revert using p o s t params

func (*VcsVirtualMachineSnapshotRevertUsingPOSTParams) WriteToRequest added in v1.2.0

WriteToRequest writes these params to a swagger request

type VcsVirtualMachineSnapshotRevertUsingPOSTReader added in v1.2.0

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

VcsVirtualMachineSnapshotRevertUsingPOSTReader is a Reader for the VcsVirtualMachineSnapshotRevertUsingPOST structure.

func (*VcsVirtualMachineSnapshotRevertUsingPOSTReader) ReadResponse added in v1.2.0

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

ReadResponse reads a server response into the received o.

type VcsVirtualMachineUpdateUsingPUTBadRequest added in v1.0.0

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

Bad request, error occurred. For more details see log messages.

func NewVcsVirtualMachineUpdateUsingPUTBadRequest added in v1.0.0

func NewVcsVirtualMachineUpdateUsingPUTBadRequest() *VcsVirtualMachineUpdateUsingPUTBadRequest

NewVcsVirtualMachineUpdateUsingPUTBadRequest creates a VcsVirtualMachineUpdateUsingPUTBadRequest with default headers values

func (*VcsVirtualMachineUpdateUsingPUTBadRequest) Error added in v1.0.0

func (*VcsVirtualMachineUpdateUsingPUTBadRequest) GetPayload added in v1.2.0

type VcsVirtualMachineUpdateUsingPUTOK added in v1.0.0

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

Request has been completed successfully

func NewVcsVirtualMachineUpdateUsingPUTOK added in v1.0.0

func NewVcsVirtualMachineUpdateUsingPUTOK() *VcsVirtualMachineUpdateUsingPUTOK

NewVcsVirtualMachineUpdateUsingPUTOK creates a VcsVirtualMachineUpdateUsingPUTOK with default headers values

func (*VcsVirtualMachineUpdateUsingPUTOK) Error added in v1.0.0

func (*VcsVirtualMachineUpdateUsingPUTOK) GetPayload added in v1.0.0

type VcsVirtualMachineUpdateUsingPUTParams added in v1.0.0

type VcsVirtualMachineUpdateUsingPUTParams struct {

	/* VirtualMachine.

	   virtualMachine
	*/
	VirtualMachine *models.VcsVirtualMachineInstance

	/* VirtualMachineID.

	   virtualMachineId
	*/
	VirtualMachineID string

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

VcsVirtualMachineUpdateUsingPUTParams contains all the parameters to send to the API endpoint

for the vcs virtual machine update using p u t operation.

Typically these are written to a http.Request.

func NewVcsVirtualMachineUpdateUsingPUTParams added in v1.0.0

func NewVcsVirtualMachineUpdateUsingPUTParams() *VcsVirtualMachineUpdateUsingPUTParams

NewVcsVirtualMachineUpdateUsingPUTParams creates a new VcsVirtualMachineUpdateUsingPUTParams 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 NewVcsVirtualMachineUpdateUsingPUTParamsWithContext added in v1.0.0

func NewVcsVirtualMachineUpdateUsingPUTParamsWithContext(ctx context.Context) *VcsVirtualMachineUpdateUsingPUTParams

NewVcsVirtualMachineUpdateUsingPUTParamsWithContext creates a new VcsVirtualMachineUpdateUsingPUTParams object with the ability to set a context for a request.

func NewVcsVirtualMachineUpdateUsingPUTParamsWithHTTPClient added in v1.0.0

func NewVcsVirtualMachineUpdateUsingPUTParamsWithHTTPClient(client *http.Client) *VcsVirtualMachineUpdateUsingPUTParams

NewVcsVirtualMachineUpdateUsingPUTParamsWithHTTPClient creates a new VcsVirtualMachineUpdateUsingPUTParams object with the ability to set a custom HTTPClient for a request.

func NewVcsVirtualMachineUpdateUsingPUTParamsWithTimeout added in v1.0.0

func NewVcsVirtualMachineUpdateUsingPUTParamsWithTimeout(timeout time.Duration) *VcsVirtualMachineUpdateUsingPUTParams

NewVcsVirtualMachineUpdateUsingPUTParamsWithTimeout creates a new VcsVirtualMachineUpdateUsingPUTParams object with the ability to set a timeout on a request.

func (*VcsVirtualMachineUpdateUsingPUTParams) SetContext added in v1.0.0

SetContext adds the context to the vcs virtual machine update using p u t params

func (*VcsVirtualMachineUpdateUsingPUTParams) SetDefaults added in v1.2.4

func (o *VcsVirtualMachineUpdateUsingPUTParams) SetDefaults()

SetDefaults hydrates default values in the vcs virtual machine update using p u t params (not the query body).

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

func (*VcsVirtualMachineUpdateUsingPUTParams) SetHTTPClient added in v1.0.0

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

SetHTTPClient adds the HTTPClient to the vcs virtual machine update using p u t params

func (*VcsVirtualMachineUpdateUsingPUTParams) SetTimeout added in v1.0.0

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

SetTimeout adds the timeout to the vcs virtual machine update using p u t params

func (*VcsVirtualMachineUpdateUsingPUTParams) SetVirtualMachine added in v1.0.0

func (o *VcsVirtualMachineUpdateUsingPUTParams) SetVirtualMachine(virtualMachine *models.VcsVirtualMachineInstance)

SetVirtualMachine adds the virtualMachine to the vcs virtual machine update using p u t params

func (*VcsVirtualMachineUpdateUsingPUTParams) SetVirtualMachineID added in v1.0.0

func (o *VcsVirtualMachineUpdateUsingPUTParams) SetVirtualMachineID(virtualMachineID string)

SetVirtualMachineID adds the virtualMachineId to the vcs virtual machine update using p u t params

func (*VcsVirtualMachineUpdateUsingPUTParams) WithContext added in v1.0.0

WithContext adds the context to the vcs virtual machine update using p u t params

func (*VcsVirtualMachineUpdateUsingPUTParams) WithDefaults added in v1.2.4

WithDefaults hydrates default values in the vcs virtual machine update using p u t params (not the query body).

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

func (*VcsVirtualMachineUpdateUsingPUTParams) WithHTTPClient added in v1.0.0

WithHTTPClient adds the HTTPClient to the vcs virtual machine update using p u t params

func (*VcsVirtualMachineUpdateUsingPUTParams) WithTimeout added in v1.0.0

WithTimeout adds the timeout to the vcs virtual machine update using p u t params

func (*VcsVirtualMachineUpdateUsingPUTParams) WithVirtualMachine added in v1.0.0

WithVirtualMachine adds the virtualMachine to the vcs virtual machine update using p u t params

func (*VcsVirtualMachineUpdateUsingPUTParams) WithVirtualMachineID added in v1.0.0

func (o *VcsVirtualMachineUpdateUsingPUTParams) WithVirtualMachineID(virtualMachineID string) *VcsVirtualMachineUpdateUsingPUTParams

WithVirtualMachineID adds the virtualMachineID to the vcs virtual machine update using p u t params

func (*VcsVirtualMachineUpdateUsingPUTParams) WriteToRequest added in v1.0.0

WriteToRequest writes these params to a swagger request

type VcsVirtualMachineUpdateUsingPUTReader added in v1.0.0

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

VcsVirtualMachineUpdateUsingPUTReader is a Reader for the VcsVirtualMachineUpdateUsingPUT structure.

func (*VcsVirtualMachineUpdateUsingPUTReader) ReadResponse added in v1.0.0

func (o *VcsVirtualMachineUpdateUsingPUTReader) 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