DatabaseAccountsOperationsExtensions.BeginFailoverPriorityChange 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.
Changes the failover priority for the Azure Cosmos DB database account. A failover priority of 0 indicates a write region. The maximum value for a failover priority = (total number of regions - 1). Failover priority values must be unique for each of the regions in which the database account exists.
public static void BeginFailoverPriorityChange (this Microsoft.Azure.Management.CosmosDB.IDatabaseAccountsOperations operations, string resourceGroupName, string accountName, Microsoft.Azure.Management.CosmosDB.Models.FailoverPolicies failoverParameters);
static member BeginFailoverPriorityChange : Microsoft.Azure.Management.CosmosDB.IDatabaseAccountsOperations * string * string * Microsoft.Azure.Management.CosmosDB.Models.FailoverPolicies -> unit
<Extension()>
Public Sub BeginFailoverPriorityChange (operations As IDatabaseAccountsOperations, resourceGroupName As String, accountName As String, failoverParameters As FailoverPolicies)
Parameters
- operations
- IDatabaseAccountsOperations
The operations group for this extension method.
- resourceGroupName
- String
The name of the resource group. The name is case insensitive.
- accountName
- String
Cosmos DB database account name.
- failoverParameters
- FailoverPolicies
The new failover policies for the database account.