Class DiagnosisSummary
Diagnosis summary of a host and tenancy.
Inherited Members
Namespace: Oci.ClusterhealthService.Models
Assembly: OCI.DotNetSDK.Clusterhealth.dll
Syntax
public class DiagnosisSummary
Properties
FailedTests
Declaration
[JsonProperty(PropertyName = "failedTests")]
public List<FailedTest> FailedTests { get; set; }
Property Value
| Type | Description |
|---|---|
| List<FailedTest> | Each summary contains no more than 50 failed tests |
Health
Declaration
[JsonProperty(PropertyName = "health")]
[JsonConverter(typeof(ResponseEnumConverter))]
public DiagnosisSummary.HealthEnum? Health { get; set; }
Property Value
| Type | Description |
|---|---|
| DiagnosisSummary.HealthEnum? | if the host is healthy |
HealthCheckKey
Declaration
[JsonProperty(PropertyName = "healthCheckKey")]
public string HealthCheckKey { get; set; }
Property Value
| Type | Description |
|---|---|
| string | Identifier of the health check that produced this diagnosis summary. |
HostId
Declaration
[JsonProperty(PropertyName = "hostId")]
public string HostId { get; set; }
Property Value
| Type | Description |
|---|---|
| string | id of the host |
InstanceId
Declaration
[JsonProperty(PropertyName = "instanceId")]
public string InstanceId { get; set; }
Property Value
| Type | Description |
|---|---|
| string | OCID of the instance associated with this summary. |
TestType
Declaration
[Required(ErrorMessage = "TestType is required.")]
[JsonProperty(PropertyName = "testType")]
[JsonConverter(typeof(ResponseEnumConverter))]
public DiagnosisSummary.TestTypeEnum? TestType { get; set; }
Property Value
| Type | Description |
|---|---|
| DiagnosisSummary.TestTypeEnum? | Type of the diagnosis test recorded in this summary (e.g., PASSIVE or ACTIVE). |
Remarks
Required
TimeGenerated
Declaration
[JsonProperty(PropertyName = "timeGenerated")]
public DateTime? TimeGenerated { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTime? | time the recommendation report was generated |
TimeTestRan
Declaration
[JsonProperty(PropertyName = "timeTestRan")]
public DateTime? TimeTestRan { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTime? | time the test was run |