Перейти до вмісту
NimbusNexus

Балансувальники навантаження

Балансувальник навантаження стоїть перед парком VM з єдиним VIP (віртуальним IP), розподіляє трафік між бекендами й автоматично виводить несправні з ротації. Прослуховувач працює за протоколом TCP, UDP, SCTP, HTTP, HTTPS, TERMINATED_HTTPS або PROMETHEUS і надсилає весь свій трафік у свій пул за замовчуванням; правил маршрутизації за шляхом чи заголовками немає.

Чотири вкладені ресурси

Сам балансувальник навантаження — це контейнер; логіка маршрутизації міститься у вкладених ресурсах:

  • Прослуховувач — по одному на кожну пару (протокол, порт), на якій LB приймає трафік. HTTPS:443 — один прослуховувач; HTTP:80 — інший. Один LB може мати багато прослуховувачів.
  • Пул — група бекендів, привʼязана до одного прослуховувача (listener_id) або до балансувальника навантаження (loadbalancer_id). Кожен пул має protocol (HTTP, HTTPS, TCP, UDP, SCTP, PROXY або PROXYV2) і lb_algorithm: ROUND_ROBIN, LEAST_CONNECTIONS, SOURCE_IP або SOURCE_IP_PORT. Налаштування збереження сесій немає.
  • Учасник пулу — один бекенд у пулі: IP-адреса в address і protocol_port, а також вага weight (0–256, за замовчуванням 1).
  • Монітор стану — активна перевірка стану для кожного пулу. Учасників, що не пройшли перевірку, виводять із ротації, доки вони не відновляться.

Кожен із них має власні ендпоінти, наведені нижче: /api/v1/loadbalancers/, /api/v1/listeners/, /api/v1/pools/, /api/v1/pools/{pool_id}/members/ і /api/v1/health_monitors/.

Термінація SSL

Для прослуховувачів HTTPS є два варіанти:

  • TLS термінується на LB. Використайте прослуховувач TERMINATED_HTTPS і вкажіть у default_tls_container_ref (і в sni_container_refs — для додаткових сертифікатів) наявний контейнер сертифікатів. LB обслуговує TLS для клієнтів, а з вашими VM спілкується відкритим текстом. Цей API не завантажує й не випускає сертифікатів.
  • Наскрізний TLS. LB лише пересилає TCP на рівні L4; TLS обробляють ваші VM. Потрібно, коли бекенд має бачити оригінальний сертифікат клієнта. Використайте прослуховувач HTTPS або TCP.

Перевірки стану

Монітор стану перевіряє кожного учасника кожні delay секунд і чекає на відповідь timeout секунд (менше за delay); обидва значення задаєте ви. Його type — це HTTP, HTTPS, PING, TCP, TLS-HELLO, UDP-CONNECT або SCTP. GET /api/v1/loadbalancers/{loadbalancer_id}/status показує operating_status кожного учасника.

  • Учасника виводять із ротації після max_retries_down невдалих перевірок (3, якщо не задати).
  • Він повертається в ротацію після max_retries успішних перевірок; це значення потрібно задати обовʼязково.

Для перевірок HTTP і HTTPS задайте url_path, http_method і expected_codes. Спрямуйте url_path на щось у своєму застосунку, що швидко повертає відповідь, — і не змушуйте перевірку виконувати реальну роботу, інакше сама перевірка стане навантаженням.

Що далі

Reference

GET/api/v1/health_monitors/

List Health Monitor

Lists health monitors visible in the current scope, filtered by query parameters.

Parameters

NameInTypeDescription
admin_domainquerystring | null—
admin_projectquerystring | null—
projectquerystring | null—
namequerystring | null—
delayqueryinteger | null—
max_retriesqueryinteger | null—
pool_idquerystring | null—
timeoutqueryinteger | null—
typequery"HTTP" | "HTTPS" | "PING" | "SCTP" | "TCP" | "TLS-HELLO" | "UDP-CONNECT" | null—
admin_state_upqueryboolean | null—
expected_codesquerystring | null—
http_methodquerystring | null—
max_retries_downqueryinteger | null—
url_pathquerystring | null—
provisioning_statusquerystring | null—
operating_statusquerystring | null—

