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

MonitorAzureFunctionReceiver(String, ResourceIdentifier, String, Uri) 构造函数

定义

初始化 MonitorAzureFunctionReceiver 的新实例。

public MonitorAzureFunctionReceiver (string name, Azure.Core.ResourceIdentifier functionAppResourceId, string functionName, Uri httpTriggerUri);
new Azure.ResourceManager.Monitor.Models.MonitorAzureFunctionReceiver : string * Azure.Core.ResourceIdentifier * string * Uri -> Azure.ResourceManager.Monitor.Models.MonitorAzureFunctionReceiver
Public Sub New (name As String, functionAppResourceId As ResourceIdentifier, functionName As String, httpTriggerUri As Uri)

参数

name
String

azure 函数接收器的名称。 名称在操作组内的所有接收方中必须是唯一的。

functionAppResourceId
ResourceIdentifier

函数应用的 azure 资源 ID。

functionName
String

函数应用中的函数名称。

httpTriggerUri
Uri

http 请求发送到的 http 触发器 URL。

例外

namefunctionAppResourceIdfunctionNamehttpTriggerUri 为 null。

适用于