Interface CosmosDBAccount.UpdateStages.WithAutomaticFailover
- All Known Subinterfaces:
CosmosDBAccount.Update,CosmosDBAccount.UpdateStages.WithOptionals
- Enclosing interface:
CosmosDBAccount.UpdateStages
public static interface CosmosDBAccount.UpdateStages.WithAutomaticFailover
The stage of CosmosDB account update allowing to toggle automatic failover.
-
Method Summary
Modifier and TypeMethodDescriptiondefault CosmosDBAccount.UpdateDisables automatic failover.default CosmosDBAccount.UpdateEnables automatic failover of the write region in the rare event that the region is unavailable due to an outage.
-
Method Details
-
enableAutomaticFailover
Enables automatic failover of the write region in the rare event that the region is unavailable due to an outage. Automatic failover will result in a new write region for the account and is chosen based on the failover priorities configured for the account.- Returns:
- the next stage of the update
-
disableAutomaticFailover
Disables automatic failover.- Returns:
- the next stage of the update
-