Class: OvirtSDK4::TemplateDiskService
- Defined in:
- lib/ovirtsdk4/services.rb,
lib/ovirtsdk4/services.rb
Instance Method Summary collapse
-
#copy(opts = {}) ⇒ Object
Copy the specified disk attached to the template to a specific storage domain.
-
#export(opts = {}) ⇒ Object
Executes the
exportmethod. -
#get(opts = {}) ⇒ Disk
Returns the representation of the object managed by this service.
-
#remove(opts = {}) ⇒ Object
Deletes the object managed by this service.
-
#service(path) ⇒ Service
Locates the service corresponding to the given path.
Methods inherited from Service
Instance Method Details
#copy(opts = {}) ⇒ Object
Copy the specified disk attached to the template to a specific storage domain.
25975 25976 25977 |
# File 'lib/ovirtsdk4/services.rb', line 25975 def copy(opts = {}) internal_action(:copy, nil, COPY, opts) end |
#export(opts = {}) ⇒ Object
Executes the export method.
26007 26008 26009 |
# File 'lib/ovirtsdk4/services.rb', line 26007 def export(opts = {}) internal_action(:export, nil, EXPORT, opts) end |
#get(opts = {}) ⇒ Disk
Returns the representation of the object managed by this service.
26036 26037 26038 |
# File 'lib/ovirtsdk4/services.rb', line 26036 def get(opts = {}) internal_get(GET, opts) end |
#remove(opts = {}) ⇒ Object
Deletes the object managed by this service.
26061 26062 26063 |
# File 'lib/ovirtsdk4/services.rb', line 26061 def remove(opts = {}) internal_remove(REMOVE, opts) end |