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