Share via


ArmSecurityCenterModelFactory.IotSecurityAlertedDevice Method

Definition

Initializes a new instance of IotSecurityAlertedDevice.

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

Parameters

deviceId
String

Device identifier.

alertsCount
Nullable<Int64>

Number of alerts raised for this device.

Returns

A new IotSecurityAlertedDevice instance for mocking.

Applies to