AzureServiceBusTopicResource.addServiceBusSubscription

Method
📦 Aspire.Hosting.Azure.ServiceBus v17.0.0
interface AzureServiceBusTopicResource {
// ... omitted for brevity
addServiceBusSubscription(
name: string,
subscriptionName?: string): AzureServiceBusSubscriptionResource;
}

Signature

methodaddServiceBusSubscriptionbuilder
Adds an Azure Service Bus Subscription resource to the application model.
addServiceBusSubscription(
name: string,
subscriptionName?: string): AzureServiceBusSubscriptionResource
namestringThe name of the subscription resource.
subscriptionNamestringoptionalThe name of the Service Bus Subscription. If not provided, this defaults to the same value as `name`.
AzureServiceBusSubscriptionResource

Defined on

This method is defined on the following type: