public interface AWSInstanceClient extends InstanceClient
Modifier and Type | Method and Description |
---|---|
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.
|
getBlockDeviceMappingForInstanceInRegion, getInstanceInitiatedShutdownBehaviorForInstanceInRegion, getInstanceTypeForInstanceInRegion, getKernelForInstanceInRegion, getRamdiskForInstanceInRegion, getRootDeviceNameForInstanceInRegion, getUserDataForInstanceInRegion, isApiTerminationDisabledForInstanceInRegion, rebootInstancesInRegion, resetKernelForInstanceInRegion, resetRamdiskForInstanceInRegion, setApiTerminationDisabledForInstanceInRegion, setBlockDeviceMappingForInstanceInRegion, setInstanceInitiatedShutdownBehaviorForInstanceInRegion, setInstanceTypeForInstanceInRegion, setKernelForInstanceInRegion, setRamdiskForInstanceInRegion, setUserDataForInstanceInRegion, startInstancesInRegion, stopInstancesInRegion, terminateInstancesInRegion
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
Copyright © 2009-2012 jclouds. All Rights Reserved.