NodeDeactivationIntent Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Describes the reason why the node is being deactivated.
public enum NodeDeactivationIntent
type NodeDeactivationIntent =
Public Enum NodeDeactivationIntent
- Inheritance
-
NodeDeactivationIntent
Fields
Name | Value | Description |
---|---|---|
Invalid | 0 | Indicates that a deactivation intent is invalid. This value is not used. |
Pause | 1 | Indicates that the node should be paused. |
Restart | 2 | 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. |
RemoveData | 3 | Indicates that the intent is to reimage the node. Service Fabric does not reimage the node - this action is done outside of Service Fabric. |
RemoveNode | 4 | 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. |
Remarks
The NodeDeactivationIntent enumeration is provided as a part of the DeactivateNodeAsync(String, NodeDeactivationIntent) method.
Service Fabric uses this information to take the correct actions at the node to provide a graceful shutdown of the node. The intents have a general progression or severity.
A deactivation that is started with one intent can be increased to subsequent higher levels of intent. The general order of this progression is: Pause, Restart, Stop, ForceStop.
Applies to
Azure SDK for .NET