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

服务分区金德枚举ServicePartitionKind enum

类型:字符串type: string

用于对服务进行分区的分区方案。The kind of partitioning scheme used to partition the service.

可能的值包括:Possible values are:

  • Invalid- 指示分区类型无效。Invalid - Indicates the partition kind is invalid. 所有服务结构枚举的类型都无效。All Service Fabric enumerations have the invalid type. 值为 0。The value is zero.
  • Singleton- 指示只有一个分区,并且在创建服务时指定了单一分区方案描述。Singleton - Indicates that there is only one partition, and SingletonPartitionSchemeDescription was specified while creating the service. 值为 1。The value is 1.
  • Int64Range- 指示分区基于 Int64 键范围,并在创建服务时指定了统一 Int64Range 分区方案描述。Int64Range - Indicates that the partition is based on Int64 key ranges, and UniformInt64RangePartitionSchemeDescription was specified while creating the service. 值为 2。The value is 2.
  • Named- 指示分区基于字符串名称,并在创建服务时指定了命名分区信息。Named - Indicates that the partition is based on string names, and NamedPartitionInformation was specified while creating the service. 值为 3。The value is 3.