|
5 | 5 | "metadata": { |
6 | 6 | "_generator": { |
7 | 7 | "name": "bicep", |
8 | | - "version": "0.33.93.31351", |
9 | | - "templateHash": "10984448815531393873" |
| 8 | + "version": "0.34.44.8038", |
| 9 | + "templateHash": "4820379854816397418" |
10 | 10 | } |
11 | 11 | }, |
12 | 12 | "definitions": { |
|
109 | 109 | "faultToleranceEnabled": { |
110 | 110 | "type": "bool", |
111 | 111 | "nullable": true |
| 112 | + }, |
| 113 | + "diskMountPoint": { |
| 114 | + "type": "string", |
| 115 | + "nullable": true |
112 | 116 | } |
113 | 117 | }, |
114 | 118 | "nullable": true |
|
223 | 227 | } |
224 | 228 | } |
225 | 229 | }, |
| 230 | + "_1.Features": { |
| 231 | + "type": "object", |
| 232 | + "properties": {}, |
| 233 | + "additionalProperties": { |
| 234 | + "$ref": "#/definitions/_1.InstanceFeature", |
| 235 | + "metadata": { |
| 236 | + "description": "Object of features" |
| 237 | + } |
| 238 | + }, |
| 239 | + "metadata": { |
| 240 | + "description": "AIO Instance features.", |
| 241 | + "__bicep_imported_from!": { |
| 242 | + "sourceTemplate": "types.bicep" |
| 243 | + } |
| 244 | + } |
| 245 | + }, |
| 246 | + "_1.InstanceFeature": { |
| 247 | + "type": "object", |
| 248 | + "properties": { |
| 249 | + "mode": { |
| 250 | + "$ref": "#/definitions/_1.InstanceFeatureMode" |
| 251 | + }, |
| 252 | + "settings": { |
| 253 | + "type": "object", |
| 254 | + "properties": {}, |
| 255 | + "additionalProperties": { |
| 256 | + "$ref": "#/definitions/_1.InstanceFeatureSettingValue" |
| 257 | + } |
| 258 | + } |
| 259 | + }, |
| 260 | + "metadata": { |
| 261 | + "description": "Individual feature object within the AIO instance.", |
| 262 | + "__bicep_imported_from!": { |
| 263 | + "sourceTemplate": "types.bicep" |
| 264 | + } |
| 265 | + } |
| 266 | + }, |
| 267 | + "_1.InstanceFeatureMode": { |
| 268 | + "type": "string", |
| 269 | + "allowedValues": [ |
| 270 | + "Disabled", |
| 271 | + "Preview", |
| 272 | + "Stable" |
| 273 | + ], |
| 274 | + "metadata": { |
| 275 | + "description": "The mode of the AIO instance feature. Either \"Stable\", \"Preview\" or \"Disabled\".", |
| 276 | + "__bicep_imported_from!": { |
| 277 | + "sourceTemplate": "types.bicep" |
| 278 | + } |
| 279 | + } |
| 280 | + }, |
| 281 | + "_1.InstanceFeatureSettingValue": { |
| 282 | + "type": "string", |
| 283 | + "allowedValues": [ |
| 284 | + "Disabled", |
| 285 | + "Enabled" |
| 286 | + ], |
| 287 | + "metadata": { |
| 288 | + "description": "The setting value of the AIO instance feature. Either \"Enabled\" or \"Disabled\".", |
| 289 | + "__bicep_imported_from!": { |
| 290 | + "sourceTemplate": "types.bicep" |
| 291 | + } |
| 292 | + } |
| 293 | + }, |
226 | 294 | "_1.SelfSigned": { |
227 | 295 | "type": "object", |
228 | 296 | "properties": { |
|
371 | 439 | "description": "Schema Registry Id used to reference the namespace to be passed in to the to be passed to Instance." |
372 | 440 | } |
373 | 441 | }, |
| 442 | + "features": { |
| 443 | + "$ref": "#/definitions/_1.Features", |
| 444 | + "nullable": true, |
| 445 | + "metadata": { |
| 446 | + "description": "AIO Instance features." |
| 447 | + } |
| 448 | + }, |
374 | 449 | "brokerConfig": { |
375 | 450 | "$ref": "#/definitions/_1.BrokerConfig", |
376 | 451 | "nullable": true, |
|
410 | 485 | } |
411 | 486 | }, |
412 | 487 | "VERSIONS": { |
413 | | - "iotOperations": "1.0.34" |
| 488 | + "iotOperations": "1.1.19" |
414 | 489 | }, |
415 | 490 | "TRAINS": { |
416 | 491 | "iotOperations": "stable" |
417 | 492 | }, |
418 | 493 | "MQTT_SETTINGS": { |
419 | 494 | "brokerListenerServiceName": "aio-broker", |
420 | 495 | "brokerListenerPort": 18883, |
| 496 | + "brokerListenerHost": "[format('aio-broker.{0}', variables('AIO_EXTENSION_SCOPE').cluster.releaseNamespace)]", |
421 | 497 | "serviceAccountAudience": "aio-internal", |
422 | 498 | "selfSignedIssuerName": "[format('{0}-aio-certificate-issuer', parameters('clusterNamespace'))]", |
423 | 499 | "selfSignedConfigMapName": "[format('{0}-aio-ca-trust-bundle', parameters('clusterNamespace'))]" |
|
437 | 513 | "connectors.values.mqttBroker.serviceAccountTokenAudience": "[variables('MQTT_SETTINGS').serviceAccountAudience]", |
438 | 514 | "connectors.values.opcPlcSimulation.deploy": "false", |
439 | 515 | "connectors.values.opcPlcSimulation.autoAcceptUntrustedCertificates": "false", |
440 | | - "connectors.values.discoveryHandler.enabled": "false", |
441 | 516 | "adr.values.Microsoft.CustomLocation.ServiceAccount": "default", |
442 | 517 | "akri.values.webhookConfiguration.enabled": "false", |
443 | 518 | "akri.values.certManagerWebhookCertificate.enabled": "false", |
|
541 | 616 | }, |
542 | 617 | "aioInstance": { |
543 | 618 | "type": "Microsoft.IoTOperations/instances", |
544 | | - "apiVersion": "2024-11-01", |
| 619 | + "apiVersion": "2025-04-01", |
545 | 620 | "name": "[format('aio-{0}', coalesce(tryGet(parameters('advancedConfig'), 'resourceSuffix'), take(uniqueString(resourceGroup().id, parameters('clusterName'), parameters('clusterNamespace')), 5)))]", |
546 | 621 | "location": "[parameters('clusterLocation')]", |
547 | 622 | "extendedLocation": { |
548 | 623 | "name": "[resourceId('Microsoft.ExtendedLocation/customLocations', parameters('customLocationName'))]", |
549 | 624 | "type": "CustomLocation" |
550 | 625 | }, |
551 | 626 | "identity": "[if(empty(parameters('userAssignedIdentity')), createObject('type', 'None'), createObject('type', 'UserAssigned', 'userAssignedIdentities', createObject(format('{0}', parameters('userAssignedIdentity')), createObject())))]", |
552 | | - "properties": { |
553 | | - "description": "An AIO instance.", |
554 | | - "schemaRegistryRef": { |
555 | | - "resourceId": "[parameters('schemaRegistryId')]" |
556 | | - } |
557 | | - }, |
| 627 | + "properties": "[union(createObject('description', 'An AIO instance.', 'schemaRegistryRef', createObject('resourceId', parameters('schemaRegistryId'))), if(equals(parameters('features'), null()), createObject(), createObject('features', parameters('features'))))]", |
558 | 628 | "dependsOn": [ |
559 | 629 | "customLocation" |
560 | 630 | ] |
561 | 631 | }, |
562 | 632 | "broker": { |
563 | 633 | "type": "Microsoft.IoTOperations/instances/brokers", |
564 | | - "apiVersion": "2024-11-01", |
| 634 | + "apiVersion": "2025-04-01", |
565 | 635 | "name": "[format('{0}/{1}', format('aio-{0}', coalesce(tryGet(parameters('advancedConfig'), 'resourceSuffix'), take(uniqueString(resourceGroup().id, parameters('clusterName'), parameters('clusterNamespace')), 5))), 'default')]", |
566 | 636 | "extendedLocation": { |
567 | 637 | "name": "[resourceId('Microsoft.ExtendedLocation/customLocations', parameters('customLocationName'))]", |
|
591 | 661 | }, |
592 | 662 | "broker_authn": { |
593 | 663 | "type": "Microsoft.IoTOperations/instances/brokers/authentications", |
594 | | - "apiVersion": "2024-11-01", |
| 664 | + "apiVersion": "2025-04-01", |
595 | 665 | "name": "[format('{0}/{1}/{2}', format('aio-{0}', coalesce(tryGet(parameters('advancedConfig'), 'resourceSuffix'), take(uniqueString(resourceGroup().id, parameters('clusterName'), parameters('clusterNamespace')), 5))), 'default', 'default')]", |
596 | 666 | "extendedLocation": { |
597 | 667 | "name": "[resourceId('Microsoft.ExtendedLocation/customLocations', parameters('customLocationName'))]", |
|
616 | 686 | }, |
617 | 687 | "broker_listener": { |
618 | 688 | "type": "Microsoft.IoTOperations/instances/brokers/listeners", |
619 | | - "apiVersion": "2024-11-01", |
| 689 | + "apiVersion": "2025-04-01", |
620 | 690 | "name": "[format('{0}/{1}/{2}', format('aio-{0}', coalesce(tryGet(parameters('advancedConfig'), 'resourceSuffix'), take(uniqueString(resourceGroup().id, parameters('clusterName'), parameters('clusterNamespace')), 5))), 'default', 'default')]", |
621 | 691 | "extendedLocation": { |
622 | 692 | "name": "[resourceId('Microsoft.ExtendedLocation/customLocations', parameters('customLocationName'))]", |
|
650 | 720 | }, |
651 | 721 | "dataflow_profile": { |
652 | 722 | "type": "Microsoft.IoTOperations/instances/dataflowProfiles", |
653 | | - "apiVersion": "2024-11-01", |
| 723 | + "apiVersion": "2025-04-01", |
654 | 724 | "name": "[format('{0}/{1}', format('aio-{0}', coalesce(tryGet(parameters('advancedConfig'), 'resourceSuffix'), take(uniqueString(resourceGroup().id, parameters('clusterName'), parameters('clusterNamespace')), 5))), 'default')]", |
655 | 725 | "extendedLocation": { |
656 | 726 | "name": "[resourceId('Microsoft.ExtendedLocation/customLocations', parameters('customLocationName'))]", |
|
666 | 736 | }, |
667 | 737 | "dataflow_endpoint": { |
668 | 738 | "type": "Microsoft.IoTOperations/instances/dataflowEndpoints", |
669 | | - "apiVersion": "2024-11-01", |
| 739 | + "apiVersion": "2025-04-01", |
670 | 740 | "name": "[format('{0}/{1}', format('aio-{0}', coalesce(tryGet(parameters('advancedConfig'), 'resourceSuffix'), take(uniqueString(resourceGroup().id, parameters('clusterName'), parameters('clusterNamespace')), 5))), 'default')]", |
671 | 741 | "extendedLocation": { |
672 | 742 | "name": "[resourceId('Microsoft.ExtendedLocation/customLocations', parameters('customLocationName'))]", |
|
703 | 773 | "version": "[reference('aio_extension').version]", |
704 | 774 | "releaseTrain": "[reference('aio_extension').releaseTrain]", |
705 | 775 | "config": { |
706 | | - "brokerListenerName": "[variables('MQTT_SETTINGS').brokerListenerServiceName]", |
707 | | - "brokerListenerPort": "[variables('MQTT_SETTINGS').brokerListenerPort]" |
| 776 | + "trustConfig": "[parameters('trustConfig')]" |
708 | 777 | }, |
709 | 778 | "identityPrincipalId": "[reference('aio_extension', '2023-05-01', 'full').identity.principalId]" |
710 | 779 | } |
|
717 | 786 | "name": "default", |
718 | 787 | "listener": "default", |
719 | 788 | "authn": "default", |
720 | | - "settings": "[variables('BROKER_CONFIG')]" |
| 789 | + "settings": "[shallowMerge(createArray(variables('BROKER_CONFIG'), variables('MQTT_SETTINGS')))]" |
721 | 790 | } |
722 | 791 | } |
723 | 792 | }, |
|
0 commit comments