|
125 | 125 | "roleDefinitionId": "[concat('/subscriptions/', subscription().subscriptionId, '/providers/Microsoft.Authorization/roleDefinitions/', '2a2b9908-6ea1-4ae2-8e65-a410df84e7d1')]", |
126 | 126 | "roleScope": "[concat('/subscriptions/', subscription().subscriptionId, '/resourceGroups/', parameters('StorageAccountResourceGroupName'), '/providers/Microsoft.Storage/storageAccounts/', parameters('StorageAccountName'))]", |
127 | 127 | "DLQProcessor_resourceId": "[resourceId('Microsoft.Web/sites/', parameters('sites_DLQProcessor_name'))]", |
128 | | - "blobreaderconsumer_respurceId": "[resourceId(variables('resourceGroupName'),'Microsoft.Web/sites/', parameters('sites_blobreaderconsumer_name'))]", |
| 128 | + "blobreaderconsumer_resourceId": "[resourceId(variables('resourceGroupName'),'Microsoft.Web/sites/', parameters('sites_blobreaderconsumer_name'))]", |
129 | 129 | "BlobReader_resourceId": "[resourceId(variables('resourceGroupName'),'Microsoft.Web/sites/', parameters('sites_BlobReader_name'))]", |
130 | 130 | "eventhub_resourceId": "[resourceId('Microsoft.EventHub/namespaces/eventhubs', parameters('namespaces_BlobReaderNamespace_name'), parameters('eventhubs_blobreadereventhub_name'))]", |
131 | 131 | "TABLE_NAME": "FileOffsetMap", |
|
140 | 140 | "resourceGroup": "[parameters('StorageAccountResourceGroupName')]", |
141 | 141 | "dependsOn": [ |
142 | 142 | "[variables('DLQProcessor_resourceId')]", |
143 | | - "[variables('blobreaderconsumer_respurceId')]" |
| 143 | + "[variables('blobreaderconsumer_resourceId')]" |
144 | 144 | ], |
145 | 145 | "properties": { |
146 | 146 | "mode": "Incremental", |
|
354 | 354 | "http20Enabled": true, |
355 | 355 | "minTlsVersion": "1.2", |
356 | 356 | "scmMinTlsVersion": "1.2", |
| 357 | + "netFrameworkVersion": "v6.0", |
357 | 358 | "appSettings": [ |
358 | 359 | { |
359 | 360 | "name": "FUNCTIONS_EXTENSION_VERSION", |
|
389 | 390 | }, |
390 | 391 | { |
391 | 392 | "name": "WEBSITE_RUN_FROM_PACKAGE", |
392 | | - "value": "https://appdev-cloudformation-templates.s3.amazonaws.com/AzureBlobReader/taskproducer4.1.0.zip" |
| 393 | + "value": 1 |
393 | 394 | }, |
394 | 395 | { |
395 | 396 | "name": "TABLE_NAME", |
|
409 | 410 | } |
410 | 411 | } |
411 | 412 | }, |
| 413 | + "resources": [ |
| 414 | + { |
| 415 | + "type": "extensions", |
| 416 | + "apiVersion": "2021-02-01", |
| 417 | + "name": "ZipDeploy", |
| 418 | + "dependsOn": [ |
| 419 | + "[variables('BlobReader_resourceId')]" |
| 420 | + ], |
| 421 | + "properties": { |
| 422 | + "packageUri": "https://appdev-cloudformation-templates.s3.amazonaws.com/AzureBlobReader/taskproducer4.1.0.zip", |
| 423 | + "appOffline": true |
| 424 | + } |
| 425 | + } |
| 426 | + ], |
412 | 427 | "dependsOn": [ |
413 | 428 | "[resourceId('Microsoft.Web/serverfarms', parameters('serverfarms_BlobReaderPlan_name'))]", |
414 | 429 | "[resourceId('Microsoft.Insights/components', parameters('appInsightsName'))]" |
|
435 | 450 | "http20Enabled": true, |
436 | 451 | "minTlsVersion": "1.2", |
437 | 452 | "scmMinTlsVersion": "1.2", |
| 453 | + "netFrameworkVersion": "v6.0", |
438 | 454 | "appSettings": [ |
439 | 455 | { |
440 | 456 | "name": "FUNCTIONS_EXTENSION_VERSION", |
|
479 | 495 | }, |
480 | 496 | { |
481 | 497 | "name": "WEBSITE_RUN_FROM_PACKAGE", |
482 | | - "value": "https://appdev-cloudformation-templates.s3.amazonaws.com/AzureBlobReader/taskconsumer4.1.0.zip" |
| 498 | + "value": 1 |
483 | 499 | } |
484 | 500 | ], |
485 | 501 | "cors": { |
486 | 502 | "allowedOrigins": ["https://portal.azure.com"] |
487 | 503 | } |
488 | 504 | } |
489 | 505 | }, |
| 506 | + "resources": [ |
| 507 | + { |
| 508 | + "type": "extensions", |
| 509 | + "apiVersion": "2021-02-01", |
| 510 | + "name": "ZipDeploy", |
| 511 | + "dependsOn": [ |
| 512 | + "[variables('blobreaderconsumer_resourceId')]" |
| 513 | + ], |
| 514 | + "properties": { |
| 515 | + "packageUri": "https://appdev-cloudformation-templates.s3.amazonaws.com/AzureBlobReader/taskconsumer4.1.0.zip", |
| 516 | + "appOffline": true |
| 517 | + } |
| 518 | + } |
| 519 | + ], |
490 | 520 | "dependsOn": [ |
491 | 521 | "[resourceId('Microsoft.Web/serverfarms', parameters('serverfarms_ConsumerPlan_name'))]", |
492 | 522 | "[resourceId('Microsoft.Insights/components', parameters('appInsightsName'))]", |
|
514 | 544 | "http20Enabled": true, |
515 | 545 | "minTlsVersion": "1.2", |
516 | 546 | "scmMinTlsVersion": "1.2", |
| 547 | + "netFrameworkVersion": "v6.0", |
517 | 548 | "appSettings": [ |
518 | 549 | { |
519 | 550 | "name": "FUNCTIONS_EXTENSION_VERSION", |
|
553 | 584 | }, |
554 | 585 | { |
555 | 586 | "name": "WEBSITE_RUN_FROM_PACKAGE", |
556 | | - "value": "https://appdev-cloudformation-templates.s3.amazonaws.com/AzureBlobReader/dlqprocessor4.1.0.zip" |
| 587 | + "value": 1 |
557 | 588 | }, |
558 | 589 | { |
559 | 590 | "name": "WEBSITE_CONTENTAZUREFILECONNECTIONSTRING", |
|
569 | 600 | } |
570 | 601 | } |
571 | 602 | }, |
| 603 | + "resources": [ |
| 604 | + { |
| 605 | + "type": "extensions", |
| 606 | + "apiVersion": "2021-02-01", |
| 607 | + "name": "ZipDeploy", |
| 608 | + "dependsOn": [ |
| 609 | + "[variables('DLQProcessor_resourceId')]" |
| 610 | + ], |
| 611 | + "properties": { |
| 612 | + "packageUri": "https://appdev-cloudformation-templates.s3.amazonaws.com/AzureBlobReader/dlqprocessor4.1.0.zip", |
| 613 | + "appOffline": true |
| 614 | + } |
| 615 | + } |
| 616 | + ], |
572 | 617 | "dependsOn": [ |
573 | 618 | "[resourceId('Microsoft.Web/serverfarms', parameters('serverfarms_ConsumerPlan_name'))]", |
574 | 619 | "[resourceId('Microsoft.Insights/components', parameters('appInsightsName'))]", |
|
0 commit comments