DateAndTimeScalingRule object

This Scaling Rule defines the number of instances that should be running during specified time frames.

Polymorphism

DateAndTimeScalingRule is a type that implements the ScalingRule type.

When an object of type ScalingRule is expected, you can use one of type DateAndTimeScalingRule (or use any other implementation).

Example JSON representation

{
  "name": "DateAndTime", 
  "ruleType": "DateAndTimeScalingRule", 
  "schedule": [
    {
      "daysOfWeek": [
        "sun"
      ], 
      "end": "2013-01-01T12:34:56.789Z", 
      "instanceCount": 1, 
      "start": "2013-01-01T12:34:56.789Z"
    }
  ]
}

Properties

property attributes valid values description filter option
name
string
required
create-only
filterable
"DateAndTime"

Scaling rule name.

?name=...
ruleType
string
required
create-only
filterable
"DateAndTimeScalingRule" ?ruleType=...
schedule
Array of ScalingRuleTimeFrame objects
required