Child pages
  • Attach Compute Zone to Location Group
Skip to end of metadata
Go to start of metadata
POST /settings/location_groups/:location_group_id/hypervisor_groups/attach_resource.xml
POST /settings/location_groups/:location_group_id/hypervisor_groups/attach_resource.json

XML Request example

curl -i -X POST -H 'Accept: application/xml' -H 'Content-type: application/xml' -u user:userpass -d '<attach_resource_id>1</attach_resource_id>' --url http://onapp.test/settings/location_groups/1/hypervisor_groups/attach_resource.xml

JSON Request example

curl -i -X POST -H 'Accept: application/json' -H 'Content-type: application/json' -u user:userpass -d '
{"attach_resource_id":"4"}' --url http://onapp.test/settings/location_groups/1/hypervisor_groups/attach_resource.json

This request attaches a particular compute zone (attach_resource_id*) to a specific location group (:location_group_id)

  • No labels