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

ComponentHealth

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

HealthCondition contains the detailed health check of each component.

interface ComponentHealth {
component?: string;
componentHealthChecks?: HealthCheck[];
readonly componentHealthType?:
| "TYPE_UNSPECIFIED"
| "TYPE_REQUIRED"
| "TYPE_OPTIONAL"
| "TYPE_SPECIAL";
readonly isRequired?: boolean;
readonly state?:
| "HEALTH_STATE_UNSPECIFIED"
| "HEALTHY"
| "UNHEALTHY"
| "CRITICAL"
| "UNSUPPORTED";
subComponentHealthes?: ComponentHealth[];
subComponentsHealth?: ComponentHealth[];
}

§Properties

§
component?: string
[src]

The component of a workload.

§
componentHealthChecks?: HealthCheck[]
[src]

The detailed health checks of the component.

§
readonly componentHealthType?: "TYPE_UNSPECIFIED" | "TYPE_REQUIRED" | "TYPE_OPTIONAL" | "TYPE_SPECIAL"
[src]

Output only. The type of the component health.

§
readonly isRequired?: boolean
[src]

Output only. The requirement of the component.

§
readonly state?: "HEALTH_STATE_UNSPECIFIED" | "HEALTHY" | "UNHEALTHY" | "CRITICAL" | "UNSUPPORTED"
[src]

Output only. The health state of the component.

§
subComponentHealthes?: ComponentHealth[]
[src]
§
subComponentsHealth?: ComponentHealth[]
[src]

Sub component health.