Body
Required
-
Enable application consistent snapshots
-
Instance Pool Anti-affinity Groups
-
Instance Pool description
Maximum length is
255. -
Determines public IP assignment of the Instances. Type
noneis final and can't be changed later on.Values are
inet4,dual, ornone. -
Instance Pool Labels
-
Instance Pool Security Groups
-
Instances Elastic IPs
-
Instance Pool name
Minimum length is
1, maximum length is255. -
Instances type
-
Minimum number of running Instances
Minimum value is
0. -
Instance Pool Private Networks
-
Instances template
-
Number of Instances
Minimum value is
0. -
Instances SSH key
-
Prefix to apply to Instances names (default: pool)
Minimum length is
1, maximum length is30. -
Instances Cloud-init user-data
Minimum length is
1, maximum length is32768. -
Deploy Target to deploy Instances on
-
Enable IPv6. DEPRECATED: use
public-ip-assignments. -
Instances disk size in GiB
Minimum value is
10, maximum value is51200. -
Instances SSH Keys
curl \
--request POST 'https://api-ch-gva-2.exoscale.com/v2/instance-pool' \
--header "Content-Type: application/json" \
--data '{
"application-consistent-snapshot-enabled": true,
"anti-affinity-groups": [
{
"id": "string"
}
],
"description": "string",
"public-ip-assignment": "inet4",
"labels": {
"additionalProperty1": "string",
"additionalProperty2": "string"
},
"security-groups": [
{
"id": "string"
}
],
"elastic-ips": [
{
"id": "string"
}
],
"name": "string",
"instance-type": {
"id": "string"
},
"min-available": 42,
"private-networks": [
{
"id": "string"
}
],
"template": {
"id": "string"
},
"size": 42,
"ssh-key": {
"name": "string"
},
"instance-prefix": "string",
"user-data": "string",
"deploy-target": {
"id": "string"
},
"ipv6-enabled": true,
"disk-size": 42,
"ssh-keys": [
{
"name": "string"
}
]
}'
{
"application-consistent-snapshot-enabled": true,
"anti-affinity-groups": [
{
"id": "string"
}
],
"description": "string",
"public-ip-assignment": "inet4",
"labels": {
"additionalProperty1": "string",
"additionalProperty2": "string"
},
"security-groups": [
{
"id": "string"
}
],
"elastic-ips": [
{
"id": "string"
}
],
"name": "string",
"instance-type": {
"id": "string"
},
"min-available": 42,
"private-networks": [
{
"id": "string"
}
],
"template": {
"id": "string"
},
"size": 42,
"ssh-key": {
"name": "string"
},
"instance-prefix": "string",
"user-data": "string",
"deploy-target": {
"id": "string"
},
"ipv6-enabled": true,
"disk-size": 42,
"ssh-keys": [
{
"name": "string"
}
]
}
{
"id": "string",
"reason": "incorrect",
"reference": {
"id": "string",
"link": "string",
"command": "string"
},
"message": "string",
"state": "failure"
}