Update an Elastic IP
Body Required
-
description string
Elastic IP description
Maximum length is
255
. -
healthcheck object
Elastic IP healthcheck
Additional properties are allowed.
-
labels object
Resource labels
PUT /elastic-ip/{id}
curl \
-X PUT https://api-ch-gva-2.exoscale.com/v2/elastic-ip/{id} \
-H "Content-Type: application/json" \
-d '{"description":"string","healthcheck":{"strikes-ok":42,"tls-skip-verify":true,"tls-sni":"string","strikes-fail":42,"mode":"tcp","port":42,"uri":"string","interval":42,"timeout":42},"labels":{"additionalProperty1":"string","additionalProperty2":"string"}}'
Request examples
{
"description": "string",
"healthcheck": {
"strikes-ok": 42,
"tls-skip-verify": true,
"tls-sni": "string",
"strikes-fail": 42,
"mode": "tcp",
"port": 42,
"uri": "string",
"interval": 42,
"timeout": 42
},
"labels": {
"additionalProperty1": "string",
"additionalProperty2": "string"
}
}
Response examples (200)
{
"id": "string",
"reason": "incorrect",
"reference": {
"id": "string",
"link": "string",
"command": "string"
},
"message": "string",
"state": "failure"
}