Interface DiagnosticSetting.UpdateStages.WithEventHub
- All Known Subinterfaces:
DiagnosticSetting.Update
- Enclosing interface:
DiagnosticSetting.UpdateStages
public static interface DiagnosticSetting.UpdateStages.WithEventHub
The stage of a Diagnostic Settings update allowing to modify EventHub settings.
-
Method Summary
Modifier and TypeMethodDescriptionwithEventHub(String eventHubAuthorizationRuleId) Sets EventHub Namespace Authorization Rule for data transfer.withEventHub(String eventHubAuthorizationRuleId, String eventHubName) Sets EventHub Namespace Authorization Rule for data transfer.Removes the EventHub from the Diagnostic Settings.
-
Method Details
-
withEventHub
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
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.
-