Skip to content
This repository was archived by the owner on Dec 9, 2024. It is now read-only.

Commit 237d432

Browse files
authored
fix: adding cosmosDBIn as an accepted trigger (#453)
1 parent 1f98ec3 commit 237d432

File tree

1 file changed

+72
-1
lines changed

1 file changed

+72
-1
lines changed

src/shared/bindings.json

Lines changed: 72 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1247,6 +1247,77 @@
12471247
}
12481248
]
12491249
},
1250+
{
1251+
"type": "cosmosDB",
1252+
"displayName": "$cosmosDBIn_displayName",
1253+
"direction": "in",
1254+
"enabledInTryMode": false,
1255+
"documentation": "$content=Documentation\\cosmosDBIn.md",
1256+
"settings": [
1257+
{
1258+
"name": "name",
1259+
"value": "string",
1260+
"defaultValue": "inputDocument",
1261+
"required": true,
1262+
"label": "$cosmosDBIn_name_label",
1263+
"help": "$cosmosDBIn_name_help",
1264+
"validators": [
1265+
{
1266+
"expression": "^[a-zA-Z][a-zA-Z0-9]{0,127}$",
1267+
"errorText": "[variables('parameterName')]"
1268+
}
1269+
]
1270+
},
1271+
{
1272+
"name": "databaseName",
1273+
"value": "string",
1274+
"defaultValue": "inDatabase",
1275+
"required": true,
1276+
"label": "$cosmosDBIn_databaseName_label",
1277+
"help": "$cosmosDBIn_databaseName_help"
1278+
},
1279+
{
1280+
"name": "collectionName",
1281+
"value": "string",
1282+
"defaultValue": "MyCollection",
1283+
"required": true,
1284+
"label": "$cosmosDBIn_collectionName_label",
1285+
"help": "$cosmosDBIn_collectionName_help"
1286+
},
1287+
{
1288+
"name": "connectionStringSetting",
1289+
"value": "string",
1290+
"resource": "CosmosDB",
1291+
"required": true,
1292+
"label": "$cosmosDBIn_connection_label",
1293+
"help": "$cosmosDBIn_connection_help",
1294+
"placeholder": "[variables('selectConnection')]"
1295+
},
1296+
{
1297+
"name": "id",
1298+
"value": "string",
1299+
"defaultValue": "",
1300+
"required": false,
1301+
"label": "$cosmosDBIn_id_label",
1302+
"help": "$cosmosDBIn_id_help"
1303+
},
1304+
{
1305+
"name": "partitionKey",
1306+
"value": "string",
1307+
"required": false,
1308+
"label": "$cosmosDB_partitionKey_label",
1309+
"help": "$cosmosDBIn_partitionKey_help"
1310+
},
1311+
{
1312+
"name": "sqlQuery",
1313+
"value": "string",
1314+
"defaultValue": "",
1315+
"required": false,
1316+
"label": "$cosmosDBIn_sqlQuery_label",
1317+
"help": "$cosmosDBIn_sqlQuery_help"
1318+
}
1319+
]
1320+
},
12501321
{
12511322
"type": "cosmosDB",
12521323
"displayName": "$cosmosDBOut_displayName",
@@ -1746,4 +1817,4 @@
17461817
]
17471818
}
17481819
]
1749-
}
1820+
}

0 commit comments

Comments
 (0)