Disable Storage Related Services for CloudBoot Compute Resources
To disable the storage-related services for a CloudBoot compute resource, use the following request:
POST /settings/hypervisors/:hypervisor_id/integrated_storage/disable.xml
POST /settings/hypervisors/:hypervisor_id/integrated_storage/disable.json
XML Request Example
curl -i -X POST http://onapp.test/settings/hypervisors/13/integrated_storage/disable.xml -d '<force>true</force>' -u account_email:API_key -H 'Accept:application/xml' -H 'Content-type:application/xml'
JSON Request Example
curl -i -X POST http://onapp.test/settings/hypervisors/13/integrated_storage/disable.json -d '{"force":"true"}' -u account_email:API_key -H 'Accept:application/json' -H 'Content-type:application/json'
Where:
force - an optional parameter that you can set to true to disable the storage-related services if the health check has failed, otherwise, set to false