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.
23829 23830 23831 |
# File 'lib/ovirtsdk4/services.rb', line 23829 def get(opts = {}) internal_get(GET, opts) end |
#service(path) ⇒ Service
Locates the service corresponding to the given path.
23840 23841 23842 23843 23844 23845 |
# File 'lib/ovirtsdk4/services.rb', line 23840 def service(path) if path.nil? || path == '' return self end raise Error.new("The path \"#{path}\" doesn't correspond to any service") end |