Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

WithMetadata

Method
📦 Aspire.Hosting.Yarp v17.0.0
func (YarpCluster) WithMetadata(metadata map[string]string) YarpCluster

Signature

methodWithMetadata
Set the Metadata for the cluster.
WithMetadata(metadata map[string]string) YarpCluster
metadatamap[string]string
YarpCluster

Returns a handle; failures surface later via Err().

Applies to

This method applies to the following types: