Class PolicyMode
java.lang.Object
com.azure.core.util.ExpandableStringEnum<PolicyMode>
com.azure.resourcemanager.frontdoor.models.PolicyMode
Describes if it is in detection mode or prevention mode at policy level.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final PolicyMode
Static value Detection for PolicyMode.static final PolicyMode
Static value Prevention for PolicyMode. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic PolicyMode
fromString
(String name) Creates or finds a PolicyMode from its string representation.static Collection<PolicyMode>
values()
Gets known PolicyMode values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, hashCode, toString, values
-
Field Details
-
PREVENTION
Static value Prevention for PolicyMode. -
DETECTION
Static value Detection for PolicyMode.
-
-
Constructor Details
-
PolicyMode
Deprecated.Use thefromString(String)
factory method.Creates a new instance of PolicyMode value.
-
-
Method Details
-
fromString
Creates or finds a PolicyMode from its string representation.- Parameters:
name
- a name to look for.- Returns:
- the corresponding PolicyMode.
-
values
Gets known PolicyMode values.- Returns:
- known PolicyMode values.
-
fromString(String)
factory method.