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
export
method. -
#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.
26152 26153 26154 |
# File 'lib/ovirtsdk4/services.rb', line 26152 def copy(opts = {}) internal_action(:copy, nil, COPY, opts) end |
#export(opts = {}) ⇒ Object
Executes the export
method.
26184 26185 26186 |
# File 'lib/ovirtsdk4/services.rb', line 26184 def export(opts = {}) internal_action(:export, nil, EXPORT, opts) end |
#get(opts = {}) ⇒ Disk
Returns the representation of the object managed by this service.
26213 26214 26215 |
# File 'lib/ovirtsdk4/services.rb', line 26213 def get(opts = {}) internal_get(GET, opts) end |
#remove(opts = {}) ⇒ Object
Deletes the object managed by this service.
26238 26239 26240 |
# File 'lib/ovirtsdk4/services.rb', line 26238 def remove(opts = {}) internal_remove(REMOVE, opts) end |