Class Mode
java.lang.Object
com.azure.core.util.ExpandableStringEnum<Mode>
com.azure.resourcemanager.compute.models.Mode
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
Specifies the mode that ProxyAgent will execute on if the feature is enabled. ProxyAgent will start to audit or
monitor but not enforce access control over requests to host endpoints in Audit mode, while in Enforce mode it will
enforce access control. The default value is Enforce mode.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ModefromString(String name) Creates or finds a Mode from its string representation.static Collection<Mode> values()Gets known Mode values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
AUDIT
Static value Audit for Mode. -
ENFORCE
Static value Enforce for Mode.
-
-
Constructor Details
-
Mode
Deprecated.Use thefromString(String)factory method.Creates a new instance of Mode value.
-
-
Method Details
-
fromString
-
values
-
fromString(String)factory method.