GET /recipes/:recipe_id/applied_to_vs.xml
GET /recipes/:recipe_id/applied_to_vs.json

XML Request example

curl -i -X GET -u user:userpass http://onapp.test/recipes/:recipe_id/applied_to_vs.xml -H 'Accept: application/xml' -H 'Content-type: application/xml'

JSON Request example

curl -i -X GET -u user:userpass http://onapp.test/recipes/:recipe_id/applied_to_vs.json -H 'Accept: application/json' -H 'Content-type: application/json'

XML Output example

<?xml version="1.0" encoding="UTF-8"?>
<virtual_machines type="array">
  <virtual_machine>
    <identifier>ha5iw2q1uu89vd</identifier>
    <template_id type="integer">594</template_id>
    <vm_events type="array">
      <vm_event>vm_provisioning</vm_event>
    </vm_events>
  </virtual_machine>
  <virtual_machine>
    <identifier>qxhokd7mgxiw69</identifier>
    <template_id type="integer">111</template_id>
    <vm_events type="array">
      <vm_event>vm_provisioning</vm_event>
    </vm_events>
  </virtual_machine>
</virtual_machines>

To assign recipes to multiple virtual or smart servers, see Run Recipe on Multiple Virtual Servers and Run Recipe on Multiple Smart Servers sections.