ResourceHealth 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
-
ResourceHealth({Input<
String> ? health, Input<String> ? message, required Input<String> resourceID}) -
Creates a new ResourceHealth.
healthHealth of the resource. can be one of:messageMessage 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.resourceIDResourceID is the unique identifier of the resource. See the ResourceID type for more information.const -
ResourceHealth.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