Freigeben über


ArmMonitorModelFactory.ActionGroupData Method

Definition

Initializes a new instance of ActionGroupData.

public static Azure.ResourceManager.Monitor.ActionGroupData ActionGroupData(Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.Core.AzureLocation location = default, string groupShortName = default, bool? isEnabled = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Monitor.Models.MonitorEmailReceiver> emailReceivers = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Monitor.Models.MonitorSmsReceiver> smsReceivers = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Monitor.Models.MonitorWebhookReceiver> webhookReceivers = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Monitor.Models.MonitorItsmReceiver> itsmReceivers = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Monitor.Models.MonitorAzureAppPushReceiver> azureAppPushReceivers = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Monitor.Models.MonitorAutomationRunbookReceiver> automationRunbookReceivers = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Monitor.Models.MonitorVoiceReceiver> voiceReceivers = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Monitor.Models.MonitorLogicAppReceiver> logicAppReceivers = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Monitor.Models.MonitorAzureFunctionReceiver> azureFunctionReceivers = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Monitor.Models.MonitorArmRoleReceiver> armRoleReceivers = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Monitor.Models.MonitorEventHubReceiver> eventHubReceivers = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Monitor.Models.IncidentReceiver> incidentReceivers = default, Azure.ResourceManager.Models.ManagedServiceIdentity identity = default);
static member ActionGroupData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * string * Nullable<bool> * seq<Azure.ResourceManager.Monitor.Models.MonitorEmailReceiver> * seq<Azure.ResourceManager.Monitor.Models.MonitorSmsReceiver> * seq<Azure.ResourceManager.Monitor.Models.MonitorWebhookReceiver> * seq<Azure.ResourceManager.Monitor.Models.MonitorItsmReceiver> * seq<Azure.ResourceManager.Monitor.Models.MonitorAzureAppPushReceiver> * seq<Azure.ResourceManager.Monitor.Models.MonitorAutomationRunbookReceiver> * seq<Azure.ResourceManager.Monitor.Models.MonitorVoiceReceiver> * seq<Azure.ResourceManager.Monitor.Models.MonitorLogicAppReceiver> * seq<Azure.ResourceManager.Monitor.Models.MonitorAzureFunctionReceiver> * seq<Azure.ResourceManager.Monitor.Models.MonitorArmRoleReceiver> * seq<Azure.ResourceManager.Monitor.Models.MonitorEventHubReceiver> * seq<Azure.ResourceManager.Monitor.Models.IncidentReceiver> * Azure.ResourceManager.Models.ManagedServiceIdentity -> Azure.ResourceManager.Monitor.ActionGroupData
Public Shared Function ActionGroupData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional location As AzureLocation = Nothing, Optional groupShortName As String = Nothing, Optional isEnabled As Nullable(Of Boolean) = Nothing, Optional emailReceivers As IEnumerable(Of MonitorEmailReceiver) = Nothing, Optional smsReceivers As IEnumerable(Of MonitorSmsReceiver) = Nothing, Optional webhookReceivers As IEnumerable(Of MonitorWebhookReceiver) = Nothing, Optional itsmReceivers As IEnumerable(Of MonitorItsmReceiver) = Nothing, Optional azureAppPushReceivers As IEnumerable(Of MonitorAzureAppPushReceiver) = Nothing, Optional automationRunbookReceivers As IEnumerable(Of MonitorAutomationRunbookReceiver) = Nothing, Optional voiceReceivers As IEnumerable(Of MonitorVoiceReceiver) = Nothing, Optional logicAppReceivers As IEnumerable(Of MonitorLogicAppReceiver) = Nothing, Optional azureFunctionReceivers As IEnumerable(Of MonitorAzureFunctionReceiver) = Nothing, Optional armRoleReceivers As IEnumerable(Of MonitorArmRoleReceiver) = Nothing, Optional eventHubReceivers As IEnumerable(Of MonitorEventHubReceiver) = Nothing, Optional incidentReceivers As IEnumerable(Of IncidentReceiver) = Nothing, Optional identity As ManagedServiceIdentity = Nothing) As ActionGroupData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

tags
IDictionary<String,String>

The tags.

location
AzureLocation

The location.

groupShortName
String

The short name of the action group. This will be used in SMS messages.

isEnabled
Nullable<Boolean>

Indicates whether this action group is enabled. If an action group is not enabled, then none of its receivers will receive communications.

emailReceivers
IEnumerable<MonitorEmailReceiver>

The list of email receivers that are part of this action group.

smsReceivers
IEnumerable<MonitorSmsReceiver>

The list of SMS receivers that are part of this action group.

webhookReceivers
IEnumerable<MonitorWebhookReceiver>

The list of webhook receivers that are part of this action group.

itsmReceivers
IEnumerable<MonitorItsmReceiver>

The list of ITSM receivers that are part of this action group.

azureAppPushReceivers
IEnumerable<MonitorAzureAppPushReceiver>

The list of AzureAppPush receivers that are part of this action group.

automationRunbookReceivers
IEnumerable<MonitorAutomationRunbookReceiver>

The list of AutomationRunbook receivers that are part of this action group.

voiceReceivers
IEnumerable<MonitorVoiceReceiver>

The list of voice receivers that are part of this action group.

logicAppReceivers
IEnumerable<MonitorLogicAppReceiver>

The list of logic app receivers that are part of this action group.

azureFunctionReceivers
IEnumerable<MonitorAzureFunctionReceiver>

The list of azure function receivers that are part of this action group.

armRoleReceivers
IEnumerable<MonitorArmRoleReceiver>

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
IEnumerable<MonitorEventHubReceiver>

The list of event hub receivers that are part of this action group.

incidentReceivers
IEnumerable<IncidentReceiver>

The list of incident receivers that are part of this action group.

identity
ManagedServiceIdentity

Managed service identity (system assigned and/or user assigned identities).

Returns

A new ActionGroupData instance for mocking.

Applies to