AzureServiceBusEmulatorResource

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

Methods

Copies the configuration file into an Azure Service Bus emulator resource.
withConfigurationFile(path: string): AzureServiceBusEmulatorResource
pathstringPath to the file on the AppHost where the emulator configuration is located.
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
portnumberThe port to bind on the host. If `null` is used, a random port will be assigned.
AzureServiceBusEmulatorResource
methodwithSqlServerbuilder
Configures the Azure Service Bus emulator to use an existing SQL Server resource instead of creating one for it.
withSqlServer(sqlServer: SqlServerServerResource): AzureServiceBusEmulatorResource
sqlServerSqlServerServerResourceThe SQL Server resource the emulator should use to store its state.
AzureServiceBusEmulatorResource