你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

IWithAutomaticFailover.WithAutomaticFailoverEnabled(Boolean) 方法

定义

指定是否为此 cosmos db 帐户启用自动故障转移。

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

参数

enabled
Boolean

是否启用自动故障转移。

返回

定义的下一阶段。

适用于