Dela via


IWithCreate Interface

Definition

The stage of the definition which contains all the minimum required inputs for the resource to be created (via WithCreate.create()), but also allows for any other optional settings to be specified.

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