AzureServiceBusEmulatorResource

Handle
📦 Aspire.Hosting.Azure.ServiceBus v17.0.0
type AzureServiceBusEmulatorResource interface {
IComputeResource
Resource
ResourceWithArgs
ResourceWithEndpoints
ResourceWithEnvironment
ResourceWithWaitSupport
}

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

The resource builder.

Returns a handle; failures surface later via Err().

methodWithHostPortbuilder
Configures the host port for the Azure Service Bus emulator is exposed on instead of using randomly assigned port.
WithHostPort(port *float64) AzureServiceBusEmulatorResource
port*float64The port to bind on the host. If null is used, a random port will be assigned.
AzureServiceBusEmulatorResource

The resource builder.

Returns a handle; failures surface later via Err().

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

The resource builder.

Returns a handle; failures surface later via Err().