Submits the configuration for a group. The Group plugin is responsible for making any changes necessary to effect the configuration.
{
"Spec": {
"ID": "group_id",
"Properties": {}
},
"Pretend": true
}
Parameters:
Spec
: A Group SpecPretend
: Whether to actually perform the change. Iffalse
, the request will have no side-effects.
{
"Details": "human readable text"
}
Fields:
Details
: A human-readable description of the commit action, or proposed action ifPretend
wastrue
.
Removes a Group from active management. This operation is non-destructive - it will not destroy or modify any resources associated with the Group. However, the Plugin will no longer attempt to maintain the state of the Group.
{
"ID": "group_id"
}
Parameters:
ID
: Group ID
{
"OK": true
}
Fields:
OK
: Whether the operation succeeded.
Fetches details about the current status of a Group.
{
"ID": "group_Id"
}
Parameters:
ID
: Group ID
{
"Description": {
"Instances": [
{
"ID": "instance_id",
"LogicalID": "logical_id",
"Tags": {
"tag_key": "tag_value"
}
}
],
"Converged": true
}
}
Fields:
Description
: A Group Description
{
"ID": "group_Id"
}
Parameters:
ID
: Group ID
{
"OK": true
}
Fields:
OK
: Whether the operation succeeded.
Fetches details about the state associated with a Group.
{}
Parameters: None
{
"Groups": [
{
"ID": "group_id",
"Properties": {}
}
]
}
Fields:
Groups
: An array of Group Specs
Destroy instances identified from the given group. Returns error if any of the given are not found in the group or if the destroy fails.
{
"ID" : "group_id",
"Instances" : [
"instance-id1",
"instance-id2",
"instance-id3"
]
}
Parameters: None
Fields:
ID
: The group id.Instances
: An array of Instance IDs
{
"ID": "group_id"
}
Returns the desired / target size of the group. This may not match the size of the list from DescribeGroup()
{
"ID" : "group_id"
}
Parameters: None
Fields:
ID
: The group id.
{
"ID": "group_id"
"Size": 100
}
Sets the desired / target size of the group. This is the same as editing the config and call commit.
{
"ID" : "group_id",
"Size" : 100
}
Parameters: None
Fields:
ID
: The group id.Size
: The group target size.
{
"ID" : "group_id"
}