Table of Contents

Class RuntimeHealth

Namespace
Azure.Iot.Operations.Services.AssetAndDeviceRegistry.AdrBaseService
Assembly
Azure.Iot.Operations.Services.dll
public class RuntimeHealth
Inheritance
RuntimeHealth
Inherited Members

Properties

LastUpdateTime

The timestamp (RFC3339) when the health status was last updated, even if the status did not change.

[JsonPropertyName("lastUpdateTime")]
[JsonIgnore(Condition = JsonIgnoreCondition.Never)]
[JsonRequired]
public DateTime LastUpdateTime { get; set; }

Property Value

DateTime

Message

A human-readable message describing the last transition.

[JsonPropertyName("message")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string? Message { get; set; }

Property Value

string

ReasonCode

Unique, CamelCase reason code describing the cause of the last health state transition.

[JsonPropertyName("reasonCode")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string? ReasonCode { get; set; }

Property Value

string

Status

The current health status of the resource.

[JsonPropertyName("status")]
[JsonIgnore(Condition = JsonIgnoreCondition.Never)]
[JsonRequired]
public StatusSchema Status { get; set; }

Property Value

StatusSchema

Version

The version of the resource for which the runtime health is being reported.

[JsonPropertyName("version")]
[JsonIgnore(Condition = JsonIgnoreCondition.Never)]
[JsonRequired]
public ulong Version { get; set; }

Property Value

ulong