Modifies the IP addresses of the origin server that is configured in a port forwarding rule.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| NetworkRules |
string |
Yes |
The details of the port forwarding rule. This parameter is a JSON string. The string contains the following fields:
Note
You can modify only the value of RealServers when you modify a port forwarding rule. |
[{"InstanceId":"ddoscoo-cn-mp91j1ao****","Protocol":"tcp","FrontendPort":8080,"BackendPort":8080,"RealServers":["1.1.1.1","2.2.2.2","3.3.3.3"]}] |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. |
CC042262-15A3-4A49-ADF0-130968EA47BC |
Examples
Success response
JSON format
{
"RequestId": "CC042262-15A3-4A49-ADF0-130968EA47BC"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.