Package | Description |
---|---|
org.jclouds.aws.ec2.compute | |
org.jclouds.ec2.compute | |
org.jclouds.ec2.compute.options |
Modifier and Type | Class and Description |
---|---|
class |
AWSEC2TemplateOptions
Contains options supported in the
ComputeService#runNode operation on
the "ec2" provider. |
Modifier and Type | Method and Description |
---|---|
EC2TemplateOptions |
EC2ComputeService.templateOptions()
returns template options, except of type
EC2TemplateOptions . |
Modifier and Type | Field and Description |
---|---|
static EC2TemplateOptions |
EC2TemplateOptions.NONE |
Modifier and Type | Method and Description |
---|---|
EC2TemplateOptions |
EC2TemplateOptions.authorizePublicKey(String publicKey)
authorize an rsa ssh key.
|
static EC2TemplateOptions |
EC2TemplateOptions.Builder.authorizePublicKey(String rsaKey) |
EC2TemplateOptions |
EC2TemplateOptions.blockDeviceMappings(Iterable<? extends BlockDeviceMapping> blockDeviceMappings) |
static EC2TemplateOptions |
EC2TemplateOptions.Builder.blockDeviceMappings(Set<? extends BlockDeviceMapping> blockDeviceMappings) |
EC2TemplateOptions |
EC2TemplateOptions.blockOnComplete(boolean blockOnComplete)
As of version 1.1.0, we cannot kick off a script unless a node is in
RUNNING state.
|
static EC2TemplateOptions |
EC2TemplateOptions.Builder.blockOnComplete(boolean value) |
EC2TemplateOptions |
EC2TemplateOptions.blockOnPort(int port,
int seconds)
When the node is started, wait until the following port is active
|
static EC2TemplateOptions |
EC2TemplateOptions.Builder.blockOnPort(int port,
int seconds) |
EC2TemplateOptions |
EC2TemplateOptions.blockUntilRunning(boolean blockUntilRunning)
Note
|
static EC2TemplateOptions |
EC2TemplateOptions.Builder.blockUntilRunning(boolean blockUntilRunning) |
EC2TemplateOptions |
EC2TemplateOptions.clientToken(String clientToken) |
static EC2TemplateOptions |
EC2TemplateOptions.Builder.clientToken(String clientToken) |
EC2TemplateOptions |
EC2TemplateOptions.clone() |
EC2TemplateOptions |
EC2TemplateOptions.dontAuthorizePublicKey() |
EC2TemplateOptions |
EC2TemplateOptions.inboundPorts(int... ports)
Opens the set of ports to public access.
|
static EC2TemplateOptions |
EC2TemplateOptions.Builder.inboundPorts(int... ports) |
EC2TemplateOptions |
EC2TemplateOptions.installPrivateKey(String privateKey)
replaces the rsa ssh key used at login.
|
static EC2TemplateOptions |
EC2TemplateOptions.Builder.installPrivateKey(String rsaKey) |
EC2TemplateOptions |
EC2TemplateOptions.keyPair(String keyPair)
Specifies the keypair used to run instances with
|
static EC2TemplateOptions |
EC2TemplateOptions.Builder.keyPair(String keyPair) |
EC2TemplateOptions |
EC2TemplateOptions.mapEBSSnapshotToDeviceName(String deviceName,
String snapshotId,
Integer sizeInGib,
boolean deleteOnTermination) |
static EC2TemplateOptions |
EC2TemplateOptions.Builder.mapEBSSnapshotToDeviceName(String deviceName,
String snapshotId,
Integer sizeInGib,
boolean deleteOnTermination) |
EC2TemplateOptions |
EC2TemplateOptions.mapEBSSnapshotToDeviceName(String deviceName,
String snapshotId,
Integer sizeInGib,
boolean deleteOnTermination,
String volumeType,
Integer iops,
boolean encrypted) |
EC2TemplateOptions |
EC2TemplateOptions.mapEphemeralDeviceToDeviceName(String deviceName,
String virtualName) |
static EC2TemplateOptions |
EC2TemplateOptions.Builder.mapEphemeralDeviceToDeviceName(String deviceName,
String virtualName) |
EC2TemplateOptions |
EC2TemplateOptions.mapNewVolumeToDeviceName(String deviceName,
int sizeInGib,
boolean deleteOnTermination) |
static EC2TemplateOptions |
EC2TemplateOptions.Builder.mapNewVolumeToDeviceName(String deviceName,
int sizeInGib,
boolean deleteOnTermination) |
EC2TemplateOptions |
EC2TemplateOptions.mapNewVolumeToDeviceName(String deviceName,
int sizeInGib,
boolean deleteOnTermination,
String volumeType,
Integer iops,
boolean encrypted) |
EC2TemplateOptions |
EC2TemplateOptions.maxCount(Integer maxCount) |
static EC2TemplateOptions |
EC2TemplateOptions.Builder.maxCount(Integer maxCount) |
EC2TemplateOptions |
EC2TemplateOptions.nameTask(String name) |
static EC2TemplateOptions |
EC2TemplateOptions.Builder.nameTask(String name) |
EC2TemplateOptions |
EC2TemplateOptions.networks(Iterable<String> networks)
Assigns the created nodes to these networks
|
static EC2TemplateOptions |
EC2TemplateOptions.Builder.networks(Iterable<String> networks) |
EC2TemplateOptions |
EC2TemplateOptions.nodeNames(Iterable<String> nodeNames)
specifies names to be used for the created nodes.
|
static EC2TemplateOptions |
EC2TemplateOptions.Builder.nodeNames(Iterable<String> nodeNames) |
EC2TemplateOptions |
EC2TemplateOptions.noKeyPair()
Do not use a keypair on instances
|
static EC2TemplateOptions |
EC2TemplateOptions.Builder.noKeyPair() |
EC2TemplateOptions |
EC2TemplateOptions.overrideAuthenticateSudo(boolean authenticateSudo) |
static EC2TemplateOptions |
EC2TemplateOptions.Builder.overrideAuthenticateSudo(boolean authenticateSudo) |
EC2TemplateOptions |
EC2TemplateOptions.overrideLoginCredentials(LoginCredentials overridingCredentials) |
static EC2TemplateOptions |
EC2TemplateOptions.Builder.overrideLoginCredentials(LoginCredentials credentials) |
EC2TemplateOptions |
EC2TemplateOptions.overrideLoginPassword(String password) |
static EC2TemplateOptions |
EC2TemplateOptions.Builder.overrideLoginPassword(String password) |
EC2TemplateOptions |
EC2TemplateOptions.overrideLoginPrivateKey(String privateKey) |
static EC2TemplateOptions |
EC2TemplateOptions.Builder.overrideLoginPrivateKey(String privateKey) |
EC2TemplateOptions |
EC2TemplateOptions.overrideLoginUser(String loginUser) |
static EC2TemplateOptions |
EC2TemplateOptions.Builder.overrideLoginUser(String user) |
EC2TemplateOptions |
EC2TemplateOptions.runAsRoot(boolean runAsRoot) |
static EC2TemplateOptions |
EC2TemplateOptions.Builder.runAsRoot(boolean value) |
EC2TemplateOptions |
EC2TemplateOptions.runScript(Statement script)
This script will be executed as the root user upon system startup.
|
static EC2TemplateOptions |
EC2TemplateOptions.Builder.runScript(Statement script) |
EC2TemplateOptions |
EC2TemplateOptions.runScript(String script)
This script will be executed as the root user upon system startup.
|
static EC2TemplateOptions |
EC2TemplateOptions.Builder.runScript(String script) |
EC2TemplateOptions |
EC2TemplateOptions.securityGroups(Iterable<String> groupNames)
Specifies the security groups to be used for nodes with this template
|
static EC2TemplateOptions |
EC2TemplateOptions.Builder.securityGroups(Iterable<String> groupNames) |
EC2TemplateOptions |
EC2TemplateOptions.securityGroups(String... groupNames) |
static EC2TemplateOptions |
EC2TemplateOptions.Builder.securityGroups(String... groupNames) |
EC2TemplateOptions |
EC2TemplateOptions.tags(Iterable<String> tags)
assigns tags to the created nodes
|
static EC2TemplateOptions |
EC2TemplateOptions.Builder.tags(Iterable<String> tags) |
EC2TemplateOptions |
EC2TemplateOptions.unmapDeviceNamed(String deviceName) |
static EC2TemplateOptions |
EC2TemplateOptions.Builder.unmapDeviceNamed(String deviceName) |
EC2TemplateOptions |
EC2TemplateOptions.userData(byte[] unencodedData)
Unencoded data
|
static EC2TemplateOptions |
EC2TemplateOptions.Builder.userData(byte[] unencodedData) |
EC2TemplateOptions |
EC2TemplateOptions.userMetadata(Map<String,String> userMetadata) |
static EC2TemplateOptions |
EC2TemplateOptions.Builder.userMetadata(Map<String,String> userMetadata) |
EC2TemplateOptions |
EC2TemplateOptions.userMetadata(String key,
String value) |
static EC2TemplateOptions |
EC2TemplateOptions.Builder.userMetadata(String key,
String value) |
EC2TemplateOptions |
EC2TemplateOptions.wrapInInitScript(boolean wrapInInitScript)
default true
|
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.