ResourceStatusMode Class

public final class ResourceStatusMode
extends ExpandableStringEnum<ResourceStatusMode>

Current management state of the resource in the deployment stack.

Field Summary

Modifier and Type Field and Description
static final ResourceStatusMode DELETE_FAILED

Unable to delete the resource from Azure.

static final ResourceStatusMode MANAGED

This resource is managed by the deployment stack.

static final ResourceStatusMode REMOVE_DENY_FAILED

Unable to remove the deny assignment on resource.

Constructor Summary

Constructor Description
ResourceStatusMode()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ResourceStatusMode value.

Method Summary

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

Creates or finds a ResourceStatusMode from its string representation.

static Collection<ResourceStatusMode> values()

Gets known ResourceStatusMode values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

DELETE_FAILED

public static final ResourceStatusMode DELETE_FAILED

Unable to delete the resource from Azure. The delete will be retried on the next stack deployment, or can be deleted manually.

MANAGED

public static final ResourceStatusMode MANAGED

This resource is managed by the deployment stack.

REMOVE_DENY_FAILED

public static final ResourceStatusMode REMOVE_DENY_FAILED

Unable to remove the deny assignment on resource.

Constructor Details

ResourceStatusMode

@Deprecated
public ResourceStatusMode()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ResourceStatusMode value.

Method Details

fromString

public static ResourceStatusMode fromString(String name)

Creates or finds a ResourceStatusMode from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding ResourceStatusMode.

values

public static Collection<ResourceStatusMode> values()

Gets known ResourceStatusMode values.

Returns:

known ResourceStatusMode values.

Applies to