File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -49,6 +49,7 @@ param deployment_param default_deployment_param_type = {
4949 resource_name_prefix : {}
5050 resource_name_format_string : '{0}avm-cps'
5151 enable_waf : true
52+ enable_telemetry : true
5253 naming_abbrs : loadJsonContent ('./abbreviations.json' )
5354}
5455
@@ -75,6 +76,10 @@ param container_app_deployment container_app_deployment_info_type = {
7576 }
7677}
7778
79+ // ============== //
80+ // Resources //
81+ // ============== //
82+
7883// ========== Managed Identity ========== //
7984module avmManagedIdentity './modules/managed-identity.bicep' = {
8085 name : format (deployment_param .resource_name_format_string , deployment_param .naming_abbrs .security .managedIdentity )
@@ -157,6 +162,7 @@ module avmLogAnalyticsWorkspace 'br/public:avm/res/operational-insights/workspac
157162 name : '${deployment_param .naming_abbrs .managementGovernance .logAnalyticsWorkspace }${deployment_param .solution_prefix }'
158163 location : deployment_param .resource_group_location
159164 diagnosticSettings : [{ useThisWorkspace : true }]
165+ enableTelemetry : deployment_param .enable_telemetry
160166 skuName : 'PerGB2018'
161167 dataRetention : 30
162168 }
Original file line number Diff line number Diff line change @@ -43,6 +43,10 @@ type default_deployment_param_type = {
4343 resource_group_location : string
4444 resource_name_prefix : object
4545 resource_name_format_string : string
46+ @description ('Azure Resource Naming Abbreviations' )
47+ naming_abbrs : object
48+ @description ('Optional. Enable or disable telemetry for the deployment.' )
49+ enable_telemetry : bool
4650 enable_waf : bool
4751}
4852
@@ -101,12 +105,19 @@ type key_vault_param_type = {
101105 enableTelemetry : bool
102106}
103107
104-
105108type app_insights_retention_in_days = 30 | 60 | 90 | 120 | 180 | 270 | 365
106109type app_insights_kind = 'web' | 'other'
107110type app_insights_applicationType = 'web' | 'other'
108111type app_insights_flow_type = 'Bluefield' | 'Basic'
109- type app_insights_sku_name = 'PerGB2018' | 'CapacityReservation' | 'Premium' | 'Standard' | 'Free' | 'PerNode' | 'LACluster' | 'Standalone'
112+ type app_insights_sku_name =
113+ | 'PerGB2018'
114+ | 'CapacityReservation'
115+ | 'Premium'
116+ | 'Standard'
117+ | 'Free'
118+ | 'PerNode'
119+ | 'LACluster'
120+ | 'Standalone'
110121
111122@export ()
112123type app_insights_param_type = {
@@ -152,7 +163,6 @@ type container_registry_sku_type = 'Basic' | 'Standard' | 'Premium'
152163type public_network_access_type = 'Enabled' | 'Disabled'
153164type zone_redundancy_type = 'Enabled' | 'Disabled'
154165
155-
156166@export ()
157167type container_registry_param_type = {
158168 @description ('Name of the Azure Container Registry' )
You can’t perform that action at this time.
0 commit comments