Get VS XML Config

To view the XML config for a specific VS, use the following request:

GET /virtual_machines/:virtual_machine_id/xml_config.xml
GET /virtual_machines/:virtual_machine_id/xml_config.json

XML Request Example

curl -i -X GET -u user:userpass --url http://onapp.test/virtual_machines/12/xml_config.xml -H 'Accept: application/xml' -H 'Content-type: application/xml'

JSON Request Example

curl -i -X GET -u user:userpass --url http://onapp.test/virtual_machines/12/xml_config.json -H 'Accept: application/json' -H'Content-type: application/json'

XML Output Example



xml_config - the VS XML configuration parameters, including CPU, memory and other parameters, which can differ depending on every specific VS features, OS, devices etc.

xml_config_edited -  true, if XML config file was edited, otherwise, false