Share via


ArmWorkloadMonitorModelFactory.HealthMonitorData Method

Definition

Initializes a new instance of HealthMonitorData.

public static Azure.ResourceManager.WorkloadMonitor.HealthMonitorData HealthMonitorData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string monitorName = default, string monitorType = default, string monitoredObject = default, string parentMonitorName = default, Azure.ResourceManager.WorkloadMonitor.Models.HealthState? previousMonitorState = default, Azure.ResourceManager.WorkloadMonitor.Models.HealthState? currentMonitorState = default, string evaluationTimestamp = default, string currentStateFirstObservedTimestamp = default, string lastReportedTimestamp = default, BinaryData evidence = default, BinaryData monitorConfiguration = default);
static member HealthMonitorData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * string * string * string * Nullable<Azure.ResourceManager.WorkloadMonitor.Models.HealthState> * Nullable<Azure.ResourceManager.WorkloadMonitor.Models.HealthState> * string * string * string * BinaryData * BinaryData -> Azure.ResourceManager.WorkloadMonitor.HealthMonitorData
Public Shared Function HealthMonitorData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional monitorName As String = Nothing, Optional monitorType As String = Nothing, Optional monitoredObject As String = Nothing, Optional parentMonitorName As String = Nothing, Optional previousMonitorState As Nullable(Of HealthState) = Nothing, Optional currentMonitorState As Nullable(Of HealthState) = Nothing, Optional evaluationTimestamp As String = Nothing, Optional currentStateFirstObservedTimestamp As String = Nothing, Optional lastReportedTimestamp As String = Nothing, Optional evidence As BinaryData = Nothing, Optional monitorConfiguration As BinaryData = Nothing) As HealthMonitorData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

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
Nullable<HealthState>

Previous health state of the monitor.

currentMonitorState
Nullable<HealthState>

Current health state of the monitor.

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
BinaryData

Evidence validating the monitor's current health state.

monitorConfiguration
BinaryData

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

Returns

A new HealthMonitorData instance for mocking.

Applies to