vCloud API Programming Guide
174 VMware, Inc.
Formoreinformation,see“ComposeavApp”onpage 65.
NetworkAssignment
WhenavAppincludesVmelementsthatconnecttonetworkswithdifferentnames,youcanusea
NetworkAssignmentelementtoassignthenetworkconnectionforeachVmtoaspecificnetworkintheparent
vApp.
RecomposeVAppParams
TheRecomposeVAppParamselementformsthebodyofarecomposeVapprequest.Thiselementallowsan
arbitrarynumberofDeleteItemelements,butisotherwiseidenticaltoComposeVAppParams.
Content-Type application/vnd.vmware.vcloud.recomposeVAppParams+xml
VAppScopedLocalId 0 1 xs:string IftheobjectreferencedinSourceisaVm,this
elementcanbeusedtoprovideaunique
identifierforthisVminthecomposedvApp.
InstantiationParams 0 1 InstantiationParamsType RequiredifSourceisaVm,andcancontainfor
anyofthefollowingovf:Section_Type
elements:
VirtualHardwareSection
OperatingSystemSection
NetworkConnectionSection
GuestCustomizationSection
NetworkAssignment 0 n NetworkAssignmentType MapslogicalnetworksintheSourcetological
networksinthecomposedvApp
Schema (Continued)
Name Min Max Type Description
Schema
Name Min Max Type Description
innerNetwork 1 1 xs:string NameofthenetworkintheVm
containerNetwork 1 1 xs:string NameofthevAppnetworktowhichinnerNetworkismapped
Schema
Name Min Max Type Description
name 1 1 xs:string SpecifiesthenameofthevAppcreatedbythis
composition
Description 0 1 xs:string Optionaldescription.Usedforthe
DescriptionofthecomposedvApp
deploy 0 1 xs:boolean TrueifthevAppshouldbedeployedafter
composition.Defaultstofalse.
powerOn 0 1 xs:boolean TrueifthevAppshouldbedeployedand
poweredonaftercomposition.Defaultsto
false.
linkedClone 0 1 xs:boolean Ignoredinthisrelease.
VAppParent 0 1
ReferenceType Unsupportedinthisrelease
InstantiationParams 0 1 InstantiationParamsType containerforanyofthefollowing
ovf:Section_Typeelements:
LeaseSettingsSection
StartupSection
NetworkConfigSection
CustomizationSection