File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -55,6 +55,7 @@ resource search 'Microsoft.Search/searchServices@2023-11-01' = {
55
55
}
56
56
sku : sku
57
57
58
+ // https://github.com/Azure/bicep-types-az/issues/2421
58
59
resource sharedPrivateLinkResource 'sharedPrivateLinkResources@2023-11-01' = [for (resourceId , i ) in sharedPrivateLinkStorageAccounts : {
59
60
name : 'search-shared-private-link-${i }'
60
61
properties : {
Original file line number Diff line number Diff line change @@ -701,7 +701,7 @@ module searchService 'core/search/search-services.bicep' = {
701
701
publicNetworkAccess : publicNetworkAccess == 'Enabled'
702
702
? 'enabled'
703
703
: (publicNetworkAccess == 'Disabled' ? 'disabled' : null )
704
- sharedPrivateLinkStorageAccounts : usePrivateEndpoint ? [storage .outputs .id ] : []
704
+ sharedPrivateLinkStorageAccounts : ( usePrivateEndpoint && useIntegratedVectorization ) ? [storage .outputs .id ] : []
705
705
}
706
706
}
707
707
You can’t perform that action at this time.
0 commit comments