Interface DiagnosticSetting.DefinitionStages.WithDiagnosticLogRecipient

All Known Subinterfaces:
DiagnosticSetting.Definition, DiagnosticSetting.DefinitionStages.WithCreate
Enclosing interface:
DiagnosticSetting.DefinitionStages

public static interface DiagnosticSetting.DefinitionStages.WithDiagnosticLogRecipient
The stage of the definition which contains minimum required properties to be specified for Diagnostic Settings creation.
  • Method Details

    • withLogAnalytics

      Sets Log Analytics workspace for data transfer.
      Parameters:
      workspaceId - of Log Analytics that should exist in the same region as resource.
      Returns:
      the stage of creating Diagnostic Settings.
    • withStorageAccount

      DiagnosticSetting.DefinitionStages.WithCreate withStorageAccount(String storageAccountId)
      Sets Storage Account for data transfer.
      Parameters:
      storageAccountId - of storage account that should exist in the same region as resource.
      Returns:
      the stage of creating Diagnostic Settings.
    • withEventHub

      DiagnosticSetting.DefinitionStages.WithCreate withEventHub(String eventHubAuthorizationRuleId)
      Sets EventHub Namespace Authorization Rule for data transfer.
      Parameters:
      eventHubAuthorizationRuleId - of EventHub namespace authorization rule that should exist in the same region as resource.
      Returns:
      the stage of creating Diagnostic Settings.
    • withEventHub

      DiagnosticSetting.DefinitionStages.WithCreate withEventHub(String eventHubAuthorizationRuleId, String eventHubName)
      Sets EventHub Namespace Authorization Rule for data transfer.
      Parameters:
      eventHubAuthorizationRuleId - of EventHub namespace authorization rule that should exist in the same region as resource.
      eventHubName - name of the EventHub. If none is specified, the default EventHub will be selected.
      Returns:
      the stage of creating Diagnostic Settings.