This message was deleted.
# azure
s
This message was deleted.
w
I’m not a cosmosdb expert, but from looking at analogous ARM templates, it appears that you would specify indexing policies in the mongodb collection resource: https://www.pulumi.com/docs/reference/pkg/azure-native/documentdb/mongodbresourcemongodbcollection And specifically in the
resource
property https://www.pulumi.com/docs/reference/pkg/azure-native/documentdb/mongodbresourcemongodbcollection/#mongodbcollectionresource
p
Thanks Mitch. It actually turns out that you can't because the underlying REST API doesn't support it. The index keys are just strings and so cannot individually indicate ascending/descending