AzureServiceBusEmulatorResource
Handle
type AzureServiceBusEmulatorResource interface { IComputeResource Resource ResourceWithArgs ResourceWithEndpoints ResourceWithEnvironment ResourceWithWaitSupport}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 The resource builder.
Returns a handle; failures surface later via Err().
Configures the host port for the Azure Service Bus emulator is exposed on instead of using randomly assigned port.
WithHostPort(port *float64) AzureServiceBusEmulatorResourceParameters
port*float64The port to bind on the host. If null is used, a random port will be assigned.Returns
AzureServiceBusEmulatorResource The resource builder.
Returns a handle; failures surface later via Err().
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 The resource builder.
Returns a handle; failures surface later via Err().