LifecycleHookAction Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. compute. models. LifecycleHookAction
- com.
- com.
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
Lifecycle |
APPROVE
The lifecycle hook of a target resource in a lifecycle hook event will be approved. |
|
static final
Lifecycle |
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 Lifecycle |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Lifecycle |
fromString(String name)
Creates or finds a Lifecycle |
|
static
Collection<Lifecycle |
values()
Gets known Lifecycle |
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
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:
Returns:
values
public static Collection<LifecycleHookAction> values()
Gets known LifecycleHookAction values.
Returns: