ArmSecurityCenterModelFactory.IotSecurityDeviceAlert Method

Definition

Initializes a new instance of IotSecurityDeviceAlert.

public static Azure.ResourceManager.SecurityCenter.Models.IotSecurityDeviceAlert IotSecurityDeviceAlert (string alertDisplayName = default, Azure.ResourceManager.SecurityCenter.Models.ReportedSeverity? reportedSeverity = default, long? alertsCount = default);
static member IotSecurityDeviceAlert : string * Nullable<Azure.ResourceManager.SecurityCenter.Models.ReportedSeverity> * Nullable<int64> -> Azure.ResourceManager.SecurityCenter.Models.IotSecurityDeviceAlert
Public Shared Function IotSecurityDeviceAlert (Optional alertDisplayName As String = Nothing, Optional reportedSeverity As Nullable(Of ReportedSeverity) = Nothing, Optional alertsCount As Nullable(Of Long) = Nothing) As IotSecurityDeviceAlert

Parameters

alertDisplayName
String

Display name of the alert.

reportedSeverity
Nullable<ReportedSeverity>

Assessed Alert severity.

alertsCount
Nullable<Int64>

Number of alerts raised for this alert type.

Returns

A new IotSecurityDeviceAlert instance for mocking.

Applies to