Enforce Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. security. models. Enforce
- com.
- com.
public final class Enforce
extends ExpandableStringEnum<Enforce>
If set to "False", it allows the descendants of this scope to override the pricing configuration set on this scope (allows setting inherited="False"). If set to "True", it prevents overrides and forces this pricing configuration on all the descendants of this scope. This field is only available for subscription-level pricing.
Field Summary
Modifier and Type | Field and Description |
---|---|
static final Enforce |
FALSE
Static value False for Enforce. |
static final Enforce |
TRUE
Static value True for Enforce. |
Constructor Summary
Constructor | Description |
---|---|
Enforce() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Enforce value. |
Method Summary
Modifier and Type | Method and Description |
---|---|
static Enforce |
fromString(String name)
Creates or finds a Enforce from its string representation. |
static Collection<Enforce> |
values()
Gets known Enforce values. |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
FALSE
public static final Enforce FALSE
Static value False for Enforce.
TRUE
public static final Enforce TRUE
Static value True for Enforce.
Constructor Details
Enforce
@Deprecated
public Enforce()
Deprecated
Creates a new instance of Enforce value.
Method Details
fromString
public static Enforce fromString(String name)
Creates or finds a Enforce from its string representation.
Parameters:
Returns:
values
public static Collection
Gets known Enforce 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