Class: OvirtSDK4::AffinityGroupVmService
- Defined in:
- lib/ovirtsdk4/services.rb,
lib/ovirtsdk4/services.rb
Instance Method Summary collapse
-
#remove(opts = {}) ⇒ Object
Remove this virtual machine from the affinity group.
-
#service(path) ⇒ Service
Locates the service corresponding to the given path.
Methods inherited from Service
Instance Method Details
#remove(opts = {}) ⇒ Object
Remove this virtual machine from the affinity group.
974 975 976 |
# File 'lib/ovirtsdk4/services.rb', line 974 def remove(opts = {}) internal_remove(REMOVE, opts) end |
#service(path) ⇒ Service
Locates the service corresponding to the given path.
985 986 987 988 989 990 |
# File 'lib/ovirtsdk4/services.rb', line 985 def service(path) if path.nil? || path == '' return self end raise Error.new("The path \"#{path}\" doesn't correspond to any service") end |