NodeDeactivationInfo

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

Properties

Name Type Required
NodeDeactivationIntent string (enum) No
NodeDeactivationStatus string (enum) No
NodeDeactivationTask array of NodeDeactivationTask No
PendingSafetyChecks array of SafetyCheckWrapper No

NodeDeactivationIntent

Type: string (enum)
Required: No

The intent or the reason for deactivating the node. Following are the possible values for it.

Possible values are:

  • Invalid - Indicates the node deactivation intent is invalid. All Service Fabric enumerations have the invalid type. The value is zero. This value is not used.
  • Pause - Indicates that the node should be paused. The value is 1.
  • Restart - Indicates that the intent is for the node to be restarted after a short period of time. Service Fabric does not restart the node, this action is done outside of Service Fabric. The value is 2.
  • RemoveData - Indicates that the intent is to reimage the node. Service Fabric does not reimage the node, this action is done outside of Service Fabric. The value is 3.
  • RemoveNode - Indicates that the node is being decommissioned and is not expected to return. Service Fabric does not decommission the node, this action is done outside of Service Fabric. The value is 4.

NodeDeactivationStatus

Type: string (enum)
Required: No

The status of node deactivation operation. Following are the possible values.

Possible values are:

  • None - No status is associated with the task. The value is zero.
  • SafetyCheckInProgress - When a node is deactivated Service Fabric performs checks to ensure that the operation is safe to proceed to ensure availability of the service and reliability of the state. This value indicates that one or more safety checks are in progress. The value is 1.
  • SafetyCheckComplete - When a node is deactivated Service Fabric performs checks to ensure that the operation is safe to proceed to ensure availability of the service and reliability of the state. This value indicates that all safety checks have been completed. The value is 2.
  • Completed - The task is completed. The value is 3.

NodeDeactivationTask

Type: array of NodeDeactivationTask
Required: No

List of tasks representing the deactivation operation on the node.


PendingSafetyChecks

Type: array of SafetyCheckWrapper
Required: No

List of pending safety checks