LifecycleHookActionState Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. compute. models. LifecycleHookActionState
- com.
- com.
public final class LifecycleHookActionState
extends ExpandableStringEnum<LifecycleHookActionState>
Approval status of a target resource in a virtual machine scale set lifecycle hook event.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
static final
Lifecycle |
APPROVED
The lifecycle hook for the target resource is approved. |
|
static final
Lifecycle |
REJECTED
The lifecycle hook for the target resource is rejected. |
|
static final
Lifecycle |
WAITING
The lifecycle hook for the target resource is waiting for approval. |
Constructor Summary
| Constructor | Description |
|---|---|
| LifecycleHookActionState() |
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
APPROVED
public static final LifecycleHookActionState APPROVED
The lifecycle hook for the target resource is approved.
REJECTED
public static final LifecycleHookActionState REJECTED
The lifecycle hook for the target resource is rejected.
WAITING
public static final LifecycleHookActionState WAITING
The lifecycle hook for the target resource is waiting for approval.
Constructor Details
LifecycleHookActionState
@Deprecated
public LifecycleHookActionState()
Deprecated
Creates a new instance of LifecycleHookActionState value.
Method Details
fromString
public static LifecycleHookActionState fromString(String name)
Creates or finds a LifecycleHookActionState from its string representation.
Parameters:
Returns:
values
public static Collection<LifecycleHookActionState> values()
Gets known LifecycleHookActionState values.
Returns: