public class RemoveNodeList extends AbstractModel
header, skipSign
Constructor and Description |
---|
RemoveNodeList() |
RemoveNodeList(RemoveNodeList source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
String |
getNodeName()
Get IDs of nodes to be deleted.
|
String |
getRole()
Get Roles of nodes to be deleted.
|
String |
getZone()
Get AZs corresponding to the nodes.
|
void |
setNodeName(String NodeName)
Set IDs of nodes to be deleted.
|
void |
setRole(String Role)
Set Roles of nodes to be deleted.
|
void |
setZone(String Zone)
Set AZs corresponding to the nodes.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public RemoveNodeList()
public RemoveNodeList(RemoveNodeList source)
public String getRole()
public void setRole(String Role)
Role
- Roles of nodes to be deleted.
- SECONDARY: Mongod secondary node.
- READONLY: read-only node.
- MONGOS: Mongos node.public String getNodeName()
public void setNodeName(String NodeName)
NodeName
- IDs of nodes to be deleted. For a sharded cluster instance, specify the IDs of nodes to be deleted on one shard. Nodes with the same IDs on other shards will also be deleted.
- Obtaining method: Log in to the [TencentDB for MongoDB console](https://console.cloud.tencent.com/), go to the **Node Management** tab, and obtain the **node IDs**.
- Note: For a sharded cluster instance, specify the IDs of nodes on shard 0. For example, cmgo-6hfk****_0-node-primary.public String getZone()
public void setZone(String Zone)
Zone
- AZs corresponding to the nodes.
- Single AZ: All nodes are in the same AZ.
- Multiple AZs: The current standard specification involves three AZs. The primary and secondary nodes are not in the same AZ. Note: AZs corresponding to the nodes to be deleted should be specified. After deletion, the number of nodes in any two AZs should be larger than that in the third AZ.Copyright © 2025. All rights reserved.