EventHubNamespace.UpdateStages.WithEventHub Interface
public static interface EventHubNamespace.UpdateStages.WithEventHub
The stage of the event hub namespace update allowing to add new event hub in the namespace.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract Update |
withNewEventHub(String eventHubName)
Specifies that a new event hub should be created in the namespace. |
abstract Update |
withNewEventHub(String eventHubName, int partitionCount)
Specifies that a new event hub should be created in the namespace. |
abstract Update |
withNewEventHub(String eventHubName, int partitionCount, int retentionPeriodInDays)
Specifies that a new event hub should be created in the namespace. |
abstract Update |
withoutEventHub(String eventHubName)
Deletes an event hub in the event hub namespace. |
Method Details
withNewEventHub
public abstract EventHubNamespace.Update withNewEventHub(String eventHubName)
Specifies that a new event hub should be created in the namespace.
Parameters:
Returns:
withNewEventHub
public abstract EventHubNamespace.Update withNewEventHub(String eventHubName, int partitionCount)
Specifies that a new event hub should be created in the namespace.
Parameters:
Returns:
withNewEventHub
public abstract EventHubNamespace.Update withNewEventHub(String eventHubName, int partitionCount, int retentionPeriodInDays)
Specifies that a new event hub should be created in the namespace.
Parameters:
Returns:
withoutEventHub
public abstract EventHubNamespace.Update withoutEventHub(String eventHubName)
Deletes an event hub in the event hub namespace.
Parameters:
Returns:
Applies to
Azure SDK for Java