다음을 통해 공유


LogAnalytics Constructors

Definition

Overloads

LogAnalytics()

Initializes a new instance of the LogAnalytics class.

LogAnalytics(String, String, LogAnalyticsLogType, IDictionary<String,String>)

Initializes a new instance of the LogAnalytics class.

LogAnalytics()

Initializes a new instance of the LogAnalytics class.

public LogAnalytics ();
Public Sub New ()

Applies to

LogAnalytics(String, String, LogAnalyticsLogType, IDictionary<String,String>)

Initializes a new instance of the LogAnalytics class.

public LogAnalytics (string workspaceId, string workspaceKey, Microsoft.Azure.Management.ContainerInstance.Fluent.Models.LogAnalyticsLogType logType = default, System.Collections.Generic.IDictionary<string,string> metadata = default);
new Microsoft.Azure.Management.ContainerInstance.Fluent.Models.LogAnalytics : string * string * Microsoft.Azure.Management.ContainerInstance.Fluent.Models.LogAnalyticsLogType * System.Collections.Generic.IDictionary<string, string> -> Microsoft.Azure.Management.ContainerInstance.Fluent.Models.LogAnalytics
Public Sub New (workspaceId As String, workspaceKey As String, Optional logType As LogAnalyticsLogType = Nothing, Optional metadata As IDictionary(Of String, String) = Nothing)

Parameters

workspaceId
String

The workspace id for log analytics

workspaceKey
String

The workspace key for log analytics

logType
LogAnalyticsLogType

The log type to be used. Possible values include: 'ContainerInsights', 'ContainerInstanceLogs'

metadata
IDictionary<String,String>

Metadata for log analytics.

Applies to