Releases the internal endpoint of the shard or Configserver node of a sharded cluster instance.
- This operation can be used to release the internal endpoint of a shard or Configserver node in a sharded cluster instance. For more information, see Release the endpoint of a shard or Configserver node.
- To release the public endpoint of a shard or Configserver node in a sharded cluster instance, you can call the ReleasePublicNetworkAddress operation.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | ReleaseNodePrivateNetworkAddress |
The operation that you want to perform. Set the value to ReleaseNodePrivateNetworkAddress. |
RegionId | String | No | cn-hangzhou |
The region ID of the instance. You can call the DescribeRegions operation to query the most recent region list. |
DBInstanceId | String | Yes | dds-bp1a7009eb24**** |
The ID of the sharded cluster instance. |
NodeId | String | Yes | d-bp128a003436**** |
The ID of the shard or Configserver node. Note You can call the DescribeDBInstanceAttribute operation to query the ID of the shard or Configserver node.
|
NetworkType | String | No | VPC |
The network type of the internal endpoint. Valid values:
Note You can call the DescribeShardingNetworkAddress operation to query the network type of the internal endpoint.
|
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
RequestId | String | 0FDDC511-7252-4A4A-ADDA-5CB1BF63873D |
The ID of the request. |
Examples
Sample requests
http(s)://mongodb.aliyuncs.com/?Action=ReleaseNodePrivateNetworkAddress
&DBInstanceId=dds-bp1a7009eb24****
&NodeId=d-bp128a003436****
&NetworkType=VPC
&<Common request parameters>
Sample success responses
XML
format
HTTP/1.1 200 OK
Content-Type:application/xml
<ReleaseNodePrivateNetworkAddressResponse>
<RequestId>EFD65226-08CC-4C4D-B6A4-CB3C382F67B0</RequestId>
</ReleaseNodePrivateNetworkAddressResponse>
JSON
format
HTTP/1.1 200 OK
Content-Type:application/json
{
"RequestId" : "0FDDC511-7252-4A4A-ADDA-5CB1BF63873D"
}
Error codes
For a list of error codes, visit the API Error Center.