Class PeeringEnforcement
java.lang.Object
com.azure.core.util.ExpandableStringEnum<PeeringEnforcement>
com.azure.resourcemanager.network.models.PeeringEnforcement
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
public final class PeeringEnforcement
extends com.azure.core.util.ExpandableStringEnum<PeeringEnforcement>
Option indicating enforcement of peerings created by the connectivity configuration.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final PeeringEnforcementStatic value Enforced for PeeringEnforcement.static final PeeringEnforcementStatic value Unenforced for PeeringEnforcement. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic PeeringEnforcementfromString(String name) Creates or finds a PeeringEnforcement from its string representation.static Collection<PeeringEnforcement> values()Gets known PeeringEnforcement values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
UNENFORCED
Static value Unenforced for PeeringEnforcement. -
ENFORCED
Static value Enforced for PeeringEnforcement.
-
-
Constructor Details
-
PeeringEnforcement
Deprecated.Use thefromString(String)factory method.Creates a new instance of PeeringEnforcement value.
-
-
Method Details
-
fromString
Creates or finds a PeeringEnforcement from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding PeeringEnforcement.
-
values
Gets known PeeringEnforcement values.- Returns:
- known PeeringEnforcement values.
-
fromString(String)factory method.