updateBlock
Update Block Storage
Details
- Method:
PATCH - Path:
/blocks/{block-id} - Operation ID:
update-block
Parameters
{
"label": {
"description": "The user-supplied label.",
"required": false,
"location": "body",
"type": "string"
},
"size_gb": {
"description": "New size of the Block Storage in GB. Size may range between 10 and 40000 depending on the `block_type`.",
"required": false,
"location": "body",
"type": "integer"
}
}Usage
from ocp_agent import OCPAgent
agent = OCPAgent()
await agent.register_api('vultr')
# Call this tool
result = await agent.call_tool('updateBlock', {
# Add required parameters here
})