ArmSecurityCenterModelFactory.CustomAlertRule 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 CustomAlertRule.
public static Azure.ResourceManager.SecurityCenter.Models.CustomAlertRule CustomAlertRule (string displayName = default, string description = default, bool isEnabled = false, string ruleType = default);
static member CustomAlertRule : string * string * bool * string -> Azure.ResourceManager.SecurityCenter.Models.CustomAlertRule
Public Shared Function CustomAlertRule (Optional displayName As String = Nothing, Optional description As String = Nothing, Optional isEnabled As Boolean = false, Optional ruleType As String = Nothing) As CustomAlertRule
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.
- ruleType
- String
The type of the custom alert rule.
Returns
A new CustomAlertRule instance for mocking.
Applies to
Совместная работа с нами на GitHub
Источник этого содержимого можно найти на GitHub, где также можно создавать и просматривать проблемы и запросы на вытягивание. Дополнительные сведения см. в нашем руководстве для участников.
Azure SDK for .NET