DenyStatusMode Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. resources. models. DenyStatusMode
- com.
- com.
public final class DenyStatusMode
extends ExpandableStringEnum<DenyStatusMode>
denyAssignment settings applied to the resource.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
static final
Deny |
DENY_DELETE
Authorized users are able to read and modify the resources, but cannot delete. |
|
static final
Deny |
DENY_WRITE_AND_DELETE
Authorized users can only read from a resource, but cannot modify or delete it. |
|
static final
Deny |
INAPPLICABLE
deny |
|
static final
Deny |
NONE
No deny |
|
static final
Deny |
NOT_SUPPORTED
Resource type does not support deny |
|
static final
Deny |
REMOVED_BY_SYSTEM
Deny assignment has been removed by Azure due to a resource management change (management group move, etc.). |
Constructor Summary
| Constructor | Description |
|---|---|
| DenyStatusMode() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Deny |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Deny |
fromString(String name)
Creates or finds a Deny |
|
static
Collection<Deny |
values()
Gets known Deny |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
DENY_DELETE
public static final DenyStatusMode DENY_DELETE
Authorized users are able to read and modify the resources, but cannot delete.
DENY_WRITE_AND_DELETE
public static final DenyStatusMode DENY_WRITE_AND_DELETE
Authorized users can only read from a resource, but cannot modify or delete it.
INAPPLICABLE
public static final DenyStatusMode INAPPLICABLE
denyAssignments are not supported on resources outside the scope of the deployment stack.
NONE
public static final DenyStatusMode NONE
No denyAssignments have been applied.
NOT_SUPPORTED
public static final DenyStatusMode NOT_SUPPORTED
Resource type does not support denyAssignments.
REMOVED_BY_SYSTEM
public static final DenyStatusMode REMOVED_BY_SYSTEM
Deny assignment has been removed by Azure due to a resource management change (management group move, etc.).
Constructor Details
DenyStatusMode
@Deprecated
public DenyStatusMode()
Deprecated
Creates a new instance of DenyStatusMode value.
Method Details
fromString
public static DenyStatusMode fromString(String name)
Creates or finds a DenyStatusMode from its string representation.
Parameters:
Returns:
values
public static Collection<DenyStatusMode> values()
Gets known DenyStatusMode values.
Returns: