Skip to content
DocsTry Aspire
DocsTry

FlagdResource

Handle
📦 CommunityToolkit.Aspire.Hosting.Flagd v13.4.0
interface FlagdResource
extends IComputeResource,
IExpressionValue,
IManifestExpressionProvider,
IResource,
IResourceWithArgs,
IResourceWithConnectionString,
IResourceWithEndpoints,
IResourceWithEnvironment,
IResourceWithProbes,
IResourceWithWaitSupport,
IValueProvider,
IValueWithReferences {
readonly connectionStringExpression: ReferenceExpression;
readonly healthCheckEndpoint: EndpointReference;
readonly host: EndpointReferenceExpression;
readonly ofrepEndpoint: EndpointReference;
readonly port: EndpointReferenceExpression;
readonly primaryEndpoint: EndpointReference;
readonly uriExpression: ReferenceExpression;
withBindFileSync(
fileSource: string,
filename?: string): FlagdResource;
}

Properties

propertyconnectionStringExpressionReferenceExpressionget
Gets the connection string expression for the flagd server.
propertyhealthCheckEndpointEndpointReferenceget
Gets the health check HTTP endpoint for the flagd server.
propertyhostEndpointReferenceExpressionget
Gets the host endpoint reference for this resource.
propertyofrepEndpointEndpointReferenceget
Gets the OFREP endpoint for the flagd server.
propertyportEndpointReferenceExpressionget
Gets the port endpoint reference for this resource.
propertyprimaryEndpointEndpointReferenceget
Gets the primary HTTP endpoint for the flagd server.
propertyuriExpressionReferenceExpressionget
Gets the connection URI expression for the flagd server.

Methods

methodwithBindFileSyncbuilder
Configures flagd to use a bind mount as the source of flags.
withBindFileSync(
fileSource: string,
filename?: string): FlagdResource
fileSourcestring
filenamestringoptional= flagd.json
FlagdResource