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>
5152 5153 5154 |
# File 'lib/ovirtsdk4/services.rb', line 5152 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
5182 5183 5184 |
# File 'lib/ovirtsdk4/services.rb', line 5182 def remove(opts = {}) internal_remove(REMOVE, opts) end |