Code | Description |
---|---|
load_balancer_already_attached | The Load Balancer is already attached to a network |
ip_not_available | The provided Network IP is not available |
no_subnet_available | No Subnet or IP is available for the Load Balancer within the network |
curl --location --request POST 'https://api.hetzner.cloud/v1/load_balancers//actions/attach_to_network' \
--header 'Content-Type: application/json' \
--data-raw '{
"ip": "10.0.1.1",
"network": 4711
}'
{
"action": {
"command": "attach_to_network",
"error": {
"code": "action_failed",
"message": "Action failed"
},
"finished": "2016-01-30T23:56:00.000Z",
"id": 13,
"progress": 100,
"resources": [
{
"id": 4711,
"type": "load_balancer"
}
],
"started": "2016-01-30T23:55:00.000Z",
"status": "success"
}
}