mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
18 lines
558 B
Markdown
18 lines
558 B
Markdown
|
# 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`
|