EventHubNamespace.UpdateStages.WithEventHub.withNewEventHub Method

Definition

Overloads

withNewEventHub(String eventHubName)

Specifies that a new event hub should be created in the namespace.

withNewEventHub(String eventHubName, int partitionCount)

Specifies that a new event hub should be created in the namespace.

withNewEventHub(String eventHubName, int partitionCount, int retentionPeriodInDays)

Specifies that a new event hub should be created in the namespace.

withNewEventHub(String eventHubName)

Specifies that a new event hub should be created in the namespace.

public abstract EventHubNamespace.Update withNewEventHub(String eventHubName)

Parameters

eventHubName
java.lang.String

event hub name

Returns

next stage of the event hub namespace update

withNewEventHub(String eventHubName, int partitionCount)

Specifies that a new event hub should be created in the namespace.

public abstract EventHubNamespace.Update withNewEventHub(String eventHubName, int partitionCount)

Parameters

eventHubName
java.lang.String

event hub name

partitionCount
int

the number of partitions in the event hub

Returns

next stage of the event hub namespace update

withNewEventHub(String eventHubName, int partitionCount, int retentionPeriodInDays)

Specifies that a new event hub should be created in the namespace.

public abstract EventHubNamespace.Update withNewEventHub(String eventHubName, int partitionCount, int retentionPeriodInDays)

Parameters

eventHubName
java.lang.String

event hub name

partitionCount
int

the number of partitions in the event hub

retentionPeriodInDays
int

the retention period for events in days

Returns

next stage of the event hub namespace update

Applies to