Skip to content
Docs Try Aspire
Docs Try

AzureServiceBusResource.addServiceBusTopic

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

Signature

method addServiceBusTopic builder
Adds an Azure Service Bus Topic resource to the application model.
addServiceBusTopic(
name: string,
topicName?: string): AzureServiceBusTopicResource
name string
topicName string optional
AzureServiceBusTopicResource

Defined on

This method is defined on the following type: