AzureServiceBusEmulatorResource
Handle
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): AzureServiceBusEmulatorResourceParameters
pathstringPath to the file on the AppHost where the emulator configuration is located.Returns
AzureServiceBusEmulatorResource Configures the host port for the Azure Service Bus emulator is exposed on instead of using randomly assigned port.
withHostPort(port: number): AzureServiceBusEmulatorResourceParameters
portnumberThe port to bind on the host. If `null` is used, a random port will be assigned.Returns
AzureServiceBusEmulatorResource Configures the Azure Service Bus emulator to use an existing SQL Server resource instead of creating one for it.
withSqlServer(sqlServer: SqlServerServerResource): AzureServiceBusEmulatorResourceParameters
sqlServer SqlServerServerResource The SQL Server resource the emulator should use to store its state.Returns
AzureServiceBusEmulatorResource