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

服务端点罗尔枚举ServiceEndpointRole enum

类型:字符串type: string

报告终结点的副本的角色。The role of the replica where the endpoint is reported.

可能的值包括:Possible values are:

  • Invalid- 指示服务终结点角色无效。Invalid - Indicates the service endpoint role is invalid. 所有服务结构枚举的类型都无效。All Service Fabric enumerations have the invalid type. 值为 0。The value is zero.
  • Stateless- 指示服务终结点是无状态服务。Stateless - Indicates that the service endpoint is of a stateless service. 值为 1。The value is 1.
  • StatefulPrimary- 指示服务终结点是有状态服务的主副本。StatefulPrimary - Indicates that the service endpoint is of a primary replica of a stateful service. 值为 2。The value is 2.
  • StatefulSecondary- 指示服务终结点是有状态服务的辅助副本。StatefulSecondary - Indicates that the service endpoint is of a secondary replica of a stateful service. 值为 3。The value is 3.