Interface ComputeRegionAutoscalerAutoscalingPolicyScalingSchedules

    • Method Detail

      • getDurationSec

        @Stability(Stable)
        @NotNull
        Number getDurationSec()
        The duration of time intervals (in seconds) for which this scaling schedule will be running.

        The minimum allowed value is 300. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_autoscaler#duration_sec ComputeRegionAutoscaler#duration_sec}

      • getMinRequiredReplicas

        @Stability(Stable)
        @NotNull
        Number getMinRequiredReplicas()
        Minimum number of VM instances that autoscaler will recommend in time intervals starting according to schedule.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_autoscaler#min_required_replicas ComputeRegionAutoscaler#min_required_replicas}

      • getName

        @Stability(Stable)
        @NotNull
        String getName()
        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_autoscaler#name ComputeRegionAutoscaler#name}.
      • getSchedule

        @Stability(Stable)
        @NotNull
        String getSchedule()
        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). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_autoscaler#schedule ComputeRegionAutoscaler#schedule}

      • getDescription

        @Stability(Stable)
        @Nullable
        default String getDescription()
        A description of a scaling schedule.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_autoscaler#description ComputeRegionAutoscaler#description}

      • getDisabled

        @Stability(Stable)
        @Nullable
        default Object getDisabled()
        A boolean value that specifies if a scaling schedule can influence autoscaler recommendations.

        If set to true, then a scaling schedule has no effect. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_autoscaler#disabled ComputeRegionAutoscaler#disabled}

      • getTimeZone

        @Stability(Stable)
        @Nullable
        default String getTimeZone()
        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. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_autoscaler#time_zone ComputeRegionAutoscaler#time_zone}