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. Gets information about the scheduled actions that haven't run or that have not reached their end time.

To describe the scaling activities for scheduled actions that have already run, call the DescribeScalingActivities API.

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 Auto Scaling group.

Public Property EndTime System.DateTime

Gets and sets the property EndTimeUtc.

This property is deprecated. Setting this property results in non-UTC DateTimes not being marshalled correctly. Use EndTimeUtc instead. Setting either EndTime or EndTimeUtc results in both EndTime and EndTimeUtc being assigned, the latest assignment to either one of the two property is reflected in the value of both. EndTime is provided for backwards compatibility only and assigning a non-Utc DateTime to it results in the wrong timestamp being passed to the service.

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

Public Property EndTimeUtc System.DateTime

Gets and sets the property EndTimeUtc.

The latest scheduled start time to return. If scheduled action names are provided, this property 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.

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

Array Members: Maximum number of 50 actions.

Public Property StartTime System.DateTime

Gets and sets the property StartTimeUtc.

This property is deprecated. Setting this property results in non-UTC DateTimes not being marshalled correctly. Use StartTimeUtc instead. Setting either StartTime or StartTimeUtc results in both StartTime and StartTimeUtc being assigned, the latest assignment to either one of the two property is reflected in the value of both. StartTime is provided for backwards compatibility only and assigning a non-Utc DateTime to it results in the wrong timestamp being passed to the service.

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

Public Property StartTimeUtc System.DateTime

Gets and sets the property StartTimeUtc.

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

Examples

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

To describe scheduled actions


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

List<ScheduledUpdateGroupAction> scheduledUpdateGroupActions = response.ScheduledUpdateGroupActions;

            

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