DenyStatusMode Class

public final class DenyStatusMode
extends ExpandableStringEnum<DenyStatusMode>

denyAssignment settings applied to the resource.

Field Summary

Modifier and Type Field and Description
static final DenyStatusMode DENY_DELETE

Authorized users are able to read and modify the resources, but cannot delete.

static final DenyStatusMode DENY_WRITE_AND_DELETE

Authorized users can only read from a resource, but cannot modify or delete it.

static final DenyStatusMode INAPPLICABLE

denyAssignments are not supported on resources outside the scope of the deployment stack.

static final DenyStatusMode NONE

No denyAssignments have been applied.

static final DenyStatusMode NOT_SUPPORTED

Resource type does not support denyAssignments.

static final DenyStatusMode 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 DenyStatusMode value.

Method Summary

Modifier and Type Method and Description
static DenyStatusMode fromString(String name)

Creates or finds a DenyStatusMode from its string representation.

static Collection<DenyStatusMode> values()

Gets known DenyStatusMode values.

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

Use the fromString(String name) factory method.

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:

name - a name to look for.

Returns:

the corresponding DenyStatusMode.

values

public static Collection<DenyStatusMode> values()

Gets known DenyStatusMode values.

Returns:

known DenyStatusMode values.

Applies to