edit-icon download-icon

ListFlowControlsRequest

Last Updated: Jan 16, 2018

Function

Returns the rate throttling configuration list.

Request URL

/pop/v5/app/flowControls

Request method

GET

Request parameters

Parameter Type Required? Description
appId String Yes Application ID

Response parameters

Parameter Type Description
Code Integer Response code
Message String Response message
FlowControlsMap FlowControlsMap Rate throttling data

FlowControlsMap

Parameter Type Description
AppId String Application ID
AppName String Application name
InterfaceMethods InterfaceMethods Information of the interface method for rate throttling
RuleList RuleList A list of rate throttling rules
AppList AppList A set of traffic-limited applications

InterfaceMethods

Parameter Type Description
Name String Name of the service interface
Version String Service version
Methods List A set of methods specific to the service interface

RuleList

Parameter Type Description
AppId String Application ID
ConsumerAppId String Application to which rate throttling is applied
CreateTime Long Creation time
Granularity String Granularity of throttling
Resource String Name of the interface method
RuleId String Rule ID
RuleType String Rule type
State Integer Status of rate throttling. The value 1 indicates that rate throttling is disabled; the value 0 indicates that rate throttling is enabled.
Strategy String (Reserved) Rate throttling policy
Threshold Integer Threshold of throttling
UpdateTime Long Update time

AppList

Parameter Type Description
AppId String Application ID
Name String Application name
RegionId String Region ID
Description String Application description
Owner String Application creator
InstanceCount Integer Number of included application instances
RunningInstanceCount Integer Number of running application instances
Port Integer Port occupied by the application
UserId String Primary account ID
SlbId String ID of the intranet-based Server Load Balancer instance
SlbIp String IP address of the intranet-based Server Load Balancer instance
SlbPort Integer Port occupied by the intranet-based Server Load Balancer instance
ExtSlbId String ID of the Internet-based Server Load Balancer instance
ExtSlbIp String IP address of the Internet-based Server Load Balancer instance
ApplicationType String Application deployment type, which can be War (WAR package deployment) or FatJar (JAR package deployment). If this parameter is blank, it indicates that the application is not deployed.
ClusterType Integer Environmental type of the application cluster. Optional values: 0 (common Docker cluster); 1 (Swarm cluster); 2 (ECS cluster); 3 (Kubernetes cluster); 4 (automatically registered Pandora cluster).
ClusterId String Cluster ID
Dockerize Boolean Whether the application is a Docker application
Cpu Integer Number of CPU cores
Memory Integer Memory size (MB) configured for the application instance
HealthCheckUrl String Health check URL
BuildpackId Long Container version ID
CreateTime Long Creation time
Thank you! We've received your feedback.