public class TroveUtils extends Object
| Constructor and Description |
|---|
TroveUtils(TroveApi api) |
| Modifier and Type | Method and Description |
|---|---|
Instance |
getWorkingInstance(String region)
This will return a small working instance.
|
Instance |
getWorkingInstance(String region,
String name,
String flavorId,
int size)
Create an ACTIVE operational instance.
|
protected Logger logger
public TroveUtils(TroveApi api)
public Instance getWorkingInstance(String region, String name, String flavorId, int size)
region - The instance 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-2018 The Apache Software Foundation. All Rights Reserved.