edit-icon download-icon

UpdateFlowControlRequest

Last Updated: Nov 16, 2018

Function

Modifies the 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 the throttling rule
consumerAppId String No ID of the application throttled. The value "default" indicates that all applications are throttled. This parameter is required for HSF throttling.
granularity String No Throttling granularity. This parameter can be set to 0 for thread throttling and 1 for QPS throttling.
methodName String No Throttling method, for example, dbCRUD(). The value ALL indicates all methods supported by the traffic-limited interface. This parameter is required for HSF throttling.
ruleType String No Rule type, which can be HSF for HSF throttling and URL for HTTP throttling
serviceName String No Interface that is throttled. This parameter is required for HSF throttling.
strategy String No (Reserved) Throttling policy
threshold Integer No Threshold
urlVar String No URL for HTTP throttling. This parameter is required for HTTP throttling.

Response parameters

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