Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

AutoscalingConfigOverrides

import type { AutoscalingConfigOverrides } from "https://googleapis.deno.dev/v1/spanner:v1.ts";

Overrides the top-level autoscaling configuration for the replicas identified by replica_selection. All fields in this message are optional. Any unspecified fields will use the corresponding values from the top-level autoscaling configuration.

interface AutoscalingConfigOverrides {
autoscalingLimits?: AutoscalingLimits;
autoscalingTargetHighPriorityCpuUtilizationPercent?: number;
autoscalingTargetTotalCpuUtilizationPercent?: number;
disableHighPriorityCpuAutoscaling?: boolean;
disableTotalCpuAutoscaling?: boolean;
}

§Properties

§
autoscalingLimits?: AutoscalingLimits
[src]

Optional. If specified, overrides the min/max limit in the top-level autoscaling configuration for the selected replicas.

§
autoscalingTargetHighPriorityCpuUtilizationPercent?: number
[src]

Optional. If specified, overrides the autoscaling target high_priority_cpu_utilization_percent in the top-level autoscaling configuration for the selected replicas.

§
autoscalingTargetTotalCpuUtilizationPercent?: number
[src]

Optional. If specified, overrides the autoscaling target total_cpu_utilization_percent in the top-level autoscaling configuration for the selected replicas.

§
disableHighPriorityCpuAutoscaling?: boolean
[src]

Optional. If true, disables high priority CPU autoscaling for the selected replicas and ignores high_priority_cpu_utilization_percent in the top-level autoscaling configuration. When setting this field to true, setting autoscaling_target_high_priority_cpu_utilization_percent field to a non-zero value for the same replica is not supported. If false, the autoscaling_target_high_priority_cpu_utilization_percent field in the replica will be used if set to a non-zero value. Otherwise, the high_priority_cpu_utilization_percent field in the top-level autoscaling configuration will be used. Setting both disable_high_priority_cpu_autoscaling and disable_total_cpu_autoscaling to true for the same replica is not supported.

§
disableTotalCpuAutoscaling?: boolean
[src]

Optional. If true, disables total CPU autoscaling for the selected replicas and ignores total_cpu_utilization_percent in the top-level autoscaling configuration. When setting this field to true, setting autoscaling_target_total_cpu_utilization_percent field to a non-zero value for the same replica is not supported. If false, the autoscaling_target_total_cpu_utilization_percent field in the replica will be used if set to a non-zero value. Otherwise, the total_cpu_utilization_percent field in the top-level autoscaling configuration will be used. Setting both disable_high_priority_cpu_autoscaling and disable_total_cpu_autoscaling to true for the same replica is not supported.