Język

ArmMonitorModelFactory.MonitorApplicationInsightsReference Method

Definition

The MonitorApplicationInsightsReference.

public static Azure.ResourceManager.Monitor.Models.MonitorApplicationInsightsReference MonitorApplicationInsightsReference(Azure.Core.ResourceIdentifier resourceId = default, string name = default);
static member MonitorApplicationInsightsReference : Azure.Core.ResourceIdentifier * string -> Azure.ResourceManager.Monitor.Models.MonitorApplicationInsightsReference
Public Shared Function MonitorApplicationInsightsReference (Optional resourceId As ResourceIdentifier = Nothing, Optional name As String = Nothing) As MonitorApplicationInsightsReference

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.

Returns

A new MonitorApplicationInsightsReference instance for mocking.

Applies to