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