Class AutoscalarAutoscalingPolicyScalingSchedule


  • public final class AutoscalarAutoscalingPolicyScalingSchedule
    extends java.lang.Object
    • Method Detail

      • description

        public java.util.Optional<java.lang.String> description()
        Returns:
        An optional description of this resource.
      • disabled

        public java.util.Optional<java.lang.Boolean> disabled()
        Returns:
        A boolean value that specifies if a scaling schedule can influence autoscaler recommendations. If set to true, then a scaling schedule has no effect.
      • durationSec

        public java.lang.Integer durationSec()
        Returns:
        The duration of time intervals (in seconds) for which this scaling schedule will be running. The minimum allowed value is 300.
      • minRequiredReplicas

        public java.lang.Integer minRequiredReplicas()
        Returns:
        Minimum number of VM instances that autoscaler will recommend in time intervals starting according to schedule.
      • name

        public java.lang.String name()
        Returns:
        The identifier for this object. Format specified above.
      • schedule

        public java.lang.String schedule()
        Returns:
        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).
      • timeZone

        public java.util.Optional<java.lang.String> timeZone()
        Returns:
        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.