AlertProcessingRuleProperties Constructor
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 AlertProcessingRuleProperties.
public AlertProcessingRuleProperties (System.Collections.Generic.IEnumerable<string> scopes, System.Collections.Generic.IEnumerable<Azure.ResourceManager.AlertsManagement.Models.AlertProcessingRuleAction> actions);
new Azure.ResourceManager.AlertsManagement.Models.AlertProcessingRuleProperties : seq<string> * seq<Azure.ResourceManager.AlertsManagement.Models.AlertProcessingRuleAction> -> Azure.ResourceManager.AlertsManagement.Models.AlertProcessingRuleProperties
Public Sub New (scopes As IEnumerable(Of String), actions As IEnumerable(Of AlertProcessingRuleAction))
Parameters
- scopes
- IEnumerable<String>
Scopes on which alert processing rule will apply.
- actions
- IEnumerable<AlertProcessingRuleAction>
Actions to be applied. Please note AlertProcessingRuleAction is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include AlertProcessingRuleAddGroupsAction and AlertProcessingRuleRemoveAllGroupsAction.
Exceptions
scopes
or actions
is null.
Applies to
Azure SDK for .NET