Interface DiagnosticSetting.UpdateStages.WithLogAnalytics

All Known Subinterfaces:
DiagnosticSetting.Update
Enclosing interface:
DiagnosticSetting.UpdateStages

public static interface DiagnosticSetting.UpdateStages.WithLogAnalytics
The stage of a Diagnostic Settings update allowing to modify Log Analytics settings.
  • Method Details

    • withLogAnalytics

      DiagnosticSetting.Update withLogAnalytics(String workspaceId)
      Sets Log Analytics workspace for data transfer.
      Parameters:
      workspaceId - of Log Analytics that should exist in the same region as resource.
      Returns:
      the next stage of the Diagnostic Settings update.
    • withoutLogAnalytics

      DiagnosticSetting.Update withoutLogAnalytics()
      Removes the Log Analytics from the Diagnostic Settings.
      Returns:
      the next stage of the Diagnostic Settings update.