LogAnalytics Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Azure SDK for .NET