Class PolicyMode

java.lang.Object
com.azure.core.util.ExpandableStringEnum<PolicyMode>
com.azure.resourcemanager.frontdoor.models.PolicyMode

public final class PolicyMode extends com.azure.core.util.ExpandableStringEnum<PolicyMode>
Describes if it is in detection mode or prevention mode at policy level.
  • Field Details

    • PREVENTION

      public static final PolicyMode PREVENTION
      Static value Prevention for PolicyMode.
    • DETECTION

      public static final PolicyMode DETECTION
      Static value Detection for PolicyMode.
  • Constructor Details

  • Method Details

    • fromString

      public static PolicyMode fromString(String name)
      Creates or finds a PolicyMode from its string representation.
      Parameters:
      name - a name to look for.
      Returns:
      the corresponding PolicyMode.
    • values

      public static Collection<PolicyMode> values()
      Gets known PolicyMode values.
      Returns:
      known PolicyMode values.