ArmWorkloadMonitorModelFactory.HealthMonitorStateChangeData Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of HealthMonitorStateChangeData.
public static Azure.ResourceManager.WorkloadMonitor.HealthMonitorStateChangeData HealthMonitorStateChangeData (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 evaluationTimestamp = default, string currentStateFirstObservedTimestamp = default, Azure.ResourceManager.WorkloadMonitor.Models.HealthState? previousMonitorState = default, Azure.ResourceManager.WorkloadMonitor.Models.HealthState? currentMonitorState = default, BinaryData evidence = default, BinaryData monitorConfiguration = default);
static member HealthMonitorStateChangeData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * string * string * string * string * Nullable<Azure.ResourceManager.WorkloadMonitor.Models.HealthState> * Nullable<Azure.ResourceManager.WorkloadMonitor.Models.HealthState> * BinaryData * BinaryData -> Azure.ResourceManager.WorkloadMonitor.HealthMonitorStateChangeData
Public Shared Function HealthMonitorStateChangeData (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 evaluationTimestamp As String = Nothing, Optional currentStateFirstObservedTimestamp As String = Nothing, Optional previousMonitorState As Nullable(Of HealthState) = Nothing, Optional currentMonitorState As Nullable(Of HealthState) = Nothing, Optional evidence As BinaryData = Nothing, Optional monitorConfiguration As BinaryData = Nothing) As HealthMonitorStateChangeData
Parameters
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.
- evaluationTimestamp
- String
Timestamp of the monitor's last health evaluation.
- currentStateFirstObservedTimestamp
- String
Timestamp of the monitor's last health state change.
- previousMonitorState
- Nullable<HealthState>
Previous health state of the monitor.
- currentMonitorState
- Nullable<HealthState>
Current health state of the monitor.
- 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 HealthMonitorStateChangeData instance for mocking.
Applies to
Azure SDK for .NET