LifecycleHookAction Class

public final class LifecycleHookAction
extends ExpandableStringEnum<LifecycleHookAction>

The action that will be applied to a target resource in the virtual machine scale set lifecycle hook event if the platform does not receive a response from the customer for the target resource before waitUntil.

Field Summary

Modifier and Type Field and Description
static final LifecycleHookAction APPROVE

The lifecycle hook of a target resource in a lifecycle hook event will be approved.

static final LifecycleHookAction REJECT

The lifecycle hook of a target resource in a lifecycle hook event will be rejected.

Constructor Summary

Constructor Description
LifecycleHookAction()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of LifecycleHookAction value.

Method Summary

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

Creates or finds a LifecycleHookAction from its string representation.

static Collection<LifecycleHookAction> values()

Gets known LifecycleHookAction values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

APPROVE

public static final LifecycleHookAction APPROVE

The lifecycle hook of a target resource in a lifecycle hook event will be approved.

REJECT

public static final LifecycleHookAction REJECT

The lifecycle hook of a target resource in a lifecycle hook event will be rejected.

Constructor Details

LifecycleHookAction

@Deprecated
public LifecycleHookAction()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of LifecycleHookAction value.

Method Details

fromString

public static LifecycleHookAction fromString(String name)

Creates or finds a LifecycleHookAction from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding LifecycleHookAction.

values

public static Collection<LifecycleHookAction> values()

Gets known LifecycleHookAction values.

Returns:

known LifecycleHookAction values.

Applies to