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.
Namespace: Amazon.AutoScaling.Model
Assembly: AWSSDK.AutoScaling.dll
Version: 3.x.y.z
public class DescribeScheduledActionsRequest : AmazonAutoScalingRequest IAmazonWebServiceRequest
The DescribeScheduledActionsRequest type exposes the following members
Name | Description | |
---|---|---|
DescribeScheduledActionsRequest() |
Name | Type | Description | |
---|---|---|---|
AutoScalingGroupName | System.String |
Gets and sets the property AutoScalingGroupName. The name of the Auto Scaling group. |
|
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. |
|
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. |
|
MaxRecords | System.Int32 |
Gets and sets the property MaxRecords.
The maximum number of items to return with this call. The default value is |
|
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.) |
|
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. |
|
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. |
|
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. |
This example describes the scheduled actions for the specified Auto Scaling group.
var client = new AmazonAutoScalingClient(); var response = client.DescribeScheduledActions(new DescribeScheduledActionsRequest { AutoScalingGroupName = "my-auto-scaling-group" }); List<ScheduledUpdateGroupAction> scheduledUpdateGroupActions = response.ScheduledUpdateGroupActions;
.NET Core App:
Supported in: 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5, 4.0, 3.5