Skip to content
DocsTry Aspire
DocsTry

AzureServiceBusQueueResource

Handle
📦 Aspire.Hosting.Azure.ServiceBus v13.4.0
interface AzureServiceBusQueueResource
extends IExpressionValue,
IManifestExpressionProvider,
IResource,
IResourceWithConnectionString,
IResourceWithParent,
AzureServiceBusResource]],
IValueProvider,
IValueWithReferences,
IResourceWithAzureFunctionsConfig {
readonly connectionStringExpression: ReferenceExpression;
deadLetteringOnMessageExpiration: boolean;
defaultMessageTimeToLive: timespan;
duplicateDetectionHistoryTimeWindow: timespan;
forwardDeadLetteredMessagesTo: string;
forwardTo: string;
lockDuration: timespan;
maxDeliveryCount: number;
readonly parent: AzureServiceBusResource;
queueName: string;
requiresDuplicateDetection: boolean;
requiresSession: boolean;
withProperties(configure: (obj: AzureServiceBusQueueResource) => Promise<void>): AzureServiceBusQueueResource;
}

Properties

propertyconnectionStringExpressionReferenceExpressionget
Gets the connection string expression for the Azure Service Bus Queue.
propertydeadLetteringOnMessageExpirationbooleanget · set
A value that indicates whether this queue has dead letter support when a message expires.
propertydefaultMessageTimeToLivetimespanget · set
ISO 8601 default message timespan to live value. This is the duration after which the message expires, starting from when the message is sent to Service Bus. This is the default value used when TimeToLive is not set on a message itself.
propertyduplicateDetectionHistoryTimeWindowtimespanget · set
ISO 8601 timeSpan structure that defines the duration of the duplicate detection history. The default value is 10 minutes.
propertyforwardDeadLetteredMessagesTostringget · set
Queue/Topic name to forward the Dead Letter message.
propertyforwardTostringget · set
Queue/Topic name to forward the messages.
propertylockDurationtimespanget · set
ISO 8601 timespan duration of a peek-lock; that is, the amount of time that the message is locked for other receivers. The maximum value for LockDuration is 5 minutes; the default value is 1 minute.
propertymaxDeliveryCountnumberget · set
The maximum delivery count. A message is automatically dead-lettered after this number of deliveries.
propertyparentAzureServiceBusResourceget
Gets the parent Azure Service Bus resource.
propertyqueueNamestringget · set
The queue name.
propertyrequiresDuplicateDetectionbooleanget · set
A value indicating if this queue requires duplicate detection.
propertyrequiresSessionbooleanget · set
A value that indicates whether the queue supports the concept of sessions.

Methods

methodwithPropertiesbuilder
Allows setting the properties of an Azure Service Bus Queue resource.
withProperties(configure: (obj: AzureServiceBusQueueResource) => Promise<void>): AzureServiceBusQueueResource
configure(obj: AzureServiceBusQueueResource) => Promise<void>
AzureServiceBusQueueResource