Class: OvirtSDK4::StorageDomainServerConnectionService
- Defined in:
- lib/ovirtsdk4/services.rb,
lib/ovirtsdk4/services.rb
Instance Method Summary collapse
-
#get(opts = {}) ⇒ StorageConnection
Returns the representation of the object managed by this service.
-
#remove(opts = {}) ⇒ Object
Detaches a storage connection from storage.
-
#service(path) ⇒ Service
Locates the service corresponding to the given path.
Methods inherited from Service
Instance Method Details
#get(opts = {}) ⇒ StorageConnection
Returns the representation of the object managed by this service.
23078 23079 23080 |
# File 'lib/ovirtsdk4/services.rb', line 23078 def get(opts = {}) internal_get(GET, opts) end |
#remove(opts = {}) ⇒ Object
Detaches a storage connection from storage.
23103 23104 23105 |
# File 'lib/ovirtsdk4/services.rb', line 23103 def remove(opts = {}) internal_remove(REMOVE, opts) end |
#service(path) ⇒ Service
Locates the service corresponding to the given path.
23114 23115 23116 23117 23118 23119 |
# File 'lib/ovirtsdk4/services.rb', line 23114 def service(path) if path.nil? || path == '' return self end raise Error.new("The path \"#{path}\" doesn't correspond to any service") end |