withSqlServer

Method
📦 Aspire.Hosting.Azure.ServiceBus v17.0.0
interface AzureServiceBusEmulatorResource {
// ... omitted for brevity
withSqlServer(sqlServer: SqlServerServerResource): AzureServiceBusEmulatorResource;
}

Signature

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

Applies to

This method applies to the following types: