Description Usage Arguments Value Request syntax Examples
View source: R/autoscaling_operations.R
Moves the specified instances out of the standby state.
After you put the instances back in service, the desired capacity is incremented.
For more information, see Temporarily removing instances from your Auto Scaling group in the Amazon EC2 Auto Scaling User Guide.
1 | autoscaling_exit_standby(InstanceIds, AutoScalingGroupName)
|
InstanceIds |
The IDs of the instances. You can specify up to 20 instances. |
AutoScalingGroupName |
[required] The name of the Auto Scaling group. |
A list with the following syntax:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | list(
Activities = list(
list(
ActivityId = "string",
AutoScalingGroupName = "string",
Description = "string",
Cause = "string",
StartTime = as.POSIXct(
"2015-01-01"
),
EndTime = as.POSIXct(
"2015-01-01"
),
StatusCode = "PendingSpotBidPlacement"|"WaitingForSpotInstanceRequestId"|"WaitingForSpotInstanceId"|"WaitingForInstanceId"|"PreInService"|"InProgress"|"WaitingForELBConnectionDraining"|"MidLifecycleAction"|"WaitingForInstanceWarmup"|"Successful"|"Failed"|"Cancelled",
StatusMessage = "string",
Progress = 123,
Details = "string"
)
)
)
|
1 2 3 4 5 6 | svc$exit_standby(
InstanceIds = list(
"string"
),
AutoScalingGroupName = "string"
)
|
1 2 3 4 5 6 7 8 9 10 | ## Not run:
# This example moves the specified instance out of standby mode.
svc$exit_standby(
AutoScalingGroupName = "my-auto-scaling-group",
InstanceIds = list(
"i-93633f9b"
)
)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.