Class AutoHealCustomAction

java.lang.Object
com.azure.resourcemanager.appservice.models.AutoHealCustomAction

public final class AutoHealCustomAction extends Object
Custom action to be executed when an auto heal rule is triggered.
  • Constructor Details

    • AutoHealCustomAction

      public AutoHealCustomAction()
  • Method Details

    • exe

      public String exe()
      Get the exe property: Executable to be run.
      Returns:
      the exe value.
    • withExe

      public AutoHealCustomAction withExe(String exe)
      Set the exe property: Executable to be run.
      Parameters:
      exe - the exe value to set.
      Returns:
      the AutoHealCustomAction object itself.
    • parameters

      public String parameters()
      Get the parameters property: Parameters for the executable.
      Returns:
      the parameters value.
    • withParameters

      public AutoHealCustomAction withParameters(String parameters)
      Set the parameters property: Parameters for the executable.
      Parameters:
      parameters - the parameters value to set.
      Returns:
      the AutoHealCustomAction object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.