IDefinition Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The entirety of the Service Bus queue definition.
public interface IDefinition : Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.ICreatable<Microsoft.Azure.Management.ServiceBus.Fluent.IQueue>, Microsoft.Azure.Management.ServiceBus.Fluent.Queue.Definition.IBlank
type IDefinition = interface
interface IBlank
interface IWithCreate
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 IDefinition
Implements IBlank, ICreatable(Of IQueue)
- Implements
-
ICreatable<IQueue> IIndexable IBlank IWithAuthorizationRule IWithCreate IWithDefaultMessageTTL IWithDeleteOnIdle IWithDuplicateMessageDetection IWithExpiredMessageMovedToDeadLetterQueue IWithExpressMessage IWithMessageBatching IWithMessageLockDuration IWithMessageMovedToDeadLetterQueueOnMaxDeliveryCount IWithPartitioning IWithSession IWithSize
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) |