<PackageReference Include="Azure.Core" Version="1.44.0" />

GeoRedundantFallbackPolicy

Internal policy that can be used to support georedundant fallbacks for Azure services. The policy maintains the current healthy host across requests. It falls back only if no response is received from a request, i.e. any response is treated as an indication that the host is healthy.
public GeoRedundantFallbackPolicy(string[] readFallbackHosts, string[] writeFallbackHosts, TimeSpan? primaryCoolDown = default)

Construct a new instance of the GeoRedundantFallbackPolicy.

public static void SetHostAffinity(HttpMessage message, bool hostAffinity)

This can be used to indicate that the current host cannot be swapped for a specific request. This is useful when a client method must make multiple requests against the same endpoint.