|
5 | 5 | "_generator": { |
6 | 6 | "name": "bicep", |
7 | 7 | "version": "0.33.93.31351", |
8 | | - "templateHash": "770098073876871961" |
| 8 | + "templateHash": "126835841607797415" |
9 | 9 | } |
10 | 10 | }, |
11 | 11 | "parameters": { |
|
366 | 366 | "_generator": { |
367 | 367 | "name": "bicep", |
368 | 368 | "version": "0.33.93.31351", |
369 | | - "templateHash": "16302841985782460131" |
| 369 | + "templateHash": "16925264059668982974" |
370 | 370 | } |
371 | 371 | }, |
372 | 372 | "parameters": { |
|
408 | 408 | "storageName": "[format('{0}hubstorage', parameters('solutionName'))]", |
409 | 409 | "storageSkuName": "Standard_LRS", |
410 | 410 | "aiServicesName": "[format('{0}-aiservices', parameters('solutionName'))]", |
411 | | - "aiServicesName_cu": "[format('{0}-aiservices_cu', parameters('solutionName'))]", |
| 411 | + "aiServicesName_cu": "[format('{0}-aiservices-cu', parameters('solutionName'))]", |
412 | 412 | "location_cu": "[parameters('cuLocation')]", |
| 413 | + "workspaceName": "[format('{0}-workspace', parameters('solutionName'))]", |
413 | 414 | "applicationInsightsName": "[format('{0}-appinsights', parameters('solutionName'))]", |
414 | 415 | "containerRegistryName": "[format('{0}acr', parameters('solutionName'))]", |
415 | 416 | "keyvaultName": "[format('{0}-kv', parameters('solutionName'))]", |
|
512 | 513 | "[resourceId('Microsoft.Search/searchServices', variables('aiSearchName'))]" |
513 | 514 | ] |
514 | 515 | }, |
| 516 | + { |
| 517 | + "type": "Microsoft.OperationalInsights/workspaces", |
| 518 | + "apiVersion": "2023-09-01", |
| 519 | + "name": "[variables('workspaceName')]", |
| 520 | + "location": "[variables('location')]", |
| 521 | + "tags": {}, |
| 522 | + "properties": { |
| 523 | + "retentionInDays": 30, |
| 524 | + "sku": { |
| 525 | + "name": "PerGB2018" |
| 526 | + } |
| 527 | + } |
| 528 | + }, |
515 | 529 | { |
516 | 530 | "type": "Microsoft.Insights/components", |
517 | 531 | "apiVersion": "2020-02-02", |
|
520 | 534 | "kind": "web", |
521 | 535 | "properties": { |
522 | 536 | "Application_Type": "web", |
523 | | - "DisableIpMasking": false, |
524 | | - "DisableLocalAuth": false, |
525 | | - "Flow_Type": "Bluefield", |
526 | | - "ForceCustomerStorageForProfiler": false, |
527 | | - "ImmediatePurgeDataOn30Days": true, |
528 | | - "IngestionMode": "ApplicationInsights", |
529 | 537 | "publicNetworkAccessForIngestion": "Enabled", |
530 | 538 | "publicNetworkAccessForQuery": "Disabled", |
531 | | - "Request_Source": "rest" |
532 | | - } |
| 539 | + "WorkspaceResourceId": "[resourceId('Microsoft.OperationalInsights/workspaces', variables('workspaceName'))]" |
| 540 | + }, |
| 541 | + "dependsOn": [ |
| 542 | + "[resourceId('Microsoft.OperationalInsights/workspaces', variables('workspaceName'))]" |
| 543 | + ] |
533 | 544 | }, |
534 | 545 | { |
535 | 546 | "type": "Microsoft.ContainerRegistry/registries", |
|
580 | 591 | }, |
581 | 592 | { |
582 | 593 | "type": "Microsoft.CognitiveServices/accounts", |
583 | | - "apiVersion": "2021-10-01", |
| 594 | + "apiVersion": "2024-04-01-preview", |
584 | 595 | "name": "[variables('aiServicesName_cu')]", |
585 | 596 | "location": "[variables('location_cu')]", |
586 | 597 | "sku": { |
587 | 598 | "name": "S0" |
588 | 599 | }, |
589 | 600 | "kind": "AIServices", |
590 | 601 | "properties": { |
| 602 | + "customSubDomainName": "[variables('aiServicesName_cu')]", |
591 | 603 | "apiProperties": { |
592 | 604 | "statisticsEnabled": false |
593 | 605 | } |
|
853 | 865 | "apiVersion": "2021-11-01-preview", |
854 | 866 | "name": "[format('{0}/{1}', parameters('keyVaultName'), 'AZURE-OPENAI-CU-ENDPOINT')]", |
855 | 867 | "properties": { |
856 | | - "value": "[reference(resourceId('Microsoft.CognitiveServices/accounts', variables('aiServicesName_cu')), '2021-10-01').endpoint]" |
| 868 | + "value": "[reference(resourceId('Microsoft.CognitiveServices/accounts', variables('aiServicesName_cu')), '2024-04-01-preview').endpoint]" |
857 | 869 | }, |
858 | 870 | "dependsOn": [ |
859 | 871 | "[resourceId('Microsoft.CognitiveServices/accounts', variables('aiServicesName_cu'))]" |
|
864 | 876 | "apiVersion": "2021-11-01-preview", |
865 | 877 | "name": "[format('{0}/{1}', parameters('keyVaultName'), 'AZURE-OPENAI-CU-KEY')]", |
866 | 878 | "properties": { |
867 | | - "value": "[listKeys(resourceId('Microsoft.CognitiveServices/accounts', variables('aiServicesName_cu')), '2021-10-01').key1]" |
| 879 | + "value": "[listKeys(resourceId('Microsoft.CognitiveServices/accounts', variables('aiServicesName_cu')), '2024-04-01-preview').key1]" |
868 | 880 | }, |
869 | 881 | "dependsOn": [ |
870 | 882 | "[resourceId('Microsoft.CognitiveServices/accounts', variables('aiServicesName_cu'))]" |
|
0 commit comments