DescribeTrafficControls_API 网关_API文档

插件下载了解更多
VS Code 插件
安装插件之前,确保已安装 VS Code安装插件之前,确保已安装 VS Code
Alibaba Cloud Developer Toolkit is a collection of extensions that can help access Alibaba Cloud services in Visual Studio Code.
JetBrains 插件
安装插件之前,确保已安装 JetBrains IDE安装插件之前,确保已安装 JetBrains IDE
The Alibaba Cloud Developer Toolkit for JetBrains makes it easier to access Alibaba Cloud services.

接口说明

  • 此功能面向开放 API 的用户
  • 此接口可用于查询所有已创建的流控策略及策略下的特殊流控策略,包括详细信息
  • 此接口还可以支持条件查询,如查询指定接口所绑定的流控策略,如查询指定环境下的流控策略

流控信息

请求速率为100/1(s)。更多流控信息,请前往配额中心查看

授权信息

如下是此API对应的授权信息,用于RAM权限策略语句的Action元素中,为RAM用户或RAM角色授予调用此API的权限。请通过 RAM 访问控制设置,使用方法可参考访问控制帮助文档

具体说明如下:展开详情

操作访问级别资源类型条件关键字关联操作
apigateway:DescribeTrafficControls
Get
TrafficControl
acs:apigateway:{#regionId}:{#accountId}:trafficcontrol/{#TrafficControlId}

请求参数

字段名称字段详情
TrafficControlIdstring

流控策略 ID

示例值:tf123456参考取值来源:
    CreateTrafficControl
    AddTrafficSpecialControl
    DescribeApiTrafficControls
GroupIdstring

指定的分组编号,必须和 ApiIdStageName 一起查询

示例值:0009db9c828549768a200320714b8930参考取值来源:
    ModifyApiGroup
    CreateApiGroup
    DescribeApiGroups
ApiIdstring

指定的 API 编号,必须和 GroupIdStageName 一起查询

示例值:3b81fd160f5645e097cc8855d75a1cf6参考取值来源:
    CreateApi
StageNamestring

环境名称,必须和 GroupIdApiId 一起查询 ,可选值:展开详情

示例值:RELEASE
TrafficControlNamestring

流控策略名称

示例值:流控测试参考取值来源:
    CreateTrafficControl
    DescribeApiTrafficControls
PageNumberinteger<int32>

指定要查询的页码,默认是 1,起始是 1

示例值:1取值 >= 1
PageSizeinteger<int32>

指定分页查询时每页行数,最大值 100,默认值为 10

示例值:10取值 <= 100

返回参数

字段名称字段详情
PageNumberinteger<int32>

返回指定的页码

示例值:1
RequestIdstring

请求 ID

示例值:93D91A99-F093-4596-87BA-3C4FBFD3FD8A
PageSizeinteger<int32>

返回指定的每页条数

示例值:10
TotalCountinteger<int32>

返回结果的总条数

示例值:1
TrafficControlsobject

返回示例

变更历史

暂无变更历史

相关示例

API网关中经典网络实例中的流控插件相关操作
2022-09-14