A Scaling Activity is a long-running process that represents a change to your AutoScalingGroup, such as changing the size of the group. It can also be a process to replace an instance, or a process to perform any other long-running operations supported by the API.
Assembly: AWSSDK (in AWSSDK.dll) Version: 1.4.10.0 (1.4.10.0)
Syntax
| C# | Visual Basic | Visual C++ |
public class Activity
Public Class Activity
public ref class Activity
Members
| All Members | Constructors | Properties | Methods |
| Member | Description | |
|---|---|---|
| Activity()()()() | Initializes a new instance of the Activity class | |
| ActivityId |
Specifies the ID of the activity.
Constraints: | |
| AutoScalingGroupName |
The name of the Auto Scaling group.
Constraints: | |
| Cause |
Contains the reason the activity was begun.
Constraints: | |
| Description |
Contains a friendly, more verbose description of the scaling activity.
Constraints: | |
| Details | ||
| EndTime |
Provides the end time of this activity.
| |
| Equals(Object) | (Inherited from Object.) | |
| GetHashCode()()()() |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
| GetType()()()() |
Gets the Type of the current instance.
(Inherited from Object.) | |
| Progress |
Specifies a value between 0 and 100 that indicates the progress of the activity.
| |
| StartTime |
Provides the start time of this activity.
| |
| StatusCode |
Contains the current status of the activity.
Constraints: | |
| StatusMessage |
Contains a friendly, more verbose description of the activity status.
Constraints: | |
| ToString()()()() | (Inherited from Object.) | |
| WithActivityId(String) |
Sets the ActivityId property
| |
| WithAutoScalingGroupName(String) |
Sets the AutoScalingGroupName property
| |
| WithCause(String) |
Sets the Cause property
| |
| WithDescription(String) |
Sets the Description property
| |
| WithDetails(String) |
Sets the Details property
| |
| WithEndTime(DateTime) |
Sets the EndTime property
| |
| WithProgress(Int32) |
Sets the Progress property
| |
| WithStartTime(DateTime) |
Sets the StartTime property
| |
| WithStatusCode(String) |
Sets the StatusCode property
| |
| WithStatusMessage(String) |
Sets the StatusMessage property
|