Share via


IWithAutomaticFailover.WithAutomaticFailoverEnabled(Boolean) Method

Definition

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

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

Parameters

enabled
Boolean

Whether automatic failover is enabled or not.

Returns

The next stage of the definition.

Applies to