Aller au contenu
NimbusNexus

Load balancers

Un load balancer place une flotte de VM derrière une seule VIP (IP virtuelle) : il répartit le trafic entre les backends et retire automatiquement de la rotation ceux qui sont défaillants. Un listener parle TCP, UDP, SCTP, HTTP, HTTPS, TERMINATED_HTTPS ou PROMETHEUS, et envoie tout son trafic à son pool par défaut ; il n’y a pas de règles de routage par chemin ni par header.

Les quatre sous-ressources

Un load balancer est lui-même un conteneur ; la logique de routage réside dans des ressources imbriquées :

  • Listener — un par couple (protocole, port) sur lequel le LB accepte du trafic. HTTPS:443 est un listener ; HTTP:80 en est un autre. Un même LB peut héberger de nombreux listeners.
  • Pool — un groupe de backends, attaché à un listener (listener_id) ou au load balancer (loadbalancer_id). Chaque pool a un protocol (HTTP, HTTPS, TCP, UDP, SCTP, PROXY ou PROXYV2) et un lb_algorithm : ROUND_ROBIN, LEAST_CONNECTIONS, SOURCE_IP ou SOURCE_IP_PORT. Il n’y a pas de paramètre de persistance de session.
  • Membre — un backend dans un pool : une address IP et un protocol_port, avec un weight (0–256, 1 par défaut).
  • Moniteur de santé — le contrôle de santé actif de chaque pool. Les membres en échec sont retirés de la rotation jusqu’à leur rétablissement.

Chacune a ses propres endpoints, listés ci-dessous : /api/v1/loadbalancers/, /api/v1/listeners/, /api/v1/pools/, /api/v1/pools/{pool_id}/members/ et /api/v1/health_monitors/.

Terminaison SSL

Pour les listeners HTTPS, deux options s’offrent à vous :

  • TLS terminé sur le LB. Utilisez un listener TERMINATED_HTTPS et faites pointer default_tls_container_ref (et sni_container_refs, pour d’autres certificats) vers un conteneur de certificats existant. Le LB sert le TLS aux clients et communique en clair avec vos VM. Cette API ne téléverse ni n’émet de certificats.
  • TLS passthrough. Le LB fait uniquement du transfert TCP L4 ; vos VM gèrent le TLS. Nécessaire quand le backend doit voir le certificat client d’origine. Utilisez un listener HTTPS ou TCP.

Contrôles de santé

Un moniteur de santé sonde chaque membre toutes les delay secondes et attend une réponse pendant timeout secondes, une valeur inférieure à delay ; vous définissez les deux. Son type est HTTP, HTTPS, PING, TCP, TLS-HELLO, UDP-CONNECT ou SCTP. GET /api/v1/loadbalancers/{loadbalancer_id}/status affiche l’operating_status de chaque membre.

  • Un membre est retiré de la rotation après max_retries_down sondes en échec (3 si vous l’omettez).
  • Il revient dans la rotation après max_retries sondes réussies, une valeur que vous devez définir.

Pour les contrôles HTTP et HTTPS, définissez url_path, http_method et expected_codes. Faites pointer url_path vers un élément de votre application qui renvoie rapidement un corps — et évitez de faire faire un vrai travail au contrôle, sinon c’est le contrôle lui-même qui devient la charge.

Étapes suivantes

  • Machines virtuelles — ce qui devient membre d’un pool.
  • IP flottantes — l’alternative pour l’accès public à une seule VM, sans LB.
  • Groupes de sécurité — le pare-feu au niveau de l’interface de la VM ; les LB respectent les groupes de sécurité des membres.

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 →