|
73 | 73 | },
|
74 | 74 | {
|
75 | 75 | "$ref": "#/definitions/sendGrid"
|
| 76 | + }, |
| 77 | + { |
| 78 | + "$ref": "#/definitions/mobileTable" |
| 79 | + }, |
| 80 | + { |
| 81 | + "$ref": "#/definitions/documentDB" |
76 | 82 | }
|
77 | 83 | ]
|
78 | 84 | }
|
|
94 | 100 | "table",
|
95 | 101 | "notificationHub",
|
96 | 102 | "twilioSms",
|
97 |
| - "sendGrid" |
| 103 | + "sendGrid", |
| 104 | + "mobileTable", |
| 105 | + "documentDB" |
98 | 106 | ]
|
99 | 107 | },
|
100 | 108 | "serviceBusTrigger": {
|
|
264 | 272 | }
|
265 | 273 | ]
|
266 | 274 | },
|
| 275 | + "mobileTable": { |
| 276 | + "properties": { |
| 277 | + "type": { |
| 278 | + "type": "string", |
| 279 | + "pattern": "mobileTable" |
| 280 | + }, |
| 281 | + "tableName": { |
| 282 | + "type": "string", |
| 283 | + "description": "This is the name of the table within your Mobile App to which data will be written." |
| 284 | + }, |
| 285 | + "connection": { |
| 286 | + "type": "string", |
| 287 | + "description": "This is the app setting name that specifies the URL of your Mobile App." |
| 288 | + }, |
| 289 | + "apiKey": { |
| 290 | + "type": "string", |
| 291 | + "description": "This is app setting name that specifies the API Key for your Mobile App." |
| 292 | + } |
| 293 | + }, |
| 294 | + "oneOf": [ |
| 295 | + { |
| 296 | + "$ref": "#/definitions/mobileTableInputBinding" |
| 297 | + }, |
| 298 | + { |
| 299 | + "$ref": "#/definitions/mobileTableOutputBinding" |
| 300 | + } |
| 301 | + ] |
| 302 | + }, |
| 303 | + "mobileTableInputBinding": { |
| 304 | + "properties": { |
| 305 | + "id": { |
| 306 | + "type": "string", |
| 307 | + "description": "This is the id for the record to retrieve." |
| 308 | + } |
| 309 | + }, |
| 310 | + "allOf": [ |
| 311 | + { |
| 312 | + "$ref": "#/definitions/inputBinding" |
| 313 | + } |
| 314 | + ] |
| 315 | + }, |
| 316 | + "mobileTableOutputBinding": { |
| 317 | + "allOf": [ |
| 318 | + { |
| 319 | + "$ref": "#/definitions/outputBinding" |
| 320 | + } |
| 321 | + ] |
| 322 | + }, |
| 323 | + "documentDB": { |
| 324 | + "properties": { |
| 325 | + "type": { |
| 326 | + "type": "string", |
| 327 | + "pattern": "documentDB" |
| 328 | + }, |
| 329 | + "connection": { |
| 330 | + "type": "string", |
| 331 | + "description": "This is the connection string for your DocumentDB account." |
| 332 | + }, |
| 333 | + "databaseName": { |
| 334 | + "type": "string", |
| 335 | + "description": "This is the name of the database within your DocumentDB account to which data will be written." |
| 336 | + }, |
| 337 | + "collectionName": { |
| 338 | + "type": "string", |
| 339 | + "description": "This is the name of the collection within your database to which data will be written." |
| 340 | + } |
| 341 | + }, |
| 342 | + "oneOf": [ |
| 343 | + { |
| 344 | + "$ref": "#/definitions/documentDBInputBinding" |
| 345 | + }, |
| 346 | + { |
| 347 | + "$ref": "#/definitions/documentDBOutputBinding" |
| 348 | + } |
| 349 | + ] |
| 350 | + }, |
| 351 | + "documentDBInputBinding": { |
| 352 | + "allOf": [ |
| 353 | + { |
| 354 | + "$ref": "#/definitions/inputBinding" |
| 355 | + } |
| 356 | + ] |
| 357 | + }, |
| 358 | + "documentDBOutputBinding": { |
| 359 | + "properties": { |
| 360 | + "createIfNotExists": { |
| 361 | + "type": "boolean", |
| 362 | + "description": "When true, your database and collection will be created automatically." |
| 363 | + } |
| 364 | + }, |
| 365 | + "allOf": [ |
| 366 | + { |
| 367 | + "$ref": "#/definitions/outputBinding" |
| 368 | + } |
| 369 | + ] |
| 370 | + }, |
267 | 371 | "table": {
|
268 | 372 | "properties": {
|
269 | 373 | "type": {
|
|
292 | 396 | "$ref": "#/definitions/tableInputBinding"
|
293 | 397 | },
|
294 | 398 | {
|
295 |
| - "$ref": "#/definitions/tableOutputBinding" |
| 399 | + "$ref": "#/definitions/tableOutputBinding" |
296 | 400 | }
|
297 | 401 | ]
|
298 | 402 | },
|
|
313 | 417 | }
|
314 | 418 | ]
|
315 | 419 | },
|
316 |
| - "tableOutputBinding": { |
| 420 | + "tableOutputBinding": { |
317 | 421 | "allOf": [
|
318 | 422 | {
|
319 | 423 | "$ref": "#/definitions/outputBinding"
|
|
0 commit comments