ServiceBusSubscription.DefinitionStages.WithDeleteOnIdle Interface
public static interface ServiceBusSubscription.DefinitionStages.WithDeleteOnIdle
The stage of the subscription definition allowing to define auto delete behaviour.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract
With |
withDeleteOnIdleDurationInMinutes(int durationInMinutes)
The idle interval after which the subscription is automatically deleted. |
Method Details
withDeleteOnIdleDurationInMinutes
public abstract ServiceBusSubscription.DefinitionStages.WithCreate withDeleteOnIdleDurationInMinutes(int durationInMinutes)
The idle interval after which the subscription is automatically deleted. Note: unless it is explicitly overridden the default delete on idle duration is infinite (TimeSpan.Max).
Parameters:
durationInMinutes
- idle duration in minutes
Returns:
the next stage of subscription definition
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java