• Native OpenStack API

noa
  1. Help Center
  2. Native OpenStack API
  3. API Reference
  4. Neutron
  5. LBaas
  6. Update member

Update member

Function Description

This interface is used to update a member.

Interface Format

Method

URI

Description

PUT

/v2.0/lbaas/pools/{pool_id}/members/{member_id}

Updates a member that belongs to a specified pool.

Restrictions

Only nameadmin_state_up, and weight of a member can be updated.

If provisioning status of the load balancer bound to a member is not ACTIVE, the member cannot be updated.

Request Parameter

Parameter

Type

Mandatory

Description

member

Dict

Yes

Specifies a member that belongs to a pool. For details, see Table 5.

Response Parameter

Parameter

Type

Mandatory

Description

member

Dict

Yes

Specifies a member that belongs to a pool. For details, see Table 11.

Request Example

PUT  /v2.0/lbaas/pools/5a9a3e9e-d1aa-448e-af37-a70171f2a332/members/c0042496-e220-44f6-914b-e6ca33bab503
{"member": {"name": "member-jy-tt-1"}}

Response Example

{
    "member": {
        "name": "member-jy-tt-1",
        "weight": 1,
        "admin_state_up": true,
        "subnet_id": "33d8b01a-bbe6-41f4-bc45-78a1d284d503",
        "tenant_id": "145483a5107745e9b3d80f956713e6a3",
        "address": "192.168.44.11",
        "protocol_port": 88,
        "id": "c0042496-e220-44f6-914b-e6ca33bab503"
    }
}

Error Code

See section Return Code Processing.