Class: OvirtSDK4::NetworkLabelService
- Defined in:
- lib/ovirtsdk4/services.rb,
lib/ovirtsdk4/services.rb
Instance Method Summary collapse
-
#get(opts = {}) ⇒ NetworkLabel
Returns the representation of the object managed by this service.
-
#remove(opts = {}) ⇒ Object
Removes a label from a logical network.
-
#service(path) ⇒ Service
Locates the service corresponding to the given path.
Methods inherited from Service
Instance Method Details
#get(opts = {}) ⇒ NetworkLabel
Returns the representation of the object managed by this service.
15173 15174 15175 |
# File 'lib/ovirtsdk4/services.rb', line 15173 def get(opts = {}) internal_get(GET, opts) end |
#remove(opts = {}) ⇒ Object
Removes a label from a logical network.
For example, to remove the label exemplary
from a logical network having id 123
send the following request:
DELETE /ovirt-engine/api/networks/123/labels/exemplary
15205 15206 15207 |
# File 'lib/ovirtsdk4/services.rb', line 15205 def remove(opts = {}) internal_remove(REMOVE, opts) end |