Class AutoHealTriggers
- java.lang.Object
-
- com.microsoft.azure.management.appservice.AutoHealTriggers
-
public class AutoHealTriggers extends Object
Triggers for auto-heal.
-
-
Constructor Summary
Constructors Constructor Description AutoHealTriggers()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IntegerprivateBytesInKB()Get a rule based on private bytes.RequestsBasedTriggerrequests()Get a rule based on total requests.SlowRequestsBasedTriggerslowRequests()Get a rule based on request execution time.List<StatusCodesBasedTrigger>statusCodes()Get a rule based on status codes.AutoHealTriggerswithPrivateBytesInKB(Integer privateBytesInKB)Set a rule based on private bytes.AutoHealTriggerswithRequests(RequestsBasedTrigger requests)Set a rule based on total requests.AutoHealTriggerswithSlowRequests(SlowRequestsBasedTrigger slowRequests)Set a rule based on request execution time.AutoHealTriggerswithStatusCodes(List<StatusCodesBasedTrigger> statusCodes)Set a rule based on status codes.
-
-
-
Method Detail
-
requests
public RequestsBasedTrigger requests()
Get a rule based on total requests.- Returns:
- the requests value
-
withRequests
public AutoHealTriggers withRequests(RequestsBasedTrigger requests)
Set a rule based on total requests.- Parameters:
requests- the requests value to set- Returns:
- the AutoHealTriggers object itself.
-
privateBytesInKB
public Integer privateBytesInKB()
Get a rule based on private bytes.- Returns:
- the privateBytesInKB value
-
withPrivateBytesInKB
public AutoHealTriggers withPrivateBytesInKB(Integer privateBytesInKB)
Set a rule based on private bytes.- Parameters:
privateBytesInKB- the privateBytesInKB value to set- Returns:
- the AutoHealTriggers object itself.
-
statusCodes
public List<StatusCodesBasedTrigger> statusCodes()
Get a rule based on status codes.- Returns:
- the statusCodes value
-
withStatusCodes
public AutoHealTriggers withStatusCodes(List<StatusCodesBasedTrigger> statusCodes)
Set a rule based on status codes.- Parameters:
statusCodes- the statusCodes value to set- Returns:
- the AutoHealTriggers object itself.
-
slowRequests
public SlowRequestsBasedTrigger slowRequests()
Get a rule based on request execution time.- Returns:
- the slowRequests value
-
withSlowRequests
public AutoHealTriggers withSlowRequests(SlowRequestsBasedTrigger slowRequests)
Set a rule based on request execution time.- Parameters:
slowRequests- the slowRequests value to set- Returns:
- the AutoHealTriggers object itself.
-
-