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

GoogleCloudRunV2RevisionScaling

import type { GoogleCloudRunV2RevisionScaling } from "https://googleapis.deno.dev/v1/run:v2.ts";

Settings for revision-level scaling settings.

interface GoogleCloudRunV2RevisionScaling {
concurrencyUtilization?: number;
cpuUtilization?: number;
maxInstanceCount?: number;
minInstanceCount?: number;
}

§Properties

§
concurrencyUtilization?: number
[src]

Optional. Determines a threshold for concurrency utilization before scaling begins. Accepted values are between 0.1 and 0.95 (inclusive) or 0.0 to disable concurrency utilization as threshold for scaling. CPU and concurrency scaling cannot both be disabled.

§
cpuUtilization?: number
[src]

Optional. Determines a threshold for CPU utilization before scaling begins. Accepted values are between 0.1 and 0.95 (inclusive) or 0.0 to disable CPU utilization as threshold for scaling. CPU and concurrency scaling cannot both be disabled.

§
maxInstanceCount?: number
[src]

Optional. Maximum number of serving instances that this resource should have. When unspecified, the field is set to the server default value of 100. For more information see https://cloud.google.com/run/docs/configuring/max-instances

§
minInstanceCount?: number
[src]

Optional. Minimum number of serving instances that this resource should have.