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

HealthStatus

import type { HealthStatus } from "https://googleapis.deno.dev/v1/compute:v1.ts";
interface HealthStatus {
annotations?: {
[key: string]: string;
}
;
forwardingRule?: string;
forwardingRuleIp?: string;
healthState?: "HEALTHY" | "UNHEALTHY";
instance?: string;
ipAddress?: string;
port?: number;
weight?: string;
weightError?:
| "INVALID_WEIGHT"
| "MISSING_WEIGHT"
| "UNAVAILABLE_WEIGHT"
| "WEIGHT_NONE";
}

§Properties

§
annotations?: {
[key: string]: string;
}
[src]

Metadata defined as annotations for network endpoint.

§
forwardingRule?: string
[src]

URL of the forwarding rule associated with the health status of the instance.

§
forwardingRuleIp?: string
[src]

A forwarding rule IP address assigned to this instance.

§
healthState?: "HEALTHY" | "UNHEALTHY"
[src]

Health state of the IPv4 address of the instance.

§
instance?: string
[src]

URL of the instance resource.

§
ipAddress?: string
[src]

For target pool based Network Load Balancing, it indicates the forwarding rule's IP address assigned to this instance. For other types of load balancing, the field indicates VM internal ip.

§
port?: number
[src]

The named port of the instance group, not necessarily the port that is health-checked.

§
weight?: string
[src]
§
weightError?: "INVALID_WEIGHT" | "MISSING_WEIGHT" | "UNAVAILABLE_WEIGHT" | "WEIGHT_NONE"
[src]