class OvirtSDK4::ExternalVmImportsService

def add(import, opts = {})

Returns:
  • (ExternalVmImport) -

Options Hash: (**opts)
  • :wait (Boolean) -- If `true` wait for the response.
  • :timeout (Integer) -- The timeout for this request, in seconds. If no value is explicitly
  • :query (Hash) -- Additional URL query parameters.
  • :headers (Hash) -- Additional HTTP headers.

Parameters:
  • opts (Hash) -- Additional options.
  • import (ExternalVmImport) -- The `import` to add.
def add(import, opts = {})
  internal_add(import, ExternalVmImport, ADD, opts)
end

def service(path)

Returns:
  • (Service) - A reference to the service.

Parameters:
  • path (String) -- The path of the service.
def service(path)
  if path.nil? || path == ''
    return self
  end
  raise Error.new("The path \"#{path}\" doesn't correspond to any service")
end