EnforcementMode Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. security. models. EnforcementMode
- com.
- com.
public final class EnforcementMode
extends ExpandableStringEnum<EnforcementMode>
The application control policy enforcement/protection mode of the machine group.
Field Summary
Modifier and Type | Field and Description |
---|---|
static final
Enforcement |
AUDIT
Static value Audit for Enforcement |
static final
Enforcement |
ENFORCE
Static value Enforce for Enforcement |
static final
Enforcement |
NONE
Static value None for Enforcement |
Constructor Summary
Constructor | Description |
---|---|
EnforcementMode() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Enforcement |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Enforcement |
fromString(String name)
Creates or finds a Enforcement |
static
Collection<Enforcement |
values()
Gets known Enforcement |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
AUDIT
public static final EnforcementMode AUDIT
Static value Audit for EnforcementMode.
ENFORCE
public static final EnforcementMode ENFORCE
Static value Enforce for EnforcementMode.
NONE
public static final EnforcementMode NONE
Static value None for EnforcementMode.
Constructor Details
EnforcementMode
@Deprecated
public EnforcementMode()
Deprecated
Creates a new instance of EnforcementMode value.
Method Details
fromString
public static EnforcementMode fromString(String name)
Creates or finds a EnforcementMode from its string representation.
Parameters:
Returns:
values
public static Collection
Gets known EnforcementMode values.
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for