LogAnalyticsDataFeedSource(String, String, String, String, String) Constructor

Definition

Initializes a new instance of the LogAnalyticsDataFeedSource class.

public LogAnalyticsDataFeedSource (string workspaceId, string query, string clientId, string clientSecret, string tenantId);
new Azure.AI.MetricsAdvisor.Administration.LogAnalyticsDataFeedSource : string * string * string * string * string -> Azure.AI.MetricsAdvisor.Administration.LogAnalyticsDataFeedSource
Public Sub New (workspaceId As String, query As String, clientId As String, clientSecret As String, tenantId As String)

Parameters

workspaceId
String

The workspace ID of the Log Analytics resource.

query
String

The query to retrieve the data to be ingested.

clientId
String

The client ID used for AAD authentication.

clientSecret
String

The client secret used for AAD authentication.

tenantId
String

The tenant ID used for AAD authentication.

Exceptions

workspaceId, query, clientId, clientSecret, or tenantId is null.

workspaceId, query, clientId, clientSecret, or tenantId is empty.

Applies to