LogAnalytics Class

Definition

Container group log analytics information.

public class LogAnalytics
Inheritance
java.lang.Object
LogAnalytics

Inherited Members

java.lang.Object.clone() java.lang.Object.equals(java.lang.Object) java.lang.Object.finalize() java.lang.Object.getClass() java.lang.Object.hashCode() java.lang.Object.notify() java.lang.Object.notifyAll() java.lang.Object.toString() java.lang.Object.wait() java.lang.Object.wait(long) java.lang.Object.wait(long,int)

Constructors

LogAnalytics()

Methods

logType()

Get the log type to be used. Possible values include: 'ContainerInsights', 'ContainerInstanceLogs'.

metadata()

Get metadata for log analytics.

withLogType(LogAnalyticsLogType logType)

Set the log type to be used. Possible values include: 'ContainerInsights', 'ContainerInstanceLogs'.

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.

workspaceId()

Get the workspace id for log analytics.

workspaceKey()

Get the workspace key for log analytics.

workspaceResourceId()

Get the workspace resource id for log analytics.

Applies to