AzureServiceBusResource.AddServiceBusQueue

Method
📦 Aspire.Hosting.Azure.ServiceBus v17.0.0
type AzureServiceBusResource interface {
// ... omitted for brevity
AddServiceBusQueue(
name string,
options ...*AddServiceBusQueueOptions,
) AzureServiceBusQueueResource
}

Signature

methodAddServiceBusQueuebuilder
Adds an Azure Service Bus Queue resource to the application model.
AddServiceBusQueue(
name string,
options ...*AddServiceBusQueueOptions,
) AzureServiceBusQueueResource
namestringThe name of the queue resource.
options...*AddServiceBusQueueOptionsOptional settings, described under Options.

Optional parameters are passed in a trailing options ...*AddServiceBusQueueOptions argument.

QueueName*stringThe name of the Service Bus Queue. If not provided, this defaults to the same value as name.
AzureServiceBusQueueResource

The resource builder.

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

Defined on

This method is defined on the following type: