attachInstanceNetwork
Attach Private Network to Instance
Details
- Method:
POST - Path:
/instances/{instance-id}/private-networks/attach - Operation ID:
attach-instance-network
Parameters
{
"network_id": {
"description": "The [Private Network id](#operation/list-networks) to attach to this Instance.",
"required": false,
"location": "body",
"type": "string"
}
}Usage
from ocp_agent import OCPAgent
agent = OCPAgent()
await agent.register_api('vultr')
# Call this tool
result = await agent.call_tool('attachInstanceNetwork', {
# Add required parameters here
})