Skip to content

Commit

Permalink
Update test-resources.bicep (#46573)
Browse files Browse the repository at this point in the history
  • Loading branch information
nisha-bhatia authored Oct 14, 2024
1 parent dcfb2ef commit 8a252ab
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions sdk/monitor/test-resources.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -296,13 +296,20 @@ output LOGS_ENDPOINT string = 'https://api.loganalytics.io'

output CONNECTION_STRING string = ApplicationInsightsResource1.properties.ConnectionString
output WORKSPACE_ID string = LogAnalyticsWorkspace1.properties.customerId
output WORKSPACE_PRIMARY_RESOURCE_ID string = LogAnalyticsWorkspace1.id

output SECONDARY_CONNECTION_STRING string = ApplicationInsightsResource2.properties.ConnectionString
output SECONDARY_WORKSPACE_ID string = LogAnalyticsWorkspace2.properties.customerId
output WORKSPACE_SECONDARY_RESOURCE_ID string = LogAnalyticsWorkspace2.id

// VALUES NEEDED FOR AZURE.MONITOR.QUERY
output WORKSPACE_PRIMARY_RESOURCE_ID string = LogAnalyticsWorkspace1.id
output WORKSPACE_SECONDARY_RESOURCE_ID string = LogAnalyticsWorkspace2.id
output STORAGE_NAME string = storageAccount.name
output STORAGE_ID string = storageAccount.id
output METRICS_RESOURCE_ID string = LogAnalyticsWorkspace1.id
output METRICS_RESOURCE_NAMESPACE string = 'Microsoft.OperationalInsights/workspaces'

// VALUES NEEDED FOR AZURE.MONITOR.INGESTION
output INGESTION_DATA_COLLECTION_RULE_ID string = dataCollectionRule1.id
output INGESTION_DATA_COLLECTION_RULE_IMMUTABLE_ID string = dataCollectionRule1.properties.immutableId
output MONITOR_INGESTION_DATA_COLLECTION_ENDPOINT string = dataCollectionEndpoint1.properties.logsIngestion.endpoint
output INGESTION_STREAM_NAME string = streamName

0 comments on commit 8a252ab

Please sign in to comment.