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

AutoHealActions Class

  • java.lang.Object
    • com.microsoft.azure.management.appservice.AutoHealActions

public class AutoHealActions

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

Method Summary

Modifier and Type Method and Description
AutoHealActionType actionType()

Get the actionType value.

AutoHealCustomAction customAction()

Get the customAction value.

String minProcessExecutionTime()

Get the minProcessExecutionTime value.

AutoHealActions withActionType(AutoHealActionType actionType)

Set the actionType value.

AutoHealActions withCustomAction(AutoHealCustomAction customAction)

Set the customAction value.

AutoHealActions withMinProcessExecutionTime(String minProcessExecutionTime)

Set the minProcessExecutionTime value.

Method Details

actionType

public AutoHealActionType actionType()

Get the actionType value.

Returns:

the actionType value

customAction

public AutoHealCustomAction customAction()

Get the customAction value.

Returns:

the customAction value

minProcessExecutionTime

public String minProcessExecutionTime()

Get the minProcessExecutionTime value.

Returns:

the minProcessExecutionTime value

withActionType

public AutoHealActions withActionType(AutoHealActionType actionType)

Set the actionType value.

Parameters:

actionType - the actionType value to set

Returns:

the AutoHealActions object itself.

withCustomAction

public AutoHealActions withCustomAction(AutoHealCustomAction customAction)

Set the customAction value.

Parameters:

customAction - the customAction value to set

Returns:

the AutoHealActions object itself.

withMinProcessExecutionTime

public AutoHealActions withMinProcessExecutionTime(String minProcessExecutionTime)

Set the minProcessExecutionTime value.

Parameters:

minProcessExecutionTime - the minProcessExecutionTime value to set

Returns:

the AutoHealActions object itself.

Applies to