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

AutoscalingPolicy

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

Autoscaling policy describes the behavior of the autoscaling with respect to the resource utilization. The scale-out operation is initiated if the utilization exceeds ANY of the respective thresholds. The scale-in operation is initiated if the utilization is below ALL of the respective thresholds.

interface AutoscalingPolicy {
consumedMemoryThresholds?: Thresholds;
cpuThresholds?: Thresholds;
grantedMemoryThresholds?: Thresholds;
nodeTypeId?: string;
scaleOutSize?: number;
storageThresholds?: Thresholds;
}

§Properties

§
consumedMemoryThresholds?: Thresholds
[src]

Optional. Utilization thresholds pertaining to amount of consumed memory.

§
cpuThresholds?: Thresholds
[src]

Optional. Utilization thresholds pertaining to CPU utilization.

§
grantedMemoryThresholds?: Thresholds
[src]

Optional. Utilization thresholds pertaining to amount of granted memory.

§
nodeTypeId?: string
[src]

Required. The canonical identifier of the node type to add or remove. Corresponds to the NodeType.

§
scaleOutSize?: number
[src]

Required. Number of nodes to add to a cluster during a scale-out operation. Must be divisible by 2 for stretched clusters. During a scale-in operation only one node (or 2 for stretched clusters) are removed in a single iteration.

§
storageThresholds?: Thresholds
[src]

Optional. Utilization thresholds pertaining to amount of consumed storage.