AWS SDK for .NET Documentation
Activity Class
AmazonAmazon.AutoScaling.ModelActivity Did this page help you?   Yes   No    Tell us about it...

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.

Declaration Syntax
C#
public class Activity
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
Activity()()()()
Initializes a new instance of the Activity class

ActivityId
Specifies the ID of the activity.

Constraints:

Pattern
[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*


AutoScalingGroupName
The name of the Auto Scaling group.

Constraints:

Length
1 - 255
Pattern
[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*


Cause
Contains the reason the activity was begun.

Constraints:

Length
1 - 1023
Pattern
[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*


Description
Contains a friendly, more verbose description of the scaling activity.

Constraints:

Pattern
[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*


Details
Contains details of the scaling activity.

Constraints:

Pattern
[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*


EndTime
Provides the end time of this activity.

Equals(Object)
Determines whether the specified Object is equal to the current 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:

Allowed Values
WaitingForSpotInstanceRequestId, WaitingForSpotInstanceId, WaitingForInstanceId, PreInService, InProgress, Successful, Failed, Cancelled


StatusMessage
Contains a friendly, more verbose description of the activity status.

Constraints:

Length
1 - 255
Pattern
[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*


ToString()()()()
Returns a string that represents the current object.
(Inherited from Object.)
WithActivityId(String) Obsolete.
Sets the ActivityId property

WithAutoScalingGroupName(String) Obsolete.
Sets the AutoScalingGroupName property

WithCause(String) Obsolete.
Sets the Cause property

WithDescription(String) Obsolete.
Sets the Description property

WithDetails(String) Obsolete.
Sets the Details property

WithEndTime(DateTime) Obsolete.
Sets the EndTime property

WithProgress(Int32) Obsolete.
Sets the Progress property

WithStartTime(DateTime) Obsolete.
Sets the StartTime property

WithStatusCode(String) Obsolete.
Sets the StatusCode property

WithStatusMessage(String) Obsolete.
Sets the StatusMessage property

Inheritance Hierarchy
Object
Activity

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)