NodeDeactivationInfo Class

Information about the node deactivation. This information is valid for a node that is undergoing deactivation or has already been deactivated.

Inheritance
NodeDeactivationInfo

Constructor

NodeDeactivationInfo(*, node_deactivation_intent=None, node_deactivation_status=None, node_deactivation_task=None, pending_safety_checks=None, **kwargs)

Parameters

node_deactivation_intent
str or NodeDeactivationIntent
Required

The intent or the reason for deactivating the node. Following are the possible values for it. Possible values include: 'Invalid', 'Pause', 'Restart', 'RemoveData', 'RemoveNode'

node_deactivation_status
str or NodeDeactivationStatus
Required

The status of node deactivation operation. Following are the possible values. Possible values include: 'None', 'SafetyCheckInProgress', 'SafetyCheckComplete', 'Completed'

node_deactivation_task
list[NodeDeactivationTask]
Required

List of tasks representing the deactivation operation on the node.

pending_safety_checks
list[SafetyCheckWrapper]
Required

List of pending safety checks