Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

SqlServerServerResource.WithDbGate

Method
📦 CommunityToolkit.Aspire.Hosting.SqlServer.Extensions v13.6.1
type SqlServerServerResource interface {
// ... omitted for brevity
WithDbGate(options ...*WithDbGateOptions) SqlServerServerResource
}

Signature

methodWithDbGatebuilder
Adds an administration and development platform for SqlServer to the application model using DbGate.
WithDbGate(options ...*WithDbGateOptions) SqlServerServerResource
options...*WithDbGateOptionsOptional settings, described under Options.

Optional parameters are passed in a trailing options ...*WithDbGateOptions argument.

ContainerName*stringThe name of the container (Optional).
ImageTag*stringOptional image tag override for the DbGate container.
SqlServerServerResource

A reference to the IResourceBuilder.

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

Defined on

This method is defined on the following type: