Skip to content

Commit 8a252ab

Browse files
authored
Update test-resources.bicep (Azure#46573)
1 parent dcfb2ef commit 8a252ab

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

sdk/monitor/test-resources.bicep

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -296,13 +296,20 @@ output LOGS_ENDPOINT string = 'https://api.loganalytics.io'
296296

297297
output CONNECTION_STRING string = ApplicationInsightsResource1.properties.ConnectionString
298298
output WORKSPACE_ID string = LogAnalyticsWorkspace1.properties.customerId
299-
output WORKSPACE_PRIMARY_RESOURCE_ID string = LogAnalyticsWorkspace1.id
300299

301300
output SECONDARY_CONNECTION_STRING string = ApplicationInsightsResource2.properties.ConnectionString
302301
output SECONDARY_WORKSPACE_ID string = LogAnalyticsWorkspace2.properties.customerId
303-
output WORKSPACE_SECONDARY_RESOURCE_ID string = LogAnalyticsWorkspace2.id
304302

303+
// VALUES NEEDED FOR AZURE.MONITOR.QUERY
304+
output WORKSPACE_PRIMARY_RESOURCE_ID string = LogAnalyticsWorkspace1.id
305+
output WORKSPACE_SECONDARY_RESOURCE_ID string = LogAnalyticsWorkspace2.id
305306
output STORAGE_NAME string = storageAccount.name
306307
output STORAGE_ID string = storageAccount.id
307308
output METRICS_RESOURCE_ID string = LogAnalyticsWorkspace1.id
308309
output METRICS_RESOURCE_NAMESPACE string = 'Microsoft.OperationalInsights/workspaces'
310+
311+
// VALUES NEEDED FOR AZURE.MONITOR.INGESTION
312+
output INGESTION_DATA_COLLECTION_RULE_ID string = dataCollectionRule1.id
313+
output INGESTION_DATA_COLLECTION_RULE_IMMUTABLE_ID string = dataCollectionRule1.properties.immutableId
314+
output MONITOR_INGESTION_DATA_COLLECTION_ENDPOINT string = dataCollectionEndpoint1.properties.logsIngestion.endpoint
315+
output INGESTION_STREAM_NAME string = streamName

0 commit comments

Comments
 (0)