AWS SDK for .NET Documentation
WeeklyAutoScalingSchedule Class
AmazonAmazon.OpsWorks.ModelWeeklyAutoScalingSchedule Did this page help you?   Yes   No    Tell us about it...
Describes a time-based instance's auto scaling schedule. The schedule consists of a set of key-value pairs.

The default setting for all time periods is off, so you use the following parameters primarily to specify the online periods. You don't have to explicitly specify offline periods unless you want to change an online period to an offline period.

The following example specifies that the instance should be online for four hours, from UTC 1200 - 1600. It will be off for the remainder of the day.

CopyC#
{ "12":"on", "13":"on", "14":"on", "15":"on" }

Declaration Syntax
C#
public class WeeklyAutoScalingSchedule
Members
All MembersConstructorsMethodsProperties



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

Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Friday
Gets and sets the property Friday.

The schedule for Friday.


GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()()
Gets the type of the current instance.
(Inherited from Object.)
Monday
Gets and sets the property Monday.

The schedule for Monday.


Saturday
Gets and sets the property Saturday.

The schedule for Saturday.


Sunday
Gets and sets the property Sunday.

The schedule for Sunday.


Thursday
Gets and sets the property Thursday.

The schedule for Thursday.


ToString()()()()
Returns a string that represents the current object.
(Inherited from Object.)
Tuesday
Gets and sets the property Tuesday.

The schedule for Tuesday.


Wednesday
Gets and sets the property Wednesday.

The schedule for Wednesday.


WithFriday(array<KeyValuePair<(Of <<'(String, String>)>>)>[]()[][]) Obsolete.
Adds the KeyValuePairs to the Friday dictionary.

WithMonday(array<KeyValuePair<(Of <<'(String, String>)>>)>[]()[][]) Obsolete.
Adds the KeyValuePairs to the Monday dictionary.

WithSaturday(array<KeyValuePair<(Of <<'(String, String>)>>)>[]()[][]) Obsolete.
Adds the KeyValuePairs to the Saturday dictionary.

WithSunday(array<KeyValuePair<(Of <<'(String, String>)>>)>[]()[][]) Obsolete.
Adds the KeyValuePairs to the Sunday dictionary.

WithThursday(array<KeyValuePair<(Of <<'(String, String>)>>)>[]()[][]) Obsolete.
Adds the KeyValuePairs to the Thursday dictionary.

WithTuesday(array<KeyValuePair<(Of <<'(String, String>)>>)>[]()[][]) Obsolete.
Adds the KeyValuePairs to the Tuesday dictionary.

WithWednesday(array<KeyValuePair<(Of <<'(String, String>)>>)>[]()[][]) Obsolete.
Adds the KeyValuePairs to the Wednesday dictionary.

Inheritance Hierarchy
Object
WeeklyAutoScalingSchedule

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