capabilities.work

Find Resources by Type and Inspect Their Group

A 2-step recipe with Microsoft Azure. We can help you get access.

Recipe · 2 steps

Find Resources by Type and Inspect Their Group

with Microsoft Azure · IT Infrastructure Management

Filter resources by type and inspect the group of the first match.

  1. List subscription resources filtered by resource type and branch on whether the result set is empty.
  2. Get the resource group so the caller can inspect its location and tags.
What you'll need to have ready
  • accessToken: An Azure Resource Manager OAuth2 bearer access token.
  • subscriptionId: The ID of the target subscription.
  • resourceType: The resource type to filter on (e.g. Microsoft.Storage/storageAccounts).
  • resourceGroupName: The resource group to inspect when a matching resource is found.
  • apiVersion: The Azure Resource Manager API version.
For your developer

Arazzo workflow microsoft-azure:find-resources-by-type, 2 operations: Resources_List → ResourceGroups_Get. Specs on APIs.io.