Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Data factory] - Add CosmosDbSqlApi dataset [Don't Merge] #7240

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -1012,6 +1012,38 @@
}
}
},
"CosmosDbSqlApiCollectionDataset": {
"x-ms-discriminator-value": "CosmosDbSqlApiCollection",
"description": "Microsoft Azure CosmosDB (SQL API) Collection dataset.",
"type": "object",
"allOf": [
{
"$ref": "#/definitions/Dataset"
}
],
"properties": {
"typeProperties": {
"description": "CosmosDB (SQL API) Collection dataset properties.",
"x-ms-client-flatten": true,
"$ref": "#/definitions/CosmosDbSqlApiCollectionDatasetTypeProperties"
}
},
"required": [
"typeProperties"
]
},
"CosmosDbSqlApiCollectionDatasetTypeProperties": {
"description": "CosmosDB (SQL API) Collection dataset properties.",
"properties": {
"collectionName": {
"type": "object",
"description": "CosmosDB (SQL API) collection name. Type: string (or Expression with resultType string)."
}
},
"required": [
"collectionName"
]
},
"DocumentDbCollectionDataset": {
"x-ms-discriminator-value": "DocumentDbCollection",
"description": "Microsoft Azure Document Database Collection dataset.",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -482,18 +482,23 @@
"description": "The connection string. Type: string, SecureString or AzureKeyVaultSecretReference.",
"type": "object"
},
"accountEndpoint": {
"description": "The endpoint of the Azure CosmosDB account. Type: string (or Expression with resultType string)",
"type": "object"
},
"database": {
"description": "The name of the database. Type: string (or Expression with resultType string)",
"type": "object"
},
"accountKey": {
"$ref": "../datafactory.json#/definitions/AzureKeyVaultSecretReference",
"description": "The Azure key vault secret reference of accountKey in connection string."
"$ref": "../datafactory.json#/definitions/SecretBase",
"description": "The account key of the Azure CosmosDB account. Type: SecureString or AzureKeyVaultSecretReference."
},
"encryptedCredential": {
"type": "object",
"description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string)."
}
},
"required": [
"connectionString"
]
}
},
"DynamicsLinkedService": {
"x-ms-discriminator-value": "Dynamics",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1051,6 +1051,33 @@
}
}
},
"CosmosDbSqlApiSource": {
"description": "A copy activity Azure CosmosDB (SQL API) Collection source.",
"type": "object",
"allOf": [
{
"$ref": "#/definitions/CopySource"
}
],
"properties": {
"query": {
"type": "object",
"description": "SQL API query. Type: string (or Expression with resultType string)."
},
"pageSize": {
"type": "object",
"description": "Page size of the result. Type: integer (or Expression with resultType integer)."
},
"preferredRegions": {
"type": "object",
"description": "Preferred regions. Type: array of strings (or Expression with resultType array of strings)."
},
"includeSystemColumns": {
"type": "object",
"description": "Whether includes system columns in result. Type: boolean (or Expression with resultType boolean)."
}
}
},
"DynamicsSource": {
"description": "A copy activity Dynamics source.",
"type": "object",
Expand Down Expand Up @@ -2906,7 +2933,22 @@
},
"writeBehavior": {
"type": "object",
"description": "Describes how to write data to Azure Cosmos DB. Allowed values: insert and upsert."
"description": "Describes how to write data to Azure Cosmos DB. Type: string (or Expression with resultType string). Allowed values: insert and upsert."
}
}
},
"CosmosDbSqlApiSink": {
"description": "A copy activity Azure CosmosDB (SQL API) Collection sink.",
"type": "object",
"allOf": [
{
"$ref": "#/definitions/CopySink"
}
],
"properties": {
"writeBehavior": {
"type": "object",
"description": "Describes how to write data to Azure Cosmos DB. Type: string (or Expression with resultType string). Allowed values: insert and upsert."
}
}
},
Expand Down