Interface EventHubNamespace.UpdateStages.WithEventHub
-
- All Known Subinterfaces:
EventHubNamespace.Update
- Enclosing interface:
- EventHubNamespace.UpdateStages
@Beta(V1_7_0) public static interface EventHubNamespace.UpdateStages.WithEventHubThe stage of the event hub namespace update allowing to add new event hub in the namespace.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description EventHubNamespace.UpdatewithNewEventHub(String eventHubName)Specifies that a new event hub should be created in the namespace.EventHubNamespace.UpdatewithNewEventHub(String eventHubName, int partitionCount)Specifies that a new event hub should be created in the namespace.EventHubNamespace.UpdatewithNewEventHub(String eventHubName, int partitionCount, int retentionPeriodInDays)Specifies that a new event hub should be created in the namespace.EventHubNamespace.UpdatewithoutEventHub(String eventHubName)Deletes an event hub in the event hub namespace.
-
-
-
Method Detail
-
withNewEventHub
@Beta(V1_7_0) EventHubNamespace.Update withNewEventHub(String eventHubName)
Specifies that a new event hub should be created in the namespace.- Parameters:
eventHubName- event hub name- Returns:
- next stage of the event hub namespace update
-
withNewEventHub
@Beta(V1_7_0) EventHubNamespace.Update withNewEventHub(String eventHubName, int partitionCount)
Specifies that a new event hub should be created in the namespace.- Parameters:
eventHubName- event hub namepartitionCount- the number of partitions in the event hub- Returns:
- next stage of the event hub namespace update
-
withNewEventHub
@Beta(V1_7_0) EventHubNamespace.Update withNewEventHub(String eventHubName, int partitionCount, int retentionPeriodInDays)
Specifies that a new event hub should be created in the namespace.- Parameters:
eventHubName- event hub namepartitionCount- the number of partitions in the event hubretentionPeriodInDays- the retention period for events in days- Returns:
- next stage of the event hub namespace update
-
withoutEventHub
@Beta(V1_7_0) EventHubNamespace.Update withoutEventHub(String eventHubName)
Deletes an event hub in the event hub namespace.- Parameters:
eventHubName- event hub name- Returns:
- next stage of the event hub namespace update
-
-