pbs_snapshot_protected_get
Queries the protection flag of a Proxmox Backup Server snapshot to check if it is protected from deletion.
Instructions
READ-ONLY: query the protection flag for a specific backup snapshot — the READ half of the shipped pbs_snapshot_protected_set. The live schema declares this endpoint's return type null despite implying a real answer (the plausible return is the protection boolean the paired PUT sets) — passed through as-is. Needs PROXIMO_PBS_* config.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ns | No | Namespace; omit for the root namespace. | |
| store | Yes | PBS datastore name. | |
| backup_id | Yes | Backup group ID. | |
| backup_time | Yes | Snapshot timestamp (Unix epoch). | |
| backup_type | Yes | Backup type: vm, ct, or host. | |
| proximo_target | No | Which configured Proxmox target to run this call against — a target name from your multi-target config (a specific PVE/PBS/PMG/PDM box). Omit to use the single/default target from the environment; the selection applies only to this call. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |