YarpClusterExtensions.WithMetadata Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Set the Metadata for the cluster.
public static Aspire.Hosting.Yarp.YarpCluster WithMetadata(this Aspire.Hosting.Yarp.YarpCluster cluster, System.Collections.Generic.IReadOnlyDictionary<string,string> metadata);
static member WithMetadata : Aspire.Hosting.Yarp.YarpCluster * System.Collections.Generic.IReadOnlyDictionary<string, string> -> Aspire.Hosting.Yarp.YarpCluster
<Extension()>
Public Function WithMetadata (cluster As YarpCluster, metadata As IReadOnlyDictionary(Of String, String)) As YarpCluster
Parameters
- cluster
- YarpCluster
- metadata
- IReadOnlyDictionary<String,String>