getBareMetalsUpgrades
Get Available Bare Metal Upgrades
Details
- Method:
GET - Path:
/bare-metals/{baremetal-id}/upgrades - Operation ID:
get-bare-metals-upgrades
Parameters
{
"type": {
"description": "Filter upgrade by type:\n\n- all (applications, plans)\n- applications\n- os",
"required": false,
"location": "query",
"type": "string"
}
}Response Schema
{
"type": "object",
"properties": {
"upgrades": {
"type": "object",
"description": "This object will contain the available Bare Metal Upgrades",
"properties": {
"applications": {
"type": "array",
"items": {}
},
"os": {
"type": "array",
"items": {}
}
}
}
}
}Usage
from ocp_agent import OCPAgent
agent = OCPAgent()
await agent.register_api('vultr')
# Call this tool
result = await agent.call_tool('getBareMetalsUpgrades', {
# Add required parameters here
})