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.
22709 22710 22711 |
# File 'lib/ovirtsdk4/services.rb', line 22709 def get(opts = {}) internal_get(GET, opts) end |
#service(path) ⇒ Service
Locates the service corresponding to the given path.
22720 22721 22722 22723 22724 22725 |
# File 'lib/ovirtsdk4/services.rb', line 22720 def service(path) if path.nil? || path == '' return self end raise Error.new("The path \"#{path}\" doesn't correspond to any service") end |