class Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::UniformInt64RangePartitionSchemeDescription

Describes a partitioning scheme where an integer range is allocated evenly across a number of partitions.

Attributes

PartitionScheme[RW]
count[RW]

@return [Integer] The number of partitions.

high_key[RW]

@return [String] String indicating the upper bound of the partition key range that should be split between the partition ‘Count’

low_key[RW]

@return [String] String indicating the lower bound of the partition key range that should be split between the partition ‘Count’

Private Class Methods

mapper() click to toggle source

Mapper for UniformInt64RangePartitionSchemeDescription class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/uniform_int64range_partition_scheme_description.rb, line 44
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'UniformInt64Range',
    type: {
      name: 'Composite',
      class_name: 'UniformInt64RangePartitionSchemeDescription',
      model_properties: {
        PartitionScheme: {
          client_side_validation: true,
          required: true,
          serialized_name: 'PartitionScheme',
          type: {
            name: 'String'
          }
        },
        count: {
          client_side_validation: true,
          required: true,
          serialized_name: 'Count',
          type: {
            name: 'Number'
          }
        },
        low_key: {
          client_side_validation: true,
          required: true,
          serialized_name: 'LowKey',
          type: {
            name: 'String'
          }
        },
        high_key: {
          client_side_validation: true,
          required: true,
          serialized_name: 'HighKey',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end
new() click to toggle source
# File lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/models/uniform_int64range_partition_scheme_description.rb, line 17
def initialize
  @PartitionScheme = "UniformInt64Range"
end