apply az bicep format --file to all bicep files

This commit is contained in:
Josh Bradley 2025-01-23 13:06:37 -05:00
parent 8f2f0ea479
commit 72d759a08c
9 changed files with 6 additions and 10 deletions

View File

@ -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

View File

@ -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

View File

@ -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'

View File

@ -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'

View File

@ -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
}

View File

@ -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'

View File

@ -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

View File

@ -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: {

View File

@ -4,7 +4,6 @@
param privateDnsZoneName string
param vnetIds array
resource privateDnsZone 'Microsoft.Network/privateDnsZones@2020-06-01' existing = {
name: privateDnsZoneName
}