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

AutoscalingLimits

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

The autoscaling limits for the instance. Users can define the minimum and maximum compute capacity allocated to the instance, and the autoscaler will only scale within that range. Users can either use nodes or processing units to specify the limits, but should use the same unit to set both the min_limit and max_limit.

interface AutoscalingLimits {
maxNodes?: number;
maxProcessingUnits?: number;
minNodes?: number;
minProcessingUnits?: number;
}

§Properties

§
maxNodes?: number
[src]

Maximum number of nodes allocated to the instance. If set, this number should be greater than or equal to min_nodes.

§
maxProcessingUnits?: number
[src]

Maximum number of processing units allocated to the instance. If set, this number should be multiples of 1000 and be greater than or equal to min_processing_units.

§
minNodes?: number
[src]

Minimum number of nodes allocated to the instance. If set, this number should be greater than or equal to 1.

§
minProcessingUnits?: number
[src]

Minimum number of processing units allocated to the instance. If set, this number should be multiples of 1000.