ArmSecurityCenterModelFactory.AllowlistCustomAlertRule 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 AllowlistCustomAlertRule.
public static Azure.ResourceManager.SecurityCenter.Models.AllowlistCustomAlertRule AllowlistCustomAlertRule (string displayName = default, string description = default, bool isEnabled = false, Azure.ResourceManager.SecurityCenter.Models.SecurityValueType? valueType = default, System.Collections.Generic.IEnumerable<string> allowlistValues = default);
static member AllowlistCustomAlertRule : string * string * bool * Nullable<Azure.ResourceManager.SecurityCenter.Models.SecurityValueType> * seq<string> -> Azure.ResourceManager.SecurityCenter.Models.AllowlistCustomAlertRule
Public Shared Function AllowlistCustomAlertRule (Optional displayName As String = Nothing, Optional description As String = Nothing, Optional isEnabled As Boolean = false, Optional valueType As Nullable(Of SecurityValueType) = Nothing, Optional allowlistValues As IEnumerable(Of String) = Nothing) As AllowlistCustomAlertRule
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.
- allowlistValues
- IEnumerable<String>
The values to allow. The format of the values depends on the rule type.
Returns
A new AllowlistCustomAlertRule instance for mocking.
Applies to
Collabora con noi su GitHub
L'origine di questo contenuto è disponibile in GitHub, in cui è anche possibile creare ed esaminare i problemi e le richieste pull. Per ulteriori informazioni, vedere la guida per i collaboratori.