Documentation ¶
Index ¶
- type Client
- func (a *Client) CloneVMVolume(params *CloneVMVolumeParams, opts ...ClientOption) (*CloneVMVolumeOK, error)
- func (a *Client) CreateVMVolume(params *CreateVMVolumeParams, opts ...ClientOption) (*CreateVMVolumeOK, error)
- func (a *Client) DeleteVMVolumeFromVM(params *DeleteVMVolumeFromVMParams, opts ...ClientOption) (*DeleteVMVolumeFromVMOK, error)
- func (a *Client) ExportVMVolume(params *ExportVMVolumeParams, opts ...ClientOption) (*ExportVMVolumeOK, error)
- func (a *Client) GetVMVolumes(params *GetVMVolumesParams, opts ...ClientOption) (*GetVMVolumesOK, error)
- func (a *Client) GetVMVolumesConnection(params *GetVMVolumesConnectionParams, opts ...ClientOption) (*GetVMVolumesConnectionOK, error)
- func (a *Client) ImportVMVolume(params *ImportVMVolumeParams, opts ...ClientOption) (*ImportVMVolumeOK, error)
- func (a *Client) RebuildVMVolume(params *RebuildVMVolumeParams, opts ...ClientOption) (*RebuildVMVolumeOK, error)
- func (a *Client) RollbackVMVolume(params *RollbackVMVolumeParams, opts ...ClientOption) (*RollbackVMVolumeOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateVMVolume(params *UpdateVMVolumeParams, opts ...ClientOption) (*UpdateVMVolumeOK, error)
- type ClientOption
- type ClientService
- type CloneVMVolumeBadRequest
- type CloneVMVolumeInternalServerError
- type CloneVMVolumeNotFound
- type CloneVMVolumeOK
- type CloneVMVolumeParams
- func (o *CloneVMVolumeParams) SetContentLanguage(contentLanguage *string)
- func (o *CloneVMVolumeParams) SetContext(ctx context.Context)
- func (o *CloneVMVolumeParams) SetDefaults()
- func (o *CloneVMVolumeParams) SetHTTPClient(client *http.Client)
- func (o *CloneVMVolumeParams) SetRequestBody(requestBody []*models.CloneVMVolumeParams)
- func (o *CloneVMVolumeParams) SetTimeout(timeout time.Duration)
- func (o *CloneVMVolumeParams) WithContentLanguage(contentLanguage *string) *CloneVMVolumeParams
- func (o *CloneVMVolumeParams) WithContext(ctx context.Context) *CloneVMVolumeParams
- func (o *CloneVMVolumeParams) WithDefaults() *CloneVMVolumeParams
- func (o *CloneVMVolumeParams) WithHTTPClient(client *http.Client) *CloneVMVolumeParams
- func (o *CloneVMVolumeParams) WithRequestBody(requestBody []*models.CloneVMVolumeParams) *CloneVMVolumeParams
- func (o *CloneVMVolumeParams) WithTimeout(timeout time.Duration) *CloneVMVolumeParams
- func (o *CloneVMVolumeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CloneVMVolumeReader
- type CreateVMVolumeBadRequest
- type CreateVMVolumeInternalServerError
- type CreateVMVolumeNotFound
- type CreateVMVolumeOK
- type CreateVMVolumeParams
- func NewCreateVMVolumeParams() *CreateVMVolumeParams
- func NewCreateVMVolumeParamsWithContext(ctx context.Context) *CreateVMVolumeParams
- func NewCreateVMVolumeParamsWithHTTPClient(client *http.Client) *CreateVMVolumeParams
- func NewCreateVMVolumeParamsWithTimeout(timeout time.Duration) *CreateVMVolumeParams
- func (o *CreateVMVolumeParams) SetContentLanguage(contentLanguage *string)
- func (o *CreateVMVolumeParams) SetContext(ctx context.Context)
- func (o *CreateVMVolumeParams) SetDefaults()
- func (o *CreateVMVolumeParams) SetHTTPClient(client *http.Client)
- func (o *CreateVMVolumeParams) SetRequestBody(requestBody []*models.VMVolumeCreationParams)
- func (o *CreateVMVolumeParams) SetTimeout(timeout time.Duration)
- func (o *CreateVMVolumeParams) WithContentLanguage(contentLanguage *string) *CreateVMVolumeParams
- func (o *CreateVMVolumeParams) WithContext(ctx context.Context) *CreateVMVolumeParams
- func (o *CreateVMVolumeParams) WithDefaults() *CreateVMVolumeParams
- func (o *CreateVMVolumeParams) WithHTTPClient(client *http.Client) *CreateVMVolumeParams
- func (o *CreateVMVolumeParams) WithRequestBody(requestBody []*models.VMVolumeCreationParams) *CreateVMVolumeParams
- func (o *CreateVMVolumeParams) WithTimeout(timeout time.Duration) *CreateVMVolumeParams
- func (o *CreateVMVolumeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateVMVolumeReader
- type DeleteVMVolumeFromVMBadRequest
- type DeleteVMVolumeFromVMInternalServerError
- type DeleteVMVolumeFromVMNotFound
- type DeleteVMVolumeFromVMOK
- type DeleteVMVolumeFromVMParams
- func NewDeleteVMVolumeFromVMParams() *DeleteVMVolumeFromVMParams
- func NewDeleteVMVolumeFromVMParamsWithContext(ctx context.Context) *DeleteVMVolumeFromVMParams
- func NewDeleteVMVolumeFromVMParamsWithHTTPClient(client *http.Client) *DeleteVMVolumeFromVMParams
- func NewDeleteVMVolumeFromVMParamsWithTimeout(timeout time.Duration) *DeleteVMVolumeFromVMParams
- func (o *DeleteVMVolumeFromVMParams) SetContentLanguage(contentLanguage *string)
- func (o *DeleteVMVolumeFromVMParams) SetContext(ctx context.Context)
- func (o *DeleteVMVolumeFromVMParams) SetDefaults()
- func (o *DeleteVMVolumeFromVMParams) SetHTTPClient(client *http.Client)
- func (o *DeleteVMVolumeFromVMParams) SetRequestBody(requestBody *models.VMVolumeDeletionParams)
- func (o *DeleteVMVolumeFromVMParams) SetTimeout(timeout time.Duration)
- func (o *DeleteVMVolumeFromVMParams) WithContentLanguage(contentLanguage *string) *DeleteVMVolumeFromVMParams
- func (o *DeleteVMVolumeFromVMParams) WithContext(ctx context.Context) *DeleteVMVolumeFromVMParams
- func (o *DeleteVMVolumeFromVMParams) WithDefaults() *DeleteVMVolumeFromVMParams
- func (o *DeleteVMVolumeFromVMParams) WithHTTPClient(client *http.Client) *DeleteVMVolumeFromVMParams
- func (o *DeleteVMVolumeFromVMParams) WithRequestBody(requestBody *models.VMVolumeDeletionParams) *DeleteVMVolumeFromVMParams
- func (o *DeleteVMVolumeFromVMParams) WithTimeout(timeout time.Duration) *DeleteVMVolumeFromVMParams
- func (o *DeleteVMVolumeFromVMParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteVMVolumeFromVMReader
- type ExportVMVolumeBadRequest
- type ExportVMVolumeInternalServerError
- type ExportVMVolumeNotFound
- type ExportVMVolumeOK
- type ExportVMVolumeParams
- func NewExportVMVolumeParams() *ExportVMVolumeParams
- func NewExportVMVolumeParamsWithContext(ctx context.Context) *ExportVMVolumeParams
- func NewExportVMVolumeParamsWithHTTPClient(client *http.Client) *ExportVMVolumeParams
- func NewExportVMVolumeParamsWithTimeout(timeout time.Duration) *ExportVMVolumeParams
- func (o *ExportVMVolumeParams) SetContentLanguage(contentLanguage *string)
- func (o *ExportVMVolumeParams) SetContext(ctx context.Context)
- func (o *ExportVMVolumeParams) SetDefaults()
- func (o *ExportVMVolumeParams) SetHTTPClient(client *http.Client)
- func (o *ExportVMVolumeParams) SetRequestBody(requestBody *models.ExportVMVolumeParams)
- func (o *ExportVMVolumeParams) SetTimeout(timeout time.Duration)
- func (o *ExportVMVolumeParams) WithContentLanguage(contentLanguage *string) *ExportVMVolumeParams
- func (o *ExportVMVolumeParams) WithContext(ctx context.Context) *ExportVMVolumeParams
- func (o *ExportVMVolumeParams) WithDefaults() *ExportVMVolumeParams
- func (o *ExportVMVolumeParams) WithHTTPClient(client *http.Client) *ExportVMVolumeParams
- func (o *ExportVMVolumeParams) WithRequestBody(requestBody *models.ExportVMVolumeParams) *ExportVMVolumeParams
- func (o *ExportVMVolumeParams) WithTimeout(timeout time.Duration) *ExportVMVolumeParams
- func (o *ExportVMVolumeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ExportVMVolumeReader
- type GetVMVolumesBadRequest
- type GetVMVolumesConnectionBadRequest
- type GetVMVolumesConnectionInternalServerError
- type GetVMVolumesConnectionNotFound
- type GetVMVolumesConnectionOK
- type GetVMVolumesConnectionParams
- func NewGetVMVolumesConnectionParams() *GetVMVolumesConnectionParams
- func NewGetVMVolumesConnectionParamsWithContext(ctx context.Context) *GetVMVolumesConnectionParams
- func NewGetVMVolumesConnectionParamsWithHTTPClient(client *http.Client) *GetVMVolumesConnectionParams
- func NewGetVMVolumesConnectionParamsWithTimeout(timeout time.Duration) *GetVMVolumesConnectionParams
- func (o *GetVMVolumesConnectionParams) SetContentLanguage(contentLanguage *string)
- func (o *GetVMVolumesConnectionParams) SetContext(ctx context.Context)
- func (o *GetVMVolumesConnectionParams) SetDefaults()
- func (o *GetVMVolumesConnectionParams) SetHTTPClient(client *http.Client)
- func (o *GetVMVolumesConnectionParams) SetRequestBody(requestBody *models.GetVMVolumesConnectionRequestBody)
- func (o *GetVMVolumesConnectionParams) SetTimeout(timeout time.Duration)
- func (o *GetVMVolumesConnectionParams) WithContentLanguage(contentLanguage *string) *GetVMVolumesConnectionParams
- func (o *GetVMVolumesConnectionParams) WithContext(ctx context.Context) *GetVMVolumesConnectionParams
- func (o *GetVMVolumesConnectionParams) WithDefaults() *GetVMVolumesConnectionParams
- func (o *GetVMVolumesConnectionParams) WithHTTPClient(client *http.Client) *GetVMVolumesConnectionParams
- func (o *GetVMVolumesConnectionParams) WithRequestBody(requestBody *models.GetVMVolumesConnectionRequestBody) *GetVMVolumesConnectionParams
- func (o *GetVMVolumesConnectionParams) WithTimeout(timeout time.Duration) *GetVMVolumesConnectionParams
- func (o *GetVMVolumesConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetVMVolumesConnectionReader
- type GetVMVolumesInternalServerError
- type GetVMVolumesNotFound
- type GetVMVolumesOK
- type GetVMVolumesParams
- func (o *GetVMVolumesParams) SetContentLanguage(contentLanguage *string)
- func (o *GetVMVolumesParams) SetContext(ctx context.Context)
- func (o *GetVMVolumesParams) SetDefaults()
- func (o *GetVMVolumesParams) SetHTTPClient(client *http.Client)
- func (o *GetVMVolumesParams) SetRequestBody(requestBody *models.GetVMVolumesRequestBody)
- func (o *GetVMVolumesParams) SetTimeout(timeout time.Duration)
- func (o *GetVMVolumesParams) WithContentLanguage(contentLanguage *string) *GetVMVolumesParams
- func (o *GetVMVolumesParams) WithContext(ctx context.Context) *GetVMVolumesParams
- func (o *GetVMVolumesParams) WithDefaults() *GetVMVolumesParams
- func (o *GetVMVolumesParams) WithHTTPClient(client *http.Client) *GetVMVolumesParams
- func (o *GetVMVolumesParams) WithRequestBody(requestBody *models.GetVMVolumesRequestBody) *GetVMVolumesParams
- func (o *GetVMVolumesParams) WithTimeout(timeout time.Duration) *GetVMVolumesParams
- func (o *GetVMVolumesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetVMVolumesReader
- type ImportVMVolumeBadRequest
- type ImportVMVolumeInternalServerError
- type ImportVMVolumeNotFound
- type ImportVMVolumeOK
- type ImportVMVolumeParams
- func NewImportVMVolumeParams() *ImportVMVolumeParams
- func NewImportVMVolumeParamsWithContext(ctx context.Context) *ImportVMVolumeParams
- func NewImportVMVolumeParamsWithHTTPClient(client *http.Client) *ImportVMVolumeParams
- func NewImportVMVolumeParamsWithTimeout(timeout time.Duration) *ImportVMVolumeParams
- func (o *ImportVMVolumeParams) SetContentLanguage(contentLanguage *string)
- func (o *ImportVMVolumeParams) SetContext(ctx context.Context)
- func (o *ImportVMVolumeParams) SetDefaults()
- func (o *ImportVMVolumeParams) SetHTTPClient(client *http.Client)
- func (o *ImportVMVolumeParams) SetRequestBody(requestBody []*models.ImportVMVolumeParams)
- func (o *ImportVMVolumeParams) SetTimeout(timeout time.Duration)
- func (o *ImportVMVolumeParams) WithContentLanguage(contentLanguage *string) *ImportVMVolumeParams
- func (o *ImportVMVolumeParams) WithContext(ctx context.Context) *ImportVMVolumeParams
- func (o *ImportVMVolumeParams) WithDefaults() *ImportVMVolumeParams
- func (o *ImportVMVolumeParams) WithHTTPClient(client *http.Client) *ImportVMVolumeParams
- func (o *ImportVMVolumeParams) WithRequestBody(requestBody []*models.ImportVMVolumeParams) *ImportVMVolumeParams
- func (o *ImportVMVolumeParams) WithTimeout(timeout time.Duration) *ImportVMVolumeParams
- func (o *ImportVMVolumeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ImportVMVolumeReader
- type RebuildVMVolumeBadRequest
- type RebuildVMVolumeInternalServerError
- type RebuildVMVolumeNotFound
- type RebuildVMVolumeNotModified
- type RebuildVMVolumeOK
- type RebuildVMVolumeParams
- func NewRebuildVMVolumeParams() *RebuildVMVolumeParams
- func NewRebuildVMVolumeParamsWithContext(ctx context.Context) *RebuildVMVolumeParams
- func NewRebuildVMVolumeParamsWithHTTPClient(client *http.Client) *RebuildVMVolumeParams
- func NewRebuildVMVolumeParamsWithTimeout(timeout time.Duration) *RebuildVMVolumeParams
- func (o *RebuildVMVolumeParams) SetContentLanguage(contentLanguage *string)
- func (o *RebuildVMVolumeParams) SetContext(ctx context.Context)
- func (o *RebuildVMVolumeParams) SetDefaults()
- func (o *RebuildVMVolumeParams) SetHTTPClient(client *http.Client)
- func (o *RebuildVMVolumeParams) SetRequestBody(requestBody []*models.VMVolumeRebuildParams)
- func (o *RebuildVMVolumeParams) SetTimeout(timeout time.Duration)
- func (o *RebuildVMVolumeParams) WithContentLanguage(contentLanguage *string) *RebuildVMVolumeParams
- func (o *RebuildVMVolumeParams) WithContext(ctx context.Context) *RebuildVMVolumeParams
- func (o *RebuildVMVolumeParams) WithDefaults() *RebuildVMVolumeParams
- func (o *RebuildVMVolumeParams) WithHTTPClient(client *http.Client) *RebuildVMVolumeParams
- func (o *RebuildVMVolumeParams) WithRequestBody(requestBody []*models.VMVolumeRebuildParams) *RebuildVMVolumeParams
- func (o *RebuildVMVolumeParams) WithTimeout(timeout time.Duration) *RebuildVMVolumeParams
- func (o *RebuildVMVolumeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RebuildVMVolumeReader
- type RollbackVMVolumeBadRequest
- type RollbackVMVolumeInternalServerError
- type RollbackVMVolumeNotFound
- type RollbackVMVolumeNotModified
- type RollbackVMVolumeOK
- type RollbackVMVolumeParams
- func NewRollbackVMVolumeParams() *RollbackVMVolumeParams
- func NewRollbackVMVolumeParamsWithContext(ctx context.Context) *RollbackVMVolumeParams
- func NewRollbackVMVolumeParamsWithHTTPClient(client *http.Client) *RollbackVMVolumeParams
- func NewRollbackVMVolumeParamsWithTimeout(timeout time.Duration) *RollbackVMVolumeParams
- func (o *RollbackVMVolumeParams) SetContentLanguage(contentLanguage *string)
- func (o *RollbackVMVolumeParams) SetContext(ctx context.Context)
- func (o *RollbackVMVolumeParams) SetDefaults()
- func (o *RollbackVMVolumeParams) SetHTTPClient(client *http.Client)
- func (o *RollbackVMVolumeParams) SetRequestBody(requestBody []*models.VMVolumeRollbackParams)
- func (o *RollbackVMVolumeParams) SetTimeout(timeout time.Duration)
- func (o *RollbackVMVolumeParams) WithContentLanguage(contentLanguage *string) *RollbackVMVolumeParams
- func (o *RollbackVMVolumeParams) WithContext(ctx context.Context) *RollbackVMVolumeParams
- func (o *RollbackVMVolumeParams) WithDefaults() *RollbackVMVolumeParams
- func (o *RollbackVMVolumeParams) WithHTTPClient(client *http.Client) *RollbackVMVolumeParams
- func (o *RollbackVMVolumeParams) WithRequestBody(requestBody []*models.VMVolumeRollbackParams) *RollbackVMVolumeParams
- func (o *RollbackVMVolumeParams) WithTimeout(timeout time.Duration) *RollbackVMVolumeParams
- func (o *RollbackVMVolumeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RollbackVMVolumeReader
- type UpdateVMVolumeBadRequest
- type UpdateVMVolumeInternalServerError
- type UpdateVMVolumeNotFound
- type UpdateVMVolumeNotModified
- type UpdateVMVolumeOK
- type UpdateVMVolumeParams
- func NewUpdateVMVolumeParams() *UpdateVMVolumeParams
- func NewUpdateVMVolumeParamsWithContext(ctx context.Context) *UpdateVMVolumeParams
- func NewUpdateVMVolumeParamsWithHTTPClient(client *http.Client) *UpdateVMVolumeParams
- func NewUpdateVMVolumeParamsWithTimeout(timeout time.Duration) *UpdateVMVolumeParams
- func (o *UpdateVMVolumeParams) SetContentLanguage(contentLanguage *string)
- func (o *UpdateVMVolumeParams) SetContext(ctx context.Context)
- func (o *UpdateVMVolumeParams) SetDefaults()
- func (o *UpdateVMVolumeParams) SetHTTPClient(client *http.Client)
- func (o *UpdateVMVolumeParams) SetRequestBody(requestBody *models.UpdateVMVolumeParams)
- func (o *UpdateVMVolumeParams) SetTimeout(timeout time.Duration)
- func (o *UpdateVMVolumeParams) WithContentLanguage(contentLanguage *string) *UpdateVMVolumeParams
- func (o *UpdateVMVolumeParams) WithContext(ctx context.Context) *UpdateVMVolumeParams
- func (o *UpdateVMVolumeParams) WithDefaults() *UpdateVMVolumeParams
- func (o *UpdateVMVolumeParams) WithHTTPClient(client *http.Client) *UpdateVMVolumeParams
- func (o *UpdateVMVolumeParams) WithRequestBody(requestBody *models.UpdateVMVolumeParams) *UpdateVMVolumeParams
- func (o *UpdateVMVolumeParams) WithTimeout(timeout time.Duration) *UpdateVMVolumeParams
- func (o *UpdateVMVolumeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateVMVolumeReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for vm volume API
func (*Client) CloneVMVolume ¶ added in v2.3.0
func (a *Client) CloneVMVolume(params *CloneVMVolumeParams, opts ...ClientOption) (*CloneVMVolumeOK, error)
CloneVMVolume clone Vm volume API
func (*Client) CreateVMVolume ¶
func (a *Client) CreateVMVolume(params *CreateVMVolumeParams, opts ...ClientOption) (*CreateVMVolumeOK, error)
CreateVMVolume create Vm volume API
func (*Client) DeleteVMVolumeFromVM ¶
func (a *Client) DeleteVMVolumeFromVM(params *DeleteVMVolumeFromVMParams, opts ...ClientOption) (*DeleteVMVolumeFromVMOK, error)
DeleteVMVolumeFromVM delete Vm volume from Vm API
func (*Client) ExportVMVolume ¶ added in v2.11.0
func (a *Client) ExportVMVolume(params *ExportVMVolumeParams, opts ...ClientOption) (*ExportVMVolumeOK, error)
ExportVMVolume export Vm volume API
func (*Client) GetVMVolumes ¶
func (a *Client) GetVMVolumes(params *GetVMVolumesParams, opts ...ClientOption) (*GetVMVolumesOK, error)
GetVMVolumes get Vm volumes API
func (*Client) GetVMVolumesConnection ¶
func (a *Client) GetVMVolumesConnection(params *GetVMVolumesConnectionParams, opts ...ClientOption) (*GetVMVolumesConnectionOK, error)
GetVMVolumesConnection get Vm volumes connection API
func (*Client) ImportVMVolume ¶ added in v2.11.0
func (a *Client) ImportVMVolume(params *ImportVMVolumeParams, opts ...ClientOption) (*ImportVMVolumeOK, error)
ImportVMVolume import Vm volume API
func (*Client) RebuildVMVolume ¶ added in v2.3.0
func (a *Client) RebuildVMVolume(params *RebuildVMVolumeParams, opts ...ClientOption) (*RebuildVMVolumeOK, error)
RebuildVMVolume rebuild Vm volume API
func (*Client) RollbackVMVolume ¶ added in v2.3.0
func (a *Client) RollbackVMVolume(params *RollbackVMVolumeParams, opts ...ClientOption) (*RollbackVMVolumeOK, error)
RollbackVMVolume rollback Vm volume API
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateVMVolume ¶ added in v2.3.0
func (a *Client) UpdateVMVolume(params *UpdateVMVolumeParams, opts ...ClientOption) (*UpdateVMVolumeOK, error)
UpdateVMVolume update Vm volume API
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { CloneVMVolume(params *CloneVMVolumeParams, opts ...ClientOption) (*CloneVMVolumeOK, error) CreateVMVolume(params *CreateVMVolumeParams, opts ...ClientOption) (*CreateVMVolumeOK, error) DeleteVMVolumeFromVM(params *DeleteVMVolumeFromVMParams, opts ...ClientOption) (*DeleteVMVolumeFromVMOK, error) ExportVMVolume(params *ExportVMVolumeParams, opts ...ClientOption) (*ExportVMVolumeOK, error) GetVMVolumes(params *GetVMVolumesParams, opts ...ClientOption) (*GetVMVolumesOK, error) GetVMVolumesConnection(params *GetVMVolumesConnectionParams, opts ...ClientOption) (*GetVMVolumesConnectionOK, error) ImportVMVolume(params *ImportVMVolumeParams, opts ...ClientOption) (*ImportVMVolumeOK, error) RebuildVMVolume(params *RebuildVMVolumeParams, opts ...ClientOption) (*RebuildVMVolumeOK, error) RollbackVMVolume(params *RollbackVMVolumeParams, opts ...ClientOption) (*RollbackVMVolumeOK, error) UpdateVMVolume(params *UpdateVMVolumeParams, opts ...ClientOption) (*UpdateVMVolumeOK, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new vm volume API client.
type CloneVMVolumeBadRequest ¶ added in v2.3.0
CloneVMVolumeBadRequest describes a response with status code 400, with default header values.
Bad request
func NewCloneVMVolumeBadRequest ¶ added in v2.3.0
func NewCloneVMVolumeBadRequest() *CloneVMVolumeBadRequest
NewCloneVMVolumeBadRequest creates a CloneVMVolumeBadRequest with default headers values
func (*CloneVMVolumeBadRequest) Error ¶ added in v2.3.0
func (o *CloneVMVolumeBadRequest) Error() string
func (*CloneVMVolumeBadRequest) GetPayload ¶ added in v2.3.0
func (o *CloneVMVolumeBadRequest) GetPayload() *models.ErrorBody
type CloneVMVolumeInternalServerError ¶ added in v2.3.0
CloneVMVolumeInternalServerError describes a response with status code 500, with default header values.
Server error
func NewCloneVMVolumeInternalServerError ¶ added in v2.3.0
func NewCloneVMVolumeInternalServerError() *CloneVMVolumeInternalServerError
NewCloneVMVolumeInternalServerError creates a CloneVMVolumeInternalServerError with default headers values
func (*CloneVMVolumeInternalServerError) Error ¶ added in v2.3.0
func (o *CloneVMVolumeInternalServerError) Error() string
func (*CloneVMVolumeInternalServerError) GetPayload ¶ added in v2.3.0
func (o *CloneVMVolumeInternalServerError) GetPayload() *models.ErrorBody
type CloneVMVolumeNotFound ¶ added in v2.3.0
CloneVMVolumeNotFound describes a response with status code 404, with default header values.
Not found
func NewCloneVMVolumeNotFound ¶ added in v2.3.0
func NewCloneVMVolumeNotFound() *CloneVMVolumeNotFound
NewCloneVMVolumeNotFound creates a CloneVMVolumeNotFound with default headers values
func (*CloneVMVolumeNotFound) Error ¶ added in v2.3.0
func (o *CloneVMVolumeNotFound) Error() string
func (*CloneVMVolumeNotFound) GetPayload ¶ added in v2.3.0
func (o *CloneVMVolumeNotFound) GetPayload() *models.ErrorBody
type CloneVMVolumeOK ¶ added in v2.3.0
type CloneVMVolumeOK struct { XTowerRequestID string Payload []*models.WithTaskVMVolume }
CloneVMVolumeOK describes a response with status code 200, with default header values.
CloneVMVolumeOK clone Vm volume o k
func NewCloneVMVolumeOK ¶ added in v2.3.0
func NewCloneVMVolumeOK() *CloneVMVolumeOK
NewCloneVMVolumeOK creates a CloneVMVolumeOK with default headers values
func (*CloneVMVolumeOK) Error ¶ added in v2.3.0
func (o *CloneVMVolumeOK) Error() string
func (*CloneVMVolumeOK) GetPayload ¶ added in v2.3.0
func (o *CloneVMVolumeOK) GetPayload() []*models.WithTaskVMVolume
type CloneVMVolumeParams ¶ added in v2.3.0
type CloneVMVolumeParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody []*models.CloneVMVolumeParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CloneVMVolumeParams contains all the parameters to send to the API endpoint
for the clone Vm volume operation. Typically these are written to a http.Request.
func NewCloneVMVolumeParams ¶ added in v2.3.0
func NewCloneVMVolumeParams() *CloneVMVolumeParams
NewCloneVMVolumeParams creates a new CloneVMVolumeParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewCloneVMVolumeParamsWithContext ¶ added in v2.3.0
func NewCloneVMVolumeParamsWithContext(ctx context.Context) *CloneVMVolumeParams
NewCloneVMVolumeParamsWithContext creates a new CloneVMVolumeParams object with the ability to set a context for a request.
func NewCloneVMVolumeParamsWithHTTPClient ¶ added in v2.3.0
func NewCloneVMVolumeParamsWithHTTPClient(client *http.Client) *CloneVMVolumeParams
NewCloneVMVolumeParamsWithHTTPClient creates a new CloneVMVolumeParams object with the ability to set a custom HTTPClient for a request.
func NewCloneVMVolumeParamsWithTimeout ¶ added in v2.3.0
func NewCloneVMVolumeParamsWithTimeout(timeout time.Duration) *CloneVMVolumeParams
NewCloneVMVolumeParamsWithTimeout creates a new CloneVMVolumeParams object with the ability to set a timeout on a request.
func (*CloneVMVolumeParams) SetContentLanguage ¶ added in v2.3.0
func (o *CloneVMVolumeParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the clone Vm volume params
func (*CloneVMVolumeParams) SetContext ¶ added in v2.3.0
func (o *CloneVMVolumeParams) SetContext(ctx context.Context)
SetContext adds the context to the clone Vm volume params
func (*CloneVMVolumeParams) SetDefaults ¶ added in v2.3.0
func (o *CloneVMVolumeParams) SetDefaults()
SetDefaults hydrates default values in the clone Vm volume params (not the query body).
All values with no default are reset to their zero value.
func (*CloneVMVolumeParams) SetHTTPClient ¶ added in v2.3.0
func (o *CloneVMVolumeParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the clone Vm volume params
func (*CloneVMVolumeParams) SetRequestBody ¶ added in v2.3.0
func (o *CloneVMVolumeParams) SetRequestBody(requestBody []*models.CloneVMVolumeParams)
SetRequestBody adds the requestBody to the clone Vm volume params
func (*CloneVMVolumeParams) SetTimeout ¶ added in v2.3.0
func (o *CloneVMVolumeParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the clone Vm volume params
func (*CloneVMVolumeParams) WithContentLanguage ¶ added in v2.3.0
func (o *CloneVMVolumeParams) WithContentLanguage(contentLanguage *string) *CloneVMVolumeParams
WithContentLanguage adds the contentLanguage to the clone Vm volume params
func (*CloneVMVolumeParams) WithContext ¶ added in v2.3.0
func (o *CloneVMVolumeParams) WithContext(ctx context.Context) *CloneVMVolumeParams
WithContext adds the context to the clone Vm volume params
func (*CloneVMVolumeParams) WithDefaults ¶ added in v2.3.0
func (o *CloneVMVolumeParams) WithDefaults() *CloneVMVolumeParams
WithDefaults hydrates default values in the clone Vm volume params (not the query body).
All values with no default are reset to their zero value.
func (*CloneVMVolumeParams) WithHTTPClient ¶ added in v2.3.0
func (o *CloneVMVolumeParams) WithHTTPClient(client *http.Client) *CloneVMVolumeParams
WithHTTPClient adds the HTTPClient to the clone Vm volume params
func (*CloneVMVolumeParams) WithRequestBody ¶ added in v2.3.0
func (o *CloneVMVolumeParams) WithRequestBody(requestBody []*models.CloneVMVolumeParams) *CloneVMVolumeParams
WithRequestBody adds the requestBody to the clone Vm volume params
func (*CloneVMVolumeParams) WithTimeout ¶ added in v2.3.0
func (o *CloneVMVolumeParams) WithTimeout(timeout time.Duration) *CloneVMVolumeParams
WithTimeout adds the timeout to the clone Vm volume params
func (*CloneVMVolumeParams) WriteToRequest ¶ added in v2.3.0
func (o *CloneVMVolumeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CloneVMVolumeReader ¶ added in v2.3.0
type CloneVMVolumeReader struct {
// contains filtered or unexported fields
}
CloneVMVolumeReader is a Reader for the CloneVMVolume structure.
func (*CloneVMVolumeReader) ReadResponse ¶ added in v2.3.0
func (o *CloneVMVolumeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateVMVolumeBadRequest ¶
CreateVMVolumeBadRequest describes a response with status code 400, with default header values.
Bad request
func NewCreateVMVolumeBadRequest ¶
func NewCreateVMVolumeBadRequest() *CreateVMVolumeBadRequest
NewCreateVMVolumeBadRequest creates a CreateVMVolumeBadRequest with default headers values
func (*CreateVMVolumeBadRequest) Error ¶
func (o *CreateVMVolumeBadRequest) Error() string
func (*CreateVMVolumeBadRequest) GetPayload ¶
func (o *CreateVMVolumeBadRequest) GetPayload() *models.ErrorBody
type CreateVMVolumeInternalServerError ¶
CreateVMVolumeInternalServerError describes a response with status code 500, with default header values.
Server error
func NewCreateVMVolumeInternalServerError ¶
func NewCreateVMVolumeInternalServerError() *CreateVMVolumeInternalServerError
NewCreateVMVolumeInternalServerError creates a CreateVMVolumeInternalServerError with default headers values
func (*CreateVMVolumeInternalServerError) Error ¶
func (o *CreateVMVolumeInternalServerError) Error() string
func (*CreateVMVolumeInternalServerError) GetPayload ¶
func (o *CreateVMVolumeInternalServerError) GetPayload() *models.ErrorBody
type CreateVMVolumeNotFound ¶
CreateVMVolumeNotFound describes a response with status code 404, with default header values.
Not found
func NewCreateVMVolumeNotFound ¶
func NewCreateVMVolumeNotFound() *CreateVMVolumeNotFound
NewCreateVMVolumeNotFound creates a CreateVMVolumeNotFound with default headers values
func (*CreateVMVolumeNotFound) Error ¶
func (o *CreateVMVolumeNotFound) Error() string
func (*CreateVMVolumeNotFound) GetPayload ¶
func (o *CreateVMVolumeNotFound) GetPayload() *models.ErrorBody
type CreateVMVolumeOK ¶
type CreateVMVolumeOK struct { XTowerRequestID string Payload []*models.WithTaskVMVolume }
CreateVMVolumeOK describes a response with status code 200, with default header values.
CreateVMVolumeOK create Vm volume o k
func NewCreateVMVolumeOK ¶
func NewCreateVMVolumeOK() *CreateVMVolumeOK
NewCreateVMVolumeOK creates a CreateVMVolumeOK with default headers values
func (*CreateVMVolumeOK) Error ¶
func (o *CreateVMVolumeOK) Error() string
func (*CreateVMVolumeOK) GetPayload ¶
func (o *CreateVMVolumeOK) GetPayload() []*models.WithTaskVMVolume
type CreateVMVolumeParams ¶
type CreateVMVolumeParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody []*models.VMVolumeCreationParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateVMVolumeParams contains all the parameters to send to the API endpoint
for the create Vm volume operation. Typically these are written to a http.Request.
func NewCreateVMVolumeParams ¶
func NewCreateVMVolumeParams() *CreateVMVolumeParams
NewCreateVMVolumeParams creates a new CreateVMVolumeParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewCreateVMVolumeParamsWithContext ¶
func NewCreateVMVolumeParamsWithContext(ctx context.Context) *CreateVMVolumeParams
NewCreateVMVolumeParamsWithContext creates a new CreateVMVolumeParams object with the ability to set a context for a request.
func NewCreateVMVolumeParamsWithHTTPClient ¶
func NewCreateVMVolumeParamsWithHTTPClient(client *http.Client) *CreateVMVolumeParams
NewCreateVMVolumeParamsWithHTTPClient creates a new CreateVMVolumeParams object with the ability to set a custom HTTPClient for a request.
func NewCreateVMVolumeParamsWithTimeout ¶
func NewCreateVMVolumeParamsWithTimeout(timeout time.Duration) *CreateVMVolumeParams
NewCreateVMVolumeParamsWithTimeout creates a new CreateVMVolumeParams object with the ability to set a timeout on a request.
func (*CreateVMVolumeParams) SetContentLanguage ¶
func (o *CreateVMVolumeParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the create Vm volume params
func (*CreateVMVolumeParams) SetContext ¶
func (o *CreateVMVolumeParams) SetContext(ctx context.Context)
SetContext adds the context to the create Vm volume params
func (*CreateVMVolumeParams) SetDefaults ¶
func (o *CreateVMVolumeParams) SetDefaults()
SetDefaults hydrates default values in the create Vm volume params (not the query body).
All values with no default are reset to their zero value.
func (*CreateVMVolumeParams) SetHTTPClient ¶
func (o *CreateVMVolumeParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create Vm volume params
func (*CreateVMVolumeParams) SetRequestBody ¶
func (o *CreateVMVolumeParams) SetRequestBody(requestBody []*models.VMVolumeCreationParams)
SetRequestBody adds the requestBody to the create Vm volume params
func (*CreateVMVolumeParams) SetTimeout ¶
func (o *CreateVMVolumeParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create Vm volume params
func (*CreateVMVolumeParams) WithContentLanguage ¶
func (o *CreateVMVolumeParams) WithContentLanguage(contentLanguage *string) *CreateVMVolumeParams
WithContentLanguage adds the contentLanguage to the create Vm volume params
func (*CreateVMVolumeParams) WithContext ¶
func (o *CreateVMVolumeParams) WithContext(ctx context.Context) *CreateVMVolumeParams
WithContext adds the context to the create Vm volume params
func (*CreateVMVolumeParams) WithDefaults ¶
func (o *CreateVMVolumeParams) WithDefaults() *CreateVMVolumeParams
WithDefaults hydrates default values in the create Vm volume params (not the query body).
All values with no default are reset to their zero value.
func (*CreateVMVolumeParams) WithHTTPClient ¶
func (o *CreateVMVolumeParams) WithHTTPClient(client *http.Client) *CreateVMVolumeParams
WithHTTPClient adds the HTTPClient to the create Vm volume params
func (*CreateVMVolumeParams) WithRequestBody ¶
func (o *CreateVMVolumeParams) WithRequestBody(requestBody []*models.VMVolumeCreationParams) *CreateVMVolumeParams
WithRequestBody adds the requestBody to the create Vm volume params
func (*CreateVMVolumeParams) WithTimeout ¶
func (o *CreateVMVolumeParams) WithTimeout(timeout time.Duration) *CreateVMVolumeParams
WithTimeout adds the timeout to the create Vm volume params
func (*CreateVMVolumeParams) WriteToRequest ¶
func (o *CreateVMVolumeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateVMVolumeReader ¶
type CreateVMVolumeReader struct {
// contains filtered or unexported fields
}
CreateVMVolumeReader is a Reader for the CreateVMVolume structure.
func (*CreateVMVolumeReader) ReadResponse ¶
func (o *CreateVMVolumeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteVMVolumeFromVMBadRequest ¶
DeleteVMVolumeFromVMBadRequest describes a response with status code 400, with default header values.
Bad request
func NewDeleteVMVolumeFromVMBadRequest ¶
func NewDeleteVMVolumeFromVMBadRequest() *DeleteVMVolumeFromVMBadRequest
NewDeleteVMVolumeFromVMBadRequest creates a DeleteVMVolumeFromVMBadRequest with default headers values
func (*DeleteVMVolumeFromVMBadRequest) Error ¶
func (o *DeleteVMVolumeFromVMBadRequest) Error() string
func (*DeleteVMVolumeFromVMBadRequest) GetPayload ¶
func (o *DeleteVMVolumeFromVMBadRequest) GetPayload() *models.ErrorBody
type DeleteVMVolumeFromVMInternalServerError ¶
type DeleteVMVolumeFromVMInternalServerError struct { XTowerRequestID string Payload *models.ErrorBody }
DeleteVMVolumeFromVMInternalServerError describes a response with status code 500, with default header values.
Server error
func NewDeleteVMVolumeFromVMInternalServerError ¶
func NewDeleteVMVolumeFromVMInternalServerError() *DeleteVMVolumeFromVMInternalServerError
NewDeleteVMVolumeFromVMInternalServerError creates a DeleteVMVolumeFromVMInternalServerError with default headers values
func (*DeleteVMVolumeFromVMInternalServerError) Error ¶
func (o *DeleteVMVolumeFromVMInternalServerError) Error() string
func (*DeleteVMVolumeFromVMInternalServerError) GetPayload ¶
func (o *DeleteVMVolumeFromVMInternalServerError) GetPayload() *models.ErrorBody
type DeleteVMVolumeFromVMNotFound ¶
DeleteVMVolumeFromVMNotFound describes a response with status code 404, with default header values.
Not found
func NewDeleteVMVolumeFromVMNotFound ¶
func NewDeleteVMVolumeFromVMNotFound() *DeleteVMVolumeFromVMNotFound
NewDeleteVMVolumeFromVMNotFound creates a DeleteVMVolumeFromVMNotFound with default headers values
func (*DeleteVMVolumeFromVMNotFound) Error ¶
func (o *DeleteVMVolumeFromVMNotFound) Error() string
func (*DeleteVMVolumeFromVMNotFound) GetPayload ¶
func (o *DeleteVMVolumeFromVMNotFound) GetPayload() *models.ErrorBody
type DeleteVMVolumeFromVMOK ¶
type DeleteVMVolumeFromVMOK struct { XTowerRequestID string Payload []*models.WithTaskDeleteVMVolume }
DeleteVMVolumeFromVMOK describes a response with status code 200, with default header values.
DeleteVMVolumeFromVMOK delete Vm volume from Vm o k
func NewDeleteVMVolumeFromVMOK ¶
func NewDeleteVMVolumeFromVMOK() *DeleteVMVolumeFromVMOK
NewDeleteVMVolumeFromVMOK creates a DeleteVMVolumeFromVMOK with default headers values
func (*DeleteVMVolumeFromVMOK) Error ¶
func (o *DeleteVMVolumeFromVMOK) Error() string
func (*DeleteVMVolumeFromVMOK) GetPayload ¶
func (o *DeleteVMVolumeFromVMOK) GetPayload() []*models.WithTaskDeleteVMVolume
type DeleteVMVolumeFromVMParams ¶
type DeleteVMVolumeFromVMParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.VMVolumeDeletionParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteVMVolumeFromVMParams contains all the parameters to send to the API endpoint
for the delete Vm volume from Vm operation. Typically these are written to a http.Request.
func NewDeleteVMVolumeFromVMParams ¶
func NewDeleteVMVolumeFromVMParams() *DeleteVMVolumeFromVMParams
NewDeleteVMVolumeFromVMParams creates a new DeleteVMVolumeFromVMParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewDeleteVMVolumeFromVMParamsWithContext ¶
func NewDeleteVMVolumeFromVMParamsWithContext(ctx context.Context) *DeleteVMVolumeFromVMParams
NewDeleteVMVolumeFromVMParamsWithContext creates a new DeleteVMVolumeFromVMParams object with the ability to set a context for a request.
func NewDeleteVMVolumeFromVMParamsWithHTTPClient ¶
func NewDeleteVMVolumeFromVMParamsWithHTTPClient(client *http.Client) *DeleteVMVolumeFromVMParams
NewDeleteVMVolumeFromVMParamsWithHTTPClient creates a new DeleteVMVolumeFromVMParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteVMVolumeFromVMParamsWithTimeout ¶
func NewDeleteVMVolumeFromVMParamsWithTimeout(timeout time.Duration) *DeleteVMVolumeFromVMParams
NewDeleteVMVolumeFromVMParamsWithTimeout creates a new DeleteVMVolumeFromVMParams object with the ability to set a timeout on a request.
func (*DeleteVMVolumeFromVMParams) SetContentLanguage ¶
func (o *DeleteVMVolumeFromVMParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the delete Vm volume from Vm params
func (*DeleteVMVolumeFromVMParams) SetContext ¶
func (o *DeleteVMVolumeFromVMParams) SetContext(ctx context.Context)
SetContext adds the context to the delete Vm volume from Vm params
func (*DeleteVMVolumeFromVMParams) SetDefaults ¶
func (o *DeleteVMVolumeFromVMParams) SetDefaults()
SetDefaults hydrates default values in the delete Vm volume from Vm params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteVMVolumeFromVMParams) SetHTTPClient ¶
func (o *DeleteVMVolumeFromVMParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete Vm volume from Vm params
func (*DeleteVMVolumeFromVMParams) SetRequestBody ¶
func (o *DeleteVMVolumeFromVMParams) SetRequestBody(requestBody *models.VMVolumeDeletionParams)
SetRequestBody adds the requestBody to the delete Vm volume from Vm params
func (*DeleteVMVolumeFromVMParams) SetTimeout ¶
func (o *DeleteVMVolumeFromVMParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete Vm volume from Vm params
func (*DeleteVMVolumeFromVMParams) WithContentLanguage ¶
func (o *DeleteVMVolumeFromVMParams) WithContentLanguage(contentLanguage *string) *DeleteVMVolumeFromVMParams
WithContentLanguage adds the contentLanguage to the delete Vm volume from Vm params
func (*DeleteVMVolumeFromVMParams) WithContext ¶
func (o *DeleteVMVolumeFromVMParams) WithContext(ctx context.Context) *DeleteVMVolumeFromVMParams
WithContext adds the context to the delete Vm volume from Vm params
func (*DeleteVMVolumeFromVMParams) WithDefaults ¶
func (o *DeleteVMVolumeFromVMParams) WithDefaults() *DeleteVMVolumeFromVMParams
WithDefaults hydrates default values in the delete Vm volume from Vm params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteVMVolumeFromVMParams) WithHTTPClient ¶
func (o *DeleteVMVolumeFromVMParams) WithHTTPClient(client *http.Client) *DeleteVMVolumeFromVMParams
WithHTTPClient adds the HTTPClient to the delete Vm volume from Vm params
func (*DeleteVMVolumeFromVMParams) WithRequestBody ¶
func (o *DeleteVMVolumeFromVMParams) WithRequestBody(requestBody *models.VMVolumeDeletionParams) *DeleteVMVolumeFromVMParams
WithRequestBody adds the requestBody to the delete Vm volume from Vm params
func (*DeleteVMVolumeFromVMParams) WithTimeout ¶
func (o *DeleteVMVolumeFromVMParams) WithTimeout(timeout time.Duration) *DeleteVMVolumeFromVMParams
WithTimeout adds the timeout to the delete Vm volume from Vm params
func (*DeleteVMVolumeFromVMParams) WriteToRequest ¶
func (o *DeleteVMVolumeFromVMParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteVMVolumeFromVMReader ¶
type DeleteVMVolumeFromVMReader struct {
// contains filtered or unexported fields
}
DeleteVMVolumeFromVMReader is a Reader for the DeleteVMVolumeFromVM structure.
func (*DeleteVMVolumeFromVMReader) ReadResponse ¶
func (o *DeleteVMVolumeFromVMReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ExportVMVolumeBadRequest ¶ added in v2.11.0
ExportVMVolumeBadRequest describes a response with status code 400, with default header values.
Bad request
func NewExportVMVolumeBadRequest ¶ added in v2.11.0
func NewExportVMVolumeBadRequest() *ExportVMVolumeBadRequest
NewExportVMVolumeBadRequest creates a ExportVMVolumeBadRequest with default headers values
func (*ExportVMVolumeBadRequest) Error ¶ added in v2.11.0
func (o *ExportVMVolumeBadRequest) Error() string
func (*ExportVMVolumeBadRequest) GetPayload ¶ added in v2.11.0
func (o *ExportVMVolumeBadRequest) GetPayload() *models.ErrorBody
type ExportVMVolumeInternalServerError ¶ added in v2.11.0
ExportVMVolumeInternalServerError describes a response with status code 500, with default header values.
Server error
func NewExportVMVolumeInternalServerError ¶ added in v2.11.0
func NewExportVMVolumeInternalServerError() *ExportVMVolumeInternalServerError
NewExportVMVolumeInternalServerError creates a ExportVMVolumeInternalServerError with default headers values
func (*ExportVMVolumeInternalServerError) Error ¶ added in v2.11.0
func (o *ExportVMVolumeInternalServerError) Error() string
func (*ExportVMVolumeInternalServerError) GetPayload ¶ added in v2.11.0
func (o *ExportVMVolumeInternalServerError) GetPayload() *models.ErrorBody
type ExportVMVolumeNotFound ¶ added in v2.11.0
ExportVMVolumeNotFound describes a response with status code 404, with default header values.
Not found
func NewExportVMVolumeNotFound ¶ added in v2.11.0
func NewExportVMVolumeNotFound() *ExportVMVolumeNotFound
NewExportVMVolumeNotFound creates a ExportVMVolumeNotFound with default headers values
func (*ExportVMVolumeNotFound) Error ¶ added in v2.11.0
func (o *ExportVMVolumeNotFound) Error() string
func (*ExportVMVolumeNotFound) GetPayload ¶ added in v2.11.0
func (o *ExportVMVolumeNotFound) GetPayload() *models.ErrorBody
type ExportVMVolumeOK ¶ added in v2.11.0
type ExportVMVolumeOK struct { XTowerRequestID string Payload []*models.WithTaskVMExportFile }
ExportVMVolumeOK describes a response with status code 200, with default header values.
ExportVMVolumeOK export Vm volume o k
func NewExportVMVolumeOK ¶ added in v2.11.0
func NewExportVMVolumeOK() *ExportVMVolumeOK
NewExportVMVolumeOK creates a ExportVMVolumeOK with default headers values
func (*ExportVMVolumeOK) Error ¶ added in v2.11.0
func (o *ExportVMVolumeOK) Error() string
func (*ExportVMVolumeOK) GetPayload ¶ added in v2.11.0
func (o *ExportVMVolumeOK) GetPayload() []*models.WithTaskVMExportFile
type ExportVMVolumeParams ¶ added in v2.11.0
type ExportVMVolumeParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.ExportVMVolumeParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ExportVMVolumeParams contains all the parameters to send to the API endpoint
for the export Vm volume operation. Typically these are written to a http.Request.
func NewExportVMVolumeParams ¶ added in v2.11.0
func NewExportVMVolumeParams() *ExportVMVolumeParams
NewExportVMVolumeParams creates a new ExportVMVolumeParams 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 NewExportVMVolumeParamsWithContext ¶ added in v2.11.0
func NewExportVMVolumeParamsWithContext(ctx context.Context) *ExportVMVolumeParams
NewExportVMVolumeParamsWithContext creates a new ExportVMVolumeParams object with the ability to set a context for a request.
func NewExportVMVolumeParamsWithHTTPClient ¶ added in v2.11.0
func NewExportVMVolumeParamsWithHTTPClient(client *http.Client) *ExportVMVolumeParams
NewExportVMVolumeParamsWithHTTPClient creates a new ExportVMVolumeParams object with the ability to set a custom HTTPClient for a request.
func NewExportVMVolumeParamsWithTimeout ¶ added in v2.11.0
func NewExportVMVolumeParamsWithTimeout(timeout time.Duration) *ExportVMVolumeParams
NewExportVMVolumeParamsWithTimeout creates a new ExportVMVolumeParams object with the ability to set a timeout on a request.
func (*ExportVMVolumeParams) SetContentLanguage ¶ added in v2.11.0
func (o *ExportVMVolumeParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the export Vm volume params
func (*ExportVMVolumeParams) SetContext ¶ added in v2.11.0
func (o *ExportVMVolumeParams) SetContext(ctx context.Context)
SetContext adds the context to the export Vm volume params
func (*ExportVMVolumeParams) SetDefaults ¶ added in v2.11.0
func (o *ExportVMVolumeParams) SetDefaults()
SetDefaults hydrates default values in the export Vm volume params (not the query body).
All values with no default are reset to their zero value.
func (*ExportVMVolumeParams) SetHTTPClient ¶ added in v2.11.0
func (o *ExportVMVolumeParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the export Vm volume params
func (*ExportVMVolumeParams) SetRequestBody ¶ added in v2.11.0
func (o *ExportVMVolumeParams) SetRequestBody(requestBody *models.ExportVMVolumeParams)
SetRequestBody adds the requestBody to the export Vm volume params
func (*ExportVMVolumeParams) SetTimeout ¶ added in v2.11.0
func (o *ExportVMVolumeParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the export Vm volume params
func (*ExportVMVolumeParams) WithContentLanguage ¶ added in v2.11.0
func (o *ExportVMVolumeParams) WithContentLanguage(contentLanguage *string) *ExportVMVolumeParams
WithContentLanguage adds the contentLanguage to the export Vm volume params
func (*ExportVMVolumeParams) WithContext ¶ added in v2.11.0
func (o *ExportVMVolumeParams) WithContext(ctx context.Context) *ExportVMVolumeParams
WithContext adds the context to the export Vm volume params
func (*ExportVMVolumeParams) WithDefaults ¶ added in v2.11.0
func (o *ExportVMVolumeParams) WithDefaults() *ExportVMVolumeParams
WithDefaults hydrates default values in the export Vm volume params (not the query body).
All values with no default are reset to their zero value.
func (*ExportVMVolumeParams) WithHTTPClient ¶ added in v2.11.0
func (o *ExportVMVolumeParams) WithHTTPClient(client *http.Client) *ExportVMVolumeParams
WithHTTPClient adds the HTTPClient to the export Vm volume params
func (*ExportVMVolumeParams) WithRequestBody ¶ added in v2.11.0
func (o *ExportVMVolumeParams) WithRequestBody(requestBody *models.ExportVMVolumeParams) *ExportVMVolumeParams
WithRequestBody adds the requestBody to the export Vm volume params
func (*ExportVMVolumeParams) WithTimeout ¶ added in v2.11.0
func (o *ExportVMVolumeParams) WithTimeout(timeout time.Duration) *ExportVMVolumeParams
WithTimeout adds the timeout to the export Vm volume params
func (*ExportVMVolumeParams) WriteToRequest ¶ added in v2.11.0
func (o *ExportVMVolumeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ExportVMVolumeReader ¶ added in v2.11.0
type ExportVMVolumeReader struct {
// contains filtered or unexported fields
}
ExportVMVolumeReader is a Reader for the ExportVMVolume structure.
func (*ExportVMVolumeReader) ReadResponse ¶ added in v2.11.0
func (o *ExportVMVolumeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetVMVolumesBadRequest ¶
GetVMVolumesBadRequest describes a response with status code 400, with default header values.
Bad request
func NewGetVMVolumesBadRequest ¶
func NewGetVMVolumesBadRequest() *GetVMVolumesBadRequest
NewGetVMVolumesBadRequest creates a GetVMVolumesBadRequest with default headers values
func (*GetVMVolumesBadRequest) Error ¶
func (o *GetVMVolumesBadRequest) Error() string
func (*GetVMVolumesBadRequest) GetPayload ¶
func (o *GetVMVolumesBadRequest) GetPayload() *models.ErrorBody
type GetVMVolumesConnectionBadRequest ¶
GetVMVolumesConnectionBadRequest describes a response with status code 400, with default header values.
Bad request
func NewGetVMVolumesConnectionBadRequest ¶
func NewGetVMVolumesConnectionBadRequest() *GetVMVolumesConnectionBadRequest
NewGetVMVolumesConnectionBadRequest creates a GetVMVolumesConnectionBadRequest with default headers values
func (*GetVMVolumesConnectionBadRequest) Error ¶
func (o *GetVMVolumesConnectionBadRequest) Error() string
func (*GetVMVolumesConnectionBadRequest) GetPayload ¶
func (o *GetVMVolumesConnectionBadRequest) GetPayload() *models.ErrorBody
type GetVMVolumesConnectionInternalServerError ¶
type GetVMVolumesConnectionInternalServerError struct { XTowerRequestID string Payload *models.ErrorBody }
GetVMVolumesConnectionInternalServerError describes a response with status code 500, with default header values.
Server error
func NewGetVMVolumesConnectionInternalServerError ¶
func NewGetVMVolumesConnectionInternalServerError() *GetVMVolumesConnectionInternalServerError
NewGetVMVolumesConnectionInternalServerError creates a GetVMVolumesConnectionInternalServerError with default headers values
func (*GetVMVolumesConnectionInternalServerError) Error ¶
func (o *GetVMVolumesConnectionInternalServerError) Error() string
func (*GetVMVolumesConnectionInternalServerError) GetPayload ¶
func (o *GetVMVolumesConnectionInternalServerError) GetPayload() *models.ErrorBody
type GetVMVolumesConnectionNotFound ¶
GetVMVolumesConnectionNotFound describes a response with status code 404, with default header values.
Not found
func NewGetVMVolumesConnectionNotFound ¶
func NewGetVMVolumesConnectionNotFound() *GetVMVolumesConnectionNotFound
NewGetVMVolumesConnectionNotFound creates a GetVMVolumesConnectionNotFound with default headers values
func (*GetVMVolumesConnectionNotFound) Error ¶
func (o *GetVMVolumesConnectionNotFound) Error() string
func (*GetVMVolumesConnectionNotFound) GetPayload ¶
func (o *GetVMVolumesConnectionNotFound) GetPayload() *models.ErrorBody
type GetVMVolumesConnectionOK ¶
type GetVMVolumesConnectionOK struct { XTowerRequestID string Payload *models.VMVolumeConnection }
GetVMVolumesConnectionOK describes a response with status code 200, with default header values.
GetVMVolumesConnectionOK get Vm volumes connection o k
func NewGetVMVolumesConnectionOK ¶
func NewGetVMVolumesConnectionOK() *GetVMVolumesConnectionOK
NewGetVMVolumesConnectionOK creates a GetVMVolumesConnectionOK with default headers values
func (*GetVMVolumesConnectionOK) Error ¶
func (o *GetVMVolumesConnectionOK) Error() string
func (*GetVMVolumesConnectionOK) GetPayload ¶
func (o *GetVMVolumesConnectionOK) GetPayload() *models.VMVolumeConnection
type GetVMVolumesConnectionParams ¶
type GetVMVolumesConnectionParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.GetVMVolumesConnectionRequestBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetVMVolumesConnectionParams contains all the parameters to send to the API endpoint
for the get Vm volumes connection operation. Typically these are written to a http.Request.
func NewGetVMVolumesConnectionParams ¶
func NewGetVMVolumesConnectionParams() *GetVMVolumesConnectionParams
NewGetVMVolumesConnectionParams creates a new GetVMVolumesConnectionParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetVMVolumesConnectionParamsWithContext ¶
func NewGetVMVolumesConnectionParamsWithContext(ctx context.Context) *GetVMVolumesConnectionParams
NewGetVMVolumesConnectionParamsWithContext creates a new GetVMVolumesConnectionParams object with the ability to set a context for a request.
func NewGetVMVolumesConnectionParamsWithHTTPClient ¶
func NewGetVMVolumesConnectionParamsWithHTTPClient(client *http.Client) *GetVMVolumesConnectionParams
NewGetVMVolumesConnectionParamsWithHTTPClient creates a new GetVMVolumesConnectionParams object with the ability to set a custom HTTPClient for a request.
func NewGetVMVolumesConnectionParamsWithTimeout ¶
func NewGetVMVolumesConnectionParamsWithTimeout(timeout time.Duration) *GetVMVolumesConnectionParams
NewGetVMVolumesConnectionParamsWithTimeout creates a new GetVMVolumesConnectionParams object with the ability to set a timeout on a request.
func (*GetVMVolumesConnectionParams) SetContentLanguage ¶
func (o *GetVMVolumesConnectionParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the get Vm volumes connection params
func (*GetVMVolumesConnectionParams) SetContext ¶
func (o *GetVMVolumesConnectionParams) SetContext(ctx context.Context)
SetContext adds the context to the get Vm volumes connection params
func (*GetVMVolumesConnectionParams) SetDefaults ¶
func (o *GetVMVolumesConnectionParams) SetDefaults()
SetDefaults hydrates default values in the get Vm volumes connection params (not the query body).
All values with no default are reset to their zero value.
func (*GetVMVolumesConnectionParams) SetHTTPClient ¶
func (o *GetVMVolumesConnectionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get Vm volumes connection params
func (*GetVMVolumesConnectionParams) SetRequestBody ¶
func (o *GetVMVolumesConnectionParams) SetRequestBody(requestBody *models.GetVMVolumesConnectionRequestBody)
SetRequestBody adds the requestBody to the get Vm volumes connection params
func (*GetVMVolumesConnectionParams) SetTimeout ¶
func (o *GetVMVolumesConnectionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get Vm volumes connection params
func (*GetVMVolumesConnectionParams) WithContentLanguage ¶
func (o *GetVMVolumesConnectionParams) WithContentLanguage(contentLanguage *string) *GetVMVolumesConnectionParams
WithContentLanguage adds the contentLanguage to the get Vm volumes connection params
func (*GetVMVolumesConnectionParams) WithContext ¶
func (o *GetVMVolumesConnectionParams) WithContext(ctx context.Context) *GetVMVolumesConnectionParams
WithContext adds the context to the get Vm volumes connection params
func (*GetVMVolumesConnectionParams) WithDefaults ¶
func (o *GetVMVolumesConnectionParams) WithDefaults() *GetVMVolumesConnectionParams
WithDefaults hydrates default values in the get Vm volumes connection params (not the query body).
All values with no default are reset to their zero value.
func (*GetVMVolumesConnectionParams) WithHTTPClient ¶
func (o *GetVMVolumesConnectionParams) WithHTTPClient(client *http.Client) *GetVMVolumesConnectionParams
WithHTTPClient adds the HTTPClient to the get Vm volumes connection params
func (*GetVMVolumesConnectionParams) WithRequestBody ¶
func (o *GetVMVolumesConnectionParams) WithRequestBody(requestBody *models.GetVMVolumesConnectionRequestBody) *GetVMVolumesConnectionParams
WithRequestBody adds the requestBody to the get Vm volumes connection params
func (*GetVMVolumesConnectionParams) WithTimeout ¶
func (o *GetVMVolumesConnectionParams) WithTimeout(timeout time.Duration) *GetVMVolumesConnectionParams
WithTimeout adds the timeout to the get Vm volumes connection params
func (*GetVMVolumesConnectionParams) WriteToRequest ¶
func (o *GetVMVolumesConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetVMVolumesConnectionReader ¶
type GetVMVolumesConnectionReader struct {
// contains filtered or unexported fields
}
GetVMVolumesConnectionReader is a Reader for the GetVMVolumesConnection structure.
func (*GetVMVolumesConnectionReader) ReadResponse ¶
func (o *GetVMVolumesConnectionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetVMVolumesInternalServerError ¶
GetVMVolumesInternalServerError describes a response with status code 500, with default header values.
Server error
func NewGetVMVolumesInternalServerError ¶
func NewGetVMVolumesInternalServerError() *GetVMVolumesInternalServerError
NewGetVMVolumesInternalServerError creates a GetVMVolumesInternalServerError with default headers values
func (*GetVMVolumesInternalServerError) Error ¶
func (o *GetVMVolumesInternalServerError) Error() string
func (*GetVMVolumesInternalServerError) GetPayload ¶
func (o *GetVMVolumesInternalServerError) GetPayload() *models.ErrorBody
type GetVMVolumesNotFound ¶
GetVMVolumesNotFound describes a response with status code 404, with default header values.
Not found
func NewGetVMVolumesNotFound ¶
func NewGetVMVolumesNotFound() *GetVMVolumesNotFound
NewGetVMVolumesNotFound creates a GetVMVolumesNotFound with default headers values
func (*GetVMVolumesNotFound) Error ¶
func (o *GetVMVolumesNotFound) Error() string
func (*GetVMVolumesNotFound) GetPayload ¶
func (o *GetVMVolumesNotFound) GetPayload() *models.ErrorBody
type GetVMVolumesOK ¶
GetVMVolumesOK describes a response with status code 200, with default header values.
GetVMVolumesOK get Vm volumes o k
func NewGetVMVolumesOK ¶
func NewGetVMVolumesOK() *GetVMVolumesOK
NewGetVMVolumesOK creates a GetVMVolumesOK with default headers values
func (*GetVMVolumesOK) Error ¶
func (o *GetVMVolumesOK) Error() string
func (*GetVMVolumesOK) GetPayload ¶
func (o *GetVMVolumesOK) GetPayload() []*models.VMVolume
type GetVMVolumesParams ¶
type GetVMVolumesParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.GetVMVolumesRequestBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetVMVolumesParams contains all the parameters to send to the API endpoint
for the get Vm volumes operation. Typically these are written to a http.Request.
func NewGetVMVolumesParams ¶
func NewGetVMVolumesParams() *GetVMVolumesParams
NewGetVMVolumesParams creates a new GetVMVolumesParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetVMVolumesParamsWithContext ¶
func NewGetVMVolumesParamsWithContext(ctx context.Context) *GetVMVolumesParams
NewGetVMVolumesParamsWithContext creates a new GetVMVolumesParams object with the ability to set a context for a request.
func NewGetVMVolumesParamsWithHTTPClient ¶
func NewGetVMVolumesParamsWithHTTPClient(client *http.Client) *GetVMVolumesParams
NewGetVMVolumesParamsWithHTTPClient creates a new GetVMVolumesParams object with the ability to set a custom HTTPClient for a request.
func NewGetVMVolumesParamsWithTimeout ¶
func NewGetVMVolumesParamsWithTimeout(timeout time.Duration) *GetVMVolumesParams
NewGetVMVolumesParamsWithTimeout creates a new GetVMVolumesParams object with the ability to set a timeout on a request.
func (*GetVMVolumesParams) SetContentLanguage ¶
func (o *GetVMVolumesParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the get Vm volumes params
func (*GetVMVolumesParams) SetContext ¶
func (o *GetVMVolumesParams) SetContext(ctx context.Context)
SetContext adds the context to the get Vm volumes params
func (*GetVMVolumesParams) SetDefaults ¶
func (o *GetVMVolumesParams) SetDefaults()
SetDefaults hydrates default values in the get Vm volumes params (not the query body).
All values with no default are reset to their zero value.
func (*GetVMVolumesParams) SetHTTPClient ¶
func (o *GetVMVolumesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get Vm volumes params
func (*GetVMVolumesParams) SetRequestBody ¶
func (o *GetVMVolumesParams) SetRequestBody(requestBody *models.GetVMVolumesRequestBody)
SetRequestBody adds the requestBody to the get Vm volumes params
func (*GetVMVolumesParams) SetTimeout ¶
func (o *GetVMVolumesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get Vm volumes params
func (*GetVMVolumesParams) WithContentLanguage ¶
func (o *GetVMVolumesParams) WithContentLanguage(contentLanguage *string) *GetVMVolumesParams
WithContentLanguage adds the contentLanguage to the get Vm volumes params
func (*GetVMVolumesParams) WithContext ¶
func (o *GetVMVolumesParams) WithContext(ctx context.Context) *GetVMVolumesParams
WithContext adds the context to the get Vm volumes params
func (*GetVMVolumesParams) WithDefaults ¶
func (o *GetVMVolumesParams) WithDefaults() *GetVMVolumesParams
WithDefaults hydrates default values in the get Vm volumes params (not the query body).
All values with no default are reset to their zero value.
func (*GetVMVolumesParams) WithHTTPClient ¶
func (o *GetVMVolumesParams) WithHTTPClient(client *http.Client) *GetVMVolumesParams
WithHTTPClient adds the HTTPClient to the get Vm volumes params
func (*GetVMVolumesParams) WithRequestBody ¶
func (o *GetVMVolumesParams) WithRequestBody(requestBody *models.GetVMVolumesRequestBody) *GetVMVolumesParams
WithRequestBody adds the requestBody to the get Vm volumes params
func (*GetVMVolumesParams) WithTimeout ¶
func (o *GetVMVolumesParams) WithTimeout(timeout time.Duration) *GetVMVolumesParams
WithTimeout adds the timeout to the get Vm volumes params
func (*GetVMVolumesParams) WriteToRequest ¶
func (o *GetVMVolumesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetVMVolumesReader ¶
type GetVMVolumesReader struct {
// contains filtered or unexported fields
}
GetVMVolumesReader is a Reader for the GetVMVolumes structure.
func (*GetVMVolumesReader) ReadResponse ¶
func (o *GetVMVolumesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ImportVMVolumeBadRequest ¶ added in v2.11.0
ImportVMVolumeBadRequest describes a response with status code 400, with default header values.
Bad request
func NewImportVMVolumeBadRequest ¶ added in v2.11.0
func NewImportVMVolumeBadRequest() *ImportVMVolumeBadRequest
NewImportVMVolumeBadRequest creates a ImportVMVolumeBadRequest with default headers values
func (*ImportVMVolumeBadRequest) Error ¶ added in v2.11.0
func (o *ImportVMVolumeBadRequest) Error() string
func (*ImportVMVolumeBadRequest) GetPayload ¶ added in v2.11.0
func (o *ImportVMVolumeBadRequest) GetPayload() *models.ErrorBody
type ImportVMVolumeInternalServerError ¶ added in v2.11.0
ImportVMVolumeInternalServerError describes a response with status code 500, with default header values.
Server error
func NewImportVMVolumeInternalServerError ¶ added in v2.11.0
func NewImportVMVolumeInternalServerError() *ImportVMVolumeInternalServerError
NewImportVMVolumeInternalServerError creates a ImportVMVolumeInternalServerError with default headers values
func (*ImportVMVolumeInternalServerError) Error ¶ added in v2.11.0
func (o *ImportVMVolumeInternalServerError) Error() string
func (*ImportVMVolumeInternalServerError) GetPayload ¶ added in v2.11.0
func (o *ImportVMVolumeInternalServerError) GetPayload() *models.ErrorBody
type ImportVMVolumeNotFound ¶ added in v2.11.0
ImportVMVolumeNotFound describes a response with status code 404, with default header values.
Not found
func NewImportVMVolumeNotFound ¶ added in v2.11.0
func NewImportVMVolumeNotFound() *ImportVMVolumeNotFound
NewImportVMVolumeNotFound creates a ImportVMVolumeNotFound with default headers values
func (*ImportVMVolumeNotFound) Error ¶ added in v2.11.0
func (o *ImportVMVolumeNotFound) Error() string
func (*ImportVMVolumeNotFound) GetPayload ¶ added in v2.11.0
func (o *ImportVMVolumeNotFound) GetPayload() *models.ErrorBody
type ImportVMVolumeOK ¶ added in v2.11.0
type ImportVMVolumeOK struct { XTowerRequestID string Payload []*models.WithTaskVMVolume }
ImportVMVolumeOK describes a response with status code 200, with default header values.
ImportVMVolumeOK import Vm volume o k
func NewImportVMVolumeOK ¶ added in v2.11.0
func NewImportVMVolumeOK() *ImportVMVolumeOK
NewImportVMVolumeOK creates a ImportVMVolumeOK with default headers values
func (*ImportVMVolumeOK) Error ¶ added in v2.11.0
func (o *ImportVMVolumeOK) Error() string
func (*ImportVMVolumeOK) GetPayload ¶ added in v2.11.0
func (o *ImportVMVolumeOK) GetPayload() []*models.WithTaskVMVolume
type ImportVMVolumeParams ¶ added in v2.11.0
type ImportVMVolumeParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody []*models.ImportVMVolumeParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ImportVMVolumeParams contains all the parameters to send to the API endpoint
for the import Vm volume operation. Typically these are written to a http.Request.
func NewImportVMVolumeParams ¶ added in v2.11.0
func NewImportVMVolumeParams() *ImportVMVolumeParams
NewImportVMVolumeParams creates a new ImportVMVolumeParams 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 NewImportVMVolumeParamsWithContext ¶ added in v2.11.0
func NewImportVMVolumeParamsWithContext(ctx context.Context) *ImportVMVolumeParams
NewImportVMVolumeParamsWithContext creates a new ImportVMVolumeParams object with the ability to set a context for a request.
func NewImportVMVolumeParamsWithHTTPClient ¶ added in v2.11.0
func NewImportVMVolumeParamsWithHTTPClient(client *http.Client) *ImportVMVolumeParams
NewImportVMVolumeParamsWithHTTPClient creates a new ImportVMVolumeParams object with the ability to set a custom HTTPClient for a request.
func NewImportVMVolumeParamsWithTimeout ¶ added in v2.11.0
func NewImportVMVolumeParamsWithTimeout(timeout time.Duration) *ImportVMVolumeParams
NewImportVMVolumeParamsWithTimeout creates a new ImportVMVolumeParams object with the ability to set a timeout on a request.
func (*ImportVMVolumeParams) SetContentLanguage ¶ added in v2.11.0
func (o *ImportVMVolumeParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the import Vm volume params
func (*ImportVMVolumeParams) SetContext ¶ added in v2.11.0
func (o *ImportVMVolumeParams) SetContext(ctx context.Context)
SetContext adds the context to the import Vm volume params
func (*ImportVMVolumeParams) SetDefaults ¶ added in v2.11.0
func (o *ImportVMVolumeParams) SetDefaults()
SetDefaults hydrates default values in the import Vm volume params (not the query body).
All values with no default are reset to their zero value.
func (*ImportVMVolumeParams) SetHTTPClient ¶ added in v2.11.0
func (o *ImportVMVolumeParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the import Vm volume params
func (*ImportVMVolumeParams) SetRequestBody ¶ added in v2.11.0
func (o *ImportVMVolumeParams) SetRequestBody(requestBody []*models.ImportVMVolumeParams)
SetRequestBody adds the requestBody to the import Vm volume params
func (*ImportVMVolumeParams) SetTimeout ¶ added in v2.11.0
func (o *ImportVMVolumeParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the import Vm volume params
func (*ImportVMVolumeParams) WithContentLanguage ¶ added in v2.11.0
func (o *ImportVMVolumeParams) WithContentLanguage(contentLanguage *string) *ImportVMVolumeParams
WithContentLanguage adds the contentLanguage to the import Vm volume params
func (*ImportVMVolumeParams) WithContext ¶ added in v2.11.0
func (o *ImportVMVolumeParams) WithContext(ctx context.Context) *ImportVMVolumeParams
WithContext adds the context to the import Vm volume params
func (*ImportVMVolumeParams) WithDefaults ¶ added in v2.11.0
func (o *ImportVMVolumeParams) WithDefaults() *ImportVMVolumeParams
WithDefaults hydrates default values in the import Vm volume params (not the query body).
All values with no default are reset to their zero value.
func (*ImportVMVolumeParams) WithHTTPClient ¶ added in v2.11.0
func (o *ImportVMVolumeParams) WithHTTPClient(client *http.Client) *ImportVMVolumeParams
WithHTTPClient adds the HTTPClient to the import Vm volume params
func (*ImportVMVolumeParams) WithRequestBody ¶ added in v2.11.0
func (o *ImportVMVolumeParams) WithRequestBody(requestBody []*models.ImportVMVolumeParams) *ImportVMVolumeParams
WithRequestBody adds the requestBody to the import Vm volume params
func (*ImportVMVolumeParams) WithTimeout ¶ added in v2.11.0
func (o *ImportVMVolumeParams) WithTimeout(timeout time.Duration) *ImportVMVolumeParams
WithTimeout adds the timeout to the import Vm volume params
func (*ImportVMVolumeParams) WriteToRequest ¶ added in v2.11.0
func (o *ImportVMVolumeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ImportVMVolumeReader ¶ added in v2.11.0
type ImportVMVolumeReader struct {
// contains filtered or unexported fields
}
ImportVMVolumeReader is a Reader for the ImportVMVolume structure.
func (*ImportVMVolumeReader) ReadResponse ¶ added in v2.11.0
func (o *ImportVMVolumeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RebuildVMVolumeBadRequest ¶ added in v2.3.0
RebuildVMVolumeBadRequest describes a response with status code 400, with default header values.
Bad request
func NewRebuildVMVolumeBadRequest ¶ added in v2.3.0
func NewRebuildVMVolumeBadRequest() *RebuildVMVolumeBadRequest
NewRebuildVMVolumeBadRequest creates a RebuildVMVolumeBadRequest with default headers values
func (*RebuildVMVolumeBadRequest) Error ¶ added in v2.3.0
func (o *RebuildVMVolumeBadRequest) Error() string
func (*RebuildVMVolumeBadRequest) GetPayload ¶ added in v2.3.0
func (o *RebuildVMVolumeBadRequest) GetPayload() *models.ErrorBody
type RebuildVMVolumeInternalServerError ¶ added in v2.3.0
RebuildVMVolumeInternalServerError describes a response with status code 500, with default header values.
Server error
func NewRebuildVMVolumeInternalServerError ¶ added in v2.3.0
func NewRebuildVMVolumeInternalServerError() *RebuildVMVolumeInternalServerError
NewRebuildVMVolumeInternalServerError creates a RebuildVMVolumeInternalServerError with default headers values
func (*RebuildVMVolumeInternalServerError) Error ¶ added in v2.3.0
func (o *RebuildVMVolumeInternalServerError) Error() string
func (*RebuildVMVolumeInternalServerError) GetPayload ¶ added in v2.3.0
func (o *RebuildVMVolumeInternalServerError) GetPayload() *models.ErrorBody
type RebuildVMVolumeNotFound ¶ added in v2.3.0
RebuildVMVolumeNotFound describes a response with status code 404, with default header values.
Not found
func NewRebuildVMVolumeNotFound ¶ added in v2.3.0
func NewRebuildVMVolumeNotFound() *RebuildVMVolumeNotFound
NewRebuildVMVolumeNotFound creates a RebuildVMVolumeNotFound with default headers values
func (*RebuildVMVolumeNotFound) Error ¶ added in v2.3.0
func (o *RebuildVMVolumeNotFound) Error() string
func (*RebuildVMVolumeNotFound) GetPayload ¶ added in v2.3.0
func (o *RebuildVMVolumeNotFound) GetPayload() *models.ErrorBody
type RebuildVMVolumeNotModified ¶ added in v2.3.0
type RebuildVMVolumeNotModified struct { }
RebuildVMVolumeNotModified describes a response with status code 304, with default header values.
Not modified
func NewRebuildVMVolumeNotModified ¶ added in v2.3.0
func NewRebuildVMVolumeNotModified() *RebuildVMVolumeNotModified
NewRebuildVMVolumeNotModified creates a RebuildVMVolumeNotModified with default headers values
func (*RebuildVMVolumeNotModified) Error ¶ added in v2.3.0
func (o *RebuildVMVolumeNotModified) Error() string
type RebuildVMVolumeOK ¶ added in v2.3.0
type RebuildVMVolumeOK struct { XTowerRequestID string Payload []*models.WithTaskVMVolume }
RebuildVMVolumeOK describes a response with status code 200, with default header values.
RebuildVMVolumeOK rebuild Vm volume o k
func NewRebuildVMVolumeOK ¶ added in v2.3.0
func NewRebuildVMVolumeOK() *RebuildVMVolumeOK
NewRebuildVMVolumeOK creates a RebuildVMVolumeOK with default headers values
func (*RebuildVMVolumeOK) Error ¶ added in v2.3.0
func (o *RebuildVMVolumeOK) Error() string
func (*RebuildVMVolumeOK) GetPayload ¶ added in v2.3.0
func (o *RebuildVMVolumeOK) GetPayload() []*models.WithTaskVMVolume
type RebuildVMVolumeParams ¶ added in v2.3.0
type RebuildVMVolumeParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody []*models.VMVolumeRebuildParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RebuildVMVolumeParams contains all the parameters to send to the API endpoint
for the rebuild Vm volume operation. Typically these are written to a http.Request.
func NewRebuildVMVolumeParams ¶ added in v2.3.0
func NewRebuildVMVolumeParams() *RebuildVMVolumeParams
NewRebuildVMVolumeParams creates a new RebuildVMVolumeParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewRebuildVMVolumeParamsWithContext ¶ added in v2.3.0
func NewRebuildVMVolumeParamsWithContext(ctx context.Context) *RebuildVMVolumeParams
NewRebuildVMVolumeParamsWithContext creates a new RebuildVMVolumeParams object with the ability to set a context for a request.
func NewRebuildVMVolumeParamsWithHTTPClient ¶ added in v2.3.0
func NewRebuildVMVolumeParamsWithHTTPClient(client *http.Client) *RebuildVMVolumeParams
NewRebuildVMVolumeParamsWithHTTPClient creates a new RebuildVMVolumeParams object with the ability to set a custom HTTPClient for a request.
func NewRebuildVMVolumeParamsWithTimeout ¶ added in v2.3.0
func NewRebuildVMVolumeParamsWithTimeout(timeout time.Duration) *RebuildVMVolumeParams
NewRebuildVMVolumeParamsWithTimeout creates a new RebuildVMVolumeParams object with the ability to set a timeout on a request.
func (*RebuildVMVolumeParams) SetContentLanguage ¶ added in v2.3.0
func (o *RebuildVMVolumeParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the rebuild Vm volume params
func (*RebuildVMVolumeParams) SetContext ¶ added in v2.3.0
func (o *RebuildVMVolumeParams) SetContext(ctx context.Context)
SetContext adds the context to the rebuild Vm volume params
func (*RebuildVMVolumeParams) SetDefaults ¶ added in v2.3.0
func (o *RebuildVMVolumeParams) SetDefaults()
SetDefaults hydrates default values in the rebuild Vm volume params (not the query body).
All values with no default are reset to their zero value.
func (*RebuildVMVolumeParams) SetHTTPClient ¶ added in v2.3.0
func (o *RebuildVMVolumeParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the rebuild Vm volume params
func (*RebuildVMVolumeParams) SetRequestBody ¶ added in v2.3.0
func (o *RebuildVMVolumeParams) SetRequestBody(requestBody []*models.VMVolumeRebuildParams)
SetRequestBody adds the requestBody to the rebuild Vm volume params
func (*RebuildVMVolumeParams) SetTimeout ¶ added in v2.3.0
func (o *RebuildVMVolumeParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the rebuild Vm volume params
func (*RebuildVMVolumeParams) WithContentLanguage ¶ added in v2.3.0
func (o *RebuildVMVolumeParams) WithContentLanguage(contentLanguage *string) *RebuildVMVolumeParams
WithContentLanguage adds the contentLanguage to the rebuild Vm volume params
func (*RebuildVMVolumeParams) WithContext ¶ added in v2.3.0
func (o *RebuildVMVolumeParams) WithContext(ctx context.Context) *RebuildVMVolumeParams
WithContext adds the context to the rebuild Vm volume params
func (*RebuildVMVolumeParams) WithDefaults ¶ added in v2.3.0
func (o *RebuildVMVolumeParams) WithDefaults() *RebuildVMVolumeParams
WithDefaults hydrates default values in the rebuild Vm volume params (not the query body).
All values with no default are reset to their zero value.
func (*RebuildVMVolumeParams) WithHTTPClient ¶ added in v2.3.0
func (o *RebuildVMVolumeParams) WithHTTPClient(client *http.Client) *RebuildVMVolumeParams
WithHTTPClient adds the HTTPClient to the rebuild Vm volume params
func (*RebuildVMVolumeParams) WithRequestBody ¶ added in v2.3.0
func (o *RebuildVMVolumeParams) WithRequestBody(requestBody []*models.VMVolumeRebuildParams) *RebuildVMVolumeParams
WithRequestBody adds the requestBody to the rebuild Vm volume params
func (*RebuildVMVolumeParams) WithTimeout ¶ added in v2.3.0
func (o *RebuildVMVolumeParams) WithTimeout(timeout time.Duration) *RebuildVMVolumeParams
WithTimeout adds the timeout to the rebuild Vm volume params
func (*RebuildVMVolumeParams) WriteToRequest ¶ added in v2.3.0
func (o *RebuildVMVolumeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RebuildVMVolumeReader ¶ added in v2.3.0
type RebuildVMVolumeReader struct {
// contains filtered or unexported fields
}
RebuildVMVolumeReader is a Reader for the RebuildVMVolume structure.
func (*RebuildVMVolumeReader) ReadResponse ¶ added in v2.3.0
func (o *RebuildVMVolumeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RollbackVMVolumeBadRequest ¶ added in v2.3.0
RollbackVMVolumeBadRequest describes a response with status code 400, with default header values.
Bad request
func NewRollbackVMVolumeBadRequest ¶ added in v2.3.0
func NewRollbackVMVolumeBadRequest() *RollbackVMVolumeBadRequest
NewRollbackVMVolumeBadRequest creates a RollbackVMVolumeBadRequest with default headers values
func (*RollbackVMVolumeBadRequest) Error ¶ added in v2.3.0
func (o *RollbackVMVolumeBadRequest) Error() string
func (*RollbackVMVolumeBadRequest) GetPayload ¶ added in v2.3.0
func (o *RollbackVMVolumeBadRequest) GetPayload() *models.ErrorBody
type RollbackVMVolumeInternalServerError ¶ added in v2.3.0
type RollbackVMVolumeInternalServerError struct { XTowerRequestID string Payload *models.ErrorBody }
RollbackVMVolumeInternalServerError describes a response with status code 500, with default header values.
Server error
func NewRollbackVMVolumeInternalServerError ¶ added in v2.3.0
func NewRollbackVMVolumeInternalServerError() *RollbackVMVolumeInternalServerError
NewRollbackVMVolumeInternalServerError creates a RollbackVMVolumeInternalServerError with default headers values
func (*RollbackVMVolumeInternalServerError) Error ¶ added in v2.3.0
func (o *RollbackVMVolumeInternalServerError) Error() string
func (*RollbackVMVolumeInternalServerError) GetPayload ¶ added in v2.3.0
func (o *RollbackVMVolumeInternalServerError) GetPayload() *models.ErrorBody
type RollbackVMVolumeNotFound ¶ added in v2.3.0
RollbackVMVolumeNotFound describes a response with status code 404, with default header values.
Not found
func NewRollbackVMVolumeNotFound ¶ added in v2.3.0
func NewRollbackVMVolumeNotFound() *RollbackVMVolumeNotFound
NewRollbackVMVolumeNotFound creates a RollbackVMVolumeNotFound with default headers values
func (*RollbackVMVolumeNotFound) Error ¶ added in v2.3.0
func (o *RollbackVMVolumeNotFound) Error() string
func (*RollbackVMVolumeNotFound) GetPayload ¶ added in v2.3.0
func (o *RollbackVMVolumeNotFound) GetPayload() *models.ErrorBody
type RollbackVMVolumeNotModified ¶ added in v2.3.0
type RollbackVMVolumeNotModified struct { }
RollbackVMVolumeNotModified describes a response with status code 304, with default header values.
Not modified
func NewRollbackVMVolumeNotModified ¶ added in v2.3.0
func NewRollbackVMVolumeNotModified() *RollbackVMVolumeNotModified
NewRollbackVMVolumeNotModified creates a RollbackVMVolumeNotModified with default headers values
func (*RollbackVMVolumeNotModified) Error ¶ added in v2.3.0
func (o *RollbackVMVolumeNotModified) Error() string
type RollbackVMVolumeOK ¶ added in v2.3.0
type RollbackVMVolumeOK struct { XTowerRequestID string Payload []*models.WithTaskVMVolume }
RollbackVMVolumeOK describes a response with status code 200, with default header values.
RollbackVMVolumeOK rollback Vm volume o k
func NewRollbackVMVolumeOK ¶ added in v2.3.0
func NewRollbackVMVolumeOK() *RollbackVMVolumeOK
NewRollbackVMVolumeOK creates a RollbackVMVolumeOK with default headers values
func (*RollbackVMVolumeOK) Error ¶ added in v2.3.0
func (o *RollbackVMVolumeOK) Error() string
func (*RollbackVMVolumeOK) GetPayload ¶ added in v2.3.0
func (o *RollbackVMVolumeOK) GetPayload() []*models.WithTaskVMVolume
type RollbackVMVolumeParams ¶ added in v2.3.0
type RollbackVMVolumeParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody []*models.VMVolumeRollbackParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RollbackVMVolumeParams contains all the parameters to send to the API endpoint
for the rollback Vm volume operation. Typically these are written to a http.Request.
func NewRollbackVMVolumeParams ¶ added in v2.3.0
func NewRollbackVMVolumeParams() *RollbackVMVolumeParams
NewRollbackVMVolumeParams creates a new RollbackVMVolumeParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewRollbackVMVolumeParamsWithContext ¶ added in v2.3.0
func NewRollbackVMVolumeParamsWithContext(ctx context.Context) *RollbackVMVolumeParams
NewRollbackVMVolumeParamsWithContext creates a new RollbackVMVolumeParams object with the ability to set a context for a request.
func NewRollbackVMVolumeParamsWithHTTPClient ¶ added in v2.3.0
func NewRollbackVMVolumeParamsWithHTTPClient(client *http.Client) *RollbackVMVolumeParams
NewRollbackVMVolumeParamsWithHTTPClient creates a new RollbackVMVolumeParams object with the ability to set a custom HTTPClient for a request.
func NewRollbackVMVolumeParamsWithTimeout ¶ added in v2.3.0
func NewRollbackVMVolumeParamsWithTimeout(timeout time.Duration) *RollbackVMVolumeParams
NewRollbackVMVolumeParamsWithTimeout creates a new RollbackVMVolumeParams object with the ability to set a timeout on a request.
func (*RollbackVMVolumeParams) SetContentLanguage ¶ added in v2.3.0
func (o *RollbackVMVolumeParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the rollback Vm volume params
func (*RollbackVMVolumeParams) SetContext ¶ added in v2.3.0
func (o *RollbackVMVolumeParams) SetContext(ctx context.Context)
SetContext adds the context to the rollback Vm volume params
func (*RollbackVMVolumeParams) SetDefaults ¶ added in v2.3.0
func (o *RollbackVMVolumeParams) SetDefaults()
SetDefaults hydrates default values in the rollback Vm volume params (not the query body).
All values with no default are reset to their zero value.
func (*RollbackVMVolumeParams) SetHTTPClient ¶ added in v2.3.0
func (o *RollbackVMVolumeParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the rollback Vm volume params
func (*RollbackVMVolumeParams) SetRequestBody ¶ added in v2.3.0
func (o *RollbackVMVolumeParams) SetRequestBody(requestBody []*models.VMVolumeRollbackParams)
SetRequestBody adds the requestBody to the rollback Vm volume params
func (*RollbackVMVolumeParams) SetTimeout ¶ added in v2.3.0
func (o *RollbackVMVolumeParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the rollback Vm volume params
func (*RollbackVMVolumeParams) WithContentLanguage ¶ added in v2.3.0
func (o *RollbackVMVolumeParams) WithContentLanguage(contentLanguage *string) *RollbackVMVolumeParams
WithContentLanguage adds the contentLanguage to the rollback Vm volume params
func (*RollbackVMVolumeParams) WithContext ¶ added in v2.3.0
func (o *RollbackVMVolumeParams) WithContext(ctx context.Context) *RollbackVMVolumeParams
WithContext adds the context to the rollback Vm volume params
func (*RollbackVMVolumeParams) WithDefaults ¶ added in v2.3.0
func (o *RollbackVMVolumeParams) WithDefaults() *RollbackVMVolumeParams
WithDefaults hydrates default values in the rollback Vm volume params (not the query body).
All values with no default are reset to their zero value.
func (*RollbackVMVolumeParams) WithHTTPClient ¶ added in v2.3.0
func (o *RollbackVMVolumeParams) WithHTTPClient(client *http.Client) *RollbackVMVolumeParams
WithHTTPClient adds the HTTPClient to the rollback Vm volume params
func (*RollbackVMVolumeParams) WithRequestBody ¶ added in v2.3.0
func (o *RollbackVMVolumeParams) WithRequestBody(requestBody []*models.VMVolumeRollbackParams) *RollbackVMVolumeParams
WithRequestBody adds the requestBody to the rollback Vm volume params
func (*RollbackVMVolumeParams) WithTimeout ¶ added in v2.3.0
func (o *RollbackVMVolumeParams) WithTimeout(timeout time.Duration) *RollbackVMVolumeParams
WithTimeout adds the timeout to the rollback Vm volume params
func (*RollbackVMVolumeParams) WriteToRequest ¶ added in v2.3.0
func (o *RollbackVMVolumeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RollbackVMVolumeReader ¶ added in v2.3.0
type RollbackVMVolumeReader struct {
// contains filtered or unexported fields
}
RollbackVMVolumeReader is a Reader for the RollbackVMVolume structure.
func (*RollbackVMVolumeReader) ReadResponse ¶ added in v2.3.0
func (o *RollbackVMVolumeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateVMVolumeBadRequest ¶ added in v2.3.0
UpdateVMVolumeBadRequest describes a response with status code 400, with default header values.
Bad request
func NewUpdateVMVolumeBadRequest ¶ added in v2.3.0
func NewUpdateVMVolumeBadRequest() *UpdateVMVolumeBadRequest
NewUpdateVMVolumeBadRequest creates a UpdateVMVolumeBadRequest with default headers values
func (*UpdateVMVolumeBadRequest) Error ¶ added in v2.3.0
func (o *UpdateVMVolumeBadRequest) Error() string
func (*UpdateVMVolumeBadRequest) GetPayload ¶ added in v2.3.0
func (o *UpdateVMVolumeBadRequest) GetPayload() *models.ErrorBody
type UpdateVMVolumeInternalServerError ¶ added in v2.3.0
UpdateVMVolumeInternalServerError describes a response with status code 500, with default header values.
Server error
func NewUpdateVMVolumeInternalServerError ¶ added in v2.3.0
func NewUpdateVMVolumeInternalServerError() *UpdateVMVolumeInternalServerError
NewUpdateVMVolumeInternalServerError creates a UpdateVMVolumeInternalServerError with default headers values
func (*UpdateVMVolumeInternalServerError) Error ¶ added in v2.3.0
func (o *UpdateVMVolumeInternalServerError) Error() string
func (*UpdateVMVolumeInternalServerError) GetPayload ¶ added in v2.3.0
func (o *UpdateVMVolumeInternalServerError) GetPayload() *models.ErrorBody
type UpdateVMVolumeNotFound ¶ added in v2.3.0
UpdateVMVolumeNotFound describes a response with status code 404, with default header values.
Not found
func NewUpdateVMVolumeNotFound ¶ added in v2.3.0
func NewUpdateVMVolumeNotFound() *UpdateVMVolumeNotFound
NewUpdateVMVolumeNotFound creates a UpdateVMVolumeNotFound with default headers values
func (*UpdateVMVolumeNotFound) Error ¶ added in v2.3.0
func (o *UpdateVMVolumeNotFound) Error() string
func (*UpdateVMVolumeNotFound) GetPayload ¶ added in v2.3.0
func (o *UpdateVMVolumeNotFound) GetPayload() *models.ErrorBody
type UpdateVMVolumeNotModified ¶ added in v2.3.0
type UpdateVMVolumeNotModified struct { }
UpdateVMVolumeNotModified describes a response with status code 304, with default header values.
Not modified
func NewUpdateVMVolumeNotModified ¶ added in v2.3.0
func NewUpdateVMVolumeNotModified() *UpdateVMVolumeNotModified
NewUpdateVMVolumeNotModified creates a UpdateVMVolumeNotModified with default headers values
func (*UpdateVMVolumeNotModified) Error ¶ added in v2.3.0
func (o *UpdateVMVolumeNotModified) Error() string
type UpdateVMVolumeOK ¶ added in v2.3.0
type UpdateVMVolumeOK struct { XTowerRequestID string Payload []*models.WithTaskVMVolume }
UpdateVMVolumeOK describes a response with status code 200, with default header values.
UpdateVMVolumeOK update Vm volume o k
func NewUpdateVMVolumeOK ¶ added in v2.3.0
func NewUpdateVMVolumeOK() *UpdateVMVolumeOK
NewUpdateVMVolumeOK creates a UpdateVMVolumeOK with default headers values
func (*UpdateVMVolumeOK) Error ¶ added in v2.3.0
func (o *UpdateVMVolumeOK) Error() string
func (*UpdateVMVolumeOK) GetPayload ¶ added in v2.3.0
func (o *UpdateVMVolumeOK) GetPayload() []*models.WithTaskVMVolume
type UpdateVMVolumeParams ¶ added in v2.3.0
type UpdateVMVolumeParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.UpdateVMVolumeParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateVMVolumeParams contains all the parameters to send to the API endpoint
for the update Vm volume operation. Typically these are written to a http.Request.
func NewUpdateVMVolumeParams ¶ added in v2.3.0
func NewUpdateVMVolumeParams() *UpdateVMVolumeParams
NewUpdateVMVolumeParams creates a new UpdateVMVolumeParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewUpdateVMVolumeParamsWithContext ¶ added in v2.3.0
func NewUpdateVMVolumeParamsWithContext(ctx context.Context) *UpdateVMVolumeParams
NewUpdateVMVolumeParamsWithContext creates a new UpdateVMVolumeParams object with the ability to set a context for a request.
func NewUpdateVMVolumeParamsWithHTTPClient ¶ added in v2.3.0
func NewUpdateVMVolumeParamsWithHTTPClient(client *http.Client) *UpdateVMVolumeParams
NewUpdateVMVolumeParamsWithHTTPClient creates a new UpdateVMVolumeParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateVMVolumeParamsWithTimeout ¶ added in v2.3.0
func NewUpdateVMVolumeParamsWithTimeout(timeout time.Duration) *UpdateVMVolumeParams
NewUpdateVMVolumeParamsWithTimeout creates a new UpdateVMVolumeParams object with the ability to set a timeout on a request.
func (*UpdateVMVolumeParams) SetContentLanguage ¶ added in v2.3.0
func (o *UpdateVMVolumeParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the update Vm volume params
func (*UpdateVMVolumeParams) SetContext ¶ added in v2.3.0
func (o *UpdateVMVolumeParams) SetContext(ctx context.Context)
SetContext adds the context to the update Vm volume params
func (*UpdateVMVolumeParams) SetDefaults ¶ added in v2.3.0
func (o *UpdateVMVolumeParams) SetDefaults()
SetDefaults hydrates default values in the update Vm volume params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateVMVolumeParams) SetHTTPClient ¶ added in v2.3.0
func (o *UpdateVMVolumeParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update Vm volume params
func (*UpdateVMVolumeParams) SetRequestBody ¶ added in v2.3.0
func (o *UpdateVMVolumeParams) SetRequestBody(requestBody *models.UpdateVMVolumeParams)
SetRequestBody adds the requestBody to the update Vm volume params
func (*UpdateVMVolumeParams) SetTimeout ¶ added in v2.3.0
func (o *UpdateVMVolumeParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update Vm volume params
func (*UpdateVMVolumeParams) WithContentLanguage ¶ added in v2.3.0
func (o *UpdateVMVolumeParams) WithContentLanguage(contentLanguage *string) *UpdateVMVolumeParams
WithContentLanguage adds the contentLanguage to the update Vm volume params
func (*UpdateVMVolumeParams) WithContext ¶ added in v2.3.0
func (o *UpdateVMVolumeParams) WithContext(ctx context.Context) *UpdateVMVolumeParams
WithContext adds the context to the update Vm volume params
func (*UpdateVMVolumeParams) WithDefaults ¶ added in v2.3.0
func (o *UpdateVMVolumeParams) WithDefaults() *UpdateVMVolumeParams
WithDefaults hydrates default values in the update Vm volume params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateVMVolumeParams) WithHTTPClient ¶ added in v2.3.0
func (o *UpdateVMVolumeParams) WithHTTPClient(client *http.Client) *UpdateVMVolumeParams
WithHTTPClient adds the HTTPClient to the update Vm volume params
func (*UpdateVMVolumeParams) WithRequestBody ¶ added in v2.3.0
func (o *UpdateVMVolumeParams) WithRequestBody(requestBody *models.UpdateVMVolumeParams) *UpdateVMVolumeParams
WithRequestBody adds the requestBody to the update Vm volume params
func (*UpdateVMVolumeParams) WithTimeout ¶ added in v2.3.0
func (o *UpdateVMVolumeParams) WithTimeout(timeout time.Duration) *UpdateVMVolumeParams
WithTimeout adds the timeout to the update Vm volume params
func (*UpdateVMVolumeParams) WriteToRequest ¶ added in v2.3.0
func (o *UpdateVMVolumeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateVMVolumeReader ¶ added in v2.3.0
type UpdateVMVolumeReader struct {
// contains filtered or unexported fields
}
UpdateVMVolumeReader is a Reader for the UpdateVMVolume structure.
func (*UpdateVMVolumeReader) ReadResponse ¶ added in v2.3.0
func (o *UpdateVMVolumeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- clone_vm_volume_parameters.go
- clone_vm_volume_responses.go
- create_vm_volume_parameters.go
- create_vm_volume_responses.go
- delete_vm_volume_from_vm_parameters.go
- delete_vm_volume_from_vm_responses.go
- export_vm_volume_parameters.go
- export_vm_volume_responses.go
- get_vm_volumes_connection_parameters.go
- get_vm_volumes_connection_responses.go
- get_vm_volumes_parameters.go
- get_vm_volumes_responses.go
- import_vm_volume_parameters.go
- import_vm_volume_responses.go
- rebuild_vm_volume_parameters.go
- rebuild_vm_volume_responses.go
- rollback_vm_volume_parameters.go
- rollback_vm_volume_responses.go
- update_vm_volume_parameters.go
- update_vm_volume_responses.go
- vm_volume_client.go