Watch Aspire live streamsDocsTry Aspire

FlociAzureContainerResource.withServiceBus

Method
📦 CommunityToolkit.Aspire.Hosting.Floci v13.6.1
interface FlociAzureContainerResource {
// ... omitted for brevity
withServiceBus(
name?: string,
amqpPort?: number,
amqpTlsPort?: number): FlociAzureServiceBusResource;
}

Signature

methodwithServiceBusbuilder
Adds a Service Bus child resource to the Floci Azure emulator
withServiceBus(
name?: string,
amqpPort?: number,
amqpTlsPort?: number): FlociAzureServiceBusResource
namestringoptional= servicebusThe globally unique name of the Service Bus resource (default: `servicebus`). Pass a distinct name for each additional emulator.
amqpPortnumberoptionalHost port for plain AMQP (default: selected by the integration at startup).
amqpTlsPortnumberoptionalHost port for AMQPS/TLS (default: selected by the integration at startup).
FlociAzureServiceBusResource

Defined on

This method is defined on the following type: