AddAzureServiceBus

Method
📦 Aspire.Hosting.Azure.ServiceBus v17.0.0
func (DistributedApplicationBuilder) 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
namestringThe name of the resource.
AzureServiceBusResource

The resource builder.

Returns a handle; failures surface later via Err().

Applies to

This method applies to the following types:

typeDistributedApplicationBuilder