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/creating_a_vapp.md
2013-08-08 01:29:00 +01:00

558 B

Creating a vApp

  connection.servers.create(
    :vdc_uri            => vdc-uuid,
    :catalog_item_uri   => catalog-uuid,
    :name               => vApp-name,
    :network_uri        => network-uri,
    :network_name       => network-name,
    :connection_options => {
      :ssl_verify_peer   => false,
      :omit_default_port => true
    }
  )
  • Not most of the uris can be found by understanding the vcloud api eg various network information can be retrieved by connection.servers.service.networks