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

RestartParameter Class

Represents server restart parameters.

Constructor

RestartParameter(*, restart_with_failover: bool | None = None, failover_mode: str | FailoverMode | None = None, **kwargs)

Parameters

Name Description
restart_with_failover
Required

Indicates whether to restart the server with failover.

failover_mode
Required

Failover mode. Possible values include: "PlannedFailover", "ForcedFailover", "PlannedSwitchover", "ForcedSwitchover".

Keyword-Only Parameters

Name Description
restart_with_failover
Default value: None
failover_mode
Default value: None