ResourceInfo class

ResourceInfo represents the information/status of the associated resource.

Constructors

ResourceInfo({required Input<String> id, Input<Map<String, String>>? resource, Input<ResourceInfoStatus>? status, Input<List<ResourceInfo>>? sub, Input<String>? time})
Creates a new ResourceInfo. id Unique Id for the resource. resource Specific details for the resource. status Overall health status. Overall status is derived based on the status of each sub level resources. sub List of Info for the sub level resources. time The timestamp to collect the info. It is suggested to be set by the topmost level resource only.
const
ResourceInfo.fromMap(Map<String, dynamic> map)
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
id → Input<String>
Unique Id for the resource.
final
resource → Input<Map<String, String>>?
Specific details for the resource.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
status → Input<ResourceInfoStatus>?
Overall health status. Overall status is derived based on the status of each sub level resources.
final
sub → Input<List<ResourceInfo>>?
List of Info for the sub level resources.
final
time → Input<String>?
The timestamp to collect the info. It is suggested to be set by the topmost level resource only.
final

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