Language

HealthReportRequest Class

Definition

Health report that's submitted for a specific signal

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.CloudHealth.Models.HealthReportRequestTypeConverter))]
public class HealthReportRequest : Microsoft.Azure.PowerShell.Cmdlets.CloudHealth.Models.IHealthReportRequest
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.CloudHealth.Models.HealthReportRequestTypeConverter))>]
type HealthReportRequest = class
    interface IHealthReportRequest
    interface IJsonSerializable
Public Class HealthReportRequest
Implements IHealthReportRequest
Inheritance
HealthReportRequest
Attributes
Implements

Constructors

Name Description
HealthReportRequest()

Creates an new HealthReportRequest instance.

Properties

Name Description
AdditionalContext

Optional additional context or description for the health report

EvaluationRuleDegradedRule

Degraded rule with static threshold.

EvaluationRuleUnhealthyRule

Unhealthy rule with static threshold.

ExpiresInMinute

Number of minutes until the health report expires. Defaults to 60 (1 hour) if not specified.

HealthState

Health state to report for the signal

SignalName

Name of the entity signal to report health for

Value

Reported value of the signal

Methods

Name Description
DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of HealthReportRequest.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of HealthReportRequest.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.CloudHealth.Models.IHealthReportRequest.

FromJsonString(String)

Creates a new instance of HealthReportRequest, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of HealthReportRequest into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to