mirror of
https://github.com/Azure-Samples/graphrag-accelerator.git
synced 2025-10-13 01:38:24 +00:00
apply az bicep format --file to all bicep files
This commit is contained in:
parent
8f2f0ea479
commit
72d759a08c
@ -10,7 +10,6 @@ param location string = resourceGroup().location
|
||||
@description('federated name: FederatedIdentityCredentialProperties. See https://learn.microsoft.com/en-us/azure/templates/microsoft.managedidentity/userassignedidentities/federatedidentitycredentials?pivots=deployment-language-bicep#federatedidentitycredentialproperties')
|
||||
param federatedCredentials object = {}
|
||||
|
||||
|
||||
resource identity 'Microsoft.ManagedIdentity/userAssignedIdentities@2023-01-31' = {
|
||||
name: name
|
||||
location: location
|
||||
|
@ -10,7 +10,6 @@ param location string = resourceGroup().location
|
||||
@description('The public network access for ingestion.')
|
||||
param publicNetworkAccessForIngestion string = 'Disabled'
|
||||
|
||||
|
||||
resource logAnalyticsWorkspace 'Microsoft.OperationalInsights/workspaces@2022-10-01' = {
|
||||
name: name
|
||||
location: location
|
||||
|
@ -6,7 +6,6 @@ param privateLinkScopedResources array = []
|
||||
param queryAccessMode string = 'Open'
|
||||
param ingestionAccessMode string = 'PrivateOnly'
|
||||
|
||||
|
||||
resource privateLinkScope 'microsoft.insights/privateLinkScopes@2021-07-01-preview' = {
|
||||
name: privateLinkScopeName
|
||||
location: 'global'
|
||||
|
@ -5,7 +5,6 @@ param vnetId string
|
||||
param privateDnsZoneName string
|
||||
var vnet_id_hash = uniqueString(vnetId)
|
||||
|
||||
|
||||
resource dnsZone 'Microsoft.Network/privateDnsZones@2020-06-01' = {
|
||||
name: privateDnsZoneName
|
||||
location: 'global'
|
||||
|
@ -13,7 +13,6 @@ param ttl int = 900
|
||||
@description('The IP address')
|
||||
param ipv4Address string
|
||||
|
||||
|
||||
resource dnsZone 'Microsoft.Network/privateDnsZones@2020-06-01' existing = {
|
||||
name: dnsZoneName
|
||||
}
|
||||
|
@ -7,7 +7,6 @@ param name string
|
||||
@description('The name of the virtual networks the DNS zone should be associated with.')
|
||||
param vnetNames string[]
|
||||
|
||||
|
||||
resource dnsZone 'Microsoft.Network/privateDnsZones@2020-06-01' = {
|
||||
name: name
|
||||
location: 'global'
|
||||
|
@ -14,7 +14,6 @@ param privateEndpointName string
|
||||
param groupId string
|
||||
param location string = resourceGroup().location
|
||||
|
||||
|
||||
resource privateEndpoint 'Microsoft.Network/privateEndpoints@2021-05-01' = {
|
||||
name: privateEndpointName
|
||||
location: location
|
||||
|
@ -11,8 +11,12 @@ var storagePrivateDnsZoneNames = [blobStoragePrivateDnsZoneName]
|
||||
var privateDnsZoneData = loadJsonContent('private-dns-zone-groups.json')
|
||||
var cloudName = toLower(environment().name)
|
||||
var azureMonitorPrivateDnsZones = privateDnsZoneData[cloudName].azureMonitor
|
||||
var privateDnsZones = union(azureMonitorPrivateDnsZones, storagePrivateDnsZoneNames, [cosmosDbPrivateDnsZoneName], [aiSearchPrivateDnsZoneName])
|
||||
|
||||
var privateDnsZones = union(
|
||||
azureMonitorPrivateDnsZones,
|
||||
storagePrivateDnsZoneNames,
|
||||
[cosmosDbPrivateDnsZoneName],
|
||||
[aiSearchPrivateDnsZoneName]
|
||||
)
|
||||
|
||||
resource privateDnsZoneResources 'Microsoft.Network/privateDnsZones@2020-06-01' = [
|
||||
for name in privateDnsZones: {
|
||||
|
@ -4,7 +4,6 @@
|
||||
param privateDnsZoneName string
|
||||
param vnetIds array
|
||||
|
||||
|
||||
resource privateDnsZone 'Microsoft.Network/privateDnsZones@2020-06-01' existing = {
|
||||
name: privateDnsZoneName
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user