Responses

  • 200Successful Response
  • 401Unauthorized
  • 403Forbidden
  • 422Validation error
  • 429Too Many Requests
  • 500Internal Server Error

Example

curl -X GET "https://api.nimbusnexus.net/api/v1/health_monitors/" \
  -H "Authorization: Bearer $NIMBUS_KEY"
POST/api/v1/health_monitors/

Create Health Monitor

Creates a new health monitor for a pool.

Request body

FieldTypeDescription
delay*integerHealth Monitor's delay
max_retries*integerHealth Monitor's max retries
pool_id*stringPool's id
timeout*integerHealth Monitor's timeout
type*"HTTP" | "HTTPS" | "PING" | "SCTP" | "TCP" | "TLS-HELLO" | "UDP-CONNECT"Health Monitor's type
admin_state_upbooleanHealth Monitor's admin_state_up, default is True
namestring | nullHealth Monitor's name
expected_codesstring | nullHealth Monitor's expected codes, HTTP/HTTPS only
http_method"OPTIONS" | "GET" | "PUT" | "CONNECT" | "POST" | "TRACE" | "DELETE" | "HEAD" | "PATCH" | nullHealth Monitor's http_method, HTTP/HTTPS only
http_version1 | 1.1 | nullHealth Monitor's http_version, HTTP/HTTPS only
max_retries_downinteger | nullHealth Monitor's max_retries_down, Octavia uses 3 when omitted
url_pathstring | nullHealth Monitor's url_path, HTTP/HTTPS only

Responses

  • 201Successful Response
  • 400Bad Request
  • 401Unauthorized
  • 403Forbidden
  • 404Not Found
  • 409Conflict
  • 422Validation error
  • 429Too Many Requests
  • 500Internal Server Error

Example

curl -X POST "https://api.nimbusnexus.net/api/v1/health_monitors/" \
  -H "Authorization: Bearer $NIMBUS_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "delay": 1,
    "max_retries": 1,
    "pool_id": "<pool_id>",
    "timeout": 1,
    "type": "HTTP"
  }'
GET/api/v1/health_monitors/{healthmonitor_id}

Get Health Monitor

Retrieves the details of a single health monitor by ID.

Parameters

NameInTypeDescription
healthmonitor_id*pathstring—

Responses

  • 200Successful Response
  • 401Unauthorized
  • 403Forbidden
  • 404Not Found
  • 422Validation error
  • 429Too Many Requests
  • 500Internal Server Error

Example

curl -X GET "https://api.nimbusnexus.net/api/v1/health_monitors/<healthmonitor_id>" \
  -H "Authorization: Bearer $NIMBUS_KEY"
PATCH/api/v1/health_monitors/{healthmonitor_id}

Update Health Monitor

Updates the mutable attributes of an existing health monitor.

Parameters

NameInTypeDescription
healthmonitor_id*pathstring—

Request body

FieldTypeDescription
delayinteger | null—
max_retriesinteger | null—
pool_idstring | null—
timeoutinteger | null—
admin_state_upboolean | null—
namestring | nullHealth Monitor's name
expected_codesstring | nullHealth Monitor's expected codes
http_method"OPTIONS" | "GET" | "PUT" | "CONNECT" | "POST" | "TRACE" | "DELETE" | "HEAD" | "PATCH" | nullHealth Monitor's http_method, HTTP/HTTPS only
http_version1 | 1.1 | nullHealth Monitor's http_version
max_retries_downinteger | nullHealth Monitor's max_retries_down, Octavia uses 3 when omitted
url_pathstring | nullHealth Monitor's url_path, HTTP/HTTPS only

Responses

  • 200Successful Response
  • 400Bad Request
  • 401Unauthorized
  • 403Forbidden
  • 404Not Found
  • 409Conflict
  • 422Validation error
  • 429Too Many Requests
  • 500Internal Server Error

Example

curl -X PATCH "https://api.nimbusnexus.net/api/v1/health_monitors/<healthmonitor_id>" \
  -H "Authorization: Bearer $NIMBUS_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
DELETE/api/v1/health_monitors/{healthmonitor_id}

Delete Health Monitor

Deletes the specified health monitor.

Parameters

NameInTypeDescription
healthmonitor_id*pathstring—

Responses

  • 204Successful Response
  • 401Unauthorized
  • 403Forbidden
  • 404Not Found
  • 409Conflict
  • 422Validation error
  • 429Too Many Requests
  • 500Internal Server Error

Example

curl -X DELETE "https://api.nimbusnexus.net/api/v1/health_monitors/<healthmonitor_id>" \
  -H "Authorization: Bearer $NIMBUS_KEY"
GET/api/v1/listeners/

List Listeners

Lists listeners visible in the current scope, filtered by query parameters.

Parameters

NameInTypeDescription
admin_domainquerystring | null—
admin_projectquerystring | null—
projectquerystring | null—
namequerystring | null—
protocolquery"HTTP" | "HTTPS" | "SCTP" | "PROMETHEUS" | "TCP" | "TERMINATED_HTTPS" | "UDP" | null—
protocol_portqueryinteger | null—
loadbalancer_idquerystring | null—
descriptionquerystring | null—
tagsqueryarray of string | nullFilter by tags
admin_state_upqueryboolean | null—

Responses

  • 200Successful Response
  • 401Unauthorized
  • 403Forbidden
  • 422Validation Error
  • 429Too Many Requests
  • 500Internal Server Error

Example

curl -X GET "https://api.nimbusnexus.net/api/v1/listeners/" \
  -H "Authorization: Bearer $NIMBUS_KEY"
POST/api/v1/listeners/

Create Listener

Creates a new listener attached to a load balancer.

Request body

FieldTypeDescription
admin_domainstring | null—
admin_projectstring | null—
namestring | null—
connection_limitinteger | null—
default_pool_idstring | null—
default_tls_container_refstring | null—
sni_container_refsarray of string | null—
descriptionstring | null—
tagsarray of string | nullFilter by tags
admin_state_upboolean | null—
loadbalancer_id*string—
protocol_port*integer—
protocol*"HTTP" | "HTTPS" | "SCTP" | "PROMETHEUS" | "TCP" | "TERMINATED_HTTPS" | "UDP"—
project_idstring | null—

Responses

  • 201Successful Response
  • 400Bad Request
  • 401Unauthorized
  • 403Forbidden
  • 404Not Found
  • 409Conflict
  • 422Validation Error
  • 429Too Many Requests
  • 500Internal Server Error

Example

curl -X POST "https://api.nimbusnexus.net/api/v1/listeners/" \
  -H "Authorization: Bearer $NIMBUS_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "loadbalancer_id": "<loadbalancer_id>",
    "protocol_port": 1,
    "protocol": "HTTP"
  }'
GET/api/v1/listeners/{listener_id}

Get Listener

Retrieves the details of a single listener by ID.

Parameters

NameInTypeDescription
listener_id*pathstring—

Responses

  • 200Successful Response
  • 401Unauthorized
  • 403Forbidden
  • 404Not Found
  • 422Validation Error
  • 429Too Many Requests
  • 500Internal Server Error

Example

curl -X GET "https://api.nimbusnexus.net/api/v1/listeners/<listener_id>" \
  -H "Authorization: Bearer $NIMBUS_KEY"
PATCH/api/v1/listeners/{listener_id}

Update Listener

Updates the mutable attributes of an existing listener.

Parameters

NameInTypeDescription
listener_id*pathstring—

Request body

