Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

AddDbx

Method
📦 CommunityToolkit.Aspire.Hosting.Dbx v13.6.1
func (DistributedApplicationBuilder) AddDbx(options ...*AddDbxOptions) DbxContainerResource

Signature

methodAddDbxbuilder
Adds a dbx container resource to the application.
AddDbx(options ...*AddDbxOptions) DbxContainerResource
options...*AddDbxOptionsOptional settings, described under Options.

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

Name*stringThe name of the resource. This name will be used as the connection string name when referenced in a dependency. Optional; defaults to dbx.
Port*float64The host port to bind the underlying container to.
DbxContainerResource

A reference to the IResourceBuilder.

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

Applies to

This method applies to the following types:

typeDistributedApplicationBuilder