1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00
fog--fog/lib/fog/vcloud/examples/get_vapp_information.md
2013-08-08 01:29:00 +01:00

291 B

Get network information

  • To see all vApps list

      connection.servers.service.vapps
    
  • To see details of a particular vApp

      selected_vapp = connection.servers.service.vapps.detect { |n| n.name == 'vapp-name' }
      connection.servers.service.get_vapp(selected_vapp.href)