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
System.String

The workspace ID of the Log Analytics resource.

query
System.String

The query to retrieve the data to be ingested.

clientId
System.String

The client ID used for AAD authentication.

clientSecret
System.String

The client secret used for AAD authentication.

tenantId
System.String

The tenant ID used for AAD authentication.

Exceptions

System.ArgumentNullException

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

System.ArgumentException

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

Applies to