vm_backup_policies
Read Azure VM backup policy schedules and retention settings across Recovery Services vaults to audit protection coverage by subscription.
Instructions
Schedule and retention of the Azure VM backup policies in each Recovery Services vault.
Azure Resource Manager in the DEFAULT tenant only, also when several tenants are
configured (ENTRAADM_CONFIG).
Read-only; needs the Reader role on the subscription. Per policy:
policy_type (V1 = SimpleSchedulePolicy, V2 =
SimpleSchedulePolicyV2 with an hourly / daily / weekly schedule),
schedule (frequency, run times in UTC, weekdays, or the hourly window),
retention (LongTermRetentionPolicy: daily / weekly / monthly /
yearly blocks with their day selection and duration), instant_rp_days,
timezone and protected_item_count (ARM's own count). A schedule or
retention type this server does not know is returned as
{"type": <name>, "unparsed": true}, never dropped.
subscription is an id or display name from list_subscriptions
(None = every visible subscription); an unknown or ambiguous name
returns found: false. Coverage flags as in vm_backup_status:
skipped_vaults per subscription, skipped subscriptions when the
budget ran out, capped overall.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "vm_backup_policies"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max_pages | No | ||
| subscription | No |