FieldTypeDescription
admin_domainstring | null—
admin_projectstring | null—
namestring | null—
connection_limitinteger | null—
default_pool_idstring | null—
default_tls_container_refstring | null—
sni_container_refsarray of string | null—
descriptionstring | null—
tagsarray of string | nullFilter by tags
admin_state_upboolean | null—

Responses

  • 200Successful Response
  • 400Bad Request
  • 401Unauthorized
  • 403Forbidden
  • 404Not Found
  • 409Conflict
  • 422Validation Error
  • 429Too Many Requests
  • 500Internal Server Error

Example

curl -X PATCH "https://api.nimbusnexus.net/api/v1/listeners/<listener_id>" \
  -H "Authorization: Bearer $NIMBUS_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
DELETE/api/v1/listeners/{listener_id}

Delete Listener

Deletes the specified listener.

Parameters

NameInTypeDescription
listener_id*pathstring—

Responses

  • 204Successful Response
  • 401Unauthorized
  • 403Forbidden
  • 404Not Found
  • 409Conflict
  • 422Validation Error
  • 429Too Many Requests
  • 500Internal Server Error

Example

curl -X DELETE "https://api.nimbusnexus.net/api/v1/listeners/<listener_id>" \
  -H "Authorization: Bearer $NIMBUS_KEY"
GET/api/v1/listeners/{listener_id}/stats

Get Listener Stats

Returns traffic statistics for the specified listener.

Parameters

NameInTypeDescription
listener_id*pathstring—

Responses

  • 200Successful Response
  • 401Unauthorized
  • 403Forbidden
  • 404Not Found
  • 422Validation Error
  • 429Too Many Requests
  • 500Internal Server Error

Example

curl -X GET "https://api.nimbusnexus.net/api/v1/listeners/<listener_id>/stats" \
  -H "Authorization: Bearer $NIMBUS_KEY"
GET/api/v1/loadbalancers/

List Load Balancers

Lists load balancers visible in the current scope, filtered by query parameters.

Parameters

NameInTypeDescription
admin_domainquerystring | null—
admin_projectquerystring | null—
projectquerystring | null—
namequerystring | nullFilter by load balancer name
vip_network_idquerystring | nullFilter by VIP network ID
vip_subnet_idquerystring | nullFilter by VIP subnet ID
vip_port_idquerystring | nullFilter by VIP port ID
providerquerystring | nullFilter by provider name (e.g., amphora, ovn)
admin_state_upqueryboolean | nullFilter by administrative state
tagsqueryarray of string | nullFilter by tags (comma-separated list)

Responses

  • 200Successful Response
  • 401Unauthorized
  • 403Forbidden
  • 422Validation Error
  • 429Too Many Requests
  • 500Internal Server Error

Example

curl -X GET "https://api.nimbusnexus.net/api/v1/loadbalancers/" \
  -H "Authorization: Bearer $NIMBUS_KEY"
POST/api/v1/loadbalancers/

Create Load Balancer

Creates a new load balancer in the requested project.

Request body

FieldTypeDescription
admin_domainstring | null—
admin_projectstring | null—
name*string—
vip_subnet_idstring | null—
vip_network_idstring | null—
vip_port_idstring | null—
vip_qos_policy_idstring | null—
flavor_idstring | null—
vip_addressstring | null—
providerstring | null—
descriptionstring | null—
admin_state_upboolean—
tagsarray of string | nullFilter by tags (comma-separated list)

Responses

  • 201Successful Response
  • 400Bad Request
  • 401Unauthorized
  • 403Forbidden
  • 404Not Found
  • 409Conflict
  • 422Validation Error
  • 429Too Many Requests
  • 500Internal Server Error

Example

curl -X POST "https://api.nimbusnexus.net/api/v1/loadbalancers/" \
  -H "Authorization: Bearer $NIMBUS_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Example"
  }'
GET/api/v1/loadbalancers/{loadbalancer_id}

Get Load Balancer

Retrieves the details of a single load balancer by ID.

Parameters

NameInTypeDescription
loadbalancer_id*pathstring—

