addDbGate
Method
interface IDistributedApplicationBuilder { // ... omitted for brevity addDbGate( name?: string, port?: number): DbGateContainerResource;}Signature
method
addDbGate builderAdds a DbGate container resource to the application.
addDbGate( name?: string, port?: number): DbGateContainerResourceParameters
namestringoptional= dbgateThe name of the resource. This name will be used as the connection string name when referenced in a dependency. Optional; defaults to `dbgate`.portnumberoptionalThe host port to bind the underlying container to.Returns
DbGateContainerResource Applies to
This method applies to the following types: