Class VMScaleSetLifecycleHookEventType
java.lang.Object
com.azure.core.util.ExpandableStringEnum<VMScaleSetLifecycleHookEventType>
com.azure.resourcemanager.compute.models.VMScaleSetLifecycleHookEventType
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
public final class VMScaleSetLifecycleHookEventType
extends com.azure.core.util.ExpandableStringEnum<VMScaleSetLifecycleHookEventType>
Specifies the scenario for which the customer is interested in receiving virtual machine scale set lifecycle hook
events.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final VMScaleSetLifecycleHookEventTypeLifecycle 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 VMScaleSetLifecycleHookEventTypeLifecycle hook event sent to the customer before an Auto OS Upgrade operation starts on the virtual machine scale set. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfromString(String name) Creates or finds a VMScaleSetLifecycleHookEventType from its string representation.values()Gets known VMScaleSetLifecycleHookEventType values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
UPGRADE_AUTO_OSSCHEDULING
Lifecycle hook event sent to the customer before an Auto OS Upgrade operation starts on the virtual machine scale set. -
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.
-
-
Constructor Details
-
VMScaleSetLifecycleHookEventType
Deprecated.Use thefromString(String)factory method.Creates a new instance of VMScaleSetLifecycleHookEventType value.
-
-
Method Details
-
fromString
Creates or finds a VMScaleSetLifecycleHookEventType from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding VMScaleSetLifecycleHookEventType.
-
values
Gets known VMScaleSetLifecycleHookEventType values.- Returns:
- known VMScaleSetLifecycleHookEventType values.
-
fromString(String)factory method.