-
Notifications
You must be signed in to change notification settings - Fork 5k
/
CosmosDBMongoDBCollectionList.json
45 lines (45 loc) · 1.22 KB
/
CosmosDBMongoDBCollectionList.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
{
"parameters": {
"api-version": "2023-03-15",
"subscriptionId": "subid",
"resourceGroupName": "rgName",
"accountName": "ddb1",
"databaseName": "databaseName"
},
"responses": {
"200": {
"body": {
"value": [
{
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.DocumentDB/databaseAccounts/ddb1/mongodbDatabases/databaseName/mongodbCollections/collectionName",
"name": "collectionName",
"type": "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/mongodbCollections",
"location": "West US",
"tags": {},
"properties": {
"resource": {
"id": "testcoll",
"indexes": [
{
"key": {
"keys": [
"testKey"
]
},
"options": {
"expireAfterSeconds": 100,
"unique": true
}
}
],
"shardKey": {
"testKey": "Hash"
}
}
}
}
]
}
}
}
}