public interface AWSInstanceApi extends InstanceApi
Modifier and Type | Method and Description |
---|---|
Set<? extends Reservation<? extends AWSRunningInstance>> |
describeInstancesInRegion(String region,
String... instanceIds)
Returns information about instances that you own.
|
Set<? extends Reservation<? extends AWSRunningInstance>> |
describeInstancesInRegionWithFilter(String region,
com.google.common.collect.Multimap<String,String> filter)
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, getConsoleOutputForInstanceInRegion, getInstanceInitiatedShutdownBehaviorForInstanceInRegion, getInstanceTypeForInstanceInRegion, getKernelForInstanceInRegion, getRamdiskForInstanceInRegion, getRootDeviceNameForInstanceInRegion, getUserDataForInstanceInRegion, isApiTerminationDisabledForInstanceInRegion, rebootInstancesInRegion, resetKernelForInstanceInRegion, resetRamdiskForInstanceInRegion, setApiTerminationDisabledForInstanceInRegion, setBlockDeviceMappingForInstanceInRegion, setInstanceInitiatedShutdownBehaviorForInstanceInRegion, setInstanceTypeForInstanceInRegion, setKernelForInstanceInRegion, setRamdiskForInstanceInRegion, setUserDataForInstanceInRegion, startInstancesInRegion, stopInstancesInRegion, terminateInstancesInRegion
@Named(value="DescribeInstances") Set<? extends Reservation<? extends AWSRunningInstance>> describeInstancesInRegion(@Nullable String region, String... instanceIds)
InstanceApi
describeInstancesInRegion
in interface InstanceApi
region
- Instances are tied to Availability Zones. However, the instance
ID is tied to the Region.InstanceApi.runInstancesInRegion(java.lang.String, java.lang.String, java.lang.String, int, int, org.jclouds.ec2.options.RunInstancesOptions...)
,
InstanceApi.terminateInstancesInRegion(java.lang.String, java.lang.String...)
,
@Named(value="DescribeInstances") Set<? extends Reservation<? extends AWSRunningInstance>> describeInstancesInRegionWithFilter(@Nullable String region, com.google.common.collect.Multimap<String,String> filter)
InstanceApi
describeInstancesInRegionWithFilter
in interface InstanceApi
region
- Instances are tied to Availability Zones. However, the instance
ID is tied to the Region.InstanceApi.runInstancesInRegion(java.lang.String, java.lang.String, java.lang.String, int, int, org.jclouds.ec2.options.RunInstancesOptions...)
,
InstanceApi.terminateInstancesInRegion(java.lang.String, java.lang.String...)
,
@Named(value="RunInstances") Reservation<? extends AWSRunningInstance> runInstancesInRegion(@Nullable String region, @Nullable String nullableAvailabilityZone, String imageId, int minCount, int maxCount, RunInstancesOptions... options)
InstanceApi
runInstancesInRegion
in interface InstanceApi
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).InstanceApi.describeInstancesInRegion(java.lang.String, java.lang.String...)
,
InstanceApi.terminateInstancesInRegion(java.lang.String, java.lang.String...)
,
#authorizeSecurityGroupIngressInRegion
,
#revokeSecurityGroupIngressInRegion
,
#describeSecurityGroupsInRegion
,
#createSecurityGroupInRegion
,
#createKeyPairInRegion
,
,
RunInstancesOptions
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.