Class FrontDoorRedirectType

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

public final class FrontDoorRedirectType extends com.azure.core.util.ExpandableStringEnum<FrontDoorRedirectType>
The redirect type the rule will use when redirecting traffic.
  • Field Details

    • MOVED

      public static final FrontDoorRedirectType MOVED
      Static value Moved for FrontDoorRedirectType.
    • FOUND

      public static final FrontDoorRedirectType FOUND
      Static value Found for FrontDoorRedirectType.
    • TEMPORARY_REDIRECT

      public static final FrontDoorRedirectType TEMPORARY_REDIRECT
      Static value TemporaryRedirect for FrontDoorRedirectType.
    • PERMANENT_REDIRECT

      public static final FrontDoorRedirectType PERMANENT_REDIRECT
      Static value PermanentRedirect for FrontDoorRedirectType.
  • Constructor Details

    • FrontDoorRedirectType

      @Deprecated public FrontDoorRedirectType()
      Deprecated.
      Use the fromString(String) factory method.
      Creates a new instance of FrontDoorRedirectType value.
  • Method Details

    • fromString

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

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