addDbx
Method
interface IDistributedApplicationBuilder { // ... omitted for brevity addDbx( name?: string, port?: number): DbxContainerResource;}Signature
method
addDbx builderAdds a dbx container resource to the application.
addDbx( name?: string, port?: number): DbxContainerResourceParameters
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.Returns
DbxContainerResource Applies to
This method applies to the following types: