5. vCloud vApp Provisioning : 5.4 Workflow Inputs and Outputs
   
5.4 Workflow Inputs and Outputs
The following tables describe the inputs and outputs used by this workflow.
Table 14. Workflow Inputs: Custom Deploy vApp
Parameter
Description
vappTemplate
The source vApp template to be deployed.
vdc
The destination virtual datacenter.
name
The new vApp name.
description
vApp description.
runtimeLeaseHours
Number of hours for the runtime lease.
storageLeaseHours
Number of hours for the storage lease.
connectVMtoNetwork
Whether to connect the virtual machine(s) to a network.
vmNetwork
The network to which virtual machines should be connected.
ipAddressAllocationMode
IP address allocation type, such as manual, DHCP, pool.
vmIP
Static IP address manually assigned if IP address allocation mode is set to Manual and a programmatic method of assigning addresses is not coded.
ou
Organizational Unit to which new Windows virtual machine(s) should be added. The ou parameter lets you associate the new virtual machines with an OU domain.
This input field is hidden because vCloud Director 5.1 lets you specify an OU in which computer accounts can be created. The input and supporting code is not removed, though, because it can be beneficial for use cases that require programmatically determining the OU for computer accounts.
domainName
Domain name of user account to be added as local administrator of Windows virtual machine.
username
Username to be added as local administrator of Windows virtual machine.
postDeployWaitTime
Sleep time at end of workflow to allow for guest OS customization to complete.
changeSystemDiskSize
Whether to change the system disk size.
NoteRequires that fast provisioning be disabled on the target virtual datacenter.
newSystemDiskSize
If system disk is to be resized, new size in MB.
addDataDisk
Whether to add an additional disk.
dataDiskSize
If addDataDisk is true, size of new disk in MB.
setCPUCount
Whether to set a new CPU count.
newCPUCount
If setCPUCount is true, the new CPU count.
changeMemory
Whether to set new memory.
newMemorySize
If changeMemory is true, the new memory size in MB.
vmnamesAsvappName
Whether virtual machine names should be based on the vApp Name. If not, a custom naming convention is used.
 
Table 15. Workflow Outputs: Custom Deploy vApp
Parameter
Description
vAppOut
The new vApp created by the workflow.
vAppURL
The vCloud Director API URL (or HREF) of the newly created vApp.