AutoscalerAutoscalingPolicyScalingScheduleArgs

data class AutoscalerAutoscalingPolicyScalingScheduleArgs(val description: Output<String>? = null, val disabled: Output<Boolean>? = null, val durationSec: Output<Int>, val minRequiredReplicas: Output<Int>, val name: Output<String>, val schedule: Output<String>, val timeZone: Output<String>? = null) : ConvertibleToJava<AutoscalerAutoscalingPolicyScalingScheduleArgs>

Constructors

constructor(description: Output<String>? = null, disabled: Output<Boolean>? = null, durationSec: Output<Int>, minRequiredReplicas: Output<Int>, name: Output<String>, schedule: Output<String>, timeZone: Output<String>? = null)

Properties

Link copied to clipboard
val description: Output<String>? = null

An optional description of this resource.

Link copied to clipboard
val disabled: Output<Boolean>? = null

A boolean value that specifies if a scaling schedule can influence autoscaler recommendations. If set to true, then a scaling schedule has no effect.

Link copied to clipboard
val durationSec: Output<Int>

The duration of time intervals (in seconds) for which this scaling schedule will be running. The minimum allowed value is 300.

Link copied to clipboard

Minimum number of VM instances that autoscaler will recommend in time intervals starting according to schedule.

Link copied to clipboard
val name: Output<String>

The identifier for this object. Format specified above.

Link copied to clipboard
val schedule: Output<String>

The start timestamps of time intervals when this scaling schedule should provide a scaling signal. This field uses the extended cron format (with an optional year field).

Link copied to clipboard
val timeZone: Output<String>? = null

The time zone to be used when interpreting the schedule. The value of this field must be a time zone name from the tz database: http://en.wikipedia.org/wiki/Tz_database.

Functions

Link copied to clipboard
open override fun toJava(): AutoscalerAutoscalingPolicyScalingScheduleArgs