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.IQueue>, Microsoft.Azure.Management.ServiceBus.Fluent.Queue.Definition.IWithAuthorizationRule, Microsoft.Azure.Management.ServiceBus.Fluent.Queue.Definition.IWithDefaultMessageTTL, Microsoft.Azure.Management.ServiceBus.Fluent.Queue.Definition.IWithDeleteOnIdle, Microsoft.Azure.Management.ServiceBus.Fluent.Queue.Definition.IWithDuplicateMessageDetection, Microsoft.Azure.Management.ServiceBus.Fluent.Queue.Definition.IWithExpiredMessageMovedToDeadLetterQueue, Microsoft.Azure.Management.ServiceBus.Fluent.Queue.Definition.IWithExpressMessage, Microsoft.Azure.Management.ServiceBus.Fluent.Queue.Definition.IWithMessageBatching, Microsoft.Azure.Management.ServiceBus.Fluent.Queue.Definition.IWithMessageLockDuration, Microsoft.Azure.Management.ServiceBus.Fluent.Queue.Definition.IWithMessageMovedToDeadLetterQueueOnMaxDeliveryCount, Microsoft.Azure.Management.ServiceBus.Fluent.Queue.Definition.IWithPartitioning, Microsoft.Azure.Management.ServiceBus.Fluent.Queue.Definition.IWithSession, Microsoft.Azure.Management.ServiceBus.Fluent.Queue.Definition.IWithSize
type IWithCreate = interface
    interface ICreatable<IQueue>
    interface IIndexable
    interface IWithSize
    interface IWithPartitioning
    interface IWithDeleteOnIdle
    interface IWithMessageLockDuration
    interface IWithDefaultMessageTTL
    interface IWithSession
    interface IWithExpressMessage
    interface IWithMessageBatching
    interface IWithDuplicateMessageDetection
    interface IWithExpiredMessageMovedToDeadLetterQueue
    interface IWithMessageMovedToDeadLetterQueueOnMaxDeliveryCount
    interface IWithAuthorizationRule
Public Interface IWithCreate
Implements ICreatable(Of IQueue), IWithAuthorizationRule, IWithDefaultMessageTTL, IWithDeleteOnIdle, IWithDuplicateMessageDetection, IWithExpiredMessageMovedToDeadLetterQueue, IWithExpressMessage, IWithMessageBatching, IWithMessageLockDuration, IWithMessageMovedToDeadLetterQueueOnMaxDeliveryCount, IWithPartitioning, IWithSession, IWithSize
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 queue is automatically deleted. Note: unless it is explicitly overridden the default delete on idle duration is infinite (TimeSpan.Max).

(Inherited from IWithDeleteOnIdle)
WithDuplicateMessageDetection(TimeSpan)

Specifies the duration of the duplicate message detection history.

(Inherited from IWithDuplicateMessageDetection)
WithExpiredMessageMovedToDeadLetterQueue()

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

(Inherited from IWithExpiredMessageMovedToDeadLetterQueue)
WithExpressMessage()

Specifies that messages in this queue are express hence they can be cached in memory for some time before storing it in messaging store. Note: By default queue is not express.

(Inherited from IWithExpressMessage)
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)
WithMessageMovedToDeadLetterQueueOnMaxDeliveryCount(Int32)

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

(Inherited from IWithMessageMovedToDeadLetterQueueOnMaxDeliveryCount)
WithNewListenRule(String)

Creates a listen authorization rule for the queue.

(Inherited from IWithAuthorizationRule)
WithNewManageRule(String)

Creates a manage authorization rule for the queue.

(Inherited from IWithAuthorizationRule)
WithNewSendRule(String)

Creates a send authorization rule for the queue.

(Inherited from IWithAuthorizationRule)
WithoutMessageBatching()

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

(Inherited from IWithMessageBatching)
WithoutPartitioning()

Specifies that the default partitioning should be disabled on this queue. Note: if the parent Service Bus is Premium SKU then partition cannot be disabled.

(Inherited from IWithPartitioning)
WithPartitioning()

Specifies that partitioning should be enabled on this queue.

(Inherited from IWithPartitioning)
WithSession()

Specifies that session support should be enabled for the queue.

(Inherited from IWithSession)
WithSizeInMB(Int64)

Specifies the maximum size of memory allocated for the queue.

(Inherited from IWithSize)

Applies to