EnforcementMode Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. resources. models. EnforcementMode
- com.
- com.
public final class EnforcementMode
extends ExpandableStringEnum<EnforcementMode>
The policy assignment enforcement mode. Possible values are Default and DoNotEnforce.
Field Summary
Modifier and Type | Field and Description |
---|---|
static final
Enforcement |
DEFAULT
Static value Default for Enforcement |
static final
Enforcement |
DO_NOT_ENFORCE
Static value Do |
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
DEFAULT
public static final EnforcementMode DEFAULT
Static value Default for EnforcementMode.
DO_NOT_ENFORCE
public static final EnforcementMode DO_NOT_ENFORCE
Static value DoNotEnforce 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