VMScaleSetLifecycleHookEventType Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. compute. models. VMScaleSetLifecycleHookEventType
- com.
- com.
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
VMScale |
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
VMScale |
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 VMScale |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
VMScale |
fromString(String name)
Creates or finds a VMScale |
|
static
Collection<VMScale |
values()
Gets known VMScale |
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
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:
Returns:
values
public static Collection<VMScaleSetLifecycleHookEventType> values()
Gets known VMScaleSetLifecycleHookEventType values.
Returns: