src/bosh-softlayer-cpi/softlayer/vps_service/client/vm/vm_client.go
func (a *Client) UpdateVM(params *UpdateVMParams) (*UpdateVMOK, error) {
	// TODO: Validate the params before sending
	if params == nil {
		params = NewUpdateVMParams()
	}

	result, err := a.transport.Submit(&runtime.ClientOperation{
		ID:                 "updateVm",
		Method:             "PUT",
		PathPattern:        "/vms",
		ProducesMediaTypes: []string{"application/json"},
		ConsumesMediaTypes: []string{"application/json"},
		Schemes:            []string{"http"},
		Params:             params,
		Reader:             &UpdateVMReader{formats: a.formats},
		Context:            params.Context,
	})
	if err != nil {
		return nil, err
	}
	return result.(*UpdateVMOK), nil

}
func (a *Client) UpdateVM(params *UpdateVMParams) (*UpdateVMOK, error) {
	// TODO: Validate the params before sending
	if params == nil {
		params = NewUpdateVMParams()
	}

	result, err := a.transport.Submit(&runtime.ClientOperation{
		ID:                 "updateVm",
		Method:             "PUT",
		PathPattern:        "/vms",
		ProducesMediaTypes: []string{"application/json"},
		ConsumesMediaTypes: []string{"application/json"},
		Schemes:            []string{"http"},
		Params:             params,
		Reader:             &UpdateVMReader{formats: a.formats},
		Context:            params.Context,
	})
	if err != nil {
		return nil, err
	}
	return result.(*UpdateVMOK), nil

}
/*
UpdateVM updates an existing vm
*/