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.
1957 1958 1959 |
# File 'lib/ovirtsdk4/services.rb', line 1957 def get(opts = {}) internal_get(GET, opts) end |
#remove(opts = {}) ⇒ Object
Remove a label from a host.
1980 1981 1982 |
# File 'lib/ovirtsdk4/services.rb', line 1980 def remove(opts = {}) internal_remove(REMOVE, opts) end |