ResourceHealthPatch class

ResourceHealth represents the health of a resource. It has the latest device health information. This is a part of KEP https://kep.k8s.io/4680.

Constructors

ResourceHealthPatch({Input<String>? health, Input<String>? message, Input<String>? resourceID})
Creates a new ResourceHealthPatch. health Health of the resource. can be one of: message Message provides human-readable context for Health (e.g. "ECC error count exceeded threshold"). This field is populated by the kubelet when ResourceHealthStatusMessage is enabled if the DRA plugin returns a message, and is null otherwise. resourceID ResourceID is the unique identifier of the resource. See the ResourceID type for more information.
const
ResourceHealthPatch.fromMap(Map<String, dynamic> map)
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
health → Input<String>?
Health of the resource. can be one of:
final
message → Input<String>?
Message provides human-readable context for Health (e.g. "ECC error count exceeded threshold"). This field is populated by the kubelet when ResourceHealthStatusMessage is enabled if the DRA plugin returns a message, and is null otherwise.
final
resourceID → Input<String>?
ResourceID is the unique identifier of the resource. See the ResourceID type for more information.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited