Skip to content
Docs Try Aspire
Docs Try

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
path string
AzureServiceBusEmulatorResource
method withHostPort builder
Configures the host port for the Azure Service Bus emulator is exposed on instead of using randomly assigned port.
withHostPort(port: number): AzureServiceBusEmulatorResource
port number
AzureServiceBusEmulatorResource