addFlagd

Method
📦 CommunityToolkit.Aspire.Hosting.Flagd v13.6.1
interface IDistributedApplicationBuilder {
// ... omitted for brevity
addFlagd(
name: string,
port?: number,
ofrepPort?: number): FlagdResource;
}

Signature

methodaddFlagdbuilder
Adds a flagd container to the application model.
addFlagd(
name: string,
port?: number,
ofrepPort?: number): FlagdResource
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.
ofrepPortnumberoptionalThe host port for flagd OFREP endpoint. If not provided, a random port will be assigned.
FlagdResource

Applies to

This method applies to the following types: