...
Optionally create a Virtual Appliance
Tip | ||
---|---|---|
| ||
For the Abiquo API documentation of this feature, see Abiquo API Resources and the page for this resource VirtualApplianceResource. |
Div | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||
API Roles required:
cURL:
Success status code: 201 Request payload:
Response payload:
|
...
Get all the templates from the repository that are compatible with your virtual datacenter. In this example we only show one virtual machine template.
Tip | ||
---|---|---|
| ||
For the Abiquo API documentation of this feature, see Abiquo API Resources and the page for this resource VirtualMachineTemplateResource. |
API Roles required:
Code Block | ||
---|---|---|
| ||
* This action requires the privilege VDC_ENUMERATE,VDC_MANAGE,VDC_MANAGE_VAP |
...
So we will send a POST request with the VM object to the virtual machines link of the virtual appliance. Remember that until we deploy, the VM only exists in Abiquo – we haven't launched the VM in AWS yet.
Tip | ||
---|---|---|
| ||
For the Abiquo API documentation of this feature, see Abiquo API Resources and the page for this resource VirtualMachineResource. |
cURL:
Code Block |
---|
curl -X POST https://example.com:443/api/cloud/virtualdatacenters/490/virtualappliances/836/virtualmachines \ -H 'Accept:application/vnd.abiquo.virtualmachine+json; version=4.2' \ -H 'Content-Type:application/vnd.abiquo.virtualmachine+json; version=4.2' \ -d @requestpayload.xml \ -u user:password --verbose |
...
Deploy a Virtual Machine
Tip | ||
---|---|---|
| ||
For the Abiquo API documentation of this feature, see Abiquo API Resources and the page for this resource VirtualMachineResource. |
Tip | ||
---|---|---|
| ||
For the Abiquo API documentation of this feature, see Abiquo API Resources and the page for this resource VirtualApplianceResource. |
Code Block | ||
---|---|---|
| ||
* This action requires the privilege VAPP_DEPLOY_UNDEPLOY |
...