You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 27, 2025. It is now read-only.
@description('Role definitions for various roles that will be assigned at deployment time. Learn more: https://learn.microsoft.com/en-us/azure/role-based-access-control/built-in-roles')
12
+
varroleDefinitions = [
13
+
{
14
+
id: 'ba92f5b4-2d11-453d-a403-e96b0029c9fe'// Storage Blob Data Contributor Role
15
+
}
16
+
{
17
+
id: 'b24988ac-6180-42a0-ab88-20f7382dd24c'// AI Search Contributor Role
18
+
}
19
+
{
20
+
id: '8ebe5a00-799e-43f5-93ac-243d3dce84a7'// AI Search Index Data Contributor Role
21
+
}
22
+
{
23
+
id: '1407120a-92aa-4202-b7e9-c0e197c71c8f'// AI Search Index Data Reader Role
Copy file name to clipboardExpand all lines: infra/main.bicep
+39-51Lines changed: 39 additions & 51 deletions
Original file line number
Diff line number
Diff line change
@@ -72,22 +72,6 @@ var appUrl = 'http://${appHostname}'
72
72
73
73
@description('Role definitions for various roles that will be assigned at deployment time. Learn more: https://learn.microsoft.com/en-us/azure/role-based-access-control/built-in-roles')
74
74
varroles = {
75
-
storageBlobDataContributor: resourceId(
76
-
'Microsoft.Authorization/roleDefinitions',
77
-
'ba92f5b4-2d11-453d-a403-e96b0029c9fe'
78
-
)
79
-
aiSearchContributor: resourceId(
80
-
'Microsoft.Authorization/roleDefinitions',
81
-
'b24988ac-6180-42a0-ab88-20f7382dd24c'// AI Search Contributor Role
82
-
)
83
-
aiSearchIndexDataContributor: resourceId(
84
-
'Microsoft.Authorization/roleDefinitions',
85
-
'8ebe5a00-799e-43f5-93ac-243d3dce84a7'// AI Search Index Data Contributor Role
86
-
)
87
-
aiSearchIndexDataReader: resourceId(
88
-
'Microsoft.Authorization/roleDefinitions',
89
-
'1407120a-92aa-4202-b7e9-c0e197c71c8f'// AI Search Index Data Reader Role
90
-
)
91
75
privateDnsZoneContributor: resourceId(
92
76
'Microsoft.Authorization/roleDefinitions',
93
77
'b12aa53e-6015-4669-85d0-8515ebb3ae7f'// Private DNS Zone Contributor Role
@@ -96,10 +80,6 @@ var roles = {
96
80
'Microsoft.Authorization/roleDefinitions',
97
81
'4d97b98b-1d4f-4787-a291-c67834d212e7'// Network Contributor Role
0 commit comments