Azure / Azure/azure-diagnostics-tools
Deploying Diagnostic Settings to Event Hubs - Issue with DR Event Hubs
- Dominant language
- Ruby
- Stars
- 101
- Forks
- 93
- PR merge metrics
- No merged PRs in 30d
Description
Had a policy to deploy diagnostic settings on resources to Event Hubs, but some resources are in a different region than that of the Event Hub, which is forbidden.
To mitigate this, we have been using a Geo Recovery Alias to connect the Primary/Secondary Event Hubs and would like to reference that Geo Event Hub Alias as the Event Hub Namespace in the policy. Issue is when we get to the Event Hub Authorization Rule ID for that, the resource type is 'microsoft.eventhub/namespaces/disasterrecoveryconfigs/authorizationrules' when it is supposed to be ''microsoft.eventhub/namespaces/authorizationrules'.
I don't understand how we can possibly reference that as the second resource type while also referencing the DR Alias. Any guidance or ideas?
Contributor guide
No contributing guide indexed for this repository
Research direction
No file, test, or entry point is named in the issue. Start by locating the diagnostic-settings policy and the Event Hubs authorization-rule resource construction; compare the DR alias path with the required namespace authorization-rule path, and consider the work complete when a valid policy reference is identified or the limitation is documented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure
- Domain
- cloud
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100