ResourceInfo constructor

const ResourceInfo({
  1. required Input<String> id,
  2. Input<Map<String, String>>? resource,
  3. Input<ResourceInfoStatus>? status,
  4. Input<List<ResourceInfo>>? sub,
  5. 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.

Implementation

const ResourceInfo({
  required this.id,
  this.resource,
  this.status,
  this.sub,
  this.time,
});