Class: OvirtSDK4::AffinityLabelHostService
- Defined in:
- lib/ovirtsdk4/services.rb,
lib/ovirtsdk4/services.rb
Instance Method Summary collapse
-
#get(opts = {}) ⇒ Host
Retrieves details about a host that has this label assigned.
-
#remove(opts = {}) ⇒ Object
Remove a label from a host.
-
#service(path) ⇒ Service
Locates the service corresponding to the given path.
Methods inherited from Service
Instance Method Details
#get(opts = {}) ⇒ Host
Retrieves details about a host that has this label assigned.
1378 1379 1380 |
# File 'lib/ovirtsdk4/services.rb', line 1378 def get(opts = {}) internal_get(GET, opts) end |
#remove(opts = {}) ⇒ Object
Remove a label from a host.
1401 1402 1403 |
# File 'lib/ovirtsdk4/services.rb', line 1401 def remove(opts = {}) internal_remove(REMOVE, opts) end |