InMemoryConfigProvider.Update 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.
Overloads
| Name | Description |
|---|---|
| Update(IReadOnlyList<RouteConfig>, IReadOnlyList<ClusterConfig>) |
Swaps the config state with a new snapshot of the configuration, then signals that the old one is outdated. |
| Update(IReadOnlyList<RouteConfig>, IReadOnlyList<ClusterConfig>, String) |
Swaps the config state with a new snapshot of the configuration, then signals that the old one is outdated. |
Update(IReadOnlyList<RouteConfig>, IReadOnlyList<ClusterConfig>)
- Source:
- InMemoryConfigProvider.cs
- Source:
- InMemoryConfigProvider.cs
Swaps the config state with a new snapshot of the configuration, then signals that the old one is outdated.
public void Update(System.Collections.Generic.IReadOnlyList<Yarp.ReverseProxy.Configuration.RouteConfig> routes, System.Collections.Generic.IReadOnlyList<Yarp.ReverseProxy.Configuration.ClusterConfig> clusters);
member this.Update : System.Collections.Generic.IReadOnlyList<Yarp.ReverseProxy.Configuration.RouteConfig> * System.Collections.Generic.IReadOnlyList<Yarp.ReverseProxy.Configuration.ClusterConfig> -> unit
Public Sub Update (routes As IReadOnlyList(Of RouteConfig), clusters As IReadOnlyList(Of ClusterConfig))
Parameters
- routes
- IReadOnlyList<RouteConfig>
- clusters
- IReadOnlyList<ClusterConfig>
Applies to
Update(IReadOnlyList<RouteConfig>, IReadOnlyList<ClusterConfig>, String)
- Source:
- InMemoryConfigProvider.cs
- Source:
- InMemoryConfigProvider.cs
Swaps the config state with a new snapshot of the configuration, then signals that the old one is outdated.
public void Update(System.Collections.Generic.IReadOnlyList<Yarp.ReverseProxy.Configuration.RouteConfig> routes, System.Collections.Generic.IReadOnlyList<Yarp.ReverseProxy.Configuration.ClusterConfig> clusters, string revisionId);
member this.Update : System.Collections.Generic.IReadOnlyList<Yarp.ReverseProxy.Configuration.RouteConfig> * System.Collections.Generic.IReadOnlyList<Yarp.ReverseProxy.Configuration.ClusterConfig> * string -> unit
Public Sub Update (routes As IReadOnlyList(Of RouteConfig), clusters As IReadOnlyList(Of ClusterConfig), revisionId As String)
Parameters
- routes
- IReadOnlyList<RouteConfig>
- clusters
- IReadOnlyList<ClusterConfig>
- revisionId
- String