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.
25906 25907 25908 |
# File 'lib/ovirtsdk4/services.rb', line 25906 def copy(opts = {}) internal_action(:copy, nil, COPY, opts) end |
#export(opts = {}) ⇒ Object
Executes the export
method.
25938 25939 25940 |
# File 'lib/ovirtsdk4/services.rb', line 25938 def export(opts = {}) internal_action(:export, nil, EXPORT, opts) end |
#get(opts = {}) ⇒ Disk
Returns the representation of the object managed by this service.
25967 25968 25969 |
# File 'lib/ovirtsdk4/services.rb', line 25967 def get(opts = {}) internal_get(GET, opts) end |
#remove(opts = {}) ⇒ Object
Deletes the object managed by this service.
25992 25993 25994 |
# File 'lib/ovirtsdk4/services.rb', line 25992 def remove(opts = {}) internal_remove(REMOVE, opts) end |