AzureServiceBusSubscriptionResource
Classnet10.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.IExpressionValue, 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{ // ...}ResourceIExpressionValueIManifestExpressionProviderIResourceIResourceWithConnectionStringIResourceWithParentIResourceWithParent<AzureServiceBusTopicResource>IValueProviderIValueWithReferencesIResourceWithAzureFunctionsConfig
12 members
Remarks
Section titled Remarks Use
AzureProvisioningResourceExtensions.ConfigureInfrastructure to configure specific Azure.Provisioning properties. Constructors1
Section titled Constructors Represents a Service Bus Subscription. Initializes a new instance of the
AzureServiceBusSubscriptionResource class. Properties11
Section titled PropertiesReferenceExpression 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.
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.
RequiresSessionget; setbool? A value that indicates whether the queue supports the concept of sessions.