ArmSecurityCenterModelFactory.DenylistCustomAlertRule 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 DenylistCustomAlertRule.
public static Azure.ResourceManager.SecurityCenter.Models.DenylistCustomAlertRule DenylistCustomAlertRule(string displayName = default, string description = default, bool isEnabled = false, Azure.ResourceManager.SecurityCenter.Models.SecurityValueType? valueType = default, System.Collections.Generic.IEnumerable<string> denylistValues = default);
static member DenylistCustomAlertRule : string * string * bool * Nullable<Azure.ResourceManager.SecurityCenter.Models.SecurityValueType> * seq<string> -> Azure.ResourceManager.SecurityCenter.Models.DenylistCustomAlertRule
Public Shared Function DenylistCustomAlertRule (Optional displayName As String = Nothing, Optional description As String = Nothing, Optional isEnabled As Boolean = false, Optional valueType As Nullable(Of SecurityValueType) = Nothing, Optional denylistValues As IEnumerable(Of String) = Nothing) As DenylistCustomAlertRule
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.
- denylistValues
- IEnumerable<String>
The values to deny. The format of the values depends on the rule type.
Returns
A new DenylistCustomAlertRule instance for mocking.
Applies to
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Azure SDK for .NET