AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Container for the parameters to the DescribeInstanceRefreshes operation. Gets information about the instance refreshes for the specified Auto Scaling group from the previous six weeks.

This operation is part of the instance refresh feature in Amazon EC2 Auto Scaling, which helps you update instances in your Auto Scaling group after you make configuration changes.

To help you determine the status of an instance refresh, Amazon EC2 Auto Scaling returns information about the instance refreshes you previously initiated, including their status, start time, end time, the percentage of the instance refresh that is complete, and the number of instances remaining to update before the instance refresh is complete. If a rollback is initiated while an instance refresh is in progress, Amazon EC2 Auto Scaling also returns information about the rollback of the instance refresh.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.AutoScaling.AmazonAutoScalingRequest
      Amazon.AutoScaling.Model.DescribeInstanceRefreshesRequest

Namespace: Amazon.AutoScaling.Model
Assembly: AWSSDK.AutoScaling.dll
Version: 3.x.y.z

Syntax

C#
public class DescribeInstanceRefreshesRequest : AmazonAutoScalingRequest
         IAmazonWebServiceRequest

The DescribeInstanceRefreshesRequest type exposes the following members

Constructors

Properties

NameTypeDescription
Public Property AutoScalingGroupName System.String

Gets and sets the property AutoScalingGroupName.

The name of the Auto Scaling group.

Public Property InstanceRefreshIds System.Collections.Generic.List<System.String>

Gets and sets the property InstanceRefreshIds.

One or more instance refresh IDs.

Public Property MaxRecords System.Int32

Gets and sets the property MaxRecords.

The maximum number of items to return with this call. The default value is 50 and the maximum value is 100.

Public Property NextToken System.String

Gets and sets the property NextToken.

The token for the next set of items to return. (You received this token from a previous call.)

Examples

This example describes the instance refreshes for the specified Auto Scaling group.

To list instance refreshes


var client = new AmazonAutoScalingClient();
var response = client.DescribeInstanceRefreshes(new DescribeInstanceRefreshesRequest 
{
    AutoScalingGroupName = "my-auto-scaling-group"
});

List<InstanceRefresh> instanceRefreshes = response.InstanceRefreshes;

            

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5