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. Warning: this property has been deprecated, please specify 'mode' under particular hostendpoint setting.
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<Mode> values()
Gets known Mode values.
Returns: