Class Modes
java.lang.Object
com.azure.core.util.ExpandableStringEnum<Modes>
com.azure.resourcemanager.compute.models.Modes
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
Specifies the execution mode. In Audit mode, the system acts as if it is enforcing the access control policy,
including emitting access denial entries in the logs but it does not actually deny any requests to host endpoints. In
Enforce mode, the system will enforce the access control and it is the recommended mode of operation.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ModesfromString(String name) Creates or finds a Modes from its string representation.static Collection<Modes> values()Gets known Modes values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
AUDIT
Static value Audit for Modes. -
ENFORCE
Static value Enforce for Modes. -
DISABLED
Static value Disabled for Modes.
-
-
Constructor Details
-
Modes
Deprecated.Use thefromString(String)factory method.Creates a new instance of Modes value.
-
-
Method Details
-
fromString
-
values
-
fromString(String)factory method.