Compartilhar via


ArmMonitorModelFactory.ActionGroupData Método

Definição

Inicializa uma nova instância de 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);
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> -> 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) As ActionGroupData

Parâmetros

name
String

O nome.

resourceType
ResourceType

O resourceType.

systemData
SystemData

O systemData.

tags
IDictionary<String,String>

As marcas.

location
AzureLocation

O local.

groupShortName
String

O nome curto do grupo de ações. Isso será usado em mensagens SMS.

isEnabled
Nullable<Boolean>

Indica se esse grupo de ações está habilitado. Se um grupo de ações não estiver habilitado, nenhum de seus receptores receberá comunicações.

emailReceivers
IEnumerable<MonitorEmailReceiver>

A lista de receptores de email que fazem parte desse grupo de ações.

smsReceivers
IEnumerable<MonitorSmsReceiver>

A lista de receptores sms que fazem parte desse grupo de ações.

webhookReceivers
IEnumerable<MonitorWebhookReceiver>

A lista de receptores de webhook que fazem parte desse grupo de ações.

itsmReceivers
IEnumerable<MonitorItsmReceiver>

A lista de receptores ITSM que fazem parte desse grupo de ações.

azureAppPushReceivers
IEnumerable<MonitorAzureAppPushReceiver>

A lista de receptores AzureAppPush que fazem parte desse grupo de ações.

automationRunbookReceivers
IEnumerable<MonitorAutomationRunbookReceiver>

A lista de receptores AutomationRunbook que fazem parte desse grupo de ações.

voiceReceivers
IEnumerable<MonitorVoiceReceiver>

A lista de receptores de voz que fazem parte desse grupo de ações.

logicAppReceivers
IEnumerable<MonitorLogicAppReceiver>

A lista de receptores de aplicativo lógico que fazem parte desse grupo de ações.

azureFunctionReceivers
IEnumerable<MonitorAzureFunctionReceiver>

A lista de receptores de função do Azure que fazem parte desse grupo de ações.

armRoleReceivers
IEnumerable<MonitorArmRoleReceiver>

A lista de receptores de função arm que fazem parte desse grupo de ações. As funções são funções RBAC do Azure e há suporte apenas para funções internas.

eventHubReceivers
IEnumerable<MonitorEventHubReceiver>

A lista de receptores do hub de eventos que fazem parte desse grupo de ações.

Retornos

Uma nova ActionGroupData instância para simulação.

Aplica-se a