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

Locality

import type { Locality } from "https://googleapis.deno.dev/v1/trafficdirector:v3.ts";

Identifies location of where either Envoy runs or where upstream hosts run.

interface Locality {
region?: string;
subZone?: string;
zone?: string;
}

§Properties

§
region?: string
[src]

Region this :ref:zone belongs to.

§
subZone?: string
[src]

When used for locality of upstream hosts, this field further splits zone into smaller chunks of sub-zones so they can be load balanced independently.

§
zone?: string
[src]

Defines the local service zone where Envoy is running. Though optional, it should be set if discovery service routing is used and the discovery service exposes :ref:zone data , either in this message or via :option:--service-zone. The meaning of zone is context dependent, e.g. Availability Zone (AZ) _ on AWS, Zone _ on GCP, etc.