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, String, IDictionary<String,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, String, IDictionary<String,String>, String)
Initializes a new instance of the LogAnalytics class.
public LogAnalytics (string workspaceId, string workspaceKey, string logType = default, System.Collections.Generic.IDictionary<string,string> metadata = default, string workspaceResourceId = default);
new Microsoft.Azure.Management.ContainerInstance.Models.LogAnalytics : string * string * string * System.Collections.Generic.IDictionary<string, string> * string -> Microsoft.Azure.Management.ContainerInstance.Models.LogAnalytics
Public Sub New (workspaceId As String, workspaceKey As String, Optional logType As String = Nothing, Optional metadata As IDictionary(Of String, String) = Nothing, Optional workspaceResourceId As String = Nothing)
Parameters
- workspaceId
- String
The workspace id for log analytics
- workspaceKey
- String
The workspace key for log analytics
- logType
- String
The log type to be used. Possible values include: 'ContainerInsights', 'ContainerInstanceLogs'
- metadata
- IDictionary<String,String>
Metadata for log analytics.
- workspaceResourceId
- String
The workspace resource id for log analytics
Applies to
Azure SDK for .NET
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for