RoutingCosmosDBSqlApiProperties.PartitionKeyTemplate Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Azure SDK for .NET