Skip to content
Docs Try Aspire
Docs Try

withMetadata

Method
📦 Aspire.Hosting.Yarp v13.2.0
interface YarpCluster {
// ... omitted for brevity
withMetadata(metadata: Dict<string,string>): YarpCluster;
}

Signature

method withMetadata
Sets metadata for the cluster.
withMetadata(metadata: Dict<string,string>): YarpCluster
metadata Dict<string,string>
YarpCluster

Applies to

This method applies to the following types: