addFlagd
Method
interface IDistributedApplicationBuilder { // ... omitted for brevity addFlagd( name: string, port?: number, ofrepPort?: number): FlagdResource;}Signature
method
addFlagd builderAdds a flagd container to the application model.
addFlagd( name: string, port?: number, ofrepPort?: number): FlagdResourceParameters
namestringThe name of the resource. This name will be used as the connection string name when referenced in a dependency.portnumberoptionalThe host port for flagd HTTP endpoint. If not provided, a random port will be assigned.ofrepPort numberoptionalThe host port for flagd OFREP endpoint. If not provided, a random port will be assigned.Returns
FlagdResource Applies to
This method applies to the following types: