ArmContainerInstanceModelFactory.ContainerGroupLogAnalytics Method
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.
public static Azure.ResourceManager.ContainerInstance.Models.ContainerGroupLogAnalytics ContainerGroupLogAnalytics(string workspaceId = default, string workspaceKey = default, Azure.ResourceManager.ContainerInstance.Models.ContainerGroupLogAnalyticsLogType? logType = default, System.Collections.Generic.IDictionary<string,string> metadata = default, Azure.Core.ResourceIdentifier workspaceResourceId = default);
static member ContainerGroupLogAnalytics : string * string * Nullable<Azure.ResourceManager.ContainerInstance.Models.ContainerGroupLogAnalyticsLogType> * System.Collections.Generic.IDictionary<string, string> * Azure.Core.ResourceIdentifier -> Azure.ResourceManager.ContainerInstance.Models.ContainerGroupLogAnalytics
Public Shared Function ContainerGroupLogAnalytics (Optional workspaceId As String = Nothing, Optional workspaceKey As String = Nothing, Optional logType As Nullable(Of ContainerGroupLogAnalyticsLogType) = Nothing, Optional metadata As IDictionary(Of String, String) = Nothing, Optional workspaceResourceId As ResourceIdentifier = Nothing) As ContainerGroupLogAnalytics
Parameters
- workspaceId
- String
The workspace id for log analytics.
- workspaceKey
- String
The workspace key for log analytics.
The log type to be used.
- metadata
- IDictionary<String,String>
Metadata for log analytics.
- workspaceResourceId
- ResourceIdentifier
The workspace resource id for log analytics.
Returns
A new ContainerGroupLogAnalytics instance for mocking.