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.
16422 16423 16424 |
# File 'lib/ovirtsdk4/services.rb', line 16422 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/networklabels/exemplary
16454 16455 16456 |
# File 'lib/ovirtsdk4/services.rb', line 16454 def remove(opts = {}) internal_remove(REMOVE, opts) end |