Methods To Retrieve vApp
Configuration
- GetChildrenVms()Gets a list of all child virtual machines that constitute a given vApp. ReturnsList<VM>.
- GetStartupSection()Get virtual machine startup information. ReturnsStartupSectionType.
- GetNetworksByName()Get mapping of all the network sections using their name. ReturnsDictionary<string, NetworkSection_TypeNetwork>.
- GetNetworkConfigSection()Get network configuration details for a vApp. The information typically contains IP scope (gateway, netmask, DNS settings, IP range), Parent network, Fence Mode settings, and so on. ReturnsNetworkConfigSectionType.
- GetLeaseSettingSection()Get lease settings information. It includes deployment and storage lease settings for the vApp. ReturnsLeaseSettingsSectionType.
- GetOwner()Get owner information for the vApp. ReturnsReferenceType.
- GetMetadata()Every resource in vCloud API can be associated with user-defined metadata. This method returns user-defined metadata associated with a vApp. ReturnsMetadataType.
The following example shows REST API calls used to
get vApp configuration data.
GET https://vCloud/api/vapp/id GET https://vCloud/api/vapp/id/startupSection GET https://vCloud/api/vapp/id/networkConnectionSection GET https://vCloud/api/vapp/id/networkConfigSection GET https://vCloud/api/vapp/id/leaseSettingsSection GET https://vCloud/api/vapp/id/owner GET https://vCloud/api/vapp/id/metadata