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.
Field Summary
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 Summary
Constructor | Description |
---|---|
Mode() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Mode value. |
Method Summary
Modifier and Type | Method and Description |
---|---|
static Mode |
fromString(String name)
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
Field Details
AUDIT
public static final Mode AUDIT
Static value Audit for Mode.
ENFORCE
public static final Mode ENFORCE
Static value Enforce for Mode.
Constructor Details
Mode
@Deprecated
public Mode()
Deprecated
Creates a new instance of Mode value.
Method Details
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:
Applies to
Azure SDK for Java