Tüm Ürünler
Search
Belge Merkezi

:RemoveBackendServers

Son Güncelleme:Sep 29, 2026

Arka uç sunucularını kaldırır.

Operation description

Not

Kaldırmak istediğiniz arka uç sunucuları Klasik Yük Dengeleyici (CLB) örneğinin sunucu listesinde değilse istek başarısız olur. Ancak sistem bir hata bildirmez.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

Action

Access level

Resource type

Condition key

Dependent action

slb:RemoveBackendServers

update

*loadbalancer

acs:slb:{#regionId}:{#accountId}:loadbalancer/{#loadbalancerId}

  • ecs:tag
  • slb:tag
  • slb:tag
None

Request parameters

Parameter

Type

Required

Description

Example

RegionId

string

No

CLB örneğinin dağıtıldığı bölgenin kimliği.

cn-hangzhou

LoadBalancerId

string

Yes

CLB örneğinin kimliği.

lb-bp15lbk8uja8rvm4a****

BackendServers

string

Yes

Kaldırmak istediğiniz arka uç sunucuları.

  • ServerId: Arka uç sunucularının kimlikleri. Değeri bir dize olarak ayarlayın. Bu parametre gereklidir.

  • Type: Arka uç sunucusunun türü. Geçerli değerler:

    • ecs (varsayılan): Elastic Compute Service (ECS) örneği

    • eni: esnek ağ arabirimi (ENI)

    • eci: esnek konteyner örneği

  • Weight: Arka uç sunucusunun ağırlığı. Geçerli değerler: 0 ile 100 arası. Değeri bir tam sayı olarak ayarlayın.

Her çağrıda en fazla 20 arka uç sunucusu belirtebilirsiniz. Örnekler:

  • ECS örneklerini kaldırma:

[{"ServerId":"i-bp1fq61enf4loa5i****", "Type": "ecs","Weight":"100"}]

  • ENI'leri kaldırma:

[{"ServerId":"eni-2ze1sdp5****","Type": "eni","Weight":"100"}]

  • Esnek konteyner örneklerini kaldırma:

[{"ServerId":"eci-2ze1sdp5****","Type": "eci","Weight":"100"}]

[{"ServerId":"i-bp1fq61enf4loa5i****", "Type": "ecs","Weight":"100"}]

Response elements

Element

Type

Description

Example

object

LoadBalancerId

string

CLB örneğinin kimliği.

lb-bp15lbk8uja8rvm4a****

RequestId

string

İstek kimliği.

365F4154-92F6-4AE4-92F8-7FF34******

BackendServers

object

BackendServer

array<object>

Arka uç sunucuları.

object

Type

string

Arka uç sunucusunun türü. Geçerli değerler:

  • ecs: ECS örneği

  • eni: ENI

  • eci: esnek konteyner örnekleri

ecs

Weight

integer

Arka uç sunucusunun ağırlığı. Geçerli değerler: 0 ile 100 arası.

100

Description

string

Sunucu grubunun açıklaması.

BackendServer1

ServerId

string

Arka uç sunucusunun kimliği.

i-bp1fq61enf4loa5i****

Examples

Success response

JSON format

{
  "LoadBalancerId": "lb-bp15lbk8uja8rvm4a****",
  "RequestId": "365F4154-92F6-4AE4-92F8-7FF34******",
  "BackendServers": {
    "BackendServer": [
      {
        "Type": "ecs",
        "Weight": 100,
        "Description": "BackendServer1",
        "ServerId": "i-bp1fq61enf4loa5i****"
      }
    ]
  }
}

Error codes

HTTP status code

Error code

Error message

Description

400 SystemBusy The system is busy.

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.