Skip to content
DocsTry Aspire
DocsTry

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

Applies to

This method applies to the following types: