EventHubNamespace.DefinitionStages.WithEventHub Interface
public static interface EventHubNamespace.DefinitionStages.WithEventHub
The stage of the event hub namespace definition allowing to add new event hub in the namespace.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract
With |
withNewEventHub(String eventHubName)
Specifies that a new event hub should be created in the namespace. |
abstract
With |
withNewEventHub(String eventHubName, int partitionCount)
Specifies that a new event hub should be created in the namespace. |
abstract
With |
withNewEventHub(String eventHubName, int partitionCount, int retentionPeriodInDays)
Specifies that a new event hub should be created in the namespace. |
Method Details
withNewEventHub
public abstract EventHubNamespace.DefinitionStages.WithCreate withNewEventHub(String eventHubName)
Specifies that a new event hub should be created in the namespace.
Parameters:
Returns:
withNewEventHub
public abstract EventHubNamespace.DefinitionStages.WithCreate withNewEventHub(String eventHubName, int partitionCount)
Specifies that a new event hub should be created in the namespace.
Parameters:
Returns:
withNewEventHub
public abstract EventHubNamespace.DefinitionStages.WithCreate withNewEventHub(String eventHubName, int partitionCount, int retentionPeriodInDays)
Specifies that a new event hub should be created in the namespace.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for