|
6 | 6 | "_generator": { |
7 | 7 | "name": "bicep", |
8 | 8 | "version": "0.36.1.42791", |
9 | | - "templateHash": "1266095135796943159" |
| 9 | + "templateHash": "4273186265838174664" |
10 | 10 | } |
11 | 11 | }, |
12 | 12 | "definitions": { |
|
55937 | 55937 | "logAnalyticsWorkspaceResourceId": { |
55938 | 55938 | "value": "[reference('logAnalyticsWorkspace').outputs.resourceId.value]" |
55939 | 55939 | }, |
55940 | | - "userObjectId": { |
55941 | | - "value": "[parameters('userObjectId')]" |
55942 | | - }, |
55943 | 55940 | "roleAssignments": { |
55944 | | - "value": "[union(if(empty(parameters('userObjectId')), createArray(), createArray(createObject('principalId', parameters('userObjectId'), 'principalType', 'User', 'roleDefinitionIdOrName', 'Search Index Data Contributor'))), createArray(createObject('principalId', reference('cognitiveServices').outputs.aiServicesSystemAssignedMIPrincipalId.value, 'principalType', 'ServicePrincipal', 'roleDefinitionIdOrName', 'Search Index Data Contributor'), createObject('principalId', reference('cognitiveServices').outputs.aiServicesSystemAssignedMIPrincipalId.value, 'principalType', 'ServicePrincipal', 'roleDefinitionIdOrName', 'Search Service Contributor')))]" |
| 55941 | + "value": "[union(if(empty(parameters('userObjectId')), createArray(), createArray(createObject('principalId', parameters('userObjectId'), 'principalType', 'User', 'roleDefinitionIdOrName', 'Search Index Data Contributor'), createObject('principalId', parameters('userObjectId'), 'principalType', 'User', 'roleDefinitionIdOrName', 'Search Index Data Reader'))), createArray(createObject('principalId', reference('cognitiveServices').outputs.aiServicesSystemAssignedMIPrincipalId.value, 'principalType', 'ServicePrincipal', 'roleDefinitionIdOrName', 'Search Index Data Contributor'), createObject('principalId', reference('cognitiveServices').outputs.aiServicesSystemAssignedMIPrincipalId.value, 'principalType', 'ServicePrincipal', 'roleDefinitionIdOrName', 'Search Service Contributor')))]" |
55945 | 55942 | }, |
55946 | 55943 | "tags": { |
55947 | 55944 | "value": "[variables('allTags')]" |
|
55955 | 55952 | "_generator": { |
55956 | 55953 | "name": "bicep", |
55957 | 55954 | "version": "0.36.1.42791", |
55958 | | - "templateHash": "10624928188153796868" |
| 55955 | + "templateHash": "7886886176219744151" |
55959 | 55956 | } |
55960 | 55957 | }, |
55961 | 55958 | "definitions": { |
|
56080 | 56077 | "description": "Specifies whether network isolation is enabled. This will create a private endpoint for the AI Search resource and link the private DNS zone." |
56081 | 56078 | } |
56082 | 56079 | }, |
56083 | | - "userObjectId": { |
56084 | | - "type": "string", |
56085 | | - "metadata": { |
56086 | | - "description": "Specifies the object id of a Microsoft Entra ID user. In general, this the object id of the system administrator who deploys the Azure resources. This defaults to the deploying user." |
56087 | | - } |
56088 | | - }, |
56089 | 56080 | "roleAssignments": { |
56090 | 56081 | "type": "array", |
56091 | 56082 | "items": { |
|
59181 | 59172 | "replicaCount": { |
59182 | 59173 | "value": 3 |
59183 | 59174 | }, |
59184 | | - "roleAssignments": "[if(empty(parameters('userObjectId')), createObject('value', createArray()), createObject('value', createArray(createObject('principalId', parameters('userObjectId'), 'principalType', 'User', 'roleDefinitionIdOrName', 'Search Index Data Contributor'), createObject('principalId', parameters('userObjectId'), 'principalType', 'User', 'roleDefinitionIdOrName', 'Search Index Data Reader'))))]", |
| 59175 | + "roleAssignments": { |
| 59176 | + "value": "[parameters('roleAssignments')]" |
| 59177 | + }, |
59185 | 59178 | "diagnosticSettings": { |
59186 | 59179 | "value": [ |
59187 | 59180 | { |
|
0 commit comments