VMScaleSetLifecycleHookEventState Class

public final class VMScaleSetLifecycleHookEventState
extends ExpandableStringEnum<VMScaleSetLifecycleHookEventState>

The states that a virtual machine scale set lifecycle hook event can be in. This is not settable by the customer. It is set only by the platform.

Field Summary

Modifier and Type Field and Description
static final VMScaleSetLifecycleHookEventState ACTIVE

The lifecycle hook event is active.

static final VMScaleSetLifecycleHookEventState COMPLETED

The lifecycle hook event is completed.

Constructor Summary

Constructor Description
VMScaleSetLifecycleHookEventState()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of VMScaleSetLifecycleHookEventState value.

Method Summary

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

Creates or finds a VMScaleSetLifecycleHookEventState from its string representation.

static Collection<VMScaleSetLifecycleHookEventState> values()

Gets known VMScaleSetLifecycleHookEventState values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

ACTIVE

public static final VMScaleSetLifecycleHookEventState ACTIVE

The lifecycle hook event is active. E.g., waiting on a response from the customer.

COMPLETED

public static final VMScaleSetLifecycleHookEventState COMPLETED

The lifecycle hook event is completed. i.e., all the target resources in the event have moved to a terminal state.

Constructor Details

VMScaleSetLifecycleHookEventState

@Deprecated
public VMScaleSetLifecycleHookEventState()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of VMScaleSetLifecycleHookEventState value.

Method Details

fromString

public static VMScaleSetLifecycleHookEventState fromString(String name)

Creates or finds a VMScaleSetLifecycleHookEventState from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding VMScaleSetLifecycleHookEventState.

values

public static Collection<VMScaleSetLifecycleHookEventState> values()

Gets known VMScaleSetLifecycleHookEventState values.

Returns:

known VMScaleSetLifecycleHookEventState values.

Applies to