您现在访问的是微软AZURE全球版技术文档网站,若需要访问由世纪互联运营的MICROSOFT AZURE中国区技术文档网站,请访问 https://docs.azure.cn.

节点停用意向枚举NodeDeactivationIntent enum

类型:字符串type: string

停用节点的意图或原因。The intent or the reason for deactivating the node. 以下是其可能的值。Following are the possible values for it.

可能的值包括:Possible values are:

  • Invalid- 指示节点停用意图无效。Invalid - Indicates the node deactivation intent is invalid. 所有服务结构枚举的类型都无效。All Service Fabric enumerations have the invalid type. 值为 0。The value is zero. 未使用该值。This value is not used.
  • Pause- 指示节点应暂停。Pause - Indicates that the node should be paused. 值为 1。The value is 1.
  • Restart- 指示意图是节点在短时间内重新启动。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. 值为 2。The value is 2.
  • RemoveData- 指示意图是重新映像节点。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. 值为 3。The value is 3.
  • RemoveNode- 指示节点正在停用,并且预计不会返回。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. 值为 4。The value is 4.