Class: OvirtSDK4::StorageDomainVmDiskAttachmentService
- Defined in:
- lib/ovirtsdk4/services.rb,
lib/ovirtsdk4/services.rb
Instance Method Summary collapse
-
#get(opts = {}) ⇒ DiskAttachment
Returns the details of the attachment with all its properties and a link to the disk.
-
#service(path) ⇒ Service
Locates the service corresponding to the given path.
Methods inherited from Service
Instance Method Details
#get(opts = {}) ⇒ DiskAttachment
Returns the details of the attachment with all its properties and a link to the disk.
24149 24150 24151 |
# File 'lib/ovirtsdk4/services.rb', line 24149 def get(opts = {}) internal_get(GET, opts) end |
#service(path) ⇒ Service
Locates the service corresponding to the given path.
24160 24161 24162 24163 24164 24165 |
# File 'lib/ovirtsdk4/services.rb', line 24160 def service(path) if path.nil? || path == '' return self end raise Error.new("The path \"#{path}\" doesn't correspond to any service") end |