Skip to content
DocsTry Aspire
DocsTry

AzureServiceBusEmulatorResource

Handle
📦 Aspire.Hosting.Azure.ServiceBus v13.4.0
interface AzureServiceBusEmulatorResource
extends IComputeResource,
IResource,
IResourceWithArgs,
IResourceWithEndpoints,
IResourceWithEnvironment,
IResourceWithProbes,
IResourceWithWaitSupport {
withConfigurationFile(path: string): AzureServiceBusEmulatorResource;
withHostPort(port: number): AzureServiceBusEmulatorResource;
}

Methods

Copies the configuration file into an Azure Service Bus emulator resource.
withConfigurationFile(path: string): AzureServiceBusEmulatorResource
pathstring
AzureServiceBusEmulatorResource
methodwithHostPortbuilder
Configures the host port for the Azure Service Bus emulator is exposed on instead of using randomly assigned port.
withHostPort(port: number): AzureServiceBusEmulatorResource
portnumber
AzureServiceBusEmulatorResource