• CLI

sdk
  1. Help Center
  2. CLI
  3. Developer Guide
  4. Mapping Between API and SDK
  5. Python
  6. ELB

ELB

Interface

Method

API

LoadBalancer

create_load_balancer(self, **attrs)

POST /v1.0/{tenant_id}/elbaas/loadbalancers

get_load_balancer(self, load_balancer)

GET /v1.0/{tenant_id}/elbaas/loadbalancers/{loadbalancer_id}

load_balancers(self, **query)

GET /v1.0/{tenant_id}/elbaas/loadbalancers

update_load_balancer(self, load_balancer, **attrs)

PUT /v1.0/{tenant_id}/elbaas/loadbalancers/{loadbalancer_id}

delete_load_balancer(self, load_balancer, ignore_missing=True)

DELETE /v1.0/{tenant_id}/elbaas/loadbalancers/{loadbalancer_id}

Listener

create_listener(self, **attrs)

POST /v1.0/{tenant_id}/elbaas/listeners

get_listener(self, listener)

GET /v1.0/{tenant_id}/elbaas/listeners/{listener_id}

listeners(self, **query)

GET /v1.0/{tenant_id}/elbaas/listeners?loadbalancer_id={loadbalancer_id}

update_listener(self, listener, **attrs)

PUT /v1.0/{tenant_id}/elbaas/listeners/{listener_id}

delete_listener(self, listener, ignore_missing=True)

DELETE /v1.0/{tenant_id}/elbaas/listeners/{listener_id}

HealthCheck

create_health_check(self, **attrs)

POST /v1.0/{tenant_id}/elbaas/healthcheck

get_health_check(self, health_check)

GET /v1.0/{tenant_id}/elbaas/healthcheck/{healthcheck_id}

update_health_check(self, health_check, **attrs)

PUT /v1.0/{tenant_id}/elbaas/healthcheck/{healthcheck_id}

delete_health_check(self, health_check, ignore_missing=True)

DELETE /v1.0/{tenant_id}/elbaas/healthcheck/{healthcheck_id}

Member

add_members_to_listener(self, listener, members)

POST /v1.0/{tenant_id}/elbaas/listeners/{listener_id}/members

remove_members_of_listener(self, listener, members)

POST /v1.0/{tenant_id}/elbaas/listeners/{listener_id}/members/action

listener_members(self, listener, **query)

GET /v1.0/{tenant_id}/elbaas/listeners/{listener_id}/members

Certificate

create_certificate(self, **attrs)

POST /v1.0/{tenant_id}/elbaas/certificate

certificates(self)

GET /v1.0/{tenant_id}/elbaas/certificate

update_certificate(self, certificate, **attrs)

PUT /v1.0/{tenant_id}/elbaas/certificate/{certificate_id}

delete_certificate(self, certificate, ignore_missing=True)

DELETE /v1.0/{tenant_id}/elbaas/certificate/{certificate_id}