Configuring the director's networks and azs
Set the network and singleton availability zone for the bosh director. You cannot use this endpoint if the director is already deployed.
The parameters must match the names of an already created network and availability zone. The network must have at least one subnet on the singleton availability zone and cannot be a service network.
On Azure, when the Availability Mode is Sets, the singleton_availability_zone key is not required,
and will be ignored.
{
"network_and_az": {
"network": {
"name": "string"
},
"singleton_availability_zone": {
"name": "string"
}
}
}
network_and_az
OK
Setup is not completed
{
"errors": {
"errors": [
"string"
]
}
}
errors
Unauthorized
{
"errors": {
"errors": [
"string"
]
}
}
errors
Forbidden
{
"errors": {
"errors": [
"string"
]
}
}
errors
Unprocessable Content
{
"errors": [
"string"
]
}
errors
curl -X PUT -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '[{}]' https://{api_host}/api/v0/staged/director/network_and_az