Skip to content

Azure Resource Graph queries in the runbook disregard hybrid compute details #1

Description

@rvdhooff

The Azure Resource Graph queries filter specifically on type == 'microsoft.compute/virtualmachines/patchinstallationresults', however as a result you disregard all results coming from for example the type microsoft.hybridcompute/machines/patchinstallationresults.

You could change it the query to use :

patchinstallationresources
| where type == 'microsoft.compute/virtualmachines/patchinstallationresults' or type == 'microsoft.hybridcompute/machines/patchinstallationresults'

However this might bring in problems in the future if additional types are added. You are maybe better of with this:

patchinstallationresources
| where type endswith '/patchinstallationresults'

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions