addDbx

Method
📦 CommunityToolkit.Aspire.Hosting.Dbx v13.6.1
interface IDistributedApplicationBuilder {
// ... omitted for brevity
addDbx(
name?: string,
port?: number): DbxContainerResource;
}

Signature

methodaddDbxbuilder
Adds a dbx container resource to the application.
addDbx(
name?: string,
port?: number): DbxContainerResource
namestringoptional= dbxThe name of the resource. This name will be used as the connection string name when referenced in a dependency. Optional; defaults to `dbx`.
portnumberoptionalThe host port to bind the underlying container to.
DbxContainerResource

Applies to

This method applies to the following types: