Resource: WorkloadProfileHealth
WorkloadProfileHealth contains the detailed health check of workload.
| JSON representation |
|---|
{ "checkTime": string, "state": enum ( |
| Fields | |
|---|---|
checkTime |
The time when the health check was performed. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
state |
Output only. The health state of the workload. |
componentsHealth[] |
The detailed condition reports of each component. |
HealthState
The health state of a workload.
| Enums | |
|---|---|
HEALTH_STATE_UNSPECIFIED |
Unspecified. |
HEALTHY |
Healthy workload. |
UNHEALTHY |
Unhealthy workload. |
CRITICAL |
Has critical issues. |
UNSUPPORTED |
Unsupported. |
ComponentHealth
HealthCondition contains the detailed health check of each component.
| JSON representation |
|---|
{ "state": enum ( |
| Fields | |
|---|---|
state |
Output only. The health state of the component. |
componentHealthChecks[] |
The detailed health checks of the component. |
componentHealthType |
Output only. The type of the component health. |
subComponentsHealth[] |
Sub component health. |
component |
The component of a workload. |
HealthCheck
HealthCheck contains the detailed health check of a component based on asource.
| JSON representation |
|---|
{ "source": string, "state": enum ( |
| Fields | |
|---|---|
source |
Output only. The source of the health check. |
state |
Output only. The state of the health check. |
message |
Output only. The message of the health check. |
resource |
Output only. The resource the check performs on. |
metric |
Output only. The health check source metric name. |
State
The state of health check.
| Enums | |
|---|---|
STATE_UNSPECIFIED |
Unspecified |
PASSED |
passed |
FAILED |
failed |
DEGRADED |
degraded |
SKIPPED |
skipped |
UNSUPPORTED |
unsupported |
Type
The state of health check.
| Enums | |
|---|---|
TYPE_UNSPECIFIED |
Unspecified |
TYPE_REQUIRED |
required |
TYPE_OPTIONAL |
optional |
TYPE_SPECIAL |
special |
Methods |
|
|---|---|
|
Get the health of a discovered workload profile. |