Skip to content

Commit 0e73fce

Browse files
Merge pull request #264048 from anthonychu/patch-22
[Container Apps] Fix errors in event driven job example
2 parents 32caac6 + 44d1780 commit 0e73fce

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

articles/container-apps/jobs.md

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -262,14 +262,18 @@ The following example Azure Resource Manager template creates an event-driven jo
262262
"properties": {
263263
"configuration": {
264264
"eventTriggerConfig": {
265-
"maxExecutions": 10,
266-
"minExecutions": 0,
267265
"scale": {
266+
"maxExecutions": 10,
267+
"minExecutions": 0,
268+
"pollingInterval": 15,
268269
"rules": [
269270
{
270-
"auth": {
271-
"connection": "connection-string-secret"
272-
},
271+
"auth": [
272+
{
273+
"triggerParameter": "connection",
274+
"secretRef": "connection-string-secret"
275+
}
276+
],
273277
"metadata": {
274278
"accountName": "mystorage",
275279
"queueLength": 1,
@@ -278,7 +282,7 @@ The following example Azure Resource Manager template creates an event-driven jo
278282
"name": "queue",
279283
"type": "azure-queue"
280284
}
281-
],
285+
]
282286
}
283287
},
284288
"replicaRetryLimit": 0,

0 commit comments

Comments
 (0)