Methods To Retrieve vApp Configuration

  • GetChildrenVms()
    Gets a list of all child virtual machines that constitute a given vApp. Returns
    List<VM>
    .
  • GetStartupSection()
    Get virtual machine startup information. Returns
    StartupSectionType
    .
  • GetNetworksByName()
    Get mapping of all the network sections using their name. Returns
    Dictionary<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. Returns
    NetworkConfigSectionType
    .
  • GetLeaseSettingSection()
    Get lease settings information. It includes deployment and storage lease settings for the vApp. Returns
    LeaseSettingsSectionType
    .
  • GetOwner()
    Get owner information for the vApp. Returns
    ReferenceType
    .
  • GetMetadata()
    Every resource in vCloud API can be associated with user-defined metadata. This method returns user-defined metadata associated with a vApp. Returns
    MetadataType
    .
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