ActionGroup Constructors
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.
Overloads
ActionGroup() |
Initializes a new instance of the ActionGroup class. |
ActionGroup(String, Boolean, IList<EmailReceiver>, IList<SmsReceiver>, IList<WebhookReceiver>, IList<ItsmReceiver>, IList<AzureAppPushReceiver>, IList<AutomationRunbookReceiver>, IList<VoiceReceiver>, IList<LogicAppReceiver>, IList<AzureFunctionReceiver>, IList<ArmRoleReceiver>, IList<EventHubReceiver>) |
Initializes a new instance of the ActionGroup class. |
ActionGroup()
Initializes a new instance of the ActionGroup class.
public ActionGroup ();
Public Sub New ()
Applies to
ActionGroup(String, Boolean, IList<EmailReceiver>, IList<SmsReceiver>, IList<WebhookReceiver>, IList<ItsmReceiver>, IList<AzureAppPushReceiver>, IList<AutomationRunbookReceiver>, IList<VoiceReceiver>, IList<LogicAppReceiver>, IList<AzureFunctionReceiver>, IList<ArmRoleReceiver>, IList<EventHubReceiver>)
Initializes a new instance of the ActionGroup class.
public ActionGroup (string groupShortName, bool enabled, System.Collections.Generic.IList<Microsoft.Azure.Management.Monitor.Models.EmailReceiver> emailReceivers = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Monitor.Models.SmsReceiver> smsReceivers = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Monitor.Models.WebhookReceiver> webhookReceivers = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Monitor.Models.ItsmReceiver> itsmReceivers = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Monitor.Models.AzureAppPushReceiver> azureAppPushReceivers = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Monitor.Models.AutomationRunbookReceiver> automationRunbookReceivers = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Monitor.Models.VoiceReceiver> voiceReceivers = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Monitor.Models.LogicAppReceiver> logicAppReceivers = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Monitor.Models.AzureFunctionReceiver> azureFunctionReceivers = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Monitor.Models.ArmRoleReceiver> armRoleReceivers = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Monitor.Models.EventHubReceiver> eventHubReceivers = default);
new Microsoft.Azure.Management.Monitor.Models.ActionGroup : string * bool * System.Collections.Generic.IList<Microsoft.Azure.Management.Monitor.Models.EmailReceiver> * System.Collections.Generic.IList<Microsoft.Azure.Management.Monitor.Models.SmsReceiver> * System.Collections.Generic.IList<Microsoft.Azure.Management.Monitor.Models.WebhookReceiver> * System.Collections.Generic.IList<Microsoft.Azure.Management.Monitor.Models.ItsmReceiver> * System.Collections.Generic.IList<Microsoft.Azure.Management.Monitor.Models.AzureAppPushReceiver> * System.Collections.Generic.IList<Microsoft.Azure.Management.Monitor.Models.AutomationRunbookReceiver> * System.Collections.Generic.IList<Microsoft.Azure.Management.Monitor.Models.VoiceReceiver> * System.Collections.Generic.IList<Microsoft.Azure.Management.Monitor.Models.LogicAppReceiver> * System.Collections.Generic.IList<Microsoft.Azure.Management.Monitor.Models.AzureFunctionReceiver> * System.Collections.Generic.IList<Microsoft.Azure.Management.Monitor.Models.ArmRoleReceiver> * System.Collections.Generic.IList<Microsoft.Azure.Management.Monitor.Models.EventHubReceiver> -> Microsoft.Azure.Management.Monitor.Models.ActionGroup
Public Sub New (groupShortName As String, enabled As Boolean, Optional emailReceivers As IList(Of EmailReceiver) = Nothing, Optional smsReceivers As IList(Of SmsReceiver) = Nothing, Optional webhookReceivers As IList(Of WebhookReceiver) = Nothing, Optional itsmReceivers As IList(Of ItsmReceiver) = Nothing, Optional azureAppPushReceivers As IList(Of AzureAppPushReceiver) = Nothing, Optional automationRunbookReceivers As IList(Of AutomationRunbookReceiver) = Nothing, Optional voiceReceivers As IList(Of VoiceReceiver) = Nothing, Optional logicAppReceivers As IList(Of LogicAppReceiver) = Nothing, Optional azureFunctionReceivers As IList(Of AzureFunctionReceiver) = Nothing, Optional armRoleReceivers As IList(Of ArmRoleReceiver) = Nothing, Optional eventHubReceivers As IList(Of EventHubReceiver) = Nothing)
Parameters
- groupShortName
- String
The short name of the action group. This will be used in SMS messages.
- enabled
- Boolean
Indicates whether this action group is enabled. If an action group is not enabled, then none of its receivers will receive communications.
- emailReceivers
- IList<EmailReceiver>
The list of email receivers that are part of this action group.
- smsReceivers
- IList<SmsReceiver>
The list of SMS receivers that are part of this action group.
- webhookReceivers
- IList<WebhookReceiver>
The list of webhook receivers that are part of this action group.
- itsmReceivers
- IList<ItsmReceiver>
The list of ITSM receivers that are part of this action group.
- azureAppPushReceivers
- IList<AzureAppPushReceiver>
The list of AzureAppPush receivers that are part of this action group.
- automationRunbookReceivers
- IList<AutomationRunbookReceiver>
The list of AutomationRunbook receivers that are part of this action group.
- voiceReceivers
- IList<VoiceReceiver>
The list of voice receivers that are part of this action group.
- logicAppReceivers
- IList<LogicAppReceiver>
The list of logic app receivers that are part of this action group.
- azureFunctionReceivers
- IList<AzureFunctionReceiver>
The list of azure function receivers that are part of this action group.
- armRoleReceivers
- IList<ArmRoleReceiver>
The list of ARM role receivers that are part of this action group. Roles are Azure RBAC roles and only built-in roles are supported.
- eventHubReceivers
- IList<EventHubReceiver>
The list of event hub receivers that are part of this action group.
Applies to
Azure SDK for .NET