Skip to content

Commit 5709989

Browse files
niteshvijay1995niteshvijay-ms
authored andcommitted
Add CosmosDBMongo enum (Azure#21199)
Co-authored-by: Nitesh Vijay <[email protected]>
1 parent a14cedd commit 5709989

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2022-08-15-preview/dataTransferService.json

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -302,6 +302,7 @@
302302
"type": "string",
303303
"enum": [
304304
"CosmosDBCassandra",
305+
"CosmosDBMongo",
305306
"CosmosDBSql",
306307
"AzureBlobStorage"
307308
],
@@ -339,6 +340,28 @@
339340
],
340341
"x-ms-discriminator-value": "CosmosDBCassandra"
341342
},
343+
"CosmosMongoDataTransferDataSourceSink": {
344+
"type": "object",
345+
"description": "A CosmosDB Cassandra API data source/sink",
346+
"properties": {
347+
"databaseName": {
348+
"type": "string"
349+
},
350+
"collectionName": {
351+
"type": "string"
352+
}
353+
},
354+
"allOf": [
355+
{
356+
"$ref": "#/definitions/DataTransferDataSourceSink"
357+
}
358+
],
359+
"required": [
360+
"databaseName",
361+
"collectionName"
362+
],
363+
"x-ms-discriminator-value": "CosmosDBMongo"
364+
},
342365
"CosmosSqlDataTransferDataSourceSink": {
343366
"type": "object",
344367
"description": "A CosmosDB Cassandra API data source/sink",

0 commit comments

Comments
 (0)