你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ActionGroupResource 构造函数

定义

重载

ActionGroupResource()

初始化 ActionGroupResource 类的新实例。

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>)

初始化 ActionGroupResource 类的新实例。

ActionGroupResource()

初始化 ActionGroupResource 类的新实例。

public ActionGroupResource ();
Public Sub New ()

适用于

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>)

初始化 ActionGroupResource 类的新实例。

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)

参数

location
String

资源位置

groupShortName
String

操作组的短名称。 这将在短信中使用。

enabled
Boolean

指示是否启用此操作组。 如果未启用操作组,则其接收方不会接收通信。

id
String

Azure 资源 ID

name
String

Azure 资源名称

type
String

Azure 资源类型

kind
String

Azure 资源类型

identity
String

Azure 资源标识

tags
IDictionary<String,String>

资源标记

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>

属于此操作组的事件中心接收器的列表。

适用于