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

ServerRestartParameter Class

Server restart parameters.

Constructor

ServerRestartParameter(*, restart_with_failover: str | EnableStatusEnum | None = None, max_failover_seconds: int | None = None, **kwargs)

Keyword-Only Parameters

Name Description
restart_with_failover

Whether or not failover to standby server when restarting a server with high availability enabled. Possible values include: "Enabled", "Disabled".

Default value: None
max_failover_seconds
int

The maximum allowed failover time in seconds.

Default value: None

Variables

Name Description
restart_with_failover

Whether or not failover to standby server when restarting a server with high availability enabled. Possible values include: "Enabled", "Disabled".

max_failover_seconds
int

The maximum allowed failover time in seconds.