Skip to content
DocsTry Aspire
DocsTry

addAzureServiceBus

Method
📦 Aspire.Hosting.Azure.ServiceBus v13.4.0
interface IDistributedApplicationBuilder {
// ... omitted for brevity
addAzureServiceBus(name: string): AzureServiceBusResource;
}

Signature

methodaddAzureServiceBusbuilder
Adds an Azure Service Bus Namespace resource to the application model. This resource can be used to create queue, topic, and subscription resources.
addAzureServiceBus(name: string): AzureServiceBusResource
namestring
AzureServiceBusResource

Applies to

This method applies to the following types: