Fix for Mongo shard key loaded via ARM (#657)

This commit is contained in:
Steve Faulkner
2021-04-13 12:03:25 -05:00
committed by GitHub
parent 1e6ad113dd
commit 7bdc31aa67
4 changed files with 37 additions and 15 deletions

View File

@@ -121,6 +121,10 @@ export interface ISchemaRequest {
}
export interface Collection extends Resource {
// Only in Mongo collections loaded via ARM
shardKey?: {
[key: string]: string;
};
defaultTtl?: number;
indexingPolicy?: IndexingPolicy;
partitionKey?: PartitionKey;