cloud_insts_add_placegrp
Add an instance to a server group to enforce affinity or anti-affinity placement policies.
Instructions
Add an instance to a server group.
The instance must not already be in a server group. Bare metal servers do not support server groups.
Args: servergroup_id: Anti-affinity or affinity or soft-anti-affinity server group ID.
extra_headers: Send extra headers
extra_query: Add additional query parameters to the request
extra_body: Add additional JSON properties to the request
timeout: Override the client-level default timeout for this request, in seconds
Note: Pass the numeric project_id. When a project name is provided, resolve it via cloud.projects.list/cloud.projects.get. If nothing is specified, fetch the account's default project first and use that ID. Pass the numeric region_id. Resolve region names with cloud.regions.list or cloud.regions.get. If no region is mentioned, obtain the default region ID before calling this tool.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| instance_id | Yes | ||
| project_id | Yes | ||
| region_id | Yes | ||
| servergroup_id | Yes | ||
| extra_headers | No | ||
| extra_query | No | ||
| extra_body | No | ||
| timeout | No |