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()

Variables

Name Description
resource
<xref:<xref:"ApiEntityReference">>

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
Union[str, <xref:"LifecycleHookActionState">]

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

actionState

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".

actionState: str | LifecycleHookActionState

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: ApiEntityReference