Class: OvirtSDK4::InstanceTypeGraphicsConsoleService
- Defined in:
- lib/ovirtsdk4/services.rb,
lib/ovirtsdk4/services.rb
Instance Method Summary collapse
-
#get(opts = {}) ⇒ GraphicsConsole
Gets graphics console configuration of the instance type.
-
#remove(opts = {}) ⇒ Object
Remove the graphics console from the instance type.
-
#service(path) ⇒ Service
Locates the service corresponding to the given path.
Methods inherited from Service
Instance Method Details
#get(opts = {}) ⇒ GraphicsConsole
Gets graphics console configuration of the instance type.
GET /ovirt-engine/api/instancetypes/123/graphicsconsoles HTTP/1.1
13760 13761 13762 |
# File 'lib/ovirtsdk4/services.rb', line 13760 def get(opts = {}) internal_get(GET, opts) end |
#remove(opts = {}) ⇒ Object
Remove the graphics console from the instance type.
13785 13786 13787 |
# File 'lib/ovirtsdk4/services.rb', line 13785 def remove(opts = {}) internal_remove(REMOVE, opts) end |
#service(path) ⇒ Service
Locates the service corresponding to the given path.
13796 13797 13798 13799 13800 13801 |
# File 'lib/ovirtsdk4/services.rb', line 13796 def service(path) if path.nil? || path == '' return self end raise Error.new("The path \"#{path}\" doesn't correspond to any service") end |