Share via


HealthMonitor Constructors

Definition

Overloads

HealthMonitor()

Initializes a new instance of the HealthMonitor class.

HealthMonitor(String, String, String, String, String, String, String, String, String, String, String, String, Object, Object)

Initializes a new instance of the HealthMonitor class.

HealthMonitor()

Initializes a new instance of the HealthMonitor class.

public HealthMonitor ();
Public Sub New ()

Applies to

HealthMonitor(String, String, String, String, String, String, String, String, String, String, String, String, Object, Object)

Initializes a new instance of the HealthMonitor class.

public HealthMonitor (string id = default, string name = default, string type = default, string monitorName = default, string monitorType = default, string monitoredObject = default, string parentMonitorName = default, string previousMonitorState = default, string currentMonitorState = default, string evaluationTimestamp = default, string currentStateFirstObservedTimestamp = default, string lastReportedTimestamp = default, object evidence = default, object monitorConfiguration = default);
new Microsoft.Azure.Management.WorkloadMonitor.Models.HealthMonitor : string * string * string * string * string * string * string * string * string * string * string * string * obj * obj -> Microsoft.Azure.Management.WorkloadMonitor.Models.HealthMonitor
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional monitorName As String = Nothing, Optional monitorType As String = Nothing, Optional monitoredObject As String = Nothing, Optional parentMonitorName As String = Nothing, Optional previousMonitorState As String = Nothing, Optional currentMonitorState As String = Nothing, Optional evaluationTimestamp As String = Nothing, Optional currentStateFirstObservedTimestamp As String = Nothing, Optional lastReportedTimestamp As String = Nothing, Optional evidence As Object = Nothing, Optional monitorConfiguration As Object = Nothing)

Parameters

id
String

The resource Id.

name
String

The resource name.

type
String

The resource type.

monitorName
String

Human-readable name of the monitor.

monitorType
String

Type of the monitor.

monitoredObject
String

Dynamic monitored object of the monitor.

parentMonitorName
String

Name of the parent monitor.

previousMonitorState
String

Previous health state of the monitor. Possible values include: 'Healthy', 'Critical', 'Warning', 'Unknown', 'Disabled', 'None'

currentMonitorState
String

Current health state of the monitor. Possible values include: 'Healthy', 'Critical', 'Warning', 'Unknown', 'Disabled', 'None'

evaluationTimestamp
String

Timestamp of the monitor's last health evaluation.

currentStateFirstObservedTimestamp
String

Timestamp of the monitor's last health state change.

lastReportedTimestamp
String

Timestamp of the monitor's last reported health state.

evidence
Object

Evidence validating the monitor's current health state.

monitorConfiguration
Object

The configuration settings at the time of the monitor's health evaluation.

Applies to