Class WafMatchVariable
java.lang.Object
com.azure.core.util.ExpandableStringEnum<WafMatchVariable>
com.azure.resourcemanager.cdn.models.WafMatchVariable
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
public final class WafMatchVariable
extends com.azure.core.util.ExpandableStringEnum<WafMatchVariable>
Match variable to compare against.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final WafMatchVariableStatic value Cookies for WafMatchVariable.static final WafMatchVariableStatic value PostArgs for WafMatchVariable.static final WafMatchVariableStatic value QueryString for WafMatchVariable.static final WafMatchVariableStatic value RemoteAddr for WafMatchVariable.static final WafMatchVariableStatic value RequestBody for WafMatchVariable.static final WafMatchVariableStatic value RequestHeader for WafMatchVariable.static final WafMatchVariableStatic value RequestMethod for WafMatchVariable.static final WafMatchVariableStatic value RequestUri for WafMatchVariable.static final WafMatchVariableStatic value SocketAddr for WafMatchVariable. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic WafMatchVariablefromString(String name) Creates or finds a WafMatchVariable from its string representation.static Collection<WafMatchVariable> values()Gets known WafMatchVariable values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
REMOTE_ADDR
Static value RemoteAddr for WafMatchVariable. -
SOCKET_ADDR
Static value SocketAddr for WafMatchVariable. -
REQUEST_METHOD
Static value RequestMethod for WafMatchVariable. -
REQUEST_HEADER
Static value RequestHeader for WafMatchVariable. -
REQUEST_URI
Static value RequestUri for WafMatchVariable. -
QUERY_STRING
Static value QueryString for WafMatchVariable. -
REQUEST_BODY
Static value RequestBody for WafMatchVariable. -
COOKIES
Static value Cookies for WafMatchVariable. -
POST_ARGS
Static value PostArgs for WafMatchVariable.
-
-
Constructor Details
-
WafMatchVariable
Deprecated.Use thefromString(String)factory method.Creates a new instance of WafMatchVariable value.
-
-
Method Details
-
fromString
Creates or finds a WafMatchVariable from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding WafMatchVariable.
-
values
Gets known WafMatchVariable values.- Returns:
- known WafMatchVariable values.
-
fromString(String)factory method.