- Author:
- Adrian Cole
Methods inherited from class org.jclouds.compute.options.TemplateOptions |
as, blockOnComplete, blockUntilRunning, dontAuthorizePublicKey, getInboundPorts, getPrivateKey, getPublicKey, getRunScript, getTags, getUserMetadata, nameTask, overrideCredentialsWith, overrideLoginCredentialWith, overrideLoginUserWith, runAsRoot, runScript, shouldBlockUntilRunning, tags, wrapInInitScript |
NONE
public static final TerremarkVCloudTemplateOptions NONE
TerremarkVCloudTemplateOptions
public TerremarkVCloudTemplateOptions()
clone
public TerremarkVCloudTemplateOptions clone()
- Overrides:
clone
in class TemplateOptions
copyTo
public void copyTo(TemplateOptions to)
- Overrides:
copyTo
in class TemplateOptions
sshKeyFingerprint
public TerremarkVCloudTemplateOptions sshKeyFingerprint(String keyPair)
- Specifies the keypair used to run instances with
noKeyPair
public TerremarkVCloudTemplateOptions noKeyPair()
- Do not use a keypair on instances
blockOnPort
public TerremarkVCloudTemplateOptions blockOnPort(int port,
int seconds)
- Description copied from class:
RunScriptOptions
- When the node is started, wait until the following port is active
- Overrides:
blockOnPort
in class TemplateOptions
- See Also:
TemplateOptions.blockOnPort(int, int)
inboundPorts
public TerremarkVCloudTemplateOptions inboundPorts(int... ports)
- special thing is that we do assume if you are passing groups that you have
everything you need already defined. for example, our option inboundPorts
normally creates ingress rules accordingly but if we notice you've
specified securityGroups, we do not mess with rules at all
- Overrides:
inboundPorts
in class TemplateOptions
- See Also:
TemplateOptions.inboundPorts
authorizePublicKey
public TerremarkVCloudTemplateOptions authorizePublicKey(String publicKey)
- Description copied from class:
TemplateOptions
- authorize an rsa ssh key.
- Overrides:
authorizePublicKey
in class TemplateOptions
- See Also:
TemplateOptions.authorizePublicKey(String)
authorizePublicKey
@Deprecated
public TerremarkVCloudTemplateOptions authorizePublicKey(Payload publicKey)
- Deprecated.
- Description copied from class:
TemplateOptions
- authorize an rsa ssh key.
please use alternative that uses
String
- Overrides:
authorizePublicKey
in class TemplateOptions
- See Also:
TemplateOptions.authorizePublicKey(Payload)
installPrivateKey
public TerremarkVCloudTemplateOptions installPrivateKey(String privateKey)
- Description copied from class:
TemplateOptions
- replaces the rsa ssh key used at login.
- Overrides:
installPrivateKey
in class TemplateOptions
- See Also:
TemplateOptions.installPrivateKey(String)
installPrivateKey
@Deprecated
public TerremarkVCloudTemplateOptions installPrivateKey(Payload privateKey)
- Deprecated.
- Description copied from class:
TemplateOptions
- replaces the rsa ssh key used at login.
please use alternative that uses
String
- Overrides:
installPrivateKey
in class TemplateOptions
- See Also:
TemplateOptions.installPrivateKey(Payload)
runScript
public TerremarkVCloudTemplateOptions runScript(Payload script)
- Overrides:
runScript
in class TemplateOptions
- See Also:
TemplateOptions.runScript(Payload)
runScript
@Deprecated
public TerremarkVCloudTemplateOptions runScript(byte[] script)
- Deprecated.
- Description copied from class:
TemplateOptions
-
please use alternative that uses the
Statement
object
- Overrides:
runScript
in class TemplateOptions
- See Also:
TemplateOptions.runScript(byte[])
userMetadata
public TerremarkVCloudTemplateOptions userMetadata(Map<String,String> userMetadata)
- Overrides:
userMetadata
in class TemplateOptions
- Parameters:
userMetadata
- user-defined metadata to assign to this server- See Also:
TemplateOptions.userMetadata
userMetadata
public TerremarkVCloudTemplateOptions userMetadata(String key,
String value)
-
- Overrides:
userMetadata
in class TemplateOptions
- Parameters:
key
- key to place into the metadata mapvalue
- value to associate with that key
getSshKeyFingerprint
public String getSshKeyFingerprint()
- Returns:
- keyPair to use when running the instance or null, to generate a
keypair.
shouldAutomaticallyCreateKeyPair
public boolean shouldAutomaticallyCreateKeyPair()
- Returns:
- true (default) if we are supposed to use a keypair
hashCode
public int hashCode()
- Overrides:
hashCode
in class TemplateOptions
equals
public boolean equals(Object obj)
- Overrides:
equals
in class TemplateOptions
toString
public String toString()
- Overrides:
toString
in class TemplateOptions
Copyright © 2009-2011 jclouds. All Rights Reserved.