Tüm Ürünler
Search
Belge Merkezi

:RemoveVServerGroupBackendServers

Son Güncelleme:Sep 29, 2026

Bir vServer grubundan arka uç sunucuları kaldırır.

Operation description

Not

BackendServers parametresiyle belirtilen arka uç sunucular vServer grubunda bulunmuyorsa, bu arka uç sunucular yoksayılır. Herhangi bir hata mesajı döndürülmez.

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:RemoveVServerGroupBackendServers

update

instance

acs:ecs:{#regionId}:{#accountId}:instance/{#instanceId}

*loadbalancer

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

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

Request parameters

Parameter

Type

Required

Description

Example

RegionId

string

Yes

Server Load Balancer (SLB) örneğinin bölge kimliği.

cn-hangzhou

VServerGroupId

string

Yes

vServer grubunun kimliği.

rsp-cige6****

BackendServers

string

Yes

Kaldırmak istediğiniz arka uç sunucular. Aşağıdaki parametreleri yapılandırın:

  • ServerId: Zorunlu. Arka uç sunucunun kimliği. Değeri bir dize olarak belirtin. Bir Elastic Compute Service (ECS) örneğinin, esnek ağ arabiriminin (ENI) veya esnek konteyner örneğinin kimliğini belirtebilirsiniz. ServerId değerini bir ENI veya esnek konteyner örneğinin kimliği olarak ayarlarsanız, Type parametresini yapılandırmanız gerekir.

  • Weight: Arka uç sunucunun ağırlığı. Geçerli değerler: 0 ile 100 arası. Varsayılan değer: 100. Bir arka uç sunucunun ağırlığını 0 olarak ayarlarsanız, arka uç sunucuya hiçbir istek yönlendirilmez.

  • Description: İsteğe bağlı. Arka uç sunucunun açıklaması. Değeri bir dize olarak belirtin. Açıklama 1 ila 80 karakter uzunluğunda olmalıdır ve harf, rakam, tire (-), eğik çizgi (/), nokta (.) ve alt çizgi (_) içerebilir.

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

    • ecs: ECS örneği

    • eni: ENI

    • eci: Esnek konteyner örneği

Not

ENI'leri ve esnek konteyner örneklerini arka uç sunucu olarak yalnızca yüksek performanslı SLB örnekleri için belirtebilirsiniz.

  • ServerIp: Bir ENI'nin veya esnek konteyner örneğinin IP adresı.

  • Port: Arka uç bağlantı noktası.

Örnekler:

  • ECS örnekleri ekleme:

    [{ "ServerId": "i-xxxxxxxxx", "Weight": "100", "Type": "ecs", "Port":"80","Description":"test-112" }]

  • ENI ekleme:

    [{ "ServerId": "eni-xxxxxxxxx", "Weight": "100", "Type": "eni", "ServerIp": "192.168.**.**", "Port":"80","Description":"test-112" }]

  • Birden fazla IP adresına sahip ENI ekleme:

    [{ "ServerId": "eni-xxxxxxxxx", "Weight": "100", "Type": "eni", "ServerIp": "192.168.**.**", "Port":"80","Description":"test-113" },{ "ServerId": "eni-xxxxxxxxx", "Weight": "100", "Type": "eni", "ServerIp": "172.166.**.**", "Port":"80","Description":"test-113" }]

  • Esnek konteyner örnekleri ekleme:

    [{ "ServerId": "eci-xxxxxxxxx", "Weight": "100", "Type": "eci", "ServerIp": "192.168.**.**", "Port":"80","Description":"test-114" }]

Not

SLB örneklerine yalnızca çalışan arka uç sunucular ekleyebilirsiniz. En fazla 20 arka uç sunucu belirtebilirsiniz.

[{ "ServerId": "eni-xxxxxxxxx", "Weight": "100", "Type": "eni", "ServerIp": "192.168.**.**", "Port":"80","Description":"test-112" },{ "ServerId": "eni-xxxxxxxxx", "Weight": "100", "Type": "eni", "ServerIp": "172.166.**.**", "Port":"80","Description":"test-113" }]

Response elements

Element

Type

Description

Example

object

VServerGroupId

string

vServer grubunun kimliği.

rsp-cige6j****

RequestId

string

İstek kimliği.

9DEC9C28-AB05-4DDF-9A78-6B0******

BackendServers

object

BackendServer

array<object>

Arka uç sunucular.

object

Type

string

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

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

  • eni: ENI

  • eci: Esnek konteyner örneği

eni

Weight

integer

Arka uç sunucunun ağırlığı.

100

Port

integer

Arka uç sunucu tarafından kullanılan bağlantı noktası.

80

ServerId

string

Arka uç sunucunun kimliği.

eni-hhshhs****

Examples

Success response

JSON format

{
  "VServerGroupId": "rsp-cige6j****",
  "RequestId": "9DEC9C28-AB05-4DDF-9A78-6B0******",
  "BackendServers": {
    "BackendServer": [
      {
        "Type": "eni",
        "Weight": 100,
        "Port": 80,
        "ServerId": "eni-hhshhs****"
      }
    ]
  }
}

Error codes

HTTP status code

Error code

Error message

Description

400 LbStatusNotSupport The status of specified loadbalancer does not support..

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.