Responses

  • 200Successful Response
  • 401Unauthorized
  • 403Forbidden
  • 404Not Found
  • 422Validation Error
  • 429Too Many Requests
  • 500Internal Server Error

Example

curl -X GET "https://api.nimbusnexus.net/api/v1/loadbalancers/<loadbalancer_id>" \
  -H "Authorization: Bearer $NIMBUS_KEY"
PATCH/api/v1/loadbalancers/{loadbalancer_id}

Update Load Balancer

Updates the mutable attributes of an existing load balancer.

Parameters

NameInTypeDescription
loadbalancer_id*pathstring—

Request body

FieldTypeDescription
admin_domainstring | null—
admin_projectstring | null—
namestring | null—
tagsarray of string | null—
admin_state_upboolean | null—
descriptionstring | null—

Responses

  • 200Successful Response
  • 401Unauthorized
  • 403Forbidden
  • 404Not Found
  • 409Conflict
  • 422Validation Error
  • 429Too Many Requests
  • 500Internal Server Error

Example

curl -X PATCH "https://api.nimbusnexus.net/api/v1/loadbalancers/<loadbalancer_id>" \
  -H "Authorization: Bearer $NIMBUS_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
DELETE/api/v1/loadbalancers/{loadbalancer_id}

Delete Load Balancer

Deletes a load balancer, optionally cascading to its child resources.

Parameters

NameInTypeDescription
loadbalancer_id*pathstring—
cascadequeryboolean | null—

Responses

  • 204Successful Response
  • 401Unauthorized
  • 403Forbidden
  • 404Not Found
  • 422Validation Error
  • 429Too Many Requests
  • 500Internal Server Error

Example

curl -X DELETE "https://api.nimbusnexus.net/api/v1/loadbalancers/<loadbalancer_id>" \
  -H "Authorization: Bearer $NIMBUS_KEY"
GET/api/v1/loadbalancers/{loadbalancer_id}/stats

Get Load Balancer Stats

Returns traffic statistics for the specified load balancer.

Parameters

NameInTypeDescription
loadbalancer_id*pathstring—

Responses

  • 200Successful Response
  • 401Unauthorized
  • 403Forbidden
  • 404Not Found
  • 422Validation Error
  • 429Too Many Requests
  • 500Internal Server Error

Example

curl -X GET "https://api.nimbusnexus.net/api/v1/loadbalancers/<loadbalancer_id>/stats" \
  -H "Authorization: Bearer $NIMBUS_KEY"
GET/api/v1/loadbalancers/{loadbalancer_id}/status

Get Load Balancer Status

Returns the operational and provisioning status tree of the specified load balancer.

Parameters

NameInTypeDescription
loadbalancer_id*pathstring—

Responses

  • 200Successful Response
  • 401Unauthorized
  • 403Forbidden
  • 404Not Found
  • 422Validation Error
  • 429Too Many Requests
  • 500Internal Server Error

Example

curl -X GET "https://api.nimbusnexus.net/api/v1/loadbalancers/<loadbalancer_id>/status" \
  -H "Authorization: Bearer $NIMBUS_KEY"
GET/api/v1/pools/

List Pools

Lists backend pools visible in the current scope, filtered by query parameters.

Parameters

NameInTypeDescription
admin_domainquerystring | null—
admin_projectquerystring | null—
projectquerystring | null—
namequerystring | null—
descriptionquerystring | null—
protocolquery"HTTP" | "HTTPS" | "TCP" | "UDP" | "PROXY" | "PROXYV2" | "SCTP" | null—
loadbalancer_idquerystring | null—

Responses

  • 200Successful Response
  • 401Unauthorized
  • 403Forbidden
  • 422Validation Error
  • 429Too Many Requests
  • 500Internal Server Error

Example

curl -X GET "https://api.nimbusnexus.net/api/v1/pools/" \
  -H "Authorization: Bearer $NIMBUS_KEY"
POST/api/v1/pools/

Create Pool

