Ir para o conteúdo
NimbusNexus

Balanceadores de carga

Um balanceador de carga fica na frente de uma frota de VMs com um único VIP (IP virtual), distribuindo o tráfego entre os backends e tirando automaticamente de rotação os que não estão saudáveis. Um listener fala TCP, UDP, SCTP, HTTP, HTTPS, TERMINATED_HTTPS ou PROMETHEUS e envia todo o seu tráfego para o seu pool padrão; não existem regras de roteamento por caminho ou por header.

Os quatro sub-recursos

Um balanceador de carga é, ele próprio, um contêiner; a lógica de roteamento fica em recursos aninhados:

  • Listener — um por (protocolo, porta) em que o LB aceita tráfego. HTTPS:443 é um listener; HTTP:80 é outro. Um único LB pode hospedar muitos listeners.
  • Pool — um grupo de backends, vinculado a um listener (listener_id) ou ao balanceador de carga (loadbalancer_id). Cada pool tem um protocol (HTTP, HTTPS, TCP, UDP, SCTP, PROXY ou PROXYV2) e um lb_algorithm: ROUND_ROBIN, LEAST_CONNECTIONS, SOURCE_IP ou SOURCE_IP_PORT. Não existe uma configuração de persistência de sessão.
  • Membro — um backend em um pool: um address IP e uma protocol_port, com um weight (0–256, padrão 1).
  • Monitor de integridade — a verificação de integridade ativa de cada pool. Os membros que falham saem de rotação até se recuperarem.

Cada um tem os seus próprios endpoints, listados abaixo: /api/v1/loadbalancers/, /api/v1/listeners/, /api/v1/pools/, /api/v1/pools/{pool_id}/members/ e /api/v1/health_monitors/.

Terminação SSL

Para listeners HTTPS, você tem duas opções:

  • TLS terminado no LB. Use um listener TERMINATED_HTTPS e aponte default_tls_container_ref (e sni_container_refs, para mais certificados) para um contêiner de certificados existente. O LB serve TLS para os clientes enquanto fala em texto puro com as suas VMs. Esta API não envia nem emite certificados.
  • TLS passthrough. O LB faz apenas encaminhamento TCP L4; suas VMs cuidam do TLS. Obrigatório quando o backend precisa ver o certificado original do cliente. Use um listener HTTPS ou TCP.

Verificações de integridade

Um monitor de integridade testa cada membro a cada delay segundos e espera timeout segundos, menos que delay, por uma resposta; você define os dois. O type dele é HTTP, HTTPS, PING, TCP, TLS-HELLO, UDP-CONNECT ou SCTP. GET /api/v1/loadbalancers/{loadbalancer_id}/status mostra o operating_status de cada membro.

  • Um membro sai de rotação depois de max_retries_down sondagens com falha (3, se você não o definir).
  • Ele volta à rotação depois de max_retries sondagens bem-sucedidas, que você precisa definir.

Nas verificações HTTP e HTTPS, defina url_path, http_method e expected_codes. Aponte url_path para algo no seu app que retorne um corpo rápido — e evite que a verificação faça trabalho real, senão a própria verificação vira a carga.

Próximos passos

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 →