@Singleton public class StartVAppWithGroupEncodedIntoName extends Object implements CreateNodeWithGroupEncodedIntoName
Modifier and Type | Field and Description |
---|---|
protected TerremarkVCloudComputeClient |
computeClient |
protected Map<String,Credentials> |
credentialStore |
protected TemplateToInstantiateOptions |
getOptions |
protected PrioritizeCredentialsFromTemplate |
prioritizeCredentialsFromTemplate |
protected com.google.common.base.Function<VApp,NodeMetadata> |
vAppToNodeMetadata |
Modifier | Constructor and Description |
---|---|
protected |
StartVAppWithGroupEncodedIntoName(TerremarkVCloudComputeClient computeClient,
com.google.common.base.Function<VApp,NodeMetadata> vAppToNodeMetadata,
TemplateToInstantiateOptions getOptions,
Map<String,Credentials> credentialStore,
PrioritizeCredentialsFromTemplate prioritizeCredentialsFromTemplate) |
Modifier and Type | Method and Description |
---|---|
NodeMetadata |
createNodeWithGroupEncodedIntoName(String group,
String name,
Template template)
create a node given the name and template parameters such as imageid, hardwareid, and
locationid.
|
protected final TerremarkVCloudComputeClient computeClient
protected final TemplateToInstantiateOptions getOptions
protected final com.google.common.base.Function<VApp,NodeMetadata> vAppToNodeMetadata
protected final Map<String,Credentials> credentialStore
protected final PrioritizeCredentialsFromTemplate prioritizeCredentialsFromTemplate
@Inject protected StartVAppWithGroupEncodedIntoName(TerremarkVCloudComputeClient computeClient, com.google.common.base.Function<VApp,NodeMetadata> vAppToNodeMetadata, TemplateToInstantiateOptions getOptions, Map<String,Credentials> credentialStore, PrioritizeCredentialsFromTemplate prioritizeCredentialsFromTemplate)
public NodeMetadata createNodeWithGroupEncodedIntoName(String group, String name, Template template)
CreateNodeWithGroupEncodedIntoName
createNodeWithGroupEncodedIntoName
in interface CreateNodeWithGroupEncodedIntoName
group
- group name supplied by the username
- supplied by CreateNodesInGroupThenAddToSet
and must have the tag encoded into
it.template
- supplied by the userCopyright © 2009-2013 jclouds. All Rights Reserved.