Compose vApp
To compose a vApp, use the following request:
| |
XML Request Example
| |
JSON Request Example
| |
Where:
- vapp - the array of parameters to compose a vApp
- blank_vapp - set 1 to create a blank vApp; otherwise, set 0
- name - the vApp label
- description - the description of the vApp
- vdc_id - the virtual data center ID
- vapp_template_ids - the array of vApp templates IDs. All VSs that are built on these templates will be copied to your new vApp.
- vapp_template_id - the vApp template ID
- vapp_ids - the array of vApps IDs. All VSs within the specified vApps will be copied to your new vApp.
- vapp_id - the vApp ID
virtual_machines - the array of parameters associated with the VS- id - the ID of the VS
- name - edit the name of the VS
- cpus - set the number of cores
- core_per_socket - set the number of cores per socket
- memory - the amount of RAM allocated to this VS in Mb
- storage_policy - the virtual server’s storage policy that is a default data store ID. If Fast Provisioning is not enabled for the previously selected VDC, you can select a different data store for the VS’s disks.
- hard_disks - the array of parameters associated with the VS disks
- instance_id - the ID of the corresponding disk that is available via the Get List of vApp Templates request
- disk_space - set the disk size in Gb
- bus_sub_type - the bus sub type of the disk
- storage_policy - the disk storage policy that is a data store ID. This option is available only if the selected VDC has Fast Provisioning disabled. If you do not select a data store, the disk is built on the default data store.
- nics - the array of parameters associated with the NICs
- id - the ID of the NIC
- network_id - the ID of the network to which the NIC will be connected
- adapter_type - the network adapter type provided for the VS that can be one of the following values:
- Vlance
- E1000
- E1000E
- VMXNET
- VMXNET2
- VMXNET3
- FLEXIBLE
boot_vm - set 1 if the VS should be switched on after the vApp deployment; otherwise, set 0
Page History
v. 6.1
- Added the following parameters:
- virtual_machines array
- boot_vm
v. 6.0
- Added the description parameter