public class TroveUtils extends Object
| Constructor and Description |
|---|
TroveUtils(TroveApi api) |
| Modifier and Type | Method and Description |
|---|---|
Instance |
getWorkingInstance(String zone)
This will return a small working instance.
|
Instance |
getWorkingInstance(String zone,
String name,
String flavorId,
int size)
Create an ACTIVE operational instance.
|
protected Logger logger
public TroveUtils(TroveApi api)
public Instance getWorkingInstance(String zone, String name, String flavorId, int size)
zone - The instance zone or region.name - Instance name.flavorId - Id of the flavor to be used when creating the instance.size - Size of the instance.InstanceApi.create(String, int, String)Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.