常用方法
常用方法
常用方法
常用方法
public void AutoScalingDetachInstances() { #region autoscaling-detach-instances-1 var client = new AmazonAutoScalingClient(); var response = client.DetachInstances(new DetachInstancesRequest { AutoScalingGroupName = "my-auto-scaling-group", InstanceIds = new List <string> { "i-93633f9b" }, ShouldDecrementDesiredCapacity = true }); List <Activity> activities = response.Activities; #endregion }