Package org.jclouds.aws.ec2.features
Interface PlacementGroupApi
-
public interface PlacementGroupApi
Provides access to EC2 Placement Groups via their REST API.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
createPlacementGroupInRegion(String region, String name)
void
createPlacementGroupInRegion(String region, String name, String strategy)
Creates a placement group that you launch cluster compute instances into.void
deletePlacementGroupInRegion(String region, String name)
Deletes a placement group from your account.Set<PlacementGroup>
describePlacementGroupsInRegion(String region, String... placementGroupIds)
Returns information about one or more placement groups in your account.Set<PlacementGroup>
describePlacementGroupsInRegionWithFilter(String region, com.google.common.collect.Multimap<String,String> filter)
Returns information about one or more placement groups in your account.
-
-
-
Method Detail
-
createPlacementGroupInRegion
@Named("CreatePlacementGroup") @POST @Path("/") void createPlacementGroupInRegion(@Nullable String region, @FormParam("GroupName") String name, @FormParam("Strategy") String strategy)
Creates a placement group that you launch cluster compute instances into. You must give the group a name unique within the scope of your account.- Parameters:
region
- Region to create the placement group in.name
- The name of the placement group..strategy
- The placement group strategy.- See Also:
describePlacementGroupsInRegion(java.lang.String, java.lang.String...)
,deletePlacementGroupInRegion(java.lang.String, java.lang.String)
,
-
createPlacementGroupInRegion
@Named("CreatePlacementGroup") @POST @Path("/") void createPlacementGroupInRegion(@Nullable String region, @FormParam("GroupName") String name)
-
deletePlacementGroupInRegion
@Named("DeletePlacementGroup") @POST @Path("/") void deletePlacementGroupInRegion(@Nullable String region, @FormParam("GroupName") String name)
Deletes a placement group from your account. You must terminate all instances in the placement group before deleting it.- Parameters:
region
- Region to delete the placement from fromname
- Name of the security group to delete.- See Also:
describePlacementGroupsInRegion(java.lang.String, java.lang.String...)
,createPlacementGroupInRegion(java.lang.String, java.lang.String, java.lang.String)
,
-
describePlacementGroupsInRegion
@Named("DescribePlacementGroups") @POST @Path("/") Set<PlacementGroup> describePlacementGroupsInRegion(@Nullable String region, String... placementGroupIds)
Returns information about one or more placement groups in your account.- Parameters:
region
- The bundleTask ID is tied to the Region.groupNames
- The name of the placement group. You can specify more than one in the request, or omit the parameter if you want information about all your placement groups. By default, all placement groups are described- See Also:
deletePlacementGroupInRegion(java.lang.String, java.lang.String)
,createPlacementGroupInRegion(java.lang.String, java.lang.String, java.lang.String)
,
-
describePlacementGroupsInRegionWithFilter
@Named("DescribePlacementGroups") @POST @Path("/") Set<PlacementGroup> describePlacementGroupsInRegionWithFilter(@Nullable String region, com.google.common.collect.Multimap<String,String> filter)
Returns information about one or more placement groups in your account.- Parameters:
region
- The bundleTask ID is tied to the Region.filter
- Multimap of filter key/values- See Also:
deletePlacementGroupInRegion(java.lang.String, java.lang.String)
,createPlacementGroupInRegion(java.lang.String, java.lang.String, java.lang.String)
,
-
-