Creates a new backend pool on a load balancer.

Request body

FieldTypeDescription
admin_domainstring | null—
admin_projectstring | null—
namestring | nullPool's name
descriptionstring | nullPool's description
protocol*"HTTP" | "HTTPS" | "TCP" | "UDP" | "PROXY" | "PROXYV2" | "SCTP"—
lb_algorithm*"ROUND_ROBIN" | "LEAST_CONNECTIONS" | "SOURCE_IP" | "SOURCE_IP_PORT"—
loadbalancer_idstring | null—
listener_idstring | null—
admin_state_upboolean | null—

Responses

  • 201Successful Response
  • 400Bad Request
  • 401Unauthorized
  • 403Forbidden
  • 404Not Found
  • 409Conflict
  • 422Validation Error
  • 429Too Many Requests
  • 500Internal Server Error

Example

curl -X POST "https://api.nimbusnexus.net/api/v1/pools/" \
  -H "Authorization: Bearer $NIMBUS_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "protocol": "HTTP",
    "lb_algorithm": "ROUND_ROBIN"
  }'
GET/api/v1/pools/{pool_id}

Get Pool

Retrieves the details of a single backend pool by ID.

Parameters

NameInTypeDescription
pool_id*pathstring—

Responses

  • 200Successful Response
  • 401Unauthorized
  • 403Forbidden
  • 404Not Found
  • 422Validation Error
  • 429Too Many Requests
  • 500Internal Server Error

Example

curl -X GET "https://api.nimbusnexus.net/api/v1/pools/<pool_id>" \
  -H "Authorization: Bearer $NIMBUS_KEY"
PATCH/api/v1/pools/{pool_id}

Update Pool

Updates the mutable attributes of an existing backend pool.

Parameters

NameInTypeDescription
pool_id*pathstring—

Request body

FieldTypeDescription
admin_domainstring | null—
admin_projectstring | null—
namestring | nullPool's name
descriptionstring | nullNew pool's description
lb_algorithm"ROUND_ROBIN" | "LEAST_CONNECTIONS" | "SOURCE_IP" | null—
admin_state_upboolean | null—

Responses

  • 200Successful Response
  • 400Bad Request
  • 401Unauthorized
  • 403Forbidden
  • 404Not Found
  • 409Conflict
  • 422Validation Error
  • 429Too Many Requests
  • 500Internal Server Error

Example

curl -X PATCH "https://api.nimbusnexus.net/api/v1/pools/<pool_id>" \
  -H "Authorization: Bearer $NIMBUS_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
DELETE/api/v1/pools/{pool_id}

Delete Pool

Deletes the specified backend pool.

Parameters

NameInTypeDescription
pool_id*pathstring—

Responses

  • 204Successful Response
  • 400Bad Request
  • 401Unauthorized
  • 403Forbidden
  • 404Not Found
  • 409Conflict
  • 422Validation Error
  • 429Too Many Requests
  • 500Internal Server Error

Example

curl -X DELETE "https://api.nimbusnexus.net/api/v1/pools/<pool_id>" \
  -H "Authorization: Bearer $NIMBUS_KEY"
GET/api/v1/pools/{pool_id}/members/

List Members

Lists backend members of the specified pool, filtered by query parameters.

Parameters

NameInTypeDescription
pool_id*pathstring—
admin_domainquerystring | null—
admin_projectquerystring | null—
addressquerystring | null—
weightqueryinteger | null—
monitor_addressquerystring | null—
protocol_portqueryinteger | null—
monitor_portqueryinteger | null—

Responses

  • 200Successful Response
  • 401Unauthorized
  • 403Forbidden
  • 404Not Found
  • 422Validation Error
  • 429Too Many Requests
  • 500Internal Server Error

Example

curl -X GET "https://api.nimbusnexus.net/api/v1/pools/<pool_id>/members/" \
  -H "Authorization: Bearer $NIMBUS_KEY"
POST/api/v1/pools/{pool_id}/members/

Create Member

