VMScaleSetLifecycleHookEventType Class

public final class VMScaleSetLifecycleHookEventType
extends ExpandableStringEnum<VMScaleSetLifecycleHookEventType>

Specifies the scenario for which the customer is interested in receiving virtual machine scale set lifecycle hook events.

Field Summary

Modifier and Type Field and Description
static final VMScaleSetLifecycleHookEventType UPGRADE_AUTO_OSROLLING_BATCH_STARTING

Lifecycle hook event sent to the customer before upgrade starts on a batch of virtual machines belonging to a virtual machine scale set during an Auto OS Upgrade operation.

static final VMScaleSetLifecycleHookEventType UPGRADE_AUTO_OSSCHEDULING

Lifecycle hook event sent to the customer before an Auto OS Upgrade operation starts on the virtual machine scale set.

Constructor Summary

Constructor Description
VMScaleSetLifecycleHookEventType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of VMScaleSetLifecycleHookEventType value.

Method Summary

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

Creates or finds a VMScaleSetLifecycleHookEventType from its string representation.

static Collection<VMScaleSetLifecycleHookEventType> values()

Gets known VMScaleSetLifecycleHookEventType values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

UPGRADE_AUTO_OSROLLING_BATCH_STARTING

public static final VMScaleSetLifecycleHookEventType UPGRADE_AUTO_OSROLLING_BATCH_STARTING

Lifecycle hook event sent to the customer before upgrade starts on a batch of virtual machines belonging to a virtual machine scale set during an Auto OS Upgrade operation.

UPGRADE_AUTO_OSSCHEDULING

public static final VMScaleSetLifecycleHookEventType UPGRADE_AUTO_OSSCHEDULING

Lifecycle hook event sent to the customer before an Auto OS Upgrade operation starts on the virtual machine scale set.

Constructor Details

VMScaleSetLifecycleHookEventType

@Deprecated
public VMScaleSetLifecycleHookEventType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of VMScaleSetLifecycleHookEventType value.

Method Details

fromString

public static VMScaleSetLifecycleHookEventType fromString(String name)

Creates or finds a VMScaleSetLifecycleHookEventType from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding VMScaleSetLifecycleHookEventType.

values

public static Collection<VMScaleSetLifecycleHookEventType> values()

Gets known VMScaleSetLifecycleHookEventType values.

Returns:

known VMScaleSetLifecycleHookEventType values.

Applies to