ArmSecurityCenterModelFactory.ListCustomAlertRule Method

Definition

Initializes a new instance of ListCustomAlertRule.

public static Azure.ResourceManager.SecurityCenter.Models.ListCustomAlertRule ListCustomAlertRule (string displayName = default, string description = default, bool isEnabled = false, Azure.ResourceManager.SecurityCenter.Models.SecurityValueType? valueType = default);
static member ListCustomAlertRule : string * string * bool * Nullable<Azure.ResourceManager.SecurityCenter.Models.SecurityValueType> -> Azure.ResourceManager.SecurityCenter.Models.ListCustomAlertRule
Public Shared Function ListCustomAlertRule (Optional displayName As String = Nothing, Optional description As String = Nothing, Optional isEnabled As Boolean = false, Optional valueType As Nullable(Of SecurityValueType) = Nothing) As ListCustomAlertRule

Parameters

displayName
String

The display name of the custom alert.

description
String

The description of the custom alert.

isEnabled
Boolean

Status of the custom alert.

valueType
Nullable<SecurityValueType>

The value type of the items in the list.

Returns

A new ListCustomAlertRule instance for mocking.

Applies to