public static class RemoveServersFromServerGroupRequest.RemoveServersFromServerGroupRequestServers
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
Integer |
port
The port that is used by the backend server.
|
String |
serverId
The backend server ID.
|
String |
serverIp
The IP address in inclusive ENI mode.
|
String |
serverType
The type of the backend server.
|
| 构造器和说明 |
|---|
RemoveServersFromServerGroupRequestServers() |
@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.
> This parameter is required if the **ServerType** parameter is set to **Ecs**, **Eni**, **Eci**, or **Ip**.
@NameInMap(value="ServerId") public String serverId
The backend server ID. 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.
* If the server group type is **Fc**, set the ServerId parameter to the ARN of a function specified in the server group.
> 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. You can specify at most 40 servers in each call. Valid values:
* **Ecs**
* **Eni**
* **Eci**
* **Ip**
* **Fc**
This parameter is required.
public RemoveServersFromServerGroupRequestServers()
public static RemoveServersFromServerGroupRequest.RemoveServersFromServerGroupRequestServers build(Map<String,?> map) throws Exception
Exceptionpublic RemoveServersFromServerGroupRequest.RemoveServersFromServerGroupRequestServers setPort(Integer port)
public Integer getPort()
public RemoveServersFromServerGroupRequest.RemoveServersFromServerGroupRequestServers setServerId(String serverId)
public String getServerId()
public RemoveServersFromServerGroupRequest.RemoveServersFromServerGroupRequestServers setServerIp(String serverIp)
public String getServerIp()
public RemoveServersFromServerGroupRequest.RemoveServersFromServerGroupRequestServers setServerType(String serverType)
public String getServerType()
Copyright © 2024. All rights reserved.