Class LogAnalytics
java.lang.Object
com.microsoft.azure.management.containerinstance.LogAnalytics
Container group log analytics information.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionlogType()
Get the log type to be used.metadata()
Get metadata for log analytics.withLogType
(LogAnalyticsLogType logType) Set the log type to be used.withMetadata
(Map<String, String> metadata) Set metadata for log analytics.withWorkspaceId
(String workspaceId) Set the workspace id for log analytics.withWorkspaceKey
(String workspaceKey) Set the workspace key for log analytics.withWorkspaceResourceId
(Map<String, String> workspaceResourceId) Set the workspace resource id for log analytics.Get the workspace id for log analytics.Get the workspace key for log analytics.Get the workspace resource id for log analytics.
-
Constructor Details
-
LogAnalytics
public LogAnalytics()
-
-
Method Details
-
workspaceId
Get the workspace id for log analytics.- Returns:
- the workspaceId value
-
withWorkspaceId
Set the workspace id for log analytics.- Parameters:
workspaceId
- the workspaceId value to set- Returns:
- the LogAnalytics object itself.
-
workspaceKey
Get the workspace key for log analytics.- Returns:
- the workspaceKey value
-
withWorkspaceKey
Set the workspace key for log analytics.- Parameters:
workspaceKey
- the workspaceKey value to set- Returns:
- the LogAnalytics object itself.
-
logType
Get the log type to be used. Possible values include: 'ContainerInsights', 'ContainerInstanceLogs'.- Returns:
- the logType value
-
withLogType
Set the log type to be used. Possible values include: 'ContainerInsights', 'ContainerInstanceLogs'.- Parameters:
logType
- the logType value to set- Returns:
- the LogAnalytics object itself.
-
metadata
Get metadata for log analytics.- Returns:
- the metadata value
-
withMetadata
Set metadata for log analytics.- Parameters:
metadata
- the metadata value to set- Returns:
- the LogAnalytics object itself.
-
workspaceResourceId
Get the workspace resource id for log analytics.- Returns:
- the workspaceResourceId value
-
withWorkspaceResourceId
Set the workspace resource id for log analytics.- Parameters:
workspaceResourceId
- the workspaceResourceId value to set- Returns:
- the LogAnalytics object itself.
-