Skip to content
Docs Try Aspire

AzureServiceBusSubscriptionResource

Handle TypeScript
📦 Aspire.Hosting.Azure.ServiceBus v13.2.0-preview.1.26159.1
interface AzureServiceBusSubscriptionResource
extends IManifestExpressionProvider,
IResource,
IResourceWithConnectionString,
IResourceWithParent,
0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51]],
IValueProvider,
IValueWithReferences,
IResourceWithAzureFunctionsConfig {
deadLetteringOnMessageExpiration: boolean;
defaultMessageTimeToLive: timespan;
forwardDeadLetteredMessagesTo: string;
forwardTo: string;
lockDuration: timespan;
maxDeliveryCount: number;
readonly name: string;
requiresSession: boolean;
readonly rules: List<Aspire.Hosting.Azure.ServiceBus/Aspire.Hosting.Azure.AzureServiceBusRule>;
subscriptionName: string;
withProperties(configure: (obj: AzureServiceBusSubscriptionResource) => void): AzureServiceBusSubscriptionResource;
}

Properties

property deadLetteringOnMessageExpiration boolean get · set
Gets the DeadLetteringOnMessageExpiration property
property defaultMessageTimeToLive timespan get · set
Gets the DefaultMessageTimeToLive property
property forwardDeadLetteredMessagesTo string get · set
Gets the ForwardDeadLetteredMessagesTo property
property forwardTo string get · set
Gets the ForwardTo property
property lockDuration timespan get · set
Gets the LockDuration property
property maxDeliveryCount number get · set
Gets the MaxDeliveryCount property
property name string get
Gets the Name property
property requiresSession boolean get · set
Gets the RequiresSession property
property rules List<Aspire.Hosting.Azure.ServiceBus/Aspire.Hosting.Azure.AzureServiceBusRule> get
Gets the Rules property
property subscriptionName string get · set
Gets the SubscriptionName property

Methods

method withProperties builder
Configures properties of an Azure Service Bus subscription
withProperties(configure: (obj: AzureServiceBusSubscriptionResource) => void): AzureServiceBusSubscriptionResource
configure (obj: AzureServiceBusSubscriptionResource) => void
AzureServiceBusSubscriptionResource