Skip to content
DocsTry Aspire
DocsTry

AzureServiceBusResource.addServiceBusTopic

Method
📦 Aspire.Hosting.Azure.ServiceBus v13.4.0
interface AzureServiceBusResource {
// ... omitted for brevity
addServiceBusTopic(
name: string,
topicName?: string): AzureServiceBusTopicResource;
}

Signature

methodaddServiceBusTopicbuilder
Adds an Azure Service Bus Topic resource to the application model.
addServiceBusTopic(
name: string,
topicName?: string): AzureServiceBusTopicResource
namestring
topicNamestringoptional
AzureServiceBusTopicResource

Defined on

This method is defined on the following type: