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.
27627 27628 27629 |
# File 'lib/ovirtsdk4/services.rb', line 27627 def copy(opts = {}) internal_action(:copy, nil, COPY, opts) end |
#export(opts = {}) ⇒ Object
Executes the export
method.
27659 27660 27661 |
# File 'lib/ovirtsdk4/services.rb', line 27659 def export(opts = {}) internal_action(:export, nil, EXPORT, opts) end |
#get(opts = {}) ⇒ Disk
Returns the representation of the object managed by this service.
27688 27689 27690 |
# File 'lib/ovirtsdk4/services.rb', line 27688 def get(opts = {}) internal_get(GET, opts) end |
#remove(opts = {}) ⇒ Object
Deletes the object managed by this service.
27713 27714 27715 |
# File 'lib/ovirtsdk4/services.rb', line 27713 def remove(opts = {}) internal_remove(REMOVE, opts) end |