你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ActionGroup 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
ActionGroup()
初始化 ActionGroup 类的新实例。
public ActionGroup ();
Public Sub New ()
适用于
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>)
初始化 ActionGroup 类的新实例。
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)
参数
- groupShortName
- String
操作组的短名称。 这将在短信中使用。
- enabled
- Boolean
指示是否启用此操作组。 如果未启用操作组,则其任何接收方都不会接收通信。
- emailReceivers
- IList<EmailReceiver>
属于此操作组的电子邮件收件人的列表。
- smsReceivers
- IList<SmsReceiver>
属于此操作组的短信接收方列表。
- webhookReceivers
- IList<WebhookReceiver>
属于此操作组的 Webhook 接收器的列表。
- itsmReceivers
- IList<ItsmReceiver>
属于此操作组的 ITSM 接收器的列表。
- azureAppPushReceivers
- IList<AzureAppPushReceiver>
属于此操作组的 AzureAppPush 接收器的列表。
- automationRunbookReceivers
- IList<AutomationRunbookReceiver>
属于此操作组的 AutomationRunbook 接收器的列表。
- voiceReceivers
- IList<VoiceReceiver>
属于此操作组的语音接收器列表。
- logicAppReceivers
- IList<LogicAppReceiver>
属于此操作组的逻辑应用接收器的列表。
- azureFunctionReceivers
- IList<AzureFunctionReceiver>
属于此操作组的 Azure 函数接收器的列表。
- armRoleReceivers
- IList<ArmRoleReceiver>
属于此操作组的 ARM 角色接收器的列表。 角色是 Azure RBAC 角色,仅支持内置角色。
- eventHubReceivers
- IList<EventHubReceiver>
属于此操作组的事件中心接收器的列表。