Compartilhar via


NotificationRequestBody Construtores

Definição

Sobrecargas

NotificationRequestBody()

Inicializa uma nova instância da classe NotificationRequestBody.

NotificationRequestBody(String, IList<EmailReceiver>, IList<SmsReceiver>, IList<WebhookReceiver>, IList<ItsmReceiver>, IList<AzureAppPushReceiver>, IList<AutomationRunbookReceiver>, IList<VoiceReceiver>, IList<LogicAppReceiver>, IList<AzureFunctionReceiver>, IList<ArmRoleReceiver>, IList<EventHubReceiver>)

Inicializa uma nova instância da classe NotificationRequestBody.

NotificationRequestBody()

Inicializa uma nova instância da classe NotificationRequestBody.

public NotificationRequestBody ();
Public Sub New ()

Aplica-se a

NotificationRequestBody(String, IList<EmailReceiver>, IList<SmsReceiver>, IList<WebhookReceiver>, IList<ItsmReceiver>, IList<AzureAppPushReceiver>, IList<AutomationRunbookReceiver>, IList<VoiceReceiver>, IList<LogicAppReceiver>, IList<AzureFunctionReceiver>, IList<ArmRoleReceiver>, IList<EventHubReceiver>)

Inicializa uma nova instância da classe NotificationRequestBody.

public NotificationRequestBody (string alertType, 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.NotificationRequestBody : 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.NotificationRequestBody
Public Sub New (alertType As String, 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)

Parâmetros

alertType
String

O nome do tipo de alerta com suporte.

emailReceivers
IList<EmailReceiver>

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

smsReceivers
IList<SmsReceiver>

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

webhookReceivers
IList<WebhookReceiver>

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

itsmReceivers
IList<ItsmReceiver>

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

azureAppPushReceivers
IList<AzureAppPushReceiver>

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

automationRunbookReceivers
IList<AutomationRunbookReceiver>

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

voiceReceivers
IList<VoiceReceiver>

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

logicAppReceivers
IList<LogicAppReceiver>

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

azureFunctionReceivers
IList<AzureFunctionReceiver>

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

armRoleReceivers
IList<ArmRoleReceiver>

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
IList<EventHubReceiver>

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

Aplica-se a