addServiceBusQueue

Method
📦 Aspire.Hosting.Azure.ServiceBus v17.0.0
interface AzureServiceBusResource {
// ... omitted for brevity
addServiceBusQueue(
name: string,
queueName?: string): AzureServiceBusQueueResource;
}

Signature

methodaddServiceBusQueuebuilder
Adds an Azure Service Bus Queue resource to the application model.
addServiceBusQueue(
name: string,
queueName?: string): AzureServiceBusQueueResource
namestringThe name of the queue resource.
queueNamestringoptionalThe name of the Service Bus Queue. If not provided, this defaults to the same value as `name`.
AzureServiceBusQueueResource

Applies to

This method applies to the following types: