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 Details

    • enableAutomaticFailover

      default CosmosDBAccount.Update 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

      default CosmosDBAccount.Update disableAutomaticFailover()
      Disables automatic failover.
      Returns:
      the next stage of the update