All Products
Search
Document Center

API Gateway:PolicyClassInfo

Last Updated:Aug 27, 2026

Parameter

Type

Description

Example

object

The policy template.

classId

string

The template identifier.

pc-cpqm0s94ckt1displ8ng

name

string

The template name.

ConcurrencyLimit

alias

string

The template alias.

并发控制

version

string

The template version.

1.0.0

description

string

The template description.

通过控制并发线程数以保证系统的稳定性。适用于应用内部或下游依赖出现不稳定的场景,例如慢SQL、下游应用响应时间变长等。

type

string

The policy type.

FlowControl

direction

string

The direction of traffic on which the policy takes effect.

InBound

attachableResourceTypes

array

The resource types that can be attached to this policy.

string

The resource type.

Gateway

executeStage

string

The execution phase.

POST

executePriority

string

The execution priority.

1

enableLog

boolean

Indicates whether logging is enabled.

true

deprecated

boolean

Indicates whether the policy is deprecated.

false

configExample

string

A configuration example.

{}