Class: OvirtSDK4::ClusterEnabledFeatureService
- Defined in:
- lib/ovirtsdk4/services.rb,
lib/ovirtsdk4/services.rb
Instance Method Summary collapse
-
#get(opts = {}) ⇒ ClusterFeature
Provides the information about the cluster feature enabled.
-
#remove(opts = {}) ⇒ Object
Disables a cluster feature.
-
#service(path) ⇒ Service
Locates the service corresponding to the given path.
Methods inherited from Service
Instance Method Details
#get(opts = {}) ⇒ ClusterFeature
Provides the information about the cluster feature enabled.
For example, to find details of the enabled feature 456
for cluster 123
, send a request like this:
GET /ovirt-engine/api/clusters/123/enabledfeatures/456
That will return a ClusterFeature object containing the name:
<cluster_feature id="456">
<name>libgfapi_supported</name>
</cluster_feature>
5112 5113 5114 |
# File 'lib/ovirtsdk4/services.rb', line 5112 def get(opts = {}) internal_get(GET, opts) end |
#remove(opts = {}) ⇒ Object
Disables a cluster feature.
For example, to disable the feature 456
of cluster 123
send a request like this:
DELETE /ovirt-engine/api/clusters/123/enabledfeatures/456
5142 5143 5144 |
# File 'lib/ovirtsdk4/services.rb', line 5142 def remove(opts = {}) internal_remove(REMOVE, opts) end |