Share via


ContainerPartitionKey Class

Definition

The configuration of the partition key to be used for partitioning data into multiple partitions

public class ContainerPartitionKey
type ContainerPartitionKey = class
Public Class ContainerPartitionKey
Inheritance
ContainerPartitionKey

Constructors

ContainerPartitionKey()

Initializes a new instance of the ContainerPartitionKey class.

ContainerPartitionKey(IList<String>, String, Nullable<Int32>, Nullable<Boolean>)

Initializes a new instance of the ContainerPartitionKey class.

Properties

Kind

Gets or sets indicates the kind of algorithm used for partitioning. For MultiHash, multiple partition keys (upto three maximum) are supported for container create. Possible values include: 'Hash', 'Range', 'MultiHash'

Paths

Gets or sets list of paths using which data within the container can be partitioned

SystemKey

Gets indicates if the container is using a system generated partition key

Version

Gets or sets indicates the version of the partition key definition

Methods

Validate()

Validate the object.

Applies to