Class AutoHealTriggers

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

public class AutoHealTriggers extends Object
Triggers for auto-heal.
  • Constructor Details

    • AutoHealTriggers

      public AutoHealTriggers()
  • Method Details

    • 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.