public interface GroupApi extends Closeable
Modifier and Type | Method and Description |
---|---|
Group |
create(GroupConfiguration groupConfiguration,
LaunchConfiguration launchConfiguration,
List<CreateScalingPolicy> scalingPolicies)
Create a scaling group.
|
boolean |
delete(String groupId)
This operation deletes the specified Autoscaling Group
|
Group |
get(String id)
This operation gets group details for a group
|
GroupConfiguration |
getGroupConfiguration(String id)
This operation gets the configuration for the scaling group.
|
LaunchConfiguration |
getLaunchConfiguration(String id)
This operation gets the launch configuration for the scaling group.
|
GroupState |
getState(String id)
This operation gets the state of the Autoscaling Group.
|
com.google.common.collect.FluentIterable<GroupState> |
listGroupStates()
This operation lists all autoscaling groups.
|
boolean |
pause(String groupId)
This operation pauses the specified Autoscaling Group
|
boolean |
resume(String groupId)
This operation resumes the specified Autoscaling Group.
|
boolean |
updateGroupConfiguration(String id,
GroupConfiguration groupConfiguration)
This operation updates the configuration for the scaling group.
|
boolean |
updateLaunchConfiguration(String id,
LaunchConfiguration launchConfiguration)
This operation updates the launch configuration for the scaling group.
|
@Named(value="group:create") @Nullable Group create(GroupConfiguration groupConfiguration, LaunchConfiguration launchConfiguration, List<CreateScalingPolicy> scalingPolicies)
groupConfiguration
- The group configuration.launchConfiguration
- The launch configuration.scalingPolicies
- The list of scaling policies.GroupConfiguration
,
LaunchConfiguration
,
CreateScalingPolicy
,
Group
@Named(value="group:pause") boolean pause(String groupId)
groupId
- The id for the specified Group.resume(String)
@Named(value="group:resume") boolean resume(String groupId)
groupId
- The id for the specified Group.pause(String)
@Named(value="group:delete") boolean delete(String groupId)
groupId
- The id for the specified Group.@Named(value="group:get") @Nullable Group get(String id)
id
- The unique identifier of the scaling group.@Named(value="group:getState") @Nullable GroupState getState(String id)
id
- The unique identifier of the scaling group.GroupState
@Named(value="group:listGroupStates") com.google.common.collect.FluentIterable<GroupState> listGroupStates()
GroupState
@Named(value="group:getGroupConfiguration") @Nullable GroupConfiguration getGroupConfiguration(String id)
GroupConfiguration
@Named(value="group:updateGroupConfiguration") boolean updateGroupConfiguration(String id, GroupConfiguration groupConfiguration)
GroupConfiguration
@Named(value="group:getLaunchConfiguration") @Nullable LaunchConfiguration getLaunchConfiguration(String id)
LaunchConfiguration
@Named(value="group:updateLaunchConfiguration") boolean updateLaunchConfiguration(String id, LaunchConfiguration launchConfiguration)
LaunchConfiguration
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.