edit-icon download-icon

UpdateFlowControlRequest

Last Updated: Jan 16, 2018

Function

Modifies the rate throttling configuration.

Request URL

/pop/v5/flowControl

Request method

PUT

Request parameters

Parameter Type Required? Description
appId String Yes Application ID
ruleId String Yes ID of a rate throttling rule
consumerAppId String No ID of the application to which rate throttling is applied. The value "default" indicates that rate throttling is applied to all applications. This parameter is required for HSF rate throttling.
granularity String No Granularity of rate throttling. The value 0 indicates thread-based rate throttling; the value 1 indicates QPS-based rate throttling.
methodName String No Rate throttling method, for example, dbCRUD(). The value ALL indicates all methods supported by the traffic-limited interface. This parameter is required for HSF rate throttling.
ruleType String No Type of rate throttling. HSF indicates HSF rate throttling; URL indicates HTTP rate throttling.
serviceName String No Interface to which rate throttling is applied. This parameter is required for HSF rate throttling.
strategy String No (Reserved) Rate throttling policy
threshold Integer No Threshold
urlVar String No URL of HTTP rate throttling. This parameter is required for HTTP rate throttling.

Response parameters

Parameter Type Description
Code Integer Response code
Message String Response message
Thank you! We've received your feedback.