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

AutoHealActions Class

Actions which to take by the auto-heal module when a rule is triggered.

Constructor

AutoHealActions()

Variables

Name Description
action_type
Union[str, <xref:"AutoHealActionType">]

Predefined action to be taken. Known values are: "Recycle", "LogEvent", and "CustomAction".

custom_action
<xref:<xref:"AutoHealCustomAction">>

Custom action to be taken.

min_process_execution_time
str

Minimum time the process must execute before taking the action.

Attributes

actionType

"Recycle", "LogEvent", and "CustomAction".

actionType: str | AutoHealActionType

customAction

Custom action to be taken.

customAction: AutoHealCustomAction

minProcessExecutionTime

Minimum time the process must execute before taking the action.

minProcessExecutionTime: str