| 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. | |
| type | string | The policy type. | FlowControl |
| direction | string | The direction of traffic on which the policy takes effect. | InBound |
| attachableResourceTypes | array | The list of resource types that can be mounted. | |
| string | The resource type. | Gateway | |
| executeStage | string | The execution phase. | POST |
| executePriority | string | The execution priority. | 1 |
| enableLog | boolean | Specifies whether to enable logging. | true |
| deprecated | boolean | Specifies whether the policy has been deprecated. | false |
| configExample | string | A configuration example. | {} |