Class AutoHealTriggers
java.lang.Object
com.microsoft.azure.management.appservice.AutoHealTriggers
Triggers for auto-heal.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet a rule based on private bytes.requests()
Get a rule based on total requests.Get a rule based on request execution time.Get a rule based on status codes.withPrivateBytesInKB
(Integer privateBytesInKB) Set a rule based on private bytes.withRequests
(RequestsBasedTrigger requests) Set a rule based on total requests.withSlowRequests
(SlowRequestsBasedTrigger slowRequests) Set a rule based on request execution time.withStatusCodes
(List<StatusCodesBasedTrigger> statusCodes) Set a rule based on status codes.
-
Constructor Details
-
AutoHealTriggers
public AutoHealTriggers()
-
-
Method Details
-
requests
Get a rule based on total requests.- Returns:
- the requests value
-
withRequests
Set a rule based on total requests.- Parameters:
requests
- the requests value to set- Returns:
- the AutoHealTriggers object itself.
-
privateBytesInKB
Get a rule based on private bytes.- Returns:
- the privateBytesInKB value
-
withPrivateBytesInKB
Set a rule based on private bytes.- Parameters:
privateBytesInKB
- the privateBytesInKB value to set- Returns:
- the AutoHealTriggers object itself.
-
statusCodes
Get a rule based on status codes.- Returns:
- the statusCodes value
-
withStatusCodes
Set a rule based on status codes.- Parameters:
statusCodes
- the statusCodes value to set- Returns:
- the AutoHealTriggers object itself.
-
slowRequests
Get a rule based on request execution time.- Returns:
- the slowRequests value
-
withSlowRequests
Set a rule based on request execution time.- Parameters:
slowRequests
- the slowRequests value to set- Returns:
- the AutoHealTriggers object itself.
-