org.jclouds.aws.ec2.services
Interface PlacementGroupClient


public interface PlacementGroupClient

Provides Placement Group services for EC2. For more information, refer to the Amazon EC2 Developer Guide.

Author:
Adrian Cole

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... groupNames)
          Returns information about one or more placement groups in your account.
 

Method Detail

createPlacementGroupInRegion

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

void createPlacementGroupInRegion(@Nullable
                                  String region,
                                  String name)
like {@link #createPlacementGroupInRegion(String,String,String) except that the strategy is default: "cluster".


deletePlacementGroupInRegion

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

Set<PlacementGroup> describePlacementGroupsInRegion(@Nullable
                                                    String region,
                                                    String... groupNames)
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),


Copyright © 2009-2012 jclouds. All Rights Reserved.