Class SecurityPolicyType

java.lang.Object
com.azure.core.util.ExpandableStringEnum<SecurityPolicyType>
com.azure.resourcemanager.cdn.models.SecurityPolicyType

public final class SecurityPolicyType extends com.azure.core.util.ExpandableStringEnum<SecurityPolicyType>
The type of the Security policy to create.
  • Field Details

    • WEB_APPLICATION_FIREWALL

      public static final SecurityPolicyType WEB_APPLICATION_FIREWALL
      Static value WebApplicationFirewall for SecurityPolicyType.
  • Constructor Details

    • SecurityPolicyType

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

    • fromString

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

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