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 DescribeScheduledActions operation. Describes the actions scheduled for your Auto Scaling group that haven't run. To describe the actions that have already run, use DescribeScalingActivities.

Inheritance Hierarchy

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

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

Syntax

C#
public class DescribeScheduledActionsRequest : AmazonAutoScalingRequest
         IAmazonWebServiceRequest

The DescribeScheduledActionsRequest type exposes the following members

Constructors

Properties

NameTypeDescription
Public Property AutoScalingGroupName System.String

Gets and sets the property AutoScalingGroupName.

The name of the group.

Public Property EndTime System.DateTime

Gets and sets the property EndTime.

The latest scheduled start time to return. If scheduled action names are provided, this parameter is ignored.

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.)

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

Gets and sets the property ScheduledActionNames.

Describes one or more scheduled actions. If you omit this parameter, all scheduled actions are described. If you specify an unknown scheduled action, it is ignored with no error.

You can describe up to a maximum of 50 instances with a single call. If there are more items to return, the call returns a token. To get the next set of items, repeat the call with the returned token.

Public Property StartTime System.DateTime

Gets and sets the property StartTime.

The earliest scheduled start time to return. If scheduled action names are provided, this parameter is ignored.

Examples

This example describes the scheduled actions for the specified Auto Scaling group.

To describe scheduled actions


var response = client.DescribeScheduledActions(new DescribeScheduledActionsRequest 
{
    AutoScalingGroupName = "my-auto-scaling-group"
});

List scheduledUpdateGroupActions = response.ScheduledUpdateGroupActions;

            

Version Information

.NET Standard:
Supported in: 1.3

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

Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms