org.jclouds.aws.ec2.features
Interface PlacementGroupApi


public interface PlacementGroupApi

Provides access to EC2 Placement Groups via their REST API.


Method Summary
 void createPlacementGroupInRegion(String region, String name)
          like {@link #createPlacementGroupInRegion(String,String,String) except that the strategy is default: "cluster".
 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(value="CreatePlacementGroup")
void createPlacementGroupInRegion(@Nullable
                                        String region,
                                        String name,
                                        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(value="CreatePlacementGroup")
void createPlacementGroupInRegion(@Nullable
                                        String region,
                                        String name)
like {@link #createPlacementGroupInRegion(String,String,String) except that the strategy is default: "cluster".


deletePlacementGroupInRegion

@Named(value="DeletePlacementGroup")
void deletePlacementGroupInRegion(@Nullable
                                        String region,
                                        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 from
name - 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(value="DescribePlacementGroups")
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(value="DescribePlacementGroups")
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),


Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.