// Code generated by go-swagger; DO NOT EDIT. // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"). You may // not use this file except in compliance with the License. A copy of the // License is located at // // http://aws.amazon.com/apache2.0/ // // or in the "license" file accompanying this file. This file is distributed // on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either // express or implied. See the License for the specific language governing // permissions and limitations under the License. package operations // This file was generated by the swagger tool. // Editing this file might prove futile when you re-run the swagger generate command import ( "github.com/go-openapi/runtime" strfmt "github.com/go-openapi/strfmt" ) // New creates a new operations API client. func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client { return &Client{transport: transport, formats: formats} } /* Client for operations API */ type Client struct { transport runtime.ClientTransport formats strfmt.Registry } // NewClient will return a new client with the given transport and formats func NewClient(transport runtime.ClientTransport, formats strfmt.Registry) *Client { return &Client{ transport: transport, formats: formats, } } /* CreateSnapshot creates a full or diff snapshot post boot only Creates a snapshot of the microVM state. The microVM should be in the `Paused` state. */ func (a *Client) CreateSnapshot(params *CreateSnapshotParams) (*CreateSnapshotNoContent, error) { // TODO: Validate the params before sending if params == nil { params = NewCreateSnapshotParams() } result, err := a.transport.Submit(&runtime.ClientOperation{ ID: "createSnapshot", Method: "PUT", PathPattern: "/snapshot/create", ProducesMediaTypes: []string{"application/json"}, ConsumesMediaTypes: []string{"application/json"}, Schemes: []string{"http"}, Params: params, Reader: &CreateSnapshotReader{formats: a.formats}, Context: params.Context, Client: params.HTTPClient, }) if err != nil { return nil, err } return result.(*CreateSnapshotNoContent), nil } /* CreateSyncAction creates a synchronous action */ func (a *Client) CreateSyncAction(params *CreateSyncActionParams) (*CreateSyncActionNoContent, error) { // TODO: Validate the params before sending if params == nil { params = NewCreateSyncActionParams() } result, err := a.transport.Submit(&runtime.ClientOperation{ ID: "createSyncAction", Method: "PUT", PathPattern: "/actions", ProducesMediaTypes: []string{"application/json"}, ConsumesMediaTypes: []string{"application/json"}, Schemes: []string{"http"}, Params: params, Reader: &CreateSyncActionReader{formats: a.formats}, Context: params.Context, Client: params.HTTPClient, }) if err != nil { return nil, err } return result.(*CreateSyncActionNoContent), nil } /* DescribeBalloonConfig returns the current balloon device configuration */ func (a *Client) DescribeBalloonConfig(params *DescribeBalloonConfigParams) (*DescribeBalloonConfigOK, error) { // TODO: Validate the params before sending if params == nil { params = NewDescribeBalloonConfigParams() } result, err := a.transport.Submit(&runtime.ClientOperation{ ID: "describeBalloonConfig", Method: "GET", PathPattern: "/balloon", ProducesMediaTypes: []string{"application/json"}, ConsumesMediaTypes: []string{"application/json"}, Schemes: []string{"http"}, Params: params, Reader: &DescribeBalloonConfigReader{formats: a.formats}, Context: params.Context, Client: params.HTTPClient, }) if err != nil { return nil, err } return result.(*DescribeBalloonConfigOK), nil } /* DescribeBalloonStats returns the latest balloon device statistics only if enabled pre boot */ func (a *Client) DescribeBalloonStats(params *DescribeBalloonStatsParams) (*DescribeBalloonStatsOK, error) { // TODO: Validate the params before sending if params == nil { params = NewDescribeBalloonStatsParams() } result, err := a.transport.Submit(&runtime.ClientOperation{ ID: "describeBalloonStats", Method: "GET", PathPattern: "/balloon/statistics", ProducesMediaTypes: []string{"application/json"}, ConsumesMediaTypes: []string{"application/json"}, Schemes: []string{"http"}, Params: params, Reader: &DescribeBalloonStatsReader{formats: a.formats}, Context: params.Context, Client: params.HTTPClient, }) if err != nil { return nil, err } return result.(*DescribeBalloonStatsOK), nil } /* DescribeInstance returns general information about an instance */ func (a *Client) DescribeInstance(params *DescribeInstanceParams) (*DescribeInstanceOK, error) { // TODO: Validate the params before sending if params == nil { params = NewDescribeInstanceParams() } result, err := a.transport.Submit(&runtime.ClientOperation{ ID: "describeInstance", Method: "GET", PathPattern: "/", ProducesMediaTypes: []string{"application/json"}, ConsumesMediaTypes: []string{"application/json"}, Schemes: []string{"http"}, Params: params, Reader: &DescribeInstanceReader{formats: a.formats}, Context: params.Context, Client: params.HTTPClient, }) if err != nil { return nil, err } return result.(*DescribeInstanceOK), nil } /* GetExportVMConfig gets the full VM configuration Gets configuration for all VM resources. */ func (a *Client) GetExportVMConfig(params *GetExportVMConfigParams) (*GetExportVMConfigOK, error) { // TODO: Validate the params before sending if params == nil { params = NewGetExportVMConfigParams() } result, err := a.transport.Submit(&runtime.ClientOperation{ ID: "getExportVmConfig", Method: "GET", PathPattern: "/vm/config", ProducesMediaTypes: []string{"application/json"}, ConsumesMediaTypes: []string{"application/json"}, Schemes: []string{"http"}, Params: params, Reader: &GetExportVMConfigReader{formats: a.formats}, Context: params.Context, Client: params.HTTPClient, }) if err != nil { return nil, err } return result.(*GetExportVMConfigOK), nil } /* GetFirecrackerVersion gets the firecracker version */ func (a *Client) GetFirecrackerVersion(params *GetFirecrackerVersionParams) (*GetFirecrackerVersionOK, error) { // TODO: Validate the params before sending if params == nil { params = NewGetFirecrackerVersionParams() } result, err := a.transport.Submit(&runtime.ClientOperation{ ID: "getFirecrackerVersion", Method: "GET", PathPattern: "/version", ProducesMediaTypes: []string{"application/json"}, ConsumesMediaTypes: []string{"application/json"}, Schemes: []string{"http"}, Params: params, Reader: &GetFirecrackerVersionReader{formats: a.formats}, Context: params.Context, Client: params.HTTPClient, }) if err != nil { return nil, err } return result.(*GetFirecrackerVersionOK), nil } /* GetMachineConfiguration gets the machine configuration of the VM Gets the machine configuration of the VM. When called before the PUT operation, it will return the default values for the vCPU count (=1), memory size (=128 MiB). By default SMT is disabled and there is no CPU Template. */ func (a *Client) GetMachineConfiguration(params *GetMachineConfigurationParams) (*GetMachineConfigurationOK, error) { // TODO: Validate the params before sending if params == nil { params = NewGetMachineConfigurationParams() } result, err := a.transport.Submit(&runtime.ClientOperation{ ID: "getMachineConfiguration", Method: "GET", PathPattern: "/machine-config", ProducesMediaTypes: []string{"application/json"}, ConsumesMediaTypes: []string{"application/json"}, Schemes: []string{"http"}, Params: params, Reader: &GetMachineConfigurationReader{formats: a.formats}, Context: params.Context, Client: params.HTTPClient, }) if err != nil { return nil, err } return result.(*GetMachineConfigurationOK), nil } /* GetMmds gets the m m d s data store */ func (a *Client) GetMmds(params *GetMmdsParams) (*GetMmdsOK, error) { // TODO: Validate the params before sending if params == nil { params = NewGetMmdsParams() } result, err := a.transport.Submit(&runtime.ClientOperation{ ID: "getMmds", Method: "GET", PathPattern: "/mmds", ProducesMediaTypes: []string{"application/json"}, ConsumesMediaTypes: []string{"application/json"}, Schemes: []string{"http"}, Params: params, Reader: &GetMmdsReader{formats: a.formats}, Context: params.Context, Client: params.HTTPClient, }) if err != nil { return nil, err } return result.(*GetMmdsOK), nil } /* LoadSnapshot loads a snapshot pre boot only Loads the microVM state from a snapshot. Only accepted on a fresh Firecracker process (before configuring any resource other than the Logger and Metrics). */ func (a *Client) LoadSnapshot(params *LoadSnapshotParams) (*LoadSnapshotNoContent, error) { // TODO: Validate the params before sending if params == nil { params = NewLoadSnapshotParams() } result, err := a.transport.Submit(&runtime.ClientOperation{ ID: "loadSnapshot", Method: "PUT", PathPattern: "/snapshot/load", ProducesMediaTypes: []string{"application/json"}, ConsumesMediaTypes: []string{"application/json"}, Schemes: []string{"http"}, Params: params, Reader: &LoadSnapshotReader{formats: a.formats}, Context: params.Context, Client: params.HTTPClient, }) if err != nil { return nil, err } return result.(*LoadSnapshotNoContent), nil } /* PatchBalloon updates a balloon device Updates an existing balloon device, before or after machine startup. Will fail if update is not possible. */ func (a *Client) PatchBalloon(params *PatchBalloonParams) (*PatchBalloonNoContent, error) { // TODO: Validate the params before sending if params == nil { params = NewPatchBalloonParams() } result, err := a.transport.Submit(&runtime.ClientOperation{ ID: "patchBalloon", Method: "PATCH", PathPattern: "/balloon", ProducesMediaTypes: []string{"application/json"}, ConsumesMediaTypes: []string{"application/json"}, Schemes: []string{"http"}, Params: params, Reader: &PatchBalloonReader{formats: a.formats}, Context: params.Context, Client: params.HTTPClient, }) if err != nil { return nil, err } return result.(*PatchBalloonNoContent), nil } /* PatchBalloonStatsInterval updates a balloon device statistics polling interval Updates an existing balloon device statistics interval, before or after machine startup. Will fail if update is not possible. */ func (a *Client) PatchBalloonStatsInterval(params *PatchBalloonStatsIntervalParams) (*PatchBalloonStatsIntervalNoContent, error) { // TODO: Validate the params before sending if params == nil { params = NewPatchBalloonStatsIntervalParams() } result, err := a.transport.Submit(&runtime.ClientOperation{ ID: "patchBalloonStatsInterval", Method: "PATCH", PathPattern: "/balloon/statistics", ProducesMediaTypes: []string{"application/json"}, ConsumesMediaTypes: []string{"application/json"}, Schemes: []string{"http"}, Params: params, Reader: &PatchBalloonStatsIntervalReader{formats: a.formats}, Context: params.Context, Client: params.HTTPClient, }) if err != nil { return nil, err } return result.(*PatchBalloonStatsIntervalNoContent), nil } /* PatchGuestDriveByID updates the properties of a drive post boot only Updates the properties of the drive with the ID specified by drive_id path parameter. Will fail if update is not possible. */ func (a *Client) PatchGuestDriveByID(params *PatchGuestDriveByIDParams) (*PatchGuestDriveByIDNoContent, error) { // TODO: Validate the params before sending if params == nil { params = NewPatchGuestDriveByIDParams() } result, err := a.transport.Submit(&runtime.ClientOperation{ ID: "patchGuestDriveByID", Method: "PATCH", PathPattern: "/drives/{drive_id}", ProducesMediaTypes: []string{"application/json"}, ConsumesMediaTypes: []string{"application/json"}, Schemes: []string{"http"}, Params: params, Reader: &PatchGuestDriveByIDReader{formats: a.formats}, Context: params.Context, Client: params.HTTPClient, }) if err != nil { return nil, err } return result.(*PatchGuestDriveByIDNoContent), nil } /* PatchGuestNetworkInterfaceByID updates the rate limiters applied to a network interface post boot only Updates the rate limiters applied to a network interface. */ func (a *Client) PatchGuestNetworkInterfaceByID(params *PatchGuestNetworkInterfaceByIDParams) (*PatchGuestNetworkInterfaceByIDNoContent, error) { // TODO: Validate the params before sending if params == nil { params = NewPatchGuestNetworkInterfaceByIDParams() } result, err := a.transport.Submit(&runtime.ClientOperation{ ID: "patchGuestNetworkInterfaceByID", Method: "PATCH", PathPattern: "/network-interfaces/{iface_id}", ProducesMediaTypes: []string{"application/json"}, ConsumesMediaTypes: []string{"application/json"}, Schemes: []string{"http"}, Params: params, Reader: &PatchGuestNetworkInterfaceByIDReader{formats: a.formats}, Context: params.Context, Client: params.HTTPClient, }) if err != nil { return nil, err } return result.(*PatchGuestNetworkInterfaceByIDNoContent), nil } /* PatchMachineConfiguration partiallies updates the machine configuration of the VM pre boot only Partially updates the Virtual Machine Configuration with the specified input. If any of the parameters has an incorrect value, the whole update fails. */ func (a *Client) PatchMachineConfiguration(params *PatchMachineConfigurationParams) (*PatchMachineConfigurationNoContent, error) { // TODO: Validate the params before sending if params == nil { params = NewPatchMachineConfigurationParams() } result, err := a.transport.Submit(&runtime.ClientOperation{ ID: "patchMachineConfiguration", Method: "PATCH", PathPattern: "/machine-config", ProducesMediaTypes: []string{"application/json"}, ConsumesMediaTypes: []string{"application/json"}, Schemes: []string{"http"}, Params: params, Reader: &PatchMachineConfigurationReader{formats: a.formats}, Context: params.Context, Client: params.HTTPClient, }) if err != nil { return nil, err } return result.(*PatchMachineConfigurationNoContent), nil } /* PatchMmds updates the m m d s data store */ func (a *Client) PatchMmds(params *PatchMmdsParams) (*PatchMmdsNoContent, error) { // TODO: Validate the params before sending if params == nil { params = NewPatchMmdsParams() } result, err := a.transport.Submit(&runtime.ClientOperation{ ID: "patchMmds", Method: "PATCH", PathPattern: "/mmds", ProducesMediaTypes: []string{"application/json"}, ConsumesMediaTypes: []string{"application/json"}, Schemes: []string{"http"}, Params: params, Reader: &PatchMmdsReader{formats: a.formats}, Context: params.Context, Client: params.HTTPClient, }) if err != nil { return nil, err } return result.(*PatchMmdsNoContent), nil } /* PatchVM updates the micro VM state Sets the desired state (Paused or Resumed) for the microVM. */ func (a *Client) PatchVM(params *PatchVMParams) (*PatchVMNoContent, error) { // TODO: Validate the params before sending if params == nil { params = NewPatchVMParams() } result, err := a.transport.Submit(&runtime.ClientOperation{ ID: "patchVm", Method: "PATCH", PathPattern: "/vm", ProducesMediaTypes: []string{"application/json"}, ConsumesMediaTypes: []string{"application/json"}, Schemes: []string{"http"}, Params: params, Reader: &PatchVMReader{formats: a.formats}, Context: params.Context, Client: params.HTTPClient, }) if err != nil { return nil, err } return result.(*PatchVMNoContent), nil } /* PutBalloon creates or updates a balloon device Creates a new balloon device if one does not already exist, otherwise updates it, before machine startup. This will fail after machine startup. Will fail if update is not possible. */ func (a *Client) PutBalloon(params *PutBalloonParams) (*PutBalloonNoContent, error) { // TODO: Validate the params before sending if params == nil { params = NewPutBalloonParams() } result, err := a.transport.Submit(&runtime.ClientOperation{ ID: "putBalloon", Method: "PUT", PathPattern: "/balloon", ProducesMediaTypes: []string{"application/json"}, ConsumesMediaTypes: []string{"application/json"}, Schemes: []string{"http"}, Params: params, Reader: &PutBalloonReader{formats: a.formats}, Context: params.Context, Client: params.HTTPClient, }) if err != nil { return nil, err } return result.(*PutBalloonNoContent), nil } /* PutGuestBootSource creates or updates the boot source pre boot only Creates new boot source if one does not already exist, otherwise updates it. Will fail if update is not possible. */ func (a *Client) PutGuestBootSource(params *PutGuestBootSourceParams) (*PutGuestBootSourceNoContent, error) { // TODO: Validate the params before sending if params == nil { params = NewPutGuestBootSourceParams() } result, err := a.transport.Submit(&runtime.ClientOperation{ ID: "putGuestBootSource", Method: "PUT", PathPattern: "/boot-source", ProducesMediaTypes: []string{"application/json"}, ConsumesMediaTypes: []string{"application/json"}, Schemes: []string{"http"}, Params: params, Reader: &PutGuestBootSourceReader{formats: a.formats}, Context: params.Context, Client: params.HTTPClient, }) if err != nil { return nil, err } return result.(*PutGuestBootSourceNoContent), nil } /* PutGuestDriveByID creates or updates a drive pre boot only Creates new drive with ID specified by drive_id path parameter. If a drive with the specified ID already exists, updates its state based on new input. Will fail if update is not possible. */ func (a *Client) PutGuestDriveByID(params *PutGuestDriveByIDParams) (*PutGuestDriveByIDNoContent, error) { // TODO: Validate the params before sending if params == nil { params = NewPutGuestDriveByIDParams() } result, err := a.transport.Submit(&runtime.ClientOperation{ ID: "putGuestDriveByID", Method: "PUT", PathPattern: "/drives/{drive_id}", ProducesMediaTypes: []string{"application/json"}, ConsumesMediaTypes: []string{"application/json"}, Schemes: []string{"http"}, Params: params, Reader: &PutGuestDriveByIDReader{formats: a.formats}, Context: params.Context, Client: params.HTTPClient, }) if err != nil { return nil, err } return result.(*PutGuestDriveByIDNoContent), nil } /* PutGuestNetworkInterfaceByID creates a network interface pre boot only Creates new network interface with ID specified by iface_id path parameter. */ func (a *Client) PutGuestNetworkInterfaceByID(params *PutGuestNetworkInterfaceByIDParams) (*PutGuestNetworkInterfaceByIDNoContent, error) { // TODO: Validate the params before sending if params == nil { params = NewPutGuestNetworkInterfaceByIDParams() } result, err := a.transport.Submit(&runtime.ClientOperation{ ID: "putGuestNetworkInterfaceByID", Method: "PUT", PathPattern: "/network-interfaces/{iface_id}", ProducesMediaTypes: []string{"application/json"}, ConsumesMediaTypes: []string{"application/json"}, Schemes: []string{"http"}, Params: params, Reader: &PutGuestNetworkInterfaceByIDReader{formats: a.formats}, Context: params.Context, Client: params.HTTPClient, }) if err != nil { return nil, err } return result.(*PutGuestNetworkInterfaceByIDNoContent), nil } /* PutGuestVsock creates updates a vsock device pre boot only The first call creates the device with the configuration specified in body. Subsequent calls will update the device configuration. May fail if update is not possible. */ func (a *Client) PutGuestVsock(params *PutGuestVsockParams) (*PutGuestVsockNoContent, error) { // TODO: Validate the params before sending if params == nil { params = NewPutGuestVsockParams() } result, err := a.transport.Submit(&runtime.ClientOperation{ ID: "putGuestVsock", Method: "PUT", PathPattern: "/vsock", ProducesMediaTypes: []string{"application/json"}, ConsumesMediaTypes: []string{"application/json"}, Schemes: []string{"http"}, Params: params, Reader: &PutGuestVsockReader{formats: a.formats}, Context: params.Context, Client: params.HTTPClient, }) if err != nil { return nil, err } return result.(*PutGuestVsockNoContent), nil } /* PutLogger initializes the logger by specifying a named pipe or a file for the logs output */ func (a *Client) PutLogger(params *PutLoggerParams) (*PutLoggerNoContent, error) { // TODO: Validate the params before sending if params == nil { params = NewPutLoggerParams() } result, err := a.transport.Submit(&runtime.ClientOperation{ ID: "putLogger", Method: "PUT", PathPattern: "/logger", ProducesMediaTypes: []string{"application/json"}, ConsumesMediaTypes: []string{"application/json"}, Schemes: []string{"http"}, Params: params, Reader: &PutLoggerReader{formats: a.formats}, Context: params.Context, Client: params.HTTPClient, }) if err != nil { return nil, err } return result.(*PutLoggerNoContent), nil } /* PutMachineConfiguration updates the machine configuration of the VM pre boot only Updates the Virtual Machine Configuration with the specified input. Firecracker starts with default values for vCPU count (=1) and memory size (=128 MiB). With SMT enabled, the vCPU count is restricted to be 1 or an even number, otherwise there are no restrictions regarding the vCPU count. If any of the parameters has an incorrect value, the whole update fails. */ func (a *Client) PutMachineConfiguration(params *PutMachineConfigurationParams) (*PutMachineConfigurationNoContent, error) { // TODO: Validate the params before sending if params == nil { params = NewPutMachineConfigurationParams() } result, err := a.transport.Submit(&runtime.ClientOperation{ ID: "putMachineConfiguration", Method: "PUT", PathPattern: "/machine-config", ProducesMediaTypes: []string{"application/json"}, ConsumesMediaTypes: []string{"application/json"}, Schemes: []string{"http"}, Params: params, Reader: &PutMachineConfigurationReader{formats: a.formats}, Context: params.Context, Client: params.HTTPClient, }) if err != nil { return nil, err } return result.(*PutMachineConfigurationNoContent), nil } /* PutMetrics initializes the metrics system by specifying a named pipe or a file for the metrics output */ func (a *Client) PutMetrics(params *PutMetricsParams) (*PutMetricsNoContent, error) { // TODO: Validate the params before sending if params == nil { params = NewPutMetricsParams() } result, err := a.transport.Submit(&runtime.ClientOperation{ ID: "putMetrics", Method: "PUT", PathPattern: "/metrics", ProducesMediaTypes: []string{"application/json"}, ConsumesMediaTypes: []string{"application/json"}, Schemes: []string{"http"}, Params: params, Reader: &PutMetricsReader{formats: a.formats}, Context: params.Context, Client: params.HTTPClient, }) if err != nil { return nil, err } return result.(*PutMetricsNoContent), nil } /* PutMmds creates a m m d s microvm metadata service data store */ func (a *Client) PutMmds(params *PutMmdsParams) (*PutMmdsNoContent, error) { // TODO: Validate the params before sending if params == nil { params = NewPutMmdsParams() } result, err := a.transport.Submit(&runtime.ClientOperation{ ID: "putMmds", Method: "PUT", PathPattern: "/mmds", ProducesMediaTypes: []string{"application/json"}, ConsumesMediaTypes: []string{"application/json"}, Schemes: []string{"http"}, Params: params, Reader: &PutMmdsReader{formats: a.formats}, Context: params.Context, Client: params.HTTPClient, }) if err != nil { return nil, err } return result.(*PutMmdsNoContent), nil } /* PutMmdsConfig sets m m d s configuration pre boot only Configures MMDS version, IPv4 address used by the MMDS network stack and interfaces that allow MMDS requests. */ func (a *Client) PutMmdsConfig(params *PutMmdsConfigParams) (*PutMmdsConfigNoContent, error) { // TODO: Validate the params before sending if params == nil { params = NewPutMmdsConfigParams() } result, err := a.transport.Submit(&runtime.ClientOperation{ ID: "putMmdsConfig", Method: "PUT", PathPattern: "/mmds/config", ProducesMediaTypes: []string{"application/json"}, ConsumesMediaTypes: []string{"application/json"}, Schemes: []string{"http"}, Params: params, Reader: &PutMmdsConfigReader{formats: a.formats}, Context: params.Context, Client: params.HTTPClient, }) if err != nil { return nil, err } return result.(*PutMmdsConfigNoContent), nil } // SetTransport changes the transport on the client func (a *Client) SetTransport(transport runtime.ClientTransport) { a.transport = transport } // ClientIface is an interface that can be used to mock out a Firecracker agent // for testing purposes. type ClientIface interface { CreateSnapshot(params *CreateSnapshotParams) (*CreateSnapshotNoContent, error) CreateSyncAction(params *CreateSyncActionParams) (*CreateSyncActionNoContent, error) DescribeBalloonConfig(params *DescribeBalloonConfigParams) (*DescribeBalloonConfigOK, error) DescribeBalloonStats(params *DescribeBalloonStatsParams) (*DescribeBalloonStatsOK, error) DescribeInstance(params *DescribeInstanceParams) (*DescribeInstanceOK, error) GetExportVMConfig(params *GetExportVMConfigParams) (*GetExportVMConfigOK, error) GetFirecrackerVersion(params *GetFirecrackerVersionParams) (*GetFirecrackerVersionOK, error) GetMachineConfiguration(params *GetMachineConfigurationParams) (*GetMachineConfigurationOK, error) GetMmds(params *GetMmdsParams) (*GetMmdsOK, error) LoadSnapshot(params *LoadSnapshotParams) (*LoadSnapshotNoContent, error) PatchBalloon(params *PatchBalloonParams) (*PatchBalloonNoContent, error) PatchBalloonStatsInterval(params *PatchBalloonStatsIntervalParams) (*PatchBalloonStatsIntervalNoContent, error) PatchGuestDriveByID(params *PatchGuestDriveByIDParams) (*PatchGuestDriveByIDNoContent, error) PatchGuestNetworkInterfaceByID(params *PatchGuestNetworkInterfaceByIDParams) (*PatchGuestNetworkInterfaceByIDNoContent, error) PatchMachineConfiguration(params *PatchMachineConfigurationParams) (*PatchMachineConfigurationNoContent, error) PatchMmds(params *PatchMmdsParams) (*PatchMmdsNoContent, error) PatchVM(params *PatchVMParams) (*PatchVMNoContent, error) PutBalloon(params *PutBalloonParams) (*PutBalloonNoContent, error) PutGuestBootSource(params *PutGuestBootSourceParams) (*PutGuestBootSourceNoContent, error) PutGuestDriveByID(params *PutGuestDriveByIDParams) (*PutGuestDriveByIDNoContent, error) PutGuestNetworkInterfaceByID(params *PutGuestNetworkInterfaceByIDParams) (*PutGuestNetworkInterfaceByIDNoContent, error) PutGuestVsock(params *PutGuestVsockParams) (*PutGuestVsockNoContent, error) PutLogger(params *PutLoggerParams) (*PutLoggerNoContent, error) PutMachineConfiguration(params *PutMachineConfigurationParams) (*PutMachineConfigurationNoContent, error) PutMetrics(params *PutMetricsParams) (*PutMetricsNoContent, error) PutMmds(params *PutMmdsParams) (*PutMmdsNoContent, error) PutMmdsConfig(params *PutMmdsConfigParams) (*PutMmdsConfigNoContent, error) }