Resource Group Lifecycle Tag and Inventory
A 4-step recipe with Microsoft Azure. We can help you get access.
Recipe · 4 steps
Resource Group Lifecycle Tag and Inventory
with Microsoft Azure · IT Infrastructure Management
Discover, tag, and inventory the first resource group in a subscription.
- List the resource groups so the first one can be selected for the governance pass.
- Get the selected resource group to confirm it exists before tagging it.
- Patch the governance tags onto the selected resource group.
- List the resources in the now-tagged resource group to complete the pass.
What you'll need to have ready
- accessToken: An Azure Resource Manager OAuth2 bearer access token.
- subscriptionId: The ID of the target subscription.
- tags: The governance tag map to apply to the resource group.
- apiVersion: The Azure Resource Manager API version.
For your developer
Arazzo workflow microsoft-azure:resource-group-lifecycle-tag-and-inventory, 4 operations: ResourceGroups_List → ResourceGroups_Get → ResourceGroups_Update → Resources_ListByResourceGroup. Specs on APIs.io.