vm-count-by-tenant
Count virtual machines across Azure tenants and subscriptions to monitor resource distribution and usage patterns.
Instructions
Count virtual machines per configured tenant (uses all subscriptions when available).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tenant_names | No | Optional subset of tenant names to include | |
| use_all_subscriptions | No | Try to include all subscriptions in each tenant (fallbacks to default) |
Input Schema (JSON Schema)
{
"properties": {
"tenant_names": {
"description": "Optional subset of tenant names to include",
"items": {
"type": "string"
},
"type": "array"
},
"use_all_subscriptions": {
"default": true,
"description": "Try to include all subscriptions in each tenant (fallbacks to default)",
"type": "boolean"
}
},
"required": [],
"type": "object"
}