addKurrentDB
Method
interface IDistributedApplicationBuilder { // ... omitted for brevity addKurrentDB( name: string, port?: number): KurrentDBResource;}Signature
method
addKurrentDB builderAdds a KurrentDB resource to the application model. A container is used for local development. The default image is and the tag is .
addKurrentDB( name: string, port?: number): KurrentDBResourceParameters
namestringThe name of the resource. This name will be used as the connection string name when referenced in a dependency.portnumberoptionalThe port on which the KurrentDB endpoint will be exposed.Returns
KurrentDBResource Applies to
This method applies to the following types: