iaas_change_security_groups
Change security groups on a vSphere machine’s network interfaces by adding or removing groups from the same deployment.
Instructions
Change security groups for a vSphere machine Change security groups for a vSphere machine network interfaces. Securing group that is part of the same deployment can be added or removed for a machine network interface. POST /iaas/api/machines/{id}/operations/change-security-groups
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": {
"id": "<id>",
"body": "<body>"
},
"name": "iaas_change_security_groups"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The id of the vSphere machine. (path) | |
| body | Yes | Specification for a second day change security groups operation for a vsphere machine — Change security groups details | |
| apiVersion | No | The version of the API in yyyy-MM-dd format (UTC). For versioning information refer to /iaas/api/about |