Dela via


IWithAutomaticFailover.WithAutomaticFailoverEnabled(Boolean) Method

Definition

Specifies whether automatic failover is enabled for this cosmos db account.

public Microsoft.Azure.Management.CosmosDB.Fluent.CosmosDBAccount.Update.IWithOptionals WithAutomaticFailoverEnabled (bool enabled);
abstract member WithAutomaticFailoverEnabled : bool -> Microsoft.Azure.Management.CosmosDB.Fluent.CosmosDBAccount.Update.IWithOptionals
Public Function WithAutomaticFailoverEnabled (enabled As Boolean) As IWithOptionals

Parameters

enabled
Boolean

Whether automatic failover is enabled or not.

Returns

The next stage of the update.

Applies to