Skip to content

Commit

Permalink
Add MongoDbAtlas Source Connector in DataFactory (Azure#10890)
Browse files Browse the repository at this point in the history
* mongodb atlas source

* update

Co-authored-by: Jiaxing Song <jiaxson@microsoft.com>
  • Loading branch information
2 people authored and nitegupt committed Sep 25, 2020
1 parent 74c628c commit 82b8fec
Show file tree
Hide file tree
Showing 3 changed files with 103 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1521,6 +1521,38 @@
"collectionName"
]
},
"MongoDbAtlasCollectionDataset": {
"x-ms-discriminator-value": "MongoDbAtlasCollection",
"description": "The MongoDB Atlas database dataset.",
"type": "object",
"allOf": [
{
"$ref": "#/definitions/Dataset"
}
],
"properties": {
"typeProperties": {
"description": "MongoDB Atlas database dataset properties.",
"x-ms-client-flatten": true,
"$ref": "#/definitions/MongoDbAtlasCollectionDatasetTypeProperties"
}
},
"required": [
"typeProperties"
]
},
"MongoDbAtlasCollectionDatasetTypeProperties": {
"description": "MongoDB Atlas database dataset properties.",
"properties": {
"collection": {
"type": "object",
"description": "The collection name of the MongoDB Atlas database. Type: string (or Expression with resultType string)."
}
},
"required": [
"collection"
]
},
"MongoDbV2CollectionDataset": {
"x-ms-discriminator-value": "MongoDbV2Collection",
"description": "The MongoDB database dataset.",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2042,6 +2042,43 @@
"databaseName"
]
},
"MongoDbAtlasLinkedService": {
"x-ms-discriminator-value": "MongoDbAtlas",
"description": "Linked service for MongoDB Atlas data source.",
"type": "object",
"allOf": [
{
"$ref": "#/definitions/LinkedService"
}
],
"properties": {
"typeProperties": {
"description": "MongoDB Atlas linked service properties.",
"x-ms-client-flatten": true,
"$ref": "#/definitions/MongoDbAtlasLinkedServiceTypeProperties"
}
},
"required": [
"typeProperties"
]
},
"MongoDbAtlasLinkedServiceTypeProperties": {
"description": "MongoDB Atlas linked service properties.",
"properties": {
"connectionString": {
"description": "The MongoDB Atlas connection string. Type: string, SecureString or AzureKeyVaultSecretReference. Type: string, SecureString or AzureKeyVaultSecretReference.",
"type": "object"
},
"database": {
"type": "object",
"description": "The name of the MongoDB Atlas database that you want to access. Type: string (or Expression with resultType string)."
}
},
"required": [
"connectionString",
"database"
]
},
"MongoDbV2LinkedService": {
"x-ms-discriminator-value": "MongoDbV2",
"description": "Linked service for MongoDB data source.",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2770,6 +2770,40 @@
}
}
},
"MongoDbAtlasSource": {
"description": "A copy activity source for a MongoDB Atlas database.",
"type": "object",
"allOf": [
{
"$ref": "#/definitions/CopySource"
}
],
"properties": {
"filter": {
"type": "object",
"description": "Specifies selection filter using query operators. To return all documents in a collection, omit this parameter or pass an empty document ({}). Type: string (or Expression with resultType string)."
},
"cursorMethods": {
"description": "Cursor methods for Mongodb query",
"$ref": "#/definitions/MongoDbCursorMethodsProperties"
},
"batchSize": {
"type": "object",
"description": "Specifies the number of documents to return in each batch of the response from MongoDB Atlas instance. In most cases, modifying the batch size will not affect the user or the application. This property's main purpose is to avoid hit the limitation of response size. Type: integer (or Expression with resultType integer)."
},
"queryTimeout": {
"type": "object",
"description": "Query timeout. Type: string (or Expression with resultType string), pattern: ((\\d+)\\.)?(\\d\\d):(60|([0-5][0-9])):(60|([0-5][0-9]))."
},
"additionalColumns": {
"type": "array",
"description": "Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects).",
"items": {
"$ref": "#/definitions/AdditionalColumns"
}
}
}
},
"MongoDbV2Source": {
"description": "A copy activity source for a MongoDB database.",
"type": "object",
Expand Down

0 comments on commit 82b8fec

Please sign in to comment.