CosmosClientOptions.ApplicationPreferredRegions Property
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.
Gets and sets the preferred regions for geo-replicated database accounts in the Azure Cosmos DB service.
public System.Collections.Generic.IReadOnlyList<string> ApplicationPreferredRegions { get; set; }
member this.ApplicationPreferredRegions : System.Collections.Generic.IReadOnlyList<string> with get, set
Public Property ApplicationPreferredRegions As IReadOnlyList(Of String)
Property Value
Remarks
When this property is specified, the SDK will use the region list in the provided order to define the endpoint failover order. This configuration is an alternative to ApplicationRegion, either one can be set but not both. See also Diagnose and troubleshoot the availability of Cosmos SDKs for more details.
Applies to
Feedback
Submit and view feedback for