org.jclouds.vcloud.compute
Interface VCloudExpressComputeClient

All Superinterfaces:
org.jclouds.vcloud.compute.CommonVCloudComputeClient
All Known Implementing Classes:
VCloudExpressComputeClientImpl

public interface VCloudExpressComputeClient
extends org.jclouds.vcloud.compute.CommonVCloudComputeClient

Author:
Adrian Cole

Method Summary
 VCloudExpressVApp start(URI VDC, URI templateId, String name, InstantiateVAppTemplateOptions options, int... portsToOpen)
          Runs through all commands necessary to startup a vApp, opening at least one ip address to the public network.
 
Methods inherited from interface org.jclouds.vcloud.compute.CommonVCloudComputeClient
getPrivateAddresses, getPublicAddresses, reset, stop
 

Method Detail

start

VCloudExpressVApp start(@Nullable
                        URI VDC,
                        URI templateId,
                        String name,
                        InstantiateVAppTemplateOptions options,
                        int... portsToOpen)
Runs through all commands necessary to startup a vApp, opening at least one ip address to the public network. These are the steps:

instantiate -> deploy -> powerOn

This command blocks until the vApp is in state VAppStatus#ON

Parameters:
VDC - id of the virtual datacenter VCloudClient#getDefaultVDC
templateId - id of the vAppTemplate you wish to instantiate
name - name of the vApp
cores - amount of virtual cpu cores
megs - amount of ram in megabytes
options - options for instantiating the vApp; null is ok
portsToOpen - opens the following ports on the public ip address
Returns:
map contains at least the following properties
  1. id - vApp id
  2. username - console login user
  3. password - console login password


Copyright © 2009-2011 jclouds. All Rights Reserved.