语言

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

MonitorApplicationInsightsReference(ResourceIdentifier, String) Constructor

Definition

Initializes a new instance of MonitorApplicationInsightsReference.

public MonitorApplicationInsightsReference(Azure.Core.ResourceIdentifier resourceId, string name);
new Azure.ResourceManager.Monitor.Models.MonitorApplicationInsightsReference : Azure.Core.ResourceIdentifier * string -> Azure.ResourceManager.Monitor.Models.MonitorApplicationInsightsReference
Public Sub New (resourceId As ResourceIdentifier, name As String)

Parameters

resourceId
ResourceIdentifier

Id of the application insights resource.

name
String

The name of the reference used as an alias when referencing this application insights in Otel data sources.

Exceptions

resourceId or name is null.

Applies to