C# Класс Amazon.AutoScaling.Model.DetachInstancesRequest

Container for the parameters to the DetachInstances operation. Removes one or more instances from the specified Auto Scaling group.

After the instances are detached, you can manage them independently from the rest of the Auto Scaling group.

If you do not specify the option to decrement the desired capacity, Auto Scaling launches instances to replace the ones that are detached.

If there is a Classic load balancer attached to the Auto Scaling group, the instances are deregistered from the load balancer. If there are target groups attached to the Auto Scaling group, the instances are deregistered from the target groups.

For more information, see Detach EC2 Instances from Your Auto Scaling Group in the Auto Scaling User Guide.

Наследование: AmazonAutoScalingRequest
Показать файл Открыть проект Примеры использования класса

Приватные методы

Метод Описание
IsSetAutoScalingGroupName ( ) : bool
IsSetInstanceIds ( ) : bool
IsSetShouldDecrementDesiredCapacity ( ) : bool