Interface ContainerGroup.DefinitionStages.WithLogAnalytics
- All Known Subinterfaces:
ContainerGroup.Definition
,ContainerGroup.DefinitionStages.DnsConfigFork
,ContainerGroup.DefinitionStages.WithCreate
,ContainerGroup.DefinitionStages.WithNextContainerInstance
,ContainerGroup.DefinitionStages.WithSystemAssignedIdentityBasedAccessOrCreate
- Enclosing interface:
- ContainerGroup.DefinitionStages
public static interface ContainerGroup.DefinitionStages.WithLogAnalytics
The stage of the container group definition allowing to specify the log analytics platform for the container group.
-
Method Summary
Modifier and TypeMethodDescriptionwithLogAnalytics
(String workspaceId, String workspaceKey) Specifies the log analytics workspace to use for the container group.withLogAnalytics
(String workspaceId, String workspaceKey, LogAnalyticsLogType logType, Map<String, String> metadata) Specifies the log analytics workspace with optional add-ons for the container group.
-
Method Details
-
withLogAnalytics
@Beta(V1_23_0) ContainerGroup.DefinitionStages.WithCreate withLogAnalytics(String workspaceId, String workspaceKey) Specifies the log analytics workspace to use for the container group.- Parameters:
workspaceId
- the id of the previously-created log analytics workspaceworkspaceKey
- the key of the previously-created log analytics workspace- Returns:
- the next stage of the definition
-
withLogAnalytics
@Beta(V1_23_0) ContainerGroup.DefinitionStages.WithCreate withLogAnalytics(String workspaceId, String workspaceKey, LogAnalyticsLogType logType, Map<String, String> metadata) Specifies the log analytics workspace with optional add-ons for the container group.- Parameters:
workspaceId
- the id of the previously-created log analytics workspaceworkspaceKey
- the key of the previously-created log analytics workspacelogType
- the log type to be used. Possible values include: 'ContainerInsights', 'ContainerInstanceLogs'.metadata
- the metadata for log analytics- Returns:
- the next stage of the definition
-