public static final class RemoveVServerGroupBackendServersRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
RemoveVServerGroupBackendServersRequest.Builder |
backendServers(String backendServers)
The backend servers that you want to remove.
|
RemoveVServerGroupBackendServersRequest |
build() |
RemoveVServerGroupBackendServersRequest.Builder |
ownerAccount(String ownerAccount)
OwnerAccount.
|
RemoveVServerGroupBackendServersRequest.Builder |
ownerId(Long ownerId)
OwnerId.
|
RemoveVServerGroupBackendServersRequest.Builder |
regionId(String regionId)
The region ID of the Server Load Balancer (SLB) instance.
|
RemoveVServerGroupBackendServersRequest.Builder |
resourceOwnerAccount(String resourceOwnerAccount)
ResourceOwnerAccount.
|
RemoveVServerGroupBackendServersRequest.Builder |
resourceOwnerId(Long resourceOwnerId)
ResourceOwnerId.
|
RemoveVServerGroupBackendServersRequest.Builder |
vServerGroupId(String vServerGroupId)
The ID of the vServer group.
|
public RemoveVServerGroupBackendServersRequest.Builder backendServers(String backendServers)
The backend servers that you want to remove. Configure the following parameters:
ServerId: Required. The ID of the backend server. Specify the value in a string. You can specify the ID of an Elastic Compute Service (ECS) instance, an elastic network interface (ENI), or an elastic container instance. If you set ServerId to the ID of an ENI or an elastic container instance, you must configure the Type parameter.
Weight: the weight of the backend server. Valid values: 0 to 100. Default value: 100. If you set the weight of a backend server to 0, no requests are forwarded to the backend server.
Description: Optional. The description of the backend server. Specify the value in a string. The description must be 1 to 80 characters in length, and can contain letters, digits, hyphens (-), forward slashes (/), periods (.), and underscores (_).
Type: the type of the backend server. Valid values:
You can specify ENIs and elastic container instances as backend servers only for high-performance SLB instances.
Examples:
Add ECS instances:
[{ "ServerId": "i-xxxxxxxxx", "Weight": "100", "Type": "ecs", "Port":"80","Description":"test-112" }]
Add ENIs:
[{ "ServerId": "eni-xxxxxxxxx", "Weight": "100", "Type": "eni", "ServerIp": "192.168..", "Port":"80","Description":"test-112" }]
Add ENIs with multiple IP addresses:
[{ "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" }]
Add elastic container instances:
[{ "ServerId": "eci-xxxxxxxxx", "Weight": "100", "Type": "eci", "ServerIp": "192.168..", "Port":"80","Description":"test-114" }]
You can add only running backend servers to SLB instances. You can specify at most 20 backend servers.
This parameter is required.
example:[{ "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" }]
public RemoveVServerGroupBackendServersRequest.Builder ownerAccount(String ownerAccount)
public RemoveVServerGroupBackendServersRequest.Builder ownerId(Long ownerId)
public RemoveVServerGroupBackendServersRequest.Builder regionId(String regionId)
The region ID of the Server Load Balancer (SLB) instance.
This parameter is required.
example:cn-hangzhou
public RemoveVServerGroupBackendServersRequest.Builder resourceOwnerAccount(String resourceOwnerAccount)
public RemoveVServerGroupBackendServersRequest.Builder resourceOwnerId(Long resourceOwnerId)
public RemoveVServerGroupBackendServersRequest.Builder vServerGroupId(String vServerGroupId)
The ID of the vServer group.
This parameter is required.
example:rsp-cige6****
public RemoveVServerGroupBackendServersRequest build()
Copyright © 2026. All rights reserved.