VMScaleSetLifecycleHookEventTargetResource Class
Define a single target ARM resource in a virtual machine scale set lifecycle hook event. Currently, this can be a virtual machine scale set resource or an individual virtual machine resource within a VMScaleSet.
Constructor
VMScaleSetLifecycleHookEventTargetResource(*args: Any, **kwargs: Any)
Variables
| Name | Description |
|---|---|
|
resource
|
Specifies the target ARM resource. Currently, this can be a virtual machine scale set resource or an individual virtual machine resource within a VMScaleSet. |
|
action_state
|
State of the lifecycle hook for the target resource. The customer can patch this property to move the lifecycle hook to a terminal state. Known values are: "Waiting", "Approved", and "Rejected". |
Attributes
action_state
State of the lifecycle hook for the target resource. The customer can patch this property to move the lifecycle hook to a terminal state. Known values are: "Waiting", "Approved", and "Rejected".
action_state: str | _models.LifecycleHookActionState | None
resource
Specifies the target ARM resource. Currently, this can be a virtual machine scale set resource or an individual virtual machine resource within a VMScaleSet.
resource: _models.ApiEntityReference | None