public static class ReplaceServersInServerGroupRequest.ReplaceServersInServerGroupRequestRemovedServers
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
Integer |
port
The port that is used by the backend server.
|
String |
serverId
The ID of the backend server.
|
String |
serverIp
The IP address in inclusive ENI mode.
|
String |
serverType
The type of the backend server that you want to remove from the server group.
|
| 构造器和说明 |
|---|
ReplaceServersInServerGroupRequestRemovedServers() |
@NameInMap(value="Port") public Integer port
The port that is used by the backend server. Valid values: **1** to **65535**. You can specify at most 40 servers in each call.
@NameInMap(value="ServerId") public String serverId
The ID of the backend server. You can specify up to 40 server IDs in each call.
* If the server group type is **Instance**, set the ServerId parameter to the ID of an ECS instance, an ENI, or an elastic container instance. These backend servers are specified by **Ecs**, **Eni**, or **Eci**.
* If the server group type is **Ip**, set the ServerId parameter to an IP address specified in the server group.
> You cannot perform this operation on a server group of the Function type. You can call the [ListServerGroups](https://help.aliyun.com/document_detail/213627.html) operation to query information about the server group type so that you can set ServerId to a proper value.
This parameter is required.
@NameInMap(value="ServerIp") public String serverIp
The IP address in inclusive ENI mode. You can specify at most 40 servers in each call.
@NameInMap(value="ServerType") public String serverType
The type of the backend server that you want to remove from the server group. You can specify up to 40 backend servers in each call. Valid values:
* **Ecs**
* **Eni**
* **Eci**
public ReplaceServersInServerGroupRequestRemovedServers()
public static ReplaceServersInServerGroupRequest.ReplaceServersInServerGroupRequestRemovedServers build(Map<String,?> map) throws Exception
Exceptionpublic ReplaceServersInServerGroupRequest.ReplaceServersInServerGroupRequestRemovedServers setPort(Integer port)
public Integer getPort()
public ReplaceServersInServerGroupRequest.ReplaceServersInServerGroupRequestRemovedServers setServerId(String serverId)
public String getServerId()
public ReplaceServersInServerGroupRequest.ReplaceServersInServerGroupRequestRemovedServers setServerIp(String serverIp)
public String getServerIp()
public ReplaceServersInServerGroupRequest.ReplaceServersInServerGroupRequestRemovedServers setServerType(String serverType)
public String getServerType()
Copyright © 2024. All rights reserved.