MongoDBServerResource.WithDbx

Method
📦 CommunityToolkit.Aspire.Hosting.MongoDB.Extensions v13.6.1
type MongoDBServerResource interface {
// ... omitted for brevity
WithDbx(options ...*WithDbxOptions) MongoDBServerResource
}

Signature

methodWithDbxbuilder
Adds an administration and development platform for MongoDB to the application model using dbx.
WithDbx(options ...*WithDbxOptions) MongoDBServerResource
options...*WithDbxOptionsOptional settings, described under Options.

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

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

A reference to the IResourceBuilder.

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

Defined on

This method is defined on the following type: