LifecycleHookActionState Class

public final class LifecycleHookActionState
extends ExpandableStringEnum<LifecycleHookActionState>

Approval status of a target resource in a virtual machine scale set lifecycle hook event.

Field Summary

Modifier and Type Field and Description
static final LifecycleHookActionState APPROVED

The lifecycle hook for the target resource is approved.

static final LifecycleHookActionState REJECTED

The lifecycle hook for the target resource is rejected.

static final LifecycleHookActionState WAITING

The lifecycle hook for the target resource is waiting for approval.

Constructor Summary

Constructor Description
LifecycleHookActionState()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of LifecycleHookActionState value.

Method Summary

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

Creates or finds a LifecycleHookActionState from its string representation.

static Collection<LifecycleHookActionState> values()

Gets known LifecycleHookActionState values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

APPROVED

public static final LifecycleHookActionState APPROVED

The lifecycle hook for the target resource is approved.

REJECTED

public static final LifecycleHookActionState REJECTED

The lifecycle hook for the target resource is rejected.

WAITING

public static final LifecycleHookActionState WAITING

The lifecycle hook for the target resource is waiting for approval.

Constructor Details

LifecycleHookActionState

@Deprecated
public LifecycleHookActionState()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of LifecycleHookActionState value.

Method Details

fromString

public static LifecycleHookActionState fromString(String name)

Creates or finds a LifecycleHookActionState from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding LifecycleHookActionState.

values

public static Collection<LifecycleHookActionState> values()

Gets known LifecycleHookActionState values.

Returns:

known LifecycleHookActionState values.

Applies to