你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
AutoHealTriggers Class
- java.
lang. Object - com.
microsoft. azure. management. appservice. AutoHealTriggers
- com.
public class AutoHealTriggers
Triggers for auto-heal.
Method Summary
Modifier and Type | Method and Description |
---|---|
Integer |
privateBytesInKB()
Get the privateBytesInKB value. |
Requests |
requests()
Get the requests value. |
Slow |
slowRequests()
Get the slowRequests value. |
List<Status |
statusCodes()
Get the statusCodes value. |
Auto |
withPrivateBytesInKB(Integer privateBytesInKB)
Set the privateBytesInKB value. |
Auto |
withRequests(RequestsBasedTrigger requests)
Set the requests value. |
Auto |
withSlowRequests(SlowRequestsBasedTrigger slowRequests)
Set the slowRequests value. |
Auto |
withStatusCodes(List<StatusCodesBasedTrigger> statusCodes)
Set the statusCodes value. |
Method Details
privateBytesInKB
public Integer privateBytesInKB()
Get the privateBytesInKB value.
Returns:
requests
public RequestsBasedTrigger requests()
Get the requests value.
Returns:
slowRequests
public SlowRequestsBasedTrigger slowRequests()
Get the slowRequests value.
Returns:
statusCodes
public List
Get the statusCodes value.
Returns:
withPrivateBytesInKB
public AutoHealTriggers withPrivateBytesInKB(Integer privateBytesInKB)
Set the privateBytesInKB value.
Parameters:
Returns:
withRequests
public AutoHealTriggers withRequests(RequestsBasedTrigger requests)
Set the requests value.
Parameters:
Returns:
withSlowRequests
public AutoHealTriggers withSlowRequests(SlowRequestsBasedTrigger slowRequests)
Set the slowRequests value.
Parameters:
Returns:
withStatusCodes
public AutoHealTriggers withStatusCodes(List
Set the statusCodes value.
Parameters:
Returns: