Documentation ¶
Index ¶
- type Client
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) VcsVirtualMachineCreateUsingPUT(params *VcsVirtualMachineCreateUsingPUTParams, opts ...ClientOption) (*VcsVirtualMachineCreateUsingPUTOK, *VcsVirtualMachineCreateUsingPUTCreated, ...)
- func (a *Client) VcsVirtualMachineDeleteUsingDELETE(params *VcsVirtualMachineDeleteUsingDELETEParams, opts ...ClientOption) (*VcsVirtualMachineDeleteUsingDELETEOK, error)
- func (a *Client) VcsVirtualMachineGroupGetUsingGET1(params *VcsVirtualMachineGroupGetUsingGET1Params, opts ...ClientOption) (*VcsVirtualMachineGroupGetUsingGET1OK, error)
- func (a *Client) VcsVirtualMachineListUsingGET1(params *VcsVirtualMachineListUsingGET1Params, opts ...ClientOption) (*VcsVirtualMachineListUsingGET1OK, error)
- func (a *Client) VcsVirtualMachineSnapshotCreateUsingPUT(params *VcsVirtualMachineSnapshotCreateUsingPUTParams, opts ...ClientOption) (*VcsVirtualMachineSnapshotCreateUsingPUTOK, ...)
- func (a *Client) VcsVirtualMachineSnapshotDeleteUsingDELETE(params *VcsVirtualMachineSnapshotDeleteUsingDELETEParams, opts ...ClientOption) (*VcsVirtualMachineSnapshotDeleteUsingDELETEOK, error)
- func (a *Client) VcsVirtualMachineSnapshotGetUsingGET(params *VcsVirtualMachineSnapshotGetUsingGETParams, opts ...ClientOption) (*VcsVirtualMachineSnapshotGetUsingGETOK, error)
- func (a *Client) VcsVirtualMachineSnapshotListUsingGET(params *VcsVirtualMachineSnapshotListUsingGETParams, opts ...ClientOption) (*VcsVirtualMachineSnapshotListUsingGETOK, error)
- func (a *Client) VcsVirtualMachineSnapshotRevertUsingPOST(params *VcsVirtualMachineSnapshotRevertUsingPOSTParams, opts ...ClientOption) (*VcsVirtualMachineSnapshotRevertUsingPOSTOK, error)
- func (a *Client) VcsVirtualMachineUpdateUsingPUT(params *VcsVirtualMachineUpdateUsingPUTParams, opts ...ClientOption) (*VcsVirtualMachineUpdateUsingPUTOK, error)
- type ClientOption
- type ClientService
- type VcsVirtualMachineCreateUsingPUTBadRequest
- type VcsVirtualMachineCreateUsingPUTCreated
- type VcsVirtualMachineCreateUsingPUTOK
- type VcsVirtualMachineCreateUsingPUTParams
- func NewVcsVirtualMachineCreateUsingPUTParams() *VcsVirtualMachineCreateUsingPUTParams
- func NewVcsVirtualMachineCreateUsingPUTParamsWithContext(ctx context.Context) *VcsVirtualMachineCreateUsingPUTParams
- func NewVcsVirtualMachineCreateUsingPUTParamsWithHTTPClient(client *http.Client) *VcsVirtualMachineCreateUsingPUTParams
- func NewVcsVirtualMachineCreateUsingPUTParamsWithTimeout(timeout time.Duration) *VcsVirtualMachineCreateUsingPUTParams
- func (o *VcsVirtualMachineCreateUsingPUTParams) SetContext(ctx context.Context)
- func (o *VcsVirtualMachineCreateUsingPUTParams) SetDefaults()
- func (o *VcsVirtualMachineCreateUsingPUTParams) SetHTTPClient(client *http.Client)
- func (o *VcsVirtualMachineCreateUsingPUTParams) SetTimeout(timeout time.Duration)
- func (o *VcsVirtualMachineCreateUsingPUTParams) SetVirtualMachine(virtualMachine *models.VcsVirtualMachineInstance)
- func (o *VcsVirtualMachineCreateUsingPUTParams) WithContext(ctx context.Context) *VcsVirtualMachineCreateUsingPUTParams
- func (o *VcsVirtualMachineCreateUsingPUTParams) WithDefaults() *VcsVirtualMachineCreateUsingPUTParams
- func (o *VcsVirtualMachineCreateUsingPUTParams) WithHTTPClient(client *http.Client) *VcsVirtualMachineCreateUsingPUTParams
- func (o *VcsVirtualMachineCreateUsingPUTParams) WithTimeout(timeout time.Duration) *VcsVirtualMachineCreateUsingPUTParams
- func (o *VcsVirtualMachineCreateUsingPUTParams) WithVirtualMachine(virtualMachine *models.VcsVirtualMachineInstance) *VcsVirtualMachineCreateUsingPUTParams
- func (o *VcsVirtualMachineCreateUsingPUTParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type VcsVirtualMachineCreateUsingPUTReader
- type VcsVirtualMachineDeleteUsingDELETEBadRequest
- type VcsVirtualMachineDeleteUsingDELETEOK
- type VcsVirtualMachineDeleteUsingDELETEParams
- func NewVcsVirtualMachineDeleteUsingDELETEParams() *VcsVirtualMachineDeleteUsingDELETEParams
- func NewVcsVirtualMachineDeleteUsingDELETEParamsWithContext(ctx context.Context) *VcsVirtualMachineDeleteUsingDELETEParams
- func NewVcsVirtualMachineDeleteUsingDELETEParamsWithHTTPClient(client *http.Client) *VcsVirtualMachineDeleteUsingDELETEParams
- func NewVcsVirtualMachineDeleteUsingDELETEParamsWithTimeout(timeout time.Duration) *VcsVirtualMachineDeleteUsingDELETEParams
- func (o *VcsVirtualMachineDeleteUsingDELETEParams) SetContext(ctx context.Context)
- func (o *VcsVirtualMachineDeleteUsingDELETEParams) SetDefaults()
- func (o *VcsVirtualMachineDeleteUsingDELETEParams) SetHTTPClient(client *http.Client)
- func (o *VcsVirtualMachineDeleteUsingDELETEParams) SetTimeout(timeout time.Duration)
- func (o *VcsVirtualMachineDeleteUsingDELETEParams) SetVirtualMachineID(virtualMachineID string)
- func (o *VcsVirtualMachineDeleteUsingDELETEParams) WithContext(ctx context.Context) *VcsVirtualMachineDeleteUsingDELETEParams
- func (o *VcsVirtualMachineDeleteUsingDELETEParams) WithDefaults() *VcsVirtualMachineDeleteUsingDELETEParams
- func (o *VcsVirtualMachineDeleteUsingDELETEParams) WithHTTPClient(client *http.Client) *VcsVirtualMachineDeleteUsingDELETEParams
- func (o *VcsVirtualMachineDeleteUsingDELETEParams) WithTimeout(timeout time.Duration) *VcsVirtualMachineDeleteUsingDELETEParams
- func (o *VcsVirtualMachineDeleteUsingDELETEParams) WithVirtualMachineID(virtualMachineID string) *VcsVirtualMachineDeleteUsingDELETEParams
- func (o *VcsVirtualMachineDeleteUsingDELETEParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type VcsVirtualMachineDeleteUsingDELETEReader
- type VcsVirtualMachineGroupGetUsingGET1BadRequest
- type VcsVirtualMachineGroupGetUsingGET1NotFound
- type VcsVirtualMachineGroupGetUsingGET1OK
- type VcsVirtualMachineGroupGetUsingGET1Params
- func NewVcsVirtualMachineGroupGetUsingGET1Params() *VcsVirtualMachineGroupGetUsingGET1Params
- func NewVcsVirtualMachineGroupGetUsingGET1ParamsWithContext(ctx context.Context) *VcsVirtualMachineGroupGetUsingGET1Params
- func NewVcsVirtualMachineGroupGetUsingGET1ParamsWithHTTPClient(client *http.Client) *VcsVirtualMachineGroupGetUsingGET1Params
- func NewVcsVirtualMachineGroupGetUsingGET1ParamsWithTimeout(timeout time.Duration) *VcsVirtualMachineGroupGetUsingGET1Params
- func (o *VcsVirtualMachineGroupGetUsingGET1Params) SetContext(ctx context.Context)
- func (o *VcsVirtualMachineGroupGetUsingGET1Params) SetDefaults()
- func (o *VcsVirtualMachineGroupGetUsingGET1Params) SetHTTPClient(client *http.Client)
- func (o *VcsVirtualMachineGroupGetUsingGET1Params) SetTimeout(timeout time.Duration)
- func (o *VcsVirtualMachineGroupGetUsingGET1Params) SetVirtualMachineID(virtualMachineID string)
- func (o *VcsVirtualMachineGroupGetUsingGET1Params) WithContext(ctx context.Context) *VcsVirtualMachineGroupGetUsingGET1Params
- func (o *VcsVirtualMachineGroupGetUsingGET1Params) WithDefaults() *VcsVirtualMachineGroupGetUsingGET1Params
- func (o *VcsVirtualMachineGroupGetUsingGET1Params) WithHTTPClient(client *http.Client) *VcsVirtualMachineGroupGetUsingGET1Params
- func (o *VcsVirtualMachineGroupGetUsingGET1Params) WithTimeout(timeout time.Duration) *VcsVirtualMachineGroupGetUsingGET1Params
- func (o *VcsVirtualMachineGroupGetUsingGET1Params) WithVirtualMachineID(virtualMachineID string) *VcsVirtualMachineGroupGetUsingGET1Params
- func (o *VcsVirtualMachineGroupGetUsingGET1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type VcsVirtualMachineGroupGetUsingGET1Reader
- type VcsVirtualMachineListUsingGET1BadRequest
- type VcsVirtualMachineListUsingGET1OK
- type VcsVirtualMachineListUsingGET1Params
- func NewVcsVirtualMachineListUsingGET1Params() *VcsVirtualMachineListUsingGET1Params
- func NewVcsVirtualMachineListUsingGET1ParamsWithContext(ctx context.Context) *VcsVirtualMachineListUsingGET1Params
- func NewVcsVirtualMachineListUsingGET1ParamsWithHTTPClient(client *http.Client) *VcsVirtualMachineListUsingGET1Params
- func NewVcsVirtualMachineListUsingGET1ParamsWithTimeout(timeout time.Duration) *VcsVirtualMachineListUsingGET1Params
- func (o *VcsVirtualMachineListUsingGET1Params) SetContext(ctx context.Context)
- func (o *VcsVirtualMachineListUsingGET1Params) SetDefaults()
- func (o *VcsVirtualMachineListUsingGET1Params) SetDisplayName(displayName *string)
- func (o *VcsVirtualMachineListUsingGET1Params) SetHTTPClient(client *http.Client)
- func (o *VcsVirtualMachineListUsingGET1Params) SetTimeout(timeout time.Duration)
- func (o *VcsVirtualMachineListUsingGET1Params) WithContext(ctx context.Context) *VcsVirtualMachineListUsingGET1Params
- func (o *VcsVirtualMachineListUsingGET1Params) WithDefaults() *VcsVirtualMachineListUsingGET1Params
- func (o *VcsVirtualMachineListUsingGET1Params) WithDisplayName(displayName *string) *VcsVirtualMachineListUsingGET1Params
- func (o *VcsVirtualMachineListUsingGET1Params) WithHTTPClient(client *http.Client) *VcsVirtualMachineListUsingGET1Params
- func (o *VcsVirtualMachineListUsingGET1Params) WithTimeout(timeout time.Duration) *VcsVirtualMachineListUsingGET1Params
- func (o *VcsVirtualMachineListUsingGET1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type VcsVirtualMachineListUsingGET1Reader
- type VcsVirtualMachineSnapshotCreateUsingPUTBadRequest
- type VcsVirtualMachineSnapshotCreateUsingPUTCreated
- type VcsVirtualMachineSnapshotCreateUsingPUTOK
- type VcsVirtualMachineSnapshotCreateUsingPUTParams
- func NewVcsVirtualMachineSnapshotCreateUsingPUTParams() *VcsVirtualMachineSnapshotCreateUsingPUTParams
- func NewVcsVirtualMachineSnapshotCreateUsingPUTParamsWithContext(ctx context.Context) *VcsVirtualMachineSnapshotCreateUsingPUTParams
- func NewVcsVirtualMachineSnapshotCreateUsingPUTParamsWithHTTPClient(client *http.Client) *VcsVirtualMachineSnapshotCreateUsingPUTParams
- func NewVcsVirtualMachineSnapshotCreateUsingPUTParamsWithTimeout(timeout time.Duration) *VcsVirtualMachineSnapshotCreateUsingPUTParams
- func (o *VcsVirtualMachineSnapshotCreateUsingPUTParams) SetContext(ctx context.Context)
- func (o *VcsVirtualMachineSnapshotCreateUsingPUTParams) SetDefaults()
- func (o *VcsVirtualMachineSnapshotCreateUsingPUTParams) SetHTTPClient(client *http.Client)
- func (o *VcsVirtualMachineSnapshotCreateUsingPUTParams) SetRAMSnapshot(rAMSnapshot *bool)
- func (o *VcsVirtualMachineSnapshotCreateUsingPUTParams) SetSnapshotInstance(snapshotInstance *models.SnapshotInstance)
- func (o *VcsVirtualMachineSnapshotCreateUsingPUTParams) SetTimeout(timeout time.Duration)
- func (o *VcsVirtualMachineSnapshotCreateUsingPUTParams) SetVirtualMachineID(virtualMachineID string)
- func (o *VcsVirtualMachineSnapshotCreateUsingPUTParams) WithContext(ctx context.Context) *VcsVirtualMachineSnapshotCreateUsingPUTParams
- func (o *VcsVirtualMachineSnapshotCreateUsingPUTParams) WithDefaults() *VcsVirtualMachineSnapshotCreateUsingPUTParams
- func (o *VcsVirtualMachineSnapshotCreateUsingPUTParams) WithHTTPClient(client *http.Client) *VcsVirtualMachineSnapshotCreateUsingPUTParams
- func (o *VcsVirtualMachineSnapshotCreateUsingPUTParams) WithRAMSnapshot(rAMSnapshot *bool) *VcsVirtualMachineSnapshotCreateUsingPUTParams
- func (o *VcsVirtualMachineSnapshotCreateUsingPUTParams) WithSnapshotInstance(snapshotInstance *models.SnapshotInstance) *VcsVirtualMachineSnapshotCreateUsingPUTParams
- func (o *VcsVirtualMachineSnapshotCreateUsingPUTParams) WithTimeout(timeout time.Duration) *VcsVirtualMachineSnapshotCreateUsingPUTParams
- func (o *VcsVirtualMachineSnapshotCreateUsingPUTParams) WithVirtualMachineID(virtualMachineID string) *VcsVirtualMachineSnapshotCreateUsingPUTParams
- func (o *VcsVirtualMachineSnapshotCreateUsingPUTParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type VcsVirtualMachineSnapshotCreateUsingPUTReader
- type VcsVirtualMachineSnapshotDeleteUsingDELETEBadRequest
- type VcsVirtualMachineSnapshotDeleteUsingDELETEOK
- type VcsVirtualMachineSnapshotDeleteUsingDELETEParams
- func NewVcsVirtualMachineSnapshotDeleteUsingDELETEParams() *VcsVirtualMachineSnapshotDeleteUsingDELETEParams
- func NewVcsVirtualMachineSnapshotDeleteUsingDELETEParamsWithContext(ctx context.Context) *VcsVirtualMachineSnapshotDeleteUsingDELETEParams
- func NewVcsVirtualMachineSnapshotDeleteUsingDELETEParamsWithHTTPClient(client *http.Client) *VcsVirtualMachineSnapshotDeleteUsingDELETEParams
- func NewVcsVirtualMachineSnapshotDeleteUsingDELETEParamsWithTimeout(timeout time.Duration) *VcsVirtualMachineSnapshotDeleteUsingDELETEParams
- func (o *VcsVirtualMachineSnapshotDeleteUsingDELETEParams) SetContext(ctx context.Context)
- func (o *VcsVirtualMachineSnapshotDeleteUsingDELETEParams) SetDefaults()
- func (o *VcsVirtualMachineSnapshotDeleteUsingDELETEParams) SetHTTPClient(client *http.Client)
- func (o *VcsVirtualMachineSnapshotDeleteUsingDELETEParams) SetSnapshotID(snapshotID string)
- func (o *VcsVirtualMachineSnapshotDeleteUsingDELETEParams) SetTimeout(timeout time.Duration)
- func (o *VcsVirtualMachineSnapshotDeleteUsingDELETEParams) SetVirtualMachineID(virtualMachineID string)
- func (o *VcsVirtualMachineSnapshotDeleteUsingDELETEParams) WithContext(ctx context.Context) *VcsVirtualMachineSnapshotDeleteUsingDELETEParams
- func (o *VcsVirtualMachineSnapshotDeleteUsingDELETEParams) WithDefaults() *VcsVirtualMachineSnapshotDeleteUsingDELETEParams
- func (o *VcsVirtualMachineSnapshotDeleteUsingDELETEParams) WithHTTPClient(client *http.Client) *VcsVirtualMachineSnapshotDeleteUsingDELETEParams
- func (o *VcsVirtualMachineSnapshotDeleteUsingDELETEParams) WithSnapshotID(snapshotID string) *VcsVirtualMachineSnapshotDeleteUsingDELETEParams
- func (o *VcsVirtualMachineSnapshotDeleteUsingDELETEParams) WithTimeout(timeout time.Duration) *VcsVirtualMachineSnapshotDeleteUsingDELETEParams
- func (o *VcsVirtualMachineSnapshotDeleteUsingDELETEParams) WithVirtualMachineID(virtualMachineID string) *VcsVirtualMachineSnapshotDeleteUsingDELETEParams
- func (o *VcsVirtualMachineSnapshotDeleteUsingDELETEParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type VcsVirtualMachineSnapshotDeleteUsingDELETEReader
- type VcsVirtualMachineSnapshotGetUsingGETBadRequest
- type VcsVirtualMachineSnapshotGetUsingGETOK
- type VcsVirtualMachineSnapshotGetUsingGETParams
- func NewVcsVirtualMachineSnapshotGetUsingGETParams() *VcsVirtualMachineSnapshotGetUsingGETParams
- func NewVcsVirtualMachineSnapshotGetUsingGETParamsWithContext(ctx context.Context) *VcsVirtualMachineSnapshotGetUsingGETParams
- func NewVcsVirtualMachineSnapshotGetUsingGETParamsWithHTTPClient(client *http.Client) *VcsVirtualMachineSnapshotGetUsingGETParams
- func NewVcsVirtualMachineSnapshotGetUsingGETParamsWithTimeout(timeout time.Duration) *VcsVirtualMachineSnapshotGetUsingGETParams
- func (o *VcsVirtualMachineSnapshotGetUsingGETParams) SetContext(ctx context.Context)
- func (o *VcsVirtualMachineSnapshotGetUsingGETParams) SetDefaults()
- func (o *VcsVirtualMachineSnapshotGetUsingGETParams) SetHTTPClient(client *http.Client)
- func (o *VcsVirtualMachineSnapshotGetUsingGETParams) SetSnapshotID(snapshotID string)
- func (o *VcsVirtualMachineSnapshotGetUsingGETParams) SetTimeout(timeout time.Duration)
- func (o *VcsVirtualMachineSnapshotGetUsingGETParams) SetVirtualMachineID(virtualMachineID string)
- func (o *VcsVirtualMachineSnapshotGetUsingGETParams) WithContext(ctx context.Context) *VcsVirtualMachineSnapshotGetUsingGETParams
- func (o *VcsVirtualMachineSnapshotGetUsingGETParams) WithDefaults() *VcsVirtualMachineSnapshotGetUsingGETParams
- func (o *VcsVirtualMachineSnapshotGetUsingGETParams) WithHTTPClient(client *http.Client) *VcsVirtualMachineSnapshotGetUsingGETParams
- func (o *VcsVirtualMachineSnapshotGetUsingGETParams) WithSnapshotID(snapshotID string) *VcsVirtualMachineSnapshotGetUsingGETParams
- func (o *VcsVirtualMachineSnapshotGetUsingGETParams) WithTimeout(timeout time.Duration) *VcsVirtualMachineSnapshotGetUsingGETParams
- func (o *VcsVirtualMachineSnapshotGetUsingGETParams) WithVirtualMachineID(virtualMachineID string) *VcsVirtualMachineSnapshotGetUsingGETParams
- func (o *VcsVirtualMachineSnapshotGetUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type VcsVirtualMachineSnapshotGetUsingGETReader
- type VcsVirtualMachineSnapshotListUsingGETBadRequest
- type VcsVirtualMachineSnapshotListUsingGETOK
- type VcsVirtualMachineSnapshotListUsingGETParams
- func NewVcsVirtualMachineSnapshotListUsingGETParams() *VcsVirtualMachineSnapshotListUsingGETParams
- func NewVcsVirtualMachineSnapshotListUsingGETParamsWithContext(ctx context.Context) *VcsVirtualMachineSnapshotListUsingGETParams
- func NewVcsVirtualMachineSnapshotListUsingGETParamsWithHTTPClient(client *http.Client) *VcsVirtualMachineSnapshotListUsingGETParams
- func NewVcsVirtualMachineSnapshotListUsingGETParamsWithTimeout(timeout time.Duration) *VcsVirtualMachineSnapshotListUsingGETParams
- func (o *VcsVirtualMachineSnapshotListUsingGETParams) SetContext(ctx context.Context)
- func (o *VcsVirtualMachineSnapshotListUsingGETParams) SetDefaults()
- func (o *VcsVirtualMachineSnapshotListUsingGETParams) SetDisplayName(displayName *string)
- func (o *VcsVirtualMachineSnapshotListUsingGETParams) SetHTTPClient(client *http.Client)
- func (o *VcsVirtualMachineSnapshotListUsingGETParams) SetTimeout(timeout time.Duration)
- func (o *VcsVirtualMachineSnapshotListUsingGETParams) SetVirtualMachineID(virtualMachineID string)
- func (o *VcsVirtualMachineSnapshotListUsingGETParams) WithContext(ctx context.Context) *VcsVirtualMachineSnapshotListUsingGETParams
- func (o *VcsVirtualMachineSnapshotListUsingGETParams) WithDefaults() *VcsVirtualMachineSnapshotListUsingGETParams
- func (o *VcsVirtualMachineSnapshotListUsingGETParams) WithDisplayName(displayName *string) *VcsVirtualMachineSnapshotListUsingGETParams
- func (o *VcsVirtualMachineSnapshotListUsingGETParams) WithHTTPClient(client *http.Client) *VcsVirtualMachineSnapshotListUsingGETParams
- func (o *VcsVirtualMachineSnapshotListUsingGETParams) WithTimeout(timeout time.Duration) *VcsVirtualMachineSnapshotListUsingGETParams
- func (o *VcsVirtualMachineSnapshotListUsingGETParams) WithVirtualMachineID(virtualMachineID string) *VcsVirtualMachineSnapshotListUsingGETParams
- func (o *VcsVirtualMachineSnapshotListUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type VcsVirtualMachineSnapshotListUsingGETReader
- type VcsVirtualMachineSnapshotRevertUsingPOSTBadRequest
- type VcsVirtualMachineSnapshotRevertUsingPOSTOK
- type VcsVirtualMachineSnapshotRevertUsingPOSTParams
- func NewVcsVirtualMachineSnapshotRevertUsingPOSTParams() *VcsVirtualMachineSnapshotRevertUsingPOSTParams
- func NewVcsVirtualMachineSnapshotRevertUsingPOSTParamsWithContext(ctx context.Context) *VcsVirtualMachineSnapshotRevertUsingPOSTParams
- func NewVcsVirtualMachineSnapshotRevertUsingPOSTParamsWithHTTPClient(client *http.Client) *VcsVirtualMachineSnapshotRevertUsingPOSTParams
- func NewVcsVirtualMachineSnapshotRevertUsingPOSTParamsWithTimeout(timeout time.Duration) *VcsVirtualMachineSnapshotRevertUsingPOSTParams
- func (o *VcsVirtualMachineSnapshotRevertUsingPOSTParams) SetContext(ctx context.Context)
- func (o *VcsVirtualMachineSnapshotRevertUsingPOSTParams) SetDefaults()
- func (o *VcsVirtualMachineSnapshotRevertUsingPOSTParams) SetHTTPClient(client *http.Client)
- func (o *VcsVirtualMachineSnapshotRevertUsingPOSTParams) SetSnapshotID(snapshotID string)
- func (o *VcsVirtualMachineSnapshotRevertUsingPOSTParams) SetTimeout(timeout time.Duration)
- func (o *VcsVirtualMachineSnapshotRevertUsingPOSTParams) SetVirtualMachineID(virtualMachineID string)
- func (o *VcsVirtualMachineSnapshotRevertUsingPOSTParams) WithContext(ctx context.Context) *VcsVirtualMachineSnapshotRevertUsingPOSTParams
- func (o *VcsVirtualMachineSnapshotRevertUsingPOSTParams) WithDefaults() *VcsVirtualMachineSnapshotRevertUsingPOSTParams
- func (o *VcsVirtualMachineSnapshotRevertUsingPOSTParams) WithHTTPClient(client *http.Client) *VcsVirtualMachineSnapshotRevertUsingPOSTParams
- func (o *VcsVirtualMachineSnapshotRevertUsingPOSTParams) WithSnapshotID(snapshotID string) *VcsVirtualMachineSnapshotRevertUsingPOSTParams
- func (o *VcsVirtualMachineSnapshotRevertUsingPOSTParams) WithTimeout(timeout time.Duration) *VcsVirtualMachineSnapshotRevertUsingPOSTParams
- func (o *VcsVirtualMachineSnapshotRevertUsingPOSTParams) WithVirtualMachineID(virtualMachineID string) *VcsVirtualMachineSnapshotRevertUsingPOSTParams
- func (o *VcsVirtualMachineSnapshotRevertUsingPOSTParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type VcsVirtualMachineSnapshotRevertUsingPOSTReader
- type VcsVirtualMachineUpdateUsingPUTBadRequest
- type VcsVirtualMachineUpdateUsingPUTOK
- type VcsVirtualMachineUpdateUsingPUTParams
- func NewVcsVirtualMachineUpdateUsingPUTParams() *VcsVirtualMachineUpdateUsingPUTParams
- func NewVcsVirtualMachineUpdateUsingPUTParamsWithContext(ctx context.Context) *VcsVirtualMachineUpdateUsingPUTParams
- func NewVcsVirtualMachineUpdateUsingPUTParamsWithHTTPClient(client *http.Client) *VcsVirtualMachineUpdateUsingPUTParams
- func NewVcsVirtualMachineUpdateUsingPUTParamsWithTimeout(timeout time.Duration) *VcsVirtualMachineUpdateUsingPUTParams
- func (o *VcsVirtualMachineUpdateUsingPUTParams) SetContext(ctx context.Context)
- func (o *VcsVirtualMachineUpdateUsingPUTParams) SetDefaults()
- func (o *VcsVirtualMachineUpdateUsingPUTParams) SetHTTPClient(client *http.Client)
- func (o *VcsVirtualMachineUpdateUsingPUTParams) SetTimeout(timeout time.Duration)
- func (o *VcsVirtualMachineUpdateUsingPUTParams) SetVirtualMachine(virtualMachine *models.VcsVirtualMachineInstance)
- func (o *VcsVirtualMachineUpdateUsingPUTParams) SetVirtualMachineID(virtualMachineID string)
- func (o *VcsVirtualMachineUpdateUsingPUTParams) WithContext(ctx context.Context) *VcsVirtualMachineUpdateUsingPUTParams
- func (o *VcsVirtualMachineUpdateUsingPUTParams) WithDefaults() *VcsVirtualMachineUpdateUsingPUTParams
- func (o *VcsVirtualMachineUpdateUsingPUTParams) WithHTTPClient(client *http.Client) *VcsVirtualMachineUpdateUsingPUTParams
- func (o *VcsVirtualMachineUpdateUsingPUTParams) WithTimeout(timeout time.Duration) *VcsVirtualMachineUpdateUsingPUTParams
- func (o *VcsVirtualMachineUpdateUsingPUTParams) WithVirtualMachine(virtualMachine *models.VcsVirtualMachineInstance) *VcsVirtualMachineUpdateUsingPUTParams
- func (o *VcsVirtualMachineUpdateUsingPUTParams) WithVirtualMachineID(virtualMachineID string) *VcsVirtualMachineUpdateUsingPUTParams
- func (o *VcsVirtualMachineUpdateUsingPUTParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type VcsVirtualMachineUpdateUsingPUTReader
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
func (a *Client) VcsVirtualMachineCreateUsingPUT(params *VcsVirtualMachineCreateUsingPUTParams, opts ...ClientOption) (*VcsVirtualMachineCreateUsingPUTOK, *VcsVirtualMachineCreateUsingPUTCreated, error)
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
func (a *Client) VcsVirtualMachineSnapshotCreateUsingPUT(params *VcsVirtualMachineSnapshotCreateUsingPUTParams, opts ...ClientOption) (*VcsVirtualMachineSnapshotCreateUsingPUTOK, *VcsVirtualMachineSnapshotCreateUsingPUTCreated, error)
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 (o *VcsVirtualMachineCreateUsingPUTBadRequest) Error() string
func (*VcsVirtualMachineCreateUsingPUTBadRequest) GetPayload ¶ added in v1.2.0
func (o *VcsVirtualMachineCreateUsingPUTBadRequest) GetPayload() *models.ProxyResponseMessage
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 (o *VcsVirtualMachineCreateUsingPUTCreated) Error() string
func (*VcsVirtualMachineCreateUsingPUTCreated) GetPayload ¶ added in v1.0.0
func (o *VcsVirtualMachineCreateUsingPUTCreated) GetPayload() *models.VcsVirtualMachineCreateResponse
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 (o *VcsVirtualMachineCreateUsingPUTOK) Error() string
func (*VcsVirtualMachineCreateUsingPUTOK) GetPayload ¶ added in v1.0.0
func (o *VcsVirtualMachineCreateUsingPUTOK) GetPayload() *models.VcsVirtualMachineCreateResponse
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
func (o *VcsVirtualMachineCreateUsingPUTParams) SetContext(ctx context.Context)
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
func (o *VcsVirtualMachineCreateUsingPUTParams) WithContext(ctx context.Context) *VcsVirtualMachineCreateUsingPUTParams
WithContext adds the context to the vcs virtual machine create using p u t params
func (*VcsVirtualMachineCreateUsingPUTParams) WithDefaults ¶ added in v1.2.4
func (o *VcsVirtualMachineCreateUsingPUTParams) WithDefaults() *VcsVirtualMachineCreateUsingPUTParams
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
func (o *VcsVirtualMachineCreateUsingPUTParams) WithHTTPClient(client *http.Client) *VcsVirtualMachineCreateUsingPUTParams
WithHTTPClient adds the HTTPClient to the vcs virtual machine create using p u t params
func (*VcsVirtualMachineCreateUsingPUTParams) WithTimeout ¶ added in v1.0.0
func (o *VcsVirtualMachineCreateUsingPUTParams) WithTimeout(timeout time.Duration) *VcsVirtualMachineCreateUsingPUTParams
WithTimeout adds the timeout to the vcs virtual machine create using p u t params
func (*VcsVirtualMachineCreateUsingPUTParams) WithVirtualMachine ¶ added in v1.0.0
func (o *VcsVirtualMachineCreateUsingPUTParams) WithVirtualMachine(virtualMachine *models.VcsVirtualMachineInstance) *VcsVirtualMachineCreateUsingPUTParams
WithVirtualMachine adds the virtualMachine to the vcs virtual machine create using p u t params
func (*VcsVirtualMachineCreateUsingPUTParams) WriteToRequest ¶ added in v1.0.0
func (o *VcsVirtualMachineCreateUsingPUTParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *VcsVirtualMachineDeleteUsingDELETEBadRequest) Error() string
func (*VcsVirtualMachineDeleteUsingDELETEBadRequest) GetPayload ¶ added in v1.2.0
func (o *VcsVirtualMachineDeleteUsingDELETEBadRequest) GetPayload() *models.ProxyResponseMessage
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 (o *VcsVirtualMachineDeleteUsingDELETEOK) Error() string
func (*VcsVirtualMachineDeleteUsingDELETEOK) GetPayload ¶ added in v1.0.0
func (o *VcsVirtualMachineDeleteUsingDELETEOK) GetPayload() *models.VcsVirtualMachineDeleteResponse
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
func (o *VcsVirtualMachineDeleteUsingDELETEParams) SetContext(ctx context.Context)
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
func (o *VcsVirtualMachineDeleteUsingDELETEParams) SetDefaults()
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
func (o *VcsVirtualMachineDeleteUsingDELETEParams) SetTimeout(timeout time.Duration)
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
func (o *VcsVirtualMachineDeleteUsingDELETEParams) WithContext(ctx context.Context) *VcsVirtualMachineDeleteUsingDELETEParams
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
func (o *VcsVirtualMachineDeleteUsingDELETEParams) WithDefaults() *VcsVirtualMachineDeleteUsingDELETEParams
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
func (o *VcsVirtualMachineDeleteUsingDELETEParams) WithHTTPClient(client *http.Client) *VcsVirtualMachineDeleteUsingDELETEParams
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
func (o *VcsVirtualMachineDeleteUsingDELETEParams) WithTimeout(timeout time.Duration) *VcsVirtualMachineDeleteUsingDELETEParams
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
func (o *VcsVirtualMachineDeleteUsingDELETEParams) WithVirtualMachineID(virtualMachineID string) *VcsVirtualMachineDeleteUsingDELETEParams
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
func (o *VcsVirtualMachineDeleteUsingDELETEParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *VcsVirtualMachineGroupGetUsingGET1BadRequest) Error() string
func (*VcsVirtualMachineGroupGetUsingGET1BadRequest) GetPayload ¶ added in v1.2.0
func (o *VcsVirtualMachineGroupGetUsingGET1BadRequest) GetPayload() *models.ProxyResponseMessage
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 ¶
func (o *VcsVirtualMachineGroupGetUsingGET1NotFound) Error() string
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 (o *VcsVirtualMachineGroupGetUsingGET1OK) Error() string
func (*VcsVirtualMachineGroupGetUsingGET1OK) GetPayload ¶
func (o *VcsVirtualMachineGroupGetUsingGET1OK) GetPayload() *models.VcsVirtualMachineGetResponse
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 ¶
func (o *VcsVirtualMachineGroupGetUsingGET1Params) SetContext(ctx context.Context)
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
func (o *VcsVirtualMachineGroupGetUsingGET1Params) SetDefaults()
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 ¶
func (o *VcsVirtualMachineGroupGetUsingGET1Params) SetTimeout(timeout time.Duration)
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 ¶
func (o *VcsVirtualMachineGroupGetUsingGET1Params) WithContext(ctx context.Context) *VcsVirtualMachineGroupGetUsingGET1Params
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
func (o *VcsVirtualMachineGroupGetUsingGET1Params) WithDefaults() *VcsVirtualMachineGroupGetUsingGET1Params
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 ¶
func (o *VcsVirtualMachineGroupGetUsingGET1Params) WithHTTPClient(client *http.Client) *VcsVirtualMachineGroupGetUsingGET1Params
WithHTTPClient adds the HTTPClient to the vcs virtual machine group get using g e t 1 params
func (*VcsVirtualMachineGroupGetUsingGET1Params) WithTimeout ¶
func (o *VcsVirtualMachineGroupGetUsingGET1Params) WithTimeout(timeout time.Duration) *VcsVirtualMachineGroupGetUsingGET1Params
WithTimeout adds the timeout to the vcs virtual machine group get using g e t 1 params
func (*VcsVirtualMachineGroupGetUsingGET1Params) WithVirtualMachineID ¶
func (o *VcsVirtualMachineGroupGetUsingGET1Params) WithVirtualMachineID(virtualMachineID string) *VcsVirtualMachineGroupGetUsingGET1Params
WithVirtualMachineID adds the virtualMachineID to the vcs virtual machine group get using g e t 1 params
func (*VcsVirtualMachineGroupGetUsingGET1Params) WriteToRequest ¶
func (o *VcsVirtualMachineGroupGetUsingGET1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *VcsVirtualMachineListUsingGET1BadRequest) Error() string
func (*VcsVirtualMachineListUsingGET1BadRequest) GetPayload ¶ added in v1.2.0
func (o *VcsVirtualMachineListUsingGET1BadRequest) GetPayload() *models.ProxyResponseMessage
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 (o *VcsVirtualMachineListUsingGET1OK) Error() string
func (*VcsVirtualMachineListUsingGET1OK) GetPayload ¶
func (o *VcsVirtualMachineListUsingGET1OK) GetPayload() *models.VcsVirtualMachineListResponse
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 ¶
func (o *VcsVirtualMachineListUsingGET1Params) SetContext(ctx context.Context)
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 ¶
func (o *VcsVirtualMachineListUsingGET1Params) WithContext(ctx context.Context) *VcsVirtualMachineListUsingGET1Params
WithContext adds the context to the vcs virtual machine list using g e t 1 params
func (*VcsVirtualMachineListUsingGET1Params) WithDefaults ¶ added in v1.2.4
func (o *VcsVirtualMachineListUsingGET1Params) WithDefaults() *VcsVirtualMachineListUsingGET1Params
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
func (o *VcsVirtualMachineListUsingGET1Params) WithDisplayName(displayName *string) *VcsVirtualMachineListUsingGET1Params
WithDisplayName adds the displayName to the vcs virtual machine list using g e t 1 params
func (*VcsVirtualMachineListUsingGET1Params) WithHTTPClient ¶
func (o *VcsVirtualMachineListUsingGET1Params) WithHTTPClient(client *http.Client) *VcsVirtualMachineListUsingGET1Params
WithHTTPClient adds the HTTPClient to the vcs virtual machine list using g e t 1 params
func (*VcsVirtualMachineListUsingGET1Params) WithTimeout ¶
func (o *VcsVirtualMachineListUsingGET1Params) WithTimeout(timeout time.Duration) *VcsVirtualMachineListUsingGET1Params
WithTimeout adds the timeout to the vcs virtual machine list using g e t 1 params
func (*VcsVirtualMachineListUsingGET1Params) WriteToRequest ¶
func (o *VcsVirtualMachineListUsingGET1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *VcsVirtualMachineSnapshotCreateUsingPUTBadRequest) Error() string
func (*VcsVirtualMachineSnapshotCreateUsingPUTBadRequest) GetPayload ¶ added in v1.2.0
func (o *VcsVirtualMachineSnapshotCreateUsingPUTBadRequest) GetPayload() *models.ProxyResponseMessage
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 (o *VcsVirtualMachineSnapshotCreateUsingPUTCreated) Error() string
func (*VcsVirtualMachineSnapshotCreateUsingPUTCreated) GetPayload ¶ added in v1.2.0
func (o *VcsVirtualMachineSnapshotCreateUsingPUTCreated) GetPayload() *models.CreateSnapshotResponse
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 (o *VcsVirtualMachineSnapshotCreateUsingPUTOK) Error() string
func (*VcsVirtualMachineSnapshotCreateUsingPUTOK) GetPayload ¶ added in v1.2.0
func (o *VcsVirtualMachineSnapshotCreateUsingPUTOK) GetPayload() *models.CreateSnapshotResponse
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
func (o *VcsVirtualMachineSnapshotCreateUsingPUTParams) SetContext(ctx context.Context)
SetContext adds the context to the vcs virtual machine snapshot create using p u t params
func (*VcsVirtualMachineSnapshotCreateUsingPUTParams) SetDefaults ¶ added in v1.2.4
func (o *VcsVirtualMachineSnapshotCreateUsingPUTParams) SetDefaults()
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
func (o *VcsVirtualMachineSnapshotCreateUsingPUTParams) SetTimeout(timeout time.Duration)
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
func (o *VcsVirtualMachineSnapshotCreateUsingPUTParams) WithContext(ctx context.Context) *VcsVirtualMachineSnapshotCreateUsingPUTParams
WithContext adds the context to the vcs virtual machine snapshot create using p u t params
func (*VcsVirtualMachineSnapshotCreateUsingPUTParams) WithDefaults ¶ added in v1.2.4
func (o *VcsVirtualMachineSnapshotCreateUsingPUTParams) WithDefaults() *VcsVirtualMachineSnapshotCreateUsingPUTParams
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
func (o *VcsVirtualMachineSnapshotCreateUsingPUTParams) WithHTTPClient(client *http.Client) *VcsVirtualMachineSnapshotCreateUsingPUTParams
WithHTTPClient adds the HTTPClient to the vcs virtual machine snapshot create using p u t params
func (*VcsVirtualMachineSnapshotCreateUsingPUTParams) WithRAMSnapshot ¶ added in v1.2.0
func (o *VcsVirtualMachineSnapshotCreateUsingPUTParams) WithRAMSnapshot(rAMSnapshot *bool) *VcsVirtualMachineSnapshotCreateUsingPUTParams
WithRAMSnapshot adds the rAMSnapshot to the vcs virtual machine snapshot create using p u t params
func (*VcsVirtualMachineSnapshotCreateUsingPUTParams) WithSnapshotInstance ¶ added in v1.2.0
func (o *VcsVirtualMachineSnapshotCreateUsingPUTParams) WithSnapshotInstance(snapshotInstance *models.SnapshotInstance) *VcsVirtualMachineSnapshotCreateUsingPUTParams
WithSnapshotInstance adds the snapshotInstance to the vcs virtual machine snapshot create using p u t params
func (*VcsVirtualMachineSnapshotCreateUsingPUTParams) WithTimeout ¶ added in v1.2.0
func (o *VcsVirtualMachineSnapshotCreateUsingPUTParams) WithTimeout(timeout time.Duration) *VcsVirtualMachineSnapshotCreateUsingPUTParams
WithTimeout adds the timeout to the vcs virtual machine snapshot create using p u t params
func (*VcsVirtualMachineSnapshotCreateUsingPUTParams) WithVirtualMachineID ¶ added in v1.2.0
func (o *VcsVirtualMachineSnapshotCreateUsingPUTParams) WithVirtualMachineID(virtualMachineID string) *VcsVirtualMachineSnapshotCreateUsingPUTParams
WithVirtualMachineID adds the virtualMachineID to the vcs virtual machine snapshot create using p u t params
func (*VcsVirtualMachineSnapshotCreateUsingPUTParams) WriteToRequest ¶ added in v1.2.0
func (o *VcsVirtualMachineSnapshotCreateUsingPUTParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *VcsVirtualMachineSnapshotDeleteUsingDELETEBadRequest) Error() string
func (*VcsVirtualMachineSnapshotDeleteUsingDELETEBadRequest) GetPayload ¶ added in v1.2.0
func (o *VcsVirtualMachineSnapshotDeleteUsingDELETEBadRequest) GetPayload() *models.ProxyResponseMessage
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 (o *VcsVirtualMachineSnapshotDeleteUsingDELETEOK) Error() string
func (*VcsVirtualMachineSnapshotDeleteUsingDELETEOK) GetPayload ¶ added in v1.2.0
func (o *VcsVirtualMachineSnapshotDeleteUsingDELETEOK) GetPayload() *models.DeleteSnapshotResponse
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
func (o *VcsVirtualMachineSnapshotDeleteUsingDELETEParams) SetContext(ctx context.Context)
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
func (o *VcsVirtualMachineSnapshotDeleteUsingDELETEParams) SetDefaults()
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
func (o *VcsVirtualMachineSnapshotDeleteUsingDELETEParams) SetHTTPClient(client *http.Client)
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
func (o *VcsVirtualMachineSnapshotDeleteUsingDELETEParams) SetTimeout(timeout time.Duration)
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
func (o *VcsVirtualMachineSnapshotDeleteUsingDELETEParams) WithContext(ctx context.Context) *VcsVirtualMachineSnapshotDeleteUsingDELETEParams
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
func (o *VcsVirtualMachineSnapshotDeleteUsingDELETEParams) WithDefaults() *VcsVirtualMachineSnapshotDeleteUsingDELETEParams
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
func (o *VcsVirtualMachineSnapshotDeleteUsingDELETEParams) WithHTTPClient(client *http.Client) *VcsVirtualMachineSnapshotDeleteUsingDELETEParams
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
func (o *VcsVirtualMachineSnapshotDeleteUsingDELETEParams) WithSnapshotID(snapshotID string) *VcsVirtualMachineSnapshotDeleteUsingDELETEParams
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
func (o *VcsVirtualMachineSnapshotDeleteUsingDELETEParams) WithTimeout(timeout time.Duration) *VcsVirtualMachineSnapshotDeleteUsingDELETEParams
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
func (o *VcsVirtualMachineSnapshotDeleteUsingDELETEParams) WithVirtualMachineID(virtualMachineID string) *VcsVirtualMachineSnapshotDeleteUsingDELETEParams
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
func (o *VcsVirtualMachineSnapshotDeleteUsingDELETEParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *VcsVirtualMachineSnapshotGetUsingGETBadRequest) Error() string
func (*VcsVirtualMachineSnapshotGetUsingGETBadRequest) GetPayload ¶ added in v1.2.0
func (o *VcsVirtualMachineSnapshotGetUsingGETBadRequest) GetPayload() *models.ProxyResponseMessage
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 (o *VcsVirtualMachineSnapshotGetUsingGETOK) Error() string
func (*VcsVirtualMachineSnapshotGetUsingGETOK) GetPayload ¶ added in v1.2.0
func (o *VcsVirtualMachineSnapshotGetUsingGETOK) GetPayload() *models.SnapshotGetResponse
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
func (o *VcsVirtualMachineSnapshotGetUsingGETParams) SetContext(ctx context.Context)
SetContext adds the context to the vcs virtual machine snapshot get using g e t params
func (*VcsVirtualMachineSnapshotGetUsingGETParams) SetDefaults ¶ added in v1.2.4
func (o *VcsVirtualMachineSnapshotGetUsingGETParams) SetDefaults()
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
func (o *VcsVirtualMachineSnapshotGetUsingGETParams) SetTimeout(timeout time.Duration)
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
func (o *VcsVirtualMachineSnapshotGetUsingGETParams) WithContext(ctx context.Context) *VcsVirtualMachineSnapshotGetUsingGETParams
WithContext adds the context to the vcs virtual machine snapshot get using g e t params
func (*VcsVirtualMachineSnapshotGetUsingGETParams) WithDefaults ¶ added in v1.2.4
func (o *VcsVirtualMachineSnapshotGetUsingGETParams) WithDefaults() *VcsVirtualMachineSnapshotGetUsingGETParams
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
func (o *VcsVirtualMachineSnapshotGetUsingGETParams) WithHTTPClient(client *http.Client) *VcsVirtualMachineSnapshotGetUsingGETParams
WithHTTPClient adds the HTTPClient to the vcs virtual machine snapshot get using g e t params
func (*VcsVirtualMachineSnapshotGetUsingGETParams) WithSnapshotID ¶ added in v1.2.0
func (o *VcsVirtualMachineSnapshotGetUsingGETParams) WithSnapshotID(snapshotID string) *VcsVirtualMachineSnapshotGetUsingGETParams
WithSnapshotID adds the snapshotID to the vcs virtual machine snapshot get using g e t params
func (*VcsVirtualMachineSnapshotGetUsingGETParams) WithTimeout ¶ added in v1.2.0
func (o *VcsVirtualMachineSnapshotGetUsingGETParams) WithTimeout(timeout time.Duration) *VcsVirtualMachineSnapshotGetUsingGETParams
WithTimeout adds the timeout to the vcs virtual machine snapshot get using g e t params
func (*VcsVirtualMachineSnapshotGetUsingGETParams) WithVirtualMachineID ¶ added in v1.2.0
func (o *VcsVirtualMachineSnapshotGetUsingGETParams) WithVirtualMachineID(virtualMachineID string) *VcsVirtualMachineSnapshotGetUsingGETParams
WithVirtualMachineID adds the virtualMachineID to the vcs virtual machine snapshot get using g e t params
func (*VcsVirtualMachineSnapshotGetUsingGETParams) WriteToRequest ¶ added in v1.2.0
func (o *VcsVirtualMachineSnapshotGetUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *VcsVirtualMachineSnapshotListUsingGETBadRequest) Error() string
func (*VcsVirtualMachineSnapshotListUsingGETBadRequest) GetPayload ¶ added in v1.2.0
func (o *VcsVirtualMachineSnapshotListUsingGETBadRequest) GetPayload() *models.ProxyResponseMessage
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 (o *VcsVirtualMachineSnapshotListUsingGETOK) Error() string
func (*VcsVirtualMachineSnapshotListUsingGETOK) GetPayload ¶ added in v1.2.0
func (o *VcsVirtualMachineSnapshotListUsingGETOK) GetPayload() *models.SnapshotListResponse
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
func (o *VcsVirtualMachineSnapshotListUsingGETParams) SetContext(ctx context.Context)
SetContext adds the context to the vcs virtual machine snapshot list using g e t params
func (*VcsVirtualMachineSnapshotListUsingGETParams) SetDefaults ¶ added in v1.2.4
func (o *VcsVirtualMachineSnapshotListUsingGETParams) SetDefaults()
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
func (o *VcsVirtualMachineSnapshotListUsingGETParams) SetTimeout(timeout time.Duration)
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
func (o *VcsVirtualMachineSnapshotListUsingGETParams) WithContext(ctx context.Context) *VcsVirtualMachineSnapshotListUsingGETParams
WithContext adds the context to the vcs virtual machine snapshot list using g e t params
func (*VcsVirtualMachineSnapshotListUsingGETParams) WithDefaults ¶ added in v1.2.4
func (o *VcsVirtualMachineSnapshotListUsingGETParams) WithDefaults() *VcsVirtualMachineSnapshotListUsingGETParams
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
func (o *VcsVirtualMachineSnapshotListUsingGETParams) WithDisplayName(displayName *string) *VcsVirtualMachineSnapshotListUsingGETParams
WithDisplayName adds the displayName to the vcs virtual machine snapshot list using g e t params
func (*VcsVirtualMachineSnapshotListUsingGETParams) WithHTTPClient ¶ added in v1.2.0
func (o *VcsVirtualMachineSnapshotListUsingGETParams) WithHTTPClient(client *http.Client) *VcsVirtualMachineSnapshotListUsingGETParams
WithHTTPClient adds the HTTPClient to the vcs virtual machine snapshot list using g e t params
func (*VcsVirtualMachineSnapshotListUsingGETParams) WithTimeout ¶ added in v1.2.0
func (o *VcsVirtualMachineSnapshotListUsingGETParams) WithTimeout(timeout time.Duration) *VcsVirtualMachineSnapshotListUsingGETParams
WithTimeout adds the timeout to the vcs virtual machine snapshot list using g e t params
func (*VcsVirtualMachineSnapshotListUsingGETParams) WithVirtualMachineID ¶ added in v1.2.0
func (o *VcsVirtualMachineSnapshotListUsingGETParams) WithVirtualMachineID(virtualMachineID string) *VcsVirtualMachineSnapshotListUsingGETParams
WithVirtualMachineID adds the virtualMachineID to the vcs virtual machine snapshot list using g e t params
func (*VcsVirtualMachineSnapshotListUsingGETParams) WriteToRequest ¶ added in v1.2.0
func (o *VcsVirtualMachineSnapshotListUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *VcsVirtualMachineSnapshotRevertUsingPOSTBadRequest) Error() string
func (*VcsVirtualMachineSnapshotRevertUsingPOSTBadRequest) GetPayload ¶ added in v1.2.0
func (o *VcsVirtualMachineSnapshotRevertUsingPOSTBadRequest) GetPayload() *models.ProxyResponseMessage
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 (o *VcsVirtualMachineSnapshotRevertUsingPOSTOK) Error() string
func (*VcsVirtualMachineSnapshotRevertUsingPOSTOK) GetPayload ¶ added in v1.2.0
func (o *VcsVirtualMachineSnapshotRevertUsingPOSTOK) GetPayload() *models.RevertSnapshotResponse
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
func (o *VcsVirtualMachineSnapshotRevertUsingPOSTParams) SetContext(ctx context.Context)
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
func (o *VcsVirtualMachineSnapshotRevertUsingPOSTParams) SetDefaults()
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
func (o *VcsVirtualMachineSnapshotRevertUsingPOSTParams) SetHTTPClient(client *http.Client)
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
func (o *VcsVirtualMachineSnapshotRevertUsingPOSTParams) SetTimeout(timeout time.Duration)
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
func (o *VcsVirtualMachineSnapshotRevertUsingPOSTParams) WithContext(ctx context.Context) *VcsVirtualMachineSnapshotRevertUsingPOSTParams
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
func (o *VcsVirtualMachineSnapshotRevertUsingPOSTParams) WithDefaults() *VcsVirtualMachineSnapshotRevertUsingPOSTParams
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
func (o *VcsVirtualMachineSnapshotRevertUsingPOSTParams) WithHTTPClient(client *http.Client) *VcsVirtualMachineSnapshotRevertUsingPOSTParams
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
func (o *VcsVirtualMachineSnapshotRevertUsingPOSTParams) WithSnapshotID(snapshotID string) *VcsVirtualMachineSnapshotRevertUsingPOSTParams
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
func (o *VcsVirtualMachineSnapshotRevertUsingPOSTParams) WithTimeout(timeout time.Duration) *VcsVirtualMachineSnapshotRevertUsingPOSTParams
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
func (o *VcsVirtualMachineSnapshotRevertUsingPOSTParams) WithVirtualMachineID(virtualMachineID string) *VcsVirtualMachineSnapshotRevertUsingPOSTParams
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
func (o *VcsVirtualMachineSnapshotRevertUsingPOSTParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *VcsVirtualMachineUpdateUsingPUTBadRequest) Error() string
func (*VcsVirtualMachineUpdateUsingPUTBadRequest) GetPayload ¶ added in v1.2.0
func (o *VcsVirtualMachineUpdateUsingPUTBadRequest) GetPayload() *models.ProxyResponseMessage
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 (o *VcsVirtualMachineUpdateUsingPUTOK) Error() string
func (*VcsVirtualMachineUpdateUsingPUTOK) GetPayload ¶ added in v1.0.0
func (o *VcsVirtualMachineUpdateUsingPUTOK) GetPayload() *models.VcsVirtualMachineUpdateResponse
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
func (o *VcsVirtualMachineUpdateUsingPUTParams) SetContext(ctx context.Context)
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
func (o *VcsVirtualMachineUpdateUsingPUTParams) WithContext(ctx context.Context) *VcsVirtualMachineUpdateUsingPUTParams
WithContext adds the context to the vcs virtual machine update using p u t params
func (*VcsVirtualMachineUpdateUsingPUTParams) WithDefaults ¶ added in v1.2.4
func (o *VcsVirtualMachineUpdateUsingPUTParams) WithDefaults() *VcsVirtualMachineUpdateUsingPUTParams
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
func (o *VcsVirtualMachineUpdateUsingPUTParams) WithHTTPClient(client *http.Client) *VcsVirtualMachineUpdateUsingPUTParams
WithHTTPClient adds the HTTPClient to the vcs virtual machine update using p u t params
func (*VcsVirtualMachineUpdateUsingPUTParams) WithTimeout ¶ added in v1.0.0
func (o *VcsVirtualMachineUpdateUsingPUTParams) WithTimeout(timeout time.Duration) *VcsVirtualMachineUpdateUsingPUTParams
WithTimeout adds the timeout to the vcs virtual machine update using p u t params
func (*VcsVirtualMachineUpdateUsingPUTParams) WithVirtualMachine ¶ added in v1.0.0
func (o *VcsVirtualMachineUpdateUsingPUTParams) WithVirtualMachine(virtualMachine *models.VcsVirtualMachineInstance) *VcsVirtualMachineUpdateUsingPUTParams
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
func (o *VcsVirtualMachineUpdateUsingPUTParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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.
Source Files ¶
- vcs_virtual_machine_create_using_p_u_t_parameters.go
- vcs_virtual_machine_create_using_p_u_t_responses.go
- vcs_virtual_machine_delete_using_d_e_l_e_t_e_parameters.go
- vcs_virtual_machine_delete_using_d_e_l_e_t_e_responses.go
- vcs_virtual_machine_group_get_using_g_e_t1_parameters.go
- vcs_virtual_machine_group_get_using_g_e_t1_responses.go
- vcs_virtual_machine_list_using_g_e_t1_parameters.go
- vcs_virtual_machine_list_using_g_e_t1_responses.go
- vcs_virtual_machine_snapshot_create_using_p_u_t_parameters.go
- vcs_virtual_machine_snapshot_create_using_p_u_t_responses.go
- vcs_virtual_machine_snapshot_delete_using_d_e_l_e_t_e_parameters.go
- vcs_virtual_machine_snapshot_delete_using_d_e_l_e_t_e_responses.go
- vcs_virtual_machine_snapshot_get_using_g_e_t_parameters.go
- vcs_virtual_machine_snapshot_get_using_g_e_t_responses.go
- vcs_virtual_machine_snapshot_list_using_g_e_t_parameters.go
- vcs_virtual_machine_snapshot_list_using_g_e_t_responses.go
- vcs_virtual_machine_snapshot_revert_using_p_o_s_t_parameters.go
- vcs_virtual_machine_snapshot_revert_using_p_o_s_t_responses.go
- vcs_virtual_machine_update_using_p_u_t_parameters.go
- vcs_virtual_machine_update_using_p_u_t_responses.go
- virtual_machines_client.go