update_ha_resource
Update the configuration of a Proxmox HA resource, adjusting group, state, relocation, restart limits, and comments. Modify or delete properties as needed.
Instructions
Update an HA resource configuration.
Args: sid: Resource ID. group: HA group name. max_relocate: Max relocations (-1 = don't change). max_restart: Max restarts (-1 = don't change). state: Desired state. comment: Description. delete: Comma-separated properties to delete.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"sid": "<sid>"
},
"name": "update_ha_resource"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sid | Yes | ||
| group | No | ||
| state | No | ||
| delete | No | ||
| comment | No | ||
| max_restart | No | ||
| max_relocate | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |