Interface EventHubNamespace.DefinitionStages.WithEventHub
-
- All Known Subinterfaces:
EventHubNamespace.Definition,EventHubNamespace.DefinitionStages.WithCreate
- Enclosing interface:
- EventHubNamespace.DefinitionStages
@Beta(V1_7_0) public static interface EventHubNamespace.DefinitionStages.WithEventHubThe stage of the event hub namespace definition allowing to add new event hub in the namespace.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description EventHubNamespace.DefinitionStages.WithCreatewithNewEventHub(String eventHubName)Specifies that a new event hub should be created in the namespace.EventHubNamespace.DefinitionStages.WithCreatewithNewEventHub(String eventHubName, int partitionCount)Specifies that a new event hub should be created in the namespace.EventHubNamespace.DefinitionStages.WithCreatewithNewEventHub(String eventHubName, int partitionCount, int retentionPeriodInDays)Specifies that a new event hub should be created in the namespace.
-
-
-
Method Detail
-
withNewEventHub
@Beta(V1_7_0) EventHubNamespace.DefinitionStages.WithCreate 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 definition
-
withNewEventHub
@Beta(V1_7_0) EventHubNamespace.DefinitionStages.WithCreate 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 definition
-
withNewEventHub
@Beta(V1_7_0) EventHubNamespace.DefinitionStages.WithCreate 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 definition
-
-