Class DdosDetectionMode
java.lang.Object
com.azure.core.util.ExpandableStringEnum<DdosDetectionMode>
com.azure.resourcemanager.network.models.DdosDetectionMode
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
public final class DdosDetectionMode
extends com.azure.core.util.ExpandableStringEnum<DdosDetectionMode>
The detection mode for the DDoS detection rule.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final DdosDetectionModeStatic value TrafficThreshold for DdosDetectionMode. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic DdosDetectionModefromString(String name) Creates or finds a DdosDetectionMode from its string representation.static Collection<DdosDetectionMode> values()Gets known DdosDetectionMode values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
TRAFFIC_THRESHOLD
Static value TrafficThreshold for DdosDetectionMode.
-
-
Constructor Details
-
DdosDetectionMode
Deprecated.Use thefromString(String)factory method.Creates a new instance of DdosDetectionMode value.
-
-
Method Details
-
fromString
Creates or finds a DdosDetectionMode from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding DdosDetectionMode.
-
values
Gets known DdosDetectionMode values.- Returns:
- known DdosDetectionMode values.
-
fromString(String)factory method.