Adds a new backend member to the specified pool.

Parameters

NameInTypeDescription
pool_id*pathstring—

Request body

FieldTypeDescription
admin_domainstring | null—
admin_projectstring | null—
namestring | nullPool's name
address*string—
protocol_port*integer—
weightinteger | null—
monitor_addressstring | null—
monitor_portinteger | null—
admin_state_upboolean—
subnet_idstring | nullThe subnet ID where the member IP is located. Required for OVN

Responses

  • 201Successful Response
  • 400Bad Request
  • 401Unauthorized
  • 403Forbidden
  • 404Not Found
  • 422Validation Error
  • 429Too Many Requests
  • 500Internal Server Error

Example

curl -X POST "https://api.nimbusnexus.net/api/v1/pools/<pool_id>/members/" \
  -H "Authorization: Bearer $NIMBUS_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "address": "example",
    "protocol_port": 1
  }'
PUT/api/v1/pools/{pool_id}/members/

Batch Update Members

Replaces or additively updates the full set of members for a pool in one batch.

Parameters

NameInTypeDescription
pool_id*pathstring—

Request body

FieldTypeDescription
admin_domainstring | null—
admin_projectstring | null—
additive_onlyboolean—
members*array of MemberSingleBatchUpdate—

Responses

  • 202Successful Response
  • 400Bad Request
  • 401Unauthorized
  • 403Forbidden
  • 404Not Found
  • 409Conflict
  • 422Validation Error
  • 429Too Many Requests
  • 500Internal Server Error

Example

curl -X PUT "https://api.nimbusnexus.net/api/v1/pools/<pool_id>/members/" \
  -H "Authorization: Bearer $NIMBUS_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "members": [
      {
        "address": "example",
        "protocol_port": 1
      }
    ]
  }'
GET/api/v1/pools/{pool_id}/members/{member_id}

Get Member

Retrieves a single backend member of a pool by ID.

Parameters

NameInTypeDescription
pool_id*pathstring—
member_id*pathstring—

Responses

  • 200Successful Response
  • 401Unauthorized
  • 403Forbidden
  • 404Not Found
  • 422Validation Error
  • 429Too Many Requests
  • 500Internal Server Error

Example

curl -X GET "https://api.nimbusnexus.net/api/v1/pools/<pool_id>/members/<member_id>" \
  -H "Authorization: Bearer $NIMBUS_KEY"
PATCH/api/v1/pools/{pool_id}/members/{member_id}

Update Member

Updates the mutable attributes of an existing pool member.

Parameters

NameInTypeDescription
pool_id*pathstring—
member_id*pathstring—

Request body

FieldTypeDescription
admin_domainstring | null—
admin_projectstring | null—
namestring | nullPool's name
weightinteger | null—
monitor_addressstring | null—
monitor_portinteger | null—
admin_state_upboolean | null—

Responses

  • 200Successful Response
  • 400Bad Request
  • 401Unauthorized
  • 403Forbidden
  • 404Not Found
  • 409Conflict
  • 422Validation Error
  • 429Too Many Requests
  • 500Internal Server Error

Example

curl -X PATCH "https://api.nimbusnexus.net/api/v1/pools/<pool_id>/members/<member_id>" \
  -H "Authorization: Bearer $NIMBUS_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
DELETE/api/v1/pools/{pool_id}/members/{member_id}

Delete Member

Removes a backend member from the specified pool.

Parameters

NameInTypeDescription
pool_id*pathstring—
member_id*pathstring—

Responses

  • 204Successful Response
  • 401Unauthorized
  • 403Forbidden
  • 404Not Found
  • 409Conflict
  • 422Validation Error
  • 429Too Many Requests
  • 500Internal Server Error

Example

curl -X DELETE "https://api.nimbusnexus.net/api/v1/pools/<pool_id>/members/<member_id>" \
  -H "Authorization: Bearer $NIMBUS_KEY"

Need to make a real call? Try these endpoints in the live Swagger UI →