Documentation ¶
Index ¶
- type AbortMigrateVMAcrossClusterBadRequest
- type AbortMigrateVMAcrossClusterInternalServerError
- type AbortMigrateVMAcrossClusterNotFound
- type AbortMigrateVMAcrossClusterOK
- type AbortMigrateVMAcrossClusterParams
- func NewAbortMigrateVMAcrossClusterParams() *AbortMigrateVMAcrossClusterParams
- func NewAbortMigrateVMAcrossClusterParamsWithContext(ctx context.Context) *AbortMigrateVMAcrossClusterParams
- func NewAbortMigrateVMAcrossClusterParamsWithHTTPClient(client *http.Client) *AbortMigrateVMAcrossClusterParams
- func NewAbortMigrateVMAcrossClusterParamsWithTimeout(timeout time.Duration) *AbortMigrateVMAcrossClusterParams
- func (o *AbortMigrateVMAcrossClusterParams) SetContentLanguage(contentLanguage *string)
- func (o *AbortMigrateVMAcrossClusterParams) SetContext(ctx context.Context)
- func (o *AbortMigrateVMAcrossClusterParams) SetDefaults()
- func (o *AbortMigrateVMAcrossClusterParams) SetHTTPClient(client *http.Client)
- func (o *AbortMigrateVMAcrossClusterParams) SetRequestBody(requestBody *models.AbortMigrateVMAcrossClusterParams)
- func (o *AbortMigrateVMAcrossClusterParams) SetTimeout(timeout time.Duration)
- func (o *AbortMigrateVMAcrossClusterParams) WithContentLanguage(contentLanguage *string) *AbortMigrateVMAcrossClusterParams
- func (o *AbortMigrateVMAcrossClusterParams) WithContext(ctx context.Context) *AbortMigrateVMAcrossClusterParams
- func (o *AbortMigrateVMAcrossClusterParams) WithDefaults() *AbortMigrateVMAcrossClusterParams
- func (o *AbortMigrateVMAcrossClusterParams) WithHTTPClient(client *http.Client) *AbortMigrateVMAcrossClusterParams
- func (o *AbortMigrateVMAcrossClusterParams) WithRequestBody(requestBody *models.AbortMigrateVMAcrossClusterParams) *AbortMigrateVMAcrossClusterParams
- func (o *AbortMigrateVMAcrossClusterParams) WithTimeout(timeout time.Duration) *AbortMigrateVMAcrossClusterParams
- func (o *AbortMigrateVMAcrossClusterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AbortMigrateVMAcrossClusterReader
- type AddVMCdRomBadRequest
- type AddVMCdRomInternalServerError
- type AddVMCdRomNotFound
- type AddVMCdRomNotModified
- type AddVMCdRomOK
- type AddVMCdRomParams
- func (o *AddVMCdRomParams) SetContentLanguage(contentLanguage *string)
- func (o *AddVMCdRomParams) SetContext(ctx context.Context)
- func (o *AddVMCdRomParams) SetDefaults()
- func (o *AddVMCdRomParams) SetHTTPClient(client *http.Client)
- func (o *AddVMCdRomParams) SetRequestBody(requestBody *models.VMAddCdRomParams)
- func (o *AddVMCdRomParams) SetTimeout(timeout time.Duration)
- func (o *AddVMCdRomParams) WithContentLanguage(contentLanguage *string) *AddVMCdRomParams
- func (o *AddVMCdRomParams) WithContext(ctx context.Context) *AddVMCdRomParams
- func (o *AddVMCdRomParams) WithDefaults() *AddVMCdRomParams
- func (o *AddVMCdRomParams) WithHTTPClient(client *http.Client) *AddVMCdRomParams
- func (o *AddVMCdRomParams) WithRequestBody(requestBody *models.VMAddCdRomParams) *AddVMCdRomParams
- func (o *AddVMCdRomParams) WithTimeout(timeout time.Duration) *AddVMCdRomParams
- func (o *AddVMCdRomParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AddVMCdRomReader
- type AddVMDiskBadRequest
- type AddVMDiskInternalServerError
- type AddVMDiskNotFound
- type AddVMDiskOK
- type AddVMDiskParams
- func (o *AddVMDiskParams) SetContentLanguage(contentLanguage *string)
- func (o *AddVMDiskParams) SetContext(ctx context.Context)
- func (o *AddVMDiskParams) SetDefaults()
- func (o *AddVMDiskParams) SetHTTPClient(client *http.Client)
- func (o *AddVMDiskParams) SetRequestBody(requestBody *models.VMAddDiskParams)
- func (o *AddVMDiskParams) SetTimeout(timeout time.Duration)
- func (o *AddVMDiskParams) WithContentLanguage(contentLanguage *string) *AddVMDiskParams
- func (o *AddVMDiskParams) WithContext(ctx context.Context) *AddVMDiskParams
- func (o *AddVMDiskParams) WithDefaults() *AddVMDiskParams
- func (o *AddVMDiskParams) WithHTTPClient(client *http.Client) *AddVMDiskParams
- func (o *AddVMDiskParams) WithRequestBody(requestBody *models.VMAddDiskParams) *AddVMDiskParams
- func (o *AddVMDiskParams) WithTimeout(timeout time.Duration) *AddVMDiskParams
- func (o *AddVMDiskParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AddVMDiskReader
- type AddVMGpuDeviceBadRequest
- type AddVMGpuDeviceInternalServerError
- type AddVMGpuDeviceNotFound
- type AddVMGpuDeviceOK
- type AddVMGpuDeviceParams
- func NewAddVMGpuDeviceParams() *AddVMGpuDeviceParams
- func NewAddVMGpuDeviceParamsWithContext(ctx context.Context) *AddVMGpuDeviceParams
- func NewAddVMGpuDeviceParamsWithHTTPClient(client *http.Client) *AddVMGpuDeviceParams
- func NewAddVMGpuDeviceParamsWithTimeout(timeout time.Duration) *AddVMGpuDeviceParams
- func (o *AddVMGpuDeviceParams) SetContentLanguage(contentLanguage *string)
- func (o *AddVMGpuDeviceParams) SetContext(ctx context.Context)
- func (o *AddVMGpuDeviceParams) SetDefaults()
- func (o *AddVMGpuDeviceParams) SetHTTPClient(client *http.Client)
- func (o *AddVMGpuDeviceParams) SetRequestBody(requestBody *models.VMAddGpuDeviceParams)
- func (o *AddVMGpuDeviceParams) SetTimeout(timeout time.Duration)
- func (o *AddVMGpuDeviceParams) WithContentLanguage(contentLanguage *string) *AddVMGpuDeviceParams
- func (o *AddVMGpuDeviceParams) WithContext(ctx context.Context) *AddVMGpuDeviceParams
- func (o *AddVMGpuDeviceParams) WithDefaults() *AddVMGpuDeviceParams
- func (o *AddVMGpuDeviceParams) WithHTTPClient(client *http.Client) *AddVMGpuDeviceParams
- func (o *AddVMGpuDeviceParams) WithRequestBody(requestBody *models.VMAddGpuDeviceParams) *AddVMGpuDeviceParams
- func (o *AddVMGpuDeviceParams) WithTimeout(timeout time.Duration) *AddVMGpuDeviceParams
- func (o *AddVMGpuDeviceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AddVMGpuDeviceReader
- type AddVMNicBadRequest
- type AddVMNicInternalServerError
- type AddVMNicNotFound
- type AddVMNicOK
- type AddVMNicParams
- func (o *AddVMNicParams) SetContentLanguage(contentLanguage *string)
- func (o *AddVMNicParams) SetContext(ctx context.Context)
- func (o *AddVMNicParams) SetDefaults()
- func (o *AddVMNicParams) SetHTTPClient(client *http.Client)
- func (o *AddVMNicParams) SetRequestBody(requestBody *models.VMAddNicParams)
- func (o *AddVMNicParams) SetTimeout(timeout time.Duration)
- func (o *AddVMNicParams) WithContentLanguage(contentLanguage *string) *AddVMNicParams
- func (o *AddVMNicParams) WithContext(ctx context.Context) *AddVMNicParams
- func (o *AddVMNicParams) WithDefaults() *AddVMNicParams
- func (o *AddVMNicParams) WithHTTPClient(client *http.Client) *AddVMNicParams
- func (o *AddVMNicParams) WithRequestBody(requestBody *models.VMAddNicParams) *AddVMNicParams
- func (o *AddVMNicParams) WithTimeout(timeout time.Duration) *AddVMNicParams
- func (o *AddVMNicParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AddVMNicReader
- type AddVMPciNicBadRequest
- type AddVMPciNicInternalServerError
- type AddVMPciNicNotFound
- type AddVMPciNicNotModified
- type AddVMPciNicOK
- type AddVMPciNicParams
- func (o *AddVMPciNicParams) SetContentLanguage(contentLanguage *string)
- func (o *AddVMPciNicParams) SetContext(ctx context.Context)
- func (o *AddVMPciNicParams) SetDefaults()
- func (o *AddVMPciNicParams) SetHTTPClient(client *http.Client)
- func (o *AddVMPciNicParams) SetRequestBody(requestBody *models.VMOperatePciNicParams)
- func (o *AddVMPciNicParams) SetTimeout(timeout time.Duration)
- func (o *AddVMPciNicParams) WithContentLanguage(contentLanguage *string) *AddVMPciNicParams
- func (o *AddVMPciNicParams) WithContext(ctx context.Context) *AddVMPciNicParams
- func (o *AddVMPciNicParams) WithDefaults() *AddVMPciNicParams
- func (o *AddVMPciNicParams) WithHTTPClient(client *http.Client) *AddVMPciNicParams
- func (o *AddVMPciNicParams) WithRequestBody(requestBody *models.VMOperatePciNicParams) *AddVMPciNicParams
- func (o *AddVMPciNicParams) WithTimeout(timeout time.Duration) *AddVMPciNicParams
- func (o *AddVMPciNicParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AddVMPciNicReader
- type AddVMToFolderBadRequest
- type AddVMToFolderInternalServerError
- type AddVMToFolderNotFound
- type AddVMToFolderOK
- type AddVMToFolderParams
- func (o *AddVMToFolderParams) SetContentLanguage(contentLanguage *string)
- func (o *AddVMToFolderParams) SetContext(ctx context.Context)
- func (o *AddVMToFolderParams) SetDefaults()
- func (o *AddVMToFolderParams) SetHTTPClient(client *http.Client)
- func (o *AddVMToFolderParams) SetRequestBody(requestBody *models.VMAddFolderParams)
- func (o *AddVMToFolderParams) SetTimeout(timeout time.Duration)
- func (o *AddVMToFolderParams) WithContentLanguage(contentLanguage *string) *AddVMToFolderParams
- func (o *AddVMToFolderParams) WithContext(ctx context.Context) *AddVMToFolderParams
- func (o *AddVMToFolderParams) WithDefaults() *AddVMToFolderParams
- func (o *AddVMToFolderParams) WithHTTPClient(client *http.Client) *AddVMToFolderParams
- func (o *AddVMToFolderParams) WithRequestBody(requestBody *models.VMAddFolderParams) *AddVMToFolderParams
- func (o *AddVMToFolderParams) WithTimeout(timeout time.Duration) *AddVMToFolderParams
- func (o *AddVMToFolderParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AddVMToFolderReader
- type Client
- func (a *Client) AbortMigrateVMAcrossCluster(params *AbortMigrateVMAcrossClusterParams, opts ...ClientOption) (*AbortMigrateVMAcrossClusterOK, error)
- func (a *Client) AddVMCdRom(params *AddVMCdRomParams, opts ...ClientOption) (*AddVMCdRomOK, error)
- func (a *Client) AddVMDisk(params *AddVMDiskParams, opts ...ClientOption) (*AddVMDiskOK, error)
- func (a *Client) AddVMGpuDevice(params *AddVMGpuDeviceParams, opts ...ClientOption) (*AddVMGpuDeviceOK, error)
- func (a *Client) AddVMNic(params *AddVMNicParams, opts ...ClientOption) (*AddVMNicOK, error)
- func (a *Client) AddVMPciNic(params *AddVMPciNicParams, opts ...ClientOption) (*AddVMPciNicOK, error)
- func (a *Client) AddVMToFolder(params *AddVMToFolderParams, opts ...ClientOption) (*AddVMToFolderOK, error)
- func (a *Client) CloneVM(params *CloneVMParams, opts ...ClientOption) (*CloneVMOK, error)
- func (a *Client) ConvertVMTemplateToVM(params *ConvertVMTemplateToVMParams, opts ...ClientOption) (*ConvertVMTemplateToVMOK, error)
- func (a *Client) CreateVM(params *CreateVMParams, opts ...ClientOption) (*CreateVMOK, error)
- func (a *Client) CreateVMFromContentLibraryTemplate(params *CreateVMFromContentLibraryTemplateParams, opts ...ClientOption) (*CreateVMFromContentLibraryTemplateOK, error)
- func (a *Client) CreateVMFromTemplate(params *CreateVMFromTemplateParams, opts ...ClientOption) (*CreateVMFromTemplateOK, error)
- func (a *Client) DeleteVM(params *DeleteVMParams, opts ...ClientOption) (*DeleteVMOK, error)
- func (a *Client) EjectIsoFromVMCdRom(params *EjectIsoFromVMCdRomParams, opts ...ClientOption) (*EjectIsoFromVMCdRomOK, error)
- func (a *Client) ExpandVMDisk(params *ExpandVMDiskParams, opts ...ClientOption) (*ExpandVMDiskOK, error)
- func (a *Client) ExportVM(params *ExportVMParams, opts ...ClientOption) (*ExportVMOK, error)
- func (a *Client) ForceRestartVM(params *ForceRestartVMParams, opts ...ClientOption) (*ForceRestartVMOK, error)
- func (a *Client) GetVms(params *GetVmsParams, opts ...ClientOption) (*GetVmsOK, error)
- func (a *Client) GetVmsConnection(params *GetVmsConnectionParams, opts ...ClientOption) (*GetVmsConnectionOK, error)
- func (a *Client) ImportVM(params *ImportVMParams, opts ...ClientOption) (*ImportVMOK, error)
- func (a *Client) InstallVmtools(params *InstallVmtoolsParams, opts ...ClientOption) (*InstallVmtoolsOK, error)
- func (a *Client) MigrateVM(params *MigrateVMParams, opts ...ClientOption) (*MigrateVMOK, error)
- func (a *Client) MigrateVMAcrossCluster(params *MigrateVMAcrossClusterParams, opts ...ClientOption) (*MigrateVMAcrossClusterOK, error)
- func (a *Client) MoveVMToRecycleBin(params *MoveVMToRecycleBinParams, opts ...ClientOption) (*MoveVMToRecycleBinOK, error)
- func (a *Client) PoweroffVM(params *PoweroffVMParams, opts ...ClientOption) (*PoweroffVMOK, error)
- func (a *Client) RebuildVM(params *RebuildVMParams, opts ...ClientOption) (*RebuildVMOK, error)
- func (a *Client) RecoverVMFromRecycleBin(params *RecoverVMFromRecycleBinParams, opts ...ClientOption) (*RecoverVMFromRecycleBinOK, error)
- func (a *Client) RemoveVMCdRom(params *RemoveVMCdRomParams, opts ...ClientOption) (*RemoveVMCdRomOK, error)
- func (a *Client) RemoveVMDisk(params *RemoveVMDiskParams, opts ...ClientOption) (*RemoveVMDiskOK, error)
- func (a *Client) RemoveVMGpuDevice(params *RemoveVMGpuDeviceParams, opts ...ClientOption) (*RemoveVMGpuDeviceOK, error)
- func (a *Client) RemoveVMNic(params *RemoveVMNicParams, opts ...ClientOption) (*RemoveVMNicOK, error)
- func (a *Client) RemoveVMNicByWhere(params *RemoveVMNicByWhereParams, opts ...ClientOption) (*RemoveVMNicByWhereOK, error)
- func (a *Client) RemoveVMPciNic(params *RemoveVMPciNicParams, opts ...ClientOption) (*RemoveVMPciNicOK, error)
- func (a *Client) RemoveVMToFolder(params *RemoveVMToFolderParams, opts ...ClientOption) (*RemoveVMToFolderOK, error)
- func (a *Client) ResetVMGuestOsPassword(params *ResetVMGuestOsPasswordParams, opts ...ClientOption) (*ResetVMGuestOsPasswordOK, error)
- func (a *Client) RestartVM(params *RestartVMParams, opts ...ClientOption) (*RestartVMOK, error)
- func (a *Client) ResumeVM(params *ResumeVMParams, opts ...ClientOption) (*ResumeVMOK, error)
- func (a *Client) RollbackVM(params *RollbackVMParams, opts ...ClientOption) (*RollbackVMOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) ShutDownVM(params *ShutDownVMParams, opts ...ClientOption) (*ShutDownVMOK, error)
- func (a *Client) StartVM(params *StartVMParams, opts ...ClientOption) (*StartVMOK, error)
- func (a *Client) StopVMInCutoverMigration(params *StopVMInCutoverMigrationParams, opts ...ClientOption) (*StopVMInCutoverMigrationOK, error)
- func (a *Client) SuspendVM(params *SuspendVMParams, opts ...ClientOption) (*SuspendVMOK, error)
- func (a *Client) ToggleVMCdRomDisable(params *ToggleVMCdRomDisableParams, opts ...ClientOption) (*ToggleVMCdRomDisableOK, error)
- func (a *Client) UpdateVM(params *UpdateVMParams, opts ...ClientOption) (*UpdateVMOK, error)
- func (a *Client) UpdateVMAdvancedOptions(params *UpdateVMAdvancedOptionsParams, opts ...ClientOption) (*UpdateVMAdvancedOptionsOK, error)
- func (a *Client) UpdateVMDisk(params *UpdateVMDiskParams, opts ...ClientOption) (*UpdateVMDiskOK, error)
- func (a *Client) UpdateVMHostOptions(params *UpdateVMHostOptionsParams, opts ...ClientOption) (*UpdateVMHostOptionsOK, error)
- func (a *Client) UpdateVMIoPolicy(params *UpdateVMIoPolicyParams, opts ...ClientOption) (*UpdateVMIoPolicyOK, error)
- func (a *Client) UpdateVMNic(params *UpdateVMNicParams, opts ...ClientOption) (*UpdateVMNicOK, error)
- func (a *Client) UpdateVMNicAdvanceInfo(params *UpdateVMNicAdvanceInfoParams, opts ...ClientOption) (*UpdateVMNicAdvanceInfoOK, error)
- func (a *Client) UpdateVMNicBasicInfo(params *UpdateVMNicBasicInfoParams, opts ...ClientOption) (*UpdateVMNicBasicInfoOK, error)
- func (a *Client) UpdateVMNicQosOption(params *UpdateVMNicQosOptionParams, opts ...ClientOption) (*UpdateVMNicQosOptionOK, error)
- func (a *Client) UpdateVMOwner(params *UpdateVMOwnerParams, opts ...ClientOption) (*UpdateVMOwnerOK, error)
- type ClientOption
- type ClientService
- type CloneVMBadRequest
- type CloneVMInternalServerError
- type CloneVMNotFound
- type CloneVMOK
- type CloneVMParams
- func (o *CloneVMParams) SetContentLanguage(contentLanguage *string)
- func (o *CloneVMParams) SetContext(ctx context.Context)
- func (o *CloneVMParams) SetDefaults()
- func (o *CloneVMParams) SetHTTPClient(client *http.Client)
- func (o *CloneVMParams) SetRequestBody(requestBody []*models.VMCloneParams)
- func (o *CloneVMParams) SetTimeout(timeout time.Duration)
- func (o *CloneVMParams) WithContentLanguage(contentLanguage *string) *CloneVMParams
- func (o *CloneVMParams) WithContext(ctx context.Context) *CloneVMParams
- func (o *CloneVMParams) WithDefaults() *CloneVMParams
- func (o *CloneVMParams) WithHTTPClient(client *http.Client) *CloneVMParams
- func (o *CloneVMParams) WithRequestBody(requestBody []*models.VMCloneParams) *CloneVMParams
- func (o *CloneVMParams) WithTimeout(timeout time.Duration) *CloneVMParams
- func (o *CloneVMParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CloneVMReader
- type ConvertVMTemplateToVMBadRequest
- type ConvertVMTemplateToVMInternalServerError
- type ConvertVMTemplateToVMNotFound
- type ConvertVMTemplateToVMOK
- type ConvertVMTemplateToVMParams
- func NewConvertVMTemplateToVMParams() *ConvertVMTemplateToVMParams
- func NewConvertVMTemplateToVMParamsWithContext(ctx context.Context) *ConvertVMTemplateToVMParams
- func NewConvertVMTemplateToVMParamsWithHTTPClient(client *http.Client) *ConvertVMTemplateToVMParams
- func NewConvertVMTemplateToVMParamsWithTimeout(timeout time.Duration) *ConvertVMTemplateToVMParams
- func (o *ConvertVMTemplateToVMParams) SetContentLanguage(contentLanguage *string)
- func (o *ConvertVMTemplateToVMParams) SetContext(ctx context.Context)
- func (o *ConvertVMTemplateToVMParams) SetDefaults()
- func (o *ConvertVMTemplateToVMParams) SetHTTPClient(client *http.Client)
- func (o *ConvertVMTemplateToVMParams) SetRequestBody(requestBody []*models.ConvertVMTemplateToVMParams)
- func (o *ConvertVMTemplateToVMParams) SetTimeout(timeout time.Duration)
- func (o *ConvertVMTemplateToVMParams) WithContentLanguage(contentLanguage *string) *ConvertVMTemplateToVMParams
- func (o *ConvertVMTemplateToVMParams) WithContext(ctx context.Context) *ConvertVMTemplateToVMParams
- func (o *ConvertVMTemplateToVMParams) WithDefaults() *ConvertVMTemplateToVMParams
- func (o *ConvertVMTemplateToVMParams) WithHTTPClient(client *http.Client) *ConvertVMTemplateToVMParams
- func (o *ConvertVMTemplateToVMParams) WithRequestBody(requestBody []*models.ConvertVMTemplateToVMParams) *ConvertVMTemplateToVMParams
- func (o *ConvertVMTemplateToVMParams) WithTimeout(timeout time.Duration) *ConvertVMTemplateToVMParams
- func (o *ConvertVMTemplateToVMParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ConvertVMTemplateToVMReader
- type CreateVMBadRequest
- type CreateVMFromContentLibraryTemplateBadRequest
- type CreateVMFromContentLibraryTemplateInternalServerError
- type CreateVMFromContentLibraryTemplateNotFound
- type CreateVMFromContentLibraryTemplateOK
- type CreateVMFromContentLibraryTemplateParams
- func NewCreateVMFromContentLibraryTemplateParams() *CreateVMFromContentLibraryTemplateParams
- func NewCreateVMFromContentLibraryTemplateParamsWithContext(ctx context.Context) *CreateVMFromContentLibraryTemplateParams
- func NewCreateVMFromContentLibraryTemplateParamsWithHTTPClient(client *http.Client) *CreateVMFromContentLibraryTemplateParams
- func NewCreateVMFromContentLibraryTemplateParamsWithTimeout(timeout time.Duration) *CreateVMFromContentLibraryTemplateParams
- func (o *CreateVMFromContentLibraryTemplateParams) SetContentLanguage(contentLanguage *string)
- func (o *CreateVMFromContentLibraryTemplateParams) SetContext(ctx context.Context)
- func (o *CreateVMFromContentLibraryTemplateParams) SetDefaults()
- func (o *CreateVMFromContentLibraryTemplateParams) SetHTTPClient(client *http.Client)
- func (o *CreateVMFromContentLibraryTemplateParams) SetRequestBody(requestBody []*models.VMCreateVMFromContentLibraryTemplateParams)
- func (o *CreateVMFromContentLibraryTemplateParams) SetTimeout(timeout time.Duration)
- func (o *CreateVMFromContentLibraryTemplateParams) WithContentLanguage(contentLanguage *string) *CreateVMFromContentLibraryTemplateParams
- func (o *CreateVMFromContentLibraryTemplateParams) WithContext(ctx context.Context) *CreateVMFromContentLibraryTemplateParams
- func (o *CreateVMFromContentLibraryTemplateParams) WithDefaults() *CreateVMFromContentLibraryTemplateParams
- func (o *CreateVMFromContentLibraryTemplateParams) WithHTTPClient(client *http.Client) *CreateVMFromContentLibraryTemplateParams
- func (o *CreateVMFromContentLibraryTemplateParams) WithRequestBody(requestBody []*models.VMCreateVMFromContentLibraryTemplateParams) *CreateVMFromContentLibraryTemplateParams
- func (o *CreateVMFromContentLibraryTemplateParams) WithTimeout(timeout time.Duration) *CreateVMFromContentLibraryTemplateParams
- func (o *CreateVMFromContentLibraryTemplateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateVMFromContentLibraryTemplateReader
- type CreateVMFromTemplateBadRequest
- type CreateVMFromTemplateInternalServerError
- type CreateVMFromTemplateNotFound
- type CreateVMFromTemplateOK
- type CreateVMFromTemplateParams
- func NewCreateVMFromTemplateParams() *CreateVMFromTemplateParams
- func NewCreateVMFromTemplateParamsWithContext(ctx context.Context) *CreateVMFromTemplateParams
- func NewCreateVMFromTemplateParamsWithHTTPClient(client *http.Client) *CreateVMFromTemplateParams
- func NewCreateVMFromTemplateParamsWithTimeout(timeout time.Duration) *CreateVMFromTemplateParams
- func (o *CreateVMFromTemplateParams) SetContentLanguage(contentLanguage *string)
- func (o *CreateVMFromTemplateParams) SetContext(ctx context.Context)
- func (o *CreateVMFromTemplateParams) SetDefaults()
- func (o *CreateVMFromTemplateParams) SetHTTPClient(client *http.Client)
- func (o *CreateVMFromTemplateParams) SetRequestBody(requestBody []*models.VMCreateVMFromTemplateParams)
- func (o *CreateVMFromTemplateParams) SetTimeout(timeout time.Duration)
- func (o *CreateVMFromTemplateParams) WithContentLanguage(contentLanguage *string) *CreateVMFromTemplateParams
- func (o *CreateVMFromTemplateParams) WithContext(ctx context.Context) *CreateVMFromTemplateParams
- func (o *CreateVMFromTemplateParams) WithDefaults() *CreateVMFromTemplateParams
- func (o *CreateVMFromTemplateParams) WithHTTPClient(client *http.Client) *CreateVMFromTemplateParams
- func (o *CreateVMFromTemplateParams) WithRequestBody(requestBody []*models.VMCreateVMFromTemplateParams) *CreateVMFromTemplateParams
- func (o *CreateVMFromTemplateParams) WithTimeout(timeout time.Duration) *CreateVMFromTemplateParams
- func (o *CreateVMFromTemplateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateVMFromTemplateReader
- type CreateVMInternalServerError
- type CreateVMNotFound
- type CreateVMOK
- type CreateVMParams
- func (o *CreateVMParams) SetContentLanguage(contentLanguage *string)
- func (o *CreateVMParams) SetContext(ctx context.Context)
- func (o *CreateVMParams) SetDefaults()
- func (o *CreateVMParams) SetHTTPClient(client *http.Client)
- func (o *CreateVMParams) SetRequestBody(requestBody []*models.VMCreationParams)
- func (o *CreateVMParams) SetTimeout(timeout time.Duration)
- func (o *CreateVMParams) WithContentLanguage(contentLanguage *string) *CreateVMParams
- func (o *CreateVMParams) WithContext(ctx context.Context) *CreateVMParams
- func (o *CreateVMParams) WithDefaults() *CreateVMParams
- func (o *CreateVMParams) WithHTTPClient(client *http.Client) *CreateVMParams
- func (o *CreateVMParams) WithRequestBody(requestBody []*models.VMCreationParams) *CreateVMParams
- func (o *CreateVMParams) WithTimeout(timeout time.Duration) *CreateVMParams
- func (o *CreateVMParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateVMReader
- type DeleteVMBadRequest
- type DeleteVMInternalServerError
- type DeleteVMNotFound
- type DeleteVMOK
- type DeleteVMParams
- func (o *DeleteVMParams) SetContentLanguage(contentLanguage *string)
- func (o *DeleteVMParams) SetContext(ctx context.Context)
- func (o *DeleteVMParams) SetDefaults()
- func (o *DeleteVMParams) SetHTTPClient(client *http.Client)
- func (o *DeleteVMParams) SetRequestBody(requestBody *models.VMDeleteParams)
- func (o *DeleteVMParams) SetTimeout(timeout time.Duration)
- func (o *DeleteVMParams) WithContentLanguage(contentLanguage *string) *DeleteVMParams
- func (o *DeleteVMParams) WithContext(ctx context.Context) *DeleteVMParams
- func (o *DeleteVMParams) WithDefaults() *DeleteVMParams
- func (o *DeleteVMParams) WithHTTPClient(client *http.Client) *DeleteVMParams
- func (o *DeleteVMParams) WithRequestBody(requestBody *models.VMDeleteParams) *DeleteVMParams
- func (o *DeleteVMParams) WithTimeout(timeout time.Duration) *DeleteVMParams
- func (o *DeleteVMParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteVMReader
- type EjectIsoFromVMCdRomBadRequest
- type EjectIsoFromVMCdRomInternalServerError
- type EjectIsoFromVMCdRomNotFound
- type EjectIsoFromVMCdRomOK
- type EjectIsoFromVMCdRomParams
- func NewEjectIsoFromVMCdRomParams() *EjectIsoFromVMCdRomParams
- func NewEjectIsoFromVMCdRomParamsWithContext(ctx context.Context) *EjectIsoFromVMCdRomParams
- func NewEjectIsoFromVMCdRomParamsWithHTTPClient(client *http.Client) *EjectIsoFromVMCdRomParams
- func NewEjectIsoFromVMCdRomParamsWithTimeout(timeout time.Duration) *EjectIsoFromVMCdRomParams
- func (o *EjectIsoFromVMCdRomParams) SetContentLanguage(contentLanguage *string)
- func (o *EjectIsoFromVMCdRomParams) SetContext(ctx context.Context)
- func (o *EjectIsoFromVMCdRomParams) SetDefaults()
- func (o *EjectIsoFromVMCdRomParams) SetHTTPClient(client *http.Client)
- func (o *EjectIsoFromVMCdRomParams) SetRequestBody(requestBody *models.VMEjectCdRomParams)
- func (o *EjectIsoFromVMCdRomParams) SetTimeout(timeout time.Duration)
- func (o *EjectIsoFromVMCdRomParams) WithContentLanguage(contentLanguage *string) *EjectIsoFromVMCdRomParams
- func (o *EjectIsoFromVMCdRomParams) WithContext(ctx context.Context) *EjectIsoFromVMCdRomParams
- func (o *EjectIsoFromVMCdRomParams) WithDefaults() *EjectIsoFromVMCdRomParams
- func (o *EjectIsoFromVMCdRomParams) WithHTTPClient(client *http.Client) *EjectIsoFromVMCdRomParams
- func (o *EjectIsoFromVMCdRomParams) WithRequestBody(requestBody *models.VMEjectCdRomParams) *EjectIsoFromVMCdRomParams
- func (o *EjectIsoFromVMCdRomParams) WithTimeout(timeout time.Duration) *EjectIsoFromVMCdRomParams
- func (o *EjectIsoFromVMCdRomParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type EjectIsoFromVMCdRomReader
- type ExpandVMDiskBadRequest
- type ExpandVMDiskInternalServerError
- type ExpandVMDiskNotFound
- type ExpandVMDiskOK
- type ExpandVMDiskParams
- func (o *ExpandVMDiskParams) SetContentLanguage(contentLanguage *string)
- func (o *ExpandVMDiskParams) SetContext(ctx context.Context)
- func (o *ExpandVMDiskParams) SetDefaults()
- func (o *ExpandVMDiskParams) SetHTTPClient(client *http.Client)
- func (o *ExpandVMDiskParams) SetRequestBody(requestBody *models.VMExpandVMDiskParams)
- func (o *ExpandVMDiskParams) SetTimeout(timeout time.Duration)
- func (o *ExpandVMDiskParams) WithContentLanguage(contentLanguage *string) *ExpandVMDiskParams
- func (o *ExpandVMDiskParams) WithContext(ctx context.Context) *ExpandVMDiskParams
- func (o *ExpandVMDiskParams) WithDefaults() *ExpandVMDiskParams
- func (o *ExpandVMDiskParams) WithHTTPClient(client *http.Client) *ExpandVMDiskParams
- func (o *ExpandVMDiskParams) WithRequestBody(requestBody *models.VMExpandVMDiskParams) *ExpandVMDiskParams
- func (o *ExpandVMDiskParams) WithTimeout(timeout time.Duration) *ExpandVMDiskParams
- func (o *ExpandVMDiskParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ExpandVMDiskReader
- type ExportVMBadRequest
- type ExportVMInternalServerError
- type ExportVMNotFound
- type ExportVMNotModified
- type ExportVMOK
- type ExportVMParams
- func (o *ExportVMParams) SetContentLanguage(contentLanguage *string)
- func (o *ExportVMParams) SetContext(ctx context.Context)
- func (o *ExportVMParams) SetDefaults()
- func (o *ExportVMParams) SetHTTPClient(client *http.Client)
- func (o *ExportVMParams) SetRequestBody(requestBody *models.VMExportParams)
- func (o *ExportVMParams) SetTimeout(timeout time.Duration)
- func (o *ExportVMParams) WithContentLanguage(contentLanguage *string) *ExportVMParams
- func (o *ExportVMParams) WithContext(ctx context.Context) *ExportVMParams
- func (o *ExportVMParams) WithDefaults() *ExportVMParams
- func (o *ExportVMParams) WithHTTPClient(client *http.Client) *ExportVMParams
- func (o *ExportVMParams) WithRequestBody(requestBody *models.VMExportParams) *ExportVMParams
- func (o *ExportVMParams) WithTimeout(timeout time.Duration) *ExportVMParams
- func (o *ExportVMParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ExportVMReader
- type ForceRestartVMBadRequest
- type ForceRestartVMInternalServerError
- type ForceRestartVMNotFound
- type ForceRestartVMOK
- type ForceRestartVMParams
- func NewForceRestartVMParams() *ForceRestartVMParams
- func NewForceRestartVMParamsWithContext(ctx context.Context) *ForceRestartVMParams
- func NewForceRestartVMParamsWithHTTPClient(client *http.Client) *ForceRestartVMParams
- func NewForceRestartVMParamsWithTimeout(timeout time.Duration) *ForceRestartVMParams
- func (o *ForceRestartVMParams) SetContentLanguage(contentLanguage *string)
- func (o *ForceRestartVMParams) SetContext(ctx context.Context)
- func (o *ForceRestartVMParams) SetDefaults()
- func (o *ForceRestartVMParams) SetHTTPClient(client *http.Client)
- func (o *ForceRestartVMParams) SetRequestBody(requestBody *models.VMOperateParams)
- func (o *ForceRestartVMParams) SetTimeout(timeout time.Duration)
- func (o *ForceRestartVMParams) WithContentLanguage(contentLanguage *string) *ForceRestartVMParams
- func (o *ForceRestartVMParams) WithContext(ctx context.Context) *ForceRestartVMParams
- func (o *ForceRestartVMParams) WithDefaults() *ForceRestartVMParams
- func (o *ForceRestartVMParams) WithHTTPClient(client *http.Client) *ForceRestartVMParams
- func (o *ForceRestartVMParams) WithRequestBody(requestBody *models.VMOperateParams) *ForceRestartVMParams
- func (o *ForceRestartVMParams) WithTimeout(timeout time.Duration) *ForceRestartVMParams
- func (o *ForceRestartVMParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ForceRestartVMReader
- type GetVmsBadRequest
- type GetVmsConnectionBadRequest
- type GetVmsConnectionInternalServerError
- type GetVmsConnectionNotFound
- type GetVmsConnectionOK
- type GetVmsConnectionParams
- func NewGetVmsConnectionParams() *GetVmsConnectionParams
- func NewGetVmsConnectionParamsWithContext(ctx context.Context) *GetVmsConnectionParams
- func NewGetVmsConnectionParamsWithHTTPClient(client *http.Client) *GetVmsConnectionParams
- func NewGetVmsConnectionParamsWithTimeout(timeout time.Duration) *GetVmsConnectionParams
- func (o *GetVmsConnectionParams) SetContentLanguage(contentLanguage *string)
- func (o *GetVmsConnectionParams) SetContext(ctx context.Context)
- func (o *GetVmsConnectionParams) SetDefaults()
- func (o *GetVmsConnectionParams) SetHTTPClient(client *http.Client)
- func (o *GetVmsConnectionParams) SetRequestBody(requestBody *models.GetVmsConnectionRequestBody)
- func (o *GetVmsConnectionParams) SetTimeout(timeout time.Duration)
- func (o *GetVmsConnectionParams) WithContentLanguage(contentLanguage *string) *GetVmsConnectionParams
- func (o *GetVmsConnectionParams) WithContext(ctx context.Context) *GetVmsConnectionParams
- func (o *GetVmsConnectionParams) WithDefaults() *GetVmsConnectionParams
- func (o *GetVmsConnectionParams) WithHTTPClient(client *http.Client) *GetVmsConnectionParams
- func (o *GetVmsConnectionParams) WithRequestBody(requestBody *models.GetVmsConnectionRequestBody) *GetVmsConnectionParams
- func (o *GetVmsConnectionParams) WithTimeout(timeout time.Duration) *GetVmsConnectionParams
- func (o *GetVmsConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetVmsConnectionReader
- type GetVmsInternalServerError
- type GetVmsNotFound
- type GetVmsOK
- type GetVmsParams
- func (o *GetVmsParams) SetContentLanguage(contentLanguage *string)
- func (o *GetVmsParams) SetContext(ctx context.Context)
- func (o *GetVmsParams) SetDefaults()
- func (o *GetVmsParams) SetHTTPClient(client *http.Client)
- func (o *GetVmsParams) SetRequestBody(requestBody *models.GetVmsRequestBody)
- func (o *GetVmsParams) SetTimeout(timeout time.Duration)
- func (o *GetVmsParams) WithContentLanguage(contentLanguage *string) *GetVmsParams
- func (o *GetVmsParams) WithContext(ctx context.Context) *GetVmsParams
- func (o *GetVmsParams) WithDefaults() *GetVmsParams
- func (o *GetVmsParams) WithHTTPClient(client *http.Client) *GetVmsParams
- func (o *GetVmsParams) WithRequestBody(requestBody *models.GetVmsRequestBody) *GetVmsParams
- func (o *GetVmsParams) WithTimeout(timeout time.Duration) *GetVmsParams
- func (o *GetVmsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetVmsReader
- type ImportVMBadRequest
- type ImportVMInternalServerError
- type ImportVMNotFound
- type ImportVMOK
- type ImportVMParams
- func (o *ImportVMParams) SetContentLanguage(contentLanguage *string)
- func (o *ImportVMParams) SetContext(ctx context.Context)
- func (o *ImportVMParams) SetDefaults()
- func (o *ImportVMParams) SetHTTPClient(client *http.Client)
- func (o *ImportVMParams) SetRequestBody(requestBody []*models.VMImportParams)
- func (o *ImportVMParams) SetTimeout(timeout time.Duration)
- func (o *ImportVMParams) WithContentLanguage(contentLanguage *string) *ImportVMParams
- func (o *ImportVMParams) WithContext(ctx context.Context) *ImportVMParams
- func (o *ImportVMParams) WithDefaults() *ImportVMParams
- func (o *ImportVMParams) WithHTTPClient(client *http.Client) *ImportVMParams
- func (o *ImportVMParams) WithRequestBody(requestBody []*models.VMImportParams) *ImportVMParams
- func (o *ImportVMParams) WithTimeout(timeout time.Duration) *ImportVMParams
- func (o *ImportVMParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ImportVMReader
- type InstallVmtoolsBadRequest
- type InstallVmtoolsInternalServerError
- type InstallVmtoolsNotFound
- type InstallVmtoolsOK
- type InstallVmtoolsParams
- func NewInstallVmtoolsParams() *InstallVmtoolsParams
- func NewInstallVmtoolsParamsWithContext(ctx context.Context) *InstallVmtoolsParams
- func NewInstallVmtoolsParamsWithHTTPClient(client *http.Client) *InstallVmtoolsParams
- func NewInstallVmtoolsParamsWithTimeout(timeout time.Duration) *InstallVmtoolsParams
- func (o *InstallVmtoolsParams) SetContentLanguage(contentLanguage *string)
- func (o *InstallVmtoolsParams) SetContext(ctx context.Context)
- func (o *InstallVmtoolsParams) SetDefaults()
- func (o *InstallVmtoolsParams) SetHTTPClient(client *http.Client)
- func (o *InstallVmtoolsParams) SetRequestBody(requestBody *models.InstallVmtoolsParams)
- func (o *InstallVmtoolsParams) SetTimeout(timeout time.Duration)
- func (o *InstallVmtoolsParams) WithContentLanguage(contentLanguage *string) *InstallVmtoolsParams
- func (o *InstallVmtoolsParams) WithContext(ctx context.Context) *InstallVmtoolsParams
- func (o *InstallVmtoolsParams) WithDefaults() *InstallVmtoolsParams
- func (o *InstallVmtoolsParams) WithHTTPClient(client *http.Client) *InstallVmtoolsParams
- func (o *InstallVmtoolsParams) WithRequestBody(requestBody *models.InstallVmtoolsParams) *InstallVmtoolsParams
- func (o *InstallVmtoolsParams) WithTimeout(timeout time.Duration) *InstallVmtoolsParams
- func (o *InstallVmtoolsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type InstallVmtoolsReader
- type MigrateVMAcrossClusterBadRequest
- type MigrateVMAcrossClusterInternalServerError
- type MigrateVMAcrossClusterNotFound
- type MigrateVMAcrossClusterNotModified
- type MigrateVMAcrossClusterOK
- type MigrateVMAcrossClusterParams
- func NewMigrateVMAcrossClusterParams() *MigrateVMAcrossClusterParams
- func NewMigrateVMAcrossClusterParamsWithContext(ctx context.Context) *MigrateVMAcrossClusterParams
- func NewMigrateVMAcrossClusterParamsWithHTTPClient(client *http.Client) *MigrateVMAcrossClusterParams
- func NewMigrateVMAcrossClusterParamsWithTimeout(timeout time.Duration) *MigrateVMAcrossClusterParams
- func (o *MigrateVMAcrossClusterParams) SetContentLanguage(contentLanguage *string)
- func (o *MigrateVMAcrossClusterParams) SetContext(ctx context.Context)
- func (o *MigrateVMAcrossClusterParams) SetDefaults()
- func (o *MigrateVMAcrossClusterParams) SetHTTPClient(client *http.Client)
- func (o *MigrateVMAcrossClusterParams) SetRequestBody(requestBody *models.VMMigrateAcrossClusterParams)
- func (o *MigrateVMAcrossClusterParams) SetTimeout(timeout time.Duration)
- func (o *MigrateVMAcrossClusterParams) WithContentLanguage(contentLanguage *string) *MigrateVMAcrossClusterParams
- func (o *MigrateVMAcrossClusterParams) WithContext(ctx context.Context) *MigrateVMAcrossClusterParams
- func (o *MigrateVMAcrossClusterParams) WithDefaults() *MigrateVMAcrossClusterParams
- func (o *MigrateVMAcrossClusterParams) WithHTTPClient(client *http.Client) *MigrateVMAcrossClusterParams
- func (o *MigrateVMAcrossClusterParams) WithRequestBody(requestBody *models.VMMigrateAcrossClusterParams) *MigrateVMAcrossClusterParams
- func (o *MigrateVMAcrossClusterParams) WithTimeout(timeout time.Duration) *MigrateVMAcrossClusterParams
- func (o *MigrateVMAcrossClusterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type MigrateVMAcrossClusterReader
- type MigrateVMBadRequest
- type MigrateVMInternalServerError
- type MigrateVMNotFound
- type MigrateVMOK
- type MigrateVMParams
- func (o *MigrateVMParams) SetContentLanguage(contentLanguage *string)
- func (o *MigrateVMParams) SetContext(ctx context.Context)
- func (o *MigrateVMParams) SetDefaults()
- func (o *MigrateVMParams) SetHTTPClient(client *http.Client)
- func (o *MigrateVMParams) SetRequestBody(requestBody *models.VMMigrateParams)
- func (o *MigrateVMParams) SetTimeout(timeout time.Duration)
- func (o *MigrateVMParams) WithContentLanguage(contentLanguage *string) *MigrateVMParams
- func (o *MigrateVMParams) WithContext(ctx context.Context) *MigrateVMParams
- func (o *MigrateVMParams) WithDefaults() *MigrateVMParams
- func (o *MigrateVMParams) WithHTTPClient(client *http.Client) *MigrateVMParams
- func (o *MigrateVMParams) WithRequestBody(requestBody *models.VMMigrateParams) *MigrateVMParams
- func (o *MigrateVMParams) WithTimeout(timeout time.Duration) *MigrateVMParams
- func (o *MigrateVMParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type MigrateVMReader
- type MoveVMToRecycleBinBadRequest
- type MoveVMToRecycleBinInternalServerError
- type MoveVMToRecycleBinNotFound
- type MoveVMToRecycleBinOK
- type MoveVMToRecycleBinParams
- func NewMoveVMToRecycleBinParams() *MoveVMToRecycleBinParams
- func NewMoveVMToRecycleBinParamsWithContext(ctx context.Context) *MoveVMToRecycleBinParams
- func NewMoveVMToRecycleBinParamsWithHTTPClient(client *http.Client) *MoveVMToRecycleBinParams
- func NewMoveVMToRecycleBinParamsWithTimeout(timeout time.Duration) *MoveVMToRecycleBinParams
- func (o *MoveVMToRecycleBinParams) SetContentLanguage(contentLanguage *string)
- func (o *MoveVMToRecycleBinParams) SetContext(ctx context.Context)
- func (o *MoveVMToRecycleBinParams) SetDefaults()
- func (o *MoveVMToRecycleBinParams) SetHTTPClient(client *http.Client)
- func (o *MoveVMToRecycleBinParams) SetRequestBody(requestBody *models.VMOperateParams)
- func (o *MoveVMToRecycleBinParams) SetTimeout(timeout time.Duration)
- func (o *MoveVMToRecycleBinParams) WithContentLanguage(contentLanguage *string) *MoveVMToRecycleBinParams
- func (o *MoveVMToRecycleBinParams) WithContext(ctx context.Context) *MoveVMToRecycleBinParams
- func (o *MoveVMToRecycleBinParams) WithDefaults() *MoveVMToRecycleBinParams
- func (o *MoveVMToRecycleBinParams) WithHTTPClient(client *http.Client) *MoveVMToRecycleBinParams
- func (o *MoveVMToRecycleBinParams) WithRequestBody(requestBody *models.VMOperateParams) *MoveVMToRecycleBinParams
- func (o *MoveVMToRecycleBinParams) WithTimeout(timeout time.Duration) *MoveVMToRecycleBinParams
- func (o *MoveVMToRecycleBinParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type MoveVMToRecycleBinReader
- type PoweroffVMBadRequest
- type PoweroffVMInternalServerError
- type PoweroffVMNotFound
- type PoweroffVMOK
- type PoweroffVMParams
- func (o *PoweroffVMParams) SetContentLanguage(contentLanguage *string)
- func (o *PoweroffVMParams) SetContext(ctx context.Context)
- func (o *PoweroffVMParams) SetDefaults()
- func (o *PoweroffVMParams) SetHTTPClient(client *http.Client)
- func (o *PoweroffVMParams) SetRequestBody(requestBody *models.VMOperateParams)
- func (o *PoweroffVMParams) SetTimeout(timeout time.Duration)
- func (o *PoweroffVMParams) WithContentLanguage(contentLanguage *string) *PoweroffVMParams
- func (o *PoweroffVMParams) WithContext(ctx context.Context) *PoweroffVMParams
- func (o *PoweroffVMParams) WithDefaults() *PoweroffVMParams
- func (o *PoweroffVMParams) WithHTTPClient(client *http.Client) *PoweroffVMParams
- func (o *PoweroffVMParams) WithRequestBody(requestBody *models.VMOperateParams) *PoweroffVMParams
- func (o *PoweroffVMParams) WithTimeout(timeout time.Duration) *PoweroffVMParams
- func (o *PoweroffVMParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PoweroffVMReader
- type RebuildVMBadRequest
- type RebuildVMInternalServerError
- type RebuildVMNotFound
- type RebuildVMOK
- type RebuildVMParams
- func (o *RebuildVMParams) SetContentLanguage(contentLanguage *string)
- func (o *RebuildVMParams) SetContext(ctx context.Context)
- func (o *RebuildVMParams) SetDefaults()
- func (o *RebuildVMParams) SetHTTPClient(client *http.Client)
- func (o *RebuildVMParams) SetRequestBody(requestBody []*models.VMRebuildParams)
- func (o *RebuildVMParams) SetTimeout(timeout time.Duration)
- func (o *RebuildVMParams) WithContentLanguage(contentLanguage *string) *RebuildVMParams
- func (o *RebuildVMParams) WithContext(ctx context.Context) *RebuildVMParams
- func (o *RebuildVMParams) WithDefaults() *RebuildVMParams
- func (o *RebuildVMParams) WithHTTPClient(client *http.Client) *RebuildVMParams
- func (o *RebuildVMParams) WithRequestBody(requestBody []*models.VMRebuildParams) *RebuildVMParams
- func (o *RebuildVMParams) WithTimeout(timeout time.Duration) *RebuildVMParams
- func (o *RebuildVMParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RebuildVMReader
- type RecoverVMFromRecycleBinBadRequest
- type RecoverVMFromRecycleBinInternalServerError
- type RecoverVMFromRecycleBinNotFound
- type RecoverVMFromRecycleBinOK
- type RecoverVMFromRecycleBinParams
- func NewRecoverVMFromRecycleBinParams() *RecoverVMFromRecycleBinParams
- func NewRecoverVMFromRecycleBinParamsWithContext(ctx context.Context) *RecoverVMFromRecycleBinParams
- func NewRecoverVMFromRecycleBinParamsWithHTTPClient(client *http.Client) *RecoverVMFromRecycleBinParams
- func NewRecoverVMFromRecycleBinParamsWithTimeout(timeout time.Duration) *RecoverVMFromRecycleBinParams
- func (o *RecoverVMFromRecycleBinParams) SetContentLanguage(contentLanguage *string)
- func (o *RecoverVMFromRecycleBinParams) SetContext(ctx context.Context)
- func (o *RecoverVMFromRecycleBinParams) SetDefaults()
- func (o *RecoverVMFromRecycleBinParams) SetHTTPClient(client *http.Client)
- func (o *RecoverVMFromRecycleBinParams) SetRequestBody(requestBody *models.VMOperateParams)
- func (o *RecoverVMFromRecycleBinParams) SetTimeout(timeout time.Duration)
- func (o *RecoverVMFromRecycleBinParams) WithContentLanguage(contentLanguage *string) *RecoverVMFromRecycleBinParams
- func (o *RecoverVMFromRecycleBinParams) WithContext(ctx context.Context) *RecoverVMFromRecycleBinParams
- func (o *RecoverVMFromRecycleBinParams) WithDefaults() *RecoverVMFromRecycleBinParams
- func (o *RecoverVMFromRecycleBinParams) WithHTTPClient(client *http.Client) *RecoverVMFromRecycleBinParams
- func (o *RecoverVMFromRecycleBinParams) WithRequestBody(requestBody *models.VMOperateParams) *RecoverVMFromRecycleBinParams
- func (o *RecoverVMFromRecycleBinParams) WithTimeout(timeout time.Duration) *RecoverVMFromRecycleBinParams
- func (o *RecoverVMFromRecycleBinParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RecoverVMFromRecycleBinReader
- type RemoveVMCdRomBadRequest
- type RemoveVMCdRomInternalServerError
- type RemoveVMCdRomNotFound
- type RemoveVMCdRomOK
- type RemoveVMCdRomParams
- func (o *RemoveVMCdRomParams) SetContentLanguage(contentLanguage *string)
- func (o *RemoveVMCdRomParams) SetContext(ctx context.Context)
- func (o *RemoveVMCdRomParams) SetDefaults()
- func (o *RemoveVMCdRomParams) SetHTTPClient(client *http.Client)
- func (o *RemoveVMCdRomParams) SetRequestBody(requestBody *models.VMRemoveCdRomParams)
- func (o *RemoveVMCdRomParams) SetTimeout(timeout time.Duration)
- func (o *RemoveVMCdRomParams) WithContentLanguage(contentLanguage *string) *RemoveVMCdRomParams
- func (o *RemoveVMCdRomParams) WithContext(ctx context.Context) *RemoveVMCdRomParams
- func (o *RemoveVMCdRomParams) WithDefaults() *RemoveVMCdRomParams
- func (o *RemoveVMCdRomParams) WithHTTPClient(client *http.Client) *RemoveVMCdRomParams
- func (o *RemoveVMCdRomParams) WithRequestBody(requestBody *models.VMRemoveCdRomParams) *RemoveVMCdRomParams
- func (o *RemoveVMCdRomParams) WithTimeout(timeout time.Duration) *RemoveVMCdRomParams
- func (o *RemoveVMCdRomParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RemoveVMCdRomReader
- type RemoveVMDiskBadRequest
- type RemoveVMDiskInternalServerError
- type RemoveVMDiskNotFound
- type RemoveVMDiskOK
- type RemoveVMDiskParams
- func (o *RemoveVMDiskParams) SetContentLanguage(contentLanguage *string)
- func (o *RemoveVMDiskParams) SetContext(ctx context.Context)
- func (o *RemoveVMDiskParams) SetDefaults()
- func (o *RemoveVMDiskParams) SetHTTPClient(client *http.Client)
- func (o *RemoveVMDiskParams) SetRequestBody(requestBody *models.VMRemoveDiskParams)
- func (o *RemoveVMDiskParams) SetTimeout(timeout time.Duration)
- func (o *RemoveVMDiskParams) WithContentLanguage(contentLanguage *string) *RemoveVMDiskParams
- func (o *RemoveVMDiskParams) WithContext(ctx context.Context) *RemoveVMDiskParams
- func (o *RemoveVMDiskParams) WithDefaults() *RemoveVMDiskParams
- func (o *RemoveVMDiskParams) WithHTTPClient(client *http.Client) *RemoveVMDiskParams
- func (o *RemoveVMDiskParams) WithRequestBody(requestBody *models.VMRemoveDiskParams) *RemoveVMDiskParams
- func (o *RemoveVMDiskParams) WithTimeout(timeout time.Duration) *RemoveVMDiskParams
- func (o *RemoveVMDiskParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RemoveVMDiskReader
- type RemoveVMGpuDeviceBadRequest
- type RemoveVMGpuDeviceInternalServerError
- type RemoveVMGpuDeviceNotFound
- type RemoveVMGpuDeviceOK
- type RemoveVMGpuDeviceParams
- func NewRemoveVMGpuDeviceParams() *RemoveVMGpuDeviceParams
- func NewRemoveVMGpuDeviceParamsWithContext(ctx context.Context) *RemoveVMGpuDeviceParams
- func NewRemoveVMGpuDeviceParamsWithHTTPClient(client *http.Client) *RemoveVMGpuDeviceParams
- func NewRemoveVMGpuDeviceParamsWithTimeout(timeout time.Duration) *RemoveVMGpuDeviceParams
- func (o *RemoveVMGpuDeviceParams) SetContentLanguage(contentLanguage *string)
- func (o *RemoveVMGpuDeviceParams) SetContext(ctx context.Context)
- func (o *RemoveVMGpuDeviceParams) SetDefaults()
- func (o *RemoveVMGpuDeviceParams) SetHTTPClient(client *http.Client)
- func (o *RemoveVMGpuDeviceParams) SetRequestBody(requestBody *models.VMRemoveGpuDeviceParams)
- func (o *RemoveVMGpuDeviceParams) SetTimeout(timeout time.Duration)
- func (o *RemoveVMGpuDeviceParams) WithContentLanguage(contentLanguage *string) *RemoveVMGpuDeviceParams
- func (o *RemoveVMGpuDeviceParams) WithContext(ctx context.Context) *RemoveVMGpuDeviceParams
- func (o *RemoveVMGpuDeviceParams) WithDefaults() *RemoveVMGpuDeviceParams
- func (o *RemoveVMGpuDeviceParams) WithHTTPClient(client *http.Client) *RemoveVMGpuDeviceParams
- func (o *RemoveVMGpuDeviceParams) WithRequestBody(requestBody *models.VMRemoveGpuDeviceParams) *RemoveVMGpuDeviceParams
- func (o *RemoveVMGpuDeviceParams) WithTimeout(timeout time.Duration) *RemoveVMGpuDeviceParams
- func (o *RemoveVMGpuDeviceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RemoveVMGpuDeviceReader
- type RemoveVMNicBadRequest
- type RemoveVMNicByWhereBadRequest
- type RemoveVMNicByWhereInternalServerError
- type RemoveVMNicByWhereNotFound
- type RemoveVMNicByWhereOK
- type RemoveVMNicByWhereParams
- func NewRemoveVMNicByWhereParams() *RemoveVMNicByWhereParams
- func NewRemoveVMNicByWhereParamsWithContext(ctx context.Context) *RemoveVMNicByWhereParams
- func NewRemoveVMNicByWhereParamsWithHTTPClient(client *http.Client) *RemoveVMNicByWhereParams
- func NewRemoveVMNicByWhereParamsWithTimeout(timeout time.Duration) *RemoveVMNicByWhereParams
- func (o *RemoveVMNicByWhereParams) SetContentLanguage(contentLanguage *string)
- func (o *RemoveVMNicByWhereParams) SetContext(ctx context.Context)
- func (o *RemoveVMNicByWhereParams) SetDefaults()
- func (o *RemoveVMNicByWhereParams) SetHTTPClient(client *http.Client)
- func (o *RemoveVMNicByWhereParams) SetRequestBody(requestBody *models.VMRemoveNicByWhereParams)
- func (o *RemoveVMNicByWhereParams) SetTimeout(timeout time.Duration)
- func (o *RemoveVMNicByWhereParams) WithContentLanguage(contentLanguage *string) *RemoveVMNicByWhereParams
- func (o *RemoveVMNicByWhereParams) WithContext(ctx context.Context) *RemoveVMNicByWhereParams
- func (o *RemoveVMNicByWhereParams) WithDefaults() *RemoveVMNicByWhereParams
- func (o *RemoveVMNicByWhereParams) WithHTTPClient(client *http.Client) *RemoveVMNicByWhereParams
- func (o *RemoveVMNicByWhereParams) WithRequestBody(requestBody *models.VMRemoveNicByWhereParams) *RemoveVMNicByWhereParams
- func (o *RemoveVMNicByWhereParams) WithTimeout(timeout time.Duration) *RemoveVMNicByWhereParams
- func (o *RemoveVMNicByWhereParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RemoveVMNicByWhereReader
- type RemoveVMNicInternalServerError
- type RemoveVMNicNotFound
- type RemoveVMNicOK
- type RemoveVMNicParams
- func (o *RemoveVMNicParams) SetContentLanguage(contentLanguage *string)
- func (o *RemoveVMNicParams) SetContext(ctx context.Context)
- func (o *RemoveVMNicParams) SetDefaults()
- func (o *RemoveVMNicParams) SetHTTPClient(client *http.Client)
- func (o *RemoveVMNicParams) SetRequestBody(requestBody *models.VMRemoveNicParams)
- func (o *RemoveVMNicParams) SetTimeout(timeout time.Duration)
- func (o *RemoveVMNicParams) WithContentLanguage(contentLanguage *string) *RemoveVMNicParams
- func (o *RemoveVMNicParams) WithContext(ctx context.Context) *RemoveVMNicParams
- func (o *RemoveVMNicParams) WithDefaults() *RemoveVMNicParams
- func (o *RemoveVMNicParams) WithHTTPClient(client *http.Client) *RemoveVMNicParams
- func (o *RemoveVMNicParams) WithRequestBody(requestBody *models.VMRemoveNicParams) *RemoveVMNicParams
- func (o *RemoveVMNicParams) WithTimeout(timeout time.Duration) *RemoveVMNicParams
- func (o *RemoveVMNicParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RemoveVMNicReader
- type RemoveVMPciNicBadRequest
- type RemoveVMPciNicInternalServerError
- type RemoveVMPciNicNotFound
- type RemoveVMPciNicNotModified
- type RemoveVMPciNicOK
- type RemoveVMPciNicParams
- func NewRemoveVMPciNicParams() *RemoveVMPciNicParams
- func NewRemoveVMPciNicParamsWithContext(ctx context.Context) *RemoveVMPciNicParams
- func NewRemoveVMPciNicParamsWithHTTPClient(client *http.Client) *RemoveVMPciNicParams
- func NewRemoveVMPciNicParamsWithTimeout(timeout time.Duration) *RemoveVMPciNicParams
- func (o *RemoveVMPciNicParams) SetContentLanguage(contentLanguage *string)
- func (o *RemoveVMPciNicParams) SetContext(ctx context.Context)
- func (o *RemoveVMPciNicParams) SetDefaults()
- func (o *RemoveVMPciNicParams) SetHTTPClient(client *http.Client)
- func (o *RemoveVMPciNicParams) SetRequestBody(requestBody *models.VMOperatePciNicParams)
- func (o *RemoveVMPciNicParams) SetTimeout(timeout time.Duration)
- func (o *RemoveVMPciNicParams) WithContentLanguage(contentLanguage *string) *RemoveVMPciNicParams
- func (o *RemoveVMPciNicParams) WithContext(ctx context.Context) *RemoveVMPciNicParams
- func (o *RemoveVMPciNicParams) WithDefaults() *RemoveVMPciNicParams
- func (o *RemoveVMPciNicParams) WithHTTPClient(client *http.Client) *RemoveVMPciNicParams
- func (o *RemoveVMPciNicParams) WithRequestBody(requestBody *models.VMOperatePciNicParams) *RemoveVMPciNicParams
- func (o *RemoveVMPciNicParams) WithTimeout(timeout time.Duration) *RemoveVMPciNicParams
- func (o *RemoveVMPciNicParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RemoveVMPciNicReader
- type RemoveVMToFolderBadRequest
- type RemoveVMToFolderInternalServerError
- type RemoveVMToFolderNotFound
- type RemoveVMToFolderOK
- type RemoveVMToFolderParams
- func NewRemoveVMToFolderParams() *RemoveVMToFolderParams
- func NewRemoveVMToFolderParamsWithContext(ctx context.Context) *RemoveVMToFolderParams
- func NewRemoveVMToFolderParamsWithHTTPClient(client *http.Client) *RemoveVMToFolderParams
- func NewRemoveVMToFolderParamsWithTimeout(timeout time.Duration) *RemoveVMToFolderParams
- func (o *RemoveVMToFolderParams) SetContentLanguage(contentLanguage *string)
- func (o *RemoveVMToFolderParams) SetContext(ctx context.Context)
- func (o *RemoveVMToFolderParams) SetDefaults()
- func (o *RemoveVMToFolderParams) SetHTTPClient(client *http.Client)
- func (o *RemoveVMToFolderParams) SetRequestBody(requestBody *models.VMOperateParams)
- func (o *RemoveVMToFolderParams) SetTimeout(timeout time.Duration)
- func (o *RemoveVMToFolderParams) WithContentLanguage(contentLanguage *string) *RemoveVMToFolderParams
- func (o *RemoveVMToFolderParams) WithContext(ctx context.Context) *RemoveVMToFolderParams
- func (o *RemoveVMToFolderParams) WithDefaults() *RemoveVMToFolderParams
- func (o *RemoveVMToFolderParams) WithHTTPClient(client *http.Client) *RemoveVMToFolderParams
- func (o *RemoveVMToFolderParams) WithRequestBody(requestBody *models.VMOperateParams) *RemoveVMToFolderParams
- func (o *RemoveVMToFolderParams) WithTimeout(timeout time.Duration) *RemoveVMToFolderParams
- func (o *RemoveVMToFolderParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RemoveVMToFolderReader
- type ResetVMGuestOsPasswordBadRequest
- type ResetVMGuestOsPasswordInternalServerError
- type ResetVMGuestOsPasswordNotFound
- type ResetVMGuestOsPasswordNotModified
- type ResetVMGuestOsPasswordOK
- type ResetVMGuestOsPasswordParams
- func NewResetVMGuestOsPasswordParams() *ResetVMGuestOsPasswordParams
- func NewResetVMGuestOsPasswordParamsWithContext(ctx context.Context) *ResetVMGuestOsPasswordParams
- func NewResetVMGuestOsPasswordParamsWithHTTPClient(client *http.Client) *ResetVMGuestOsPasswordParams
- func NewResetVMGuestOsPasswordParamsWithTimeout(timeout time.Duration) *ResetVMGuestOsPasswordParams
- func (o *ResetVMGuestOsPasswordParams) SetContentLanguage(contentLanguage *string)
- func (o *ResetVMGuestOsPasswordParams) SetContext(ctx context.Context)
- func (o *ResetVMGuestOsPasswordParams) SetDefaults()
- func (o *ResetVMGuestOsPasswordParams) SetHTTPClient(client *http.Client)
- func (o *ResetVMGuestOsPasswordParams) SetRequestBody(requestBody *models.VMResetGuestOsPasswordParams)
- func (o *ResetVMGuestOsPasswordParams) SetTimeout(timeout time.Duration)
- func (o *ResetVMGuestOsPasswordParams) WithContentLanguage(contentLanguage *string) *ResetVMGuestOsPasswordParams
- func (o *ResetVMGuestOsPasswordParams) WithContext(ctx context.Context) *ResetVMGuestOsPasswordParams
- func (o *ResetVMGuestOsPasswordParams) WithDefaults() *ResetVMGuestOsPasswordParams
- func (o *ResetVMGuestOsPasswordParams) WithHTTPClient(client *http.Client) *ResetVMGuestOsPasswordParams
- func (o *ResetVMGuestOsPasswordParams) WithRequestBody(requestBody *models.VMResetGuestOsPasswordParams) *ResetVMGuestOsPasswordParams
- func (o *ResetVMGuestOsPasswordParams) WithTimeout(timeout time.Duration) *ResetVMGuestOsPasswordParams
- func (o *ResetVMGuestOsPasswordParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ResetVMGuestOsPasswordReader
- type RestartVMBadRequest
- type RestartVMInternalServerError
- type RestartVMNotFound
- type RestartVMOK
- type RestartVMParams
- func (o *RestartVMParams) SetContentLanguage(contentLanguage *string)
- func (o *RestartVMParams) SetContext(ctx context.Context)
- func (o *RestartVMParams) SetDefaults()
- func (o *RestartVMParams) SetHTTPClient(client *http.Client)
- func (o *RestartVMParams) SetRequestBody(requestBody *models.VMOperateParams)
- func (o *RestartVMParams) SetTimeout(timeout time.Duration)
- func (o *RestartVMParams) WithContentLanguage(contentLanguage *string) *RestartVMParams
- func (o *RestartVMParams) WithContext(ctx context.Context) *RestartVMParams
- func (o *RestartVMParams) WithDefaults() *RestartVMParams
- func (o *RestartVMParams) WithHTTPClient(client *http.Client) *RestartVMParams
- func (o *RestartVMParams) WithRequestBody(requestBody *models.VMOperateParams) *RestartVMParams
- func (o *RestartVMParams) WithTimeout(timeout time.Duration) *RestartVMParams
- func (o *RestartVMParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RestartVMReader
- type ResumeVMBadRequest
- type ResumeVMInternalServerError
- type ResumeVMNotFound
- type ResumeVMOK
- type ResumeVMParams
- func (o *ResumeVMParams) SetContentLanguage(contentLanguage *string)
- func (o *ResumeVMParams) SetContext(ctx context.Context)
- func (o *ResumeVMParams) SetDefaults()
- func (o *ResumeVMParams) SetHTTPClient(client *http.Client)
- func (o *ResumeVMParams) SetRequestBody(requestBody *models.VMOperateParams)
- func (o *ResumeVMParams) SetTimeout(timeout time.Duration)
- func (o *ResumeVMParams) WithContentLanguage(contentLanguage *string) *ResumeVMParams
- func (o *ResumeVMParams) WithContext(ctx context.Context) *ResumeVMParams
- func (o *ResumeVMParams) WithDefaults() *ResumeVMParams
- func (o *ResumeVMParams) WithHTTPClient(client *http.Client) *ResumeVMParams
- func (o *ResumeVMParams) WithRequestBody(requestBody *models.VMOperateParams) *ResumeVMParams
- func (o *ResumeVMParams) WithTimeout(timeout time.Duration) *ResumeVMParams
- func (o *ResumeVMParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ResumeVMReader
- type RollbackVMBadRequest
- type RollbackVMInternalServerError
- type RollbackVMNotFound
- type RollbackVMOK
- type RollbackVMParams
- func (o *RollbackVMParams) SetContentLanguage(contentLanguage *string)
- func (o *RollbackVMParams) SetContext(ctx context.Context)
- func (o *RollbackVMParams) SetDefaults()
- func (o *RollbackVMParams) SetHTTPClient(client *http.Client)
- func (o *RollbackVMParams) SetRequestBody(requestBody *models.VMRollbackParams)
- func (o *RollbackVMParams) SetTimeout(timeout time.Duration)
- func (o *RollbackVMParams) WithContentLanguage(contentLanguage *string) *RollbackVMParams
- func (o *RollbackVMParams) WithContext(ctx context.Context) *RollbackVMParams
- func (o *RollbackVMParams) WithDefaults() *RollbackVMParams
- func (o *RollbackVMParams) WithHTTPClient(client *http.Client) *RollbackVMParams
- func (o *RollbackVMParams) WithRequestBody(requestBody *models.VMRollbackParams) *RollbackVMParams
- func (o *RollbackVMParams) WithTimeout(timeout time.Duration) *RollbackVMParams
- func (o *RollbackVMParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RollbackVMReader
- type ShutDownVMBadRequest
- type ShutDownVMInternalServerError
- type ShutDownVMNotFound
- type ShutDownVMOK
- type ShutDownVMParams
- func (o *ShutDownVMParams) SetContentLanguage(contentLanguage *string)
- func (o *ShutDownVMParams) SetContext(ctx context.Context)
- func (o *ShutDownVMParams) SetDefaults()
- func (o *ShutDownVMParams) SetHTTPClient(client *http.Client)
- func (o *ShutDownVMParams) SetRequestBody(requestBody *models.VMOperateParams)
- func (o *ShutDownVMParams) SetTimeout(timeout time.Duration)
- func (o *ShutDownVMParams) WithContentLanguage(contentLanguage *string) *ShutDownVMParams
- func (o *ShutDownVMParams) WithContext(ctx context.Context) *ShutDownVMParams
- func (o *ShutDownVMParams) WithDefaults() *ShutDownVMParams
- func (o *ShutDownVMParams) WithHTTPClient(client *http.Client) *ShutDownVMParams
- func (o *ShutDownVMParams) WithRequestBody(requestBody *models.VMOperateParams) *ShutDownVMParams
- func (o *ShutDownVMParams) WithTimeout(timeout time.Duration) *ShutDownVMParams
- func (o *ShutDownVMParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ShutDownVMReader
- type StartVMBadRequest
- type StartVMInternalServerError
- type StartVMNotFound
- type StartVMOK
- type StartVMParams
- func (o *StartVMParams) SetContentLanguage(contentLanguage *string)
- func (o *StartVMParams) SetContext(ctx context.Context)
- func (o *StartVMParams) SetDefaults()
- func (o *StartVMParams) SetHTTPClient(client *http.Client)
- func (o *StartVMParams) SetRequestBody(requestBody *models.VMStartParams)
- func (o *StartVMParams) SetTimeout(timeout time.Duration)
- func (o *StartVMParams) WithContentLanguage(contentLanguage *string) *StartVMParams
- func (o *StartVMParams) WithContext(ctx context.Context) *StartVMParams
- func (o *StartVMParams) WithDefaults() *StartVMParams
- func (o *StartVMParams) WithHTTPClient(client *http.Client) *StartVMParams
- func (o *StartVMParams) WithRequestBody(requestBody *models.VMStartParams) *StartVMParams
- func (o *StartVMParams) WithTimeout(timeout time.Duration) *StartVMParams
- func (o *StartVMParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type StartVMReader
- type StopVMInCutoverMigrationBadRequest
- type StopVMInCutoverMigrationInternalServerError
- type StopVMInCutoverMigrationNotFound
- type StopVMInCutoverMigrationOK
- type StopVMInCutoverMigrationParams
- func NewStopVMInCutoverMigrationParams() *StopVMInCutoverMigrationParams
- func NewStopVMInCutoverMigrationParamsWithContext(ctx context.Context) *StopVMInCutoverMigrationParams
- func NewStopVMInCutoverMigrationParamsWithHTTPClient(client *http.Client) *StopVMInCutoverMigrationParams
- func NewStopVMInCutoverMigrationParamsWithTimeout(timeout time.Duration) *StopVMInCutoverMigrationParams
- func (o *StopVMInCutoverMigrationParams) SetContentLanguage(contentLanguage *string)
- func (o *StopVMInCutoverMigrationParams) SetContext(ctx context.Context)
- func (o *StopVMInCutoverMigrationParams) SetDefaults()
- func (o *StopVMInCutoverMigrationParams) SetHTTPClient(client *http.Client)
- func (o *StopVMInCutoverMigrationParams) SetRequestBody(requestBody *models.StopVMInCutoverMigrationParams)
- func (o *StopVMInCutoverMigrationParams) SetTimeout(timeout time.Duration)
- func (o *StopVMInCutoverMigrationParams) WithContentLanguage(contentLanguage *string) *StopVMInCutoverMigrationParams
- func (o *StopVMInCutoverMigrationParams) WithContext(ctx context.Context) *StopVMInCutoverMigrationParams
- func (o *StopVMInCutoverMigrationParams) WithDefaults() *StopVMInCutoverMigrationParams
- func (o *StopVMInCutoverMigrationParams) WithHTTPClient(client *http.Client) *StopVMInCutoverMigrationParams
- func (o *StopVMInCutoverMigrationParams) WithRequestBody(requestBody *models.StopVMInCutoverMigrationParams) *StopVMInCutoverMigrationParams
- func (o *StopVMInCutoverMigrationParams) WithTimeout(timeout time.Duration) *StopVMInCutoverMigrationParams
- func (o *StopVMInCutoverMigrationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type StopVMInCutoverMigrationReader
- type SuspendVMBadRequest
- type SuspendVMInternalServerError
- type SuspendVMNotFound
- type SuspendVMOK
- type SuspendVMParams
- func (o *SuspendVMParams) SetContentLanguage(contentLanguage *string)
- func (o *SuspendVMParams) SetContext(ctx context.Context)
- func (o *SuspendVMParams) SetDefaults()
- func (o *SuspendVMParams) SetHTTPClient(client *http.Client)
- func (o *SuspendVMParams) SetRequestBody(requestBody *models.VMOperateParams)
- func (o *SuspendVMParams) SetTimeout(timeout time.Duration)
- func (o *SuspendVMParams) WithContentLanguage(contentLanguage *string) *SuspendVMParams
- func (o *SuspendVMParams) WithContext(ctx context.Context) *SuspendVMParams
- func (o *SuspendVMParams) WithDefaults() *SuspendVMParams
- func (o *SuspendVMParams) WithHTTPClient(client *http.Client) *SuspendVMParams
- func (o *SuspendVMParams) WithRequestBody(requestBody *models.VMOperateParams) *SuspendVMParams
- func (o *SuspendVMParams) WithTimeout(timeout time.Duration) *SuspendVMParams
- func (o *SuspendVMParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SuspendVMReader
- type ToggleVMCdRomDisableBadRequest
- type ToggleVMCdRomDisableInternalServerError
- type ToggleVMCdRomDisableNotFound
- type ToggleVMCdRomDisableOK
- type ToggleVMCdRomDisableParams
- func NewToggleVMCdRomDisableParams() *ToggleVMCdRomDisableParams
- func NewToggleVMCdRomDisableParamsWithContext(ctx context.Context) *ToggleVMCdRomDisableParams
- func NewToggleVMCdRomDisableParamsWithHTTPClient(client *http.Client) *ToggleVMCdRomDisableParams
- func NewToggleVMCdRomDisableParamsWithTimeout(timeout time.Duration) *ToggleVMCdRomDisableParams
- func (o *ToggleVMCdRomDisableParams) SetContentLanguage(contentLanguage *string)
- func (o *ToggleVMCdRomDisableParams) SetContext(ctx context.Context)
- func (o *ToggleVMCdRomDisableParams) SetDefaults()
- func (o *ToggleVMCdRomDisableParams) SetHTTPClient(client *http.Client)
- func (o *ToggleVMCdRomDisableParams) SetRequestBody(requestBody *models.VMToggleCdRomDisableParams)
- func (o *ToggleVMCdRomDisableParams) SetTimeout(timeout time.Duration)
- func (o *ToggleVMCdRomDisableParams) WithContentLanguage(contentLanguage *string) *ToggleVMCdRomDisableParams
- func (o *ToggleVMCdRomDisableParams) WithContext(ctx context.Context) *ToggleVMCdRomDisableParams
- func (o *ToggleVMCdRomDisableParams) WithDefaults() *ToggleVMCdRomDisableParams
- func (o *ToggleVMCdRomDisableParams) WithHTTPClient(client *http.Client) *ToggleVMCdRomDisableParams
- func (o *ToggleVMCdRomDisableParams) WithRequestBody(requestBody *models.VMToggleCdRomDisableParams) *ToggleVMCdRomDisableParams
- func (o *ToggleVMCdRomDisableParams) WithTimeout(timeout time.Duration) *ToggleVMCdRomDisableParams
- func (o *ToggleVMCdRomDisableParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ToggleVMCdRomDisableReader
- type UpdateVMAdvancedOptionsBadRequest
- type UpdateVMAdvancedOptionsInternalServerError
- type UpdateVMAdvancedOptionsNotFound
- type UpdateVMAdvancedOptionsNotModified
- type UpdateVMAdvancedOptionsOK
- type UpdateVMAdvancedOptionsParams
- func NewUpdateVMAdvancedOptionsParams() *UpdateVMAdvancedOptionsParams
- func NewUpdateVMAdvancedOptionsParamsWithContext(ctx context.Context) *UpdateVMAdvancedOptionsParams
- func NewUpdateVMAdvancedOptionsParamsWithHTTPClient(client *http.Client) *UpdateVMAdvancedOptionsParams
- func NewUpdateVMAdvancedOptionsParamsWithTimeout(timeout time.Duration) *UpdateVMAdvancedOptionsParams
- func (o *UpdateVMAdvancedOptionsParams) SetContentLanguage(contentLanguage *string)
- func (o *UpdateVMAdvancedOptionsParams) SetContext(ctx context.Context)
- func (o *UpdateVMAdvancedOptionsParams) SetDefaults()
- func (o *UpdateVMAdvancedOptionsParams) SetHTTPClient(client *http.Client)
- func (o *UpdateVMAdvancedOptionsParams) SetRequestBody(requestBody *models.VMUpdateAdvancedOptionsParams)
- func (o *UpdateVMAdvancedOptionsParams) SetTimeout(timeout time.Duration)
- func (o *UpdateVMAdvancedOptionsParams) WithContentLanguage(contentLanguage *string) *UpdateVMAdvancedOptionsParams
- func (o *UpdateVMAdvancedOptionsParams) WithContext(ctx context.Context) *UpdateVMAdvancedOptionsParams
- func (o *UpdateVMAdvancedOptionsParams) WithDefaults() *UpdateVMAdvancedOptionsParams
- func (o *UpdateVMAdvancedOptionsParams) WithHTTPClient(client *http.Client) *UpdateVMAdvancedOptionsParams
- func (o *UpdateVMAdvancedOptionsParams) WithRequestBody(requestBody *models.VMUpdateAdvancedOptionsParams) *UpdateVMAdvancedOptionsParams
- func (o *UpdateVMAdvancedOptionsParams) WithTimeout(timeout time.Duration) *UpdateVMAdvancedOptionsParams
- func (o *UpdateVMAdvancedOptionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateVMAdvancedOptionsReader
- type UpdateVMBadRequest
- type UpdateVMDiskBadRequest
- type UpdateVMDiskInternalServerError
- type UpdateVMDiskNotFound
- type UpdateVMDiskOK
- type UpdateVMDiskParams
- func (o *UpdateVMDiskParams) SetContentLanguage(contentLanguage *string)
- func (o *UpdateVMDiskParams) SetContext(ctx context.Context)
- func (o *UpdateVMDiskParams) SetDefaults()
- func (o *UpdateVMDiskParams) SetHTTPClient(client *http.Client)
- func (o *UpdateVMDiskParams) SetRequestBody(requestBody *models.VMUpdateDiskParams)
- func (o *UpdateVMDiskParams) SetTimeout(timeout time.Duration)
- func (o *UpdateVMDiskParams) WithContentLanguage(contentLanguage *string) *UpdateVMDiskParams
- func (o *UpdateVMDiskParams) WithContext(ctx context.Context) *UpdateVMDiskParams
- func (o *UpdateVMDiskParams) WithDefaults() *UpdateVMDiskParams
- func (o *UpdateVMDiskParams) WithHTTPClient(client *http.Client) *UpdateVMDiskParams
- func (o *UpdateVMDiskParams) WithRequestBody(requestBody *models.VMUpdateDiskParams) *UpdateVMDiskParams
- func (o *UpdateVMDiskParams) WithTimeout(timeout time.Duration) *UpdateVMDiskParams
- func (o *UpdateVMDiskParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateVMDiskReader
- type UpdateVMHostOptionsBadRequest
- type UpdateVMHostOptionsInternalServerError
- type UpdateVMHostOptionsNotFound
- type UpdateVMHostOptionsNotModified
- type UpdateVMHostOptionsOK
- type UpdateVMHostOptionsParams
- func NewUpdateVMHostOptionsParams() *UpdateVMHostOptionsParams
- func NewUpdateVMHostOptionsParamsWithContext(ctx context.Context) *UpdateVMHostOptionsParams
- func NewUpdateVMHostOptionsParamsWithHTTPClient(client *http.Client) *UpdateVMHostOptionsParams
- func NewUpdateVMHostOptionsParamsWithTimeout(timeout time.Duration) *UpdateVMHostOptionsParams
- func (o *UpdateVMHostOptionsParams) SetContentLanguage(contentLanguage *string)
- func (o *UpdateVMHostOptionsParams) SetContext(ctx context.Context)
- func (o *UpdateVMHostOptionsParams) SetDefaults()
- func (o *UpdateVMHostOptionsParams) SetHTTPClient(client *http.Client)
- func (o *UpdateVMHostOptionsParams) SetRequestBody(requestBody *models.VMUpdateHostOptionsParams)
- func (o *UpdateVMHostOptionsParams) SetTimeout(timeout time.Duration)
- func (o *UpdateVMHostOptionsParams) WithContentLanguage(contentLanguage *string) *UpdateVMHostOptionsParams
- func (o *UpdateVMHostOptionsParams) WithContext(ctx context.Context) *UpdateVMHostOptionsParams
- func (o *UpdateVMHostOptionsParams) WithDefaults() *UpdateVMHostOptionsParams
- func (o *UpdateVMHostOptionsParams) WithHTTPClient(client *http.Client) *UpdateVMHostOptionsParams
- func (o *UpdateVMHostOptionsParams) WithRequestBody(requestBody *models.VMUpdateHostOptionsParams) *UpdateVMHostOptionsParams
- func (o *UpdateVMHostOptionsParams) WithTimeout(timeout time.Duration) *UpdateVMHostOptionsParams
- func (o *UpdateVMHostOptionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateVMHostOptionsReader
- type UpdateVMInternalServerError
- type UpdateVMIoPolicyBadRequest
- type UpdateVMIoPolicyInternalServerError
- type UpdateVMIoPolicyNotFound
- type UpdateVMIoPolicyNotModified
- type UpdateVMIoPolicyOK
- type UpdateVMIoPolicyParams
- func NewUpdateVMIoPolicyParams() *UpdateVMIoPolicyParams
- func NewUpdateVMIoPolicyParamsWithContext(ctx context.Context) *UpdateVMIoPolicyParams
- func NewUpdateVMIoPolicyParamsWithHTTPClient(client *http.Client) *UpdateVMIoPolicyParams
- func NewUpdateVMIoPolicyParamsWithTimeout(timeout time.Duration) *UpdateVMIoPolicyParams
- func (o *UpdateVMIoPolicyParams) SetContentLanguage(contentLanguage *string)
- func (o *UpdateVMIoPolicyParams) SetContext(ctx context.Context)
- func (o *UpdateVMIoPolicyParams) SetDefaults()
- func (o *UpdateVMIoPolicyParams) SetHTTPClient(client *http.Client)
- func (o *UpdateVMIoPolicyParams) SetRequestBody(requestBody *models.VMUpdateIoPolicyParams)
- func (o *UpdateVMIoPolicyParams) SetTimeout(timeout time.Duration)
- func (o *UpdateVMIoPolicyParams) WithContentLanguage(contentLanguage *string) *UpdateVMIoPolicyParams
- func (o *UpdateVMIoPolicyParams) WithContext(ctx context.Context) *UpdateVMIoPolicyParams
- func (o *UpdateVMIoPolicyParams) WithDefaults() *UpdateVMIoPolicyParams
- func (o *UpdateVMIoPolicyParams) WithHTTPClient(client *http.Client) *UpdateVMIoPolicyParams
- func (o *UpdateVMIoPolicyParams) WithRequestBody(requestBody *models.VMUpdateIoPolicyParams) *UpdateVMIoPolicyParams
- func (o *UpdateVMIoPolicyParams) WithTimeout(timeout time.Duration) *UpdateVMIoPolicyParams
- func (o *UpdateVMIoPolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateVMIoPolicyReader
- type UpdateVMNicAdvanceInfoBadRequest
- type UpdateVMNicAdvanceInfoInternalServerError
- type UpdateVMNicAdvanceInfoNotFound
- type UpdateVMNicAdvanceInfoNotModified
- type UpdateVMNicAdvanceInfoOK
- type UpdateVMNicAdvanceInfoParams
- func NewUpdateVMNicAdvanceInfoParams() *UpdateVMNicAdvanceInfoParams
- func NewUpdateVMNicAdvanceInfoParamsWithContext(ctx context.Context) *UpdateVMNicAdvanceInfoParams
- func NewUpdateVMNicAdvanceInfoParamsWithHTTPClient(client *http.Client) *UpdateVMNicAdvanceInfoParams
- func NewUpdateVMNicAdvanceInfoParamsWithTimeout(timeout time.Duration) *UpdateVMNicAdvanceInfoParams
- func (o *UpdateVMNicAdvanceInfoParams) SetContentLanguage(contentLanguage *string)
- func (o *UpdateVMNicAdvanceInfoParams) SetContext(ctx context.Context)
- func (o *UpdateVMNicAdvanceInfoParams) SetDefaults()
- func (o *UpdateVMNicAdvanceInfoParams) SetHTTPClient(client *http.Client)
- func (o *UpdateVMNicAdvanceInfoParams) SetRequestBody(requestBody *models.VMUpdateNicAdvanceInfoParams)
- func (o *UpdateVMNicAdvanceInfoParams) SetTimeout(timeout time.Duration)
- func (o *UpdateVMNicAdvanceInfoParams) WithContentLanguage(contentLanguage *string) *UpdateVMNicAdvanceInfoParams
- func (o *UpdateVMNicAdvanceInfoParams) WithContext(ctx context.Context) *UpdateVMNicAdvanceInfoParams
- func (o *UpdateVMNicAdvanceInfoParams) WithDefaults() *UpdateVMNicAdvanceInfoParams
- func (o *UpdateVMNicAdvanceInfoParams) WithHTTPClient(client *http.Client) *UpdateVMNicAdvanceInfoParams
- func (o *UpdateVMNicAdvanceInfoParams) WithRequestBody(requestBody *models.VMUpdateNicAdvanceInfoParams) *UpdateVMNicAdvanceInfoParams
- func (o *UpdateVMNicAdvanceInfoParams) WithTimeout(timeout time.Duration) *UpdateVMNicAdvanceInfoParams
- func (o *UpdateVMNicAdvanceInfoParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateVMNicAdvanceInfoReader
- type UpdateVMNicBadRequest
- type UpdateVMNicBasicInfoBadRequest
- type UpdateVMNicBasicInfoInternalServerError
- type UpdateVMNicBasicInfoNotFound
- type UpdateVMNicBasicInfoNotModified
- type UpdateVMNicBasicInfoOK
- type UpdateVMNicBasicInfoParams
- func NewUpdateVMNicBasicInfoParams() *UpdateVMNicBasicInfoParams
- func NewUpdateVMNicBasicInfoParamsWithContext(ctx context.Context) *UpdateVMNicBasicInfoParams
- func NewUpdateVMNicBasicInfoParamsWithHTTPClient(client *http.Client) *UpdateVMNicBasicInfoParams
- func NewUpdateVMNicBasicInfoParamsWithTimeout(timeout time.Duration) *UpdateVMNicBasicInfoParams
- func (o *UpdateVMNicBasicInfoParams) SetContentLanguage(contentLanguage *string)
- func (o *UpdateVMNicBasicInfoParams) SetContext(ctx context.Context)
- func (o *UpdateVMNicBasicInfoParams) SetDefaults()
- func (o *UpdateVMNicBasicInfoParams) SetHTTPClient(client *http.Client)
- func (o *UpdateVMNicBasicInfoParams) SetRequestBody(requestBody *models.VMUpdateNicBasicInfoParams)
- func (o *UpdateVMNicBasicInfoParams) SetTimeout(timeout time.Duration)
- func (o *UpdateVMNicBasicInfoParams) WithContentLanguage(contentLanguage *string) *UpdateVMNicBasicInfoParams
- func (o *UpdateVMNicBasicInfoParams) WithContext(ctx context.Context) *UpdateVMNicBasicInfoParams
- func (o *UpdateVMNicBasicInfoParams) WithDefaults() *UpdateVMNicBasicInfoParams
- func (o *UpdateVMNicBasicInfoParams) WithHTTPClient(client *http.Client) *UpdateVMNicBasicInfoParams
- func (o *UpdateVMNicBasicInfoParams) WithRequestBody(requestBody *models.VMUpdateNicBasicInfoParams) *UpdateVMNicBasicInfoParams
- func (o *UpdateVMNicBasicInfoParams) WithTimeout(timeout time.Duration) *UpdateVMNicBasicInfoParams
- func (o *UpdateVMNicBasicInfoParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateVMNicBasicInfoReader
- type UpdateVMNicInternalServerError
- type UpdateVMNicNotFound
- type UpdateVMNicOK
- type UpdateVMNicParams
- func (o *UpdateVMNicParams) SetContentLanguage(contentLanguage *string)
- func (o *UpdateVMNicParams) SetContext(ctx context.Context)
- func (o *UpdateVMNicParams) SetDefaults()
- func (o *UpdateVMNicParams) SetHTTPClient(client *http.Client)
- func (o *UpdateVMNicParams) SetRequestBody(requestBody *models.VMUpdateNicParams)
- func (o *UpdateVMNicParams) SetTimeout(timeout time.Duration)
- func (o *UpdateVMNicParams) WithContentLanguage(contentLanguage *string) *UpdateVMNicParams
- func (o *UpdateVMNicParams) WithContext(ctx context.Context) *UpdateVMNicParams
- func (o *UpdateVMNicParams) WithDefaults() *UpdateVMNicParams
- func (o *UpdateVMNicParams) WithHTTPClient(client *http.Client) *UpdateVMNicParams
- func (o *UpdateVMNicParams) WithRequestBody(requestBody *models.VMUpdateNicParams) *UpdateVMNicParams
- func (o *UpdateVMNicParams) WithTimeout(timeout time.Duration) *UpdateVMNicParams
- func (o *UpdateVMNicParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateVMNicQosOptionBadRequest
- type UpdateVMNicQosOptionInternalServerError
- type UpdateVMNicQosOptionNotFound
- type UpdateVMNicQosOptionNotModified
- type UpdateVMNicQosOptionOK
- type UpdateVMNicQosOptionParams
- func NewUpdateVMNicQosOptionParams() *UpdateVMNicQosOptionParams
- func NewUpdateVMNicQosOptionParamsWithContext(ctx context.Context) *UpdateVMNicQosOptionParams
- func NewUpdateVMNicQosOptionParamsWithHTTPClient(client *http.Client) *UpdateVMNicQosOptionParams
- func NewUpdateVMNicQosOptionParamsWithTimeout(timeout time.Duration) *UpdateVMNicQosOptionParams
- func (o *UpdateVMNicQosOptionParams) SetContentLanguage(contentLanguage *string)
- func (o *UpdateVMNicQosOptionParams) SetContext(ctx context.Context)
- func (o *UpdateVMNicQosOptionParams) SetDefaults()
- func (o *UpdateVMNicQosOptionParams) SetHTTPClient(client *http.Client)
- func (o *UpdateVMNicQosOptionParams) SetRequestBody(requestBody *models.VMUpdateNicQosOptionsParams)
- func (o *UpdateVMNicQosOptionParams) SetTimeout(timeout time.Duration)
- func (o *UpdateVMNicQosOptionParams) WithContentLanguage(contentLanguage *string) *UpdateVMNicQosOptionParams
- func (o *UpdateVMNicQosOptionParams) WithContext(ctx context.Context) *UpdateVMNicQosOptionParams
- func (o *UpdateVMNicQosOptionParams) WithDefaults() *UpdateVMNicQosOptionParams
- func (o *UpdateVMNicQosOptionParams) WithHTTPClient(client *http.Client) *UpdateVMNicQosOptionParams
- func (o *UpdateVMNicQosOptionParams) WithRequestBody(requestBody *models.VMUpdateNicQosOptionsParams) *UpdateVMNicQosOptionParams
- func (o *UpdateVMNicQosOptionParams) WithTimeout(timeout time.Duration) *UpdateVMNicQosOptionParams
- func (o *UpdateVMNicQosOptionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateVMNicQosOptionReader
- type UpdateVMNicReader
- type UpdateVMNotFound
- type UpdateVMOK
- type UpdateVMOwnerBadRequest
- type UpdateVMOwnerInternalServerError
- type UpdateVMOwnerNotFound
- type UpdateVMOwnerNotModified
- type UpdateVMOwnerOK
- type UpdateVMOwnerParams
- func (o *UpdateVMOwnerParams) SetContentLanguage(contentLanguage *string)
- func (o *UpdateVMOwnerParams) SetContext(ctx context.Context)
- func (o *UpdateVMOwnerParams) SetDefaults()
- func (o *UpdateVMOwnerParams) SetHTTPClient(client *http.Client)
- func (o *UpdateVMOwnerParams) SetRequestBody(requestBody *models.VMUpdateOwnerParams)
- func (o *UpdateVMOwnerParams) SetTimeout(timeout time.Duration)
- func (o *UpdateVMOwnerParams) WithContentLanguage(contentLanguage *string) *UpdateVMOwnerParams
- func (o *UpdateVMOwnerParams) WithContext(ctx context.Context) *UpdateVMOwnerParams
- func (o *UpdateVMOwnerParams) WithDefaults() *UpdateVMOwnerParams
- func (o *UpdateVMOwnerParams) WithHTTPClient(client *http.Client) *UpdateVMOwnerParams
- func (o *UpdateVMOwnerParams) WithRequestBody(requestBody *models.VMUpdateOwnerParams) *UpdateVMOwnerParams
- func (o *UpdateVMOwnerParams) WithTimeout(timeout time.Duration) *UpdateVMOwnerParams
- func (o *UpdateVMOwnerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateVMOwnerReader
- type UpdateVMParams
- func (o *UpdateVMParams) SetContentLanguage(contentLanguage *string)
- func (o *UpdateVMParams) SetContext(ctx context.Context)
- func (o *UpdateVMParams) SetDefaults()
- func (o *UpdateVMParams) SetHTTPClient(client *http.Client)
- func (o *UpdateVMParams) SetRequestBody(requestBody *models.VMUpdateParams)
- func (o *UpdateVMParams) SetTimeout(timeout time.Duration)
- func (o *UpdateVMParams) WithContentLanguage(contentLanguage *string) *UpdateVMParams
- func (o *UpdateVMParams) WithContext(ctx context.Context) *UpdateVMParams
- func (o *UpdateVMParams) WithDefaults() *UpdateVMParams
- func (o *UpdateVMParams) WithHTTPClient(client *http.Client) *UpdateVMParams
- func (o *UpdateVMParams) WithRequestBody(requestBody *models.VMUpdateParams) *UpdateVMParams
- func (o *UpdateVMParams) WithTimeout(timeout time.Duration) *UpdateVMParams
- func (o *UpdateVMParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateVMReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AbortMigrateVMAcrossClusterBadRequest ¶ added in v2.1.0
type AbortMigrateVMAcrossClusterBadRequest struct { XTowerRequestID string Payload *models.ErrorBody }
AbortMigrateVMAcrossClusterBadRequest describes a response with status code 400, with default header values.
Bad request
func NewAbortMigrateVMAcrossClusterBadRequest ¶ added in v2.1.0
func NewAbortMigrateVMAcrossClusterBadRequest() *AbortMigrateVMAcrossClusterBadRequest
NewAbortMigrateVMAcrossClusterBadRequest creates a AbortMigrateVMAcrossClusterBadRequest with default headers values
func (*AbortMigrateVMAcrossClusterBadRequest) Error ¶ added in v2.1.0
func (o *AbortMigrateVMAcrossClusterBadRequest) Error() string
func (*AbortMigrateVMAcrossClusterBadRequest) GetPayload ¶ added in v2.1.0
func (o *AbortMigrateVMAcrossClusterBadRequest) GetPayload() *models.ErrorBody
type AbortMigrateVMAcrossClusterInternalServerError ¶ added in v2.1.0
type AbortMigrateVMAcrossClusterInternalServerError struct { XTowerRequestID string Payload *models.ErrorBody }
AbortMigrateVMAcrossClusterInternalServerError describes a response with status code 500, with default header values.
Server error
func NewAbortMigrateVMAcrossClusterInternalServerError ¶ added in v2.1.0
func NewAbortMigrateVMAcrossClusterInternalServerError() *AbortMigrateVMAcrossClusterInternalServerError
NewAbortMigrateVMAcrossClusterInternalServerError creates a AbortMigrateVMAcrossClusterInternalServerError with default headers values
func (*AbortMigrateVMAcrossClusterInternalServerError) Error ¶ added in v2.1.0
func (o *AbortMigrateVMAcrossClusterInternalServerError) Error() string
func (*AbortMigrateVMAcrossClusterInternalServerError) GetPayload ¶ added in v2.1.0
func (o *AbortMigrateVMAcrossClusterInternalServerError) GetPayload() *models.ErrorBody
type AbortMigrateVMAcrossClusterNotFound ¶ added in v2.1.0
type AbortMigrateVMAcrossClusterNotFound struct { XTowerRequestID string Payload *models.ErrorBody }
AbortMigrateVMAcrossClusterNotFound describes a response with status code 404, with default header values.
Not found
func NewAbortMigrateVMAcrossClusterNotFound ¶ added in v2.1.0
func NewAbortMigrateVMAcrossClusterNotFound() *AbortMigrateVMAcrossClusterNotFound
NewAbortMigrateVMAcrossClusterNotFound creates a AbortMigrateVMAcrossClusterNotFound with default headers values
func (*AbortMigrateVMAcrossClusterNotFound) Error ¶ added in v2.1.0
func (o *AbortMigrateVMAcrossClusterNotFound) Error() string
func (*AbortMigrateVMAcrossClusterNotFound) GetPayload ¶ added in v2.1.0
func (o *AbortMigrateVMAcrossClusterNotFound) GetPayload() *models.ErrorBody
type AbortMigrateVMAcrossClusterOK ¶ added in v2.1.0
AbortMigrateVMAcrossClusterOK describes a response with status code 200, with default header values.
AbortMigrateVMAcrossClusterOK abort migrate Vm across cluster o k
func NewAbortMigrateVMAcrossClusterOK ¶ added in v2.1.0
func NewAbortMigrateVMAcrossClusterOK() *AbortMigrateVMAcrossClusterOK
NewAbortMigrateVMAcrossClusterOK creates a AbortMigrateVMAcrossClusterOK with default headers values
func (*AbortMigrateVMAcrossClusterOK) Error ¶ added in v2.1.0
func (o *AbortMigrateVMAcrossClusterOK) Error() string
func (*AbortMigrateVMAcrossClusterOK) GetPayload ¶ added in v2.1.0
func (o *AbortMigrateVMAcrossClusterOK) GetPayload() []*models.Task
type AbortMigrateVMAcrossClusterParams ¶ added in v2.1.0
type AbortMigrateVMAcrossClusterParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.AbortMigrateVMAcrossClusterParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AbortMigrateVMAcrossClusterParams contains all the parameters to send to the API endpoint
for the abort migrate Vm across cluster operation. Typically these are written to a http.Request.
func NewAbortMigrateVMAcrossClusterParams ¶ added in v2.1.0
func NewAbortMigrateVMAcrossClusterParams() *AbortMigrateVMAcrossClusterParams
NewAbortMigrateVMAcrossClusterParams creates a new AbortMigrateVMAcrossClusterParams 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 NewAbortMigrateVMAcrossClusterParamsWithContext ¶ added in v2.1.0
func NewAbortMigrateVMAcrossClusterParamsWithContext(ctx context.Context) *AbortMigrateVMAcrossClusterParams
NewAbortMigrateVMAcrossClusterParamsWithContext creates a new AbortMigrateVMAcrossClusterParams object with the ability to set a context for a request.
func NewAbortMigrateVMAcrossClusterParamsWithHTTPClient ¶ added in v2.1.0
func NewAbortMigrateVMAcrossClusterParamsWithHTTPClient(client *http.Client) *AbortMigrateVMAcrossClusterParams
NewAbortMigrateVMAcrossClusterParamsWithHTTPClient creates a new AbortMigrateVMAcrossClusterParams object with the ability to set a custom HTTPClient for a request.
func NewAbortMigrateVMAcrossClusterParamsWithTimeout ¶ added in v2.1.0
func NewAbortMigrateVMAcrossClusterParamsWithTimeout(timeout time.Duration) *AbortMigrateVMAcrossClusterParams
NewAbortMigrateVMAcrossClusterParamsWithTimeout creates a new AbortMigrateVMAcrossClusterParams object with the ability to set a timeout on a request.
func (*AbortMigrateVMAcrossClusterParams) SetContentLanguage ¶ added in v2.1.0
func (o *AbortMigrateVMAcrossClusterParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the abort migrate Vm across cluster params
func (*AbortMigrateVMAcrossClusterParams) SetContext ¶ added in v2.1.0
func (o *AbortMigrateVMAcrossClusterParams) SetContext(ctx context.Context)
SetContext adds the context to the abort migrate Vm across cluster params
func (*AbortMigrateVMAcrossClusterParams) SetDefaults ¶ added in v2.1.0
func (o *AbortMigrateVMAcrossClusterParams) SetDefaults()
SetDefaults hydrates default values in the abort migrate Vm across cluster params (not the query body).
All values with no default are reset to their zero value.
func (*AbortMigrateVMAcrossClusterParams) SetHTTPClient ¶ added in v2.1.0
func (o *AbortMigrateVMAcrossClusterParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the abort migrate Vm across cluster params
func (*AbortMigrateVMAcrossClusterParams) SetRequestBody ¶ added in v2.1.0
func (o *AbortMigrateVMAcrossClusterParams) SetRequestBody(requestBody *models.AbortMigrateVMAcrossClusterParams)
SetRequestBody adds the requestBody to the abort migrate Vm across cluster params
func (*AbortMigrateVMAcrossClusterParams) SetTimeout ¶ added in v2.1.0
func (o *AbortMigrateVMAcrossClusterParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the abort migrate Vm across cluster params
func (*AbortMigrateVMAcrossClusterParams) WithContentLanguage ¶ added in v2.1.0
func (o *AbortMigrateVMAcrossClusterParams) WithContentLanguage(contentLanguage *string) *AbortMigrateVMAcrossClusterParams
WithContentLanguage adds the contentLanguage to the abort migrate Vm across cluster params
func (*AbortMigrateVMAcrossClusterParams) WithContext ¶ added in v2.1.0
func (o *AbortMigrateVMAcrossClusterParams) WithContext(ctx context.Context) *AbortMigrateVMAcrossClusterParams
WithContext adds the context to the abort migrate Vm across cluster params
func (*AbortMigrateVMAcrossClusterParams) WithDefaults ¶ added in v2.1.0
func (o *AbortMigrateVMAcrossClusterParams) WithDefaults() *AbortMigrateVMAcrossClusterParams
WithDefaults hydrates default values in the abort migrate Vm across cluster params (not the query body).
All values with no default are reset to their zero value.
func (*AbortMigrateVMAcrossClusterParams) WithHTTPClient ¶ added in v2.1.0
func (o *AbortMigrateVMAcrossClusterParams) WithHTTPClient(client *http.Client) *AbortMigrateVMAcrossClusterParams
WithHTTPClient adds the HTTPClient to the abort migrate Vm across cluster params
func (*AbortMigrateVMAcrossClusterParams) WithRequestBody ¶ added in v2.1.0
func (o *AbortMigrateVMAcrossClusterParams) WithRequestBody(requestBody *models.AbortMigrateVMAcrossClusterParams) *AbortMigrateVMAcrossClusterParams
WithRequestBody adds the requestBody to the abort migrate Vm across cluster params
func (*AbortMigrateVMAcrossClusterParams) WithTimeout ¶ added in v2.1.0
func (o *AbortMigrateVMAcrossClusterParams) WithTimeout(timeout time.Duration) *AbortMigrateVMAcrossClusterParams
WithTimeout adds the timeout to the abort migrate Vm across cluster params
func (*AbortMigrateVMAcrossClusterParams) WriteToRequest ¶ added in v2.1.0
func (o *AbortMigrateVMAcrossClusterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AbortMigrateVMAcrossClusterReader ¶ added in v2.1.0
type AbortMigrateVMAcrossClusterReader struct {
// contains filtered or unexported fields
}
AbortMigrateVMAcrossClusterReader is a Reader for the AbortMigrateVMAcrossCluster structure.
func (*AbortMigrateVMAcrossClusterReader) ReadResponse ¶ added in v2.1.0
func (o *AbortMigrateVMAcrossClusterReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AddVMCdRomBadRequest ¶
AddVMCdRomBadRequest describes a response with status code 400, with default header values.
Bad request
func NewAddVMCdRomBadRequest ¶
func NewAddVMCdRomBadRequest() *AddVMCdRomBadRequest
NewAddVMCdRomBadRequest creates a AddVMCdRomBadRequest with default headers values
func (*AddVMCdRomBadRequest) Error ¶
func (o *AddVMCdRomBadRequest) Error() string
func (*AddVMCdRomBadRequest) GetPayload ¶
func (o *AddVMCdRomBadRequest) GetPayload() *models.ErrorBody
type AddVMCdRomInternalServerError ¶
AddVMCdRomInternalServerError describes a response with status code 500, with default header values.
Server error
func NewAddVMCdRomInternalServerError ¶
func NewAddVMCdRomInternalServerError() *AddVMCdRomInternalServerError
NewAddVMCdRomInternalServerError creates a AddVMCdRomInternalServerError with default headers values
func (*AddVMCdRomInternalServerError) Error ¶
func (o *AddVMCdRomInternalServerError) Error() string
func (*AddVMCdRomInternalServerError) GetPayload ¶
func (o *AddVMCdRomInternalServerError) GetPayload() *models.ErrorBody
type AddVMCdRomNotFound ¶
AddVMCdRomNotFound describes a response with status code 404, with default header values.
Not found
func NewAddVMCdRomNotFound ¶
func NewAddVMCdRomNotFound() *AddVMCdRomNotFound
NewAddVMCdRomNotFound creates a AddVMCdRomNotFound with default headers values
func (*AddVMCdRomNotFound) Error ¶
func (o *AddVMCdRomNotFound) Error() string
func (*AddVMCdRomNotFound) GetPayload ¶
func (o *AddVMCdRomNotFound) GetPayload() *models.ErrorBody
type AddVMCdRomNotModified ¶ added in v2.3.0
type AddVMCdRomNotModified struct { }
AddVMCdRomNotModified describes a response with status code 304, with default header values.
Not modified
func NewAddVMCdRomNotModified ¶ added in v2.3.0
func NewAddVMCdRomNotModified() *AddVMCdRomNotModified
NewAddVMCdRomNotModified creates a AddVMCdRomNotModified with default headers values
func (*AddVMCdRomNotModified) Error ¶ added in v2.3.0
func (o *AddVMCdRomNotModified) Error() string
type AddVMCdRomOK ¶
type AddVMCdRomOK struct { XTowerRequestID string Payload []*models.WithTaskVM }
AddVMCdRomOK describes a response with status code 200, with default header values.
AddVMCdRomOK add Vm cd rom o k
func NewAddVMCdRomOK ¶
func NewAddVMCdRomOK() *AddVMCdRomOK
NewAddVMCdRomOK creates a AddVMCdRomOK with default headers values
func (*AddVMCdRomOK) Error ¶
func (o *AddVMCdRomOK) Error() string
func (*AddVMCdRomOK) GetPayload ¶
func (o *AddVMCdRomOK) GetPayload() []*models.WithTaskVM
type AddVMCdRomParams ¶
type AddVMCdRomParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.VMAddCdRomParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AddVMCdRomParams contains all the parameters to send to the API endpoint
for the add Vm cd rom operation. Typically these are written to a http.Request.
func NewAddVMCdRomParams ¶
func NewAddVMCdRomParams() *AddVMCdRomParams
NewAddVMCdRomParams creates a new AddVMCdRomParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewAddVMCdRomParamsWithContext ¶
func NewAddVMCdRomParamsWithContext(ctx context.Context) *AddVMCdRomParams
NewAddVMCdRomParamsWithContext creates a new AddVMCdRomParams object with the ability to set a context for a request.
func NewAddVMCdRomParamsWithHTTPClient ¶
func NewAddVMCdRomParamsWithHTTPClient(client *http.Client) *AddVMCdRomParams
NewAddVMCdRomParamsWithHTTPClient creates a new AddVMCdRomParams object with the ability to set a custom HTTPClient for a request.
func NewAddVMCdRomParamsWithTimeout ¶
func NewAddVMCdRomParamsWithTimeout(timeout time.Duration) *AddVMCdRomParams
NewAddVMCdRomParamsWithTimeout creates a new AddVMCdRomParams object with the ability to set a timeout on a request.
func (*AddVMCdRomParams) SetContentLanguage ¶
func (o *AddVMCdRomParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the add Vm cd rom params
func (*AddVMCdRomParams) SetContext ¶
func (o *AddVMCdRomParams) SetContext(ctx context.Context)
SetContext adds the context to the add Vm cd rom params
func (*AddVMCdRomParams) SetDefaults ¶
func (o *AddVMCdRomParams) SetDefaults()
SetDefaults hydrates default values in the add Vm cd rom params (not the query body).
All values with no default are reset to their zero value.
func (*AddVMCdRomParams) SetHTTPClient ¶
func (o *AddVMCdRomParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the add Vm cd rom params
func (*AddVMCdRomParams) SetRequestBody ¶
func (o *AddVMCdRomParams) SetRequestBody(requestBody *models.VMAddCdRomParams)
SetRequestBody adds the requestBody to the add Vm cd rom params
func (*AddVMCdRomParams) SetTimeout ¶
func (o *AddVMCdRomParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the add Vm cd rom params
func (*AddVMCdRomParams) WithContentLanguage ¶
func (o *AddVMCdRomParams) WithContentLanguage(contentLanguage *string) *AddVMCdRomParams
WithContentLanguage adds the contentLanguage to the add Vm cd rom params
func (*AddVMCdRomParams) WithContext ¶
func (o *AddVMCdRomParams) WithContext(ctx context.Context) *AddVMCdRomParams
WithContext adds the context to the add Vm cd rom params
func (*AddVMCdRomParams) WithDefaults ¶
func (o *AddVMCdRomParams) WithDefaults() *AddVMCdRomParams
WithDefaults hydrates default values in the add Vm cd rom params (not the query body).
All values with no default are reset to their zero value.
func (*AddVMCdRomParams) WithHTTPClient ¶
func (o *AddVMCdRomParams) WithHTTPClient(client *http.Client) *AddVMCdRomParams
WithHTTPClient adds the HTTPClient to the add Vm cd rom params
func (*AddVMCdRomParams) WithRequestBody ¶
func (o *AddVMCdRomParams) WithRequestBody(requestBody *models.VMAddCdRomParams) *AddVMCdRomParams
WithRequestBody adds the requestBody to the add Vm cd rom params
func (*AddVMCdRomParams) WithTimeout ¶
func (o *AddVMCdRomParams) WithTimeout(timeout time.Duration) *AddVMCdRomParams
WithTimeout adds the timeout to the add Vm cd rom params
func (*AddVMCdRomParams) WriteToRequest ¶
func (o *AddVMCdRomParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AddVMCdRomReader ¶
type AddVMCdRomReader struct {
// contains filtered or unexported fields
}
AddVMCdRomReader is a Reader for the AddVMCdRom structure.
func (*AddVMCdRomReader) ReadResponse ¶
func (o *AddVMCdRomReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AddVMDiskBadRequest ¶
AddVMDiskBadRequest describes a response with status code 400, with default header values.
Bad request
func NewAddVMDiskBadRequest ¶
func NewAddVMDiskBadRequest() *AddVMDiskBadRequest
NewAddVMDiskBadRequest creates a AddVMDiskBadRequest with default headers values
func (*AddVMDiskBadRequest) Error ¶
func (o *AddVMDiskBadRequest) Error() string
func (*AddVMDiskBadRequest) GetPayload ¶
func (o *AddVMDiskBadRequest) GetPayload() *models.ErrorBody
type AddVMDiskInternalServerError ¶
AddVMDiskInternalServerError describes a response with status code 500, with default header values.
Server error
func NewAddVMDiskInternalServerError ¶
func NewAddVMDiskInternalServerError() *AddVMDiskInternalServerError
NewAddVMDiskInternalServerError creates a AddVMDiskInternalServerError with default headers values
func (*AddVMDiskInternalServerError) Error ¶
func (o *AddVMDiskInternalServerError) Error() string
func (*AddVMDiskInternalServerError) GetPayload ¶
func (o *AddVMDiskInternalServerError) GetPayload() *models.ErrorBody
type AddVMDiskNotFound ¶
AddVMDiskNotFound describes a response with status code 404, with default header values.
Not found
func NewAddVMDiskNotFound ¶
func NewAddVMDiskNotFound() *AddVMDiskNotFound
NewAddVMDiskNotFound creates a AddVMDiskNotFound with default headers values
func (*AddVMDiskNotFound) Error ¶
func (o *AddVMDiskNotFound) Error() string
func (*AddVMDiskNotFound) GetPayload ¶
func (o *AddVMDiskNotFound) GetPayload() *models.ErrorBody
type AddVMDiskOK ¶
type AddVMDiskOK struct { XTowerRequestID string Payload []*models.WithTaskVM }
AddVMDiskOK describes a response with status code 200, with default header values.
AddVMDiskOK add Vm disk o k
func NewAddVMDiskOK ¶
func NewAddVMDiskOK() *AddVMDiskOK
NewAddVMDiskOK creates a AddVMDiskOK with default headers values
func (*AddVMDiskOK) Error ¶
func (o *AddVMDiskOK) Error() string
func (*AddVMDiskOK) GetPayload ¶
func (o *AddVMDiskOK) GetPayload() []*models.WithTaskVM
type AddVMDiskParams ¶
type AddVMDiskParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.VMAddDiskParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AddVMDiskParams contains all the parameters to send to the API endpoint
for the add Vm disk operation. Typically these are written to a http.Request.
func NewAddVMDiskParams ¶
func NewAddVMDiskParams() *AddVMDiskParams
NewAddVMDiskParams creates a new AddVMDiskParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewAddVMDiskParamsWithContext ¶
func NewAddVMDiskParamsWithContext(ctx context.Context) *AddVMDiskParams
NewAddVMDiskParamsWithContext creates a new AddVMDiskParams object with the ability to set a context for a request.
func NewAddVMDiskParamsWithHTTPClient ¶
func NewAddVMDiskParamsWithHTTPClient(client *http.Client) *AddVMDiskParams
NewAddVMDiskParamsWithHTTPClient creates a new AddVMDiskParams object with the ability to set a custom HTTPClient for a request.
func NewAddVMDiskParamsWithTimeout ¶
func NewAddVMDiskParamsWithTimeout(timeout time.Duration) *AddVMDiskParams
NewAddVMDiskParamsWithTimeout creates a new AddVMDiskParams object with the ability to set a timeout on a request.
func (*AddVMDiskParams) SetContentLanguage ¶
func (o *AddVMDiskParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the add Vm disk params
func (*AddVMDiskParams) SetContext ¶
func (o *AddVMDiskParams) SetContext(ctx context.Context)
SetContext adds the context to the add Vm disk params
func (*AddVMDiskParams) SetDefaults ¶
func (o *AddVMDiskParams) SetDefaults()
SetDefaults hydrates default values in the add Vm disk params (not the query body).
All values with no default are reset to their zero value.
func (*AddVMDiskParams) SetHTTPClient ¶
func (o *AddVMDiskParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the add Vm disk params
func (*AddVMDiskParams) SetRequestBody ¶
func (o *AddVMDiskParams) SetRequestBody(requestBody *models.VMAddDiskParams)
SetRequestBody adds the requestBody to the add Vm disk params
func (*AddVMDiskParams) SetTimeout ¶
func (o *AddVMDiskParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the add Vm disk params
func (*AddVMDiskParams) WithContentLanguage ¶
func (o *AddVMDiskParams) WithContentLanguage(contentLanguage *string) *AddVMDiskParams
WithContentLanguage adds the contentLanguage to the add Vm disk params
func (*AddVMDiskParams) WithContext ¶
func (o *AddVMDiskParams) WithContext(ctx context.Context) *AddVMDiskParams
WithContext adds the context to the add Vm disk params
func (*AddVMDiskParams) WithDefaults ¶
func (o *AddVMDiskParams) WithDefaults() *AddVMDiskParams
WithDefaults hydrates default values in the add Vm disk params (not the query body).
All values with no default are reset to their zero value.
func (*AddVMDiskParams) WithHTTPClient ¶
func (o *AddVMDiskParams) WithHTTPClient(client *http.Client) *AddVMDiskParams
WithHTTPClient adds the HTTPClient to the add Vm disk params
func (*AddVMDiskParams) WithRequestBody ¶
func (o *AddVMDiskParams) WithRequestBody(requestBody *models.VMAddDiskParams) *AddVMDiskParams
WithRequestBody adds the requestBody to the add Vm disk params
func (*AddVMDiskParams) WithTimeout ¶
func (o *AddVMDiskParams) WithTimeout(timeout time.Duration) *AddVMDiskParams
WithTimeout adds the timeout to the add Vm disk params
func (*AddVMDiskParams) WriteToRequest ¶
func (o *AddVMDiskParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AddVMDiskReader ¶
type AddVMDiskReader struct {
// contains filtered or unexported fields
}
AddVMDiskReader is a Reader for the AddVMDisk structure.
func (*AddVMDiskReader) ReadResponse ¶
func (o *AddVMDiskReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AddVMGpuDeviceBadRequest ¶ added in v2.12.0
AddVMGpuDeviceBadRequest describes a response with status code 400, with default header values.
Bad request
func NewAddVMGpuDeviceBadRequest ¶ added in v2.12.0
func NewAddVMGpuDeviceBadRequest() *AddVMGpuDeviceBadRequest
NewAddVMGpuDeviceBadRequest creates a AddVMGpuDeviceBadRequest with default headers values
func (*AddVMGpuDeviceBadRequest) Error ¶ added in v2.12.0
func (o *AddVMGpuDeviceBadRequest) Error() string
func (*AddVMGpuDeviceBadRequest) GetPayload ¶ added in v2.12.0
func (o *AddVMGpuDeviceBadRequest) GetPayload() *models.ErrorBody
type AddVMGpuDeviceInternalServerError ¶ added in v2.12.0
AddVMGpuDeviceInternalServerError describes a response with status code 500, with default header values.
Server error
func NewAddVMGpuDeviceInternalServerError ¶ added in v2.12.0
func NewAddVMGpuDeviceInternalServerError() *AddVMGpuDeviceInternalServerError
NewAddVMGpuDeviceInternalServerError creates a AddVMGpuDeviceInternalServerError with default headers values
func (*AddVMGpuDeviceInternalServerError) Error ¶ added in v2.12.0
func (o *AddVMGpuDeviceInternalServerError) Error() string
func (*AddVMGpuDeviceInternalServerError) GetPayload ¶ added in v2.12.0
func (o *AddVMGpuDeviceInternalServerError) GetPayload() *models.ErrorBody
type AddVMGpuDeviceNotFound ¶ added in v2.12.0
AddVMGpuDeviceNotFound describes a response with status code 404, with default header values.
Not found
func NewAddVMGpuDeviceNotFound ¶ added in v2.12.0
func NewAddVMGpuDeviceNotFound() *AddVMGpuDeviceNotFound
NewAddVMGpuDeviceNotFound creates a AddVMGpuDeviceNotFound with default headers values
func (*AddVMGpuDeviceNotFound) Error ¶ added in v2.12.0
func (o *AddVMGpuDeviceNotFound) Error() string
func (*AddVMGpuDeviceNotFound) GetPayload ¶ added in v2.12.0
func (o *AddVMGpuDeviceNotFound) GetPayload() *models.ErrorBody
type AddVMGpuDeviceOK ¶ added in v2.12.0
type AddVMGpuDeviceOK struct { XTowerRequestID string Payload []*models.WithTaskVM }
AddVMGpuDeviceOK describes a response with status code 200, with default header values.
AddVMGpuDeviceOK add Vm gpu device o k
func NewAddVMGpuDeviceOK ¶ added in v2.12.0
func NewAddVMGpuDeviceOK() *AddVMGpuDeviceOK
NewAddVMGpuDeviceOK creates a AddVMGpuDeviceOK with default headers values
func (*AddVMGpuDeviceOK) Error ¶ added in v2.12.0
func (o *AddVMGpuDeviceOK) Error() string
func (*AddVMGpuDeviceOK) GetPayload ¶ added in v2.12.0
func (o *AddVMGpuDeviceOK) GetPayload() []*models.WithTaskVM
type AddVMGpuDeviceParams ¶ added in v2.12.0
type AddVMGpuDeviceParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.VMAddGpuDeviceParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AddVMGpuDeviceParams contains all the parameters to send to the API endpoint
for the add Vm gpu device operation. Typically these are written to a http.Request.
func NewAddVMGpuDeviceParams ¶ added in v2.12.0
func NewAddVMGpuDeviceParams() *AddVMGpuDeviceParams
NewAddVMGpuDeviceParams creates a new AddVMGpuDeviceParams 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 NewAddVMGpuDeviceParamsWithContext ¶ added in v2.12.0
func NewAddVMGpuDeviceParamsWithContext(ctx context.Context) *AddVMGpuDeviceParams
NewAddVMGpuDeviceParamsWithContext creates a new AddVMGpuDeviceParams object with the ability to set a context for a request.
func NewAddVMGpuDeviceParamsWithHTTPClient ¶ added in v2.12.0
func NewAddVMGpuDeviceParamsWithHTTPClient(client *http.Client) *AddVMGpuDeviceParams
NewAddVMGpuDeviceParamsWithHTTPClient creates a new AddVMGpuDeviceParams object with the ability to set a custom HTTPClient for a request.
func NewAddVMGpuDeviceParamsWithTimeout ¶ added in v2.12.0
func NewAddVMGpuDeviceParamsWithTimeout(timeout time.Duration) *AddVMGpuDeviceParams
NewAddVMGpuDeviceParamsWithTimeout creates a new AddVMGpuDeviceParams object with the ability to set a timeout on a request.
func (*AddVMGpuDeviceParams) SetContentLanguage ¶ added in v2.12.0
func (o *AddVMGpuDeviceParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the add Vm gpu device params
func (*AddVMGpuDeviceParams) SetContext ¶ added in v2.12.0
func (o *AddVMGpuDeviceParams) SetContext(ctx context.Context)
SetContext adds the context to the add Vm gpu device params
func (*AddVMGpuDeviceParams) SetDefaults ¶ added in v2.12.0
func (o *AddVMGpuDeviceParams) SetDefaults()
SetDefaults hydrates default values in the add Vm gpu device params (not the query body).
All values with no default are reset to their zero value.
func (*AddVMGpuDeviceParams) SetHTTPClient ¶ added in v2.12.0
func (o *AddVMGpuDeviceParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the add Vm gpu device params
func (*AddVMGpuDeviceParams) SetRequestBody ¶ added in v2.12.0
func (o *AddVMGpuDeviceParams) SetRequestBody(requestBody *models.VMAddGpuDeviceParams)
SetRequestBody adds the requestBody to the add Vm gpu device params
func (*AddVMGpuDeviceParams) SetTimeout ¶ added in v2.12.0
func (o *AddVMGpuDeviceParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the add Vm gpu device params
func (*AddVMGpuDeviceParams) WithContentLanguage ¶ added in v2.12.0
func (o *AddVMGpuDeviceParams) WithContentLanguage(contentLanguage *string) *AddVMGpuDeviceParams
WithContentLanguage adds the contentLanguage to the add Vm gpu device params
func (*AddVMGpuDeviceParams) WithContext ¶ added in v2.12.0
func (o *AddVMGpuDeviceParams) WithContext(ctx context.Context) *AddVMGpuDeviceParams
WithContext adds the context to the add Vm gpu device params
func (*AddVMGpuDeviceParams) WithDefaults ¶ added in v2.12.0
func (o *AddVMGpuDeviceParams) WithDefaults() *AddVMGpuDeviceParams
WithDefaults hydrates default values in the add Vm gpu device params (not the query body).
All values with no default are reset to their zero value.
func (*AddVMGpuDeviceParams) WithHTTPClient ¶ added in v2.12.0
func (o *AddVMGpuDeviceParams) WithHTTPClient(client *http.Client) *AddVMGpuDeviceParams
WithHTTPClient adds the HTTPClient to the add Vm gpu device params
func (*AddVMGpuDeviceParams) WithRequestBody ¶ added in v2.12.0
func (o *AddVMGpuDeviceParams) WithRequestBody(requestBody *models.VMAddGpuDeviceParams) *AddVMGpuDeviceParams
WithRequestBody adds the requestBody to the add Vm gpu device params
func (*AddVMGpuDeviceParams) WithTimeout ¶ added in v2.12.0
func (o *AddVMGpuDeviceParams) WithTimeout(timeout time.Duration) *AddVMGpuDeviceParams
WithTimeout adds the timeout to the add Vm gpu device params
func (*AddVMGpuDeviceParams) WriteToRequest ¶ added in v2.12.0
func (o *AddVMGpuDeviceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AddVMGpuDeviceReader ¶ added in v2.12.0
type AddVMGpuDeviceReader struct {
// contains filtered or unexported fields
}
AddVMGpuDeviceReader is a Reader for the AddVMGpuDevice structure.
func (*AddVMGpuDeviceReader) ReadResponse ¶ added in v2.12.0
func (o *AddVMGpuDeviceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AddVMNicBadRequest ¶
AddVMNicBadRequest describes a response with status code 400, with default header values.
Bad request
func NewAddVMNicBadRequest ¶
func NewAddVMNicBadRequest() *AddVMNicBadRequest
NewAddVMNicBadRequest creates a AddVMNicBadRequest with default headers values
func (*AddVMNicBadRequest) Error ¶
func (o *AddVMNicBadRequest) Error() string
func (*AddVMNicBadRequest) GetPayload ¶
func (o *AddVMNicBadRequest) GetPayload() *models.ErrorBody
type AddVMNicInternalServerError ¶
AddVMNicInternalServerError describes a response with status code 500, with default header values.
Server error
func NewAddVMNicInternalServerError ¶
func NewAddVMNicInternalServerError() *AddVMNicInternalServerError
NewAddVMNicInternalServerError creates a AddVMNicInternalServerError with default headers values
func (*AddVMNicInternalServerError) Error ¶
func (o *AddVMNicInternalServerError) Error() string
func (*AddVMNicInternalServerError) GetPayload ¶
func (o *AddVMNicInternalServerError) GetPayload() *models.ErrorBody
type AddVMNicNotFound ¶
AddVMNicNotFound describes a response with status code 404, with default header values.
Not found
func NewAddVMNicNotFound ¶
func NewAddVMNicNotFound() *AddVMNicNotFound
NewAddVMNicNotFound creates a AddVMNicNotFound with default headers values
func (*AddVMNicNotFound) Error ¶
func (o *AddVMNicNotFound) Error() string
func (*AddVMNicNotFound) GetPayload ¶
func (o *AddVMNicNotFound) GetPayload() *models.ErrorBody
type AddVMNicOK ¶
type AddVMNicOK struct { XTowerRequestID string Payload []*models.WithTaskVM }
AddVMNicOK describes a response with status code 200, with default header values.
AddVMNicOK add Vm nic o k
func NewAddVMNicOK ¶
func NewAddVMNicOK() *AddVMNicOK
NewAddVMNicOK creates a AddVMNicOK with default headers values
func (*AddVMNicOK) Error ¶
func (o *AddVMNicOK) Error() string
func (*AddVMNicOK) GetPayload ¶
func (o *AddVMNicOK) GetPayload() []*models.WithTaskVM
type AddVMNicParams ¶
type AddVMNicParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.VMAddNicParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AddVMNicParams contains all the parameters to send to the API endpoint
for the add Vm nic operation. Typically these are written to a http.Request.
func NewAddVMNicParams ¶
func NewAddVMNicParams() *AddVMNicParams
NewAddVMNicParams creates a new AddVMNicParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewAddVMNicParamsWithContext ¶
func NewAddVMNicParamsWithContext(ctx context.Context) *AddVMNicParams
NewAddVMNicParamsWithContext creates a new AddVMNicParams object with the ability to set a context for a request.
func NewAddVMNicParamsWithHTTPClient ¶
func NewAddVMNicParamsWithHTTPClient(client *http.Client) *AddVMNicParams
NewAddVMNicParamsWithHTTPClient creates a new AddVMNicParams object with the ability to set a custom HTTPClient for a request.
func NewAddVMNicParamsWithTimeout ¶
func NewAddVMNicParamsWithTimeout(timeout time.Duration) *AddVMNicParams
NewAddVMNicParamsWithTimeout creates a new AddVMNicParams object with the ability to set a timeout on a request.
func (*AddVMNicParams) SetContentLanguage ¶
func (o *AddVMNicParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the add Vm nic params
func (*AddVMNicParams) SetContext ¶
func (o *AddVMNicParams) SetContext(ctx context.Context)
SetContext adds the context to the add Vm nic params
func (*AddVMNicParams) SetDefaults ¶
func (o *AddVMNicParams) SetDefaults()
SetDefaults hydrates default values in the add Vm nic params (not the query body).
All values with no default are reset to their zero value.
func (*AddVMNicParams) SetHTTPClient ¶
func (o *AddVMNicParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the add Vm nic params
func (*AddVMNicParams) SetRequestBody ¶
func (o *AddVMNicParams) SetRequestBody(requestBody *models.VMAddNicParams)
SetRequestBody adds the requestBody to the add Vm nic params
func (*AddVMNicParams) SetTimeout ¶
func (o *AddVMNicParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the add Vm nic params
func (*AddVMNicParams) WithContentLanguage ¶
func (o *AddVMNicParams) WithContentLanguage(contentLanguage *string) *AddVMNicParams
WithContentLanguage adds the contentLanguage to the add Vm nic params
func (*AddVMNicParams) WithContext ¶
func (o *AddVMNicParams) WithContext(ctx context.Context) *AddVMNicParams
WithContext adds the context to the add Vm nic params
func (*AddVMNicParams) WithDefaults ¶
func (o *AddVMNicParams) WithDefaults() *AddVMNicParams
WithDefaults hydrates default values in the add Vm nic params (not the query body).
All values with no default are reset to their zero value.
func (*AddVMNicParams) WithHTTPClient ¶
func (o *AddVMNicParams) WithHTTPClient(client *http.Client) *AddVMNicParams
WithHTTPClient adds the HTTPClient to the add Vm nic params
func (*AddVMNicParams) WithRequestBody ¶
func (o *AddVMNicParams) WithRequestBody(requestBody *models.VMAddNicParams) *AddVMNicParams
WithRequestBody adds the requestBody to the add Vm nic params
func (*AddVMNicParams) WithTimeout ¶
func (o *AddVMNicParams) WithTimeout(timeout time.Duration) *AddVMNicParams
WithTimeout adds the timeout to the add Vm nic params
func (*AddVMNicParams) WriteToRequest ¶
func (o *AddVMNicParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AddVMNicReader ¶
type AddVMNicReader struct {
// contains filtered or unexported fields
}
AddVMNicReader is a Reader for the AddVMNic structure.
func (*AddVMNicReader) ReadResponse ¶
func (o *AddVMNicReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AddVMPciNicBadRequest ¶ added in v2.12.0
AddVMPciNicBadRequest describes a response with status code 400, with default header values.
Bad request
func NewAddVMPciNicBadRequest ¶ added in v2.12.0
func NewAddVMPciNicBadRequest() *AddVMPciNicBadRequest
NewAddVMPciNicBadRequest creates a AddVMPciNicBadRequest with default headers values
func (*AddVMPciNicBadRequest) Error ¶ added in v2.12.0
func (o *AddVMPciNicBadRequest) Error() string
func (*AddVMPciNicBadRequest) GetPayload ¶ added in v2.12.0
func (o *AddVMPciNicBadRequest) GetPayload() *models.ErrorBody
type AddVMPciNicInternalServerError ¶ added in v2.12.0
AddVMPciNicInternalServerError describes a response with status code 500, with default header values.
Server error
func NewAddVMPciNicInternalServerError ¶ added in v2.12.0
func NewAddVMPciNicInternalServerError() *AddVMPciNicInternalServerError
NewAddVMPciNicInternalServerError creates a AddVMPciNicInternalServerError with default headers values
func (*AddVMPciNicInternalServerError) Error ¶ added in v2.12.0
func (o *AddVMPciNicInternalServerError) Error() string
func (*AddVMPciNicInternalServerError) GetPayload ¶ added in v2.12.0
func (o *AddVMPciNicInternalServerError) GetPayload() *models.ErrorBody
type AddVMPciNicNotFound ¶ added in v2.12.0
AddVMPciNicNotFound describes a response with status code 404, with default header values.
Not found
func NewAddVMPciNicNotFound ¶ added in v2.12.0
func NewAddVMPciNicNotFound() *AddVMPciNicNotFound
NewAddVMPciNicNotFound creates a AddVMPciNicNotFound with default headers values
func (*AddVMPciNicNotFound) Error ¶ added in v2.12.0
func (o *AddVMPciNicNotFound) Error() string
func (*AddVMPciNicNotFound) GetPayload ¶ added in v2.12.0
func (o *AddVMPciNicNotFound) GetPayload() *models.ErrorBody
type AddVMPciNicNotModified ¶ added in v2.12.0
type AddVMPciNicNotModified struct { }
AddVMPciNicNotModified describes a response with status code 304, with default header values.
Not modified
func NewAddVMPciNicNotModified ¶ added in v2.12.0
func NewAddVMPciNicNotModified() *AddVMPciNicNotModified
NewAddVMPciNicNotModified creates a AddVMPciNicNotModified with default headers values
func (*AddVMPciNicNotModified) Error ¶ added in v2.12.0
func (o *AddVMPciNicNotModified) Error() string
type AddVMPciNicOK ¶ added in v2.12.0
type AddVMPciNicOK struct { XTowerRequestID string Payload []*models.WithTaskVM }
AddVMPciNicOK describes a response with status code 200, with default header values.
AddVMPciNicOK add Vm pci nic o k
func NewAddVMPciNicOK ¶ added in v2.12.0
func NewAddVMPciNicOK() *AddVMPciNicOK
NewAddVMPciNicOK creates a AddVMPciNicOK with default headers values
func (*AddVMPciNicOK) Error ¶ added in v2.12.0
func (o *AddVMPciNicOK) Error() string
func (*AddVMPciNicOK) GetPayload ¶ added in v2.12.0
func (o *AddVMPciNicOK) GetPayload() []*models.WithTaskVM
type AddVMPciNicParams ¶ added in v2.12.0
type AddVMPciNicParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.VMOperatePciNicParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AddVMPciNicParams contains all the parameters to send to the API endpoint
for the add Vm pci nic operation. Typically these are written to a http.Request.
func NewAddVMPciNicParams ¶ added in v2.12.0
func NewAddVMPciNicParams() *AddVMPciNicParams
NewAddVMPciNicParams creates a new AddVMPciNicParams 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 NewAddVMPciNicParamsWithContext ¶ added in v2.12.0
func NewAddVMPciNicParamsWithContext(ctx context.Context) *AddVMPciNicParams
NewAddVMPciNicParamsWithContext creates a new AddVMPciNicParams object with the ability to set a context for a request.
func NewAddVMPciNicParamsWithHTTPClient ¶ added in v2.12.0
func NewAddVMPciNicParamsWithHTTPClient(client *http.Client) *AddVMPciNicParams
NewAddVMPciNicParamsWithHTTPClient creates a new AddVMPciNicParams object with the ability to set a custom HTTPClient for a request.
func NewAddVMPciNicParamsWithTimeout ¶ added in v2.12.0
func NewAddVMPciNicParamsWithTimeout(timeout time.Duration) *AddVMPciNicParams
NewAddVMPciNicParamsWithTimeout creates a new AddVMPciNicParams object with the ability to set a timeout on a request.
func (*AddVMPciNicParams) SetContentLanguage ¶ added in v2.12.0
func (o *AddVMPciNicParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the add Vm pci nic params
func (*AddVMPciNicParams) SetContext ¶ added in v2.12.0
func (o *AddVMPciNicParams) SetContext(ctx context.Context)
SetContext adds the context to the add Vm pci nic params
func (*AddVMPciNicParams) SetDefaults ¶ added in v2.12.0
func (o *AddVMPciNicParams) SetDefaults()
SetDefaults hydrates default values in the add Vm pci nic params (not the query body).
All values with no default are reset to their zero value.
func (*AddVMPciNicParams) SetHTTPClient ¶ added in v2.12.0
func (o *AddVMPciNicParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the add Vm pci nic params
func (*AddVMPciNicParams) SetRequestBody ¶ added in v2.12.0
func (o *AddVMPciNicParams) SetRequestBody(requestBody *models.VMOperatePciNicParams)
SetRequestBody adds the requestBody to the add Vm pci nic params
func (*AddVMPciNicParams) SetTimeout ¶ added in v2.12.0
func (o *AddVMPciNicParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the add Vm pci nic params
func (*AddVMPciNicParams) WithContentLanguage ¶ added in v2.12.0
func (o *AddVMPciNicParams) WithContentLanguage(contentLanguage *string) *AddVMPciNicParams
WithContentLanguage adds the contentLanguage to the add Vm pci nic params
func (*AddVMPciNicParams) WithContext ¶ added in v2.12.0
func (o *AddVMPciNicParams) WithContext(ctx context.Context) *AddVMPciNicParams
WithContext adds the context to the add Vm pci nic params
func (*AddVMPciNicParams) WithDefaults ¶ added in v2.12.0
func (o *AddVMPciNicParams) WithDefaults() *AddVMPciNicParams
WithDefaults hydrates default values in the add Vm pci nic params (not the query body).
All values with no default are reset to their zero value.
func (*AddVMPciNicParams) WithHTTPClient ¶ added in v2.12.0
func (o *AddVMPciNicParams) WithHTTPClient(client *http.Client) *AddVMPciNicParams
WithHTTPClient adds the HTTPClient to the add Vm pci nic params
func (*AddVMPciNicParams) WithRequestBody ¶ added in v2.12.0
func (o *AddVMPciNicParams) WithRequestBody(requestBody *models.VMOperatePciNicParams) *AddVMPciNicParams
WithRequestBody adds the requestBody to the add Vm pci nic params
func (*AddVMPciNicParams) WithTimeout ¶ added in v2.12.0
func (o *AddVMPciNicParams) WithTimeout(timeout time.Duration) *AddVMPciNicParams
WithTimeout adds the timeout to the add Vm pci nic params
func (*AddVMPciNicParams) WriteToRequest ¶ added in v2.12.0
func (o *AddVMPciNicParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AddVMPciNicReader ¶ added in v2.12.0
type AddVMPciNicReader struct {
// contains filtered or unexported fields
}
AddVMPciNicReader is a Reader for the AddVMPciNic structure.
func (*AddVMPciNicReader) ReadResponse ¶ added in v2.12.0
func (o *AddVMPciNicReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AddVMToFolderBadRequest ¶
AddVMToFolderBadRequest describes a response with status code 400, with default header values.
Bad request
func NewAddVMToFolderBadRequest ¶
func NewAddVMToFolderBadRequest() *AddVMToFolderBadRequest
NewAddVMToFolderBadRequest creates a AddVMToFolderBadRequest with default headers values
func (*AddVMToFolderBadRequest) Error ¶
func (o *AddVMToFolderBadRequest) Error() string
func (*AddVMToFolderBadRequest) GetPayload ¶
func (o *AddVMToFolderBadRequest) GetPayload() *models.ErrorBody
type AddVMToFolderInternalServerError ¶
AddVMToFolderInternalServerError describes a response with status code 500, with default header values.
Server error
func NewAddVMToFolderInternalServerError ¶
func NewAddVMToFolderInternalServerError() *AddVMToFolderInternalServerError
NewAddVMToFolderInternalServerError creates a AddVMToFolderInternalServerError with default headers values
func (*AddVMToFolderInternalServerError) Error ¶
func (o *AddVMToFolderInternalServerError) Error() string
func (*AddVMToFolderInternalServerError) GetPayload ¶
func (o *AddVMToFolderInternalServerError) GetPayload() *models.ErrorBody
type AddVMToFolderNotFound ¶
AddVMToFolderNotFound describes a response with status code 404, with default header values.
Not found
func NewAddVMToFolderNotFound ¶
func NewAddVMToFolderNotFound() *AddVMToFolderNotFound
NewAddVMToFolderNotFound creates a AddVMToFolderNotFound with default headers values
func (*AddVMToFolderNotFound) Error ¶
func (o *AddVMToFolderNotFound) Error() string
func (*AddVMToFolderNotFound) GetPayload ¶
func (o *AddVMToFolderNotFound) GetPayload() *models.ErrorBody
type AddVMToFolderOK ¶
type AddVMToFolderOK struct { XTowerRequestID string Payload []*models.WithTaskVM }
AddVMToFolderOK describes a response with status code 200, with default header values.
AddVMToFolderOK add Vm to folder o k
func NewAddVMToFolderOK ¶
func NewAddVMToFolderOK() *AddVMToFolderOK
NewAddVMToFolderOK creates a AddVMToFolderOK with default headers values
func (*AddVMToFolderOK) Error ¶
func (o *AddVMToFolderOK) Error() string
func (*AddVMToFolderOK) GetPayload ¶
func (o *AddVMToFolderOK) GetPayload() []*models.WithTaskVM
type AddVMToFolderParams ¶
type AddVMToFolderParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.VMAddFolderParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AddVMToFolderParams contains all the parameters to send to the API endpoint
for the add Vm to folder operation. Typically these are written to a http.Request.
func NewAddVMToFolderParams ¶
func NewAddVMToFolderParams() *AddVMToFolderParams
NewAddVMToFolderParams creates a new AddVMToFolderParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewAddVMToFolderParamsWithContext ¶
func NewAddVMToFolderParamsWithContext(ctx context.Context) *AddVMToFolderParams
NewAddVMToFolderParamsWithContext creates a new AddVMToFolderParams object with the ability to set a context for a request.
func NewAddVMToFolderParamsWithHTTPClient ¶
func NewAddVMToFolderParamsWithHTTPClient(client *http.Client) *AddVMToFolderParams
NewAddVMToFolderParamsWithHTTPClient creates a new AddVMToFolderParams object with the ability to set a custom HTTPClient for a request.
func NewAddVMToFolderParamsWithTimeout ¶
func NewAddVMToFolderParamsWithTimeout(timeout time.Duration) *AddVMToFolderParams
NewAddVMToFolderParamsWithTimeout creates a new AddVMToFolderParams object with the ability to set a timeout on a request.
func (*AddVMToFolderParams) SetContentLanguage ¶
func (o *AddVMToFolderParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the add Vm to folder params
func (*AddVMToFolderParams) SetContext ¶
func (o *AddVMToFolderParams) SetContext(ctx context.Context)
SetContext adds the context to the add Vm to folder params
func (*AddVMToFolderParams) SetDefaults ¶
func (o *AddVMToFolderParams) SetDefaults()
SetDefaults hydrates default values in the add Vm to folder params (not the query body).
All values with no default are reset to their zero value.
func (*AddVMToFolderParams) SetHTTPClient ¶
func (o *AddVMToFolderParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the add Vm to folder params
func (*AddVMToFolderParams) SetRequestBody ¶
func (o *AddVMToFolderParams) SetRequestBody(requestBody *models.VMAddFolderParams)
SetRequestBody adds the requestBody to the add Vm to folder params
func (*AddVMToFolderParams) SetTimeout ¶
func (o *AddVMToFolderParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the add Vm to folder params
func (*AddVMToFolderParams) WithContentLanguage ¶
func (o *AddVMToFolderParams) WithContentLanguage(contentLanguage *string) *AddVMToFolderParams
WithContentLanguage adds the contentLanguage to the add Vm to folder params
func (*AddVMToFolderParams) WithContext ¶
func (o *AddVMToFolderParams) WithContext(ctx context.Context) *AddVMToFolderParams
WithContext adds the context to the add Vm to folder params
func (*AddVMToFolderParams) WithDefaults ¶
func (o *AddVMToFolderParams) WithDefaults() *AddVMToFolderParams
WithDefaults hydrates default values in the add Vm to folder params (not the query body).
All values with no default are reset to their zero value.
func (*AddVMToFolderParams) WithHTTPClient ¶
func (o *AddVMToFolderParams) WithHTTPClient(client *http.Client) *AddVMToFolderParams
WithHTTPClient adds the HTTPClient to the add Vm to folder params
func (*AddVMToFolderParams) WithRequestBody ¶
func (o *AddVMToFolderParams) WithRequestBody(requestBody *models.VMAddFolderParams) *AddVMToFolderParams
WithRequestBody adds the requestBody to the add Vm to folder params
func (*AddVMToFolderParams) WithTimeout ¶
func (o *AddVMToFolderParams) WithTimeout(timeout time.Duration) *AddVMToFolderParams
WithTimeout adds the timeout to the add Vm to folder params
func (*AddVMToFolderParams) WriteToRequest ¶
func (o *AddVMToFolderParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AddVMToFolderReader ¶
type AddVMToFolderReader struct {
// contains filtered or unexported fields
}
AddVMToFolderReader is a Reader for the AddVMToFolder structure.
func (*AddVMToFolderReader) ReadResponse ¶
func (o *AddVMToFolderReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for vm API
func (*Client) AbortMigrateVMAcrossCluster ¶ added in v2.1.0
func (a *Client) AbortMigrateVMAcrossCluster(params *AbortMigrateVMAcrossClusterParams, opts ...ClientOption) (*AbortMigrateVMAcrossClusterOK, error)
AbortMigrateVMAcrossCluster abort migrate Vm across cluster API
func (*Client) AddVMCdRom ¶
func (a *Client) AddVMCdRom(params *AddVMCdRomParams, opts ...ClientOption) (*AddVMCdRomOK, error)
AddVMCdRom add Vm cd rom API
func (*Client) AddVMDisk ¶
func (a *Client) AddVMDisk(params *AddVMDiskParams, opts ...ClientOption) (*AddVMDiskOK, error)
AddVMDisk add Vm disk API
func (*Client) AddVMGpuDevice ¶ added in v2.12.0
func (a *Client) AddVMGpuDevice(params *AddVMGpuDeviceParams, opts ...ClientOption) (*AddVMGpuDeviceOK, error)
AddVMGpuDevice add Vm gpu device API
func (*Client) AddVMNic ¶
func (a *Client) AddVMNic(params *AddVMNicParams, opts ...ClientOption) (*AddVMNicOK, error)
AddVMNic add Vm nic API
func (*Client) AddVMPciNic ¶ added in v2.12.0
func (a *Client) AddVMPciNic(params *AddVMPciNicParams, opts ...ClientOption) (*AddVMPciNicOK, error)
AddVMPciNic add Vm pci nic API
func (*Client) AddVMToFolder ¶
func (a *Client) AddVMToFolder(params *AddVMToFolderParams, opts ...ClientOption) (*AddVMToFolderOK, error)
AddVMToFolder add Vm to folder API
func (*Client) CloneVM ¶
func (a *Client) CloneVM(params *CloneVMParams, opts ...ClientOption) (*CloneVMOK, error)
CloneVM clone Vm API
func (*Client) ConvertVMTemplateToVM ¶
func (a *Client) ConvertVMTemplateToVM(params *ConvertVMTemplateToVMParams, opts ...ClientOption) (*ConvertVMTemplateToVMOK, error)
ConvertVMTemplateToVM convert Vm template to Vm API
func (*Client) CreateVM ¶
func (a *Client) CreateVM(params *CreateVMParams, opts ...ClientOption) (*CreateVMOK, error)
CreateVM create Vm API
func (*Client) CreateVMFromContentLibraryTemplate ¶ added in v2.1.0
func (a *Client) CreateVMFromContentLibraryTemplate(params *CreateVMFromContentLibraryTemplateParams, opts ...ClientOption) (*CreateVMFromContentLibraryTemplateOK, error)
CreateVMFromContentLibraryTemplate create Vm from content library template API
func (*Client) CreateVMFromTemplate ¶
func (a *Client) CreateVMFromTemplate(params *CreateVMFromTemplateParams, opts ...ClientOption) (*CreateVMFromTemplateOK, error)
CreateVMFromTemplate create Vm from template API
func (*Client) DeleteVM ¶
func (a *Client) DeleteVM(params *DeleteVMParams, opts ...ClientOption) (*DeleteVMOK, error)
DeleteVM delete Vm API
func (*Client) EjectIsoFromVMCdRom ¶
func (a *Client) EjectIsoFromVMCdRom(params *EjectIsoFromVMCdRomParams, opts ...ClientOption) (*EjectIsoFromVMCdRomOK, error)
EjectIsoFromVMCdRom eject iso from Vm cd rom API
func (*Client) ExpandVMDisk ¶
func (a *Client) ExpandVMDisk(params *ExpandVMDiskParams, opts ...ClientOption) (*ExpandVMDiskOK, error)
ExpandVMDisk expand Vm disk API
func (*Client) ExportVM ¶ added in v2.9.0
func (a *Client) ExportVM(params *ExportVMParams, opts ...ClientOption) (*ExportVMOK, error)
ExportVM export Vm API
func (*Client) ForceRestartVM ¶
func (a *Client) ForceRestartVM(params *ForceRestartVMParams, opts ...ClientOption) (*ForceRestartVMOK, error)
ForceRestartVM force restart Vm API
func (*Client) GetVms ¶
func (a *Client) GetVms(params *GetVmsParams, opts ...ClientOption) (*GetVmsOK, error)
GetVms get vms API
func (*Client) GetVmsConnection ¶
func (a *Client) GetVmsConnection(params *GetVmsConnectionParams, opts ...ClientOption) (*GetVmsConnectionOK, error)
GetVmsConnection get vms connection API
func (*Client) ImportVM ¶ added in v2.9.0
func (a *Client) ImportVM(params *ImportVMParams, opts ...ClientOption) (*ImportVMOK, error)
ImportVM import Vm API
func (*Client) InstallVmtools ¶
func (a *Client) InstallVmtools(params *InstallVmtoolsParams, opts ...ClientOption) (*InstallVmtoolsOK, error)
InstallVmtools install vmtools API
func (*Client) MigrateVM ¶ added in v2.1.0
func (a *Client) MigrateVM(params *MigrateVMParams, opts ...ClientOption) (*MigrateVMOK, error)
MigrateVM migrate Vm API
func (*Client) MigrateVMAcrossCluster ¶ added in v2.1.0
func (a *Client) MigrateVMAcrossCluster(params *MigrateVMAcrossClusterParams, opts ...ClientOption) (*MigrateVMAcrossClusterOK, error)
MigrateVMAcrossCluster migrate Vm across cluster API
func (*Client) MoveVMToRecycleBin ¶
func (a *Client) MoveVMToRecycleBin(params *MoveVMToRecycleBinParams, opts ...ClientOption) (*MoveVMToRecycleBinOK, error)
MoveVMToRecycleBin move Vm to recycle bin API
func (*Client) PoweroffVM ¶
func (a *Client) PoweroffVM(params *PoweroffVMParams, opts ...ClientOption) (*PoweroffVMOK, error)
PoweroffVM poweroff Vm API
func (*Client) RebuildVM ¶
func (a *Client) RebuildVM(params *RebuildVMParams, opts ...ClientOption) (*RebuildVMOK, error)
RebuildVM rebuild Vm API
func (*Client) RecoverVMFromRecycleBin ¶
func (a *Client) RecoverVMFromRecycleBin(params *RecoverVMFromRecycleBinParams, opts ...ClientOption) (*RecoverVMFromRecycleBinOK, error)
RecoverVMFromRecycleBin recover Vm from recycle bin API
func (*Client) RemoveVMCdRom ¶
func (a *Client) RemoveVMCdRom(params *RemoveVMCdRomParams, opts ...ClientOption) (*RemoveVMCdRomOK, error)
RemoveVMCdRom remove Vm cd rom API
func (*Client) RemoveVMDisk ¶
func (a *Client) RemoveVMDisk(params *RemoveVMDiskParams, opts ...ClientOption) (*RemoveVMDiskOK, error)
RemoveVMDisk remove Vm disk API
func (*Client) RemoveVMGpuDevice ¶ added in v2.12.0
func (a *Client) RemoveVMGpuDevice(params *RemoveVMGpuDeviceParams, opts ...ClientOption) (*RemoveVMGpuDeviceOK, error)
RemoveVMGpuDevice remove Vm gpu device API
func (*Client) RemoveVMNic ¶
func (a *Client) RemoveVMNic(params *RemoveVMNicParams, opts ...ClientOption) (*RemoveVMNicOK, error)
RemoveVMNic remove Vm nic API
func (*Client) RemoveVMNicByWhere ¶ added in v2.12.0
func (a *Client) RemoveVMNicByWhere(params *RemoveVMNicByWhereParams, opts ...ClientOption) (*RemoveVMNicByWhereOK, error)
RemoveVMNicByWhere remove Vm nic by where API
func (*Client) RemoveVMPciNic ¶ added in v2.12.0
func (a *Client) RemoveVMPciNic(params *RemoveVMPciNicParams, opts ...ClientOption) (*RemoveVMPciNicOK, error)
RemoveVMPciNic remove Vm pci nic API
func (*Client) RemoveVMToFolder ¶
func (a *Client) RemoveVMToFolder(params *RemoveVMToFolderParams, opts ...ClientOption) (*RemoveVMToFolderOK, error)
RemoveVMToFolder remove Vm to folder API
func (*Client) ResetVMGuestOsPassword ¶ added in v2.1.0
func (a *Client) ResetVMGuestOsPassword(params *ResetVMGuestOsPasswordParams, opts ...ClientOption) (*ResetVMGuestOsPasswordOK, error)
ResetVMGuestOsPassword reset Vm guest os password API
func (*Client) RestartVM ¶
func (a *Client) RestartVM(params *RestartVMParams, opts ...ClientOption) (*RestartVMOK, error)
RestartVM restart Vm API
func (*Client) ResumeVM ¶
func (a *Client) ResumeVM(params *ResumeVMParams, opts ...ClientOption) (*ResumeVMOK, error)
ResumeVM resume Vm API
func (*Client) RollbackVM ¶
func (a *Client) RollbackVM(params *RollbackVMParams, opts ...ClientOption) (*RollbackVMOK, error)
RollbackVM rollback Vm API
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) ShutDownVM ¶
func (a *Client) ShutDownVM(params *ShutDownVMParams, opts ...ClientOption) (*ShutDownVMOK, error)
ShutDownVM shut down Vm API
func (*Client) StartVM ¶
func (a *Client) StartVM(params *StartVMParams, opts ...ClientOption) (*StartVMOK, error)
StartVM start Vm API
func (*Client) StopVMInCutoverMigration ¶ added in v2.1.0
func (a *Client) StopVMInCutoverMigration(params *StopVMInCutoverMigrationParams, opts ...ClientOption) (*StopVMInCutoverMigrationOK, error)
StopVMInCutoverMigration stop Vm in cutover migration API
func (*Client) SuspendVM ¶
func (a *Client) SuspendVM(params *SuspendVMParams, opts ...ClientOption) (*SuspendVMOK, error)
SuspendVM suspend Vm API
func (*Client) ToggleVMCdRomDisable ¶
func (a *Client) ToggleVMCdRomDisable(params *ToggleVMCdRomDisableParams, opts ...ClientOption) (*ToggleVMCdRomDisableOK, error)
ToggleVMCdRomDisable toggle Vm cd rom disable API
func (*Client) UpdateVM ¶
func (a *Client) UpdateVM(params *UpdateVMParams, opts ...ClientOption) (*UpdateVMOK, error)
UpdateVM update Vm API
func (*Client) UpdateVMAdvancedOptions ¶
func (a *Client) UpdateVMAdvancedOptions(params *UpdateVMAdvancedOptionsParams, opts ...ClientOption) (*UpdateVMAdvancedOptionsOK, error)
UpdateVMAdvancedOptions update Vm advanced options API
func (*Client) UpdateVMDisk ¶
func (a *Client) UpdateVMDisk(params *UpdateVMDiskParams, opts ...ClientOption) (*UpdateVMDiskOK, error)
UpdateVMDisk update Vm disk API
func (*Client) UpdateVMHostOptions ¶ added in v2.1.0
func (a *Client) UpdateVMHostOptions(params *UpdateVMHostOptionsParams, opts ...ClientOption) (*UpdateVMHostOptionsOK, error)
UpdateVMHostOptions update Vm host options API
func (*Client) UpdateVMIoPolicy ¶ added in v2.4.0
func (a *Client) UpdateVMIoPolicy(params *UpdateVMIoPolicyParams, opts ...ClientOption) (*UpdateVMIoPolicyOK, error)
UpdateVMIoPolicy update Vm io policy API
func (*Client) UpdateVMNic ¶
func (a *Client) UpdateVMNic(params *UpdateVMNicParams, opts ...ClientOption) (*UpdateVMNicOK, error)
UpdateVMNic update Vm nic API
func (*Client) UpdateVMNicAdvanceInfo ¶
func (a *Client) UpdateVMNicAdvanceInfo(params *UpdateVMNicAdvanceInfoParams, opts ...ClientOption) (*UpdateVMNicAdvanceInfoOK, error)
UpdateVMNicAdvanceInfo update Vm nic advance info API
func (*Client) UpdateVMNicBasicInfo ¶
func (a *Client) UpdateVMNicBasicInfo(params *UpdateVMNicBasicInfoParams, opts ...ClientOption) (*UpdateVMNicBasicInfoOK, error)
UpdateVMNicBasicInfo update Vm nic basic info API
func (*Client) UpdateVMNicQosOption ¶ added in v2.11.0
func (a *Client) UpdateVMNicQosOption(params *UpdateVMNicQosOptionParams, opts ...ClientOption) (*UpdateVMNicQosOptionOK, error)
UpdateVMNicQosOption update Vm nic qos option API
func (*Client) UpdateVMOwner ¶ added in v2.1.0
func (a *Client) UpdateVMOwner(params *UpdateVMOwnerParams, opts ...ClientOption) (*UpdateVMOwnerOK, error)
UpdateVMOwner update Vm owner API
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { AbortMigrateVMAcrossCluster(params *AbortMigrateVMAcrossClusterParams, opts ...ClientOption) (*AbortMigrateVMAcrossClusterOK, error) AddVMCdRom(params *AddVMCdRomParams, opts ...ClientOption) (*AddVMCdRomOK, error) AddVMDisk(params *AddVMDiskParams, opts ...ClientOption) (*AddVMDiskOK, error) AddVMGpuDevice(params *AddVMGpuDeviceParams, opts ...ClientOption) (*AddVMGpuDeviceOK, error) AddVMNic(params *AddVMNicParams, opts ...ClientOption) (*AddVMNicOK, error) AddVMPciNic(params *AddVMPciNicParams, opts ...ClientOption) (*AddVMPciNicOK, error) AddVMToFolder(params *AddVMToFolderParams, opts ...ClientOption) (*AddVMToFolderOK, error) CloneVM(params *CloneVMParams, opts ...ClientOption) (*CloneVMOK, error) ConvertVMTemplateToVM(params *ConvertVMTemplateToVMParams, opts ...ClientOption) (*ConvertVMTemplateToVMOK, error) CreateVM(params *CreateVMParams, opts ...ClientOption) (*CreateVMOK, error) CreateVMFromContentLibraryTemplate(params *CreateVMFromContentLibraryTemplateParams, opts ...ClientOption) (*CreateVMFromContentLibraryTemplateOK, error) CreateVMFromTemplate(params *CreateVMFromTemplateParams, opts ...ClientOption) (*CreateVMFromTemplateOK, error) DeleteVM(params *DeleteVMParams, opts ...ClientOption) (*DeleteVMOK, error) EjectIsoFromVMCdRom(params *EjectIsoFromVMCdRomParams, opts ...ClientOption) (*EjectIsoFromVMCdRomOK, error) ExpandVMDisk(params *ExpandVMDiskParams, opts ...ClientOption) (*ExpandVMDiskOK, error) ExportVM(params *ExportVMParams, opts ...ClientOption) (*ExportVMOK, error) ForceRestartVM(params *ForceRestartVMParams, opts ...ClientOption) (*ForceRestartVMOK, error) GetVms(params *GetVmsParams, opts ...ClientOption) (*GetVmsOK, error) GetVmsConnection(params *GetVmsConnectionParams, opts ...ClientOption) (*GetVmsConnectionOK, error) ImportVM(params *ImportVMParams, opts ...ClientOption) (*ImportVMOK, error) InstallVmtools(params *InstallVmtoolsParams, opts ...ClientOption) (*InstallVmtoolsOK, error) MigrateVM(params *MigrateVMParams, opts ...ClientOption) (*MigrateVMOK, error) MigrateVMAcrossCluster(params *MigrateVMAcrossClusterParams, opts ...ClientOption) (*MigrateVMAcrossClusterOK, error) MoveVMToRecycleBin(params *MoveVMToRecycleBinParams, opts ...ClientOption) (*MoveVMToRecycleBinOK, error) PoweroffVM(params *PoweroffVMParams, opts ...ClientOption) (*PoweroffVMOK, error) RebuildVM(params *RebuildVMParams, opts ...ClientOption) (*RebuildVMOK, error) RecoverVMFromRecycleBin(params *RecoverVMFromRecycleBinParams, opts ...ClientOption) (*RecoverVMFromRecycleBinOK, error) RemoveVMCdRom(params *RemoveVMCdRomParams, opts ...ClientOption) (*RemoveVMCdRomOK, error) RemoveVMDisk(params *RemoveVMDiskParams, opts ...ClientOption) (*RemoveVMDiskOK, error) RemoveVMGpuDevice(params *RemoveVMGpuDeviceParams, opts ...ClientOption) (*RemoveVMGpuDeviceOK, error) RemoveVMNic(params *RemoveVMNicParams, opts ...ClientOption) (*RemoveVMNicOK, error) RemoveVMNicByWhere(params *RemoveVMNicByWhereParams, opts ...ClientOption) (*RemoveVMNicByWhereOK, error) RemoveVMPciNic(params *RemoveVMPciNicParams, opts ...ClientOption) (*RemoveVMPciNicOK, error) RemoveVMToFolder(params *RemoveVMToFolderParams, opts ...ClientOption) (*RemoveVMToFolderOK, error) ResetVMGuestOsPassword(params *ResetVMGuestOsPasswordParams, opts ...ClientOption) (*ResetVMGuestOsPasswordOK, error) RestartVM(params *RestartVMParams, opts ...ClientOption) (*RestartVMOK, error) ResumeVM(params *ResumeVMParams, opts ...ClientOption) (*ResumeVMOK, error) RollbackVM(params *RollbackVMParams, opts ...ClientOption) (*RollbackVMOK, error) ShutDownVM(params *ShutDownVMParams, opts ...ClientOption) (*ShutDownVMOK, error) StartVM(params *StartVMParams, opts ...ClientOption) (*StartVMOK, error) StopVMInCutoverMigration(params *StopVMInCutoverMigrationParams, opts ...ClientOption) (*StopVMInCutoverMigrationOK, error) SuspendVM(params *SuspendVMParams, opts ...ClientOption) (*SuspendVMOK, error) ToggleVMCdRomDisable(params *ToggleVMCdRomDisableParams, opts ...ClientOption) (*ToggleVMCdRomDisableOK, error) UpdateVM(params *UpdateVMParams, opts ...ClientOption) (*UpdateVMOK, error) UpdateVMAdvancedOptions(params *UpdateVMAdvancedOptionsParams, opts ...ClientOption) (*UpdateVMAdvancedOptionsOK, error) UpdateVMDisk(params *UpdateVMDiskParams, opts ...ClientOption) (*UpdateVMDiskOK, error) UpdateVMHostOptions(params *UpdateVMHostOptionsParams, opts ...ClientOption) (*UpdateVMHostOptionsOK, error) UpdateVMIoPolicy(params *UpdateVMIoPolicyParams, opts ...ClientOption) (*UpdateVMIoPolicyOK, error) UpdateVMNic(params *UpdateVMNicParams, opts ...ClientOption) (*UpdateVMNicOK, error) UpdateVMNicAdvanceInfo(params *UpdateVMNicAdvanceInfoParams, opts ...ClientOption) (*UpdateVMNicAdvanceInfoOK, error) UpdateVMNicBasicInfo(params *UpdateVMNicBasicInfoParams, opts ...ClientOption) (*UpdateVMNicBasicInfoOK, error) UpdateVMNicQosOption(params *UpdateVMNicQosOptionParams, opts ...ClientOption) (*UpdateVMNicQosOptionOK, error) UpdateVMOwner(params *UpdateVMOwnerParams, opts ...ClientOption) (*UpdateVMOwnerOK, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new vm API client.
type CloneVMBadRequest ¶
CloneVMBadRequest describes a response with status code 400, with default header values.
Bad request
func NewCloneVMBadRequest ¶
func NewCloneVMBadRequest() *CloneVMBadRequest
NewCloneVMBadRequest creates a CloneVMBadRequest with default headers values
func (*CloneVMBadRequest) Error ¶
func (o *CloneVMBadRequest) Error() string
func (*CloneVMBadRequest) GetPayload ¶
func (o *CloneVMBadRequest) GetPayload() *models.ErrorBody
type CloneVMInternalServerError ¶
CloneVMInternalServerError describes a response with status code 500, with default header values.
Server error
func NewCloneVMInternalServerError ¶
func NewCloneVMInternalServerError() *CloneVMInternalServerError
NewCloneVMInternalServerError creates a CloneVMInternalServerError with default headers values
func (*CloneVMInternalServerError) Error ¶
func (o *CloneVMInternalServerError) Error() string
func (*CloneVMInternalServerError) GetPayload ¶
func (o *CloneVMInternalServerError) GetPayload() *models.ErrorBody
type CloneVMNotFound ¶
CloneVMNotFound describes a response with status code 404, with default header values.
Not found
func NewCloneVMNotFound ¶
func NewCloneVMNotFound() *CloneVMNotFound
NewCloneVMNotFound creates a CloneVMNotFound with default headers values
func (*CloneVMNotFound) Error ¶
func (o *CloneVMNotFound) Error() string
func (*CloneVMNotFound) GetPayload ¶
func (o *CloneVMNotFound) GetPayload() *models.ErrorBody
type CloneVMOK ¶
type CloneVMOK struct { XTowerRequestID string Payload []*models.WithTaskVM }
CloneVMOK describes a response with status code 200, with default header values.
CloneVMOK clone Vm o k
func NewCloneVMOK ¶
func NewCloneVMOK() *CloneVMOK
NewCloneVMOK creates a CloneVMOK with default headers values
func (*CloneVMOK) GetPayload ¶
func (o *CloneVMOK) GetPayload() []*models.WithTaskVM
type CloneVMParams ¶
type CloneVMParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody []*models.VMCloneParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CloneVMParams contains all the parameters to send to the API endpoint
for the clone Vm operation. Typically these are written to a http.Request.
func NewCloneVMParams ¶
func NewCloneVMParams() *CloneVMParams
NewCloneVMParams creates a new CloneVMParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewCloneVMParamsWithContext ¶
func NewCloneVMParamsWithContext(ctx context.Context) *CloneVMParams
NewCloneVMParamsWithContext creates a new CloneVMParams object with the ability to set a context for a request.
func NewCloneVMParamsWithHTTPClient ¶
func NewCloneVMParamsWithHTTPClient(client *http.Client) *CloneVMParams
NewCloneVMParamsWithHTTPClient creates a new CloneVMParams object with the ability to set a custom HTTPClient for a request.
func NewCloneVMParamsWithTimeout ¶
func NewCloneVMParamsWithTimeout(timeout time.Duration) *CloneVMParams
NewCloneVMParamsWithTimeout creates a new CloneVMParams object with the ability to set a timeout on a request.
func (*CloneVMParams) SetContentLanguage ¶
func (o *CloneVMParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the clone Vm params
func (*CloneVMParams) SetContext ¶
func (o *CloneVMParams) SetContext(ctx context.Context)
SetContext adds the context to the clone Vm params
func (*CloneVMParams) SetDefaults ¶
func (o *CloneVMParams) SetDefaults()
SetDefaults hydrates default values in the clone Vm params (not the query body).
All values with no default are reset to their zero value.
func (*CloneVMParams) SetHTTPClient ¶
func (o *CloneVMParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the clone Vm params
func (*CloneVMParams) SetRequestBody ¶
func (o *CloneVMParams) SetRequestBody(requestBody []*models.VMCloneParams)
SetRequestBody adds the requestBody to the clone Vm params
func (*CloneVMParams) SetTimeout ¶
func (o *CloneVMParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the clone Vm params
func (*CloneVMParams) WithContentLanguage ¶
func (o *CloneVMParams) WithContentLanguage(contentLanguage *string) *CloneVMParams
WithContentLanguage adds the contentLanguage to the clone Vm params
func (*CloneVMParams) WithContext ¶
func (o *CloneVMParams) WithContext(ctx context.Context) *CloneVMParams
WithContext adds the context to the clone Vm params
func (*CloneVMParams) WithDefaults ¶
func (o *CloneVMParams) WithDefaults() *CloneVMParams
WithDefaults hydrates default values in the clone Vm params (not the query body).
All values with no default are reset to their zero value.
func (*CloneVMParams) WithHTTPClient ¶
func (o *CloneVMParams) WithHTTPClient(client *http.Client) *CloneVMParams
WithHTTPClient adds the HTTPClient to the clone Vm params
func (*CloneVMParams) WithRequestBody ¶
func (o *CloneVMParams) WithRequestBody(requestBody []*models.VMCloneParams) *CloneVMParams
WithRequestBody adds the requestBody to the clone Vm params
func (*CloneVMParams) WithTimeout ¶
func (o *CloneVMParams) WithTimeout(timeout time.Duration) *CloneVMParams
WithTimeout adds the timeout to the clone Vm params
func (*CloneVMParams) WriteToRequest ¶
func (o *CloneVMParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CloneVMReader ¶
type CloneVMReader struct {
// contains filtered or unexported fields
}
CloneVMReader is a Reader for the CloneVM structure.
func (*CloneVMReader) ReadResponse ¶
func (o *CloneVMReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ConvertVMTemplateToVMBadRequest ¶
ConvertVMTemplateToVMBadRequest describes a response with status code 400, with default header values.
Bad request
func NewConvertVMTemplateToVMBadRequest ¶
func NewConvertVMTemplateToVMBadRequest() *ConvertVMTemplateToVMBadRequest
NewConvertVMTemplateToVMBadRequest creates a ConvertVMTemplateToVMBadRequest with default headers values
func (*ConvertVMTemplateToVMBadRequest) Error ¶
func (o *ConvertVMTemplateToVMBadRequest) Error() string
func (*ConvertVMTemplateToVMBadRequest) GetPayload ¶
func (o *ConvertVMTemplateToVMBadRequest) GetPayload() *models.ErrorBody
type ConvertVMTemplateToVMInternalServerError ¶
type ConvertVMTemplateToVMInternalServerError struct { XTowerRequestID string Payload *models.ErrorBody }
ConvertVMTemplateToVMInternalServerError describes a response with status code 500, with default header values.
Server error
func NewConvertVMTemplateToVMInternalServerError ¶
func NewConvertVMTemplateToVMInternalServerError() *ConvertVMTemplateToVMInternalServerError
NewConvertVMTemplateToVMInternalServerError creates a ConvertVMTemplateToVMInternalServerError with default headers values
func (*ConvertVMTemplateToVMInternalServerError) Error ¶
func (o *ConvertVMTemplateToVMInternalServerError) Error() string
func (*ConvertVMTemplateToVMInternalServerError) GetPayload ¶
func (o *ConvertVMTemplateToVMInternalServerError) GetPayload() *models.ErrorBody
type ConvertVMTemplateToVMNotFound ¶
ConvertVMTemplateToVMNotFound describes a response with status code 404, with default header values.
Not found
func NewConvertVMTemplateToVMNotFound ¶
func NewConvertVMTemplateToVMNotFound() *ConvertVMTemplateToVMNotFound
NewConvertVMTemplateToVMNotFound creates a ConvertVMTemplateToVMNotFound with default headers values
func (*ConvertVMTemplateToVMNotFound) Error ¶
func (o *ConvertVMTemplateToVMNotFound) Error() string
func (*ConvertVMTemplateToVMNotFound) GetPayload ¶
func (o *ConvertVMTemplateToVMNotFound) GetPayload() *models.ErrorBody
type ConvertVMTemplateToVMOK ¶
type ConvertVMTemplateToVMOK struct { XTowerRequestID string Payload []*models.WithTaskVM }
ConvertVMTemplateToVMOK describes a response with status code 200, with default header values.
ConvertVMTemplateToVMOK convert Vm template to Vm o k
func NewConvertVMTemplateToVMOK ¶
func NewConvertVMTemplateToVMOK() *ConvertVMTemplateToVMOK
NewConvertVMTemplateToVMOK creates a ConvertVMTemplateToVMOK with default headers values
func (*ConvertVMTemplateToVMOK) Error ¶
func (o *ConvertVMTemplateToVMOK) Error() string
func (*ConvertVMTemplateToVMOK) GetPayload ¶
func (o *ConvertVMTemplateToVMOK) GetPayload() []*models.WithTaskVM
type ConvertVMTemplateToVMParams ¶
type ConvertVMTemplateToVMParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody []*models.ConvertVMTemplateToVMParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ConvertVMTemplateToVMParams contains all the parameters to send to the API endpoint
for the convert Vm template to Vm operation. Typically these are written to a http.Request.
func NewConvertVMTemplateToVMParams ¶
func NewConvertVMTemplateToVMParams() *ConvertVMTemplateToVMParams
NewConvertVMTemplateToVMParams creates a new ConvertVMTemplateToVMParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewConvertVMTemplateToVMParamsWithContext ¶
func NewConvertVMTemplateToVMParamsWithContext(ctx context.Context) *ConvertVMTemplateToVMParams
NewConvertVMTemplateToVMParamsWithContext creates a new ConvertVMTemplateToVMParams object with the ability to set a context for a request.
func NewConvertVMTemplateToVMParamsWithHTTPClient ¶
func NewConvertVMTemplateToVMParamsWithHTTPClient(client *http.Client) *ConvertVMTemplateToVMParams
NewConvertVMTemplateToVMParamsWithHTTPClient creates a new ConvertVMTemplateToVMParams object with the ability to set a custom HTTPClient for a request.
func NewConvertVMTemplateToVMParamsWithTimeout ¶
func NewConvertVMTemplateToVMParamsWithTimeout(timeout time.Duration) *ConvertVMTemplateToVMParams
NewConvertVMTemplateToVMParamsWithTimeout creates a new ConvertVMTemplateToVMParams object with the ability to set a timeout on a request.
func (*ConvertVMTemplateToVMParams) SetContentLanguage ¶
func (o *ConvertVMTemplateToVMParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the convert Vm template to Vm params
func (*ConvertVMTemplateToVMParams) SetContext ¶
func (o *ConvertVMTemplateToVMParams) SetContext(ctx context.Context)
SetContext adds the context to the convert Vm template to Vm params
func (*ConvertVMTemplateToVMParams) SetDefaults ¶
func (o *ConvertVMTemplateToVMParams) SetDefaults()
SetDefaults hydrates default values in the convert Vm template to Vm params (not the query body).
All values with no default are reset to their zero value.
func (*ConvertVMTemplateToVMParams) SetHTTPClient ¶
func (o *ConvertVMTemplateToVMParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the convert Vm template to Vm params
func (*ConvertVMTemplateToVMParams) SetRequestBody ¶
func (o *ConvertVMTemplateToVMParams) SetRequestBody(requestBody []*models.ConvertVMTemplateToVMParams)
SetRequestBody adds the requestBody to the convert Vm template to Vm params
func (*ConvertVMTemplateToVMParams) SetTimeout ¶
func (o *ConvertVMTemplateToVMParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the convert Vm template to Vm params
func (*ConvertVMTemplateToVMParams) WithContentLanguage ¶
func (o *ConvertVMTemplateToVMParams) WithContentLanguage(contentLanguage *string) *ConvertVMTemplateToVMParams
WithContentLanguage adds the contentLanguage to the convert Vm template to Vm params
func (*ConvertVMTemplateToVMParams) WithContext ¶
func (o *ConvertVMTemplateToVMParams) WithContext(ctx context.Context) *ConvertVMTemplateToVMParams
WithContext adds the context to the convert Vm template to Vm params
func (*ConvertVMTemplateToVMParams) WithDefaults ¶
func (o *ConvertVMTemplateToVMParams) WithDefaults() *ConvertVMTemplateToVMParams
WithDefaults hydrates default values in the convert Vm template to Vm params (not the query body).
All values with no default are reset to their zero value.
func (*ConvertVMTemplateToVMParams) WithHTTPClient ¶
func (o *ConvertVMTemplateToVMParams) WithHTTPClient(client *http.Client) *ConvertVMTemplateToVMParams
WithHTTPClient adds the HTTPClient to the convert Vm template to Vm params
func (*ConvertVMTemplateToVMParams) WithRequestBody ¶
func (o *ConvertVMTemplateToVMParams) WithRequestBody(requestBody []*models.ConvertVMTemplateToVMParams) *ConvertVMTemplateToVMParams
WithRequestBody adds the requestBody to the convert Vm template to Vm params
func (*ConvertVMTemplateToVMParams) WithTimeout ¶
func (o *ConvertVMTemplateToVMParams) WithTimeout(timeout time.Duration) *ConvertVMTemplateToVMParams
WithTimeout adds the timeout to the convert Vm template to Vm params
func (*ConvertVMTemplateToVMParams) WriteToRequest ¶
func (o *ConvertVMTemplateToVMParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ConvertVMTemplateToVMReader ¶
type ConvertVMTemplateToVMReader struct {
// contains filtered or unexported fields
}
ConvertVMTemplateToVMReader is a Reader for the ConvertVMTemplateToVM structure.
func (*ConvertVMTemplateToVMReader) ReadResponse ¶
func (o *ConvertVMTemplateToVMReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateVMBadRequest ¶
CreateVMBadRequest describes a response with status code 400, with default header values.
Bad request
func NewCreateVMBadRequest ¶
func NewCreateVMBadRequest() *CreateVMBadRequest
NewCreateVMBadRequest creates a CreateVMBadRequest with default headers values
func (*CreateVMBadRequest) Error ¶
func (o *CreateVMBadRequest) Error() string
func (*CreateVMBadRequest) GetPayload ¶
func (o *CreateVMBadRequest) GetPayload() *models.ErrorBody
type CreateVMFromContentLibraryTemplateBadRequest ¶ added in v2.1.0
type CreateVMFromContentLibraryTemplateBadRequest struct { XTowerRequestID string Payload *models.ErrorBody }
CreateVMFromContentLibraryTemplateBadRequest describes a response with status code 400, with default header values.
Bad request
func NewCreateVMFromContentLibraryTemplateBadRequest ¶ added in v2.1.0
func NewCreateVMFromContentLibraryTemplateBadRequest() *CreateVMFromContentLibraryTemplateBadRequest
NewCreateVMFromContentLibraryTemplateBadRequest creates a CreateVMFromContentLibraryTemplateBadRequest with default headers values
func (*CreateVMFromContentLibraryTemplateBadRequest) Error ¶ added in v2.1.0
func (o *CreateVMFromContentLibraryTemplateBadRequest) Error() string
func (*CreateVMFromContentLibraryTemplateBadRequest) GetPayload ¶ added in v2.1.0
func (o *CreateVMFromContentLibraryTemplateBadRequest) GetPayload() *models.ErrorBody
type CreateVMFromContentLibraryTemplateInternalServerError ¶ added in v2.1.0
type CreateVMFromContentLibraryTemplateInternalServerError struct { XTowerRequestID string Payload *models.ErrorBody }
CreateVMFromContentLibraryTemplateInternalServerError describes a response with status code 500, with default header values.
Server error
func NewCreateVMFromContentLibraryTemplateInternalServerError ¶ added in v2.1.0
func NewCreateVMFromContentLibraryTemplateInternalServerError() *CreateVMFromContentLibraryTemplateInternalServerError
NewCreateVMFromContentLibraryTemplateInternalServerError creates a CreateVMFromContentLibraryTemplateInternalServerError with default headers values
func (*CreateVMFromContentLibraryTemplateInternalServerError) Error ¶ added in v2.1.0
func (o *CreateVMFromContentLibraryTemplateInternalServerError) Error() string
func (*CreateVMFromContentLibraryTemplateInternalServerError) GetPayload ¶ added in v2.1.0
func (o *CreateVMFromContentLibraryTemplateInternalServerError) GetPayload() *models.ErrorBody
type CreateVMFromContentLibraryTemplateNotFound ¶ added in v2.1.0
type CreateVMFromContentLibraryTemplateNotFound struct { XTowerRequestID string Payload *models.ErrorBody }
CreateVMFromContentLibraryTemplateNotFound describes a response with status code 404, with default header values.
Not found
func NewCreateVMFromContentLibraryTemplateNotFound ¶ added in v2.1.0
func NewCreateVMFromContentLibraryTemplateNotFound() *CreateVMFromContentLibraryTemplateNotFound
NewCreateVMFromContentLibraryTemplateNotFound creates a CreateVMFromContentLibraryTemplateNotFound with default headers values
func (*CreateVMFromContentLibraryTemplateNotFound) Error ¶ added in v2.1.0
func (o *CreateVMFromContentLibraryTemplateNotFound) Error() string
func (*CreateVMFromContentLibraryTemplateNotFound) GetPayload ¶ added in v2.1.0
func (o *CreateVMFromContentLibraryTemplateNotFound) GetPayload() *models.ErrorBody
type CreateVMFromContentLibraryTemplateOK ¶ added in v2.1.0
type CreateVMFromContentLibraryTemplateOK struct { XTowerRequestID string Payload []*models.WithTaskVM }
CreateVMFromContentLibraryTemplateOK describes a response with status code 200, with default header values.
CreateVMFromContentLibraryTemplateOK create Vm from content library template o k
func NewCreateVMFromContentLibraryTemplateOK ¶ added in v2.1.0
func NewCreateVMFromContentLibraryTemplateOK() *CreateVMFromContentLibraryTemplateOK
NewCreateVMFromContentLibraryTemplateOK creates a CreateVMFromContentLibraryTemplateOK with default headers values
func (*CreateVMFromContentLibraryTemplateOK) Error ¶ added in v2.1.0
func (o *CreateVMFromContentLibraryTemplateOK) Error() string
func (*CreateVMFromContentLibraryTemplateOK) GetPayload ¶ added in v2.1.0
func (o *CreateVMFromContentLibraryTemplateOK) GetPayload() []*models.WithTaskVM
type CreateVMFromContentLibraryTemplateParams ¶ added in v2.1.0
type CreateVMFromContentLibraryTemplateParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody []*models.VMCreateVMFromContentLibraryTemplateParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateVMFromContentLibraryTemplateParams contains all the parameters to send to the API endpoint
for the create Vm from content library template operation. Typically these are written to a http.Request.
func NewCreateVMFromContentLibraryTemplateParams ¶ added in v2.1.0
func NewCreateVMFromContentLibraryTemplateParams() *CreateVMFromContentLibraryTemplateParams
NewCreateVMFromContentLibraryTemplateParams creates a new CreateVMFromContentLibraryTemplateParams 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 NewCreateVMFromContentLibraryTemplateParamsWithContext ¶ added in v2.1.0
func NewCreateVMFromContentLibraryTemplateParamsWithContext(ctx context.Context) *CreateVMFromContentLibraryTemplateParams
NewCreateVMFromContentLibraryTemplateParamsWithContext creates a new CreateVMFromContentLibraryTemplateParams object with the ability to set a context for a request.
func NewCreateVMFromContentLibraryTemplateParamsWithHTTPClient ¶ added in v2.1.0
func NewCreateVMFromContentLibraryTemplateParamsWithHTTPClient(client *http.Client) *CreateVMFromContentLibraryTemplateParams
NewCreateVMFromContentLibraryTemplateParamsWithHTTPClient creates a new CreateVMFromContentLibraryTemplateParams object with the ability to set a custom HTTPClient for a request.
func NewCreateVMFromContentLibraryTemplateParamsWithTimeout ¶ added in v2.1.0
func NewCreateVMFromContentLibraryTemplateParamsWithTimeout(timeout time.Duration) *CreateVMFromContentLibraryTemplateParams
NewCreateVMFromContentLibraryTemplateParamsWithTimeout creates a new CreateVMFromContentLibraryTemplateParams object with the ability to set a timeout on a request.
func (*CreateVMFromContentLibraryTemplateParams) SetContentLanguage ¶ added in v2.1.0
func (o *CreateVMFromContentLibraryTemplateParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the create Vm from content library template params
func (*CreateVMFromContentLibraryTemplateParams) SetContext ¶ added in v2.1.0
func (o *CreateVMFromContentLibraryTemplateParams) SetContext(ctx context.Context)
SetContext adds the context to the create Vm from content library template params
func (*CreateVMFromContentLibraryTemplateParams) SetDefaults ¶ added in v2.1.0
func (o *CreateVMFromContentLibraryTemplateParams) SetDefaults()
SetDefaults hydrates default values in the create Vm from content library template params (not the query body).
All values with no default are reset to their zero value.
func (*CreateVMFromContentLibraryTemplateParams) SetHTTPClient ¶ added in v2.1.0
func (o *CreateVMFromContentLibraryTemplateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create Vm from content library template params
func (*CreateVMFromContentLibraryTemplateParams) SetRequestBody ¶ added in v2.1.0
func (o *CreateVMFromContentLibraryTemplateParams) SetRequestBody(requestBody []*models.VMCreateVMFromContentLibraryTemplateParams)
SetRequestBody adds the requestBody to the create Vm from content library template params
func (*CreateVMFromContentLibraryTemplateParams) SetTimeout ¶ added in v2.1.0
func (o *CreateVMFromContentLibraryTemplateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create Vm from content library template params
func (*CreateVMFromContentLibraryTemplateParams) WithContentLanguage ¶ added in v2.1.0
func (o *CreateVMFromContentLibraryTemplateParams) WithContentLanguage(contentLanguage *string) *CreateVMFromContentLibraryTemplateParams
WithContentLanguage adds the contentLanguage to the create Vm from content library template params
func (*CreateVMFromContentLibraryTemplateParams) WithContext ¶ added in v2.1.0
func (o *CreateVMFromContentLibraryTemplateParams) WithContext(ctx context.Context) *CreateVMFromContentLibraryTemplateParams
WithContext adds the context to the create Vm from content library template params
func (*CreateVMFromContentLibraryTemplateParams) WithDefaults ¶ added in v2.1.0
func (o *CreateVMFromContentLibraryTemplateParams) WithDefaults() *CreateVMFromContentLibraryTemplateParams
WithDefaults hydrates default values in the create Vm from content library template params (not the query body).
All values with no default are reset to their zero value.
func (*CreateVMFromContentLibraryTemplateParams) WithHTTPClient ¶ added in v2.1.0
func (o *CreateVMFromContentLibraryTemplateParams) WithHTTPClient(client *http.Client) *CreateVMFromContentLibraryTemplateParams
WithHTTPClient adds the HTTPClient to the create Vm from content library template params
func (*CreateVMFromContentLibraryTemplateParams) WithRequestBody ¶ added in v2.1.0
func (o *CreateVMFromContentLibraryTemplateParams) WithRequestBody(requestBody []*models.VMCreateVMFromContentLibraryTemplateParams) *CreateVMFromContentLibraryTemplateParams
WithRequestBody adds the requestBody to the create Vm from content library template params
func (*CreateVMFromContentLibraryTemplateParams) WithTimeout ¶ added in v2.1.0
func (o *CreateVMFromContentLibraryTemplateParams) WithTimeout(timeout time.Duration) *CreateVMFromContentLibraryTemplateParams
WithTimeout adds the timeout to the create Vm from content library template params
func (*CreateVMFromContentLibraryTemplateParams) WriteToRequest ¶ added in v2.1.0
func (o *CreateVMFromContentLibraryTemplateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateVMFromContentLibraryTemplateReader ¶ added in v2.1.0
type CreateVMFromContentLibraryTemplateReader struct {
// contains filtered or unexported fields
}
CreateVMFromContentLibraryTemplateReader is a Reader for the CreateVMFromContentLibraryTemplate structure.
func (*CreateVMFromContentLibraryTemplateReader) ReadResponse ¶ added in v2.1.0
func (o *CreateVMFromContentLibraryTemplateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateVMFromTemplateBadRequest ¶
CreateVMFromTemplateBadRequest describes a response with status code 400, with default header values.
Bad request
func NewCreateVMFromTemplateBadRequest ¶
func NewCreateVMFromTemplateBadRequest() *CreateVMFromTemplateBadRequest
NewCreateVMFromTemplateBadRequest creates a CreateVMFromTemplateBadRequest with default headers values
func (*CreateVMFromTemplateBadRequest) Error ¶
func (o *CreateVMFromTemplateBadRequest) Error() string
func (*CreateVMFromTemplateBadRequest) GetPayload ¶
func (o *CreateVMFromTemplateBadRequest) GetPayload() *models.ErrorBody
type CreateVMFromTemplateInternalServerError ¶
type CreateVMFromTemplateInternalServerError struct { XTowerRequestID string Payload *models.ErrorBody }
CreateVMFromTemplateInternalServerError describes a response with status code 500, with default header values.
Server error
func NewCreateVMFromTemplateInternalServerError ¶
func NewCreateVMFromTemplateInternalServerError() *CreateVMFromTemplateInternalServerError
NewCreateVMFromTemplateInternalServerError creates a CreateVMFromTemplateInternalServerError with default headers values
func (*CreateVMFromTemplateInternalServerError) Error ¶
func (o *CreateVMFromTemplateInternalServerError) Error() string
func (*CreateVMFromTemplateInternalServerError) GetPayload ¶
func (o *CreateVMFromTemplateInternalServerError) GetPayload() *models.ErrorBody
type CreateVMFromTemplateNotFound ¶
CreateVMFromTemplateNotFound describes a response with status code 404, with default header values.
Not found
func NewCreateVMFromTemplateNotFound ¶
func NewCreateVMFromTemplateNotFound() *CreateVMFromTemplateNotFound
NewCreateVMFromTemplateNotFound creates a CreateVMFromTemplateNotFound with default headers values
func (*CreateVMFromTemplateNotFound) Error ¶
func (o *CreateVMFromTemplateNotFound) Error() string
func (*CreateVMFromTemplateNotFound) GetPayload ¶
func (o *CreateVMFromTemplateNotFound) GetPayload() *models.ErrorBody
type CreateVMFromTemplateOK ¶
type CreateVMFromTemplateOK struct { XTowerRequestID string Payload []*models.WithTaskVM }
CreateVMFromTemplateOK describes a response with status code 200, with default header values.
CreateVMFromTemplateOK create Vm from template o k
func NewCreateVMFromTemplateOK ¶
func NewCreateVMFromTemplateOK() *CreateVMFromTemplateOK
NewCreateVMFromTemplateOK creates a CreateVMFromTemplateOK with default headers values
func (*CreateVMFromTemplateOK) Error ¶
func (o *CreateVMFromTemplateOK) Error() string
func (*CreateVMFromTemplateOK) GetPayload ¶
func (o *CreateVMFromTemplateOK) GetPayload() []*models.WithTaskVM
type CreateVMFromTemplateParams ¶
type CreateVMFromTemplateParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody []*models.VMCreateVMFromTemplateParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateVMFromTemplateParams contains all the parameters to send to the API endpoint
for the create Vm from template operation. Typically these are written to a http.Request.
func NewCreateVMFromTemplateParams ¶
func NewCreateVMFromTemplateParams() *CreateVMFromTemplateParams
NewCreateVMFromTemplateParams creates a new CreateVMFromTemplateParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewCreateVMFromTemplateParamsWithContext ¶
func NewCreateVMFromTemplateParamsWithContext(ctx context.Context) *CreateVMFromTemplateParams
NewCreateVMFromTemplateParamsWithContext creates a new CreateVMFromTemplateParams object with the ability to set a context for a request.
func NewCreateVMFromTemplateParamsWithHTTPClient ¶
func NewCreateVMFromTemplateParamsWithHTTPClient(client *http.Client) *CreateVMFromTemplateParams
NewCreateVMFromTemplateParamsWithHTTPClient creates a new CreateVMFromTemplateParams object with the ability to set a custom HTTPClient for a request.
func NewCreateVMFromTemplateParamsWithTimeout ¶
func NewCreateVMFromTemplateParamsWithTimeout(timeout time.Duration) *CreateVMFromTemplateParams
NewCreateVMFromTemplateParamsWithTimeout creates a new CreateVMFromTemplateParams object with the ability to set a timeout on a request.
func (*CreateVMFromTemplateParams) SetContentLanguage ¶
func (o *CreateVMFromTemplateParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the create Vm from template params
func (*CreateVMFromTemplateParams) SetContext ¶
func (o *CreateVMFromTemplateParams) SetContext(ctx context.Context)
SetContext adds the context to the create Vm from template params
func (*CreateVMFromTemplateParams) SetDefaults ¶
func (o *CreateVMFromTemplateParams) SetDefaults()
SetDefaults hydrates default values in the create Vm from template params (not the query body).
All values with no default are reset to their zero value.
func (*CreateVMFromTemplateParams) SetHTTPClient ¶
func (o *CreateVMFromTemplateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create Vm from template params
func (*CreateVMFromTemplateParams) SetRequestBody ¶
func (o *CreateVMFromTemplateParams) SetRequestBody(requestBody []*models.VMCreateVMFromTemplateParams)
SetRequestBody adds the requestBody to the create Vm from template params
func (*CreateVMFromTemplateParams) SetTimeout ¶
func (o *CreateVMFromTemplateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create Vm from template params
func (*CreateVMFromTemplateParams) WithContentLanguage ¶
func (o *CreateVMFromTemplateParams) WithContentLanguage(contentLanguage *string) *CreateVMFromTemplateParams
WithContentLanguage adds the contentLanguage to the create Vm from template params
func (*CreateVMFromTemplateParams) WithContext ¶
func (o *CreateVMFromTemplateParams) WithContext(ctx context.Context) *CreateVMFromTemplateParams
WithContext adds the context to the create Vm from template params
func (*CreateVMFromTemplateParams) WithDefaults ¶
func (o *CreateVMFromTemplateParams) WithDefaults() *CreateVMFromTemplateParams
WithDefaults hydrates default values in the create Vm from template params (not the query body).
All values with no default are reset to their zero value.
func (*CreateVMFromTemplateParams) WithHTTPClient ¶
func (o *CreateVMFromTemplateParams) WithHTTPClient(client *http.Client) *CreateVMFromTemplateParams
WithHTTPClient adds the HTTPClient to the create Vm from template params
func (*CreateVMFromTemplateParams) WithRequestBody ¶
func (o *CreateVMFromTemplateParams) WithRequestBody(requestBody []*models.VMCreateVMFromTemplateParams) *CreateVMFromTemplateParams
WithRequestBody adds the requestBody to the create Vm from template params
func (*CreateVMFromTemplateParams) WithTimeout ¶
func (o *CreateVMFromTemplateParams) WithTimeout(timeout time.Duration) *CreateVMFromTemplateParams
WithTimeout adds the timeout to the create Vm from template params
func (*CreateVMFromTemplateParams) WriteToRequest ¶
func (o *CreateVMFromTemplateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateVMFromTemplateReader ¶
type CreateVMFromTemplateReader struct {
// contains filtered or unexported fields
}
CreateVMFromTemplateReader is a Reader for the CreateVMFromTemplate structure.
func (*CreateVMFromTemplateReader) ReadResponse ¶
func (o *CreateVMFromTemplateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateVMInternalServerError ¶
CreateVMInternalServerError describes a response with status code 500, with default header values.
Server error
func NewCreateVMInternalServerError ¶
func NewCreateVMInternalServerError() *CreateVMInternalServerError
NewCreateVMInternalServerError creates a CreateVMInternalServerError with default headers values
func (*CreateVMInternalServerError) Error ¶
func (o *CreateVMInternalServerError) Error() string
func (*CreateVMInternalServerError) GetPayload ¶
func (o *CreateVMInternalServerError) GetPayload() *models.ErrorBody
type CreateVMNotFound ¶
CreateVMNotFound describes a response with status code 404, with default header values.
Not found
func NewCreateVMNotFound ¶
func NewCreateVMNotFound() *CreateVMNotFound
NewCreateVMNotFound creates a CreateVMNotFound with default headers values
func (*CreateVMNotFound) Error ¶
func (o *CreateVMNotFound) Error() string
func (*CreateVMNotFound) GetPayload ¶
func (o *CreateVMNotFound) GetPayload() *models.ErrorBody
type CreateVMOK ¶
type CreateVMOK struct { XTowerRequestID string Payload []*models.WithTaskVM }
CreateVMOK describes a response with status code 200, with default header values.
CreateVMOK create Vm o k
func NewCreateVMOK ¶
func NewCreateVMOK() *CreateVMOK
NewCreateVMOK creates a CreateVMOK with default headers values
func (*CreateVMOK) Error ¶
func (o *CreateVMOK) Error() string
func (*CreateVMOK) GetPayload ¶
func (o *CreateVMOK) GetPayload() []*models.WithTaskVM
type CreateVMParams ¶
type CreateVMParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody []*models.VMCreationParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateVMParams contains all the parameters to send to the API endpoint
for the create Vm operation. Typically these are written to a http.Request.
func NewCreateVMParams ¶
func NewCreateVMParams() *CreateVMParams
NewCreateVMParams creates a new CreateVMParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewCreateVMParamsWithContext ¶
func NewCreateVMParamsWithContext(ctx context.Context) *CreateVMParams
NewCreateVMParamsWithContext creates a new CreateVMParams object with the ability to set a context for a request.
func NewCreateVMParamsWithHTTPClient ¶
func NewCreateVMParamsWithHTTPClient(client *http.Client) *CreateVMParams
NewCreateVMParamsWithHTTPClient creates a new CreateVMParams object with the ability to set a custom HTTPClient for a request.
func NewCreateVMParamsWithTimeout ¶
func NewCreateVMParamsWithTimeout(timeout time.Duration) *CreateVMParams
NewCreateVMParamsWithTimeout creates a new CreateVMParams object with the ability to set a timeout on a request.
func (*CreateVMParams) SetContentLanguage ¶
func (o *CreateVMParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the create Vm params
func (*CreateVMParams) SetContext ¶
func (o *CreateVMParams) SetContext(ctx context.Context)
SetContext adds the context to the create Vm params
func (*CreateVMParams) SetDefaults ¶
func (o *CreateVMParams) SetDefaults()
SetDefaults hydrates default values in the create Vm params (not the query body).
All values with no default are reset to their zero value.
func (*CreateVMParams) SetHTTPClient ¶
func (o *CreateVMParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create Vm params
func (*CreateVMParams) SetRequestBody ¶
func (o *CreateVMParams) SetRequestBody(requestBody []*models.VMCreationParams)
SetRequestBody adds the requestBody to the create Vm params
func (*CreateVMParams) SetTimeout ¶
func (o *CreateVMParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create Vm params
func (*CreateVMParams) WithContentLanguage ¶
func (o *CreateVMParams) WithContentLanguage(contentLanguage *string) *CreateVMParams
WithContentLanguage adds the contentLanguage to the create Vm params
func (*CreateVMParams) WithContext ¶
func (o *CreateVMParams) WithContext(ctx context.Context) *CreateVMParams
WithContext adds the context to the create Vm params
func (*CreateVMParams) WithDefaults ¶
func (o *CreateVMParams) WithDefaults() *CreateVMParams
WithDefaults hydrates default values in the create Vm params (not the query body).
All values with no default are reset to their zero value.
func (*CreateVMParams) WithHTTPClient ¶
func (o *CreateVMParams) WithHTTPClient(client *http.Client) *CreateVMParams
WithHTTPClient adds the HTTPClient to the create Vm params
func (*CreateVMParams) WithRequestBody ¶
func (o *CreateVMParams) WithRequestBody(requestBody []*models.VMCreationParams) *CreateVMParams
WithRequestBody adds the requestBody to the create Vm params
func (*CreateVMParams) WithTimeout ¶
func (o *CreateVMParams) WithTimeout(timeout time.Duration) *CreateVMParams
WithTimeout adds the timeout to the create Vm params
func (*CreateVMParams) WriteToRequest ¶
func (o *CreateVMParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateVMReader ¶
type CreateVMReader struct {
// contains filtered or unexported fields
}
CreateVMReader is a Reader for the CreateVM structure.
func (*CreateVMReader) ReadResponse ¶
func (o *CreateVMReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteVMBadRequest ¶
DeleteVMBadRequest describes a response with status code 400, with default header values.
Bad request
func NewDeleteVMBadRequest ¶
func NewDeleteVMBadRequest() *DeleteVMBadRequest
NewDeleteVMBadRequest creates a DeleteVMBadRequest with default headers values
func (*DeleteVMBadRequest) Error ¶
func (o *DeleteVMBadRequest) Error() string
func (*DeleteVMBadRequest) GetPayload ¶
func (o *DeleteVMBadRequest) GetPayload() *models.ErrorBody
type DeleteVMInternalServerError ¶
DeleteVMInternalServerError describes a response with status code 500, with default header values.
Server error
func NewDeleteVMInternalServerError ¶
func NewDeleteVMInternalServerError() *DeleteVMInternalServerError
NewDeleteVMInternalServerError creates a DeleteVMInternalServerError with default headers values
func (*DeleteVMInternalServerError) Error ¶
func (o *DeleteVMInternalServerError) Error() string
func (*DeleteVMInternalServerError) GetPayload ¶
func (o *DeleteVMInternalServerError) GetPayload() *models.ErrorBody
type DeleteVMNotFound ¶
DeleteVMNotFound describes a response with status code 404, with default header values.
Not found
func NewDeleteVMNotFound ¶
func NewDeleteVMNotFound() *DeleteVMNotFound
NewDeleteVMNotFound creates a DeleteVMNotFound with default headers values
func (*DeleteVMNotFound) Error ¶
func (o *DeleteVMNotFound) Error() string
func (*DeleteVMNotFound) GetPayload ¶
func (o *DeleteVMNotFound) GetPayload() *models.ErrorBody
type DeleteVMOK ¶
type DeleteVMOK struct { XTowerRequestID string Payload []*models.WithTaskDeleteVM }
DeleteVMOK describes a response with status code 200, with default header values.
DeleteVMOK delete Vm o k
func NewDeleteVMOK ¶
func NewDeleteVMOK() *DeleteVMOK
NewDeleteVMOK creates a DeleteVMOK with default headers values
func (*DeleteVMOK) Error ¶
func (o *DeleteVMOK) Error() string
func (*DeleteVMOK) GetPayload ¶
func (o *DeleteVMOK) GetPayload() []*models.WithTaskDeleteVM
type DeleteVMParams ¶
type DeleteVMParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.VMDeleteParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteVMParams contains all the parameters to send to the API endpoint
for the delete Vm operation. Typically these are written to a http.Request.
func NewDeleteVMParams ¶
func NewDeleteVMParams() *DeleteVMParams
NewDeleteVMParams creates a new DeleteVMParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewDeleteVMParamsWithContext ¶
func NewDeleteVMParamsWithContext(ctx context.Context) *DeleteVMParams
NewDeleteVMParamsWithContext creates a new DeleteVMParams object with the ability to set a context for a request.
func NewDeleteVMParamsWithHTTPClient ¶
func NewDeleteVMParamsWithHTTPClient(client *http.Client) *DeleteVMParams
NewDeleteVMParamsWithHTTPClient creates a new DeleteVMParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteVMParamsWithTimeout ¶
func NewDeleteVMParamsWithTimeout(timeout time.Duration) *DeleteVMParams
NewDeleteVMParamsWithTimeout creates a new DeleteVMParams object with the ability to set a timeout on a request.
func (*DeleteVMParams) SetContentLanguage ¶
func (o *DeleteVMParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the delete Vm params
func (*DeleteVMParams) SetContext ¶
func (o *DeleteVMParams) SetContext(ctx context.Context)
SetContext adds the context to the delete Vm params
func (*DeleteVMParams) SetDefaults ¶
func (o *DeleteVMParams) SetDefaults()
SetDefaults hydrates default values in the delete Vm params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteVMParams) SetHTTPClient ¶
func (o *DeleteVMParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete Vm params
func (*DeleteVMParams) SetRequestBody ¶
func (o *DeleteVMParams) SetRequestBody(requestBody *models.VMDeleteParams)
SetRequestBody adds the requestBody to the delete Vm params
func (*DeleteVMParams) SetTimeout ¶
func (o *DeleteVMParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete Vm params
func (*DeleteVMParams) WithContentLanguage ¶
func (o *DeleteVMParams) WithContentLanguage(contentLanguage *string) *DeleteVMParams
WithContentLanguage adds the contentLanguage to the delete Vm params
func (*DeleteVMParams) WithContext ¶
func (o *DeleteVMParams) WithContext(ctx context.Context) *DeleteVMParams
WithContext adds the context to the delete Vm params
func (*DeleteVMParams) WithDefaults ¶
func (o *DeleteVMParams) WithDefaults() *DeleteVMParams
WithDefaults hydrates default values in the delete Vm params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteVMParams) WithHTTPClient ¶
func (o *DeleteVMParams) WithHTTPClient(client *http.Client) *DeleteVMParams
WithHTTPClient adds the HTTPClient to the delete Vm params
func (*DeleteVMParams) WithRequestBody ¶
func (o *DeleteVMParams) WithRequestBody(requestBody *models.VMDeleteParams) *DeleteVMParams
WithRequestBody adds the requestBody to the delete Vm params
func (*DeleteVMParams) WithTimeout ¶
func (o *DeleteVMParams) WithTimeout(timeout time.Duration) *DeleteVMParams
WithTimeout adds the timeout to the delete Vm params
func (*DeleteVMParams) WriteToRequest ¶
func (o *DeleteVMParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteVMReader ¶
type DeleteVMReader struct {
// contains filtered or unexported fields
}
DeleteVMReader is a Reader for the DeleteVM structure.
func (*DeleteVMReader) ReadResponse ¶
func (o *DeleteVMReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type EjectIsoFromVMCdRomBadRequest ¶
EjectIsoFromVMCdRomBadRequest describes a response with status code 400, with default header values.
Bad request
func NewEjectIsoFromVMCdRomBadRequest ¶
func NewEjectIsoFromVMCdRomBadRequest() *EjectIsoFromVMCdRomBadRequest
NewEjectIsoFromVMCdRomBadRequest creates a EjectIsoFromVMCdRomBadRequest with default headers values
func (*EjectIsoFromVMCdRomBadRequest) Error ¶
func (o *EjectIsoFromVMCdRomBadRequest) Error() string
func (*EjectIsoFromVMCdRomBadRequest) GetPayload ¶
func (o *EjectIsoFromVMCdRomBadRequest) GetPayload() *models.ErrorBody
type EjectIsoFromVMCdRomInternalServerError ¶
type EjectIsoFromVMCdRomInternalServerError struct { XTowerRequestID string Payload *models.ErrorBody }
EjectIsoFromVMCdRomInternalServerError describes a response with status code 500, with default header values.
Server error
func NewEjectIsoFromVMCdRomInternalServerError ¶
func NewEjectIsoFromVMCdRomInternalServerError() *EjectIsoFromVMCdRomInternalServerError
NewEjectIsoFromVMCdRomInternalServerError creates a EjectIsoFromVMCdRomInternalServerError with default headers values
func (*EjectIsoFromVMCdRomInternalServerError) Error ¶
func (o *EjectIsoFromVMCdRomInternalServerError) Error() string
func (*EjectIsoFromVMCdRomInternalServerError) GetPayload ¶
func (o *EjectIsoFromVMCdRomInternalServerError) GetPayload() *models.ErrorBody
type EjectIsoFromVMCdRomNotFound ¶
EjectIsoFromVMCdRomNotFound describes a response with status code 404, with default header values.
Not found
func NewEjectIsoFromVMCdRomNotFound ¶
func NewEjectIsoFromVMCdRomNotFound() *EjectIsoFromVMCdRomNotFound
NewEjectIsoFromVMCdRomNotFound creates a EjectIsoFromVMCdRomNotFound with default headers values
func (*EjectIsoFromVMCdRomNotFound) Error ¶
func (o *EjectIsoFromVMCdRomNotFound) Error() string
func (*EjectIsoFromVMCdRomNotFound) GetPayload ¶
func (o *EjectIsoFromVMCdRomNotFound) GetPayload() *models.ErrorBody
type EjectIsoFromVMCdRomOK ¶
type EjectIsoFromVMCdRomOK struct { XTowerRequestID string Payload []*models.WithTaskVM }
EjectIsoFromVMCdRomOK describes a response with status code 200, with default header values.
EjectIsoFromVMCdRomOK eject iso from Vm cd rom o k
func NewEjectIsoFromVMCdRomOK ¶
func NewEjectIsoFromVMCdRomOK() *EjectIsoFromVMCdRomOK
NewEjectIsoFromVMCdRomOK creates a EjectIsoFromVMCdRomOK with default headers values
func (*EjectIsoFromVMCdRomOK) Error ¶
func (o *EjectIsoFromVMCdRomOK) Error() string
func (*EjectIsoFromVMCdRomOK) GetPayload ¶
func (o *EjectIsoFromVMCdRomOK) GetPayload() []*models.WithTaskVM
type EjectIsoFromVMCdRomParams ¶
type EjectIsoFromVMCdRomParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.VMEjectCdRomParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
EjectIsoFromVMCdRomParams contains all the parameters to send to the API endpoint
for the eject iso from Vm cd rom operation. Typically these are written to a http.Request.
func NewEjectIsoFromVMCdRomParams ¶
func NewEjectIsoFromVMCdRomParams() *EjectIsoFromVMCdRomParams
NewEjectIsoFromVMCdRomParams creates a new EjectIsoFromVMCdRomParams 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 NewEjectIsoFromVMCdRomParamsWithContext ¶
func NewEjectIsoFromVMCdRomParamsWithContext(ctx context.Context) *EjectIsoFromVMCdRomParams
NewEjectIsoFromVMCdRomParamsWithContext creates a new EjectIsoFromVMCdRomParams object with the ability to set a context for a request.
func NewEjectIsoFromVMCdRomParamsWithHTTPClient ¶
func NewEjectIsoFromVMCdRomParamsWithHTTPClient(client *http.Client) *EjectIsoFromVMCdRomParams
NewEjectIsoFromVMCdRomParamsWithHTTPClient creates a new EjectIsoFromVMCdRomParams object with the ability to set a custom HTTPClient for a request.
func NewEjectIsoFromVMCdRomParamsWithTimeout ¶
func NewEjectIsoFromVMCdRomParamsWithTimeout(timeout time.Duration) *EjectIsoFromVMCdRomParams
NewEjectIsoFromVMCdRomParamsWithTimeout creates a new EjectIsoFromVMCdRomParams object with the ability to set a timeout on a request.
func (*EjectIsoFromVMCdRomParams) SetContentLanguage ¶
func (o *EjectIsoFromVMCdRomParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the eject iso from Vm cd rom params
func (*EjectIsoFromVMCdRomParams) SetContext ¶
func (o *EjectIsoFromVMCdRomParams) SetContext(ctx context.Context)
SetContext adds the context to the eject iso from Vm cd rom params
func (*EjectIsoFromVMCdRomParams) SetDefaults ¶
func (o *EjectIsoFromVMCdRomParams) SetDefaults()
SetDefaults hydrates default values in the eject iso from Vm cd rom params (not the query body).
All values with no default are reset to their zero value.
func (*EjectIsoFromVMCdRomParams) SetHTTPClient ¶
func (o *EjectIsoFromVMCdRomParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the eject iso from Vm cd rom params
func (*EjectIsoFromVMCdRomParams) SetRequestBody ¶
func (o *EjectIsoFromVMCdRomParams) SetRequestBody(requestBody *models.VMEjectCdRomParams)
SetRequestBody adds the requestBody to the eject iso from Vm cd rom params
func (*EjectIsoFromVMCdRomParams) SetTimeout ¶
func (o *EjectIsoFromVMCdRomParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the eject iso from Vm cd rom params
func (*EjectIsoFromVMCdRomParams) WithContentLanguage ¶
func (o *EjectIsoFromVMCdRomParams) WithContentLanguage(contentLanguage *string) *EjectIsoFromVMCdRomParams
WithContentLanguage adds the contentLanguage to the eject iso from Vm cd rom params
func (*EjectIsoFromVMCdRomParams) WithContext ¶
func (o *EjectIsoFromVMCdRomParams) WithContext(ctx context.Context) *EjectIsoFromVMCdRomParams
WithContext adds the context to the eject iso from Vm cd rom params
func (*EjectIsoFromVMCdRomParams) WithDefaults ¶
func (o *EjectIsoFromVMCdRomParams) WithDefaults() *EjectIsoFromVMCdRomParams
WithDefaults hydrates default values in the eject iso from Vm cd rom params (not the query body).
All values with no default are reset to their zero value.
func (*EjectIsoFromVMCdRomParams) WithHTTPClient ¶
func (o *EjectIsoFromVMCdRomParams) WithHTTPClient(client *http.Client) *EjectIsoFromVMCdRomParams
WithHTTPClient adds the HTTPClient to the eject iso from Vm cd rom params
func (*EjectIsoFromVMCdRomParams) WithRequestBody ¶
func (o *EjectIsoFromVMCdRomParams) WithRequestBody(requestBody *models.VMEjectCdRomParams) *EjectIsoFromVMCdRomParams
WithRequestBody adds the requestBody to the eject iso from Vm cd rom params
func (*EjectIsoFromVMCdRomParams) WithTimeout ¶
func (o *EjectIsoFromVMCdRomParams) WithTimeout(timeout time.Duration) *EjectIsoFromVMCdRomParams
WithTimeout adds the timeout to the eject iso from Vm cd rom params
func (*EjectIsoFromVMCdRomParams) WriteToRequest ¶
func (o *EjectIsoFromVMCdRomParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type EjectIsoFromVMCdRomReader ¶
type EjectIsoFromVMCdRomReader struct {
// contains filtered or unexported fields
}
EjectIsoFromVMCdRomReader is a Reader for the EjectIsoFromVMCdRom structure.
func (*EjectIsoFromVMCdRomReader) ReadResponse ¶
func (o *EjectIsoFromVMCdRomReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ExpandVMDiskBadRequest ¶
ExpandVMDiskBadRequest describes a response with status code 400, with default header values.
Bad request
func NewExpandVMDiskBadRequest ¶
func NewExpandVMDiskBadRequest() *ExpandVMDiskBadRequest
NewExpandVMDiskBadRequest creates a ExpandVMDiskBadRequest with default headers values
func (*ExpandVMDiskBadRequest) Error ¶
func (o *ExpandVMDiskBadRequest) Error() string
func (*ExpandVMDiskBadRequest) GetPayload ¶
func (o *ExpandVMDiskBadRequest) GetPayload() *models.ErrorBody
type ExpandVMDiskInternalServerError ¶
ExpandVMDiskInternalServerError describes a response with status code 500, with default header values.
Server error
func NewExpandVMDiskInternalServerError ¶
func NewExpandVMDiskInternalServerError() *ExpandVMDiskInternalServerError
NewExpandVMDiskInternalServerError creates a ExpandVMDiskInternalServerError with default headers values
func (*ExpandVMDiskInternalServerError) Error ¶
func (o *ExpandVMDiskInternalServerError) Error() string
func (*ExpandVMDiskInternalServerError) GetPayload ¶
func (o *ExpandVMDiskInternalServerError) GetPayload() *models.ErrorBody
type ExpandVMDiskNotFound ¶
ExpandVMDiskNotFound describes a response with status code 404, with default header values.
Not found
func NewExpandVMDiskNotFound ¶
func NewExpandVMDiskNotFound() *ExpandVMDiskNotFound
NewExpandVMDiskNotFound creates a ExpandVMDiskNotFound with default headers values
func (*ExpandVMDiskNotFound) Error ¶
func (o *ExpandVMDiskNotFound) Error() string
func (*ExpandVMDiskNotFound) GetPayload ¶
func (o *ExpandVMDiskNotFound) GetPayload() *models.ErrorBody
type ExpandVMDiskOK ¶
type ExpandVMDiskOK struct { XTowerRequestID string Payload []*models.WithTaskVM }
ExpandVMDiskOK describes a response with status code 200, with default header values.
ExpandVMDiskOK expand Vm disk o k
func NewExpandVMDiskOK ¶
func NewExpandVMDiskOK() *ExpandVMDiskOK
NewExpandVMDiskOK creates a ExpandVMDiskOK with default headers values
func (*ExpandVMDiskOK) Error ¶
func (o *ExpandVMDiskOK) Error() string
func (*ExpandVMDiskOK) GetPayload ¶
func (o *ExpandVMDiskOK) GetPayload() []*models.WithTaskVM
type ExpandVMDiskParams ¶
type ExpandVMDiskParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.VMExpandVMDiskParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ExpandVMDiskParams contains all the parameters to send to the API endpoint
for the expand Vm disk operation. Typically these are written to a http.Request.
func NewExpandVMDiskParams ¶
func NewExpandVMDiskParams() *ExpandVMDiskParams
NewExpandVMDiskParams creates a new ExpandVMDiskParams 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 NewExpandVMDiskParamsWithContext ¶
func NewExpandVMDiskParamsWithContext(ctx context.Context) *ExpandVMDiskParams
NewExpandVMDiskParamsWithContext creates a new ExpandVMDiskParams object with the ability to set a context for a request.
func NewExpandVMDiskParamsWithHTTPClient ¶
func NewExpandVMDiskParamsWithHTTPClient(client *http.Client) *ExpandVMDiskParams
NewExpandVMDiskParamsWithHTTPClient creates a new ExpandVMDiskParams object with the ability to set a custom HTTPClient for a request.
func NewExpandVMDiskParamsWithTimeout ¶
func NewExpandVMDiskParamsWithTimeout(timeout time.Duration) *ExpandVMDiskParams
NewExpandVMDiskParamsWithTimeout creates a new ExpandVMDiskParams object with the ability to set a timeout on a request.
func (*ExpandVMDiskParams) SetContentLanguage ¶
func (o *ExpandVMDiskParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the expand Vm disk params
func (*ExpandVMDiskParams) SetContext ¶
func (o *ExpandVMDiskParams) SetContext(ctx context.Context)
SetContext adds the context to the expand Vm disk params
func (*ExpandVMDiskParams) SetDefaults ¶
func (o *ExpandVMDiskParams) SetDefaults()
SetDefaults hydrates default values in the expand Vm disk params (not the query body).
All values with no default are reset to their zero value.
func (*ExpandVMDiskParams) SetHTTPClient ¶
func (o *ExpandVMDiskParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the expand Vm disk params
func (*ExpandVMDiskParams) SetRequestBody ¶
func (o *ExpandVMDiskParams) SetRequestBody(requestBody *models.VMExpandVMDiskParams)
SetRequestBody adds the requestBody to the expand Vm disk params
func (*ExpandVMDiskParams) SetTimeout ¶
func (o *ExpandVMDiskParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the expand Vm disk params
func (*ExpandVMDiskParams) WithContentLanguage ¶
func (o *ExpandVMDiskParams) WithContentLanguage(contentLanguage *string) *ExpandVMDiskParams
WithContentLanguage adds the contentLanguage to the expand Vm disk params
func (*ExpandVMDiskParams) WithContext ¶
func (o *ExpandVMDiskParams) WithContext(ctx context.Context) *ExpandVMDiskParams
WithContext adds the context to the expand Vm disk params
func (*ExpandVMDiskParams) WithDefaults ¶
func (o *ExpandVMDiskParams) WithDefaults() *ExpandVMDiskParams
WithDefaults hydrates default values in the expand Vm disk params (not the query body).
All values with no default are reset to their zero value.
func (*ExpandVMDiskParams) WithHTTPClient ¶
func (o *ExpandVMDiskParams) WithHTTPClient(client *http.Client) *ExpandVMDiskParams
WithHTTPClient adds the HTTPClient to the expand Vm disk params
func (*ExpandVMDiskParams) WithRequestBody ¶
func (o *ExpandVMDiskParams) WithRequestBody(requestBody *models.VMExpandVMDiskParams) *ExpandVMDiskParams
WithRequestBody adds the requestBody to the expand Vm disk params
func (*ExpandVMDiskParams) WithTimeout ¶
func (o *ExpandVMDiskParams) WithTimeout(timeout time.Duration) *ExpandVMDiskParams
WithTimeout adds the timeout to the expand Vm disk params
func (*ExpandVMDiskParams) WriteToRequest ¶
func (o *ExpandVMDiskParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ExpandVMDiskReader ¶
type ExpandVMDiskReader struct {
// contains filtered or unexported fields
}
ExpandVMDiskReader is a Reader for the ExpandVMDisk structure.
func (*ExpandVMDiskReader) ReadResponse ¶
func (o *ExpandVMDiskReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ExportVMBadRequest ¶ added in v2.9.0
ExportVMBadRequest describes a response with status code 400, with default header values.
Bad request
func NewExportVMBadRequest ¶ added in v2.9.0
func NewExportVMBadRequest() *ExportVMBadRequest
NewExportVMBadRequest creates a ExportVMBadRequest with default headers values
func (*ExportVMBadRequest) Error ¶ added in v2.9.0
func (o *ExportVMBadRequest) Error() string
func (*ExportVMBadRequest) GetPayload ¶ added in v2.9.0
func (o *ExportVMBadRequest) GetPayload() *models.ErrorBody
type ExportVMInternalServerError ¶ added in v2.9.0
ExportVMInternalServerError describes a response with status code 500, with default header values.
Server error
func NewExportVMInternalServerError ¶ added in v2.9.0
func NewExportVMInternalServerError() *ExportVMInternalServerError
NewExportVMInternalServerError creates a ExportVMInternalServerError with default headers values
func (*ExportVMInternalServerError) Error ¶ added in v2.9.0
func (o *ExportVMInternalServerError) Error() string
func (*ExportVMInternalServerError) GetPayload ¶ added in v2.9.0
func (o *ExportVMInternalServerError) GetPayload() *models.ErrorBody
type ExportVMNotFound ¶ added in v2.9.0
ExportVMNotFound describes a response with status code 404, with default header values.
Not found
func NewExportVMNotFound ¶ added in v2.9.0
func NewExportVMNotFound() *ExportVMNotFound
NewExportVMNotFound creates a ExportVMNotFound with default headers values
func (*ExportVMNotFound) Error ¶ added in v2.9.0
func (o *ExportVMNotFound) Error() string
func (*ExportVMNotFound) GetPayload ¶ added in v2.9.0
func (o *ExportVMNotFound) GetPayload() *models.ErrorBody
type ExportVMNotModified ¶ added in v2.9.0
type ExportVMNotModified struct { }
ExportVMNotModified describes a response with status code 304, with default header values.
Not modified
func NewExportVMNotModified ¶ added in v2.9.0
func NewExportVMNotModified() *ExportVMNotModified
NewExportVMNotModified creates a ExportVMNotModified with default headers values
func (*ExportVMNotModified) Error ¶ added in v2.9.0
func (o *ExportVMNotModified) Error() string
type ExportVMOK ¶ added in v2.9.0
type ExportVMOK struct { XTowerRequestID string Payload []*models.WithTaskVMExportFile }
ExportVMOK describes a response with status code 200, with default header values.
ExportVMOK export Vm o k
func NewExportVMOK ¶ added in v2.9.0
func NewExportVMOK() *ExportVMOK
NewExportVMOK creates a ExportVMOK with default headers values
func (*ExportVMOK) Error ¶ added in v2.9.0
func (o *ExportVMOK) Error() string
func (*ExportVMOK) GetPayload ¶ added in v2.9.0
func (o *ExportVMOK) GetPayload() []*models.WithTaskVMExportFile
type ExportVMParams ¶ added in v2.9.0
type ExportVMParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.VMExportParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ExportVMParams contains all the parameters to send to the API endpoint
for the export Vm operation. Typically these are written to a http.Request.
func NewExportVMParams ¶ added in v2.9.0
func NewExportVMParams() *ExportVMParams
NewExportVMParams creates a new ExportVMParams 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 NewExportVMParamsWithContext ¶ added in v2.9.0
func NewExportVMParamsWithContext(ctx context.Context) *ExportVMParams
NewExportVMParamsWithContext creates a new ExportVMParams object with the ability to set a context for a request.
func NewExportVMParamsWithHTTPClient ¶ added in v2.9.0
func NewExportVMParamsWithHTTPClient(client *http.Client) *ExportVMParams
NewExportVMParamsWithHTTPClient creates a new ExportVMParams object with the ability to set a custom HTTPClient for a request.
func NewExportVMParamsWithTimeout ¶ added in v2.9.0
func NewExportVMParamsWithTimeout(timeout time.Duration) *ExportVMParams
NewExportVMParamsWithTimeout creates a new ExportVMParams object with the ability to set a timeout on a request.
func (*ExportVMParams) SetContentLanguage ¶ added in v2.9.0
func (o *ExportVMParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the export Vm params
func (*ExportVMParams) SetContext ¶ added in v2.9.0
func (o *ExportVMParams) SetContext(ctx context.Context)
SetContext adds the context to the export Vm params
func (*ExportVMParams) SetDefaults ¶ added in v2.9.0
func (o *ExportVMParams) SetDefaults()
SetDefaults hydrates default values in the export Vm params (not the query body).
All values with no default are reset to their zero value.
func (*ExportVMParams) SetHTTPClient ¶ added in v2.9.0
func (o *ExportVMParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the export Vm params
func (*ExportVMParams) SetRequestBody ¶ added in v2.9.0
func (o *ExportVMParams) SetRequestBody(requestBody *models.VMExportParams)
SetRequestBody adds the requestBody to the export Vm params
func (*ExportVMParams) SetTimeout ¶ added in v2.9.0
func (o *ExportVMParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the export Vm params
func (*ExportVMParams) WithContentLanguage ¶ added in v2.9.0
func (o *ExportVMParams) WithContentLanguage(contentLanguage *string) *ExportVMParams
WithContentLanguage adds the contentLanguage to the export Vm params
func (*ExportVMParams) WithContext ¶ added in v2.9.0
func (o *ExportVMParams) WithContext(ctx context.Context) *ExportVMParams
WithContext adds the context to the export Vm params
func (*ExportVMParams) WithDefaults ¶ added in v2.9.0
func (o *ExportVMParams) WithDefaults() *ExportVMParams
WithDefaults hydrates default values in the export Vm params (not the query body).
All values with no default are reset to their zero value.
func (*ExportVMParams) WithHTTPClient ¶ added in v2.9.0
func (o *ExportVMParams) WithHTTPClient(client *http.Client) *ExportVMParams
WithHTTPClient adds the HTTPClient to the export Vm params
func (*ExportVMParams) WithRequestBody ¶ added in v2.9.0
func (o *ExportVMParams) WithRequestBody(requestBody *models.VMExportParams) *ExportVMParams
WithRequestBody adds the requestBody to the export Vm params
func (*ExportVMParams) WithTimeout ¶ added in v2.9.0
func (o *ExportVMParams) WithTimeout(timeout time.Duration) *ExportVMParams
WithTimeout adds the timeout to the export Vm params
func (*ExportVMParams) WriteToRequest ¶ added in v2.9.0
func (o *ExportVMParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ExportVMReader ¶ added in v2.9.0
type ExportVMReader struct {
// contains filtered or unexported fields
}
ExportVMReader is a Reader for the ExportVM structure.
func (*ExportVMReader) ReadResponse ¶ added in v2.9.0
func (o *ExportVMReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ForceRestartVMBadRequest ¶
ForceRestartVMBadRequest describes a response with status code 400, with default header values.
Bad request
func NewForceRestartVMBadRequest ¶
func NewForceRestartVMBadRequest() *ForceRestartVMBadRequest
NewForceRestartVMBadRequest creates a ForceRestartVMBadRequest with default headers values
func (*ForceRestartVMBadRequest) Error ¶
func (o *ForceRestartVMBadRequest) Error() string
func (*ForceRestartVMBadRequest) GetPayload ¶
func (o *ForceRestartVMBadRequest) GetPayload() *models.ErrorBody
type ForceRestartVMInternalServerError ¶
ForceRestartVMInternalServerError describes a response with status code 500, with default header values.
Server error
func NewForceRestartVMInternalServerError ¶
func NewForceRestartVMInternalServerError() *ForceRestartVMInternalServerError
NewForceRestartVMInternalServerError creates a ForceRestartVMInternalServerError with default headers values
func (*ForceRestartVMInternalServerError) Error ¶
func (o *ForceRestartVMInternalServerError) Error() string
func (*ForceRestartVMInternalServerError) GetPayload ¶
func (o *ForceRestartVMInternalServerError) GetPayload() *models.ErrorBody
type ForceRestartVMNotFound ¶
ForceRestartVMNotFound describes a response with status code 404, with default header values.
Not found
func NewForceRestartVMNotFound ¶
func NewForceRestartVMNotFound() *ForceRestartVMNotFound
NewForceRestartVMNotFound creates a ForceRestartVMNotFound with default headers values
func (*ForceRestartVMNotFound) Error ¶
func (o *ForceRestartVMNotFound) Error() string
func (*ForceRestartVMNotFound) GetPayload ¶
func (o *ForceRestartVMNotFound) GetPayload() *models.ErrorBody
type ForceRestartVMOK ¶
type ForceRestartVMOK struct { XTowerRequestID string Payload []*models.WithTaskVM }
ForceRestartVMOK describes a response with status code 200, with default header values.
ForceRestartVMOK force restart Vm o k
func NewForceRestartVMOK ¶
func NewForceRestartVMOK() *ForceRestartVMOK
NewForceRestartVMOK creates a ForceRestartVMOK with default headers values
func (*ForceRestartVMOK) Error ¶
func (o *ForceRestartVMOK) Error() string
func (*ForceRestartVMOK) GetPayload ¶
func (o *ForceRestartVMOK) GetPayload() []*models.WithTaskVM
type ForceRestartVMParams ¶
type ForceRestartVMParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.VMOperateParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ForceRestartVMParams contains all the parameters to send to the API endpoint
for the force restart Vm operation. Typically these are written to a http.Request.
func NewForceRestartVMParams ¶
func NewForceRestartVMParams() *ForceRestartVMParams
NewForceRestartVMParams creates a new ForceRestartVMParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewForceRestartVMParamsWithContext ¶
func NewForceRestartVMParamsWithContext(ctx context.Context) *ForceRestartVMParams
NewForceRestartVMParamsWithContext creates a new ForceRestartVMParams object with the ability to set a context for a request.
func NewForceRestartVMParamsWithHTTPClient ¶
func NewForceRestartVMParamsWithHTTPClient(client *http.Client) *ForceRestartVMParams
NewForceRestartVMParamsWithHTTPClient creates a new ForceRestartVMParams object with the ability to set a custom HTTPClient for a request.
func NewForceRestartVMParamsWithTimeout ¶
func NewForceRestartVMParamsWithTimeout(timeout time.Duration) *ForceRestartVMParams
NewForceRestartVMParamsWithTimeout creates a new ForceRestartVMParams object with the ability to set a timeout on a request.
func (*ForceRestartVMParams) SetContentLanguage ¶
func (o *ForceRestartVMParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the force restart Vm params
func (*ForceRestartVMParams) SetContext ¶
func (o *ForceRestartVMParams) SetContext(ctx context.Context)
SetContext adds the context to the force restart Vm params
func (*ForceRestartVMParams) SetDefaults ¶
func (o *ForceRestartVMParams) SetDefaults()
SetDefaults hydrates default values in the force restart Vm params (not the query body).
All values with no default are reset to their zero value.
func (*ForceRestartVMParams) SetHTTPClient ¶
func (o *ForceRestartVMParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the force restart Vm params
func (*ForceRestartVMParams) SetRequestBody ¶
func (o *ForceRestartVMParams) SetRequestBody(requestBody *models.VMOperateParams)
SetRequestBody adds the requestBody to the force restart Vm params
func (*ForceRestartVMParams) SetTimeout ¶
func (o *ForceRestartVMParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the force restart Vm params
func (*ForceRestartVMParams) WithContentLanguage ¶
func (o *ForceRestartVMParams) WithContentLanguage(contentLanguage *string) *ForceRestartVMParams
WithContentLanguage adds the contentLanguage to the force restart Vm params
func (*ForceRestartVMParams) WithContext ¶
func (o *ForceRestartVMParams) WithContext(ctx context.Context) *ForceRestartVMParams
WithContext adds the context to the force restart Vm params
func (*ForceRestartVMParams) WithDefaults ¶
func (o *ForceRestartVMParams) WithDefaults() *ForceRestartVMParams
WithDefaults hydrates default values in the force restart Vm params (not the query body).
All values with no default are reset to their zero value.
func (*ForceRestartVMParams) WithHTTPClient ¶
func (o *ForceRestartVMParams) WithHTTPClient(client *http.Client) *ForceRestartVMParams
WithHTTPClient adds the HTTPClient to the force restart Vm params
func (*ForceRestartVMParams) WithRequestBody ¶
func (o *ForceRestartVMParams) WithRequestBody(requestBody *models.VMOperateParams) *ForceRestartVMParams
WithRequestBody adds the requestBody to the force restart Vm params
func (*ForceRestartVMParams) WithTimeout ¶
func (o *ForceRestartVMParams) WithTimeout(timeout time.Duration) *ForceRestartVMParams
WithTimeout adds the timeout to the force restart Vm params
func (*ForceRestartVMParams) WriteToRequest ¶
func (o *ForceRestartVMParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ForceRestartVMReader ¶
type ForceRestartVMReader struct {
// contains filtered or unexported fields
}
ForceRestartVMReader is a Reader for the ForceRestartVM structure.
func (*ForceRestartVMReader) ReadResponse ¶
func (o *ForceRestartVMReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetVmsBadRequest ¶
GetVmsBadRequest describes a response with status code 400, with default header values.
Bad request
func NewGetVmsBadRequest ¶
func NewGetVmsBadRequest() *GetVmsBadRequest
NewGetVmsBadRequest creates a GetVmsBadRequest with default headers values
func (*GetVmsBadRequest) Error ¶
func (o *GetVmsBadRequest) Error() string
func (*GetVmsBadRequest) GetPayload ¶
func (o *GetVmsBadRequest) GetPayload() *models.ErrorBody
type GetVmsConnectionBadRequest ¶
GetVmsConnectionBadRequest describes a response with status code 400, with default header values.
Bad request
func NewGetVmsConnectionBadRequest ¶
func NewGetVmsConnectionBadRequest() *GetVmsConnectionBadRequest
NewGetVmsConnectionBadRequest creates a GetVmsConnectionBadRequest with default headers values
func (*GetVmsConnectionBadRequest) Error ¶
func (o *GetVmsConnectionBadRequest) Error() string
func (*GetVmsConnectionBadRequest) GetPayload ¶
func (o *GetVmsConnectionBadRequest) GetPayload() *models.ErrorBody
type GetVmsConnectionInternalServerError ¶
type GetVmsConnectionInternalServerError struct { XTowerRequestID string Payload *models.ErrorBody }
GetVmsConnectionInternalServerError describes a response with status code 500, with default header values.
Server error
func NewGetVmsConnectionInternalServerError ¶
func NewGetVmsConnectionInternalServerError() *GetVmsConnectionInternalServerError
NewGetVmsConnectionInternalServerError creates a GetVmsConnectionInternalServerError with default headers values
func (*GetVmsConnectionInternalServerError) Error ¶
func (o *GetVmsConnectionInternalServerError) Error() string
func (*GetVmsConnectionInternalServerError) GetPayload ¶
func (o *GetVmsConnectionInternalServerError) GetPayload() *models.ErrorBody
type GetVmsConnectionNotFound ¶
GetVmsConnectionNotFound describes a response with status code 404, with default header values.
Not found
func NewGetVmsConnectionNotFound ¶
func NewGetVmsConnectionNotFound() *GetVmsConnectionNotFound
NewGetVmsConnectionNotFound creates a GetVmsConnectionNotFound with default headers values
func (*GetVmsConnectionNotFound) Error ¶
func (o *GetVmsConnectionNotFound) Error() string
func (*GetVmsConnectionNotFound) GetPayload ¶
func (o *GetVmsConnectionNotFound) GetPayload() *models.ErrorBody
type GetVmsConnectionOK ¶
type GetVmsConnectionOK struct { XTowerRequestID string Payload *models.VMConnection }
GetVmsConnectionOK describes a response with status code 200, with default header values.
GetVmsConnectionOK get vms connection o k
func NewGetVmsConnectionOK ¶
func NewGetVmsConnectionOK() *GetVmsConnectionOK
NewGetVmsConnectionOK creates a GetVmsConnectionOK with default headers values
func (*GetVmsConnectionOK) Error ¶
func (o *GetVmsConnectionOK) Error() string
func (*GetVmsConnectionOK) GetPayload ¶
func (o *GetVmsConnectionOK) GetPayload() *models.VMConnection
type GetVmsConnectionParams ¶
type GetVmsConnectionParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.GetVmsConnectionRequestBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetVmsConnectionParams contains all the parameters to send to the API endpoint
for the get vms connection operation. Typically these are written to a http.Request.
func NewGetVmsConnectionParams ¶
func NewGetVmsConnectionParams() *GetVmsConnectionParams
NewGetVmsConnectionParams creates a new GetVmsConnectionParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetVmsConnectionParamsWithContext ¶
func NewGetVmsConnectionParamsWithContext(ctx context.Context) *GetVmsConnectionParams
NewGetVmsConnectionParamsWithContext creates a new GetVmsConnectionParams object with the ability to set a context for a request.
func NewGetVmsConnectionParamsWithHTTPClient ¶
func NewGetVmsConnectionParamsWithHTTPClient(client *http.Client) *GetVmsConnectionParams
NewGetVmsConnectionParamsWithHTTPClient creates a new GetVmsConnectionParams object with the ability to set a custom HTTPClient for a request.
func NewGetVmsConnectionParamsWithTimeout ¶
func NewGetVmsConnectionParamsWithTimeout(timeout time.Duration) *GetVmsConnectionParams
NewGetVmsConnectionParamsWithTimeout creates a new GetVmsConnectionParams object with the ability to set a timeout on a request.
func (*GetVmsConnectionParams) SetContentLanguage ¶
func (o *GetVmsConnectionParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the get vms connection params
func (*GetVmsConnectionParams) SetContext ¶
func (o *GetVmsConnectionParams) SetContext(ctx context.Context)
SetContext adds the context to the get vms connection params
func (*GetVmsConnectionParams) SetDefaults ¶
func (o *GetVmsConnectionParams) SetDefaults()
SetDefaults hydrates default values in the get vms connection params (not the query body).
All values with no default are reset to their zero value.
func (*GetVmsConnectionParams) SetHTTPClient ¶
func (o *GetVmsConnectionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get vms connection params
func (*GetVmsConnectionParams) SetRequestBody ¶
func (o *GetVmsConnectionParams) SetRequestBody(requestBody *models.GetVmsConnectionRequestBody)
SetRequestBody adds the requestBody to the get vms connection params
func (*GetVmsConnectionParams) SetTimeout ¶
func (o *GetVmsConnectionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get vms connection params
func (*GetVmsConnectionParams) WithContentLanguage ¶
func (o *GetVmsConnectionParams) WithContentLanguage(contentLanguage *string) *GetVmsConnectionParams
WithContentLanguage adds the contentLanguage to the get vms connection params
func (*GetVmsConnectionParams) WithContext ¶
func (o *GetVmsConnectionParams) WithContext(ctx context.Context) *GetVmsConnectionParams
WithContext adds the context to the get vms connection params
func (*GetVmsConnectionParams) WithDefaults ¶
func (o *GetVmsConnectionParams) WithDefaults() *GetVmsConnectionParams
WithDefaults hydrates default values in the get vms connection params (not the query body).
All values with no default are reset to their zero value.
func (*GetVmsConnectionParams) WithHTTPClient ¶
func (o *GetVmsConnectionParams) WithHTTPClient(client *http.Client) *GetVmsConnectionParams
WithHTTPClient adds the HTTPClient to the get vms connection params
func (*GetVmsConnectionParams) WithRequestBody ¶
func (o *GetVmsConnectionParams) WithRequestBody(requestBody *models.GetVmsConnectionRequestBody) *GetVmsConnectionParams
WithRequestBody adds the requestBody to the get vms connection params
func (*GetVmsConnectionParams) WithTimeout ¶
func (o *GetVmsConnectionParams) WithTimeout(timeout time.Duration) *GetVmsConnectionParams
WithTimeout adds the timeout to the get vms connection params
func (*GetVmsConnectionParams) WriteToRequest ¶
func (o *GetVmsConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetVmsConnectionReader ¶
type GetVmsConnectionReader struct {
// contains filtered or unexported fields
}
GetVmsConnectionReader is a Reader for the GetVmsConnection structure.
func (*GetVmsConnectionReader) ReadResponse ¶
func (o *GetVmsConnectionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetVmsInternalServerError ¶
GetVmsInternalServerError describes a response with status code 500, with default header values.
Server error
func NewGetVmsInternalServerError ¶
func NewGetVmsInternalServerError() *GetVmsInternalServerError
NewGetVmsInternalServerError creates a GetVmsInternalServerError with default headers values
func (*GetVmsInternalServerError) Error ¶
func (o *GetVmsInternalServerError) Error() string
func (*GetVmsInternalServerError) GetPayload ¶
func (o *GetVmsInternalServerError) GetPayload() *models.ErrorBody
type GetVmsNotFound ¶
GetVmsNotFound describes a response with status code 404, with default header values.
Not found
func NewGetVmsNotFound ¶
func NewGetVmsNotFound() *GetVmsNotFound
NewGetVmsNotFound creates a GetVmsNotFound with default headers values
func (*GetVmsNotFound) Error ¶
func (o *GetVmsNotFound) Error() string
func (*GetVmsNotFound) GetPayload ¶
func (o *GetVmsNotFound) GetPayload() *models.ErrorBody
type GetVmsOK ¶
GetVmsOK describes a response with status code 200, with default header values.
GetVmsOK get vms o k
func NewGetVmsOK ¶
func NewGetVmsOK() *GetVmsOK
NewGetVmsOK creates a GetVmsOK with default headers values
func (*GetVmsOK) GetPayload ¶
type GetVmsParams ¶
type GetVmsParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.GetVmsRequestBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetVmsParams contains all the parameters to send to the API endpoint
for the get vms operation. Typically these are written to a http.Request.
func NewGetVmsParams ¶
func NewGetVmsParams() *GetVmsParams
NewGetVmsParams creates a new GetVmsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetVmsParamsWithContext ¶
func NewGetVmsParamsWithContext(ctx context.Context) *GetVmsParams
NewGetVmsParamsWithContext creates a new GetVmsParams object with the ability to set a context for a request.
func NewGetVmsParamsWithHTTPClient ¶
func NewGetVmsParamsWithHTTPClient(client *http.Client) *GetVmsParams
NewGetVmsParamsWithHTTPClient creates a new GetVmsParams object with the ability to set a custom HTTPClient for a request.
func NewGetVmsParamsWithTimeout ¶
func NewGetVmsParamsWithTimeout(timeout time.Duration) *GetVmsParams
NewGetVmsParamsWithTimeout creates a new GetVmsParams object with the ability to set a timeout on a request.
func (*GetVmsParams) SetContentLanguage ¶
func (o *GetVmsParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the get vms params
func (*GetVmsParams) SetContext ¶
func (o *GetVmsParams) SetContext(ctx context.Context)
SetContext adds the context to the get vms params
func (*GetVmsParams) SetDefaults ¶
func (o *GetVmsParams) SetDefaults()
SetDefaults hydrates default values in the get vms params (not the query body).
All values with no default are reset to their zero value.
func (*GetVmsParams) SetHTTPClient ¶
func (o *GetVmsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get vms params
func (*GetVmsParams) SetRequestBody ¶
func (o *GetVmsParams) SetRequestBody(requestBody *models.GetVmsRequestBody)
SetRequestBody adds the requestBody to the get vms params
func (*GetVmsParams) SetTimeout ¶
func (o *GetVmsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get vms params
func (*GetVmsParams) WithContentLanguage ¶
func (o *GetVmsParams) WithContentLanguage(contentLanguage *string) *GetVmsParams
WithContentLanguage adds the contentLanguage to the get vms params
func (*GetVmsParams) WithContext ¶
func (o *GetVmsParams) WithContext(ctx context.Context) *GetVmsParams
WithContext adds the context to the get vms params
func (*GetVmsParams) WithDefaults ¶
func (o *GetVmsParams) WithDefaults() *GetVmsParams
WithDefaults hydrates default values in the get vms params (not the query body).
All values with no default are reset to their zero value.
func (*GetVmsParams) WithHTTPClient ¶
func (o *GetVmsParams) WithHTTPClient(client *http.Client) *GetVmsParams
WithHTTPClient adds the HTTPClient to the get vms params
func (*GetVmsParams) WithRequestBody ¶
func (o *GetVmsParams) WithRequestBody(requestBody *models.GetVmsRequestBody) *GetVmsParams
WithRequestBody adds the requestBody to the get vms params
func (*GetVmsParams) WithTimeout ¶
func (o *GetVmsParams) WithTimeout(timeout time.Duration) *GetVmsParams
WithTimeout adds the timeout to the get vms params
func (*GetVmsParams) WriteToRequest ¶
func (o *GetVmsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetVmsReader ¶
type GetVmsReader struct {
// contains filtered or unexported fields
}
GetVmsReader is a Reader for the GetVms structure.
func (*GetVmsReader) ReadResponse ¶
func (o *GetVmsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ImportVMBadRequest ¶ added in v2.9.0
ImportVMBadRequest describes a response with status code 400, with default header values.
Bad request
func NewImportVMBadRequest ¶ added in v2.9.0
func NewImportVMBadRequest() *ImportVMBadRequest
NewImportVMBadRequest creates a ImportVMBadRequest with default headers values
func (*ImportVMBadRequest) Error ¶ added in v2.9.0
func (o *ImportVMBadRequest) Error() string
func (*ImportVMBadRequest) GetPayload ¶ added in v2.9.0
func (o *ImportVMBadRequest) GetPayload() *models.ErrorBody
type ImportVMInternalServerError ¶ added in v2.9.0
ImportVMInternalServerError describes a response with status code 500, with default header values.
Server error
func NewImportVMInternalServerError ¶ added in v2.9.0
func NewImportVMInternalServerError() *ImportVMInternalServerError
NewImportVMInternalServerError creates a ImportVMInternalServerError with default headers values
func (*ImportVMInternalServerError) Error ¶ added in v2.9.0
func (o *ImportVMInternalServerError) Error() string
func (*ImportVMInternalServerError) GetPayload ¶ added in v2.9.0
func (o *ImportVMInternalServerError) GetPayload() *models.ErrorBody
type ImportVMNotFound ¶ added in v2.9.0
ImportVMNotFound describes a response with status code 404, with default header values.
Not found
func NewImportVMNotFound ¶ added in v2.9.0
func NewImportVMNotFound() *ImportVMNotFound
NewImportVMNotFound creates a ImportVMNotFound with default headers values
func (*ImportVMNotFound) Error ¶ added in v2.9.0
func (o *ImportVMNotFound) Error() string
func (*ImportVMNotFound) GetPayload ¶ added in v2.9.0
func (o *ImportVMNotFound) GetPayload() *models.ErrorBody
type ImportVMOK ¶ added in v2.9.0
type ImportVMOK struct { XTowerRequestID string Payload []*models.WithTaskVM }
ImportVMOK describes a response with status code 200, with default header values.
ImportVMOK import Vm o k
func NewImportVMOK ¶ added in v2.9.0
func NewImportVMOK() *ImportVMOK
NewImportVMOK creates a ImportVMOK with default headers values
func (*ImportVMOK) Error ¶ added in v2.9.0
func (o *ImportVMOK) Error() string
func (*ImportVMOK) GetPayload ¶ added in v2.9.0
func (o *ImportVMOK) GetPayload() []*models.WithTaskVM
type ImportVMParams ¶ added in v2.9.0
type ImportVMParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody []*models.VMImportParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ImportVMParams contains all the parameters to send to the API endpoint
for the import Vm operation. Typically these are written to a http.Request.
func NewImportVMParams ¶ added in v2.9.0
func NewImportVMParams() *ImportVMParams
NewImportVMParams creates a new ImportVMParams 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 NewImportVMParamsWithContext ¶ added in v2.9.0
func NewImportVMParamsWithContext(ctx context.Context) *ImportVMParams
NewImportVMParamsWithContext creates a new ImportVMParams object with the ability to set a context for a request.
func NewImportVMParamsWithHTTPClient ¶ added in v2.9.0
func NewImportVMParamsWithHTTPClient(client *http.Client) *ImportVMParams
NewImportVMParamsWithHTTPClient creates a new ImportVMParams object with the ability to set a custom HTTPClient for a request.
func NewImportVMParamsWithTimeout ¶ added in v2.9.0
func NewImportVMParamsWithTimeout(timeout time.Duration) *ImportVMParams
NewImportVMParamsWithTimeout creates a new ImportVMParams object with the ability to set a timeout on a request.
func (*ImportVMParams) SetContentLanguage ¶ added in v2.9.0
func (o *ImportVMParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the import Vm params
func (*ImportVMParams) SetContext ¶ added in v2.9.0
func (o *ImportVMParams) SetContext(ctx context.Context)
SetContext adds the context to the import Vm params
func (*ImportVMParams) SetDefaults ¶ added in v2.9.0
func (o *ImportVMParams) SetDefaults()
SetDefaults hydrates default values in the import Vm params (not the query body).
All values with no default are reset to their zero value.
func (*ImportVMParams) SetHTTPClient ¶ added in v2.9.0
func (o *ImportVMParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the import Vm params
func (*ImportVMParams) SetRequestBody ¶ added in v2.9.0
func (o *ImportVMParams) SetRequestBody(requestBody []*models.VMImportParams)
SetRequestBody adds the requestBody to the import Vm params
func (*ImportVMParams) SetTimeout ¶ added in v2.9.0
func (o *ImportVMParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the import Vm params
func (*ImportVMParams) WithContentLanguage ¶ added in v2.9.0
func (o *ImportVMParams) WithContentLanguage(contentLanguage *string) *ImportVMParams
WithContentLanguage adds the contentLanguage to the import Vm params
func (*ImportVMParams) WithContext ¶ added in v2.9.0
func (o *ImportVMParams) WithContext(ctx context.Context) *ImportVMParams
WithContext adds the context to the import Vm params
func (*ImportVMParams) WithDefaults ¶ added in v2.9.0
func (o *ImportVMParams) WithDefaults() *ImportVMParams
WithDefaults hydrates default values in the import Vm params (not the query body).
All values with no default are reset to their zero value.
func (*ImportVMParams) WithHTTPClient ¶ added in v2.9.0
func (o *ImportVMParams) WithHTTPClient(client *http.Client) *ImportVMParams
WithHTTPClient adds the HTTPClient to the import Vm params
func (*ImportVMParams) WithRequestBody ¶ added in v2.9.0
func (o *ImportVMParams) WithRequestBody(requestBody []*models.VMImportParams) *ImportVMParams
WithRequestBody adds the requestBody to the import Vm params
func (*ImportVMParams) WithTimeout ¶ added in v2.9.0
func (o *ImportVMParams) WithTimeout(timeout time.Duration) *ImportVMParams
WithTimeout adds the timeout to the import Vm params
func (*ImportVMParams) WriteToRequest ¶ added in v2.9.0
func (o *ImportVMParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ImportVMReader ¶ added in v2.9.0
type ImportVMReader struct {
// contains filtered or unexported fields
}
ImportVMReader is a Reader for the ImportVM structure.
func (*ImportVMReader) ReadResponse ¶ added in v2.9.0
func (o *ImportVMReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type InstallVmtoolsBadRequest ¶
InstallVmtoolsBadRequest describes a response with status code 400, with default header values.
Bad request
func NewInstallVmtoolsBadRequest ¶
func NewInstallVmtoolsBadRequest() *InstallVmtoolsBadRequest
NewInstallVmtoolsBadRequest creates a InstallVmtoolsBadRequest with default headers values
func (*InstallVmtoolsBadRequest) Error ¶
func (o *InstallVmtoolsBadRequest) Error() string
func (*InstallVmtoolsBadRequest) GetPayload ¶
func (o *InstallVmtoolsBadRequest) GetPayload() *models.ErrorBody
type InstallVmtoolsInternalServerError ¶
InstallVmtoolsInternalServerError describes a response with status code 500, with default header values.
Server error
func NewInstallVmtoolsInternalServerError ¶
func NewInstallVmtoolsInternalServerError() *InstallVmtoolsInternalServerError
NewInstallVmtoolsInternalServerError creates a InstallVmtoolsInternalServerError with default headers values
func (*InstallVmtoolsInternalServerError) Error ¶
func (o *InstallVmtoolsInternalServerError) Error() string
func (*InstallVmtoolsInternalServerError) GetPayload ¶
func (o *InstallVmtoolsInternalServerError) GetPayload() *models.ErrorBody
type InstallVmtoolsNotFound ¶
InstallVmtoolsNotFound describes a response with status code 404, with default header values.
Not found
func NewInstallVmtoolsNotFound ¶
func NewInstallVmtoolsNotFound() *InstallVmtoolsNotFound
NewInstallVmtoolsNotFound creates a InstallVmtoolsNotFound with default headers values
func (*InstallVmtoolsNotFound) Error ¶
func (o *InstallVmtoolsNotFound) Error() string
func (*InstallVmtoolsNotFound) GetPayload ¶
func (o *InstallVmtoolsNotFound) GetPayload() *models.ErrorBody
type InstallVmtoolsOK ¶
type InstallVmtoolsOK struct { XTowerRequestID string Payload []*models.WithTaskVM }
InstallVmtoolsOK describes a response with status code 200, with default header values.
InstallVmtoolsOK install vmtools o k
func NewInstallVmtoolsOK ¶
func NewInstallVmtoolsOK() *InstallVmtoolsOK
NewInstallVmtoolsOK creates a InstallVmtoolsOK with default headers values
func (*InstallVmtoolsOK) Error ¶
func (o *InstallVmtoolsOK) Error() string
func (*InstallVmtoolsOK) GetPayload ¶
func (o *InstallVmtoolsOK) GetPayload() []*models.WithTaskVM
type InstallVmtoolsParams ¶
type InstallVmtoolsParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.InstallVmtoolsParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
InstallVmtoolsParams contains all the parameters to send to the API endpoint
for the install vmtools operation. Typically these are written to a http.Request.
func NewInstallVmtoolsParams ¶
func NewInstallVmtoolsParams() *InstallVmtoolsParams
NewInstallVmtoolsParams creates a new InstallVmtoolsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewInstallVmtoolsParamsWithContext ¶
func NewInstallVmtoolsParamsWithContext(ctx context.Context) *InstallVmtoolsParams
NewInstallVmtoolsParamsWithContext creates a new InstallVmtoolsParams object with the ability to set a context for a request.
func NewInstallVmtoolsParamsWithHTTPClient ¶
func NewInstallVmtoolsParamsWithHTTPClient(client *http.Client) *InstallVmtoolsParams
NewInstallVmtoolsParamsWithHTTPClient creates a new InstallVmtoolsParams object with the ability to set a custom HTTPClient for a request.
func NewInstallVmtoolsParamsWithTimeout ¶
func NewInstallVmtoolsParamsWithTimeout(timeout time.Duration) *InstallVmtoolsParams
NewInstallVmtoolsParamsWithTimeout creates a new InstallVmtoolsParams object with the ability to set a timeout on a request.
func (*InstallVmtoolsParams) SetContentLanguage ¶
func (o *InstallVmtoolsParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the install vmtools params
func (*InstallVmtoolsParams) SetContext ¶
func (o *InstallVmtoolsParams) SetContext(ctx context.Context)
SetContext adds the context to the install vmtools params
func (*InstallVmtoolsParams) SetDefaults ¶
func (o *InstallVmtoolsParams) SetDefaults()
SetDefaults hydrates default values in the install vmtools params (not the query body).
All values with no default are reset to their zero value.
func (*InstallVmtoolsParams) SetHTTPClient ¶
func (o *InstallVmtoolsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the install vmtools params
func (*InstallVmtoolsParams) SetRequestBody ¶
func (o *InstallVmtoolsParams) SetRequestBody(requestBody *models.InstallVmtoolsParams)
SetRequestBody adds the requestBody to the install vmtools params
func (*InstallVmtoolsParams) SetTimeout ¶
func (o *InstallVmtoolsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the install vmtools params
func (*InstallVmtoolsParams) WithContentLanguage ¶
func (o *InstallVmtoolsParams) WithContentLanguage(contentLanguage *string) *InstallVmtoolsParams
WithContentLanguage adds the contentLanguage to the install vmtools params
func (*InstallVmtoolsParams) WithContext ¶
func (o *InstallVmtoolsParams) WithContext(ctx context.Context) *InstallVmtoolsParams
WithContext adds the context to the install vmtools params
func (*InstallVmtoolsParams) WithDefaults ¶
func (o *InstallVmtoolsParams) WithDefaults() *InstallVmtoolsParams
WithDefaults hydrates default values in the install vmtools params (not the query body).
All values with no default are reset to their zero value.
func (*InstallVmtoolsParams) WithHTTPClient ¶
func (o *InstallVmtoolsParams) WithHTTPClient(client *http.Client) *InstallVmtoolsParams
WithHTTPClient adds the HTTPClient to the install vmtools params
func (*InstallVmtoolsParams) WithRequestBody ¶
func (o *InstallVmtoolsParams) WithRequestBody(requestBody *models.InstallVmtoolsParams) *InstallVmtoolsParams
WithRequestBody adds the requestBody to the install vmtools params
func (*InstallVmtoolsParams) WithTimeout ¶
func (o *InstallVmtoolsParams) WithTimeout(timeout time.Duration) *InstallVmtoolsParams
WithTimeout adds the timeout to the install vmtools params
func (*InstallVmtoolsParams) WriteToRequest ¶
func (o *InstallVmtoolsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type InstallVmtoolsReader ¶
type InstallVmtoolsReader struct {
// contains filtered or unexported fields
}
InstallVmtoolsReader is a Reader for the InstallVmtools structure.
func (*InstallVmtoolsReader) ReadResponse ¶
func (o *InstallVmtoolsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type MigrateVMAcrossClusterBadRequest ¶ added in v2.1.0
MigrateVMAcrossClusterBadRequest describes a response with status code 400, with default header values.
Bad request
func NewMigrateVMAcrossClusterBadRequest ¶ added in v2.1.0
func NewMigrateVMAcrossClusterBadRequest() *MigrateVMAcrossClusterBadRequest
NewMigrateVMAcrossClusterBadRequest creates a MigrateVMAcrossClusterBadRequest with default headers values
func (*MigrateVMAcrossClusterBadRequest) Error ¶ added in v2.1.0
func (o *MigrateVMAcrossClusterBadRequest) Error() string
func (*MigrateVMAcrossClusterBadRequest) GetPayload ¶ added in v2.1.0
func (o *MigrateVMAcrossClusterBadRequest) GetPayload() *models.ErrorBody
type MigrateVMAcrossClusterInternalServerError ¶ added in v2.1.0
type MigrateVMAcrossClusterInternalServerError struct { XTowerRequestID string Payload *models.ErrorBody }
MigrateVMAcrossClusterInternalServerError describes a response with status code 500, with default header values.
Server error
func NewMigrateVMAcrossClusterInternalServerError ¶ added in v2.1.0
func NewMigrateVMAcrossClusterInternalServerError() *MigrateVMAcrossClusterInternalServerError
NewMigrateVMAcrossClusterInternalServerError creates a MigrateVMAcrossClusterInternalServerError with default headers values
func (*MigrateVMAcrossClusterInternalServerError) Error ¶ added in v2.1.0
func (o *MigrateVMAcrossClusterInternalServerError) Error() string
func (*MigrateVMAcrossClusterInternalServerError) GetPayload ¶ added in v2.1.0
func (o *MigrateVMAcrossClusterInternalServerError) GetPayload() *models.ErrorBody
type MigrateVMAcrossClusterNotFound ¶ added in v2.1.0
MigrateVMAcrossClusterNotFound describes a response with status code 404, with default header values.
Not found
func NewMigrateVMAcrossClusterNotFound ¶ added in v2.1.0
func NewMigrateVMAcrossClusterNotFound() *MigrateVMAcrossClusterNotFound
NewMigrateVMAcrossClusterNotFound creates a MigrateVMAcrossClusterNotFound with default headers values
func (*MigrateVMAcrossClusterNotFound) Error ¶ added in v2.1.0
func (o *MigrateVMAcrossClusterNotFound) Error() string
func (*MigrateVMAcrossClusterNotFound) GetPayload ¶ added in v2.1.0
func (o *MigrateVMAcrossClusterNotFound) GetPayload() *models.ErrorBody
type MigrateVMAcrossClusterNotModified ¶ added in v2.1.0
type MigrateVMAcrossClusterNotModified struct { }
MigrateVMAcrossClusterNotModified describes a response with status code 304, with default header values.
Not modified
func NewMigrateVMAcrossClusterNotModified ¶ added in v2.1.0
func NewMigrateVMAcrossClusterNotModified() *MigrateVMAcrossClusterNotModified
NewMigrateVMAcrossClusterNotModified creates a MigrateVMAcrossClusterNotModified with default headers values
func (*MigrateVMAcrossClusterNotModified) Error ¶ added in v2.1.0
func (o *MigrateVMAcrossClusterNotModified) Error() string
type MigrateVMAcrossClusterOK ¶ added in v2.1.0
type MigrateVMAcrossClusterOK struct { XTowerRequestID string Payload []*models.WithTaskVM }
MigrateVMAcrossClusterOK describes a response with status code 200, with default header values.
MigrateVMAcrossClusterOK migrate Vm across cluster o k
func NewMigrateVMAcrossClusterOK ¶ added in v2.1.0
func NewMigrateVMAcrossClusterOK() *MigrateVMAcrossClusterOK
NewMigrateVMAcrossClusterOK creates a MigrateVMAcrossClusterOK with default headers values
func (*MigrateVMAcrossClusterOK) Error ¶ added in v2.1.0
func (o *MigrateVMAcrossClusterOK) Error() string
func (*MigrateVMAcrossClusterOK) GetPayload ¶ added in v2.1.0
func (o *MigrateVMAcrossClusterOK) GetPayload() []*models.WithTaskVM
type MigrateVMAcrossClusterParams ¶ added in v2.1.0
type MigrateVMAcrossClusterParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.VMMigrateAcrossClusterParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
MigrateVMAcrossClusterParams contains all the parameters to send to the API endpoint
for the migrate Vm across cluster operation. Typically these are written to a http.Request.
func NewMigrateVMAcrossClusterParams ¶ added in v2.1.0
func NewMigrateVMAcrossClusterParams() *MigrateVMAcrossClusterParams
NewMigrateVMAcrossClusterParams creates a new MigrateVMAcrossClusterParams 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 NewMigrateVMAcrossClusterParamsWithContext ¶ added in v2.1.0
func NewMigrateVMAcrossClusterParamsWithContext(ctx context.Context) *MigrateVMAcrossClusterParams
NewMigrateVMAcrossClusterParamsWithContext creates a new MigrateVMAcrossClusterParams object with the ability to set a context for a request.
func NewMigrateVMAcrossClusterParamsWithHTTPClient ¶ added in v2.1.0
func NewMigrateVMAcrossClusterParamsWithHTTPClient(client *http.Client) *MigrateVMAcrossClusterParams
NewMigrateVMAcrossClusterParamsWithHTTPClient creates a new MigrateVMAcrossClusterParams object with the ability to set a custom HTTPClient for a request.
func NewMigrateVMAcrossClusterParamsWithTimeout ¶ added in v2.1.0
func NewMigrateVMAcrossClusterParamsWithTimeout(timeout time.Duration) *MigrateVMAcrossClusterParams
NewMigrateVMAcrossClusterParamsWithTimeout creates a new MigrateVMAcrossClusterParams object with the ability to set a timeout on a request.
func (*MigrateVMAcrossClusterParams) SetContentLanguage ¶ added in v2.1.0
func (o *MigrateVMAcrossClusterParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the migrate Vm across cluster params
func (*MigrateVMAcrossClusterParams) SetContext ¶ added in v2.1.0
func (o *MigrateVMAcrossClusterParams) SetContext(ctx context.Context)
SetContext adds the context to the migrate Vm across cluster params
func (*MigrateVMAcrossClusterParams) SetDefaults ¶ added in v2.1.0
func (o *MigrateVMAcrossClusterParams) SetDefaults()
SetDefaults hydrates default values in the migrate Vm across cluster params (not the query body).
All values with no default are reset to their zero value.
func (*MigrateVMAcrossClusterParams) SetHTTPClient ¶ added in v2.1.0
func (o *MigrateVMAcrossClusterParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the migrate Vm across cluster params
func (*MigrateVMAcrossClusterParams) SetRequestBody ¶ added in v2.1.0
func (o *MigrateVMAcrossClusterParams) SetRequestBody(requestBody *models.VMMigrateAcrossClusterParams)
SetRequestBody adds the requestBody to the migrate Vm across cluster params
func (*MigrateVMAcrossClusterParams) SetTimeout ¶ added in v2.1.0
func (o *MigrateVMAcrossClusterParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the migrate Vm across cluster params
func (*MigrateVMAcrossClusterParams) WithContentLanguage ¶ added in v2.1.0
func (o *MigrateVMAcrossClusterParams) WithContentLanguage(contentLanguage *string) *MigrateVMAcrossClusterParams
WithContentLanguage adds the contentLanguage to the migrate Vm across cluster params
func (*MigrateVMAcrossClusterParams) WithContext ¶ added in v2.1.0
func (o *MigrateVMAcrossClusterParams) WithContext(ctx context.Context) *MigrateVMAcrossClusterParams
WithContext adds the context to the migrate Vm across cluster params
func (*MigrateVMAcrossClusterParams) WithDefaults ¶ added in v2.1.0
func (o *MigrateVMAcrossClusterParams) WithDefaults() *MigrateVMAcrossClusterParams
WithDefaults hydrates default values in the migrate Vm across cluster params (not the query body).
All values with no default are reset to their zero value.
func (*MigrateVMAcrossClusterParams) WithHTTPClient ¶ added in v2.1.0
func (o *MigrateVMAcrossClusterParams) WithHTTPClient(client *http.Client) *MigrateVMAcrossClusterParams
WithHTTPClient adds the HTTPClient to the migrate Vm across cluster params
func (*MigrateVMAcrossClusterParams) WithRequestBody ¶ added in v2.1.0
func (o *MigrateVMAcrossClusterParams) WithRequestBody(requestBody *models.VMMigrateAcrossClusterParams) *MigrateVMAcrossClusterParams
WithRequestBody adds the requestBody to the migrate Vm across cluster params
func (*MigrateVMAcrossClusterParams) WithTimeout ¶ added in v2.1.0
func (o *MigrateVMAcrossClusterParams) WithTimeout(timeout time.Duration) *MigrateVMAcrossClusterParams
WithTimeout adds the timeout to the migrate Vm across cluster params
func (*MigrateVMAcrossClusterParams) WriteToRequest ¶ added in v2.1.0
func (o *MigrateVMAcrossClusterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type MigrateVMAcrossClusterReader ¶ added in v2.1.0
type MigrateVMAcrossClusterReader struct {
// contains filtered or unexported fields
}
MigrateVMAcrossClusterReader is a Reader for the MigrateVMAcrossCluster structure.
func (*MigrateVMAcrossClusterReader) ReadResponse ¶ added in v2.1.0
func (o *MigrateVMAcrossClusterReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type MigrateVMBadRequest ¶ added in v2.1.0
MigrateVMBadRequest describes a response with status code 400, with default header values.
Bad request
func NewMigrateVMBadRequest ¶ added in v2.1.0
func NewMigrateVMBadRequest() *MigrateVMBadRequest
NewMigrateVMBadRequest creates a MigrateVMBadRequest with default headers values
func (*MigrateVMBadRequest) Error ¶ added in v2.1.0
func (o *MigrateVMBadRequest) Error() string
func (*MigrateVMBadRequest) GetPayload ¶ added in v2.1.0
func (o *MigrateVMBadRequest) GetPayload() *models.ErrorBody
type MigrateVMInternalServerError ¶ added in v2.1.0
MigrateVMInternalServerError describes a response with status code 500, with default header values.
Server error
func NewMigrateVMInternalServerError ¶ added in v2.1.0
func NewMigrateVMInternalServerError() *MigrateVMInternalServerError
NewMigrateVMInternalServerError creates a MigrateVMInternalServerError with default headers values
func (*MigrateVMInternalServerError) Error ¶ added in v2.1.0
func (o *MigrateVMInternalServerError) Error() string
func (*MigrateVMInternalServerError) GetPayload ¶ added in v2.1.0
func (o *MigrateVMInternalServerError) GetPayload() *models.ErrorBody
type MigrateVMNotFound ¶ added in v2.1.0
MigrateVMNotFound describes a response with status code 404, with default header values.
Not found
func NewMigrateVMNotFound ¶ added in v2.1.0
func NewMigrateVMNotFound() *MigrateVMNotFound
NewMigrateVMNotFound creates a MigrateVMNotFound with default headers values
func (*MigrateVMNotFound) Error ¶ added in v2.1.0
func (o *MigrateVMNotFound) Error() string
func (*MigrateVMNotFound) GetPayload ¶ added in v2.1.0
func (o *MigrateVMNotFound) GetPayload() *models.ErrorBody
type MigrateVMOK ¶ added in v2.1.0
type MigrateVMOK struct { XTowerRequestID string Payload []*models.WithTaskVM }
MigrateVMOK describes a response with status code 200, with default header values.
MigrateVMOK migrate Vm o k
func NewMigrateVMOK ¶ added in v2.1.0
func NewMigrateVMOK() *MigrateVMOK
NewMigrateVMOK creates a MigrateVMOK with default headers values
func (*MigrateVMOK) Error ¶ added in v2.1.0
func (o *MigrateVMOK) Error() string
func (*MigrateVMOK) GetPayload ¶ added in v2.1.0
func (o *MigrateVMOK) GetPayload() []*models.WithTaskVM
type MigrateVMParams ¶ added in v2.1.0
type MigrateVMParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.VMMigrateParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
MigrateVMParams contains all the parameters to send to the API endpoint
for the migrate Vm operation. Typically these are written to a http.Request.
func NewMigrateVMParams ¶ added in v2.1.0
func NewMigrateVMParams() *MigrateVMParams
NewMigrateVMParams creates a new MigrateVMParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewMigrateVMParamsWithContext ¶ added in v2.1.0
func NewMigrateVMParamsWithContext(ctx context.Context) *MigrateVMParams
NewMigrateVMParamsWithContext creates a new MigrateVMParams object with the ability to set a context for a request.
func NewMigrateVMParamsWithHTTPClient ¶ added in v2.1.0
func NewMigrateVMParamsWithHTTPClient(client *http.Client) *MigrateVMParams
NewMigrateVMParamsWithHTTPClient creates a new MigrateVMParams object with the ability to set a custom HTTPClient for a request.
func NewMigrateVMParamsWithTimeout ¶ added in v2.1.0
func NewMigrateVMParamsWithTimeout(timeout time.Duration) *MigrateVMParams
NewMigrateVMParamsWithTimeout creates a new MigrateVMParams object with the ability to set a timeout on a request.
func (*MigrateVMParams) SetContentLanguage ¶ added in v2.1.0
func (o *MigrateVMParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the migrate Vm params
func (*MigrateVMParams) SetContext ¶ added in v2.1.0
func (o *MigrateVMParams) SetContext(ctx context.Context)
SetContext adds the context to the migrate Vm params
func (*MigrateVMParams) SetDefaults ¶ added in v2.1.0
func (o *MigrateVMParams) SetDefaults()
SetDefaults hydrates default values in the migrate Vm params (not the query body).
All values with no default are reset to their zero value.
func (*MigrateVMParams) SetHTTPClient ¶ added in v2.1.0
func (o *MigrateVMParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the migrate Vm params
func (*MigrateVMParams) SetRequestBody ¶ added in v2.1.0
func (o *MigrateVMParams) SetRequestBody(requestBody *models.VMMigrateParams)
SetRequestBody adds the requestBody to the migrate Vm params
func (*MigrateVMParams) SetTimeout ¶ added in v2.1.0
func (o *MigrateVMParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the migrate Vm params
func (*MigrateVMParams) WithContentLanguage ¶ added in v2.1.0
func (o *MigrateVMParams) WithContentLanguage(contentLanguage *string) *MigrateVMParams
WithContentLanguage adds the contentLanguage to the migrate Vm params
func (*MigrateVMParams) WithContext ¶ added in v2.1.0
func (o *MigrateVMParams) WithContext(ctx context.Context) *MigrateVMParams
WithContext adds the context to the migrate Vm params
func (*MigrateVMParams) WithDefaults ¶ added in v2.1.0
func (o *MigrateVMParams) WithDefaults() *MigrateVMParams
WithDefaults hydrates default values in the migrate Vm params (not the query body).
All values with no default are reset to their zero value.
func (*MigrateVMParams) WithHTTPClient ¶ added in v2.1.0
func (o *MigrateVMParams) WithHTTPClient(client *http.Client) *MigrateVMParams
WithHTTPClient adds the HTTPClient to the migrate Vm params
func (*MigrateVMParams) WithRequestBody ¶ added in v2.1.0
func (o *MigrateVMParams) WithRequestBody(requestBody *models.VMMigrateParams) *MigrateVMParams
WithRequestBody adds the requestBody to the migrate Vm params
func (*MigrateVMParams) WithTimeout ¶ added in v2.1.0
func (o *MigrateVMParams) WithTimeout(timeout time.Duration) *MigrateVMParams
WithTimeout adds the timeout to the migrate Vm params
func (*MigrateVMParams) WriteToRequest ¶ added in v2.1.0
func (o *MigrateVMParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type MigrateVMReader ¶ added in v2.1.0
type MigrateVMReader struct {
// contains filtered or unexported fields
}
MigrateVMReader is a Reader for the MigrateVM structure.
func (*MigrateVMReader) ReadResponse ¶ added in v2.1.0
func (o *MigrateVMReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type MoveVMToRecycleBinBadRequest ¶
MoveVMToRecycleBinBadRequest describes a response with status code 400, with default header values.
Bad request
func NewMoveVMToRecycleBinBadRequest ¶
func NewMoveVMToRecycleBinBadRequest() *MoveVMToRecycleBinBadRequest
NewMoveVMToRecycleBinBadRequest creates a MoveVMToRecycleBinBadRequest with default headers values
func (*MoveVMToRecycleBinBadRequest) Error ¶
func (o *MoveVMToRecycleBinBadRequest) Error() string
func (*MoveVMToRecycleBinBadRequest) GetPayload ¶
func (o *MoveVMToRecycleBinBadRequest) GetPayload() *models.ErrorBody
type MoveVMToRecycleBinInternalServerError ¶
type MoveVMToRecycleBinInternalServerError struct { XTowerRequestID string Payload *models.ErrorBody }
MoveVMToRecycleBinInternalServerError describes a response with status code 500, with default header values.
Server error
func NewMoveVMToRecycleBinInternalServerError ¶
func NewMoveVMToRecycleBinInternalServerError() *MoveVMToRecycleBinInternalServerError
NewMoveVMToRecycleBinInternalServerError creates a MoveVMToRecycleBinInternalServerError with default headers values
func (*MoveVMToRecycleBinInternalServerError) Error ¶
func (o *MoveVMToRecycleBinInternalServerError) Error() string
func (*MoveVMToRecycleBinInternalServerError) GetPayload ¶
func (o *MoveVMToRecycleBinInternalServerError) GetPayload() *models.ErrorBody
type MoveVMToRecycleBinNotFound ¶
MoveVMToRecycleBinNotFound describes a response with status code 404, with default header values.
Not found
func NewMoveVMToRecycleBinNotFound ¶
func NewMoveVMToRecycleBinNotFound() *MoveVMToRecycleBinNotFound
NewMoveVMToRecycleBinNotFound creates a MoveVMToRecycleBinNotFound with default headers values
func (*MoveVMToRecycleBinNotFound) Error ¶
func (o *MoveVMToRecycleBinNotFound) Error() string
func (*MoveVMToRecycleBinNotFound) GetPayload ¶
func (o *MoveVMToRecycleBinNotFound) GetPayload() *models.ErrorBody
type MoveVMToRecycleBinOK ¶
type MoveVMToRecycleBinOK struct { XTowerRequestID string Payload []*models.WithTaskDeleteVM }
MoveVMToRecycleBinOK describes a response with status code 200, with default header values.
MoveVMToRecycleBinOK move Vm to recycle bin o k
func NewMoveVMToRecycleBinOK ¶
func NewMoveVMToRecycleBinOK() *MoveVMToRecycleBinOK
NewMoveVMToRecycleBinOK creates a MoveVMToRecycleBinOK with default headers values
func (*MoveVMToRecycleBinOK) Error ¶
func (o *MoveVMToRecycleBinOK) Error() string
func (*MoveVMToRecycleBinOK) GetPayload ¶
func (o *MoveVMToRecycleBinOK) GetPayload() []*models.WithTaskDeleteVM
type MoveVMToRecycleBinParams ¶
type MoveVMToRecycleBinParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.VMOperateParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
MoveVMToRecycleBinParams contains all the parameters to send to the API endpoint
for the move Vm to recycle bin operation. Typically these are written to a http.Request.
func NewMoveVMToRecycleBinParams ¶
func NewMoveVMToRecycleBinParams() *MoveVMToRecycleBinParams
NewMoveVMToRecycleBinParams creates a new MoveVMToRecycleBinParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewMoveVMToRecycleBinParamsWithContext ¶
func NewMoveVMToRecycleBinParamsWithContext(ctx context.Context) *MoveVMToRecycleBinParams
NewMoveVMToRecycleBinParamsWithContext creates a new MoveVMToRecycleBinParams object with the ability to set a context for a request.
func NewMoveVMToRecycleBinParamsWithHTTPClient ¶
func NewMoveVMToRecycleBinParamsWithHTTPClient(client *http.Client) *MoveVMToRecycleBinParams
NewMoveVMToRecycleBinParamsWithHTTPClient creates a new MoveVMToRecycleBinParams object with the ability to set a custom HTTPClient for a request.
func NewMoveVMToRecycleBinParamsWithTimeout ¶
func NewMoveVMToRecycleBinParamsWithTimeout(timeout time.Duration) *MoveVMToRecycleBinParams
NewMoveVMToRecycleBinParamsWithTimeout creates a new MoveVMToRecycleBinParams object with the ability to set a timeout on a request.
func (*MoveVMToRecycleBinParams) SetContentLanguage ¶
func (o *MoveVMToRecycleBinParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the move Vm to recycle bin params
func (*MoveVMToRecycleBinParams) SetContext ¶
func (o *MoveVMToRecycleBinParams) SetContext(ctx context.Context)
SetContext adds the context to the move Vm to recycle bin params
func (*MoveVMToRecycleBinParams) SetDefaults ¶
func (o *MoveVMToRecycleBinParams) SetDefaults()
SetDefaults hydrates default values in the move Vm to recycle bin params (not the query body).
All values with no default are reset to their zero value.
func (*MoveVMToRecycleBinParams) SetHTTPClient ¶
func (o *MoveVMToRecycleBinParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the move Vm to recycle bin params
func (*MoveVMToRecycleBinParams) SetRequestBody ¶
func (o *MoveVMToRecycleBinParams) SetRequestBody(requestBody *models.VMOperateParams)
SetRequestBody adds the requestBody to the move Vm to recycle bin params
func (*MoveVMToRecycleBinParams) SetTimeout ¶
func (o *MoveVMToRecycleBinParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the move Vm to recycle bin params
func (*MoveVMToRecycleBinParams) WithContentLanguage ¶
func (o *MoveVMToRecycleBinParams) WithContentLanguage(contentLanguage *string) *MoveVMToRecycleBinParams
WithContentLanguage adds the contentLanguage to the move Vm to recycle bin params
func (*MoveVMToRecycleBinParams) WithContext ¶
func (o *MoveVMToRecycleBinParams) WithContext(ctx context.Context) *MoveVMToRecycleBinParams
WithContext adds the context to the move Vm to recycle bin params
func (*MoveVMToRecycleBinParams) WithDefaults ¶
func (o *MoveVMToRecycleBinParams) WithDefaults() *MoveVMToRecycleBinParams
WithDefaults hydrates default values in the move Vm to recycle bin params (not the query body).
All values with no default are reset to their zero value.
func (*MoveVMToRecycleBinParams) WithHTTPClient ¶
func (o *MoveVMToRecycleBinParams) WithHTTPClient(client *http.Client) *MoveVMToRecycleBinParams
WithHTTPClient adds the HTTPClient to the move Vm to recycle bin params
func (*MoveVMToRecycleBinParams) WithRequestBody ¶
func (o *MoveVMToRecycleBinParams) WithRequestBody(requestBody *models.VMOperateParams) *MoveVMToRecycleBinParams
WithRequestBody adds the requestBody to the move Vm to recycle bin params
func (*MoveVMToRecycleBinParams) WithTimeout ¶
func (o *MoveVMToRecycleBinParams) WithTimeout(timeout time.Duration) *MoveVMToRecycleBinParams
WithTimeout adds the timeout to the move Vm to recycle bin params
func (*MoveVMToRecycleBinParams) WriteToRequest ¶
func (o *MoveVMToRecycleBinParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type MoveVMToRecycleBinReader ¶
type MoveVMToRecycleBinReader struct {
// contains filtered or unexported fields
}
MoveVMToRecycleBinReader is a Reader for the MoveVMToRecycleBin structure.
func (*MoveVMToRecycleBinReader) ReadResponse ¶
func (o *MoveVMToRecycleBinReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PoweroffVMBadRequest ¶
PoweroffVMBadRequest describes a response with status code 400, with default header values.
Bad request
func NewPoweroffVMBadRequest ¶
func NewPoweroffVMBadRequest() *PoweroffVMBadRequest
NewPoweroffVMBadRequest creates a PoweroffVMBadRequest with default headers values
func (*PoweroffVMBadRequest) Error ¶
func (o *PoweroffVMBadRequest) Error() string
func (*PoweroffVMBadRequest) GetPayload ¶
func (o *PoweroffVMBadRequest) GetPayload() *models.ErrorBody
type PoweroffVMInternalServerError ¶
PoweroffVMInternalServerError describes a response with status code 500, with default header values.
Server error
func NewPoweroffVMInternalServerError ¶
func NewPoweroffVMInternalServerError() *PoweroffVMInternalServerError
NewPoweroffVMInternalServerError creates a PoweroffVMInternalServerError with default headers values
func (*PoweroffVMInternalServerError) Error ¶
func (o *PoweroffVMInternalServerError) Error() string
func (*PoweroffVMInternalServerError) GetPayload ¶
func (o *PoweroffVMInternalServerError) GetPayload() *models.ErrorBody
type PoweroffVMNotFound ¶
PoweroffVMNotFound describes a response with status code 404, with default header values.
Not found
func NewPoweroffVMNotFound ¶
func NewPoweroffVMNotFound() *PoweroffVMNotFound
NewPoweroffVMNotFound creates a PoweroffVMNotFound with default headers values
func (*PoweroffVMNotFound) Error ¶
func (o *PoweroffVMNotFound) Error() string
func (*PoweroffVMNotFound) GetPayload ¶
func (o *PoweroffVMNotFound) GetPayload() *models.ErrorBody
type PoweroffVMOK ¶
type PoweroffVMOK struct { XTowerRequestID string Payload []*models.WithTaskVM }
PoweroffVMOK describes a response with status code 200, with default header values.
PoweroffVMOK poweroff Vm o k
func NewPoweroffVMOK ¶
func NewPoweroffVMOK() *PoweroffVMOK
NewPoweroffVMOK creates a PoweroffVMOK with default headers values
func (*PoweroffVMOK) Error ¶
func (o *PoweroffVMOK) Error() string
func (*PoweroffVMOK) GetPayload ¶
func (o *PoweroffVMOK) GetPayload() []*models.WithTaskVM
type PoweroffVMParams ¶
type PoweroffVMParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.VMOperateParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PoweroffVMParams contains all the parameters to send to the API endpoint
for the poweroff Vm operation. Typically these are written to a http.Request.
func NewPoweroffVMParams ¶
func NewPoweroffVMParams() *PoweroffVMParams
NewPoweroffVMParams creates a new PoweroffVMParams 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 NewPoweroffVMParamsWithContext ¶
func NewPoweroffVMParamsWithContext(ctx context.Context) *PoweroffVMParams
NewPoweroffVMParamsWithContext creates a new PoweroffVMParams object with the ability to set a context for a request.
func NewPoweroffVMParamsWithHTTPClient ¶
func NewPoweroffVMParamsWithHTTPClient(client *http.Client) *PoweroffVMParams
NewPoweroffVMParamsWithHTTPClient creates a new PoweroffVMParams object with the ability to set a custom HTTPClient for a request.
func NewPoweroffVMParamsWithTimeout ¶
func NewPoweroffVMParamsWithTimeout(timeout time.Duration) *PoweroffVMParams
NewPoweroffVMParamsWithTimeout creates a new PoweroffVMParams object with the ability to set a timeout on a request.
func (*PoweroffVMParams) SetContentLanguage ¶
func (o *PoweroffVMParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the poweroff Vm params
func (*PoweroffVMParams) SetContext ¶
func (o *PoweroffVMParams) SetContext(ctx context.Context)
SetContext adds the context to the poweroff Vm params
func (*PoweroffVMParams) SetDefaults ¶
func (o *PoweroffVMParams) SetDefaults()
SetDefaults hydrates default values in the poweroff Vm params (not the query body).
All values with no default are reset to their zero value.
func (*PoweroffVMParams) SetHTTPClient ¶
func (o *PoweroffVMParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the poweroff Vm params
func (*PoweroffVMParams) SetRequestBody ¶
func (o *PoweroffVMParams) SetRequestBody(requestBody *models.VMOperateParams)
SetRequestBody adds the requestBody to the poweroff Vm params
func (*PoweroffVMParams) SetTimeout ¶
func (o *PoweroffVMParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the poweroff Vm params
func (*PoweroffVMParams) WithContentLanguage ¶
func (o *PoweroffVMParams) WithContentLanguage(contentLanguage *string) *PoweroffVMParams
WithContentLanguage adds the contentLanguage to the poweroff Vm params
func (*PoweroffVMParams) WithContext ¶
func (o *PoweroffVMParams) WithContext(ctx context.Context) *PoweroffVMParams
WithContext adds the context to the poweroff Vm params
func (*PoweroffVMParams) WithDefaults ¶
func (o *PoweroffVMParams) WithDefaults() *PoweroffVMParams
WithDefaults hydrates default values in the poweroff Vm params (not the query body).
All values with no default are reset to their zero value.
func (*PoweroffVMParams) WithHTTPClient ¶
func (o *PoweroffVMParams) WithHTTPClient(client *http.Client) *PoweroffVMParams
WithHTTPClient adds the HTTPClient to the poweroff Vm params
func (*PoweroffVMParams) WithRequestBody ¶
func (o *PoweroffVMParams) WithRequestBody(requestBody *models.VMOperateParams) *PoweroffVMParams
WithRequestBody adds the requestBody to the poweroff Vm params
func (*PoweroffVMParams) WithTimeout ¶
func (o *PoweroffVMParams) WithTimeout(timeout time.Duration) *PoweroffVMParams
WithTimeout adds the timeout to the poweroff Vm params
func (*PoweroffVMParams) WriteToRequest ¶
func (o *PoweroffVMParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PoweroffVMReader ¶
type PoweroffVMReader struct {
// contains filtered or unexported fields
}
PoweroffVMReader is a Reader for the PoweroffVM structure.
func (*PoweroffVMReader) ReadResponse ¶
func (o *PoweroffVMReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RebuildVMBadRequest ¶
RebuildVMBadRequest describes a response with status code 400, with default header values.
Bad request
func NewRebuildVMBadRequest ¶
func NewRebuildVMBadRequest() *RebuildVMBadRequest
NewRebuildVMBadRequest creates a RebuildVMBadRequest with default headers values
func (*RebuildVMBadRequest) Error ¶
func (o *RebuildVMBadRequest) Error() string
func (*RebuildVMBadRequest) GetPayload ¶
func (o *RebuildVMBadRequest) GetPayload() *models.ErrorBody
type RebuildVMInternalServerError ¶
RebuildVMInternalServerError describes a response with status code 500, with default header values.
Server error
func NewRebuildVMInternalServerError ¶
func NewRebuildVMInternalServerError() *RebuildVMInternalServerError
NewRebuildVMInternalServerError creates a RebuildVMInternalServerError with default headers values
func (*RebuildVMInternalServerError) Error ¶
func (o *RebuildVMInternalServerError) Error() string
func (*RebuildVMInternalServerError) GetPayload ¶
func (o *RebuildVMInternalServerError) GetPayload() *models.ErrorBody
type RebuildVMNotFound ¶
RebuildVMNotFound describes a response with status code 404, with default header values.
Not found
func NewRebuildVMNotFound ¶
func NewRebuildVMNotFound() *RebuildVMNotFound
NewRebuildVMNotFound creates a RebuildVMNotFound with default headers values
func (*RebuildVMNotFound) Error ¶
func (o *RebuildVMNotFound) Error() string
func (*RebuildVMNotFound) GetPayload ¶
func (o *RebuildVMNotFound) GetPayload() *models.ErrorBody
type RebuildVMOK ¶
type RebuildVMOK struct { XTowerRequestID string Payload []*models.WithTaskVM }
RebuildVMOK describes a response with status code 200, with default header values.
RebuildVMOK rebuild Vm o k
func NewRebuildVMOK ¶
func NewRebuildVMOK() *RebuildVMOK
NewRebuildVMOK creates a RebuildVMOK with default headers values
func (*RebuildVMOK) Error ¶
func (o *RebuildVMOK) Error() string
func (*RebuildVMOK) GetPayload ¶
func (o *RebuildVMOK) GetPayload() []*models.WithTaskVM
type RebuildVMParams ¶
type RebuildVMParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody []*models.VMRebuildParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RebuildVMParams contains all the parameters to send to the API endpoint
for the rebuild Vm operation. Typically these are written to a http.Request.
func NewRebuildVMParams ¶
func NewRebuildVMParams() *RebuildVMParams
NewRebuildVMParams creates a new RebuildVMParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewRebuildVMParamsWithContext ¶
func NewRebuildVMParamsWithContext(ctx context.Context) *RebuildVMParams
NewRebuildVMParamsWithContext creates a new RebuildVMParams object with the ability to set a context for a request.
func NewRebuildVMParamsWithHTTPClient ¶
func NewRebuildVMParamsWithHTTPClient(client *http.Client) *RebuildVMParams
NewRebuildVMParamsWithHTTPClient creates a new RebuildVMParams object with the ability to set a custom HTTPClient for a request.
func NewRebuildVMParamsWithTimeout ¶
func NewRebuildVMParamsWithTimeout(timeout time.Duration) *RebuildVMParams
NewRebuildVMParamsWithTimeout creates a new RebuildVMParams object with the ability to set a timeout on a request.
func (*RebuildVMParams) SetContentLanguage ¶
func (o *RebuildVMParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the rebuild Vm params
func (*RebuildVMParams) SetContext ¶
func (o *RebuildVMParams) SetContext(ctx context.Context)
SetContext adds the context to the rebuild Vm params
func (*RebuildVMParams) SetDefaults ¶
func (o *RebuildVMParams) SetDefaults()
SetDefaults hydrates default values in the rebuild Vm params (not the query body).
All values with no default are reset to their zero value.
func (*RebuildVMParams) SetHTTPClient ¶
func (o *RebuildVMParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the rebuild Vm params
func (*RebuildVMParams) SetRequestBody ¶
func (o *RebuildVMParams) SetRequestBody(requestBody []*models.VMRebuildParams)
SetRequestBody adds the requestBody to the rebuild Vm params
func (*RebuildVMParams) SetTimeout ¶
func (o *RebuildVMParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the rebuild Vm params
func (*RebuildVMParams) WithContentLanguage ¶
func (o *RebuildVMParams) WithContentLanguage(contentLanguage *string) *RebuildVMParams
WithContentLanguage adds the contentLanguage to the rebuild Vm params
func (*RebuildVMParams) WithContext ¶
func (o *RebuildVMParams) WithContext(ctx context.Context) *RebuildVMParams
WithContext adds the context to the rebuild Vm params
func (*RebuildVMParams) WithDefaults ¶
func (o *RebuildVMParams) WithDefaults() *RebuildVMParams
WithDefaults hydrates default values in the rebuild Vm params (not the query body).
All values with no default are reset to their zero value.
func (*RebuildVMParams) WithHTTPClient ¶
func (o *RebuildVMParams) WithHTTPClient(client *http.Client) *RebuildVMParams
WithHTTPClient adds the HTTPClient to the rebuild Vm params
func (*RebuildVMParams) WithRequestBody ¶
func (o *RebuildVMParams) WithRequestBody(requestBody []*models.VMRebuildParams) *RebuildVMParams
WithRequestBody adds the requestBody to the rebuild Vm params
func (*RebuildVMParams) WithTimeout ¶
func (o *RebuildVMParams) WithTimeout(timeout time.Duration) *RebuildVMParams
WithTimeout adds the timeout to the rebuild Vm params
func (*RebuildVMParams) WriteToRequest ¶
func (o *RebuildVMParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RebuildVMReader ¶
type RebuildVMReader struct {
// contains filtered or unexported fields
}
RebuildVMReader is a Reader for the RebuildVM structure.
func (*RebuildVMReader) ReadResponse ¶
func (o *RebuildVMReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RecoverVMFromRecycleBinBadRequest ¶
RecoverVMFromRecycleBinBadRequest describes a response with status code 400, with default header values.
Bad request
func NewRecoverVMFromRecycleBinBadRequest ¶
func NewRecoverVMFromRecycleBinBadRequest() *RecoverVMFromRecycleBinBadRequest
NewRecoverVMFromRecycleBinBadRequest creates a RecoverVMFromRecycleBinBadRequest with default headers values
func (*RecoverVMFromRecycleBinBadRequest) Error ¶
func (o *RecoverVMFromRecycleBinBadRequest) Error() string
func (*RecoverVMFromRecycleBinBadRequest) GetPayload ¶
func (o *RecoverVMFromRecycleBinBadRequest) GetPayload() *models.ErrorBody
type RecoverVMFromRecycleBinInternalServerError ¶
type RecoverVMFromRecycleBinInternalServerError struct { XTowerRequestID string Payload *models.ErrorBody }
RecoverVMFromRecycleBinInternalServerError describes a response with status code 500, with default header values.
Server error
func NewRecoverVMFromRecycleBinInternalServerError ¶
func NewRecoverVMFromRecycleBinInternalServerError() *RecoverVMFromRecycleBinInternalServerError
NewRecoverVMFromRecycleBinInternalServerError creates a RecoverVMFromRecycleBinInternalServerError with default headers values
func (*RecoverVMFromRecycleBinInternalServerError) Error ¶
func (o *RecoverVMFromRecycleBinInternalServerError) Error() string
func (*RecoverVMFromRecycleBinInternalServerError) GetPayload ¶
func (o *RecoverVMFromRecycleBinInternalServerError) GetPayload() *models.ErrorBody
type RecoverVMFromRecycleBinNotFound ¶
RecoverVMFromRecycleBinNotFound describes a response with status code 404, with default header values.
Not found
func NewRecoverVMFromRecycleBinNotFound ¶
func NewRecoverVMFromRecycleBinNotFound() *RecoverVMFromRecycleBinNotFound
NewRecoverVMFromRecycleBinNotFound creates a RecoverVMFromRecycleBinNotFound with default headers values
func (*RecoverVMFromRecycleBinNotFound) Error ¶
func (o *RecoverVMFromRecycleBinNotFound) Error() string
func (*RecoverVMFromRecycleBinNotFound) GetPayload ¶
func (o *RecoverVMFromRecycleBinNotFound) GetPayload() *models.ErrorBody
type RecoverVMFromRecycleBinOK ¶
type RecoverVMFromRecycleBinOK struct { XTowerRequestID string Payload []*models.WithTaskDeleteVM }
RecoverVMFromRecycleBinOK describes a response with status code 200, with default header values.
RecoverVMFromRecycleBinOK recover Vm from recycle bin o k
func NewRecoverVMFromRecycleBinOK ¶
func NewRecoverVMFromRecycleBinOK() *RecoverVMFromRecycleBinOK
NewRecoverVMFromRecycleBinOK creates a RecoverVMFromRecycleBinOK with default headers values
func (*RecoverVMFromRecycleBinOK) Error ¶
func (o *RecoverVMFromRecycleBinOK) Error() string
func (*RecoverVMFromRecycleBinOK) GetPayload ¶
func (o *RecoverVMFromRecycleBinOK) GetPayload() []*models.WithTaskDeleteVM
type RecoverVMFromRecycleBinParams ¶
type RecoverVMFromRecycleBinParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.VMOperateParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RecoverVMFromRecycleBinParams contains all the parameters to send to the API endpoint
for the recover Vm from recycle bin operation. Typically these are written to a http.Request.
func NewRecoverVMFromRecycleBinParams ¶
func NewRecoverVMFromRecycleBinParams() *RecoverVMFromRecycleBinParams
NewRecoverVMFromRecycleBinParams creates a new RecoverVMFromRecycleBinParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewRecoverVMFromRecycleBinParamsWithContext ¶
func NewRecoverVMFromRecycleBinParamsWithContext(ctx context.Context) *RecoverVMFromRecycleBinParams
NewRecoverVMFromRecycleBinParamsWithContext creates a new RecoverVMFromRecycleBinParams object with the ability to set a context for a request.
func NewRecoverVMFromRecycleBinParamsWithHTTPClient ¶
func NewRecoverVMFromRecycleBinParamsWithHTTPClient(client *http.Client) *RecoverVMFromRecycleBinParams
NewRecoverVMFromRecycleBinParamsWithHTTPClient creates a new RecoverVMFromRecycleBinParams object with the ability to set a custom HTTPClient for a request.
func NewRecoverVMFromRecycleBinParamsWithTimeout ¶
func NewRecoverVMFromRecycleBinParamsWithTimeout(timeout time.Duration) *RecoverVMFromRecycleBinParams
NewRecoverVMFromRecycleBinParamsWithTimeout creates a new RecoverVMFromRecycleBinParams object with the ability to set a timeout on a request.
func (*RecoverVMFromRecycleBinParams) SetContentLanguage ¶
func (o *RecoverVMFromRecycleBinParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the recover Vm from recycle bin params
func (*RecoverVMFromRecycleBinParams) SetContext ¶
func (o *RecoverVMFromRecycleBinParams) SetContext(ctx context.Context)
SetContext adds the context to the recover Vm from recycle bin params
func (*RecoverVMFromRecycleBinParams) SetDefaults ¶
func (o *RecoverVMFromRecycleBinParams) SetDefaults()
SetDefaults hydrates default values in the recover Vm from recycle bin params (not the query body).
All values with no default are reset to their zero value.
func (*RecoverVMFromRecycleBinParams) SetHTTPClient ¶
func (o *RecoverVMFromRecycleBinParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the recover Vm from recycle bin params
func (*RecoverVMFromRecycleBinParams) SetRequestBody ¶
func (o *RecoverVMFromRecycleBinParams) SetRequestBody(requestBody *models.VMOperateParams)
SetRequestBody adds the requestBody to the recover Vm from recycle bin params
func (*RecoverVMFromRecycleBinParams) SetTimeout ¶
func (o *RecoverVMFromRecycleBinParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the recover Vm from recycle bin params
func (*RecoverVMFromRecycleBinParams) WithContentLanguage ¶
func (o *RecoverVMFromRecycleBinParams) WithContentLanguage(contentLanguage *string) *RecoverVMFromRecycleBinParams
WithContentLanguage adds the contentLanguage to the recover Vm from recycle bin params
func (*RecoverVMFromRecycleBinParams) WithContext ¶
func (o *RecoverVMFromRecycleBinParams) WithContext(ctx context.Context) *RecoverVMFromRecycleBinParams
WithContext adds the context to the recover Vm from recycle bin params
func (*RecoverVMFromRecycleBinParams) WithDefaults ¶
func (o *RecoverVMFromRecycleBinParams) WithDefaults() *RecoverVMFromRecycleBinParams
WithDefaults hydrates default values in the recover Vm from recycle bin params (not the query body).
All values with no default are reset to their zero value.
func (*RecoverVMFromRecycleBinParams) WithHTTPClient ¶
func (o *RecoverVMFromRecycleBinParams) WithHTTPClient(client *http.Client) *RecoverVMFromRecycleBinParams
WithHTTPClient adds the HTTPClient to the recover Vm from recycle bin params
func (*RecoverVMFromRecycleBinParams) WithRequestBody ¶
func (o *RecoverVMFromRecycleBinParams) WithRequestBody(requestBody *models.VMOperateParams) *RecoverVMFromRecycleBinParams
WithRequestBody adds the requestBody to the recover Vm from recycle bin params
func (*RecoverVMFromRecycleBinParams) WithTimeout ¶
func (o *RecoverVMFromRecycleBinParams) WithTimeout(timeout time.Duration) *RecoverVMFromRecycleBinParams
WithTimeout adds the timeout to the recover Vm from recycle bin params
func (*RecoverVMFromRecycleBinParams) WriteToRequest ¶
func (o *RecoverVMFromRecycleBinParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RecoverVMFromRecycleBinReader ¶
type RecoverVMFromRecycleBinReader struct {
// contains filtered or unexported fields
}
RecoverVMFromRecycleBinReader is a Reader for the RecoverVMFromRecycleBin structure.
func (*RecoverVMFromRecycleBinReader) ReadResponse ¶
func (o *RecoverVMFromRecycleBinReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RemoveVMCdRomBadRequest ¶
RemoveVMCdRomBadRequest describes a response with status code 400, with default header values.
Bad request
func NewRemoveVMCdRomBadRequest ¶
func NewRemoveVMCdRomBadRequest() *RemoveVMCdRomBadRequest
NewRemoveVMCdRomBadRequest creates a RemoveVMCdRomBadRequest with default headers values
func (*RemoveVMCdRomBadRequest) Error ¶
func (o *RemoveVMCdRomBadRequest) Error() string
func (*RemoveVMCdRomBadRequest) GetPayload ¶
func (o *RemoveVMCdRomBadRequest) GetPayload() *models.ErrorBody
type RemoveVMCdRomInternalServerError ¶
RemoveVMCdRomInternalServerError describes a response with status code 500, with default header values.
Server error
func NewRemoveVMCdRomInternalServerError ¶
func NewRemoveVMCdRomInternalServerError() *RemoveVMCdRomInternalServerError
NewRemoveVMCdRomInternalServerError creates a RemoveVMCdRomInternalServerError with default headers values
func (*RemoveVMCdRomInternalServerError) Error ¶
func (o *RemoveVMCdRomInternalServerError) Error() string
func (*RemoveVMCdRomInternalServerError) GetPayload ¶
func (o *RemoveVMCdRomInternalServerError) GetPayload() *models.ErrorBody
type RemoveVMCdRomNotFound ¶
RemoveVMCdRomNotFound describes a response with status code 404, with default header values.
Not found
func NewRemoveVMCdRomNotFound ¶
func NewRemoveVMCdRomNotFound() *RemoveVMCdRomNotFound
NewRemoveVMCdRomNotFound creates a RemoveVMCdRomNotFound with default headers values
func (*RemoveVMCdRomNotFound) Error ¶
func (o *RemoveVMCdRomNotFound) Error() string
func (*RemoveVMCdRomNotFound) GetPayload ¶
func (o *RemoveVMCdRomNotFound) GetPayload() *models.ErrorBody
type RemoveVMCdRomOK ¶
type RemoveVMCdRomOK struct { XTowerRequestID string Payload []*models.WithTaskVM }
RemoveVMCdRomOK describes a response with status code 200, with default header values.
RemoveVMCdRomOK remove Vm cd rom o k
func NewRemoveVMCdRomOK ¶
func NewRemoveVMCdRomOK() *RemoveVMCdRomOK
NewRemoveVMCdRomOK creates a RemoveVMCdRomOK with default headers values
func (*RemoveVMCdRomOK) Error ¶
func (o *RemoveVMCdRomOK) Error() string
func (*RemoveVMCdRomOK) GetPayload ¶
func (o *RemoveVMCdRomOK) GetPayload() []*models.WithTaskVM
type RemoveVMCdRomParams ¶
type RemoveVMCdRomParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.VMRemoveCdRomParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RemoveVMCdRomParams contains all the parameters to send to the API endpoint
for the remove Vm cd rom operation. Typically these are written to a http.Request.
func NewRemoveVMCdRomParams ¶
func NewRemoveVMCdRomParams() *RemoveVMCdRomParams
NewRemoveVMCdRomParams creates a new RemoveVMCdRomParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewRemoveVMCdRomParamsWithContext ¶
func NewRemoveVMCdRomParamsWithContext(ctx context.Context) *RemoveVMCdRomParams
NewRemoveVMCdRomParamsWithContext creates a new RemoveVMCdRomParams object with the ability to set a context for a request.
func NewRemoveVMCdRomParamsWithHTTPClient ¶
func NewRemoveVMCdRomParamsWithHTTPClient(client *http.Client) *RemoveVMCdRomParams
NewRemoveVMCdRomParamsWithHTTPClient creates a new RemoveVMCdRomParams object with the ability to set a custom HTTPClient for a request.
func NewRemoveVMCdRomParamsWithTimeout ¶
func NewRemoveVMCdRomParamsWithTimeout(timeout time.Duration) *RemoveVMCdRomParams
NewRemoveVMCdRomParamsWithTimeout creates a new RemoveVMCdRomParams object with the ability to set a timeout on a request.
func (*RemoveVMCdRomParams) SetContentLanguage ¶
func (o *RemoveVMCdRomParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the remove Vm cd rom params
func (*RemoveVMCdRomParams) SetContext ¶
func (o *RemoveVMCdRomParams) SetContext(ctx context.Context)
SetContext adds the context to the remove Vm cd rom params
func (*RemoveVMCdRomParams) SetDefaults ¶
func (o *RemoveVMCdRomParams) SetDefaults()
SetDefaults hydrates default values in the remove Vm cd rom params (not the query body).
All values with no default are reset to their zero value.
func (*RemoveVMCdRomParams) SetHTTPClient ¶
func (o *RemoveVMCdRomParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the remove Vm cd rom params
func (*RemoveVMCdRomParams) SetRequestBody ¶
func (o *RemoveVMCdRomParams) SetRequestBody(requestBody *models.VMRemoveCdRomParams)
SetRequestBody adds the requestBody to the remove Vm cd rom params
func (*RemoveVMCdRomParams) SetTimeout ¶
func (o *RemoveVMCdRomParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the remove Vm cd rom params
func (*RemoveVMCdRomParams) WithContentLanguage ¶
func (o *RemoveVMCdRomParams) WithContentLanguage(contentLanguage *string) *RemoveVMCdRomParams
WithContentLanguage adds the contentLanguage to the remove Vm cd rom params
func (*RemoveVMCdRomParams) WithContext ¶
func (o *RemoveVMCdRomParams) WithContext(ctx context.Context) *RemoveVMCdRomParams
WithContext adds the context to the remove Vm cd rom params
func (*RemoveVMCdRomParams) WithDefaults ¶
func (o *RemoveVMCdRomParams) WithDefaults() *RemoveVMCdRomParams
WithDefaults hydrates default values in the remove Vm cd rom params (not the query body).
All values with no default are reset to their zero value.
func (*RemoveVMCdRomParams) WithHTTPClient ¶
func (o *RemoveVMCdRomParams) WithHTTPClient(client *http.Client) *RemoveVMCdRomParams
WithHTTPClient adds the HTTPClient to the remove Vm cd rom params
func (*RemoveVMCdRomParams) WithRequestBody ¶
func (o *RemoveVMCdRomParams) WithRequestBody(requestBody *models.VMRemoveCdRomParams) *RemoveVMCdRomParams
WithRequestBody adds the requestBody to the remove Vm cd rom params
func (*RemoveVMCdRomParams) WithTimeout ¶
func (o *RemoveVMCdRomParams) WithTimeout(timeout time.Duration) *RemoveVMCdRomParams
WithTimeout adds the timeout to the remove Vm cd rom params
func (*RemoveVMCdRomParams) WriteToRequest ¶
func (o *RemoveVMCdRomParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RemoveVMCdRomReader ¶
type RemoveVMCdRomReader struct {
// contains filtered or unexported fields
}
RemoveVMCdRomReader is a Reader for the RemoveVMCdRom structure.
func (*RemoveVMCdRomReader) ReadResponse ¶
func (o *RemoveVMCdRomReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RemoveVMDiskBadRequest ¶
RemoveVMDiskBadRequest describes a response with status code 400, with default header values.
Bad request
func NewRemoveVMDiskBadRequest ¶
func NewRemoveVMDiskBadRequest() *RemoveVMDiskBadRequest
NewRemoveVMDiskBadRequest creates a RemoveVMDiskBadRequest with default headers values
func (*RemoveVMDiskBadRequest) Error ¶
func (o *RemoveVMDiskBadRequest) Error() string
func (*RemoveVMDiskBadRequest) GetPayload ¶
func (o *RemoveVMDiskBadRequest) GetPayload() *models.ErrorBody
type RemoveVMDiskInternalServerError ¶
RemoveVMDiskInternalServerError describes a response with status code 500, with default header values.
Server error
func NewRemoveVMDiskInternalServerError ¶
func NewRemoveVMDiskInternalServerError() *RemoveVMDiskInternalServerError
NewRemoveVMDiskInternalServerError creates a RemoveVMDiskInternalServerError with default headers values
func (*RemoveVMDiskInternalServerError) Error ¶
func (o *RemoveVMDiskInternalServerError) Error() string
func (*RemoveVMDiskInternalServerError) GetPayload ¶
func (o *RemoveVMDiskInternalServerError) GetPayload() *models.ErrorBody
type RemoveVMDiskNotFound ¶
RemoveVMDiskNotFound describes a response with status code 404, with default header values.
Not found
func NewRemoveVMDiskNotFound ¶
func NewRemoveVMDiskNotFound() *RemoveVMDiskNotFound
NewRemoveVMDiskNotFound creates a RemoveVMDiskNotFound with default headers values
func (*RemoveVMDiskNotFound) Error ¶
func (o *RemoveVMDiskNotFound) Error() string
func (*RemoveVMDiskNotFound) GetPayload ¶
func (o *RemoveVMDiskNotFound) GetPayload() *models.ErrorBody
type RemoveVMDiskOK ¶
type RemoveVMDiskOK struct { XTowerRequestID string Payload []*models.WithTaskVM }
RemoveVMDiskOK describes a response with status code 200, with default header values.
RemoveVMDiskOK remove Vm disk o k
func NewRemoveVMDiskOK ¶
func NewRemoveVMDiskOK() *RemoveVMDiskOK
NewRemoveVMDiskOK creates a RemoveVMDiskOK with default headers values
func (*RemoveVMDiskOK) Error ¶
func (o *RemoveVMDiskOK) Error() string
func (*RemoveVMDiskOK) GetPayload ¶
func (o *RemoveVMDiskOK) GetPayload() []*models.WithTaskVM
type RemoveVMDiskParams ¶
type RemoveVMDiskParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.VMRemoveDiskParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RemoveVMDiskParams contains all the parameters to send to the API endpoint
for the remove Vm disk operation. Typically these are written to a http.Request.
func NewRemoveVMDiskParams ¶
func NewRemoveVMDiskParams() *RemoveVMDiskParams
NewRemoveVMDiskParams creates a new RemoveVMDiskParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewRemoveVMDiskParamsWithContext ¶
func NewRemoveVMDiskParamsWithContext(ctx context.Context) *RemoveVMDiskParams
NewRemoveVMDiskParamsWithContext creates a new RemoveVMDiskParams object with the ability to set a context for a request.
func NewRemoveVMDiskParamsWithHTTPClient ¶
func NewRemoveVMDiskParamsWithHTTPClient(client *http.Client) *RemoveVMDiskParams
NewRemoveVMDiskParamsWithHTTPClient creates a new RemoveVMDiskParams object with the ability to set a custom HTTPClient for a request.
func NewRemoveVMDiskParamsWithTimeout ¶
func NewRemoveVMDiskParamsWithTimeout(timeout time.Duration) *RemoveVMDiskParams
NewRemoveVMDiskParamsWithTimeout creates a new RemoveVMDiskParams object with the ability to set a timeout on a request.
func (*RemoveVMDiskParams) SetContentLanguage ¶
func (o *RemoveVMDiskParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the remove Vm disk params
func (*RemoveVMDiskParams) SetContext ¶
func (o *RemoveVMDiskParams) SetContext(ctx context.Context)
SetContext adds the context to the remove Vm disk params
func (*RemoveVMDiskParams) SetDefaults ¶
func (o *RemoveVMDiskParams) SetDefaults()
SetDefaults hydrates default values in the remove Vm disk params (not the query body).
All values with no default are reset to their zero value.
func (*RemoveVMDiskParams) SetHTTPClient ¶
func (o *RemoveVMDiskParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the remove Vm disk params
func (*RemoveVMDiskParams) SetRequestBody ¶
func (o *RemoveVMDiskParams) SetRequestBody(requestBody *models.VMRemoveDiskParams)
SetRequestBody adds the requestBody to the remove Vm disk params
func (*RemoveVMDiskParams) SetTimeout ¶
func (o *RemoveVMDiskParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the remove Vm disk params
func (*RemoveVMDiskParams) WithContentLanguage ¶
func (o *RemoveVMDiskParams) WithContentLanguage(contentLanguage *string) *RemoveVMDiskParams
WithContentLanguage adds the contentLanguage to the remove Vm disk params
func (*RemoveVMDiskParams) WithContext ¶
func (o *RemoveVMDiskParams) WithContext(ctx context.Context) *RemoveVMDiskParams
WithContext adds the context to the remove Vm disk params
func (*RemoveVMDiskParams) WithDefaults ¶
func (o *RemoveVMDiskParams) WithDefaults() *RemoveVMDiskParams
WithDefaults hydrates default values in the remove Vm disk params (not the query body).
All values with no default are reset to their zero value.
func (*RemoveVMDiskParams) WithHTTPClient ¶
func (o *RemoveVMDiskParams) WithHTTPClient(client *http.Client) *RemoveVMDiskParams
WithHTTPClient adds the HTTPClient to the remove Vm disk params
func (*RemoveVMDiskParams) WithRequestBody ¶
func (o *RemoveVMDiskParams) WithRequestBody(requestBody *models.VMRemoveDiskParams) *RemoveVMDiskParams
WithRequestBody adds the requestBody to the remove Vm disk params
func (*RemoveVMDiskParams) WithTimeout ¶
func (o *RemoveVMDiskParams) WithTimeout(timeout time.Duration) *RemoveVMDiskParams
WithTimeout adds the timeout to the remove Vm disk params
func (*RemoveVMDiskParams) WriteToRequest ¶
func (o *RemoveVMDiskParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RemoveVMDiskReader ¶
type RemoveVMDiskReader struct {
// contains filtered or unexported fields
}
RemoveVMDiskReader is a Reader for the RemoveVMDisk structure.
func (*RemoveVMDiskReader) ReadResponse ¶
func (o *RemoveVMDiskReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RemoveVMGpuDeviceBadRequest ¶ added in v2.12.0
RemoveVMGpuDeviceBadRequest describes a response with status code 400, with default header values.
Bad request
func NewRemoveVMGpuDeviceBadRequest ¶ added in v2.12.0
func NewRemoveVMGpuDeviceBadRequest() *RemoveVMGpuDeviceBadRequest
NewRemoveVMGpuDeviceBadRequest creates a RemoveVMGpuDeviceBadRequest with default headers values
func (*RemoveVMGpuDeviceBadRequest) Error ¶ added in v2.12.0
func (o *RemoveVMGpuDeviceBadRequest) Error() string
func (*RemoveVMGpuDeviceBadRequest) GetPayload ¶ added in v2.12.0
func (o *RemoveVMGpuDeviceBadRequest) GetPayload() *models.ErrorBody
type RemoveVMGpuDeviceInternalServerError ¶ added in v2.12.0
type RemoveVMGpuDeviceInternalServerError struct { XTowerRequestID string Payload *models.ErrorBody }
RemoveVMGpuDeviceInternalServerError describes a response with status code 500, with default header values.
Server error
func NewRemoveVMGpuDeviceInternalServerError ¶ added in v2.12.0
func NewRemoveVMGpuDeviceInternalServerError() *RemoveVMGpuDeviceInternalServerError
NewRemoveVMGpuDeviceInternalServerError creates a RemoveVMGpuDeviceInternalServerError with default headers values
func (*RemoveVMGpuDeviceInternalServerError) Error ¶ added in v2.12.0
func (o *RemoveVMGpuDeviceInternalServerError) Error() string
func (*RemoveVMGpuDeviceInternalServerError) GetPayload ¶ added in v2.12.0
func (o *RemoveVMGpuDeviceInternalServerError) GetPayload() *models.ErrorBody
type RemoveVMGpuDeviceNotFound ¶ added in v2.12.0
RemoveVMGpuDeviceNotFound describes a response with status code 404, with default header values.
Not found
func NewRemoveVMGpuDeviceNotFound ¶ added in v2.12.0
func NewRemoveVMGpuDeviceNotFound() *RemoveVMGpuDeviceNotFound
NewRemoveVMGpuDeviceNotFound creates a RemoveVMGpuDeviceNotFound with default headers values
func (*RemoveVMGpuDeviceNotFound) Error ¶ added in v2.12.0
func (o *RemoveVMGpuDeviceNotFound) Error() string
func (*RemoveVMGpuDeviceNotFound) GetPayload ¶ added in v2.12.0
func (o *RemoveVMGpuDeviceNotFound) GetPayload() *models.ErrorBody
type RemoveVMGpuDeviceOK ¶ added in v2.12.0
type RemoveVMGpuDeviceOK struct { XTowerRequestID string Payload []*models.WithTaskVM }
RemoveVMGpuDeviceOK describes a response with status code 200, with default header values.
RemoveVMGpuDeviceOK remove Vm gpu device o k
func NewRemoveVMGpuDeviceOK ¶ added in v2.12.0
func NewRemoveVMGpuDeviceOK() *RemoveVMGpuDeviceOK
NewRemoveVMGpuDeviceOK creates a RemoveVMGpuDeviceOK with default headers values
func (*RemoveVMGpuDeviceOK) Error ¶ added in v2.12.0
func (o *RemoveVMGpuDeviceOK) Error() string
func (*RemoveVMGpuDeviceOK) GetPayload ¶ added in v2.12.0
func (o *RemoveVMGpuDeviceOK) GetPayload() []*models.WithTaskVM
type RemoveVMGpuDeviceParams ¶ added in v2.12.0
type RemoveVMGpuDeviceParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.VMRemoveGpuDeviceParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RemoveVMGpuDeviceParams contains all the parameters to send to the API endpoint
for the remove Vm gpu device operation. Typically these are written to a http.Request.
func NewRemoveVMGpuDeviceParams ¶ added in v2.12.0
func NewRemoveVMGpuDeviceParams() *RemoveVMGpuDeviceParams
NewRemoveVMGpuDeviceParams creates a new RemoveVMGpuDeviceParams 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 NewRemoveVMGpuDeviceParamsWithContext ¶ added in v2.12.0
func NewRemoveVMGpuDeviceParamsWithContext(ctx context.Context) *RemoveVMGpuDeviceParams
NewRemoveVMGpuDeviceParamsWithContext creates a new RemoveVMGpuDeviceParams object with the ability to set a context for a request.
func NewRemoveVMGpuDeviceParamsWithHTTPClient ¶ added in v2.12.0
func NewRemoveVMGpuDeviceParamsWithHTTPClient(client *http.Client) *RemoveVMGpuDeviceParams
NewRemoveVMGpuDeviceParamsWithHTTPClient creates a new RemoveVMGpuDeviceParams object with the ability to set a custom HTTPClient for a request.
func NewRemoveVMGpuDeviceParamsWithTimeout ¶ added in v2.12.0
func NewRemoveVMGpuDeviceParamsWithTimeout(timeout time.Duration) *RemoveVMGpuDeviceParams
NewRemoveVMGpuDeviceParamsWithTimeout creates a new RemoveVMGpuDeviceParams object with the ability to set a timeout on a request.
func (*RemoveVMGpuDeviceParams) SetContentLanguage ¶ added in v2.12.0
func (o *RemoveVMGpuDeviceParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the remove Vm gpu device params
func (*RemoveVMGpuDeviceParams) SetContext ¶ added in v2.12.0
func (o *RemoveVMGpuDeviceParams) SetContext(ctx context.Context)
SetContext adds the context to the remove Vm gpu device params
func (*RemoveVMGpuDeviceParams) SetDefaults ¶ added in v2.12.0
func (o *RemoveVMGpuDeviceParams) SetDefaults()
SetDefaults hydrates default values in the remove Vm gpu device params (not the query body).
All values with no default are reset to their zero value.
func (*RemoveVMGpuDeviceParams) SetHTTPClient ¶ added in v2.12.0
func (o *RemoveVMGpuDeviceParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the remove Vm gpu device params
func (*RemoveVMGpuDeviceParams) SetRequestBody ¶ added in v2.12.0
func (o *RemoveVMGpuDeviceParams) SetRequestBody(requestBody *models.VMRemoveGpuDeviceParams)
SetRequestBody adds the requestBody to the remove Vm gpu device params
func (*RemoveVMGpuDeviceParams) SetTimeout ¶ added in v2.12.0
func (o *RemoveVMGpuDeviceParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the remove Vm gpu device params
func (*RemoveVMGpuDeviceParams) WithContentLanguage ¶ added in v2.12.0
func (o *RemoveVMGpuDeviceParams) WithContentLanguage(contentLanguage *string) *RemoveVMGpuDeviceParams
WithContentLanguage adds the contentLanguage to the remove Vm gpu device params
func (*RemoveVMGpuDeviceParams) WithContext ¶ added in v2.12.0
func (o *RemoveVMGpuDeviceParams) WithContext(ctx context.Context) *RemoveVMGpuDeviceParams
WithContext adds the context to the remove Vm gpu device params
func (*RemoveVMGpuDeviceParams) WithDefaults ¶ added in v2.12.0
func (o *RemoveVMGpuDeviceParams) WithDefaults() *RemoveVMGpuDeviceParams
WithDefaults hydrates default values in the remove Vm gpu device params (not the query body).
All values with no default are reset to their zero value.
func (*RemoveVMGpuDeviceParams) WithHTTPClient ¶ added in v2.12.0
func (o *RemoveVMGpuDeviceParams) WithHTTPClient(client *http.Client) *RemoveVMGpuDeviceParams
WithHTTPClient adds the HTTPClient to the remove Vm gpu device params
func (*RemoveVMGpuDeviceParams) WithRequestBody ¶ added in v2.12.0
func (o *RemoveVMGpuDeviceParams) WithRequestBody(requestBody *models.VMRemoveGpuDeviceParams) *RemoveVMGpuDeviceParams
WithRequestBody adds the requestBody to the remove Vm gpu device params
func (*RemoveVMGpuDeviceParams) WithTimeout ¶ added in v2.12.0
func (o *RemoveVMGpuDeviceParams) WithTimeout(timeout time.Duration) *RemoveVMGpuDeviceParams
WithTimeout adds the timeout to the remove Vm gpu device params
func (*RemoveVMGpuDeviceParams) WriteToRequest ¶ added in v2.12.0
func (o *RemoveVMGpuDeviceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RemoveVMGpuDeviceReader ¶ added in v2.12.0
type RemoveVMGpuDeviceReader struct {
// contains filtered or unexported fields
}
RemoveVMGpuDeviceReader is a Reader for the RemoveVMGpuDevice structure.
func (*RemoveVMGpuDeviceReader) ReadResponse ¶ added in v2.12.0
func (o *RemoveVMGpuDeviceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RemoveVMNicBadRequest ¶
RemoveVMNicBadRequest describes a response with status code 400, with default header values.
Bad request
func NewRemoveVMNicBadRequest ¶
func NewRemoveVMNicBadRequest() *RemoveVMNicBadRequest
NewRemoveVMNicBadRequest creates a RemoveVMNicBadRequest with default headers values
func (*RemoveVMNicBadRequest) Error ¶
func (o *RemoveVMNicBadRequest) Error() string
func (*RemoveVMNicBadRequest) GetPayload ¶
func (o *RemoveVMNicBadRequest) GetPayload() *models.ErrorBody
type RemoveVMNicByWhereBadRequest ¶ added in v2.12.0
RemoveVMNicByWhereBadRequest describes a response with status code 400, with default header values.
Bad request
func NewRemoveVMNicByWhereBadRequest ¶ added in v2.12.0
func NewRemoveVMNicByWhereBadRequest() *RemoveVMNicByWhereBadRequest
NewRemoveVMNicByWhereBadRequest creates a RemoveVMNicByWhereBadRequest with default headers values
func (*RemoveVMNicByWhereBadRequest) Error ¶ added in v2.12.0
func (o *RemoveVMNicByWhereBadRequest) Error() string
func (*RemoveVMNicByWhereBadRequest) GetPayload ¶ added in v2.12.0
func (o *RemoveVMNicByWhereBadRequest) GetPayload() *models.ErrorBody
type RemoveVMNicByWhereInternalServerError ¶ added in v2.12.0
type RemoveVMNicByWhereInternalServerError struct { XTowerRequestID string Payload *models.ErrorBody }
RemoveVMNicByWhereInternalServerError describes a response with status code 500, with default header values.
Server error
func NewRemoveVMNicByWhereInternalServerError ¶ added in v2.12.0
func NewRemoveVMNicByWhereInternalServerError() *RemoveVMNicByWhereInternalServerError
NewRemoveVMNicByWhereInternalServerError creates a RemoveVMNicByWhereInternalServerError with default headers values
func (*RemoveVMNicByWhereInternalServerError) Error ¶ added in v2.12.0
func (o *RemoveVMNicByWhereInternalServerError) Error() string
func (*RemoveVMNicByWhereInternalServerError) GetPayload ¶ added in v2.12.0
func (o *RemoveVMNicByWhereInternalServerError) GetPayload() *models.ErrorBody
type RemoveVMNicByWhereNotFound ¶ added in v2.12.0
RemoveVMNicByWhereNotFound describes a response with status code 404, with default header values.
Not found
func NewRemoveVMNicByWhereNotFound ¶ added in v2.12.0
func NewRemoveVMNicByWhereNotFound() *RemoveVMNicByWhereNotFound
NewRemoveVMNicByWhereNotFound creates a RemoveVMNicByWhereNotFound with default headers values
func (*RemoveVMNicByWhereNotFound) Error ¶ added in v2.12.0
func (o *RemoveVMNicByWhereNotFound) Error() string
func (*RemoveVMNicByWhereNotFound) GetPayload ¶ added in v2.12.0
func (o *RemoveVMNicByWhereNotFound) GetPayload() *models.ErrorBody
type RemoveVMNicByWhereOK ¶ added in v2.12.0
type RemoveVMNicByWhereOK struct { XTowerRequestID string Payload []*models.WithTaskVM }
RemoveVMNicByWhereOK describes a response with status code 200, with default header values.
RemoveVMNicByWhereOK remove Vm nic by where o k
func NewRemoveVMNicByWhereOK ¶ added in v2.12.0
func NewRemoveVMNicByWhereOK() *RemoveVMNicByWhereOK
NewRemoveVMNicByWhereOK creates a RemoveVMNicByWhereOK with default headers values
func (*RemoveVMNicByWhereOK) Error ¶ added in v2.12.0
func (o *RemoveVMNicByWhereOK) Error() string
func (*RemoveVMNicByWhereOK) GetPayload ¶ added in v2.12.0
func (o *RemoveVMNicByWhereOK) GetPayload() []*models.WithTaskVM
type RemoveVMNicByWhereParams ¶ added in v2.12.0
type RemoveVMNicByWhereParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.VMRemoveNicByWhereParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RemoveVMNicByWhereParams contains all the parameters to send to the API endpoint
for the remove Vm nic by where operation. Typically these are written to a http.Request.
func NewRemoveVMNicByWhereParams ¶ added in v2.12.0
func NewRemoveVMNicByWhereParams() *RemoveVMNicByWhereParams
NewRemoveVMNicByWhereParams creates a new RemoveVMNicByWhereParams 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 NewRemoveVMNicByWhereParamsWithContext ¶ added in v2.12.0
func NewRemoveVMNicByWhereParamsWithContext(ctx context.Context) *RemoveVMNicByWhereParams
NewRemoveVMNicByWhereParamsWithContext creates a new RemoveVMNicByWhereParams object with the ability to set a context for a request.
func NewRemoveVMNicByWhereParamsWithHTTPClient ¶ added in v2.12.0
func NewRemoveVMNicByWhereParamsWithHTTPClient(client *http.Client) *RemoveVMNicByWhereParams
NewRemoveVMNicByWhereParamsWithHTTPClient creates a new RemoveVMNicByWhereParams object with the ability to set a custom HTTPClient for a request.
func NewRemoveVMNicByWhereParamsWithTimeout ¶ added in v2.12.0
func NewRemoveVMNicByWhereParamsWithTimeout(timeout time.Duration) *RemoveVMNicByWhereParams
NewRemoveVMNicByWhereParamsWithTimeout creates a new RemoveVMNicByWhereParams object with the ability to set a timeout on a request.
func (*RemoveVMNicByWhereParams) SetContentLanguage ¶ added in v2.12.0
func (o *RemoveVMNicByWhereParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the remove Vm nic by where params
func (*RemoveVMNicByWhereParams) SetContext ¶ added in v2.12.0
func (o *RemoveVMNicByWhereParams) SetContext(ctx context.Context)
SetContext adds the context to the remove Vm nic by where params
func (*RemoveVMNicByWhereParams) SetDefaults ¶ added in v2.12.0
func (o *RemoveVMNicByWhereParams) SetDefaults()
SetDefaults hydrates default values in the remove Vm nic by where params (not the query body).
All values with no default are reset to their zero value.
func (*RemoveVMNicByWhereParams) SetHTTPClient ¶ added in v2.12.0
func (o *RemoveVMNicByWhereParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the remove Vm nic by where params
func (*RemoveVMNicByWhereParams) SetRequestBody ¶ added in v2.12.0
func (o *RemoveVMNicByWhereParams) SetRequestBody(requestBody *models.VMRemoveNicByWhereParams)
SetRequestBody adds the requestBody to the remove Vm nic by where params
func (*RemoveVMNicByWhereParams) SetTimeout ¶ added in v2.12.0
func (o *RemoveVMNicByWhereParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the remove Vm nic by where params
func (*RemoveVMNicByWhereParams) WithContentLanguage ¶ added in v2.12.0
func (o *RemoveVMNicByWhereParams) WithContentLanguage(contentLanguage *string) *RemoveVMNicByWhereParams
WithContentLanguage adds the contentLanguage to the remove Vm nic by where params
func (*RemoveVMNicByWhereParams) WithContext ¶ added in v2.12.0
func (o *RemoveVMNicByWhereParams) WithContext(ctx context.Context) *RemoveVMNicByWhereParams
WithContext adds the context to the remove Vm nic by where params
func (*RemoveVMNicByWhereParams) WithDefaults ¶ added in v2.12.0
func (o *RemoveVMNicByWhereParams) WithDefaults() *RemoveVMNicByWhereParams
WithDefaults hydrates default values in the remove Vm nic by where params (not the query body).
All values with no default are reset to their zero value.
func (*RemoveVMNicByWhereParams) WithHTTPClient ¶ added in v2.12.0
func (o *RemoveVMNicByWhereParams) WithHTTPClient(client *http.Client) *RemoveVMNicByWhereParams
WithHTTPClient adds the HTTPClient to the remove Vm nic by where params
func (*RemoveVMNicByWhereParams) WithRequestBody ¶ added in v2.12.0
func (o *RemoveVMNicByWhereParams) WithRequestBody(requestBody *models.VMRemoveNicByWhereParams) *RemoveVMNicByWhereParams
WithRequestBody adds the requestBody to the remove Vm nic by where params
func (*RemoveVMNicByWhereParams) WithTimeout ¶ added in v2.12.0
func (o *RemoveVMNicByWhereParams) WithTimeout(timeout time.Duration) *RemoveVMNicByWhereParams
WithTimeout adds the timeout to the remove Vm nic by where params
func (*RemoveVMNicByWhereParams) WriteToRequest ¶ added in v2.12.0
func (o *RemoveVMNicByWhereParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RemoveVMNicByWhereReader ¶ added in v2.12.0
type RemoveVMNicByWhereReader struct {
// contains filtered or unexported fields
}
RemoveVMNicByWhereReader is a Reader for the RemoveVMNicByWhere structure.
func (*RemoveVMNicByWhereReader) ReadResponse ¶ added in v2.12.0
func (o *RemoveVMNicByWhereReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RemoveVMNicInternalServerError ¶
RemoveVMNicInternalServerError describes a response with status code 500, with default header values.
Server error
func NewRemoveVMNicInternalServerError ¶
func NewRemoveVMNicInternalServerError() *RemoveVMNicInternalServerError
NewRemoveVMNicInternalServerError creates a RemoveVMNicInternalServerError with default headers values
func (*RemoveVMNicInternalServerError) Error ¶
func (o *RemoveVMNicInternalServerError) Error() string
func (*RemoveVMNicInternalServerError) GetPayload ¶
func (o *RemoveVMNicInternalServerError) GetPayload() *models.ErrorBody
type RemoveVMNicNotFound ¶
RemoveVMNicNotFound describes a response with status code 404, with default header values.
Not found
func NewRemoveVMNicNotFound ¶
func NewRemoveVMNicNotFound() *RemoveVMNicNotFound
NewRemoveVMNicNotFound creates a RemoveVMNicNotFound with default headers values
func (*RemoveVMNicNotFound) Error ¶
func (o *RemoveVMNicNotFound) Error() string
func (*RemoveVMNicNotFound) GetPayload ¶
func (o *RemoveVMNicNotFound) GetPayload() *models.ErrorBody
type RemoveVMNicOK ¶
type RemoveVMNicOK struct { XTowerRequestID string Payload []*models.WithTaskVM }
RemoveVMNicOK describes a response with status code 200, with default header values.
RemoveVMNicOK remove Vm nic o k
func NewRemoveVMNicOK ¶
func NewRemoveVMNicOK() *RemoveVMNicOK
NewRemoveVMNicOK creates a RemoveVMNicOK with default headers values
func (*RemoveVMNicOK) Error ¶
func (o *RemoveVMNicOK) Error() string
func (*RemoveVMNicOK) GetPayload ¶
func (o *RemoveVMNicOK) GetPayload() []*models.WithTaskVM
type RemoveVMNicParams ¶
type RemoveVMNicParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.VMRemoveNicParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RemoveVMNicParams contains all the parameters to send to the API endpoint
for the remove Vm nic operation. Typically these are written to a http.Request.
func NewRemoveVMNicParams ¶
func NewRemoveVMNicParams() *RemoveVMNicParams
NewRemoveVMNicParams creates a new RemoveVMNicParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewRemoveVMNicParamsWithContext ¶
func NewRemoveVMNicParamsWithContext(ctx context.Context) *RemoveVMNicParams
NewRemoveVMNicParamsWithContext creates a new RemoveVMNicParams object with the ability to set a context for a request.
func NewRemoveVMNicParamsWithHTTPClient ¶
func NewRemoveVMNicParamsWithHTTPClient(client *http.Client) *RemoveVMNicParams
NewRemoveVMNicParamsWithHTTPClient creates a new RemoveVMNicParams object with the ability to set a custom HTTPClient for a request.
func NewRemoveVMNicParamsWithTimeout ¶
func NewRemoveVMNicParamsWithTimeout(timeout time.Duration) *RemoveVMNicParams
NewRemoveVMNicParamsWithTimeout creates a new RemoveVMNicParams object with the ability to set a timeout on a request.
func (*RemoveVMNicParams) SetContentLanguage ¶
func (o *RemoveVMNicParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the remove Vm nic params
func (*RemoveVMNicParams) SetContext ¶
func (o *RemoveVMNicParams) SetContext(ctx context.Context)
SetContext adds the context to the remove Vm nic params
func (*RemoveVMNicParams) SetDefaults ¶
func (o *RemoveVMNicParams) SetDefaults()
SetDefaults hydrates default values in the remove Vm nic params (not the query body).
All values with no default are reset to their zero value.
func (*RemoveVMNicParams) SetHTTPClient ¶
func (o *RemoveVMNicParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the remove Vm nic params
func (*RemoveVMNicParams) SetRequestBody ¶
func (o *RemoveVMNicParams) SetRequestBody(requestBody *models.VMRemoveNicParams)
SetRequestBody adds the requestBody to the remove Vm nic params
func (*RemoveVMNicParams) SetTimeout ¶
func (o *RemoveVMNicParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the remove Vm nic params
func (*RemoveVMNicParams) WithContentLanguage ¶
func (o *RemoveVMNicParams) WithContentLanguage(contentLanguage *string) *RemoveVMNicParams
WithContentLanguage adds the contentLanguage to the remove Vm nic params
func (*RemoveVMNicParams) WithContext ¶
func (o *RemoveVMNicParams) WithContext(ctx context.Context) *RemoveVMNicParams
WithContext adds the context to the remove Vm nic params
func (*RemoveVMNicParams) WithDefaults ¶
func (o *RemoveVMNicParams) WithDefaults() *RemoveVMNicParams
WithDefaults hydrates default values in the remove Vm nic params (not the query body).
All values with no default are reset to their zero value.
func (*RemoveVMNicParams) WithHTTPClient ¶
func (o *RemoveVMNicParams) WithHTTPClient(client *http.Client) *RemoveVMNicParams
WithHTTPClient adds the HTTPClient to the remove Vm nic params
func (*RemoveVMNicParams) WithRequestBody ¶
func (o *RemoveVMNicParams) WithRequestBody(requestBody *models.VMRemoveNicParams) *RemoveVMNicParams
WithRequestBody adds the requestBody to the remove Vm nic params
func (*RemoveVMNicParams) WithTimeout ¶
func (o *RemoveVMNicParams) WithTimeout(timeout time.Duration) *RemoveVMNicParams
WithTimeout adds the timeout to the remove Vm nic params
func (*RemoveVMNicParams) WriteToRequest ¶
func (o *RemoveVMNicParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RemoveVMNicReader ¶
type RemoveVMNicReader struct {
// contains filtered or unexported fields
}
RemoveVMNicReader is a Reader for the RemoveVMNic structure.
func (*RemoveVMNicReader) ReadResponse ¶
func (o *RemoveVMNicReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RemoveVMPciNicBadRequest ¶ added in v2.12.0
RemoveVMPciNicBadRequest describes a response with status code 400, with default header values.
Bad request
func NewRemoveVMPciNicBadRequest ¶ added in v2.12.0
func NewRemoveVMPciNicBadRequest() *RemoveVMPciNicBadRequest
NewRemoveVMPciNicBadRequest creates a RemoveVMPciNicBadRequest with default headers values
func (*RemoveVMPciNicBadRequest) Error ¶ added in v2.12.0
func (o *RemoveVMPciNicBadRequest) Error() string
func (*RemoveVMPciNicBadRequest) GetPayload ¶ added in v2.12.0
func (o *RemoveVMPciNicBadRequest) GetPayload() *models.ErrorBody
type RemoveVMPciNicInternalServerError ¶ added in v2.12.0
RemoveVMPciNicInternalServerError describes a response with status code 500, with default header values.
Server error
func NewRemoveVMPciNicInternalServerError ¶ added in v2.12.0
func NewRemoveVMPciNicInternalServerError() *RemoveVMPciNicInternalServerError
NewRemoveVMPciNicInternalServerError creates a RemoveVMPciNicInternalServerError with default headers values
func (*RemoveVMPciNicInternalServerError) Error ¶ added in v2.12.0
func (o *RemoveVMPciNicInternalServerError) Error() string
func (*RemoveVMPciNicInternalServerError) GetPayload ¶ added in v2.12.0
func (o *RemoveVMPciNicInternalServerError) GetPayload() *models.ErrorBody
type RemoveVMPciNicNotFound ¶ added in v2.12.0
RemoveVMPciNicNotFound describes a response with status code 404, with default header values.
Not found
func NewRemoveVMPciNicNotFound ¶ added in v2.12.0
func NewRemoveVMPciNicNotFound() *RemoveVMPciNicNotFound
NewRemoveVMPciNicNotFound creates a RemoveVMPciNicNotFound with default headers values
func (*RemoveVMPciNicNotFound) Error ¶ added in v2.12.0
func (o *RemoveVMPciNicNotFound) Error() string
func (*RemoveVMPciNicNotFound) GetPayload ¶ added in v2.12.0
func (o *RemoveVMPciNicNotFound) GetPayload() *models.ErrorBody
type RemoveVMPciNicNotModified ¶ added in v2.12.0
type RemoveVMPciNicNotModified struct { }
RemoveVMPciNicNotModified describes a response with status code 304, with default header values.
Not modified
func NewRemoveVMPciNicNotModified ¶ added in v2.12.0
func NewRemoveVMPciNicNotModified() *RemoveVMPciNicNotModified
NewRemoveVMPciNicNotModified creates a RemoveVMPciNicNotModified with default headers values
func (*RemoveVMPciNicNotModified) Error ¶ added in v2.12.0
func (o *RemoveVMPciNicNotModified) Error() string
type RemoveVMPciNicOK ¶ added in v2.12.0
type RemoveVMPciNicOK struct { XTowerRequestID string Payload []*models.WithTaskVM }
RemoveVMPciNicOK describes a response with status code 200, with default header values.
RemoveVMPciNicOK remove Vm pci nic o k
func NewRemoveVMPciNicOK ¶ added in v2.12.0
func NewRemoveVMPciNicOK() *RemoveVMPciNicOK
NewRemoveVMPciNicOK creates a RemoveVMPciNicOK with default headers values
func (*RemoveVMPciNicOK) Error ¶ added in v2.12.0
func (o *RemoveVMPciNicOK) Error() string
func (*RemoveVMPciNicOK) GetPayload ¶ added in v2.12.0
func (o *RemoveVMPciNicOK) GetPayload() []*models.WithTaskVM
type RemoveVMPciNicParams ¶ added in v2.12.0
type RemoveVMPciNicParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.VMOperatePciNicParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RemoveVMPciNicParams contains all the parameters to send to the API endpoint
for the remove Vm pci nic operation. Typically these are written to a http.Request.
func NewRemoveVMPciNicParams ¶ added in v2.12.0
func NewRemoveVMPciNicParams() *RemoveVMPciNicParams
NewRemoveVMPciNicParams creates a new RemoveVMPciNicParams 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 NewRemoveVMPciNicParamsWithContext ¶ added in v2.12.0
func NewRemoveVMPciNicParamsWithContext(ctx context.Context) *RemoveVMPciNicParams
NewRemoveVMPciNicParamsWithContext creates a new RemoveVMPciNicParams object with the ability to set a context for a request.
func NewRemoveVMPciNicParamsWithHTTPClient ¶ added in v2.12.0
func NewRemoveVMPciNicParamsWithHTTPClient(client *http.Client) *RemoveVMPciNicParams
NewRemoveVMPciNicParamsWithHTTPClient creates a new RemoveVMPciNicParams object with the ability to set a custom HTTPClient for a request.
func NewRemoveVMPciNicParamsWithTimeout ¶ added in v2.12.0
func NewRemoveVMPciNicParamsWithTimeout(timeout time.Duration) *RemoveVMPciNicParams
NewRemoveVMPciNicParamsWithTimeout creates a new RemoveVMPciNicParams object with the ability to set a timeout on a request.
func (*RemoveVMPciNicParams) SetContentLanguage ¶ added in v2.12.0
func (o *RemoveVMPciNicParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the remove Vm pci nic params
func (*RemoveVMPciNicParams) SetContext ¶ added in v2.12.0
func (o *RemoveVMPciNicParams) SetContext(ctx context.Context)
SetContext adds the context to the remove Vm pci nic params
func (*RemoveVMPciNicParams) SetDefaults ¶ added in v2.12.0
func (o *RemoveVMPciNicParams) SetDefaults()
SetDefaults hydrates default values in the remove Vm pci nic params (not the query body).
All values with no default are reset to their zero value.
func (*RemoveVMPciNicParams) SetHTTPClient ¶ added in v2.12.0
func (o *RemoveVMPciNicParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the remove Vm pci nic params
func (*RemoveVMPciNicParams) SetRequestBody ¶ added in v2.12.0
func (o *RemoveVMPciNicParams) SetRequestBody(requestBody *models.VMOperatePciNicParams)
SetRequestBody adds the requestBody to the remove Vm pci nic params
func (*RemoveVMPciNicParams) SetTimeout ¶ added in v2.12.0
func (o *RemoveVMPciNicParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the remove Vm pci nic params
func (*RemoveVMPciNicParams) WithContentLanguage ¶ added in v2.12.0
func (o *RemoveVMPciNicParams) WithContentLanguage(contentLanguage *string) *RemoveVMPciNicParams
WithContentLanguage adds the contentLanguage to the remove Vm pci nic params
func (*RemoveVMPciNicParams) WithContext ¶ added in v2.12.0
func (o *RemoveVMPciNicParams) WithContext(ctx context.Context) *RemoveVMPciNicParams
WithContext adds the context to the remove Vm pci nic params
func (*RemoveVMPciNicParams) WithDefaults ¶ added in v2.12.0
func (o *RemoveVMPciNicParams) WithDefaults() *RemoveVMPciNicParams
WithDefaults hydrates default values in the remove Vm pci nic params (not the query body).
All values with no default are reset to their zero value.
func (*RemoveVMPciNicParams) WithHTTPClient ¶ added in v2.12.0
func (o *RemoveVMPciNicParams) WithHTTPClient(client *http.Client) *RemoveVMPciNicParams
WithHTTPClient adds the HTTPClient to the remove Vm pci nic params
func (*RemoveVMPciNicParams) WithRequestBody ¶ added in v2.12.0
func (o *RemoveVMPciNicParams) WithRequestBody(requestBody *models.VMOperatePciNicParams) *RemoveVMPciNicParams
WithRequestBody adds the requestBody to the remove Vm pci nic params
func (*RemoveVMPciNicParams) WithTimeout ¶ added in v2.12.0
func (o *RemoveVMPciNicParams) WithTimeout(timeout time.Duration) *RemoveVMPciNicParams
WithTimeout adds the timeout to the remove Vm pci nic params
func (*RemoveVMPciNicParams) WriteToRequest ¶ added in v2.12.0
func (o *RemoveVMPciNicParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RemoveVMPciNicReader ¶ added in v2.12.0
type RemoveVMPciNicReader struct {
// contains filtered or unexported fields
}
RemoveVMPciNicReader is a Reader for the RemoveVMPciNic structure.
func (*RemoveVMPciNicReader) ReadResponse ¶ added in v2.12.0
func (o *RemoveVMPciNicReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RemoveVMToFolderBadRequest ¶
RemoveVMToFolderBadRequest describes a response with status code 400, with default header values.
Bad request
func NewRemoveVMToFolderBadRequest ¶
func NewRemoveVMToFolderBadRequest() *RemoveVMToFolderBadRequest
NewRemoveVMToFolderBadRequest creates a RemoveVMToFolderBadRequest with default headers values
func (*RemoveVMToFolderBadRequest) Error ¶
func (o *RemoveVMToFolderBadRequest) Error() string
func (*RemoveVMToFolderBadRequest) GetPayload ¶
func (o *RemoveVMToFolderBadRequest) GetPayload() *models.ErrorBody
type RemoveVMToFolderInternalServerError ¶
type RemoveVMToFolderInternalServerError struct { XTowerRequestID string Payload *models.ErrorBody }
RemoveVMToFolderInternalServerError describes a response with status code 500, with default header values.
Server error
func NewRemoveVMToFolderInternalServerError ¶
func NewRemoveVMToFolderInternalServerError() *RemoveVMToFolderInternalServerError
NewRemoveVMToFolderInternalServerError creates a RemoveVMToFolderInternalServerError with default headers values
func (*RemoveVMToFolderInternalServerError) Error ¶
func (o *RemoveVMToFolderInternalServerError) Error() string
func (*RemoveVMToFolderInternalServerError) GetPayload ¶
func (o *RemoveVMToFolderInternalServerError) GetPayload() *models.ErrorBody
type RemoveVMToFolderNotFound ¶
RemoveVMToFolderNotFound describes a response with status code 404, with default header values.
Not found
func NewRemoveVMToFolderNotFound ¶
func NewRemoveVMToFolderNotFound() *RemoveVMToFolderNotFound
NewRemoveVMToFolderNotFound creates a RemoveVMToFolderNotFound with default headers values
func (*RemoveVMToFolderNotFound) Error ¶
func (o *RemoveVMToFolderNotFound) Error() string
func (*RemoveVMToFolderNotFound) GetPayload ¶
func (o *RemoveVMToFolderNotFound) GetPayload() *models.ErrorBody
type RemoveVMToFolderOK ¶
type RemoveVMToFolderOK struct { XTowerRequestID string Payload []*models.WithTaskVM }
RemoveVMToFolderOK describes a response with status code 200, with default header values.
RemoveVMToFolderOK remove Vm to folder o k
func NewRemoveVMToFolderOK ¶
func NewRemoveVMToFolderOK() *RemoveVMToFolderOK
NewRemoveVMToFolderOK creates a RemoveVMToFolderOK with default headers values
func (*RemoveVMToFolderOK) Error ¶
func (o *RemoveVMToFolderOK) Error() string
func (*RemoveVMToFolderOK) GetPayload ¶
func (o *RemoveVMToFolderOK) GetPayload() []*models.WithTaskVM
type RemoveVMToFolderParams ¶
type RemoveVMToFolderParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.VMOperateParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RemoveVMToFolderParams contains all the parameters to send to the API endpoint
for the remove Vm to folder operation. Typically these are written to a http.Request.
func NewRemoveVMToFolderParams ¶
func NewRemoveVMToFolderParams() *RemoveVMToFolderParams
NewRemoveVMToFolderParams creates a new RemoveVMToFolderParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewRemoveVMToFolderParamsWithContext ¶
func NewRemoveVMToFolderParamsWithContext(ctx context.Context) *RemoveVMToFolderParams
NewRemoveVMToFolderParamsWithContext creates a new RemoveVMToFolderParams object with the ability to set a context for a request.
func NewRemoveVMToFolderParamsWithHTTPClient ¶
func NewRemoveVMToFolderParamsWithHTTPClient(client *http.Client) *RemoveVMToFolderParams
NewRemoveVMToFolderParamsWithHTTPClient creates a new RemoveVMToFolderParams object with the ability to set a custom HTTPClient for a request.
func NewRemoveVMToFolderParamsWithTimeout ¶
func NewRemoveVMToFolderParamsWithTimeout(timeout time.Duration) *RemoveVMToFolderParams
NewRemoveVMToFolderParamsWithTimeout creates a new RemoveVMToFolderParams object with the ability to set a timeout on a request.
func (*RemoveVMToFolderParams) SetContentLanguage ¶
func (o *RemoveVMToFolderParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the remove Vm to folder params
func (*RemoveVMToFolderParams) SetContext ¶
func (o *RemoveVMToFolderParams) SetContext(ctx context.Context)
SetContext adds the context to the remove Vm to folder params
func (*RemoveVMToFolderParams) SetDefaults ¶
func (o *RemoveVMToFolderParams) SetDefaults()
SetDefaults hydrates default values in the remove Vm to folder params (not the query body).
All values with no default are reset to their zero value.
func (*RemoveVMToFolderParams) SetHTTPClient ¶
func (o *RemoveVMToFolderParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the remove Vm to folder params
func (*RemoveVMToFolderParams) SetRequestBody ¶
func (o *RemoveVMToFolderParams) SetRequestBody(requestBody *models.VMOperateParams)
SetRequestBody adds the requestBody to the remove Vm to folder params
func (*RemoveVMToFolderParams) SetTimeout ¶
func (o *RemoveVMToFolderParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the remove Vm to folder params
func (*RemoveVMToFolderParams) WithContentLanguage ¶
func (o *RemoveVMToFolderParams) WithContentLanguage(contentLanguage *string) *RemoveVMToFolderParams
WithContentLanguage adds the contentLanguage to the remove Vm to folder params
func (*RemoveVMToFolderParams) WithContext ¶
func (o *RemoveVMToFolderParams) WithContext(ctx context.Context) *RemoveVMToFolderParams
WithContext adds the context to the remove Vm to folder params
func (*RemoveVMToFolderParams) WithDefaults ¶
func (o *RemoveVMToFolderParams) WithDefaults() *RemoveVMToFolderParams
WithDefaults hydrates default values in the remove Vm to folder params (not the query body).
All values with no default are reset to their zero value.
func (*RemoveVMToFolderParams) WithHTTPClient ¶
func (o *RemoveVMToFolderParams) WithHTTPClient(client *http.Client) *RemoveVMToFolderParams
WithHTTPClient adds the HTTPClient to the remove Vm to folder params
func (*RemoveVMToFolderParams) WithRequestBody ¶
func (o *RemoveVMToFolderParams) WithRequestBody(requestBody *models.VMOperateParams) *RemoveVMToFolderParams
WithRequestBody adds the requestBody to the remove Vm to folder params
func (*RemoveVMToFolderParams) WithTimeout ¶
func (o *RemoveVMToFolderParams) WithTimeout(timeout time.Duration) *RemoveVMToFolderParams
WithTimeout adds the timeout to the remove Vm to folder params
func (*RemoveVMToFolderParams) WriteToRequest ¶
func (o *RemoveVMToFolderParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RemoveVMToFolderReader ¶
type RemoveVMToFolderReader struct {
// contains filtered or unexported fields
}
RemoveVMToFolderReader is a Reader for the RemoveVMToFolder structure.
func (*RemoveVMToFolderReader) ReadResponse ¶
func (o *RemoveVMToFolderReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ResetVMGuestOsPasswordBadRequest ¶ added in v2.1.0
ResetVMGuestOsPasswordBadRequest describes a response with status code 400, with default header values.
Bad request
func NewResetVMGuestOsPasswordBadRequest ¶ added in v2.1.0
func NewResetVMGuestOsPasswordBadRequest() *ResetVMGuestOsPasswordBadRequest
NewResetVMGuestOsPasswordBadRequest creates a ResetVMGuestOsPasswordBadRequest with default headers values
func (*ResetVMGuestOsPasswordBadRequest) Error ¶ added in v2.1.0
func (o *ResetVMGuestOsPasswordBadRequest) Error() string
func (*ResetVMGuestOsPasswordBadRequest) GetPayload ¶ added in v2.1.0
func (o *ResetVMGuestOsPasswordBadRequest) GetPayload() *models.ErrorBody
type ResetVMGuestOsPasswordInternalServerError ¶ added in v2.1.0
type ResetVMGuestOsPasswordInternalServerError struct { XTowerRequestID string Payload *models.ErrorBody }
ResetVMGuestOsPasswordInternalServerError describes a response with status code 500, with default header values.
Server error
func NewResetVMGuestOsPasswordInternalServerError ¶ added in v2.1.0
func NewResetVMGuestOsPasswordInternalServerError() *ResetVMGuestOsPasswordInternalServerError
NewResetVMGuestOsPasswordInternalServerError creates a ResetVMGuestOsPasswordInternalServerError with default headers values
func (*ResetVMGuestOsPasswordInternalServerError) Error ¶ added in v2.1.0
func (o *ResetVMGuestOsPasswordInternalServerError) Error() string
func (*ResetVMGuestOsPasswordInternalServerError) GetPayload ¶ added in v2.1.0
func (o *ResetVMGuestOsPasswordInternalServerError) GetPayload() *models.ErrorBody
type ResetVMGuestOsPasswordNotFound ¶ added in v2.1.0
ResetVMGuestOsPasswordNotFound describes a response with status code 404, with default header values.
Not found
func NewResetVMGuestOsPasswordNotFound ¶ added in v2.1.0
func NewResetVMGuestOsPasswordNotFound() *ResetVMGuestOsPasswordNotFound
NewResetVMGuestOsPasswordNotFound creates a ResetVMGuestOsPasswordNotFound with default headers values
func (*ResetVMGuestOsPasswordNotFound) Error ¶ added in v2.1.0
func (o *ResetVMGuestOsPasswordNotFound) Error() string
func (*ResetVMGuestOsPasswordNotFound) GetPayload ¶ added in v2.1.0
func (o *ResetVMGuestOsPasswordNotFound) GetPayload() *models.ErrorBody
type ResetVMGuestOsPasswordNotModified ¶ added in v2.1.0
type ResetVMGuestOsPasswordNotModified struct { }
ResetVMGuestOsPasswordNotModified describes a response with status code 304, with default header values.
Not modified
func NewResetVMGuestOsPasswordNotModified ¶ added in v2.1.0
func NewResetVMGuestOsPasswordNotModified() *ResetVMGuestOsPasswordNotModified
NewResetVMGuestOsPasswordNotModified creates a ResetVMGuestOsPasswordNotModified with default headers values
func (*ResetVMGuestOsPasswordNotModified) Error ¶ added in v2.1.0
func (o *ResetVMGuestOsPasswordNotModified) Error() string
type ResetVMGuestOsPasswordOK ¶ added in v2.1.0
type ResetVMGuestOsPasswordOK struct { XTowerRequestID string Payload []*models.WithTaskVM }
ResetVMGuestOsPasswordOK describes a response with status code 200, with default header values.
ResetVMGuestOsPasswordOK reset Vm guest os password o k
func NewResetVMGuestOsPasswordOK ¶ added in v2.1.0
func NewResetVMGuestOsPasswordOK() *ResetVMGuestOsPasswordOK
NewResetVMGuestOsPasswordOK creates a ResetVMGuestOsPasswordOK with default headers values
func (*ResetVMGuestOsPasswordOK) Error ¶ added in v2.1.0
func (o *ResetVMGuestOsPasswordOK) Error() string
func (*ResetVMGuestOsPasswordOK) GetPayload ¶ added in v2.1.0
func (o *ResetVMGuestOsPasswordOK) GetPayload() []*models.WithTaskVM
type ResetVMGuestOsPasswordParams ¶ added in v2.1.0
type ResetVMGuestOsPasswordParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.VMResetGuestOsPasswordParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ResetVMGuestOsPasswordParams contains all the parameters to send to the API endpoint
for the reset Vm guest os password operation. Typically these are written to a http.Request.
func NewResetVMGuestOsPasswordParams ¶ added in v2.1.0
func NewResetVMGuestOsPasswordParams() *ResetVMGuestOsPasswordParams
NewResetVMGuestOsPasswordParams creates a new ResetVMGuestOsPasswordParams 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 NewResetVMGuestOsPasswordParamsWithContext ¶ added in v2.1.0
func NewResetVMGuestOsPasswordParamsWithContext(ctx context.Context) *ResetVMGuestOsPasswordParams
NewResetVMGuestOsPasswordParamsWithContext creates a new ResetVMGuestOsPasswordParams object with the ability to set a context for a request.
func NewResetVMGuestOsPasswordParamsWithHTTPClient ¶ added in v2.1.0
func NewResetVMGuestOsPasswordParamsWithHTTPClient(client *http.Client) *ResetVMGuestOsPasswordParams
NewResetVMGuestOsPasswordParamsWithHTTPClient creates a new ResetVMGuestOsPasswordParams object with the ability to set a custom HTTPClient for a request.
func NewResetVMGuestOsPasswordParamsWithTimeout ¶ added in v2.1.0
func NewResetVMGuestOsPasswordParamsWithTimeout(timeout time.Duration) *ResetVMGuestOsPasswordParams
NewResetVMGuestOsPasswordParamsWithTimeout creates a new ResetVMGuestOsPasswordParams object with the ability to set a timeout on a request.
func (*ResetVMGuestOsPasswordParams) SetContentLanguage ¶ added in v2.1.0
func (o *ResetVMGuestOsPasswordParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the reset Vm guest os password params
func (*ResetVMGuestOsPasswordParams) SetContext ¶ added in v2.1.0
func (o *ResetVMGuestOsPasswordParams) SetContext(ctx context.Context)
SetContext adds the context to the reset Vm guest os password params
func (*ResetVMGuestOsPasswordParams) SetDefaults ¶ added in v2.1.0
func (o *ResetVMGuestOsPasswordParams) SetDefaults()
SetDefaults hydrates default values in the reset Vm guest os password params (not the query body).
All values with no default are reset to their zero value.
func (*ResetVMGuestOsPasswordParams) SetHTTPClient ¶ added in v2.1.0
func (o *ResetVMGuestOsPasswordParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the reset Vm guest os password params
func (*ResetVMGuestOsPasswordParams) SetRequestBody ¶ added in v2.1.0
func (o *ResetVMGuestOsPasswordParams) SetRequestBody(requestBody *models.VMResetGuestOsPasswordParams)
SetRequestBody adds the requestBody to the reset Vm guest os password params
func (*ResetVMGuestOsPasswordParams) SetTimeout ¶ added in v2.1.0
func (o *ResetVMGuestOsPasswordParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the reset Vm guest os password params
func (*ResetVMGuestOsPasswordParams) WithContentLanguage ¶ added in v2.1.0
func (o *ResetVMGuestOsPasswordParams) WithContentLanguage(contentLanguage *string) *ResetVMGuestOsPasswordParams
WithContentLanguage adds the contentLanguage to the reset Vm guest os password params
func (*ResetVMGuestOsPasswordParams) WithContext ¶ added in v2.1.0
func (o *ResetVMGuestOsPasswordParams) WithContext(ctx context.Context) *ResetVMGuestOsPasswordParams
WithContext adds the context to the reset Vm guest os password params
func (*ResetVMGuestOsPasswordParams) WithDefaults ¶ added in v2.1.0
func (o *ResetVMGuestOsPasswordParams) WithDefaults() *ResetVMGuestOsPasswordParams
WithDefaults hydrates default values in the reset Vm guest os password params (not the query body).
All values with no default are reset to their zero value.
func (*ResetVMGuestOsPasswordParams) WithHTTPClient ¶ added in v2.1.0
func (o *ResetVMGuestOsPasswordParams) WithHTTPClient(client *http.Client) *ResetVMGuestOsPasswordParams
WithHTTPClient adds the HTTPClient to the reset Vm guest os password params
func (*ResetVMGuestOsPasswordParams) WithRequestBody ¶ added in v2.1.0
func (o *ResetVMGuestOsPasswordParams) WithRequestBody(requestBody *models.VMResetGuestOsPasswordParams) *ResetVMGuestOsPasswordParams
WithRequestBody adds the requestBody to the reset Vm guest os password params
func (*ResetVMGuestOsPasswordParams) WithTimeout ¶ added in v2.1.0
func (o *ResetVMGuestOsPasswordParams) WithTimeout(timeout time.Duration) *ResetVMGuestOsPasswordParams
WithTimeout adds the timeout to the reset Vm guest os password params
func (*ResetVMGuestOsPasswordParams) WriteToRequest ¶ added in v2.1.0
func (o *ResetVMGuestOsPasswordParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ResetVMGuestOsPasswordReader ¶ added in v2.1.0
type ResetVMGuestOsPasswordReader struct {
// contains filtered or unexported fields
}
ResetVMGuestOsPasswordReader is a Reader for the ResetVMGuestOsPassword structure.
func (*ResetVMGuestOsPasswordReader) ReadResponse ¶ added in v2.1.0
func (o *ResetVMGuestOsPasswordReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RestartVMBadRequest ¶
RestartVMBadRequest describes a response with status code 400, with default header values.
Bad request
func NewRestartVMBadRequest ¶
func NewRestartVMBadRequest() *RestartVMBadRequest
NewRestartVMBadRequest creates a RestartVMBadRequest with default headers values
func (*RestartVMBadRequest) Error ¶
func (o *RestartVMBadRequest) Error() string
func (*RestartVMBadRequest) GetPayload ¶
func (o *RestartVMBadRequest) GetPayload() *models.ErrorBody
type RestartVMInternalServerError ¶
RestartVMInternalServerError describes a response with status code 500, with default header values.
Server error
func NewRestartVMInternalServerError ¶
func NewRestartVMInternalServerError() *RestartVMInternalServerError
NewRestartVMInternalServerError creates a RestartVMInternalServerError with default headers values
func (*RestartVMInternalServerError) Error ¶
func (o *RestartVMInternalServerError) Error() string
func (*RestartVMInternalServerError) GetPayload ¶
func (o *RestartVMInternalServerError) GetPayload() *models.ErrorBody
type RestartVMNotFound ¶
RestartVMNotFound describes a response with status code 404, with default header values.
Not found
func NewRestartVMNotFound ¶
func NewRestartVMNotFound() *RestartVMNotFound
NewRestartVMNotFound creates a RestartVMNotFound with default headers values
func (*RestartVMNotFound) Error ¶
func (o *RestartVMNotFound) Error() string
func (*RestartVMNotFound) GetPayload ¶
func (o *RestartVMNotFound) GetPayload() *models.ErrorBody
type RestartVMOK ¶
type RestartVMOK struct { XTowerRequestID string Payload []*models.WithTaskVM }
RestartVMOK describes a response with status code 200, with default header values.
RestartVMOK restart Vm o k
func NewRestartVMOK ¶
func NewRestartVMOK() *RestartVMOK
NewRestartVMOK creates a RestartVMOK with default headers values
func (*RestartVMOK) Error ¶
func (o *RestartVMOK) Error() string
func (*RestartVMOK) GetPayload ¶
func (o *RestartVMOK) GetPayload() []*models.WithTaskVM
type RestartVMParams ¶
type RestartVMParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.VMOperateParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RestartVMParams contains all the parameters to send to the API endpoint
for the restart Vm operation. Typically these are written to a http.Request.
func NewRestartVMParams ¶
func NewRestartVMParams() *RestartVMParams
NewRestartVMParams creates a new RestartVMParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewRestartVMParamsWithContext ¶
func NewRestartVMParamsWithContext(ctx context.Context) *RestartVMParams
NewRestartVMParamsWithContext creates a new RestartVMParams object with the ability to set a context for a request.
func NewRestartVMParamsWithHTTPClient ¶
func NewRestartVMParamsWithHTTPClient(client *http.Client) *RestartVMParams
NewRestartVMParamsWithHTTPClient creates a new RestartVMParams object with the ability to set a custom HTTPClient for a request.
func NewRestartVMParamsWithTimeout ¶
func NewRestartVMParamsWithTimeout(timeout time.Duration) *RestartVMParams
NewRestartVMParamsWithTimeout creates a new RestartVMParams object with the ability to set a timeout on a request.
func (*RestartVMParams) SetContentLanguage ¶
func (o *RestartVMParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the restart Vm params
func (*RestartVMParams) SetContext ¶
func (o *RestartVMParams) SetContext(ctx context.Context)
SetContext adds the context to the restart Vm params
func (*RestartVMParams) SetDefaults ¶
func (o *RestartVMParams) SetDefaults()
SetDefaults hydrates default values in the restart Vm params (not the query body).
All values with no default are reset to their zero value.
func (*RestartVMParams) SetHTTPClient ¶
func (o *RestartVMParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the restart Vm params
func (*RestartVMParams) SetRequestBody ¶
func (o *RestartVMParams) SetRequestBody(requestBody *models.VMOperateParams)
SetRequestBody adds the requestBody to the restart Vm params
func (*RestartVMParams) SetTimeout ¶
func (o *RestartVMParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the restart Vm params
func (*RestartVMParams) WithContentLanguage ¶
func (o *RestartVMParams) WithContentLanguage(contentLanguage *string) *RestartVMParams
WithContentLanguage adds the contentLanguage to the restart Vm params
func (*RestartVMParams) WithContext ¶
func (o *RestartVMParams) WithContext(ctx context.Context) *RestartVMParams
WithContext adds the context to the restart Vm params
func (*RestartVMParams) WithDefaults ¶
func (o *RestartVMParams) WithDefaults() *RestartVMParams
WithDefaults hydrates default values in the restart Vm params (not the query body).
All values with no default are reset to their zero value.
func (*RestartVMParams) WithHTTPClient ¶
func (o *RestartVMParams) WithHTTPClient(client *http.Client) *RestartVMParams
WithHTTPClient adds the HTTPClient to the restart Vm params
func (*RestartVMParams) WithRequestBody ¶
func (o *RestartVMParams) WithRequestBody(requestBody *models.VMOperateParams) *RestartVMParams
WithRequestBody adds the requestBody to the restart Vm params
func (*RestartVMParams) WithTimeout ¶
func (o *RestartVMParams) WithTimeout(timeout time.Duration) *RestartVMParams
WithTimeout adds the timeout to the restart Vm params
func (*RestartVMParams) WriteToRequest ¶
func (o *RestartVMParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RestartVMReader ¶
type RestartVMReader struct {
// contains filtered or unexported fields
}
RestartVMReader is a Reader for the RestartVM structure.
func (*RestartVMReader) ReadResponse ¶
func (o *RestartVMReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ResumeVMBadRequest ¶
ResumeVMBadRequest describes a response with status code 400, with default header values.
Bad request
func NewResumeVMBadRequest ¶
func NewResumeVMBadRequest() *ResumeVMBadRequest
NewResumeVMBadRequest creates a ResumeVMBadRequest with default headers values
func (*ResumeVMBadRequest) Error ¶
func (o *ResumeVMBadRequest) Error() string
func (*ResumeVMBadRequest) GetPayload ¶
func (o *ResumeVMBadRequest) GetPayload() *models.ErrorBody
type ResumeVMInternalServerError ¶
ResumeVMInternalServerError describes a response with status code 500, with default header values.
Server error
func NewResumeVMInternalServerError ¶
func NewResumeVMInternalServerError() *ResumeVMInternalServerError
NewResumeVMInternalServerError creates a ResumeVMInternalServerError with default headers values
func (*ResumeVMInternalServerError) Error ¶
func (o *ResumeVMInternalServerError) Error() string
func (*ResumeVMInternalServerError) GetPayload ¶
func (o *ResumeVMInternalServerError) GetPayload() *models.ErrorBody
type ResumeVMNotFound ¶
ResumeVMNotFound describes a response with status code 404, with default header values.
Not found
func NewResumeVMNotFound ¶
func NewResumeVMNotFound() *ResumeVMNotFound
NewResumeVMNotFound creates a ResumeVMNotFound with default headers values
func (*ResumeVMNotFound) Error ¶
func (o *ResumeVMNotFound) Error() string
func (*ResumeVMNotFound) GetPayload ¶
func (o *ResumeVMNotFound) GetPayload() *models.ErrorBody
type ResumeVMOK ¶
type ResumeVMOK struct { XTowerRequestID string Payload []*models.WithTaskVM }
ResumeVMOK describes a response with status code 200, with default header values.
ResumeVMOK resume Vm o k
func NewResumeVMOK ¶
func NewResumeVMOK() *ResumeVMOK
NewResumeVMOK creates a ResumeVMOK with default headers values
func (*ResumeVMOK) Error ¶
func (o *ResumeVMOK) Error() string
func (*ResumeVMOK) GetPayload ¶
func (o *ResumeVMOK) GetPayload() []*models.WithTaskVM
type ResumeVMParams ¶
type ResumeVMParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.VMOperateParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ResumeVMParams contains all the parameters to send to the API endpoint
for the resume Vm operation. Typically these are written to a http.Request.
func NewResumeVMParams ¶
func NewResumeVMParams() *ResumeVMParams
NewResumeVMParams creates a new ResumeVMParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewResumeVMParamsWithContext ¶
func NewResumeVMParamsWithContext(ctx context.Context) *ResumeVMParams
NewResumeVMParamsWithContext creates a new ResumeVMParams object with the ability to set a context for a request.
func NewResumeVMParamsWithHTTPClient ¶
func NewResumeVMParamsWithHTTPClient(client *http.Client) *ResumeVMParams
NewResumeVMParamsWithHTTPClient creates a new ResumeVMParams object with the ability to set a custom HTTPClient for a request.
func NewResumeVMParamsWithTimeout ¶
func NewResumeVMParamsWithTimeout(timeout time.Duration) *ResumeVMParams
NewResumeVMParamsWithTimeout creates a new ResumeVMParams object with the ability to set a timeout on a request.
func (*ResumeVMParams) SetContentLanguage ¶
func (o *ResumeVMParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the resume Vm params
func (*ResumeVMParams) SetContext ¶
func (o *ResumeVMParams) SetContext(ctx context.Context)
SetContext adds the context to the resume Vm params
func (*ResumeVMParams) SetDefaults ¶
func (o *ResumeVMParams) SetDefaults()
SetDefaults hydrates default values in the resume Vm params (not the query body).
All values with no default are reset to their zero value.
func (*ResumeVMParams) SetHTTPClient ¶
func (o *ResumeVMParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the resume Vm params
func (*ResumeVMParams) SetRequestBody ¶
func (o *ResumeVMParams) SetRequestBody(requestBody *models.VMOperateParams)
SetRequestBody adds the requestBody to the resume Vm params
func (*ResumeVMParams) SetTimeout ¶
func (o *ResumeVMParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the resume Vm params
func (*ResumeVMParams) WithContentLanguage ¶
func (o *ResumeVMParams) WithContentLanguage(contentLanguage *string) *ResumeVMParams
WithContentLanguage adds the contentLanguage to the resume Vm params
func (*ResumeVMParams) WithContext ¶
func (o *ResumeVMParams) WithContext(ctx context.Context) *ResumeVMParams
WithContext adds the context to the resume Vm params
func (*ResumeVMParams) WithDefaults ¶
func (o *ResumeVMParams) WithDefaults() *ResumeVMParams
WithDefaults hydrates default values in the resume Vm params (not the query body).
All values with no default are reset to their zero value.
func (*ResumeVMParams) WithHTTPClient ¶
func (o *ResumeVMParams) WithHTTPClient(client *http.Client) *ResumeVMParams
WithHTTPClient adds the HTTPClient to the resume Vm params
func (*ResumeVMParams) WithRequestBody ¶
func (o *ResumeVMParams) WithRequestBody(requestBody *models.VMOperateParams) *ResumeVMParams
WithRequestBody adds the requestBody to the resume Vm params
func (*ResumeVMParams) WithTimeout ¶
func (o *ResumeVMParams) WithTimeout(timeout time.Duration) *ResumeVMParams
WithTimeout adds the timeout to the resume Vm params
func (*ResumeVMParams) WriteToRequest ¶
func (o *ResumeVMParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ResumeVMReader ¶
type ResumeVMReader struct {
// contains filtered or unexported fields
}
ResumeVMReader is a Reader for the ResumeVM structure.
func (*ResumeVMReader) ReadResponse ¶
func (o *ResumeVMReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RollbackVMBadRequest ¶
RollbackVMBadRequest describes a response with status code 400, with default header values.
Bad request
func NewRollbackVMBadRequest ¶
func NewRollbackVMBadRequest() *RollbackVMBadRequest
NewRollbackVMBadRequest creates a RollbackVMBadRequest with default headers values
func (*RollbackVMBadRequest) Error ¶
func (o *RollbackVMBadRequest) Error() string
func (*RollbackVMBadRequest) GetPayload ¶
func (o *RollbackVMBadRequest) GetPayload() *models.ErrorBody
type RollbackVMInternalServerError ¶
RollbackVMInternalServerError describes a response with status code 500, with default header values.
Server error
func NewRollbackVMInternalServerError ¶
func NewRollbackVMInternalServerError() *RollbackVMInternalServerError
NewRollbackVMInternalServerError creates a RollbackVMInternalServerError with default headers values
func (*RollbackVMInternalServerError) Error ¶
func (o *RollbackVMInternalServerError) Error() string
func (*RollbackVMInternalServerError) GetPayload ¶
func (o *RollbackVMInternalServerError) GetPayload() *models.ErrorBody
type RollbackVMNotFound ¶
RollbackVMNotFound describes a response with status code 404, with default header values.
Not found
func NewRollbackVMNotFound ¶
func NewRollbackVMNotFound() *RollbackVMNotFound
NewRollbackVMNotFound creates a RollbackVMNotFound with default headers values
func (*RollbackVMNotFound) Error ¶
func (o *RollbackVMNotFound) Error() string
func (*RollbackVMNotFound) GetPayload ¶
func (o *RollbackVMNotFound) GetPayload() *models.ErrorBody
type RollbackVMOK ¶
type RollbackVMOK struct { XTowerRequestID string Payload []*models.WithTaskVM }
RollbackVMOK describes a response with status code 200, with default header values.
RollbackVMOK rollback Vm o k
func NewRollbackVMOK ¶
func NewRollbackVMOK() *RollbackVMOK
NewRollbackVMOK creates a RollbackVMOK with default headers values
func (*RollbackVMOK) Error ¶
func (o *RollbackVMOK) Error() string
func (*RollbackVMOK) GetPayload ¶
func (o *RollbackVMOK) GetPayload() []*models.WithTaskVM
type RollbackVMParams ¶
type RollbackVMParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.VMRollbackParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RollbackVMParams contains all the parameters to send to the API endpoint
for the rollback Vm operation. Typically these are written to a http.Request.
func NewRollbackVMParams ¶
func NewRollbackVMParams() *RollbackVMParams
NewRollbackVMParams creates a new RollbackVMParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewRollbackVMParamsWithContext ¶
func NewRollbackVMParamsWithContext(ctx context.Context) *RollbackVMParams
NewRollbackVMParamsWithContext creates a new RollbackVMParams object with the ability to set a context for a request.
func NewRollbackVMParamsWithHTTPClient ¶
func NewRollbackVMParamsWithHTTPClient(client *http.Client) *RollbackVMParams
NewRollbackVMParamsWithHTTPClient creates a new RollbackVMParams object with the ability to set a custom HTTPClient for a request.
func NewRollbackVMParamsWithTimeout ¶
func NewRollbackVMParamsWithTimeout(timeout time.Duration) *RollbackVMParams
NewRollbackVMParamsWithTimeout creates a new RollbackVMParams object with the ability to set a timeout on a request.
func (*RollbackVMParams) SetContentLanguage ¶
func (o *RollbackVMParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the rollback Vm params
func (*RollbackVMParams) SetContext ¶
func (o *RollbackVMParams) SetContext(ctx context.Context)
SetContext adds the context to the rollback Vm params
func (*RollbackVMParams) SetDefaults ¶
func (o *RollbackVMParams) SetDefaults()
SetDefaults hydrates default values in the rollback Vm params (not the query body).
All values with no default are reset to their zero value.
func (*RollbackVMParams) SetHTTPClient ¶
func (o *RollbackVMParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the rollback Vm params
func (*RollbackVMParams) SetRequestBody ¶
func (o *RollbackVMParams) SetRequestBody(requestBody *models.VMRollbackParams)
SetRequestBody adds the requestBody to the rollback Vm params
func (*RollbackVMParams) SetTimeout ¶
func (o *RollbackVMParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the rollback Vm params
func (*RollbackVMParams) WithContentLanguage ¶
func (o *RollbackVMParams) WithContentLanguage(contentLanguage *string) *RollbackVMParams
WithContentLanguage adds the contentLanguage to the rollback Vm params
func (*RollbackVMParams) WithContext ¶
func (o *RollbackVMParams) WithContext(ctx context.Context) *RollbackVMParams
WithContext adds the context to the rollback Vm params
func (*RollbackVMParams) WithDefaults ¶
func (o *RollbackVMParams) WithDefaults() *RollbackVMParams
WithDefaults hydrates default values in the rollback Vm params (not the query body).
All values with no default are reset to their zero value.
func (*RollbackVMParams) WithHTTPClient ¶
func (o *RollbackVMParams) WithHTTPClient(client *http.Client) *RollbackVMParams
WithHTTPClient adds the HTTPClient to the rollback Vm params
func (*RollbackVMParams) WithRequestBody ¶
func (o *RollbackVMParams) WithRequestBody(requestBody *models.VMRollbackParams) *RollbackVMParams
WithRequestBody adds the requestBody to the rollback Vm params
func (*RollbackVMParams) WithTimeout ¶
func (o *RollbackVMParams) WithTimeout(timeout time.Duration) *RollbackVMParams
WithTimeout adds the timeout to the rollback Vm params
func (*RollbackVMParams) WriteToRequest ¶
func (o *RollbackVMParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RollbackVMReader ¶
type RollbackVMReader struct {
// contains filtered or unexported fields
}
RollbackVMReader is a Reader for the RollbackVM structure.
func (*RollbackVMReader) ReadResponse ¶
func (o *RollbackVMReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ShutDownVMBadRequest ¶
ShutDownVMBadRequest describes a response with status code 400, with default header values.
Bad request
func NewShutDownVMBadRequest ¶
func NewShutDownVMBadRequest() *ShutDownVMBadRequest
NewShutDownVMBadRequest creates a ShutDownVMBadRequest with default headers values
func (*ShutDownVMBadRequest) Error ¶
func (o *ShutDownVMBadRequest) Error() string
func (*ShutDownVMBadRequest) GetPayload ¶
func (o *ShutDownVMBadRequest) GetPayload() *models.ErrorBody
type ShutDownVMInternalServerError ¶
ShutDownVMInternalServerError describes a response with status code 500, with default header values.
Server error
func NewShutDownVMInternalServerError ¶
func NewShutDownVMInternalServerError() *ShutDownVMInternalServerError
NewShutDownVMInternalServerError creates a ShutDownVMInternalServerError with default headers values
func (*ShutDownVMInternalServerError) Error ¶
func (o *ShutDownVMInternalServerError) Error() string
func (*ShutDownVMInternalServerError) GetPayload ¶
func (o *ShutDownVMInternalServerError) GetPayload() *models.ErrorBody
type ShutDownVMNotFound ¶
ShutDownVMNotFound describes a response with status code 404, with default header values.
Not found
func NewShutDownVMNotFound ¶
func NewShutDownVMNotFound() *ShutDownVMNotFound
NewShutDownVMNotFound creates a ShutDownVMNotFound with default headers values
func (*ShutDownVMNotFound) Error ¶
func (o *ShutDownVMNotFound) Error() string
func (*ShutDownVMNotFound) GetPayload ¶
func (o *ShutDownVMNotFound) GetPayload() *models.ErrorBody
type ShutDownVMOK ¶
type ShutDownVMOK struct { XTowerRequestID string Payload []*models.WithTaskVM }
ShutDownVMOK describes a response with status code 200, with default header values.
ShutDownVMOK shut down Vm o k
func NewShutDownVMOK ¶
func NewShutDownVMOK() *ShutDownVMOK
NewShutDownVMOK creates a ShutDownVMOK with default headers values
func (*ShutDownVMOK) Error ¶
func (o *ShutDownVMOK) Error() string
func (*ShutDownVMOK) GetPayload ¶
func (o *ShutDownVMOK) GetPayload() []*models.WithTaskVM
type ShutDownVMParams ¶
type ShutDownVMParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.VMOperateParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ShutDownVMParams contains all the parameters to send to the API endpoint
for the shut down Vm operation. Typically these are written to a http.Request.
func NewShutDownVMParams ¶
func NewShutDownVMParams() *ShutDownVMParams
NewShutDownVMParams creates a new ShutDownVMParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewShutDownVMParamsWithContext ¶
func NewShutDownVMParamsWithContext(ctx context.Context) *ShutDownVMParams
NewShutDownVMParamsWithContext creates a new ShutDownVMParams object with the ability to set a context for a request.
func NewShutDownVMParamsWithHTTPClient ¶
func NewShutDownVMParamsWithHTTPClient(client *http.Client) *ShutDownVMParams
NewShutDownVMParamsWithHTTPClient creates a new ShutDownVMParams object with the ability to set a custom HTTPClient for a request.
func NewShutDownVMParamsWithTimeout ¶
func NewShutDownVMParamsWithTimeout(timeout time.Duration) *ShutDownVMParams
NewShutDownVMParamsWithTimeout creates a new ShutDownVMParams object with the ability to set a timeout on a request.
func (*ShutDownVMParams) SetContentLanguage ¶
func (o *ShutDownVMParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the shut down Vm params
func (*ShutDownVMParams) SetContext ¶
func (o *ShutDownVMParams) SetContext(ctx context.Context)
SetContext adds the context to the shut down Vm params
func (*ShutDownVMParams) SetDefaults ¶
func (o *ShutDownVMParams) SetDefaults()
SetDefaults hydrates default values in the shut down Vm params (not the query body).
All values with no default are reset to their zero value.
func (*ShutDownVMParams) SetHTTPClient ¶
func (o *ShutDownVMParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the shut down Vm params
func (*ShutDownVMParams) SetRequestBody ¶
func (o *ShutDownVMParams) SetRequestBody(requestBody *models.VMOperateParams)
SetRequestBody adds the requestBody to the shut down Vm params
func (*ShutDownVMParams) SetTimeout ¶
func (o *ShutDownVMParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the shut down Vm params
func (*ShutDownVMParams) WithContentLanguage ¶
func (o *ShutDownVMParams) WithContentLanguage(contentLanguage *string) *ShutDownVMParams
WithContentLanguage adds the contentLanguage to the shut down Vm params
func (*ShutDownVMParams) WithContext ¶
func (o *ShutDownVMParams) WithContext(ctx context.Context) *ShutDownVMParams
WithContext adds the context to the shut down Vm params
func (*ShutDownVMParams) WithDefaults ¶
func (o *ShutDownVMParams) WithDefaults() *ShutDownVMParams
WithDefaults hydrates default values in the shut down Vm params (not the query body).
All values with no default are reset to their zero value.
func (*ShutDownVMParams) WithHTTPClient ¶
func (o *ShutDownVMParams) WithHTTPClient(client *http.Client) *ShutDownVMParams
WithHTTPClient adds the HTTPClient to the shut down Vm params
func (*ShutDownVMParams) WithRequestBody ¶
func (o *ShutDownVMParams) WithRequestBody(requestBody *models.VMOperateParams) *ShutDownVMParams
WithRequestBody adds the requestBody to the shut down Vm params
func (*ShutDownVMParams) WithTimeout ¶
func (o *ShutDownVMParams) WithTimeout(timeout time.Duration) *ShutDownVMParams
WithTimeout adds the timeout to the shut down Vm params
func (*ShutDownVMParams) WriteToRequest ¶
func (o *ShutDownVMParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ShutDownVMReader ¶
type ShutDownVMReader struct {
// contains filtered or unexported fields
}
ShutDownVMReader is a Reader for the ShutDownVM structure.
func (*ShutDownVMReader) ReadResponse ¶
func (o *ShutDownVMReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type StartVMBadRequest ¶
StartVMBadRequest describes a response with status code 400, with default header values.
Bad request
func NewStartVMBadRequest ¶
func NewStartVMBadRequest() *StartVMBadRequest
NewStartVMBadRequest creates a StartVMBadRequest with default headers values
func (*StartVMBadRequest) Error ¶
func (o *StartVMBadRequest) Error() string
func (*StartVMBadRequest) GetPayload ¶
func (o *StartVMBadRequest) GetPayload() *models.ErrorBody
type StartVMInternalServerError ¶
StartVMInternalServerError describes a response with status code 500, with default header values.
Server error
func NewStartVMInternalServerError ¶
func NewStartVMInternalServerError() *StartVMInternalServerError
NewStartVMInternalServerError creates a StartVMInternalServerError with default headers values
func (*StartVMInternalServerError) Error ¶
func (o *StartVMInternalServerError) Error() string
func (*StartVMInternalServerError) GetPayload ¶
func (o *StartVMInternalServerError) GetPayload() *models.ErrorBody
type StartVMNotFound ¶
StartVMNotFound describes a response with status code 404, with default header values.
Not found
func NewStartVMNotFound ¶
func NewStartVMNotFound() *StartVMNotFound
NewStartVMNotFound creates a StartVMNotFound with default headers values
func (*StartVMNotFound) Error ¶
func (o *StartVMNotFound) Error() string
func (*StartVMNotFound) GetPayload ¶
func (o *StartVMNotFound) GetPayload() *models.ErrorBody
type StartVMOK ¶
type StartVMOK struct { XTowerRequestID string Payload []*models.WithTaskVM }
StartVMOK describes a response with status code 200, with default header values.
StartVMOK start Vm o k
func NewStartVMOK ¶
func NewStartVMOK() *StartVMOK
NewStartVMOK creates a StartVMOK with default headers values
func (*StartVMOK) GetPayload ¶
func (o *StartVMOK) GetPayload() []*models.WithTaskVM
type StartVMParams ¶
type StartVMParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.VMStartParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
StartVMParams contains all the parameters to send to the API endpoint
for the start Vm operation. Typically these are written to a http.Request.
func NewStartVMParams ¶
func NewStartVMParams() *StartVMParams
NewStartVMParams creates a new StartVMParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewStartVMParamsWithContext ¶
func NewStartVMParamsWithContext(ctx context.Context) *StartVMParams
NewStartVMParamsWithContext creates a new StartVMParams object with the ability to set a context for a request.
func NewStartVMParamsWithHTTPClient ¶
func NewStartVMParamsWithHTTPClient(client *http.Client) *StartVMParams
NewStartVMParamsWithHTTPClient creates a new StartVMParams object with the ability to set a custom HTTPClient for a request.
func NewStartVMParamsWithTimeout ¶
func NewStartVMParamsWithTimeout(timeout time.Duration) *StartVMParams
NewStartVMParamsWithTimeout creates a new StartVMParams object with the ability to set a timeout on a request.
func (*StartVMParams) SetContentLanguage ¶
func (o *StartVMParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the start Vm params
func (*StartVMParams) SetContext ¶
func (o *StartVMParams) SetContext(ctx context.Context)
SetContext adds the context to the start Vm params
func (*StartVMParams) SetDefaults ¶
func (o *StartVMParams) SetDefaults()
SetDefaults hydrates default values in the start Vm params (not the query body).
All values with no default are reset to their zero value.
func (*StartVMParams) SetHTTPClient ¶
func (o *StartVMParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the start Vm params
func (*StartVMParams) SetRequestBody ¶
func (o *StartVMParams) SetRequestBody(requestBody *models.VMStartParams)
SetRequestBody adds the requestBody to the start Vm params
func (*StartVMParams) SetTimeout ¶
func (o *StartVMParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the start Vm params
func (*StartVMParams) WithContentLanguage ¶
func (o *StartVMParams) WithContentLanguage(contentLanguage *string) *StartVMParams
WithContentLanguage adds the contentLanguage to the start Vm params
func (*StartVMParams) WithContext ¶
func (o *StartVMParams) WithContext(ctx context.Context) *StartVMParams
WithContext adds the context to the start Vm params
func (*StartVMParams) WithDefaults ¶
func (o *StartVMParams) WithDefaults() *StartVMParams
WithDefaults hydrates default values in the start Vm params (not the query body).
All values with no default are reset to their zero value.
func (*StartVMParams) WithHTTPClient ¶
func (o *StartVMParams) WithHTTPClient(client *http.Client) *StartVMParams
WithHTTPClient adds the HTTPClient to the start Vm params
func (*StartVMParams) WithRequestBody ¶
func (o *StartVMParams) WithRequestBody(requestBody *models.VMStartParams) *StartVMParams
WithRequestBody adds the requestBody to the start Vm params
func (*StartVMParams) WithTimeout ¶
func (o *StartVMParams) WithTimeout(timeout time.Duration) *StartVMParams
WithTimeout adds the timeout to the start Vm params
func (*StartVMParams) WriteToRequest ¶
func (o *StartVMParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type StartVMReader ¶
type StartVMReader struct {
// contains filtered or unexported fields
}
StartVMReader is a Reader for the StartVM structure.
func (*StartVMReader) ReadResponse ¶
func (o *StartVMReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type StopVMInCutoverMigrationBadRequest ¶ added in v2.1.0
StopVMInCutoverMigrationBadRequest describes a response with status code 400, with default header values.
Bad request
func NewStopVMInCutoverMigrationBadRequest ¶ added in v2.1.0
func NewStopVMInCutoverMigrationBadRequest() *StopVMInCutoverMigrationBadRequest
NewStopVMInCutoverMigrationBadRequest creates a StopVMInCutoverMigrationBadRequest with default headers values
func (*StopVMInCutoverMigrationBadRequest) Error ¶ added in v2.1.0
func (o *StopVMInCutoverMigrationBadRequest) Error() string
func (*StopVMInCutoverMigrationBadRequest) GetPayload ¶ added in v2.1.0
func (o *StopVMInCutoverMigrationBadRequest) GetPayload() *models.ErrorBody
type StopVMInCutoverMigrationInternalServerError ¶ added in v2.1.0
type StopVMInCutoverMigrationInternalServerError struct { XTowerRequestID string Payload *models.ErrorBody }
StopVMInCutoverMigrationInternalServerError describes a response with status code 500, with default header values.
Server error
func NewStopVMInCutoverMigrationInternalServerError ¶ added in v2.1.0
func NewStopVMInCutoverMigrationInternalServerError() *StopVMInCutoverMigrationInternalServerError
NewStopVMInCutoverMigrationInternalServerError creates a StopVMInCutoverMigrationInternalServerError with default headers values
func (*StopVMInCutoverMigrationInternalServerError) Error ¶ added in v2.1.0
func (o *StopVMInCutoverMigrationInternalServerError) Error() string
func (*StopVMInCutoverMigrationInternalServerError) GetPayload ¶ added in v2.1.0
func (o *StopVMInCutoverMigrationInternalServerError) GetPayload() *models.ErrorBody
type StopVMInCutoverMigrationNotFound ¶ added in v2.1.0
StopVMInCutoverMigrationNotFound describes a response with status code 404, with default header values.
Not found
func NewStopVMInCutoverMigrationNotFound ¶ added in v2.1.0
func NewStopVMInCutoverMigrationNotFound() *StopVMInCutoverMigrationNotFound
NewStopVMInCutoverMigrationNotFound creates a StopVMInCutoverMigrationNotFound with default headers values
func (*StopVMInCutoverMigrationNotFound) Error ¶ added in v2.1.0
func (o *StopVMInCutoverMigrationNotFound) Error() string
func (*StopVMInCutoverMigrationNotFound) GetPayload ¶ added in v2.1.0
func (o *StopVMInCutoverMigrationNotFound) GetPayload() *models.ErrorBody
type StopVMInCutoverMigrationOK ¶ added in v2.1.0
type StopVMInCutoverMigrationOK struct { XTowerRequestID string Payload []*models.WithTaskVM }
StopVMInCutoverMigrationOK describes a response with status code 200, with default header values.
StopVMInCutoverMigrationOK stop Vm in cutover migration o k
func NewStopVMInCutoverMigrationOK ¶ added in v2.1.0
func NewStopVMInCutoverMigrationOK() *StopVMInCutoverMigrationOK
NewStopVMInCutoverMigrationOK creates a StopVMInCutoverMigrationOK with default headers values
func (*StopVMInCutoverMigrationOK) Error ¶ added in v2.1.0
func (o *StopVMInCutoverMigrationOK) Error() string
func (*StopVMInCutoverMigrationOK) GetPayload ¶ added in v2.1.0
func (o *StopVMInCutoverMigrationOK) GetPayload() []*models.WithTaskVM
type StopVMInCutoverMigrationParams ¶ added in v2.1.0
type StopVMInCutoverMigrationParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.StopVMInCutoverMigrationParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
StopVMInCutoverMigrationParams contains all the parameters to send to the API endpoint
for the stop Vm in cutover migration operation. Typically these are written to a http.Request.
func NewStopVMInCutoverMigrationParams ¶ added in v2.1.0
func NewStopVMInCutoverMigrationParams() *StopVMInCutoverMigrationParams
NewStopVMInCutoverMigrationParams creates a new StopVMInCutoverMigrationParams 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 NewStopVMInCutoverMigrationParamsWithContext ¶ added in v2.1.0
func NewStopVMInCutoverMigrationParamsWithContext(ctx context.Context) *StopVMInCutoverMigrationParams
NewStopVMInCutoverMigrationParamsWithContext creates a new StopVMInCutoverMigrationParams object with the ability to set a context for a request.
func NewStopVMInCutoverMigrationParamsWithHTTPClient ¶ added in v2.1.0
func NewStopVMInCutoverMigrationParamsWithHTTPClient(client *http.Client) *StopVMInCutoverMigrationParams
NewStopVMInCutoverMigrationParamsWithHTTPClient creates a new StopVMInCutoverMigrationParams object with the ability to set a custom HTTPClient for a request.
func NewStopVMInCutoverMigrationParamsWithTimeout ¶ added in v2.1.0
func NewStopVMInCutoverMigrationParamsWithTimeout(timeout time.Duration) *StopVMInCutoverMigrationParams
NewStopVMInCutoverMigrationParamsWithTimeout creates a new StopVMInCutoverMigrationParams object with the ability to set a timeout on a request.
func (*StopVMInCutoverMigrationParams) SetContentLanguage ¶ added in v2.1.0
func (o *StopVMInCutoverMigrationParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the stop Vm in cutover migration params
func (*StopVMInCutoverMigrationParams) SetContext ¶ added in v2.1.0
func (o *StopVMInCutoverMigrationParams) SetContext(ctx context.Context)
SetContext adds the context to the stop Vm in cutover migration params
func (*StopVMInCutoverMigrationParams) SetDefaults ¶ added in v2.1.0
func (o *StopVMInCutoverMigrationParams) SetDefaults()
SetDefaults hydrates default values in the stop Vm in cutover migration params (not the query body).
All values with no default are reset to their zero value.
func (*StopVMInCutoverMigrationParams) SetHTTPClient ¶ added in v2.1.0
func (o *StopVMInCutoverMigrationParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the stop Vm in cutover migration params
func (*StopVMInCutoverMigrationParams) SetRequestBody ¶ added in v2.1.0
func (o *StopVMInCutoverMigrationParams) SetRequestBody(requestBody *models.StopVMInCutoverMigrationParams)
SetRequestBody adds the requestBody to the stop Vm in cutover migration params
func (*StopVMInCutoverMigrationParams) SetTimeout ¶ added in v2.1.0
func (o *StopVMInCutoverMigrationParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the stop Vm in cutover migration params
func (*StopVMInCutoverMigrationParams) WithContentLanguage ¶ added in v2.1.0
func (o *StopVMInCutoverMigrationParams) WithContentLanguage(contentLanguage *string) *StopVMInCutoverMigrationParams
WithContentLanguage adds the contentLanguage to the stop Vm in cutover migration params
func (*StopVMInCutoverMigrationParams) WithContext ¶ added in v2.1.0
func (o *StopVMInCutoverMigrationParams) WithContext(ctx context.Context) *StopVMInCutoverMigrationParams
WithContext adds the context to the stop Vm in cutover migration params
func (*StopVMInCutoverMigrationParams) WithDefaults ¶ added in v2.1.0
func (o *StopVMInCutoverMigrationParams) WithDefaults() *StopVMInCutoverMigrationParams
WithDefaults hydrates default values in the stop Vm in cutover migration params (not the query body).
All values with no default are reset to their zero value.
func (*StopVMInCutoverMigrationParams) WithHTTPClient ¶ added in v2.1.0
func (o *StopVMInCutoverMigrationParams) WithHTTPClient(client *http.Client) *StopVMInCutoverMigrationParams
WithHTTPClient adds the HTTPClient to the stop Vm in cutover migration params
func (*StopVMInCutoverMigrationParams) WithRequestBody ¶ added in v2.1.0
func (o *StopVMInCutoverMigrationParams) WithRequestBody(requestBody *models.StopVMInCutoverMigrationParams) *StopVMInCutoverMigrationParams
WithRequestBody adds the requestBody to the stop Vm in cutover migration params
func (*StopVMInCutoverMigrationParams) WithTimeout ¶ added in v2.1.0
func (o *StopVMInCutoverMigrationParams) WithTimeout(timeout time.Duration) *StopVMInCutoverMigrationParams
WithTimeout adds the timeout to the stop Vm in cutover migration params
func (*StopVMInCutoverMigrationParams) WriteToRequest ¶ added in v2.1.0
func (o *StopVMInCutoverMigrationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type StopVMInCutoverMigrationReader ¶ added in v2.1.0
type StopVMInCutoverMigrationReader struct {
// contains filtered or unexported fields
}
StopVMInCutoverMigrationReader is a Reader for the StopVMInCutoverMigration structure.
func (*StopVMInCutoverMigrationReader) ReadResponse ¶ added in v2.1.0
func (o *StopVMInCutoverMigrationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SuspendVMBadRequest ¶
SuspendVMBadRequest describes a response with status code 400, with default header values.
Bad request
func NewSuspendVMBadRequest ¶
func NewSuspendVMBadRequest() *SuspendVMBadRequest
NewSuspendVMBadRequest creates a SuspendVMBadRequest with default headers values
func (*SuspendVMBadRequest) Error ¶
func (o *SuspendVMBadRequest) Error() string
func (*SuspendVMBadRequest) GetPayload ¶
func (o *SuspendVMBadRequest) GetPayload() *models.ErrorBody
type SuspendVMInternalServerError ¶
SuspendVMInternalServerError describes a response with status code 500, with default header values.
Server error
func NewSuspendVMInternalServerError ¶
func NewSuspendVMInternalServerError() *SuspendVMInternalServerError
NewSuspendVMInternalServerError creates a SuspendVMInternalServerError with default headers values
func (*SuspendVMInternalServerError) Error ¶
func (o *SuspendVMInternalServerError) Error() string
func (*SuspendVMInternalServerError) GetPayload ¶
func (o *SuspendVMInternalServerError) GetPayload() *models.ErrorBody
type SuspendVMNotFound ¶
SuspendVMNotFound describes a response with status code 404, with default header values.
Not found
func NewSuspendVMNotFound ¶
func NewSuspendVMNotFound() *SuspendVMNotFound
NewSuspendVMNotFound creates a SuspendVMNotFound with default headers values
func (*SuspendVMNotFound) Error ¶
func (o *SuspendVMNotFound) Error() string
func (*SuspendVMNotFound) GetPayload ¶
func (o *SuspendVMNotFound) GetPayload() *models.ErrorBody
type SuspendVMOK ¶
type SuspendVMOK struct { XTowerRequestID string Payload []*models.WithTaskVM }
SuspendVMOK describes a response with status code 200, with default header values.
SuspendVMOK suspend Vm o k
func NewSuspendVMOK ¶
func NewSuspendVMOK() *SuspendVMOK
NewSuspendVMOK creates a SuspendVMOK with default headers values
func (*SuspendVMOK) Error ¶
func (o *SuspendVMOK) Error() string
func (*SuspendVMOK) GetPayload ¶
func (o *SuspendVMOK) GetPayload() []*models.WithTaskVM
type SuspendVMParams ¶
type SuspendVMParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.VMOperateParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SuspendVMParams contains all the parameters to send to the API endpoint
for the suspend Vm operation. Typically these are written to a http.Request.
func NewSuspendVMParams ¶
func NewSuspendVMParams() *SuspendVMParams
NewSuspendVMParams creates a new SuspendVMParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewSuspendVMParamsWithContext ¶
func NewSuspendVMParamsWithContext(ctx context.Context) *SuspendVMParams
NewSuspendVMParamsWithContext creates a new SuspendVMParams object with the ability to set a context for a request.
func NewSuspendVMParamsWithHTTPClient ¶
func NewSuspendVMParamsWithHTTPClient(client *http.Client) *SuspendVMParams
NewSuspendVMParamsWithHTTPClient creates a new SuspendVMParams object with the ability to set a custom HTTPClient for a request.
func NewSuspendVMParamsWithTimeout ¶
func NewSuspendVMParamsWithTimeout(timeout time.Duration) *SuspendVMParams
NewSuspendVMParamsWithTimeout creates a new SuspendVMParams object with the ability to set a timeout on a request.
func (*SuspendVMParams) SetContentLanguage ¶
func (o *SuspendVMParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the suspend Vm params
func (*SuspendVMParams) SetContext ¶
func (o *SuspendVMParams) SetContext(ctx context.Context)
SetContext adds the context to the suspend Vm params
func (*SuspendVMParams) SetDefaults ¶
func (o *SuspendVMParams) SetDefaults()
SetDefaults hydrates default values in the suspend Vm params (not the query body).
All values with no default are reset to their zero value.
func (*SuspendVMParams) SetHTTPClient ¶
func (o *SuspendVMParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the suspend Vm params
func (*SuspendVMParams) SetRequestBody ¶
func (o *SuspendVMParams) SetRequestBody(requestBody *models.VMOperateParams)
SetRequestBody adds the requestBody to the suspend Vm params
func (*SuspendVMParams) SetTimeout ¶
func (o *SuspendVMParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the suspend Vm params
func (*SuspendVMParams) WithContentLanguage ¶
func (o *SuspendVMParams) WithContentLanguage(contentLanguage *string) *SuspendVMParams
WithContentLanguage adds the contentLanguage to the suspend Vm params
func (*SuspendVMParams) WithContext ¶
func (o *SuspendVMParams) WithContext(ctx context.Context) *SuspendVMParams
WithContext adds the context to the suspend Vm params
func (*SuspendVMParams) WithDefaults ¶
func (o *SuspendVMParams) WithDefaults() *SuspendVMParams
WithDefaults hydrates default values in the suspend Vm params (not the query body).
All values with no default are reset to their zero value.
func (*SuspendVMParams) WithHTTPClient ¶
func (o *SuspendVMParams) WithHTTPClient(client *http.Client) *SuspendVMParams
WithHTTPClient adds the HTTPClient to the suspend Vm params
func (*SuspendVMParams) WithRequestBody ¶
func (o *SuspendVMParams) WithRequestBody(requestBody *models.VMOperateParams) *SuspendVMParams
WithRequestBody adds the requestBody to the suspend Vm params
func (*SuspendVMParams) WithTimeout ¶
func (o *SuspendVMParams) WithTimeout(timeout time.Duration) *SuspendVMParams
WithTimeout adds the timeout to the suspend Vm params
func (*SuspendVMParams) WriteToRequest ¶
func (o *SuspendVMParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SuspendVMReader ¶
type SuspendVMReader struct {
// contains filtered or unexported fields
}
SuspendVMReader is a Reader for the SuspendVM structure.
func (*SuspendVMReader) ReadResponse ¶
func (o *SuspendVMReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ToggleVMCdRomDisableBadRequest ¶
ToggleVMCdRomDisableBadRequest describes a response with status code 400, with default header values.
Bad request
func NewToggleVMCdRomDisableBadRequest ¶
func NewToggleVMCdRomDisableBadRequest() *ToggleVMCdRomDisableBadRequest
NewToggleVMCdRomDisableBadRequest creates a ToggleVMCdRomDisableBadRequest with default headers values
func (*ToggleVMCdRomDisableBadRequest) Error ¶
func (o *ToggleVMCdRomDisableBadRequest) Error() string
func (*ToggleVMCdRomDisableBadRequest) GetPayload ¶
func (o *ToggleVMCdRomDisableBadRequest) GetPayload() *models.ErrorBody
type ToggleVMCdRomDisableInternalServerError ¶
type ToggleVMCdRomDisableInternalServerError struct { XTowerRequestID string Payload *models.ErrorBody }
ToggleVMCdRomDisableInternalServerError describes a response with status code 500, with default header values.
Server error
func NewToggleVMCdRomDisableInternalServerError ¶
func NewToggleVMCdRomDisableInternalServerError() *ToggleVMCdRomDisableInternalServerError
NewToggleVMCdRomDisableInternalServerError creates a ToggleVMCdRomDisableInternalServerError with default headers values
func (*ToggleVMCdRomDisableInternalServerError) Error ¶
func (o *ToggleVMCdRomDisableInternalServerError) Error() string
func (*ToggleVMCdRomDisableInternalServerError) GetPayload ¶
func (o *ToggleVMCdRomDisableInternalServerError) GetPayload() *models.ErrorBody
type ToggleVMCdRomDisableNotFound ¶
ToggleVMCdRomDisableNotFound describes a response with status code 404, with default header values.
Not found
func NewToggleVMCdRomDisableNotFound ¶
func NewToggleVMCdRomDisableNotFound() *ToggleVMCdRomDisableNotFound
NewToggleVMCdRomDisableNotFound creates a ToggleVMCdRomDisableNotFound with default headers values
func (*ToggleVMCdRomDisableNotFound) Error ¶
func (o *ToggleVMCdRomDisableNotFound) Error() string
func (*ToggleVMCdRomDisableNotFound) GetPayload ¶
func (o *ToggleVMCdRomDisableNotFound) GetPayload() *models.ErrorBody
type ToggleVMCdRomDisableOK ¶
type ToggleVMCdRomDisableOK struct { XTowerRequestID string Payload []*models.WithTaskVM }
ToggleVMCdRomDisableOK describes a response with status code 200, with default header values.
ToggleVMCdRomDisableOK toggle Vm cd rom disable o k
func NewToggleVMCdRomDisableOK ¶
func NewToggleVMCdRomDisableOK() *ToggleVMCdRomDisableOK
NewToggleVMCdRomDisableOK creates a ToggleVMCdRomDisableOK with default headers values
func (*ToggleVMCdRomDisableOK) Error ¶
func (o *ToggleVMCdRomDisableOK) Error() string
func (*ToggleVMCdRomDisableOK) GetPayload ¶
func (o *ToggleVMCdRomDisableOK) GetPayload() []*models.WithTaskVM
type ToggleVMCdRomDisableParams ¶
type ToggleVMCdRomDisableParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.VMToggleCdRomDisableParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ToggleVMCdRomDisableParams contains all the parameters to send to the API endpoint
for the toggle Vm cd rom disable operation. Typically these are written to a http.Request.
func NewToggleVMCdRomDisableParams ¶
func NewToggleVMCdRomDisableParams() *ToggleVMCdRomDisableParams
NewToggleVMCdRomDisableParams creates a new ToggleVMCdRomDisableParams 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 NewToggleVMCdRomDisableParamsWithContext ¶
func NewToggleVMCdRomDisableParamsWithContext(ctx context.Context) *ToggleVMCdRomDisableParams
NewToggleVMCdRomDisableParamsWithContext creates a new ToggleVMCdRomDisableParams object with the ability to set a context for a request.
func NewToggleVMCdRomDisableParamsWithHTTPClient ¶
func NewToggleVMCdRomDisableParamsWithHTTPClient(client *http.Client) *ToggleVMCdRomDisableParams
NewToggleVMCdRomDisableParamsWithHTTPClient creates a new ToggleVMCdRomDisableParams object with the ability to set a custom HTTPClient for a request.
func NewToggleVMCdRomDisableParamsWithTimeout ¶
func NewToggleVMCdRomDisableParamsWithTimeout(timeout time.Duration) *ToggleVMCdRomDisableParams
NewToggleVMCdRomDisableParamsWithTimeout creates a new ToggleVMCdRomDisableParams object with the ability to set a timeout on a request.
func (*ToggleVMCdRomDisableParams) SetContentLanguage ¶
func (o *ToggleVMCdRomDisableParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the toggle Vm cd rom disable params
func (*ToggleVMCdRomDisableParams) SetContext ¶
func (o *ToggleVMCdRomDisableParams) SetContext(ctx context.Context)
SetContext adds the context to the toggle Vm cd rom disable params
func (*ToggleVMCdRomDisableParams) SetDefaults ¶
func (o *ToggleVMCdRomDisableParams) SetDefaults()
SetDefaults hydrates default values in the toggle Vm cd rom disable params (not the query body).
All values with no default are reset to their zero value.
func (*ToggleVMCdRomDisableParams) SetHTTPClient ¶
func (o *ToggleVMCdRomDisableParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the toggle Vm cd rom disable params
func (*ToggleVMCdRomDisableParams) SetRequestBody ¶
func (o *ToggleVMCdRomDisableParams) SetRequestBody(requestBody *models.VMToggleCdRomDisableParams)
SetRequestBody adds the requestBody to the toggle Vm cd rom disable params
func (*ToggleVMCdRomDisableParams) SetTimeout ¶
func (o *ToggleVMCdRomDisableParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the toggle Vm cd rom disable params
func (*ToggleVMCdRomDisableParams) WithContentLanguage ¶
func (o *ToggleVMCdRomDisableParams) WithContentLanguage(contentLanguage *string) *ToggleVMCdRomDisableParams
WithContentLanguage adds the contentLanguage to the toggle Vm cd rom disable params
func (*ToggleVMCdRomDisableParams) WithContext ¶
func (o *ToggleVMCdRomDisableParams) WithContext(ctx context.Context) *ToggleVMCdRomDisableParams
WithContext adds the context to the toggle Vm cd rom disable params
func (*ToggleVMCdRomDisableParams) WithDefaults ¶
func (o *ToggleVMCdRomDisableParams) WithDefaults() *ToggleVMCdRomDisableParams
WithDefaults hydrates default values in the toggle Vm cd rom disable params (not the query body).
All values with no default are reset to their zero value.
func (*ToggleVMCdRomDisableParams) WithHTTPClient ¶
func (o *ToggleVMCdRomDisableParams) WithHTTPClient(client *http.Client) *ToggleVMCdRomDisableParams
WithHTTPClient adds the HTTPClient to the toggle Vm cd rom disable params
func (*ToggleVMCdRomDisableParams) WithRequestBody ¶
func (o *ToggleVMCdRomDisableParams) WithRequestBody(requestBody *models.VMToggleCdRomDisableParams) *ToggleVMCdRomDisableParams
WithRequestBody adds the requestBody to the toggle Vm cd rom disable params
func (*ToggleVMCdRomDisableParams) WithTimeout ¶
func (o *ToggleVMCdRomDisableParams) WithTimeout(timeout time.Duration) *ToggleVMCdRomDisableParams
WithTimeout adds the timeout to the toggle Vm cd rom disable params
func (*ToggleVMCdRomDisableParams) WriteToRequest ¶
func (o *ToggleVMCdRomDisableParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ToggleVMCdRomDisableReader ¶
type ToggleVMCdRomDisableReader struct {
// contains filtered or unexported fields
}
ToggleVMCdRomDisableReader is a Reader for the ToggleVMCdRomDisable structure.
func (*ToggleVMCdRomDisableReader) ReadResponse ¶
func (o *ToggleVMCdRomDisableReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateVMAdvancedOptionsBadRequest ¶
UpdateVMAdvancedOptionsBadRequest describes a response with status code 400, with default header values.
Bad request
func NewUpdateVMAdvancedOptionsBadRequest ¶
func NewUpdateVMAdvancedOptionsBadRequest() *UpdateVMAdvancedOptionsBadRequest
NewUpdateVMAdvancedOptionsBadRequest creates a UpdateVMAdvancedOptionsBadRequest with default headers values
func (*UpdateVMAdvancedOptionsBadRequest) Error ¶
func (o *UpdateVMAdvancedOptionsBadRequest) Error() string
func (*UpdateVMAdvancedOptionsBadRequest) GetPayload ¶
func (o *UpdateVMAdvancedOptionsBadRequest) GetPayload() *models.ErrorBody
type UpdateVMAdvancedOptionsInternalServerError ¶
type UpdateVMAdvancedOptionsInternalServerError struct { XTowerRequestID string Payload *models.ErrorBody }
UpdateVMAdvancedOptionsInternalServerError describes a response with status code 500, with default header values.
Server error
func NewUpdateVMAdvancedOptionsInternalServerError ¶
func NewUpdateVMAdvancedOptionsInternalServerError() *UpdateVMAdvancedOptionsInternalServerError
NewUpdateVMAdvancedOptionsInternalServerError creates a UpdateVMAdvancedOptionsInternalServerError with default headers values
func (*UpdateVMAdvancedOptionsInternalServerError) Error ¶
func (o *UpdateVMAdvancedOptionsInternalServerError) Error() string
func (*UpdateVMAdvancedOptionsInternalServerError) GetPayload ¶
func (o *UpdateVMAdvancedOptionsInternalServerError) GetPayload() *models.ErrorBody
type UpdateVMAdvancedOptionsNotFound ¶
UpdateVMAdvancedOptionsNotFound describes a response with status code 404, with default header values.
Not found
func NewUpdateVMAdvancedOptionsNotFound ¶
func NewUpdateVMAdvancedOptionsNotFound() *UpdateVMAdvancedOptionsNotFound
NewUpdateVMAdvancedOptionsNotFound creates a UpdateVMAdvancedOptionsNotFound with default headers values
func (*UpdateVMAdvancedOptionsNotFound) Error ¶
func (o *UpdateVMAdvancedOptionsNotFound) Error() string
func (*UpdateVMAdvancedOptionsNotFound) GetPayload ¶
func (o *UpdateVMAdvancedOptionsNotFound) GetPayload() *models.ErrorBody
type UpdateVMAdvancedOptionsNotModified ¶
type UpdateVMAdvancedOptionsNotModified struct { }
UpdateVMAdvancedOptionsNotModified describes a response with status code 304, with default header values.
Not modified
func NewUpdateVMAdvancedOptionsNotModified ¶
func NewUpdateVMAdvancedOptionsNotModified() *UpdateVMAdvancedOptionsNotModified
NewUpdateVMAdvancedOptionsNotModified creates a UpdateVMAdvancedOptionsNotModified with default headers values
func (*UpdateVMAdvancedOptionsNotModified) Error ¶
func (o *UpdateVMAdvancedOptionsNotModified) Error() string
type UpdateVMAdvancedOptionsOK ¶
type UpdateVMAdvancedOptionsOK struct { XTowerRequestID string Payload []*models.WithTaskVM }
UpdateVMAdvancedOptionsOK describes a response with status code 200, with default header values.
UpdateVMAdvancedOptionsOK update Vm advanced options o k
func NewUpdateVMAdvancedOptionsOK ¶
func NewUpdateVMAdvancedOptionsOK() *UpdateVMAdvancedOptionsOK
NewUpdateVMAdvancedOptionsOK creates a UpdateVMAdvancedOptionsOK with default headers values
func (*UpdateVMAdvancedOptionsOK) Error ¶
func (o *UpdateVMAdvancedOptionsOK) Error() string
func (*UpdateVMAdvancedOptionsOK) GetPayload ¶
func (o *UpdateVMAdvancedOptionsOK) GetPayload() []*models.WithTaskVM
type UpdateVMAdvancedOptionsParams ¶
type UpdateVMAdvancedOptionsParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.VMUpdateAdvancedOptionsParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateVMAdvancedOptionsParams contains all the parameters to send to the API endpoint
for the update Vm advanced options operation. Typically these are written to a http.Request.
func NewUpdateVMAdvancedOptionsParams ¶
func NewUpdateVMAdvancedOptionsParams() *UpdateVMAdvancedOptionsParams
NewUpdateVMAdvancedOptionsParams creates a new UpdateVMAdvancedOptionsParams 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 NewUpdateVMAdvancedOptionsParamsWithContext ¶
func NewUpdateVMAdvancedOptionsParamsWithContext(ctx context.Context) *UpdateVMAdvancedOptionsParams
NewUpdateVMAdvancedOptionsParamsWithContext creates a new UpdateVMAdvancedOptionsParams object with the ability to set a context for a request.
func NewUpdateVMAdvancedOptionsParamsWithHTTPClient ¶
func NewUpdateVMAdvancedOptionsParamsWithHTTPClient(client *http.Client) *UpdateVMAdvancedOptionsParams
NewUpdateVMAdvancedOptionsParamsWithHTTPClient creates a new UpdateVMAdvancedOptionsParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateVMAdvancedOptionsParamsWithTimeout ¶
func NewUpdateVMAdvancedOptionsParamsWithTimeout(timeout time.Duration) *UpdateVMAdvancedOptionsParams
NewUpdateVMAdvancedOptionsParamsWithTimeout creates a new UpdateVMAdvancedOptionsParams object with the ability to set a timeout on a request.
func (*UpdateVMAdvancedOptionsParams) SetContentLanguage ¶
func (o *UpdateVMAdvancedOptionsParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the update Vm advanced options params
func (*UpdateVMAdvancedOptionsParams) SetContext ¶
func (o *UpdateVMAdvancedOptionsParams) SetContext(ctx context.Context)
SetContext adds the context to the update Vm advanced options params
func (*UpdateVMAdvancedOptionsParams) SetDefaults ¶
func (o *UpdateVMAdvancedOptionsParams) SetDefaults()
SetDefaults hydrates default values in the update Vm advanced options params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateVMAdvancedOptionsParams) SetHTTPClient ¶
func (o *UpdateVMAdvancedOptionsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update Vm advanced options params
func (*UpdateVMAdvancedOptionsParams) SetRequestBody ¶
func (o *UpdateVMAdvancedOptionsParams) SetRequestBody(requestBody *models.VMUpdateAdvancedOptionsParams)
SetRequestBody adds the requestBody to the update Vm advanced options params
func (*UpdateVMAdvancedOptionsParams) SetTimeout ¶
func (o *UpdateVMAdvancedOptionsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update Vm advanced options params
func (*UpdateVMAdvancedOptionsParams) WithContentLanguage ¶
func (o *UpdateVMAdvancedOptionsParams) WithContentLanguage(contentLanguage *string) *UpdateVMAdvancedOptionsParams
WithContentLanguage adds the contentLanguage to the update Vm advanced options params
func (*UpdateVMAdvancedOptionsParams) WithContext ¶
func (o *UpdateVMAdvancedOptionsParams) WithContext(ctx context.Context) *UpdateVMAdvancedOptionsParams
WithContext adds the context to the update Vm advanced options params
func (*UpdateVMAdvancedOptionsParams) WithDefaults ¶
func (o *UpdateVMAdvancedOptionsParams) WithDefaults() *UpdateVMAdvancedOptionsParams
WithDefaults hydrates default values in the update Vm advanced options params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateVMAdvancedOptionsParams) WithHTTPClient ¶
func (o *UpdateVMAdvancedOptionsParams) WithHTTPClient(client *http.Client) *UpdateVMAdvancedOptionsParams
WithHTTPClient adds the HTTPClient to the update Vm advanced options params
func (*UpdateVMAdvancedOptionsParams) WithRequestBody ¶
func (o *UpdateVMAdvancedOptionsParams) WithRequestBody(requestBody *models.VMUpdateAdvancedOptionsParams) *UpdateVMAdvancedOptionsParams
WithRequestBody adds the requestBody to the update Vm advanced options params
func (*UpdateVMAdvancedOptionsParams) WithTimeout ¶
func (o *UpdateVMAdvancedOptionsParams) WithTimeout(timeout time.Duration) *UpdateVMAdvancedOptionsParams
WithTimeout adds the timeout to the update Vm advanced options params
func (*UpdateVMAdvancedOptionsParams) WriteToRequest ¶
func (o *UpdateVMAdvancedOptionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateVMAdvancedOptionsReader ¶
type UpdateVMAdvancedOptionsReader struct {
// contains filtered or unexported fields
}
UpdateVMAdvancedOptionsReader is a Reader for the UpdateVMAdvancedOptions structure.
func (*UpdateVMAdvancedOptionsReader) ReadResponse ¶
func (o *UpdateVMAdvancedOptionsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateVMBadRequest ¶
UpdateVMBadRequest describes a response with status code 400, with default header values.
Bad request
func NewUpdateVMBadRequest ¶
func NewUpdateVMBadRequest() *UpdateVMBadRequest
NewUpdateVMBadRequest creates a UpdateVMBadRequest with default headers values
func (*UpdateVMBadRequest) Error ¶
func (o *UpdateVMBadRequest) Error() string
func (*UpdateVMBadRequest) GetPayload ¶
func (o *UpdateVMBadRequest) GetPayload() *models.ErrorBody
type UpdateVMDiskBadRequest ¶
UpdateVMDiskBadRequest describes a response with status code 400, with default header values.
Bad request
func NewUpdateVMDiskBadRequest ¶
func NewUpdateVMDiskBadRequest() *UpdateVMDiskBadRequest
NewUpdateVMDiskBadRequest creates a UpdateVMDiskBadRequest with default headers values
func (*UpdateVMDiskBadRequest) Error ¶
func (o *UpdateVMDiskBadRequest) Error() string
func (*UpdateVMDiskBadRequest) GetPayload ¶
func (o *UpdateVMDiskBadRequest) GetPayload() *models.ErrorBody
type UpdateVMDiskInternalServerError ¶
UpdateVMDiskInternalServerError describes a response with status code 500, with default header values.
Server error
func NewUpdateVMDiskInternalServerError ¶
func NewUpdateVMDiskInternalServerError() *UpdateVMDiskInternalServerError
NewUpdateVMDiskInternalServerError creates a UpdateVMDiskInternalServerError with default headers values
func (*UpdateVMDiskInternalServerError) Error ¶
func (o *UpdateVMDiskInternalServerError) Error() string
func (*UpdateVMDiskInternalServerError) GetPayload ¶
func (o *UpdateVMDiskInternalServerError) GetPayload() *models.ErrorBody
type UpdateVMDiskNotFound ¶
UpdateVMDiskNotFound describes a response with status code 404, with default header values.
Not found
func NewUpdateVMDiskNotFound ¶
func NewUpdateVMDiskNotFound() *UpdateVMDiskNotFound
NewUpdateVMDiskNotFound creates a UpdateVMDiskNotFound with default headers values
func (*UpdateVMDiskNotFound) Error ¶
func (o *UpdateVMDiskNotFound) Error() string
func (*UpdateVMDiskNotFound) GetPayload ¶
func (o *UpdateVMDiskNotFound) GetPayload() *models.ErrorBody
type UpdateVMDiskOK ¶
type UpdateVMDiskOK struct { XTowerRequestID string Payload []*models.WithTaskVM }
UpdateVMDiskOK describes a response with status code 200, with default header values.
UpdateVMDiskOK update Vm disk o k
func NewUpdateVMDiskOK ¶
func NewUpdateVMDiskOK() *UpdateVMDiskOK
NewUpdateVMDiskOK creates a UpdateVMDiskOK with default headers values
func (*UpdateVMDiskOK) Error ¶
func (o *UpdateVMDiskOK) Error() string
func (*UpdateVMDiskOK) GetPayload ¶
func (o *UpdateVMDiskOK) GetPayload() []*models.WithTaskVM
type UpdateVMDiskParams ¶
type UpdateVMDiskParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.VMUpdateDiskParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateVMDiskParams contains all the parameters to send to the API endpoint
for the update Vm disk operation. Typically these are written to a http.Request.
func NewUpdateVMDiskParams ¶
func NewUpdateVMDiskParams() *UpdateVMDiskParams
NewUpdateVMDiskParams creates a new UpdateVMDiskParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewUpdateVMDiskParamsWithContext ¶
func NewUpdateVMDiskParamsWithContext(ctx context.Context) *UpdateVMDiskParams
NewUpdateVMDiskParamsWithContext creates a new UpdateVMDiskParams object with the ability to set a context for a request.
func NewUpdateVMDiskParamsWithHTTPClient ¶
func NewUpdateVMDiskParamsWithHTTPClient(client *http.Client) *UpdateVMDiskParams
NewUpdateVMDiskParamsWithHTTPClient creates a new UpdateVMDiskParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateVMDiskParamsWithTimeout ¶
func NewUpdateVMDiskParamsWithTimeout(timeout time.Duration) *UpdateVMDiskParams
NewUpdateVMDiskParamsWithTimeout creates a new UpdateVMDiskParams object with the ability to set a timeout on a request.
func (*UpdateVMDiskParams) SetContentLanguage ¶
func (o *UpdateVMDiskParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the update Vm disk params
func (*UpdateVMDiskParams) SetContext ¶
func (o *UpdateVMDiskParams) SetContext(ctx context.Context)
SetContext adds the context to the update Vm disk params
func (*UpdateVMDiskParams) SetDefaults ¶
func (o *UpdateVMDiskParams) SetDefaults()
SetDefaults hydrates default values in the update Vm disk params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateVMDiskParams) SetHTTPClient ¶
func (o *UpdateVMDiskParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update Vm disk params
func (*UpdateVMDiskParams) SetRequestBody ¶
func (o *UpdateVMDiskParams) SetRequestBody(requestBody *models.VMUpdateDiskParams)
SetRequestBody adds the requestBody to the update Vm disk params
func (*UpdateVMDiskParams) SetTimeout ¶
func (o *UpdateVMDiskParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update Vm disk params
func (*UpdateVMDiskParams) WithContentLanguage ¶
func (o *UpdateVMDiskParams) WithContentLanguage(contentLanguage *string) *UpdateVMDiskParams
WithContentLanguage adds the contentLanguage to the update Vm disk params
func (*UpdateVMDiskParams) WithContext ¶
func (o *UpdateVMDiskParams) WithContext(ctx context.Context) *UpdateVMDiskParams
WithContext adds the context to the update Vm disk params
func (*UpdateVMDiskParams) WithDefaults ¶
func (o *UpdateVMDiskParams) WithDefaults() *UpdateVMDiskParams
WithDefaults hydrates default values in the update Vm disk params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateVMDiskParams) WithHTTPClient ¶
func (o *UpdateVMDiskParams) WithHTTPClient(client *http.Client) *UpdateVMDiskParams
WithHTTPClient adds the HTTPClient to the update Vm disk params
func (*UpdateVMDiskParams) WithRequestBody ¶
func (o *UpdateVMDiskParams) WithRequestBody(requestBody *models.VMUpdateDiskParams) *UpdateVMDiskParams
WithRequestBody adds the requestBody to the update Vm disk params
func (*UpdateVMDiskParams) WithTimeout ¶
func (o *UpdateVMDiskParams) WithTimeout(timeout time.Duration) *UpdateVMDiskParams
WithTimeout adds the timeout to the update Vm disk params
func (*UpdateVMDiskParams) WriteToRequest ¶
func (o *UpdateVMDiskParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateVMDiskReader ¶
type UpdateVMDiskReader struct {
// contains filtered or unexported fields
}
UpdateVMDiskReader is a Reader for the UpdateVMDisk structure.
func (*UpdateVMDiskReader) ReadResponse ¶
func (o *UpdateVMDiskReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateVMHostOptionsBadRequest ¶ added in v2.1.0
UpdateVMHostOptionsBadRequest describes a response with status code 400, with default header values.
Bad request
func NewUpdateVMHostOptionsBadRequest ¶ added in v2.1.0
func NewUpdateVMHostOptionsBadRequest() *UpdateVMHostOptionsBadRequest
NewUpdateVMHostOptionsBadRequest creates a UpdateVMHostOptionsBadRequest with default headers values
func (*UpdateVMHostOptionsBadRequest) Error ¶ added in v2.1.0
func (o *UpdateVMHostOptionsBadRequest) Error() string
func (*UpdateVMHostOptionsBadRequest) GetPayload ¶ added in v2.1.0
func (o *UpdateVMHostOptionsBadRequest) GetPayload() *models.ErrorBody
type UpdateVMHostOptionsInternalServerError ¶ added in v2.1.0
type UpdateVMHostOptionsInternalServerError struct { XTowerRequestID string Payload *models.ErrorBody }
UpdateVMHostOptionsInternalServerError describes a response with status code 500, with default header values.
Server error
func NewUpdateVMHostOptionsInternalServerError ¶ added in v2.1.0
func NewUpdateVMHostOptionsInternalServerError() *UpdateVMHostOptionsInternalServerError
NewUpdateVMHostOptionsInternalServerError creates a UpdateVMHostOptionsInternalServerError with default headers values
func (*UpdateVMHostOptionsInternalServerError) Error ¶ added in v2.1.0
func (o *UpdateVMHostOptionsInternalServerError) Error() string
func (*UpdateVMHostOptionsInternalServerError) GetPayload ¶ added in v2.1.0
func (o *UpdateVMHostOptionsInternalServerError) GetPayload() *models.ErrorBody
type UpdateVMHostOptionsNotFound ¶ added in v2.1.0
UpdateVMHostOptionsNotFound describes a response with status code 404, with default header values.
Not found
func NewUpdateVMHostOptionsNotFound ¶ added in v2.1.0
func NewUpdateVMHostOptionsNotFound() *UpdateVMHostOptionsNotFound
NewUpdateVMHostOptionsNotFound creates a UpdateVMHostOptionsNotFound with default headers values
func (*UpdateVMHostOptionsNotFound) Error ¶ added in v2.1.0
func (o *UpdateVMHostOptionsNotFound) Error() string
func (*UpdateVMHostOptionsNotFound) GetPayload ¶ added in v2.1.0
func (o *UpdateVMHostOptionsNotFound) GetPayload() *models.ErrorBody
type UpdateVMHostOptionsNotModified ¶ added in v2.1.0
type UpdateVMHostOptionsNotModified struct { }
UpdateVMHostOptionsNotModified describes a response with status code 304, with default header values.
Not modified
func NewUpdateVMHostOptionsNotModified ¶ added in v2.1.0
func NewUpdateVMHostOptionsNotModified() *UpdateVMHostOptionsNotModified
NewUpdateVMHostOptionsNotModified creates a UpdateVMHostOptionsNotModified with default headers values
func (*UpdateVMHostOptionsNotModified) Error ¶ added in v2.1.0
func (o *UpdateVMHostOptionsNotModified) Error() string
type UpdateVMHostOptionsOK ¶ added in v2.1.0
type UpdateVMHostOptionsOK struct { XTowerRequestID string Payload []*models.WithTaskVM }
UpdateVMHostOptionsOK describes a response with status code 200, with default header values.
UpdateVMHostOptionsOK update Vm host options o k
func NewUpdateVMHostOptionsOK ¶ added in v2.1.0
func NewUpdateVMHostOptionsOK() *UpdateVMHostOptionsOK
NewUpdateVMHostOptionsOK creates a UpdateVMHostOptionsOK with default headers values
func (*UpdateVMHostOptionsOK) Error ¶ added in v2.1.0
func (o *UpdateVMHostOptionsOK) Error() string
func (*UpdateVMHostOptionsOK) GetPayload ¶ added in v2.1.0
func (o *UpdateVMHostOptionsOK) GetPayload() []*models.WithTaskVM
type UpdateVMHostOptionsParams ¶ added in v2.1.0
type UpdateVMHostOptionsParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.VMUpdateHostOptionsParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateVMHostOptionsParams contains all the parameters to send to the API endpoint
for the update Vm host options operation. Typically these are written to a http.Request.
func NewUpdateVMHostOptionsParams ¶ added in v2.1.0
func NewUpdateVMHostOptionsParams() *UpdateVMHostOptionsParams
NewUpdateVMHostOptionsParams creates a new UpdateVMHostOptionsParams 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 NewUpdateVMHostOptionsParamsWithContext ¶ added in v2.1.0
func NewUpdateVMHostOptionsParamsWithContext(ctx context.Context) *UpdateVMHostOptionsParams
NewUpdateVMHostOptionsParamsWithContext creates a new UpdateVMHostOptionsParams object with the ability to set a context for a request.
func NewUpdateVMHostOptionsParamsWithHTTPClient ¶ added in v2.1.0
func NewUpdateVMHostOptionsParamsWithHTTPClient(client *http.Client) *UpdateVMHostOptionsParams
NewUpdateVMHostOptionsParamsWithHTTPClient creates a new UpdateVMHostOptionsParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateVMHostOptionsParamsWithTimeout ¶ added in v2.1.0
func NewUpdateVMHostOptionsParamsWithTimeout(timeout time.Duration) *UpdateVMHostOptionsParams
NewUpdateVMHostOptionsParamsWithTimeout creates a new UpdateVMHostOptionsParams object with the ability to set a timeout on a request.
func (*UpdateVMHostOptionsParams) SetContentLanguage ¶ added in v2.1.0
func (o *UpdateVMHostOptionsParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the update Vm host options params
func (*UpdateVMHostOptionsParams) SetContext ¶ added in v2.1.0
func (o *UpdateVMHostOptionsParams) SetContext(ctx context.Context)
SetContext adds the context to the update Vm host options params
func (*UpdateVMHostOptionsParams) SetDefaults ¶ added in v2.1.0
func (o *UpdateVMHostOptionsParams) SetDefaults()
SetDefaults hydrates default values in the update Vm host options params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateVMHostOptionsParams) SetHTTPClient ¶ added in v2.1.0
func (o *UpdateVMHostOptionsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update Vm host options params
func (*UpdateVMHostOptionsParams) SetRequestBody ¶ added in v2.1.0
func (o *UpdateVMHostOptionsParams) SetRequestBody(requestBody *models.VMUpdateHostOptionsParams)
SetRequestBody adds the requestBody to the update Vm host options params
func (*UpdateVMHostOptionsParams) SetTimeout ¶ added in v2.1.0
func (o *UpdateVMHostOptionsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update Vm host options params
func (*UpdateVMHostOptionsParams) WithContentLanguage ¶ added in v2.1.0
func (o *UpdateVMHostOptionsParams) WithContentLanguage(contentLanguage *string) *UpdateVMHostOptionsParams
WithContentLanguage adds the contentLanguage to the update Vm host options params
func (*UpdateVMHostOptionsParams) WithContext ¶ added in v2.1.0
func (o *UpdateVMHostOptionsParams) WithContext(ctx context.Context) *UpdateVMHostOptionsParams
WithContext adds the context to the update Vm host options params
func (*UpdateVMHostOptionsParams) WithDefaults ¶ added in v2.1.0
func (o *UpdateVMHostOptionsParams) WithDefaults() *UpdateVMHostOptionsParams
WithDefaults hydrates default values in the update Vm host options params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateVMHostOptionsParams) WithHTTPClient ¶ added in v2.1.0
func (o *UpdateVMHostOptionsParams) WithHTTPClient(client *http.Client) *UpdateVMHostOptionsParams
WithHTTPClient adds the HTTPClient to the update Vm host options params
func (*UpdateVMHostOptionsParams) WithRequestBody ¶ added in v2.1.0
func (o *UpdateVMHostOptionsParams) WithRequestBody(requestBody *models.VMUpdateHostOptionsParams) *UpdateVMHostOptionsParams
WithRequestBody adds the requestBody to the update Vm host options params
func (*UpdateVMHostOptionsParams) WithTimeout ¶ added in v2.1.0
func (o *UpdateVMHostOptionsParams) WithTimeout(timeout time.Duration) *UpdateVMHostOptionsParams
WithTimeout adds the timeout to the update Vm host options params
func (*UpdateVMHostOptionsParams) WriteToRequest ¶ added in v2.1.0
func (o *UpdateVMHostOptionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateVMHostOptionsReader ¶ added in v2.1.0
type UpdateVMHostOptionsReader struct {
// contains filtered or unexported fields
}
UpdateVMHostOptionsReader is a Reader for the UpdateVMHostOptions structure.
func (*UpdateVMHostOptionsReader) ReadResponse ¶ added in v2.1.0
func (o *UpdateVMHostOptionsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateVMInternalServerError ¶
UpdateVMInternalServerError describes a response with status code 500, with default header values.
Server error
func NewUpdateVMInternalServerError ¶
func NewUpdateVMInternalServerError() *UpdateVMInternalServerError
NewUpdateVMInternalServerError creates a UpdateVMInternalServerError with default headers values
func (*UpdateVMInternalServerError) Error ¶
func (o *UpdateVMInternalServerError) Error() string
func (*UpdateVMInternalServerError) GetPayload ¶
func (o *UpdateVMInternalServerError) GetPayload() *models.ErrorBody
type UpdateVMIoPolicyBadRequest ¶ added in v2.4.0
UpdateVMIoPolicyBadRequest describes a response with status code 400, with default header values.
Bad request
func NewUpdateVMIoPolicyBadRequest ¶ added in v2.4.0
func NewUpdateVMIoPolicyBadRequest() *UpdateVMIoPolicyBadRequest
NewUpdateVMIoPolicyBadRequest creates a UpdateVMIoPolicyBadRequest with default headers values
func (*UpdateVMIoPolicyBadRequest) Error ¶ added in v2.4.0
func (o *UpdateVMIoPolicyBadRequest) Error() string
func (*UpdateVMIoPolicyBadRequest) GetPayload ¶ added in v2.4.0
func (o *UpdateVMIoPolicyBadRequest) GetPayload() *models.ErrorBody
type UpdateVMIoPolicyInternalServerError ¶ added in v2.4.0
type UpdateVMIoPolicyInternalServerError struct { XTowerRequestID string Payload *models.ErrorBody }
UpdateVMIoPolicyInternalServerError describes a response with status code 500, with default header values.
Server error
func NewUpdateVMIoPolicyInternalServerError ¶ added in v2.4.0
func NewUpdateVMIoPolicyInternalServerError() *UpdateVMIoPolicyInternalServerError
NewUpdateVMIoPolicyInternalServerError creates a UpdateVMIoPolicyInternalServerError with default headers values
func (*UpdateVMIoPolicyInternalServerError) Error ¶ added in v2.4.0
func (o *UpdateVMIoPolicyInternalServerError) Error() string
func (*UpdateVMIoPolicyInternalServerError) GetPayload ¶ added in v2.4.0
func (o *UpdateVMIoPolicyInternalServerError) GetPayload() *models.ErrorBody
type UpdateVMIoPolicyNotFound ¶ added in v2.4.0
UpdateVMIoPolicyNotFound describes a response with status code 404, with default header values.
Not found
func NewUpdateVMIoPolicyNotFound ¶ added in v2.4.0
func NewUpdateVMIoPolicyNotFound() *UpdateVMIoPolicyNotFound
NewUpdateVMIoPolicyNotFound creates a UpdateVMIoPolicyNotFound with default headers values
func (*UpdateVMIoPolicyNotFound) Error ¶ added in v2.4.0
func (o *UpdateVMIoPolicyNotFound) Error() string
func (*UpdateVMIoPolicyNotFound) GetPayload ¶ added in v2.4.0
func (o *UpdateVMIoPolicyNotFound) GetPayload() *models.ErrorBody
type UpdateVMIoPolicyNotModified ¶ added in v2.4.0
type UpdateVMIoPolicyNotModified struct { }
UpdateVMIoPolicyNotModified describes a response with status code 304, with default header values.
Not modified
func NewUpdateVMIoPolicyNotModified ¶ added in v2.4.0
func NewUpdateVMIoPolicyNotModified() *UpdateVMIoPolicyNotModified
NewUpdateVMIoPolicyNotModified creates a UpdateVMIoPolicyNotModified with default headers values
func (*UpdateVMIoPolicyNotModified) Error ¶ added in v2.4.0
func (o *UpdateVMIoPolicyNotModified) Error() string
type UpdateVMIoPolicyOK ¶ added in v2.4.0
type UpdateVMIoPolicyOK struct { XTowerRequestID string Payload []*models.WithTaskVM }
UpdateVMIoPolicyOK describes a response with status code 200, with default header values.
UpdateVMIoPolicyOK update Vm io policy o k
func NewUpdateVMIoPolicyOK ¶ added in v2.4.0
func NewUpdateVMIoPolicyOK() *UpdateVMIoPolicyOK
NewUpdateVMIoPolicyOK creates a UpdateVMIoPolicyOK with default headers values
func (*UpdateVMIoPolicyOK) Error ¶ added in v2.4.0
func (o *UpdateVMIoPolicyOK) Error() string
func (*UpdateVMIoPolicyOK) GetPayload ¶ added in v2.4.0
func (o *UpdateVMIoPolicyOK) GetPayload() []*models.WithTaskVM
type UpdateVMIoPolicyParams ¶ added in v2.4.0
type UpdateVMIoPolicyParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.VMUpdateIoPolicyParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateVMIoPolicyParams contains all the parameters to send to the API endpoint
for the update Vm io policy operation. Typically these are written to a http.Request.
func NewUpdateVMIoPolicyParams ¶ added in v2.4.0
func NewUpdateVMIoPolicyParams() *UpdateVMIoPolicyParams
NewUpdateVMIoPolicyParams creates a new UpdateVMIoPolicyParams 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 NewUpdateVMIoPolicyParamsWithContext ¶ added in v2.4.0
func NewUpdateVMIoPolicyParamsWithContext(ctx context.Context) *UpdateVMIoPolicyParams
NewUpdateVMIoPolicyParamsWithContext creates a new UpdateVMIoPolicyParams object with the ability to set a context for a request.
func NewUpdateVMIoPolicyParamsWithHTTPClient ¶ added in v2.4.0
func NewUpdateVMIoPolicyParamsWithHTTPClient(client *http.Client) *UpdateVMIoPolicyParams
NewUpdateVMIoPolicyParamsWithHTTPClient creates a new UpdateVMIoPolicyParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateVMIoPolicyParamsWithTimeout ¶ added in v2.4.0
func NewUpdateVMIoPolicyParamsWithTimeout(timeout time.Duration) *UpdateVMIoPolicyParams
NewUpdateVMIoPolicyParamsWithTimeout creates a new UpdateVMIoPolicyParams object with the ability to set a timeout on a request.
func (*UpdateVMIoPolicyParams) SetContentLanguage ¶ added in v2.4.0
func (o *UpdateVMIoPolicyParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the update Vm io policy params
func (*UpdateVMIoPolicyParams) SetContext ¶ added in v2.4.0
func (o *UpdateVMIoPolicyParams) SetContext(ctx context.Context)
SetContext adds the context to the update Vm io policy params
func (*UpdateVMIoPolicyParams) SetDefaults ¶ added in v2.4.0
func (o *UpdateVMIoPolicyParams) SetDefaults()
SetDefaults hydrates default values in the update Vm io policy params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateVMIoPolicyParams) SetHTTPClient ¶ added in v2.4.0
func (o *UpdateVMIoPolicyParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update Vm io policy params
func (*UpdateVMIoPolicyParams) SetRequestBody ¶ added in v2.4.0
func (o *UpdateVMIoPolicyParams) SetRequestBody(requestBody *models.VMUpdateIoPolicyParams)
SetRequestBody adds the requestBody to the update Vm io policy params
func (*UpdateVMIoPolicyParams) SetTimeout ¶ added in v2.4.0
func (o *UpdateVMIoPolicyParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update Vm io policy params
func (*UpdateVMIoPolicyParams) WithContentLanguage ¶ added in v2.4.0
func (o *UpdateVMIoPolicyParams) WithContentLanguage(contentLanguage *string) *UpdateVMIoPolicyParams
WithContentLanguage adds the contentLanguage to the update Vm io policy params
func (*UpdateVMIoPolicyParams) WithContext ¶ added in v2.4.0
func (o *UpdateVMIoPolicyParams) WithContext(ctx context.Context) *UpdateVMIoPolicyParams
WithContext adds the context to the update Vm io policy params
func (*UpdateVMIoPolicyParams) WithDefaults ¶ added in v2.4.0
func (o *UpdateVMIoPolicyParams) WithDefaults() *UpdateVMIoPolicyParams
WithDefaults hydrates default values in the update Vm io policy params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateVMIoPolicyParams) WithHTTPClient ¶ added in v2.4.0
func (o *UpdateVMIoPolicyParams) WithHTTPClient(client *http.Client) *UpdateVMIoPolicyParams
WithHTTPClient adds the HTTPClient to the update Vm io policy params
func (*UpdateVMIoPolicyParams) WithRequestBody ¶ added in v2.4.0
func (o *UpdateVMIoPolicyParams) WithRequestBody(requestBody *models.VMUpdateIoPolicyParams) *UpdateVMIoPolicyParams
WithRequestBody adds the requestBody to the update Vm io policy params
func (*UpdateVMIoPolicyParams) WithTimeout ¶ added in v2.4.0
func (o *UpdateVMIoPolicyParams) WithTimeout(timeout time.Duration) *UpdateVMIoPolicyParams
WithTimeout adds the timeout to the update Vm io policy params
func (*UpdateVMIoPolicyParams) WriteToRequest ¶ added in v2.4.0
func (o *UpdateVMIoPolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateVMIoPolicyReader ¶ added in v2.4.0
type UpdateVMIoPolicyReader struct {
// contains filtered or unexported fields
}
UpdateVMIoPolicyReader is a Reader for the UpdateVMIoPolicy structure.
func (*UpdateVMIoPolicyReader) ReadResponse ¶ added in v2.4.0
func (o *UpdateVMIoPolicyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateVMNicAdvanceInfoBadRequest ¶
UpdateVMNicAdvanceInfoBadRequest describes a response with status code 400, with default header values.
Bad request
func NewUpdateVMNicAdvanceInfoBadRequest ¶
func NewUpdateVMNicAdvanceInfoBadRequest() *UpdateVMNicAdvanceInfoBadRequest
NewUpdateVMNicAdvanceInfoBadRequest creates a UpdateVMNicAdvanceInfoBadRequest with default headers values
func (*UpdateVMNicAdvanceInfoBadRequest) Error ¶
func (o *UpdateVMNicAdvanceInfoBadRequest) Error() string
func (*UpdateVMNicAdvanceInfoBadRequest) GetPayload ¶
func (o *UpdateVMNicAdvanceInfoBadRequest) GetPayload() *models.ErrorBody
type UpdateVMNicAdvanceInfoInternalServerError ¶
type UpdateVMNicAdvanceInfoInternalServerError struct { XTowerRequestID string Payload *models.ErrorBody }
UpdateVMNicAdvanceInfoInternalServerError describes a response with status code 500, with default header values.
Server error
func NewUpdateVMNicAdvanceInfoInternalServerError ¶
func NewUpdateVMNicAdvanceInfoInternalServerError() *UpdateVMNicAdvanceInfoInternalServerError
NewUpdateVMNicAdvanceInfoInternalServerError creates a UpdateVMNicAdvanceInfoInternalServerError with default headers values
func (*UpdateVMNicAdvanceInfoInternalServerError) Error ¶
func (o *UpdateVMNicAdvanceInfoInternalServerError) Error() string
func (*UpdateVMNicAdvanceInfoInternalServerError) GetPayload ¶
func (o *UpdateVMNicAdvanceInfoInternalServerError) GetPayload() *models.ErrorBody
type UpdateVMNicAdvanceInfoNotFound ¶
UpdateVMNicAdvanceInfoNotFound describes a response with status code 404, with default header values.
Not found
func NewUpdateVMNicAdvanceInfoNotFound ¶
func NewUpdateVMNicAdvanceInfoNotFound() *UpdateVMNicAdvanceInfoNotFound
NewUpdateVMNicAdvanceInfoNotFound creates a UpdateVMNicAdvanceInfoNotFound with default headers values
func (*UpdateVMNicAdvanceInfoNotFound) Error ¶
func (o *UpdateVMNicAdvanceInfoNotFound) Error() string
func (*UpdateVMNicAdvanceInfoNotFound) GetPayload ¶
func (o *UpdateVMNicAdvanceInfoNotFound) GetPayload() *models.ErrorBody
type UpdateVMNicAdvanceInfoNotModified ¶
type UpdateVMNicAdvanceInfoNotModified struct { }
UpdateVMNicAdvanceInfoNotModified describes a response with status code 304, with default header values.
Not modified
func NewUpdateVMNicAdvanceInfoNotModified ¶
func NewUpdateVMNicAdvanceInfoNotModified() *UpdateVMNicAdvanceInfoNotModified
NewUpdateVMNicAdvanceInfoNotModified creates a UpdateVMNicAdvanceInfoNotModified with default headers values
func (*UpdateVMNicAdvanceInfoNotModified) Error ¶
func (o *UpdateVMNicAdvanceInfoNotModified) Error() string
type UpdateVMNicAdvanceInfoOK ¶
type UpdateVMNicAdvanceInfoOK struct { XTowerRequestID string Payload []*models.WithTaskVM }
UpdateVMNicAdvanceInfoOK describes a response with status code 200, with default header values.
UpdateVMNicAdvanceInfoOK update Vm nic advance info o k
func NewUpdateVMNicAdvanceInfoOK ¶
func NewUpdateVMNicAdvanceInfoOK() *UpdateVMNicAdvanceInfoOK
NewUpdateVMNicAdvanceInfoOK creates a UpdateVMNicAdvanceInfoOK with default headers values
func (*UpdateVMNicAdvanceInfoOK) Error ¶
func (o *UpdateVMNicAdvanceInfoOK) Error() string
func (*UpdateVMNicAdvanceInfoOK) GetPayload ¶
func (o *UpdateVMNicAdvanceInfoOK) GetPayload() []*models.WithTaskVM
type UpdateVMNicAdvanceInfoParams ¶
type UpdateVMNicAdvanceInfoParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.VMUpdateNicAdvanceInfoParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateVMNicAdvanceInfoParams contains all the parameters to send to the API endpoint
for the update Vm nic advance info operation. Typically these are written to a http.Request.
func NewUpdateVMNicAdvanceInfoParams ¶
func NewUpdateVMNicAdvanceInfoParams() *UpdateVMNicAdvanceInfoParams
NewUpdateVMNicAdvanceInfoParams creates a new UpdateVMNicAdvanceInfoParams 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 NewUpdateVMNicAdvanceInfoParamsWithContext ¶
func NewUpdateVMNicAdvanceInfoParamsWithContext(ctx context.Context) *UpdateVMNicAdvanceInfoParams
NewUpdateVMNicAdvanceInfoParamsWithContext creates a new UpdateVMNicAdvanceInfoParams object with the ability to set a context for a request.
func NewUpdateVMNicAdvanceInfoParamsWithHTTPClient ¶
func NewUpdateVMNicAdvanceInfoParamsWithHTTPClient(client *http.Client) *UpdateVMNicAdvanceInfoParams
NewUpdateVMNicAdvanceInfoParamsWithHTTPClient creates a new UpdateVMNicAdvanceInfoParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateVMNicAdvanceInfoParamsWithTimeout ¶
func NewUpdateVMNicAdvanceInfoParamsWithTimeout(timeout time.Duration) *UpdateVMNicAdvanceInfoParams
NewUpdateVMNicAdvanceInfoParamsWithTimeout creates a new UpdateVMNicAdvanceInfoParams object with the ability to set a timeout on a request.
func (*UpdateVMNicAdvanceInfoParams) SetContentLanguage ¶
func (o *UpdateVMNicAdvanceInfoParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the update Vm nic advance info params
func (*UpdateVMNicAdvanceInfoParams) SetContext ¶
func (o *UpdateVMNicAdvanceInfoParams) SetContext(ctx context.Context)
SetContext adds the context to the update Vm nic advance info params
func (*UpdateVMNicAdvanceInfoParams) SetDefaults ¶
func (o *UpdateVMNicAdvanceInfoParams) SetDefaults()
SetDefaults hydrates default values in the update Vm nic advance info params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateVMNicAdvanceInfoParams) SetHTTPClient ¶
func (o *UpdateVMNicAdvanceInfoParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update Vm nic advance info params
func (*UpdateVMNicAdvanceInfoParams) SetRequestBody ¶
func (o *UpdateVMNicAdvanceInfoParams) SetRequestBody(requestBody *models.VMUpdateNicAdvanceInfoParams)
SetRequestBody adds the requestBody to the update Vm nic advance info params
func (*UpdateVMNicAdvanceInfoParams) SetTimeout ¶
func (o *UpdateVMNicAdvanceInfoParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update Vm nic advance info params
func (*UpdateVMNicAdvanceInfoParams) WithContentLanguage ¶
func (o *UpdateVMNicAdvanceInfoParams) WithContentLanguage(contentLanguage *string) *UpdateVMNicAdvanceInfoParams
WithContentLanguage adds the contentLanguage to the update Vm nic advance info params
func (*UpdateVMNicAdvanceInfoParams) WithContext ¶
func (o *UpdateVMNicAdvanceInfoParams) WithContext(ctx context.Context) *UpdateVMNicAdvanceInfoParams
WithContext adds the context to the update Vm nic advance info params
func (*UpdateVMNicAdvanceInfoParams) WithDefaults ¶
func (o *UpdateVMNicAdvanceInfoParams) WithDefaults() *UpdateVMNicAdvanceInfoParams
WithDefaults hydrates default values in the update Vm nic advance info params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateVMNicAdvanceInfoParams) WithHTTPClient ¶
func (o *UpdateVMNicAdvanceInfoParams) WithHTTPClient(client *http.Client) *UpdateVMNicAdvanceInfoParams
WithHTTPClient adds the HTTPClient to the update Vm nic advance info params
func (*UpdateVMNicAdvanceInfoParams) WithRequestBody ¶
func (o *UpdateVMNicAdvanceInfoParams) WithRequestBody(requestBody *models.VMUpdateNicAdvanceInfoParams) *UpdateVMNicAdvanceInfoParams
WithRequestBody adds the requestBody to the update Vm nic advance info params
func (*UpdateVMNicAdvanceInfoParams) WithTimeout ¶
func (o *UpdateVMNicAdvanceInfoParams) WithTimeout(timeout time.Duration) *UpdateVMNicAdvanceInfoParams
WithTimeout adds the timeout to the update Vm nic advance info params
func (*UpdateVMNicAdvanceInfoParams) WriteToRequest ¶
func (o *UpdateVMNicAdvanceInfoParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateVMNicAdvanceInfoReader ¶
type UpdateVMNicAdvanceInfoReader struct {
// contains filtered or unexported fields
}
UpdateVMNicAdvanceInfoReader is a Reader for the UpdateVMNicAdvanceInfo structure.
func (*UpdateVMNicAdvanceInfoReader) ReadResponse ¶
func (o *UpdateVMNicAdvanceInfoReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateVMNicBadRequest ¶
UpdateVMNicBadRequest describes a response with status code 400, with default header values.
Bad request
func NewUpdateVMNicBadRequest ¶
func NewUpdateVMNicBadRequest() *UpdateVMNicBadRequest
NewUpdateVMNicBadRequest creates a UpdateVMNicBadRequest with default headers values
func (*UpdateVMNicBadRequest) Error ¶
func (o *UpdateVMNicBadRequest) Error() string
func (*UpdateVMNicBadRequest) GetPayload ¶
func (o *UpdateVMNicBadRequest) GetPayload() *models.ErrorBody
type UpdateVMNicBasicInfoBadRequest ¶
UpdateVMNicBasicInfoBadRequest describes a response with status code 400, with default header values.
Bad request
func NewUpdateVMNicBasicInfoBadRequest ¶
func NewUpdateVMNicBasicInfoBadRequest() *UpdateVMNicBasicInfoBadRequest
NewUpdateVMNicBasicInfoBadRequest creates a UpdateVMNicBasicInfoBadRequest with default headers values
func (*UpdateVMNicBasicInfoBadRequest) Error ¶
func (o *UpdateVMNicBasicInfoBadRequest) Error() string
func (*UpdateVMNicBasicInfoBadRequest) GetPayload ¶
func (o *UpdateVMNicBasicInfoBadRequest) GetPayload() *models.ErrorBody
type UpdateVMNicBasicInfoInternalServerError ¶
type UpdateVMNicBasicInfoInternalServerError struct { XTowerRequestID string Payload *models.ErrorBody }
UpdateVMNicBasicInfoInternalServerError describes a response with status code 500, with default header values.
Server error
func NewUpdateVMNicBasicInfoInternalServerError ¶
func NewUpdateVMNicBasicInfoInternalServerError() *UpdateVMNicBasicInfoInternalServerError
NewUpdateVMNicBasicInfoInternalServerError creates a UpdateVMNicBasicInfoInternalServerError with default headers values
func (*UpdateVMNicBasicInfoInternalServerError) Error ¶
func (o *UpdateVMNicBasicInfoInternalServerError) Error() string
func (*UpdateVMNicBasicInfoInternalServerError) GetPayload ¶
func (o *UpdateVMNicBasicInfoInternalServerError) GetPayload() *models.ErrorBody
type UpdateVMNicBasicInfoNotFound ¶
UpdateVMNicBasicInfoNotFound describes a response with status code 404, with default header values.
Not found
func NewUpdateVMNicBasicInfoNotFound ¶
func NewUpdateVMNicBasicInfoNotFound() *UpdateVMNicBasicInfoNotFound
NewUpdateVMNicBasicInfoNotFound creates a UpdateVMNicBasicInfoNotFound with default headers values
func (*UpdateVMNicBasicInfoNotFound) Error ¶
func (o *UpdateVMNicBasicInfoNotFound) Error() string
func (*UpdateVMNicBasicInfoNotFound) GetPayload ¶
func (o *UpdateVMNicBasicInfoNotFound) GetPayload() *models.ErrorBody
type UpdateVMNicBasicInfoNotModified ¶
type UpdateVMNicBasicInfoNotModified struct { }
UpdateVMNicBasicInfoNotModified describes a response with status code 304, with default header values.
Not modified
func NewUpdateVMNicBasicInfoNotModified ¶
func NewUpdateVMNicBasicInfoNotModified() *UpdateVMNicBasicInfoNotModified
NewUpdateVMNicBasicInfoNotModified creates a UpdateVMNicBasicInfoNotModified with default headers values
func (*UpdateVMNicBasicInfoNotModified) Error ¶
func (o *UpdateVMNicBasicInfoNotModified) Error() string
type UpdateVMNicBasicInfoOK ¶
type UpdateVMNicBasicInfoOK struct { XTowerRequestID string Payload []*models.WithTaskVM }
UpdateVMNicBasicInfoOK describes a response with status code 200, with default header values.
UpdateVMNicBasicInfoOK update Vm nic basic info o k
func NewUpdateVMNicBasicInfoOK ¶
func NewUpdateVMNicBasicInfoOK() *UpdateVMNicBasicInfoOK
NewUpdateVMNicBasicInfoOK creates a UpdateVMNicBasicInfoOK with default headers values
func (*UpdateVMNicBasicInfoOK) Error ¶
func (o *UpdateVMNicBasicInfoOK) Error() string
func (*UpdateVMNicBasicInfoOK) GetPayload ¶
func (o *UpdateVMNicBasicInfoOK) GetPayload() []*models.WithTaskVM
type UpdateVMNicBasicInfoParams ¶
type UpdateVMNicBasicInfoParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.VMUpdateNicBasicInfoParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateVMNicBasicInfoParams contains all the parameters to send to the API endpoint
for the update Vm nic basic info operation. Typically these are written to a http.Request.
func NewUpdateVMNicBasicInfoParams ¶
func NewUpdateVMNicBasicInfoParams() *UpdateVMNicBasicInfoParams
NewUpdateVMNicBasicInfoParams creates a new UpdateVMNicBasicInfoParams 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 NewUpdateVMNicBasicInfoParamsWithContext ¶
func NewUpdateVMNicBasicInfoParamsWithContext(ctx context.Context) *UpdateVMNicBasicInfoParams
NewUpdateVMNicBasicInfoParamsWithContext creates a new UpdateVMNicBasicInfoParams object with the ability to set a context for a request.
func NewUpdateVMNicBasicInfoParamsWithHTTPClient ¶
func NewUpdateVMNicBasicInfoParamsWithHTTPClient(client *http.Client) *UpdateVMNicBasicInfoParams
NewUpdateVMNicBasicInfoParamsWithHTTPClient creates a new UpdateVMNicBasicInfoParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateVMNicBasicInfoParamsWithTimeout ¶
func NewUpdateVMNicBasicInfoParamsWithTimeout(timeout time.Duration) *UpdateVMNicBasicInfoParams
NewUpdateVMNicBasicInfoParamsWithTimeout creates a new UpdateVMNicBasicInfoParams object with the ability to set a timeout on a request.
func (*UpdateVMNicBasicInfoParams) SetContentLanguage ¶
func (o *UpdateVMNicBasicInfoParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the update Vm nic basic info params
func (*UpdateVMNicBasicInfoParams) SetContext ¶
func (o *UpdateVMNicBasicInfoParams) SetContext(ctx context.Context)
SetContext adds the context to the update Vm nic basic info params
func (*UpdateVMNicBasicInfoParams) SetDefaults ¶
func (o *UpdateVMNicBasicInfoParams) SetDefaults()
SetDefaults hydrates default values in the update Vm nic basic info params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateVMNicBasicInfoParams) SetHTTPClient ¶
func (o *UpdateVMNicBasicInfoParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update Vm nic basic info params
func (*UpdateVMNicBasicInfoParams) SetRequestBody ¶
func (o *UpdateVMNicBasicInfoParams) SetRequestBody(requestBody *models.VMUpdateNicBasicInfoParams)
SetRequestBody adds the requestBody to the update Vm nic basic info params
func (*UpdateVMNicBasicInfoParams) SetTimeout ¶
func (o *UpdateVMNicBasicInfoParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update Vm nic basic info params
func (*UpdateVMNicBasicInfoParams) WithContentLanguage ¶
func (o *UpdateVMNicBasicInfoParams) WithContentLanguage(contentLanguage *string) *UpdateVMNicBasicInfoParams
WithContentLanguage adds the contentLanguage to the update Vm nic basic info params
func (*UpdateVMNicBasicInfoParams) WithContext ¶
func (o *UpdateVMNicBasicInfoParams) WithContext(ctx context.Context) *UpdateVMNicBasicInfoParams
WithContext adds the context to the update Vm nic basic info params
func (*UpdateVMNicBasicInfoParams) WithDefaults ¶
func (o *UpdateVMNicBasicInfoParams) WithDefaults() *UpdateVMNicBasicInfoParams
WithDefaults hydrates default values in the update Vm nic basic info params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateVMNicBasicInfoParams) WithHTTPClient ¶
func (o *UpdateVMNicBasicInfoParams) WithHTTPClient(client *http.Client) *UpdateVMNicBasicInfoParams
WithHTTPClient adds the HTTPClient to the update Vm nic basic info params
func (*UpdateVMNicBasicInfoParams) WithRequestBody ¶
func (o *UpdateVMNicBasicInfoParams) WithRequestBody(requestBody *models.VMUpdateNicBasicInfoParams) *UpdateVMNicBasicInfoParams
WithRequestBody adds the requestBody to the update Vm nic basic info params
func (*UpdateVMNicBasicInfoParams) WithTimeout ¶
func (o *UpdateVMNicBasicInfoParams) WithTimeout(timeout time.Duration) *UpdateVMNicBasicInfoParams
WithTimeout adds the timeout to the update Vm nic basic info params
func (*UpdateVMNicBasicInfoParams) WriteToRequest ¶
func (o *UpdateVMNicBasicInfoParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateVMNicBasicInfoReader ¶
type UpdateVMNicBasicInfoReader struct {
// contains filtered or unexported fields
}
UpdateVMNicBasicInfoReader is a Reader for the UpdateVMNicBasicInfo structure.
func (*UpdateVMNicBasicInfoReader) ReadResponse ¶
func (o *UpdateVMNicBasicInfoReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateVMNicInternalServerError ¶
UpdateVMNicInternalServerError describes a response with status code 500, with default header values.
Server error
func NewUpdateVMNicInternalServerError ¶
func NewUpdateVMNicInternalServerError() *UpdateVMNicInternalServerError
NewUpdateVMNicInternalServerError creates a UpdateVMNicInternalServerError with default headers values
func (*UpdateVMNicInternalServerError) Error ¶
func (o *UpdateVMNicInternalServerError) Error() string
func (*UpdateVMNicInternalServerError) GetPayload ¶
func (o *UpdateVMNicInternalServerError) GetPayload() *models.ErrorBody
type UpdateVMNicNotFound ¶
UpdateVMNicNotFound describes a response with status code 404, with default header values.
Not found
func NewUpdateVMNicNotFound ¶
func NewUpdateVMNicNotFound() *UpdateVMNicNotFound
NewUpdateVMNicNotFound creates a UpdateVMNicNotFound with default headers values
func (*UpdateVMNicNotFound) Error ¶
func (o *UpdateVMNicNotFound) Error() string
func (*UpdateVMNicNotFound) GetPayload ¶
func (o *UpdateVMNicNotFound) GetPayload() *models.ErrorBody
type UpdateVMNicOK ¶
type UpdateVMNicOK struct { XTowerRequestID string Payload []*models.WithTaskVM }
UpdateVMNicOK describes a response with status code 200, with default header values.
UpdateVMNicOK update Vm nic o k
func NewUpdateVMNicOK ¶
func NewUpdateVMNicOK() *UpdateVMNicOK
NewUpdateVMNicOK creates a UpdateVMNicOK with default headers values
func (*UpdateVMNicOK) Error ¶
func (o *UpdateVMNicOK) Error() string
func (*UpdateVMNicOK) GetPayload ¶
func (o *UpdateVMNicOK) GetPayload() []*models.WithTaskVM
type UpdateVMNicParams ¶
type UpdateVMNicParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.VMUpdateNicParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateVMNicParams contains all the parameters to send to the API endpoint
for the update Vm nic operation. Typically these are written to a http.Request.
func NewUpdateVMNicParams ¶
func NewUpdateVMNicParams() *UpdateVMNicParams
NewUpdateVMNicParams creates a new UpdateVMNicParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewUpdateVMNicParamsWithContext ¶
func NewUpdateVMNicParamsWithContext(ctx context.Context) *UpdateVMNicParams
NewUpdateVMNicParamsWithContext creates a new UpdateVMNicParams object with the ability to set a context for a request.
func NewUpdateVMNicParamsWithHTTPClient ¶
func NewUpdateVMNicParamsWithHTTPClient(client *http.Client) *UpdateVMNicParams
NewUpdateVMNicParamsWithHTTPClient creates a new UpdateVMNicParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateVMNicParamsWithTimeout ¶
func NewUpdateVMNicParamsWithTimeout(timeout time.Duration) *UpdateVMNicParams
NewUpdateVMNicParamsWithTimeout creates a new UpdateVMNicParams object with the ability to set a timeout on a request.
func (*UpdateVMNicParams) SetContentLanguage ¶
func (o *UpdateVMNicParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the update Vm nic params
func (*UpdateVMNicParams) SetContext ¶
func (o *UpdateVMNicParams) SetContext(ctx context.Context)
SetContext adds the context to the update Vm nic params
func (*UpdateVMNicParams) SetDefaults ¶
func (o *UpdateVMNicParams) SetDefaults()
SetDefaults hydrates default values in the update Vm nic params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateVMNicParams) SetHTTPClient ¶
func (o *UpdateVMNicParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update Vm nic params
func (*UpdateVMNicParams) SetRequestBody ¶
func (o *UpdateVMNicParams) SetRequestBody(requestBody *models.VMUpdateNicParams)
SetRequestBody adds the requestBody to the update Vm nic params
func (*UpdateVMNicParams) SetTimeout ¶
func (o *UpdateVMNicParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update Vm nic params
func (*UpdateVMNicParams) WithContentLanguage ¶
func (o *UpdateVMNicParams) WithContentLanguage(contentLanguage *string) *UpdateVMNicParams
WithContentLanguage adds the contentLanguage to the update Vm nic params
func (*UpdateVMNicParams) WithContext ¶
func (o *UpdateVMNicParams) WithContext(ctx context.Context) *UpdateVMNicParams
WithContext adds the context to the update Vm nic params
func (*UpdateVMNicParams) WithDefaults ¶
func (o *UpdateVMNicParams) WithDefaults() *UpdateVMNicParams
WithDefaults hydrates default values in the update Vm nic params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateVMNicParams) WithHTTPClient ¶
func (o *UpdateVMNicParams) WithHTTPClient(client *http.Client) *UpdateVMNicParams
WithHTTPClient adds the HTTPClient to the update Vm nic params
func (*UpdateVMNicParams) WithRequestBody ¶
func (o *UpdateVMNicParams) WithRequestBody(requestBody *models.VMUpdateNicParams) *UpdateVMNicParams
WithRequestBody adds the requestBody to the update Vm nic params
func (*UpdateVMNicParams) WithTimeout ¶
func (o *UpdateVMNicParams) WithTimeout(timeout time.Duration) *UpdateVMNicParams
WithTimeout adds the timeout to the update Vm nic params
func (*UpdateVMNicParams) WriteToRequest ¶
func (o *UpdateVMNicParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateVMNicQosOptionBadRequest ¶ added in v2.11.0
UpdateVMNicQosOptionBadRequest describes a response with status code 400, with default header values.
Bad request
func NewUpdateVMNicQosOptionBadRequest ¶ added in v2.11.0
func NewUpdateVMNicQosOptionBadRequest() *UpdateVMNicQosOptionBadRequest
NewUpdateVMNicQosOptionBadRequest creates a UpdateVMNicQosOptionBadRequest with default headers values
func (*UpdateVMNicQosOptionBadRequest) Error ¶ added in v2.11.0
func (o *UpdateVMNicQosOptionBadRequest) Error() string
func (*UpdateVMNicQosOptionBadRequest) GetPayload ¶ added in v2.11.0
func (o *UpdateVMNicQosOptionBadRequest) GetPayload() *models.ErrorBody
type UpdateVMNicQosOptionInternalServerError ¶ added in v2.11.0
type UpdateVMNicQosOptionInternalServerError struct { XTowerRequestID string Payload *models.ErrorBody }
UpdateVMNicQosOptionInternalServerError describes a response with status code 500, with default header values.
Server error
func NewUpdateVMNicQosOptionInternalServerError ¶ added in v2.11.0
func NewUpdateVMNicQosOptionInternalServerError() *UpdateVMNicQosOptionInternalServerError
NewUpdateVMNicQosOptionInternalServerError creates a UpdateVMNicQosOptionInternalServerError with default headers values
func (*UpdateVMNicQosOptionInternalServerError) Error ¶ added in v2.11.0
func (o *UpdateVMNicQosOptionInternalServerError) Error() string
func (*UpdateVMNicQosOptionInternalServerError) GetPayload ¶ added in v2.11.0
func (o *UpdateVMNicQosOptionInternalServerError) GetPayload() *models.ErrorBody
type UpdateVMNicQosOptionNotFound ¶ added in v2.11.0
UpdateVMNicQosOptionNotFound describes a response with status code 404, with default header values.
Not found
func NewUpdateVMNicQosOptionNotFound ¶ added in v2.11.0
func NewUpdateVMNicQosOptionNotFound() *UpdateVMNicQosOptionNotFound
NewUpdateVMNicQosOptionNotFound creates a UpdateVMNicQosOptionNotFound with default headers values
func (*UpdateVMNicQosOptionNotFound) Error ¶ added in v2.11.0
func (o *UpdateVMNicQosOptionNotFound) Error() string
func (*UpdateVMNicQosOptionNotFound) GetPayload ¶ added in v2.11.0
func (o *UpdateVMNicQosOptionNotFound) GetPayload() *models.ErrorBody
type UpdateVMNicQosOptionNotModified ¶ added in v2.11.0
type UpdateVMNicQosOptionNotModified struct { }
UpdateVMNicQosOptionNotModified describes a response with status code 304, with default header values.
Not modified
func NewUpdateVMNicQosOptionNotModified ¶ added in v2.11.0
func NewUpdateVMNicQosOptionNotModified() *UpdateVMNicQosOptionNotModified
NewUpdateVMNicQosOptionNotModified creates a UpdateVMNicQosOptionNotModified with default headers values
func (*UpdateVMNicQosOptionNotModified) Error ¶ added in v2.11.0
func (o *UpdateVMNicQosOptionNotModified) Error() string
type UpdateVMNicQosOptionOK ¶ added in v2.11.0
type UpdateVMNicQosOptionOK struct { XTowerRequestID string Payload []*models.WithTaskVM }
UpdateVMNicQosOptionOK describes a response with status code 200, with default header values.
UpdateVMNicQosOptionOK update Vm nic qos option o k
func NewUpdateVMNicQosOptionOK ¶ added in v2.11.0
func NewUpdateVMNicQosOptionOK() *UpdateVMNicQosOptionOK
NewUpdateVMNicQosOptionOK creates a UpdateVMNicQosOptionOK with default headers values
func (*UpdateVMNicQosOptionOK) Error ¶ added in v2.11.0
func (o *UpdateVMNicQosOptionOK) Error() string
func (*UpdateVMNicQosOptionOK) GetPayload ¶ added in v2.11.0
func (o *UpdateVMNicQosOptionOK) GetPayload() []*models.WithTaskVM
type UpdateVMNicQosOptionParams ¶ added in v2.11.0
type UpdateVMNicQosOptionParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.VMUpdateNicQosOptionsParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateVMNicQosOptionParams contains all the parameters to send to the API endpoint
for the update Vm nic qos option operation. Typically these are written to a http.Request.
func NewUpdateVMNicQosOptionParams ¶ added in v2.11.0
func NewUpdateVMNicQosOptionParams() *UpdateVMNicQosOptionParams
NewUpdateVMNicQosOptionParams creates a new UpdateVMNicQosOptionParams 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 NewUpdateVMNicQosOptionParamsWithContext ¶ added in v2.11.0
func NewUpdateVMNicQosOptionParamsWithContext(ctx context.Context) *UpdateVMNicQosOptionParams
NewUpdateVMNicQosOptionParamsWithContext creates a new UpdateVMNicQosOptionParams object with the ability to set a context for a request.
func NewUpdateVMNicQosOptionParamsWithHTTPClient ¶ added in v2.11.0
func NewUpdateVMNicQosOptionParamsWithHTTPClient(client *http.Client) *UpdateVMNicQosOptionParams
NewUpdateVMNicQosOptionParamsWithHTTPClient creates a new UpdateVMNicQosOptionParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateVMNicQosOptionParamsWithTimeout ¶ added in v2.11.0
func NewUpdateVMNicQosOptionParamsWithTimeout(timeout time.Duration) *UpdateVMNicQosOptionParams
NewUpdateVMNicQosOptionParamsWithTimeout creates a new UpdateVMNicQosOptionParams object with the ability to set a timeout on a request.
func (*UpdateVMNicQosOptionParams) SetContentLanguage ¶ added in v2.11.0
func (o *UpdateVMNicQosOptionParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the update Vm nic qos option params
func (*UpdateVMNicQosOptionParams) SetContext ¶ added in v2.11.0
func (o *UpdateVMNicQosOptionParams) SetContext(ctx context.Context)
SetContext adds the context to the update Vm nic qos option params
func (*UpdateVMNicQosOptionParams) SetDefaults ¶ added in v2.11.0
func (o *UpdateVMNicQosOptionParams) SetDefaults()
SetDefaults hydrates default values in the update Vm nic qos option params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateVMNicQosOptionParams) SetHTTPClient ¶ added in v2.11.0
func (o *UpdateVMNicQosOptionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update Vm nic qos option params
func (*UpdateVMNicQosOptionParams) SetRequestBody ¶ added in v2.11.0
func (o *UpdateVMNicQosOptionParams) SetRequestBody(requestBody *models.VMUpdateNicQosOptionsParams)
SetRequestBody adds the requestBody to the update Vm nic qos option params
func (*UpdateVMNicQosOptionParams) SetTimeout ¶ added in v2.11.0
func (o *UpdateVMNicQosOptionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update Vm nic qos option params
func (*UpdateVMNicQosOptionParams) WithContentLanguage ¶ added in v2.11.0
func (o *UpdateVMNicQosOptionParams) WithContentLanguage(contentLanguage *string) *UpdateVMNicQosOptionParams
WithContentLanguage adds the contentLanguage to the update Vm nic qos option params
func (*UpdateVMNicQosOptionParams) WithContext ¶ added in v2.11.0
func (o *UpdateVMNicQosOptionParams) WithContext(ctx context.Context) *UpdateVMNicQosOptionParams
WithContext adds the context to the update Vm nic qos option params
func (*UpdateVMNicQosOptionParams) WithDefaults ¶ added in v2.11.0
func (o *UpdateVMNicQosOptionParams) WithDefaults() *UpdateVMNicQosOptionParams
WithDefaults hydrates default values in the update Vm nic qos option params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateVMNicQosOptionParams) WithHTTPClient ¶ added in v2.11.0
func (o *UpdateVMNicQosOptionParams) WithHTTPClient(client *http.Client) *UpdateVMNicQosOptionParams
WithHTTPClient adds the HTTPClient to the update Vm nic qos option params
func (*UpdateVMNicQosOptionParams) WithRequestBody ¶ added in v2.11.0
func (o *UpdateVMNicQosOptionParams) WithRequestBody(requestBody *models.VMUpdateNicQosOptionsParams) *UpdateVMNicQosOptionParams
WithRequestBody adds the requestBody to the update Vm nic qos option params
func (*UpdateVMNicQosOptionParams) WithTimeout ¶ added in v2.11.0
func (o *UpdateVMNicQosOptionParams) WithTimeout(timeout time.Duration) *UpdateVMNicQosOptionParams
WithTimeout adds the timeout to the update Vm nic qos option params
func (*UpdateVMNicQosOptionParams) WriteToRequest ¶ added in v2.11.0
func (o *UpdateVMNicQosOptionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateVMNicQosOptionReader ¶ added in v2.11.0
type UpdateVMNicQosOptionReader struct {
// contains filtered or unexported fields
}
UpdateVMNicQosOptionReader is a Reader for the UpdateVMNicQosOption structure.
func (*UpdateVMNicQosOptionReader) ReadResponse ¶ added in v2.11.0
func (o *UpdateVMNicQosOptionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateVMNicReader ¶
type UpdateVMNicReader struct {
// contains filtered or unexported fields
}
UpdateVMNicReader is a Reader for the UpdateVMNic structure.
func (*UpdateVMNicReader) ReadResponse ¶
func (o *UpdateVMNicReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateVMNotFound ¶
UpdateVMNotFound describes a response with status code 404, with default header values.
Not found
func NewUpdateVMNotFound ¶
func NewUpdateVMNotFound() *UpdateVMNotFound
NewUpdateVMNotFound creates a UpdateVMNotFound with default headers values
func (*UpdateVMNotFound) Error ¶
func (o *UpdateVMNotFound) Error() string
func (*UpdateVMNotFound) GetPayload ¶
func (o *UpdateVMNotFound) GetPayload() *models.ErrorBody
type UpdateVMOK ¶
type UpdateVMOK struct { XTowerRequestID string Payload []*models.WithTaskVM }
UpdateVMOK describes a response with status code 200, with default header values.
UpdateVMOK update Vm o k
func NewUpdateVMOK ¶
func NewUpdateVMOK() *UpdateVMOK
NewUpdateVMOK creates a UpdateVMOK with default headers values
func (*UpdateVMOK) Error ¶
func (o *UpdateVMOK) Error() string
func (*UpdateVMOK) GetPayload ¶
func (o *UpdateVMOK) GetPayload() []*models.WithTaskVM
type UpdateVMOwnerBadRequest ¶ added in v2.1.0
UpdateVMOwnerBadRequest describes a response with status code 400, with default header values.
Bad request
func NewUpdateVMOwnerBadRequest ¶ added in v2.1.0
func NewUpdateVMOwnerBadRequest() *UpdateVMOwnerBadRequest
NewUpdateVMOwnerBadRequest creates a UpdateVMOwnerBadRequest with default headers values
func (*UpdateVMOwnerBadRequest) Error ¶ added in v2.1.0
func (o *UpdateVMOwnerBadRequest) Error() string
func (*UpdateVMOwnerBadRequest) GetPayload ¶ added in v2.1.0
func (o *UpdateVMOwnerBadRequest) GetPayload() *models.ErrorBody
type UpdateVMOwnerInternalServerError ¶ added in v2.1.0
UpdateVMOwnerInternalServerError describes a response with status code 500, with default header values.
Server error
func NewUpdateVMOwnerInternalServerError ¶ added in v2.1.0
func NewUpdateVMOwnerInternalServerError() *UpdateVMOwnerInternalServerError
NewUpdateVMOwnerInternalServerError creates a UpdateVMOwnerInternalServerError with default headers values
func (*UpdateVMOwnerInternalServerError) Error ¶ added in v2.1.0
func (o *UpdateVMOwnerInternalServerError) Error() string
func (*UpdateVMOwnerInternalServerError) GetPayload ¶ added in v2.1.0
func (o *UpdateVMOwnerInternalServerError) GetPayload() *models.ErrorBody
type UpdateVMOwnerNotFound ¶ added in v2.1.0
UpdateVMOwnerNotFound describes a response with status code 404, with default header values.
Not found
func NewUpdateVMOwnerNotFound ¶ added in v2.1.0
func NewUpdateVMOwnerNotFound() *UpdateVMOwnerNotFound
NewUpdateVMOwnerNotFound creates a UpdateVMOwnerNotFound with default headers values
func (*UpdateVMOwnerNotFound) Error ¶ added in v2.1.0
func (o *UpdateVMOwnerNotFound) Error() string
func (*UpdateVMOwnerNotFound) GetPayload ¶ added in v2.4.0
func (o *UpdateVMOwnerNotFound) GetPayload() *models.ErrorBody
type UpdateVMOwnerNotModified ¶ added in v2.1.0
type UpdateVMOwnerNotModified struct { }
UpdateVMOwnerNotModified describes a response with status code 304, with default header values.
Not modified
func NewUpdateVMOwnerNotModified ¶ added in v2.1.0
func NewUpdateVMOwnerNotModified() *UpdateVMOwnerNotModified
NewUpdateVMOwnerNotModified creates a UpdateVMOwnerNotModified with default headers values
func (*UpdateVMOwnerNotModified) Error ¶ added in v2.1.0
func (o *UpdateVMOwnerNotModified) Error() string
type UpdateVMOwnerOK ¶ added in v2.1.0
type UpdateVMOwnerOK struct { XTowerRequestID string Payload []*models.WithTaskVM }
UpdateVMOwnerOK describes a response with status code 200, with default header values.
UpdateVMOwnerOK update Vm owner o k
func NewUpdateVMOwnerOK ¶ added in v2.1.0
func NewUpdateVMOwnerOK() *UpdateVMOwnerOK
NewUpdateVMOwnerOK creates a UpdateVMOwnerOK with default headers values
func (*UpdateVMOwnerOK) Error ¶ added in v2.1.0
func (o *UpdateVMOwnerOK) Error() string
func (*UpdateVMOwnerOK) GetPayload ¶ added in v2.1.0
func (o *UpdateVMOwnerOK) GetPayload() []*models.WithTaskVM
type UpdateVMOwnerParams ¶ added in v2.1.0
type UpdateVMOwnerParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.VMUpdateOwnerParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateVMOwnerParams contains all the parameters to send to the API endpoint
for the update Vm owner operation. Typically these are written to a http.Request.
func NewUpdateVMOwnerParams ¶ added in v2.1.0
func NewUpdateVMOwnerParams() *UpdateVMOwnerParams
NewUpdateVMOwnerParams creates a new UpdateVMOwnerParams 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 NewUpdateVMOwnerParamsWithContext ¶ added in v2.1.0
func NewUpdateVMOwnerParamsWithContext(ctx context.Context) *UpdateVMOwnerParams
NewUpdateVMOwnerParamsWithContext creates a new UpdateVMOwnerParams object with the ability to set a context for a request.
func NewUpdateVMOwnerParamsWithHTTPClient ¶ added in v2.1.0
func NewUpdateVMOwnerParamsWithHTTPClient(client *http.Client) *UpdateVMOwnerParams
NewUpdateVMOwnerParamsWithHTTPClient creates a new UpdateVMOwnerParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateVMOwnerParamsWithTimeout ¶ added in v2.1.0
func NewUpdateVMOwnerParamsWithTimeout(timeout time.Duration) *UpdateVMOwnerParams
NewUpdateVMOwnerParamsWithTimeout creates a new UpdateVMOwnerParams object with the ability to set a timeout on a request.
func (*UpdateVMOwnerParams) SetContentLanguage ¶ added in v2.1.0
func (o *UpdateVMOwnerParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the update Vm owner params
func (*UpdateVMOwnerParams) SetContext ¶ added in v2.1.0
func (o *UpdateVMOwnerParams) SetContext(ctx context.Context)
SetContext adds the context to the update Vm owner params
func (*UpdateVMOwnerParams) SetDefaults ¶ added in v2.1.0
func (o *UpdateVMOwnerParams) SetDefaults()
SetDefaults hydrates default values in the update Vm owner params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateVMOwnerParams) SetHTTPClient ¶ added in v2.1.0
func (o *UpdateVMOwnerParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update Vm owner params
func (*UpdateVMOwnerParams) SetRequestBody ¶ added in v2.1.0
func (o *UpdateVMOwnerParams) SetRequestBody(requestBody *models.VMUpdateOwnerParams)
SetRequestBody adds the requestBody to the update Vm owner params
func (*UpdateVMOwnerParams) SetTimeout ¶ added in v2.1.0
func (o *UpdateVMOwnerParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update Vm owner params
func (*UpdateVMOwnerParams) WithContentLanguage ¶ added in v2.1.0
func (o *UpdateVMOwnerParams) WithContentLanguage(contentLanguage *string) *UpdateVMOwnerParams
WithContentLanguage adds the contentLanguage to the update Vm owner params
func (*UpdateVMOwnerParams) WithContext ¶ added in v2.1.0
func (o *UpdateVMOwnerParams) WithContext(ctx context.Context) *UpdateVMOwnerParams
WithContext adds the context to the update Vm owner params
func (*UpdateVMOwnerParams) WithDefaults ¶ added in v2.1.0
func (o *UpdateVMOwnerParams) WithDefaults() *UpdateVMOwnerParams
WithDefaults hydrates default values in the update Vm owner params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateVMOwnerParams) WithHTTPClient ¶ added in v2.1.0
func (o *UpdateVMOwnerParams) WithHTTPClient(client *http.Client) *UpdateVMOwnerParams
WithHTTPClient adds the HTTPClient to the update Vm owner params
func (*UpdateVMOwnerParams) WithRequestBody ¶ added in v2.1.0
func (o *UpdateVMOwnerParams) WithRequestBody(requestBody *models.VMUpdateOwnerParams) *UpdateVMOwnerParams
WithRequestBody adds the requestBody to the update Vm owner params
func (*UpdateVMOwnerParams) WithTimeout ¶ added in v2.1.0
func (o *UpdateVMOwnerParams) WithTimeout(timeout time.Duration) *UpdateVMOwnerParams
WithTimeout adds the timeout to the update Vm owner params
func (*UpdateVMOwnerParams) WriteToRequest ¶ added in v2.1.0
func (o *UpdateVMOwnerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateVMOwnerReader ¶ added in v2.1.0
type UpdateVMOwnerReader struct {
// contains filtered or unexported fields
}
UpdateVMOwnerReader is a Reader for the UpdateVMOwner structure.
func (*UpdateVMOwnerReader) ReadResponse ¶ added in v2.1.0
func (o *UpdateVMOwnerReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateVMParams ¶
type UpdateVMParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.VMUpdateParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateVMParams contains all the parameters to send to the API endpoint
for the update Vm operation. Typically these are written to a http.Request.
func NewUpdateVMParams ¶
func NewUpdateVMParams() *UpdateVMParams
NewUpdateVMParams creates a new UpdateVMParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewUpdateVMParamsWithContext ¶
func NewUpdateVMParamsWithContext(ctx context.Context) *UpdateVMParams
NewUpdateVMParamsWithContext creates a new UpdateVMParams object with the ability to set a context for a request.
func NewUpdateVMParamsWithHTTPClient ¶
func NewUpdateVMParamsWithHTTPClient(client *http.Client) *UpdateVMParams
NewUpdateVMParamsWithHTTPClient creates a new UpdateVMParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateVMParamsWithTimeout ¶
func NewUpdateVMParamsWithTimeout(timeout time.Duration) *UpdateVMParams
NewUpdateVMParamsWithTimeout creates a new UpdateVMParams object with the ability to set a timeout on a request.
func (*UpdateVMParams) SetContentLanguage ¶
func (o *UpdateVMParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the update Vm params
func (*UpdateVMParams) SetContext ¶
func (o *UpdateVMParams) SetContext(ctx context.Context)
SetContext adds the context to the update Vm params
func (*UpdateVMParams) SetDefaults ¶
func (o *UpdateVMParams) SetDefaults()
SetDefaults hydrates default values in the update Vm params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateVMParams) SetHTTPClient ¶
func (o *UpdateVMParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update Vm params
func (*UpdateVMParams) SetRequestBody ¶
func (o *UpdateVMParams) SetRequestBody(requestBody *models.VMUpdateParams)
SetRequestBody adds the requestBody to the update Vm params
func (*UpdateVMParams) SetTimeout ¶
func (o *UpdateVMParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update Vm params
func (*UpdateVMParams) WithContentLanguage ¶
func (o *UpdateVMParams) WithContentLanguage(contentLanguage *string) *UpdateVMParams
WithContentLanguage adds the contentLanguage to the update Vm params
func (*UpdateVMParams) WithContext ¶
func (o *UpdateVMParams) WithContext(ctx context.Context) *UpdateVMParams
WithContext adds the context to the update Vm params
func (*UpdateVMParams) WithDefaults ¶
func (o *UpdateVMParams) WithDefaults() *UpdateVMParams
WithDefaults hydrates default values in the update Vm params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateVMParams) WithHTTPClient ¶
func (o *UpdateVMParams) WithHTTPClient(client *http.Client) *UpdateVMParams
WithHTTPClient adds the HTTPClient to the update Vm params
func (*UpdateVMParams) WithRequestBody ¶
func (o *UpdateVMParams) WithRequestBody(requestBody *models.VMUpdateParams) *UpdateVMParams
WithRequestBody adds the requestBody to the update Vm params
func (*UpdateVMParams) WithTimeout ¶
func (o *UpdateVMParams) WithTimeout(timeout time.Duration) *UpdateVMParams
WithTimeout adds the timeout to the update Vm params
func (*UpdateVMParams) WriteToRequest ¶
func (o *UpdateVMParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateVMReader ¶
type UpdateVMReader struct {
// contains filtered or unexported fields
}
UpdateVMReader is a Reader for the UpdateVM structure.
func (*UpdateVMReader) ReadResponse ¶
func (o *UpdateVMReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- abort_migrate_vm_across_cluster_parameters.go
- abort_migrate_vm_across_cluster_responses.go
- add_vm_cd_rom_parameters.go
- add_vm_cd_rom_responses.go
- add_vm_disk_parameters.go
- add_vm_disk_responses.go
- add_vm_gpu_device_parameters.go
- add_vm_gpu_device_responses.go
- add_vm_nic_parameters.go
- add_vm_nic_responses.go
- add_vm_pci_nic_parameters.go
- add_vm_pci_nic_responses.go
- add_vm_to_folder_parameters.go
- add_vm_to_folder_responses.go
- clone_vm_parameters.go
- clone_vm_responses.go
- convert_vm_template_to_vm_parameters.go
- convert_vm_template_to_vm_responses.go
- create_vm_from_content_library_template_parameters.go
- create_vm_from_content_library_template_responses.go
- create_vm_from_template_parameters.go
- create_vm_from_template_responses.go
- create_vm_parameters.go
- create_vm_responses.go
- delete_vm_parameters.go
- delete_vm_responses.go
- eject_iso_from_vm_cd_rom_parameters.go
- eject_iso_from_vm_cd_rom_responses.go
- expand_vm_disk_parameters.go
- expand_vm_disk_responses.go
- export_vm_parameters.go
- export_vm_responses.go
- force_restart_vm_parameters.go
- force_restart_vm_responses.go
- get_vms_connection_parameters.go
- get_vms_connection_responses.go
- get_vms_parameters.go
- get_vms_responses.go
- import_vm_parameters.go
- import_vm_responses.go
- install_vmtools_parameters.go
- install_vmtools_responses.go
- migrate_vm_across_cluster_parameters.go
- migrate_vm_across_cluster_responses.go
- migrate_vm_parameters.go
- migrate_vm_responses.go
- move_vm_to_recycle_bin_parameters.go
- move_vm_to_recycle_bin_responses.go
- poweroff_vm_parameters.go
- poweroff_vm_responses.go
- rebuild_vm_parameters.go
- rebuild_vm_responses.go
- recover_vm_from_recycle_bin_parameters.go
- recover_vm_from_recycle_bin_responses.go
- remove_vm_cd_rom_parameters.go
- remove_vm_cd_rom_responses.go
- remove_vm_disk_parameters.go
- remove_vm_disk_responses.go
- remove_vm_gpu_device_parameters.go
- remove_vm_gpu_device_responses.go
- remove_vm_nic_by_where_parameters.go
- remove_vm_nic_by_where_responses.go
- remove_vm_nic_parameters.go
- remove_vm_nic_responses.go
- remove_vm_pci_nic_parameters.go
- remove_vm_pci_nic_responses.go
- remove_vm_to_folder_parameters.go
- remove_vm_to_folder_responses.go
- reset_vm_guest_os_password_parameters.go
- reset_vm_guest_os_password_responses.go
- restart_vm_parameters.go
- restart_vm_responses.go
- resume_vm_parameters.go
- resume_vm_responses.go
- rollback_vm_parameters.go
- rollback_vm_responses.go
- shut_down_vm_parameters.go
- shut_down_vm_responses.go
- start_vm_parameters.go
- start_vm_responses.go
- stop_vm_in_cutover_migration_parameters.go
- stop_vm_in_cutover_migration_responses.go
- suspend_vm_parameters.go
- suspend_vm_responses.go
- toggle_vm_cd_rom_disable_parameters.go
- toggle_vm_cd_rom_disable_responses.go
- update_vm_advanced_options_parameters.go
- update_vm_advanced_options_responses.go
- update_vm_disk_parameters.go
- update_vm_disk_responses.go
- update_vm_host_options_parameters.go
- update_vm_host_options_responses.go
- update_vm_io_policy_parameters.go
- update_vm_io_policy_responses.go
- update_vm_nic_advance_info_parameters.go
- update_vm_nic_advance_info_responses.go
- update_vm_nic_basic_info_parameters.go
- update_vm_nic_basic_info_responses.go
- update_vm_nic_parameters.go
- update_vm_nic_qos_option_parameters.go
- update_vm_nic_qos_option_responses.go
- update_vm_nic_responses.go
- update_vm_owner_parameters.go
- update_vm_owner_responses.go
- update_vm_parameters.go
- update_vm_responses.go
- vm_client.go