ArmSecurityCenterModelFactory.SecurityAutomationSource 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.
public static Azure.ResourceManager.SecurityCenter.Models.SecurityAutomationSource SecurityAutomationSource(Azure.ResourceManager.SecurityCenter.Models.SecurityEventSource? eventSource = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.SecurityCenter.Models.SecurityAutomationRuleSet> ruleSets = default);
static member SecurityAutomationSource : Nullable<Azure.ResourceManager.SecurityCenter.Models.SecurityEventSource> * seq<Azure.ResourceManager.SecurityCenter.Models.SecurityAutomationRuleSet> -> Azure.ResourceManager.SecurityCenter.Models.SecurityAutomationSource
Public Shared Function SecurityAutomationSource (Optional eventSource As Nullable(Of SecurityEventSource) = Nothing, Optional ruleSets As IEnumerable(Of SecurityAutomationRuleSet) = Nothing) As SecurityAutomationSource
Parameters
- eventSource
- Nullable<SecurityEventSource>
A valid event source type.
- ruleSets
- IEnumerable<SecurityAutomationRuleSet>
A set of rules which evaluate upon event interception. A logical disjunction is applied between defined rule sets (logical 'or').
Returns
A new SecurityAutomationSource instance for mocking.