Share via


ActionGroupResource Constructors

Definition

Overloads

ActionGroupResource()

Initializes a new instance of the ActionGroupResource class.

ActionGroupResource(String, String, Boolean, String, String, String, String, String, IDictionary<String,String>, 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 ActionGroupResource class.

ActionGroupResource()

Initializes a new instance of the ActionGroupResource class.

public ActionGroupResource ();
Public Sub New ()

Applies to

ActionGroupResource(String, String, Boolean, String, String, String, String, String, IDictionary<String,String>, 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 ActionGroupResource class.

public ActionGroupResource (string location, string groupShortName, bool enabled, string id = default, string name = default, string type = default, string kind = default, string identity = default, System.Collections.Generic.IDictionary<string,string> tags = default, 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.ActionGroupResource : string * string * bool * string * string * string * string * string * System.Collections.Generic.IDictionary<string, string> * 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.ActionGroupResource
Public Sub New (location As String, groupShortName As String, enabled As Boolean, Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional kind As String = Nothing, Optional identity As String = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, 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

location
String

Resource location

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.

id
String

Azure resource Id

name
String

Azure resource name

type
String

Azure resource type

kind
String

Azure resource kind

identity
String

Azure resource identity

tags
IDictionary<String,String>

Resource tags

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