AzureServiceBusSubscriptionResource
Class net10.0
Represents a Service Bus Subscription. Initializes a new instance of the
AzureServiceBusSubscriptionResource class. namespace Aspire.Hosting.Azure;
public class AzureServiceBusSubscriptionResource : 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.AzureServiceBusTopicResource>, Aspire.Hosting.ApplicationModel.IValueProvider, Aspire.Hosting.ApplicationModel.IValueWithReferences, Aspire.Hosting.Azure.IResourceWithAzureFunctionsConfig{ // ...} ResourceIManifestExpressionProviderIResourceIResourceWithConnectionStringIResourceWithParentIResourceWithParent<AzureServiceBusTopicResource>IValueProviderIValueWithReferencesIResourceWithAzureFunctionsConfig
12 members
Remarks
Section titled Remarks Use
AzureProvisioningResourceExtensions.ConfigureInfrastructure to configure specific Azure.Provisioning properties. Constructors1
Section titled ConstructorsAzureServiceBusSubscriptionResource(string, string, AzureServiceBusTopicResource) Represents a Service Bus Subscription. Initializes a new instance of the
AzureServiceBusSubscriptionResource class. Properties11
Section titled PropertiesConnectionStringExpressiongetReferenceExpression Gets the connection string expression for the Azure Service Bus Subscription.
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.
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 deadlettered after this number of deliveries. default value is 10.
Parentget Gets the parent Azure Service Bus Topic resource.
RequiresSessionget; setbool? A value that indicates whether the queue supports the concept of sessions.
Rulesget The rules for this subscription.
SubscriptionNameget; setstring The subscription name.