Python
Placement Groups
Get placement group
GET
Python
Documentation Index
Fetch the complete documentation index at: https://gcore-doc-915.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
API key for authentication. Make sure to include the word apikey, followed by a single space and then your token.
Example: apikey 1234$abcdef
Path Parameters
Project ID
Region ID
Placement group ID
Response
200 - application/json
Returned placement group
The list of instances in this server group.
Example:
[
{
"instance_id": "6d14f194-6c1e-49b3-9fc7-50dc8401eb74",
"instance_name": "my-instance-1"
},
{
"instance_id": "142988bb-291e-4862-bffb-b1cf20036c27",
"instance_name": "my-instance-2"
}
]The name of the server group.
Example:
"my-server-group"
The server group policy. Options are: anti-affinity, affinity, or soft-anti-affinity.
Example:
"anti-affinity"
Project ID
Example:
1337
Region name
Example:
"Luxembourg 1"
Region ID
Example:
7
The ID of the server group.
Example:
"47003067-550a-6f17-93b6-81ee16ba061e"