Mode Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. compute. models. Mode
- com.
- com.
public final class Mode
extends ExpandableStringEnum<Mode>
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.
Modifier and Type | Field and Description |
---|---|
static final Mode |
AUDIT
Static value Audit for Mode. |
static final Mode |
ENFORCE
Static value Enforce for Mode. |
Constructor | Description |
---|---|
Mode() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Mode value. |
Modifier and Type | Method and Description |
---|---|
static Mode |
from Creates or finds a Mode from its string representation. |
static Collection<Mode> |
values()
Gets known Mode values. |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
AUDIT
public static final Mode AUDIT
Static value Audit for Mode.
ENFORCE
public static final Mode ENFORCE
Static value Enforce for Mode.
Mode
@Deprecated
public Mode()
Deprecated
Creates a new instance of Mode value.
fromString
public static Mode fromString(String name)
Creates or finds a Mode from its string representation.
Parameters:
Returns:
values
public static Collection
Gets known Mode values.
Returns:
Azure SDK for Java-feedback
Azure SDK for Java is een open source project. Selecteer een koppeling om feedback te geven: