java.lang.Object
com.microsoft.azure.management.containerinstance.LogAnalytics

public class LogAnalytics extends Object
Container group log analytics information.
  • Constructor Details

    • LogAnalytics

      public LogAnalytics()
  • Method Details

    • workspaceId

      public String workspaceId()
      Get the workspace id for log analytics.
      Returns:
      the workspaceId value
    • withWorkspaceId

      public LogAnalytics withWorkspaceId(String workspaceId)
      Set the workspace id for log analytics.
      Parameters:
      workspaceId - the workspaceId value to set
      Returns:
      the LogAnalytics object itself.
    • workspaceKey

      public String workspaceKey()
      Get the workspace key for log analytics.
      Returns:
      the workspaceKey value
    • withWorkspaceKey

      public LogAnalytics withWorkspaceKey(String workspaceKey)
      Set the workspace key for log analytics.
      Parameters:
      workspaceKey - the workspaceKey value to set
      Returns:
      the LogAnalytics object itself.
    • logType

      public LogAnalyticsLogType logType()
      Get the log type to be used. Possible values include: 'ContainerInsights', 'ContainerInstanceLogs'.
      Returns:
      the logType value
    • withLogType

      public LogAnalytics withLogType(LogAnalyticsLogType logType)
      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

      public Map<String,String> metadata()
      Get metadata for log analytics.
      Returns:
      the metadata value
    • withMetadata

      public LogAnalytics withMetadata(Map<String,String> metadata)
      Set metadata for log analytics.
      Parameters:
      metadata - the metadata value to set
      Returns:
      the LogAnalytics object itself.
    • workspaceResourceId

      public Map<String,String> workspaceResourceId()
      Get the workspace resource id for log analytics.
      Returns:
      the workspaceResourceId value
    • withWorkspaceResourceId

      public LogAnalytics withWorkspaceResourceId(Map<String,String> workspaceResourceId)
      Set the workspace resource id for log analytics.
      Parameters:
      workspaceResourceId - the workspaceResourceId value to set
      Returns:
      the LogAnalytics object itself.