Udostępnij za pośrednictwem


RoutingCosmosDBSqlApiProperties.PartitionKeyTemplate Property

Definition

The template for generating a synthetic partition key value for use with this cosmos DB sql container. The template must include at least one of the following placeholders: {iothub}, {deviceid}, {DD}, {MM}, and {YYYY}. Any one placeholder may be specified at most once, but order and non-placeholder components are arbitrary. This parameter is only required if PartitionKeyName is specified.

public string PartitionKeyTemplate { get; set; }
member this.PartitionKeyTemplate : string with get, set
Public Property PartitionKeyTemplate As String

Property Value

Applies to