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

AutoHealTriggers Class

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

public class AutoHealTriggers

Triggers for auto-heal.

Method Summary

Modifier and Type Method and Description
Integer privateBytesInKB()

Get the privateBytesInKB value.

RequestsBasedTrigger requests()

Get the requests value.

SlowRequestsBasedTrigger slowRequests()

Get the slowRequests value.

List<StatusCodesBasedTrigger> statusCodes()

Get the statusCodes value.

AutoHealTriggers withPrivateBytesInKB(Integer privateBytesInKB)

Set the privateBytesInKB value.

AutoHealTriggers withRequests(RequestsBasedTrigger requests)

Set the requests value.

AutoHealTriggers withSlowRequests(SlowRequestsBasedTrigger slowRequests)

Set the slowRequests value.

AutoHealTriggers withStatusCodes(List<StatusCodesBasedTrigger> statusCodes)

Set the statusCodes value.

Method Details

privateBytesInKB

public Integer privateBytesInKB()

Get the privateBytesInKB value.

Returns:

the privateBytesInKB value

requests

public RequestsBasedTrigger requests()

Get the requests value.

Returns:

the requests value

slowRequests

public SlowRequestsBasedTrigger slowRequests()

Get the slowRequests value.

Returns:

the slowRequests value

statusCodes

public List statusCodes()

Get the statusCodes value.

Returns:

the statusCodes value

withPrivateBytesInKB

public AutoHealTriggers withPrivateBytesInKB(Integer privateBytesInKB)

Set the privateBytesInKB value.

Parameters:

privateBytesInKB - the privateBytesInKB value to set

Returns:

the AutoHealTriggers object itself.

withRequests

public AutoHealTriggers withRequests(RequestsBasedTrigger requests)

Set the requests value.

Parameters:

requests - the requests value to set

Returns:

the AutoHealTriggers object itself.

withSlowRequests

public AutoHealTriggers withSlowRequests(SlowRequestsBasedTrigger slowRequests)

Set the slowRequests value.

Parameters:

slowRequests - the slowRequests value to set

Returns:

the AutoHealTriggers object itself.

withStatusCodes

public AutoHealTriggers withStatusCodes(List statusCodes)

Set the statusCodes value.

Parameters:

statusCodes - the statusCodes value to set

Returns:

the AutoHealTriggers object itself.

Applies to