ArmMonitorModelFactory.LogAnalyticsDestination Method

Definition

Initializes a new instance of LogAnalyticsDestination.

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

Parameters

workspaceResourceId
ResourceIdentifier

The resource ID of the Log Analytics workspace.

workspaceId
String

The Customer ID of the Log Analytics workspace.

name
String

A friendly name for the destination. This name should be unique across all destinations (regardless of type) within the data collection rule.

Returns

A new LogAnalyticsDestination instance for mocking.

Applies to