Interface DiagnosticSetting.UpdateStages.WithEventHub

    • Method Detail

      • withEventHub

        DiagnosticSetting.Update 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 next stage of the Diagnostic Settings update.
      • withEventHub

        DiagnosticSetting.Update 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 next stage of the Diagnostic Settings update.
      • withoutEventHub

        DiagnosticSetting.Update withoutEventHub()
        Removes the EventHub from the Diagnostic Settings.
        Returns:
        the next stage of the Diagnostic Settings update.