DenySettingsMode Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. resources. models. DenySettingsMode
- com.
- com.
public final class DenySettingsMode
extends ExpandableStringEnum<DenySettingsMode>
denySettings Mode that defines denied actions.
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 read from a resource, but cannot modify or delete it. |
|
static final
Deny |
NONE
No deny |
Constructor Summary
| Constructor | Description |
|---|---|
| DenySettingsMode() |
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 DenySettingsMode DENY_DELETE
Authorized users are able to read and modify the resources, but cannot delete.
DENY_WRITE_AND_DELETE
public static final DenySettingsMode DENY_WRITE_AND_DELETE
Authorized users can read from a resource, but cannot modify or delete it.
NONE
public static final DenySettingsMode NONE
No denyAssignments have been applied.
Constructor Details
DenySettingsMode
@Deprecated
public DenySettingsMode()
Deprecated
Creates a new instance of DenySettingsMode value.
Method Details
fromString
public static DenySettingsMode fromString(String name)
Creates or finds a DenySettingsMode from its string representation.
Parameters:
Returns:
values
public static Collection<DenySettingsMode> values()
Gets known DenySettingsMode values.
Returns: