AzureServiceBusQueueResource
Class net10.0
Represents a Service Bus Queue. Initializes a new instance of the
AzureServiceBusQueueResource class. namespace Aspire.Hosting.Azure;
public class AzureServiceBusQueueResource : Aspire.Hosting.ApplicationModel.Resource, Aspire.Hosting.ApplicationModel.IManifestExpressionProvider, Aspire.Hosting.ApplicationModel.IResource, Aspire.Hosting.ApplicationModel.IResourceWithConnectionString, Aspire.Hosting.ApplicationModel.IResourceWithParent, Aspire.Hosting.ApplicationModel.IResourceWithParent<Aspire.Hosting.Azure.AzureServiceBusResource>, Aspire.Hosting.ApplicationModel.IValueProvider, Aspire.Hosting.ApplicationModel.IValueWithReferences, Aspire.Hosting.Azure.IResourceWithAzureFunctionsConfig{ // ...} ResourceIManifestExpressionProviderIResourceIResourceWithConnectionStringIResourceWithParentIResourceWithParent<AzureServiceBusResource>IValueProviderIValueWithReferencesIResourceWithAzureFunctionsConfig
13 members
Remarks
Section titled Remarks Use
AzureProvisioningResourceExtensions.ConfigureInfrastructure to configure specific Azure.Provisioning properties. Constructors1
Section titled ConstructorsAzureServiceBusQueueResource(string, string, AzureServiceBusResource) Represents a Service Bus Queue. Initializes a new instance of the
AzureServiceBusQueueResource class. Properties12
Section titled PropertiesConnectionStringExpressiongetReferenceExpression Gets the connection string expression for the Azure Service Bus Queue.
DeadLetteringOnMessageExpirationget; setbool? A value that indicates whether this queue has dead letter support when a message expires.
DefaultMessageTimeToLiveget; setTimeSpan? 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.
DuplicateDetectionHistoryTimeWindowget; setTimeSpan? ISO 8601 timeSpan structure that defines the duration of the duplicate detection history. The default value is 10 minutes.
ForwardDeadLetteredMessagesToget; setstring? Queue/Topic name to forward the Dead Letter message.
ForwardToget; setstring? Queue/Topic name to forward the messages.
LockDurationget; setTimeSpan? 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.
MaxDeliveryCountget; setint? The maximum delivery count. A message is automatically dead-lettered after this number of deliveries.
Parentget Gets the parent Azure Service Bus resource.
QueueNameget; setstring The queue name.
RequiresDuplicateDetectionget; setbool? A value indicating if this queue requires duplicate detection.
RequiresSessionget; setbool? A value that indicates whether the queue supports the concept of sessions.