|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AWSInstanceClient
Provides access to EC2 via their REST API.
Method Summary | |
---|---|
Set<? extends Reservation<? extends AWSRunningInstance>> |
describeInstancesInRegion(String region,
String... instanceIds)
Returns information about instances that you own. |
Reservation<? extends AWSRunningInstance> |
runInstancesInRegion(String region,
String nullableAvailabilityZone,
String imageId,
int minCount,
int maxCount,
RunInstancesOptions... options)
Launches a specified number of instances of an AMI for which you have permissions. |
Method Detail |
---|
Set<? extends Reservation<? extends AWSRunningInstance>> describeInstancesInRegion(@Nullable String region, String... instanceIds)
InstanceClient
describeInstancesInRegion
in interface InstanceClient
region
- Instances are tied to Availability Zones. However, the instance
ID is tied to the Region.InstanceClient.runInstancesInRegion(java.lang.String, java.lang.String, java.lang.String, int, int, org.jclouds.ec2.options.RunInstancesOptions...)
,
InstanceClient.terminateInstancesInRegion(java.lang.String, java.lang.String...)
,
Reservation<? extends AWSRunningInstance> runInstancesInRegion(@Nullable String region, @Nullable String nullableAvailabilityZone, String imageId, int minCount, int maxCount, RunInstancesOptions... options)
InstanceClient
runInstancesInRegion
in interface InstanceClient
region
- Instances are tied to Availability Zones. However, the instance
ID is tied to the Region.nullableAvailabilityZone
- Specifies the placement constraints (Availability Zones) for
launching the instances. If null, Amazon will determine the best
availability zone to place the instance.imageId
- Unique ID of a machine image, returned by a call tominCount
- Minimum number of instances to launch. If the value is more than
Amazon EC2 can launch, no instances a re launched at all.
Constraints: Between 1 and the maximum number allowed for your
account (default: 20).maxCount
- Maximum number of instances to launch. If the value is more than
Amazon EC2 can launch, the largest possible number above
minCount will be launched instead. Constraints: Between 1 and
the maximum number allowed for your account (default: 20).InstanceClient.describeInstancesInRegion(java.lang.String, java.lang.String...)
,
InstanceClient.terminateInstancesInRegion(java.lang.String, java.lang.String...)
,
#authorizeSecurityGroupIngressInRegion
,
#revokeSecurityGroupIngressInRegion
,
#describeSecurityGroupsInRegion
,
#createSecurityGroupInRegion
,
#createKeyPairInRegion
,
,
RunInstancesOptions
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |