How can I combine two resources in a single Azure Policy?

Vineet Mimrot 11 Reputation points Microsoft Employee

I need to create policy in which I need to check properties of two resources of different resource types and then take some action. Can you please tell how can I achieve it?
Or Is it possible to make GET request to a Azure Resource in the policy definition?

Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
803 questions
{count} vote