Modifies the session timeout value of a forwarding rule.

Request parameters

Name Type Required Description
Ip String Yes The Anti-DDoS Pro IP to be operated.
LbId String Yes The policy change identifier.
FrontPort Integer Yes The forwarding port to be operated.
ConfigJson String Yes The configuration to be delivered. The format is JSON. For a structure description, see ConfigJson. For example, {"persistence_timeout":400}.
Table 1. ConfigJson
Name Type Required Description
persistence_timeout Integer Yes The session timeout value, in seconds. Value range: 30-3,600.
Note The name of this parameter begins with a lower case letter.

Response parameters

Name Type Description
RequestId String The unique identifier (ID) for this request.

Example

Request example
https://ddospro.cn-hangzhou.aliyuncs.com/?Action=ModifyPersistenceTimeOut
&Ip=1.1.1.1
&FrontPort=255
&ConfigJson={"persistence_timeout":400}
&LbId=xxxxxxx-xxxx-xxxx-xxxxxxxx
&public parameters
Response example
  • JSON format
    {
    	"RequestId": "C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E"
    }