IDefinition Interface

Definition

The entirety of the subscription definition.

public interface IDefinition : Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.ICreatable<Microsoft.Azure.Management.ServiceBus.Fluent.ISubscription>, Microsoft.Azure.Management.ServiceBus.Fluent.Subscription.Definition.IBlank
type IDefinition = interface
    interface IBlank
    interface IWithCreate
    interface ICreatable<ISubscription>
    interface IIndexable
    interface IWithDeleteOnIdle
    interface IWithMessageLockDuration
    interface IWithDefaultMessageTTL
    interface IWithSession
    interface IWithMessageBatching
    interface IWithExpiredMessageMovedToDeadLetterSubscription
    interface IWithMessageMovedToDeadLetterSubscriptionOnMaxDeliveryCount
    interface IWithMessageMovedToDeadLetterSubscriptionOnFilterEvaluationException
Public Interface IDefinition
Implements IBlank, ICreatable(Of ISubscription)
Implements

Properties

Key (Inherited from IIndexable)
Name

Gets the name of the creatable resource.

(Inherited from ICreatable<T>)

Methods

Create()

Execute the create request.

(Inherited from ICreatable<T>)
CreateAsync(CancellationToken, Boolean)

Puts the request into the queue and allow the HTTP client to execute it when system resources are available.

(Inherited from ICreatable<T>)
WithDefaultMessageTTL(TimeSpan)

Specifies the duration after which the message expires. Note: unless it is explicitly overridden the default ttl is infinite (TimeSpan.Max).

(Inherited from IWithDefaultMessageTTL)
WithDeleteOnIdleDurationInMinutes(Int32)

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).

(Inherited from IWithDeleteOnIdle)
WithExpiredMessageMovedToDeadLetterSubscription()

Specifies that expired message must be moved to dead-letter subscription.

(Inherited from IWithExpiredMessageMovedToDeadLetterSubscription)
WithMessageLockDurationInSeconds(Int32)

Specifies the amount of time that the message is locked for other receivers. Note: unless it is explicitly overridden the default lock duration is 60 seconds, the maximum allowed value is 300 seconds.

(Inherited from IWithMessageLockDuration)
WithMessageMovedToDeadLetterSubscriptionOnFilterEvaluationException()

Specifies that filter evaluation failed message must be moved to dead-letter subscription.

(Inherited from IWithMessageMovedToDeadLetterSubscriptionOnFilterEvaluationException)
WithMessageMovedToDeadLetterSubscriptionOnMaxDeliveryCount(Int32)

Specifies maximum number of times a message can be delivered. Once this count has exceeded, message will be moved to dead-letter subscription.

(Inherited from IWithMessageMovedToDeadLetterSubscriptionOnMaxDeliveryCount)
WithoutExpiredMessageMovedToDeadLetterSubscription()

Specifies that expired message should not be moved to dead-letter subscription.

(Inherited from IWithExpiredMessageMovedToDeadLetterSubscription)
WithoutMessageBatching()

Specifies that the default batching should be disabled on this subscription. With batching service bus can batch multiple message when it write or delete messages from it's internal store.

(Inherited from IWithMessageBatching)
WithSession()

Specifies that session support should be enabled for the subscription.

(Inherited from IWithSession)

Applies to