Partager via


EventHubNamespace.DefinitionStages.WithThroughputConfiguration Interface

public static interface EventHubNamespace.DefinitionStages.WithThroughputConfiguration

The stage of the event hub namespace definition allowing to specify the throughput unit settings.

Method Summary

Modifier and Type Method and Description
abstract WithCreate withAutoScaling()

Enables the scaling up the throughput units automatically based on load.

abstract WithCreate withCurrentThroughputUnits(int units)

Specifies the current throughput units.

abstract WithCreate withThroughputUnitsUpperLimit(int units)

Specifies the maximum throughput units that auto-scalar is allowed to scale-up.

Method Details

withAutoScaling

public abstract EventHubNamespace.DefinitionStages.WithCreate withAutoScaling()

Enables the scaling up the throughput units automatically based on load.

Returns:

next stage of the event hub namespace definition

withCurrentThroughputUnits

public abstract EventHubNamespace.DefinitionStages.WithCreate withCurrentThroughputUnits(int units)

Specifies the current throughput units.

Parameters:

units - throughput units

Returns:

next stage of the event hub namespace definition

withThroughputUnitsUpperLimit

public abstract EventHubNamespace.DefinitionStages.WithCreate withThroughputUnitsUpperLimit(int units)

Specifies the maximum throughput units that auto-scalar is allowed to scale-up.

Parameters:

units - throughput units

Returns:

next stage of the event hub namespace definition

Applies to