Share via


DeploymentResourceStatus Class

  • java.lang.Object
    • com.azure.core.util.ExpandableStringEnum
      • com.azure.resourcemanager.appplatform.models.DeploymentResourceStatus

public final class DeploymentResourceStatus
extends com.azure.core.util.ExpandableStringEnum<DeploymentResourceStatus>

Status of the Deployment.

Field Summary

Modifier and Type Field and Description
static final DeploymentResourceStatus RUNNING

Static value Running for DeploymentResourceStatus.

static final DeploymentResourceStatus STOPPED

Static value Stopped for DeploymentResourceStatus.

Constructor Summary

Constructor Description
DeploymentResourceStatus()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of DeploymentResourceStatus value.

Method Summary

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

Creates or finds a DeploymentResourceStatus from its string representation.

static Collection<DeploymentResourceStatus> values()

Gets known DeploymentResourceStatus values.

Methods inherited from com.azure.core.util.ExpandableStringEnum

com.azure.core.util.ExpandableStringEnum.<T>fromString com.azure.core.util.ExpandableStringEnum.<T>values com.azure.core.util.ExpandableStringEnum.equals com.azure.core.util.ExpandableStringEnum.getValue com.azure.core.util.ExpandableStringEnum.hashCode com.azure.core.util.ExpandableStringEnum.toString

Methods inherited from java.lang.Object

Field Details

RUNNING

public static final DeploymentResourceStatus RUNNING

Static value Running for DeploymentResourceStatus.

STOPPED

public static final DeploymentResourceStatus STOPPED

Static value Stopped for DeploymentResourceStatus.

Constructor Details

DeploymentResourceStatus

@Deprecated
public DeploymentResourceStatus()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of DeploymentResourceStatus value.

Method Details

fromString

public static DeploymentResourceStatus fromString(String name)

Creates or finds a DeploymentResourceStatus from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding DeploymentResourceStatus.

values

public static Collection<DeploymentResourceStatus> values()

Gets known DeploymentResourceStatus values.

Returns:

known DeploymentResourceStatus values.

Applies to