From 1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634 Mon Sep 17 00:00:00 2001 From: Zhineng Li Date: Sun, 12 Jul 2026 17:11:17 +0800 Subject: update APIs 20260712 --- data/en_us/antiddos-public/2017-05-18/api-docs.php | 2932 +++++++++----------- 1 file changed, 1320 insertions(+), 1612 deletions(-) (limited to 'data/en_us/antiddos-public/2017-05-18/api-docs.php') diff --git a/data/en_us/antiddos-public/2017-05-18/api-docs.php b/data/en_us/antiddos-public/2017-05-18/api-docs.php index dcd1036..658a86f 100644 --- a/data/en_us/antiddos-public/2017-05-18/api-docs.php +++ b/data/en_us/antiddos-public/2017-05-18/api-docs.php @@ -1,235 +1,402 @@ '1.0', - 'info' => [ - 'style' => 'RPC', - 'product' => 'antiddos-public', - 'version' => '2017-05-18', - ], + 'info' => ['style' => 'RPC', 'product' => 'antiddos-public', 'version' => '2017-05-18'], 'directories' => [ [ - 'id' => 177779, - 'title' => 'Regions', + 'children' => ['DescribeDdosCredit', 'DescribeInstance', 'DescribeDdosThreshold', 'DescribeBgpPackByIp', 'DescribeInstanceIpAddress', 'DescribeIpDdosThreshold', 'DescribeIpLocationService'], 'type' => 'directory', - 'children' => [ - 'DescribeRegions', - ], + 'title' => 'Asset', ], [ - 'id' => 95144, - 'title' => 'Assets', + 'children' => ['ModifyIpDefenseThreshold', 'ModifyDefenseThreshold', 'DescribeDdosEventList', 'DescribeDdosCount', 'DescribeCap'], 'type' => 'directory', - 'children' => [ - 'DescribeDdosCredit', - 'DescribeInstance', - 'DescribeDdosThreshold', - 'DescribeBgpPackByIp', - 'DescribeInstanceIpAddress', - 'DescribeIpDdosThreshold', - 'DescribeIpLocationService', - ], + 'title' => 'Protection', ], [ - 'id' => 95150, - 'title' => 'Protection', + 'children' => ['DescribeRegions'], + 'title' => 'Others', 'type' => 'directory', - 'children' => [ - 'ModifyIpDefenseThreshold', - 'ModifyDefenseThreshold', - 'DescribeDdosEventList', - 'DescribeDdosCount', - 'DescribeCap', - ], ], ], 'components' => [ 'schemas' => [], ], 'apis' => [ - 'DescribeRegions' => [ - 'summary' => 'Queries the regions in which Anti-DDoS Origin Basic is available.', - 'methods' => [ - 'post', - 'get', + 'DescribeBgpPackByIp' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'], + 'parameters' => [ + [ + 'name' => 'DdosRegionId', + 'in' => 'query', + 'schema' => ['description' => 'The region ID of the asset to query.'."\n" + ."\n" + .'> You can call the [DescribeRegions](~~353250~~) operation to query the most recent region list.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], + ], + [ + 'name' => 'Ip', + 'in' => 'query', + 'schema' => ['description' => 'The IP address of the asset to query.'."\n" + ."\n" + .'> You can call the [DescribeInstanceIpAddress](~~472620~~) operation to query the IDs of Elastic Compute Service (ECS) instances, Server Load Balancer (SLB) instances, and elastic IP addresses (EIPs) within the current Alibaba Cloud account.', 'type' => 'string', 'required' => true, 'example' => '118.31.XX.XX', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => 'E46A08E4-A1CD-5BE9-B580-C4D6E9BC5484', 'title' => ''], + 'Code' => ['description' => 'The HTTP status code of the request.'."\n" + ."\n" + .'For more information about status codes, see [Common parameters](~~118841~~).', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'- **true**: yes'."\n" + ."\n" + .'- **false**: no', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'DdosbgpInfo' => [ + 'description' => 'The configurations of the instance that is associated with the asset.', + 'type' => 'object', + 'properties' => [ + 'Ip' => ['description' => 'The IP address of the asset.', 'type' => 'string', 'example' => '118.31.XX.XX', 'title' => ''], + 'ExpireTime' => ['description' => 'The expiration time of the instance. The value is a UNIX timestamp. Unit: milliseconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1640448000000', 'title' => ''], + 'ElasticThreshold' => ['description' => 'The burstable protection threshold of the instance. Unit: Gbit/s.', 'type' => 'integer', 'format' => 'int32', 'example' => '301', 'title' => ''], + 'BaseThreshold' => ['description' => 'The basic protection threshold of the instance. Unit: Gbit/s.', 'type' => 'integer', 'format' => 'int32', 'example' => '20', 'title' => ''], + 'DdosbgpInstanceId' => ['description' => 'The ID of the instance.', 'type' => 'string', 'example' => 'ddosbgp-cn-n6w1r7nz****', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'title' => 'DescribeBgpPackByIp', + 'summary' => 'Queries the configurations of the Anti-DDoS Origin instance that is associated with an asset. The asset is assigned a public IP address.', + 'description' => 'You can call the DescribeBgpPackByIp operation to query the configurations of the Anti-DDoS Origin instance that is associated with an asset. The configurations include the basic protection threshold, burstable protection threshold, and expiration time.'."\n" + ."\n" + .'## [](#qps-)Limits'."\n" + ."\n" + .'You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeBgpPackByIp'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddos:DescribeBgpPackByIp', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosBasic', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"E46A08E4-A1CD-5BE9-B580-C4D6E9BC5484\\",\\n \\"Code\\": 200,\\n \\"Success\\": true,\\n \\"DdosbgpInfo\\": {\\n \\"Ip\\": \\"118.31.XX.XX\\",\\n \\"ExpireTime\\": 1640448000000,\\n \\"ElasticThreshold\\": 301,\\n \\"BaseThreshold\\": 20,\\n \\"DdosbgpInstanceId\\": \\"ddosbgp-cn-n6w1r7nz****\\"\\n }\\n}","type":"json"}]', + ], + 'DescribeCap' => [ + 'summary' => 'Queries the download link to the traffic data that is captured when a DDoS attack event occurs.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', + 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'], + 'parameters' => [ + [ + 'name' => 'DdosRegionId', + 'in' => 'query', + 'schema' => ['description' => 'The region ID of the asset that is under DDoS attacks. The asset is assigned a public IP address.'."\n" + ."\n" + .'> You can call the [DescribeRegions](~~353250~~) operation to query the most recent region list.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], + ], + [ + 'name' => 'InstanceType', + 'in' => 'query', + 'schema' => ['description' => 'The type of the asset that is under DDoS attacks. The asset is assigned a public IP address. Valid values:'."\n" + ."\n" + .'- **ecs**: an Elastic Compute Service (ECS) instance.'."\n" + ."\n" + .'- **slb**: a Server Load Balancer (SLB) instance.'."\n" + ."\n" + .'- **eip**: an elastic IP address (EIP).'."\n" + ."\n" + .'- **ipv6**: an IPv6 gateway.'."\n" + ."\n" + .'- **swas**: a simple application server.'."\n" + ."\n" + .'- **waf**: a Web Application Firewall (WAF) instance of the Exclusive edition.'."\n" + ."\n" + .'- **ga\\_basic**: a Global Accelerator (GA) instance.', 'type' => 'string', 'required' => true, 'example' => 'ecs', 'title' => ''], + ], + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the asset that is under DDoS attacks.'."\n" + ."\n" + .'> You can call the [DescribeInstance](~~354191~~) operation to query the IDs of ECS instances, SLB instances, and EIPs within the current Alibaba Cloud account.', 'type' => 'string', 'required' => true, 'example' => 'i-bp10bclrt56fblts****', 'title' => ''], + ], + [ + 'name' => 'BegTime', + 'in' => 'query', + 'schema' => ['description' => 'The start time of the DDoS attack event. The value is a UNIX timestamp. Unit: milliseconds.'."\n" + ."\n" + .'> You can call the [DescribeDdosEventList](~~354236~~) operation to query the start time of each DDoS attack event that occurred on an asset.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1637812279000', 'title' => ''], + ], + [ + 'name' => 'InternetIp', + 'in' => 'query', + 'schema' => ['description' => 'The public IP address of the asset that is under DDoS attacks.', 'type' => 'string', 'required' => false, 'example' => '121.199.XX.XX', 'title' => ''], + ], ], - 'parameters' => [], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '5093C7EE-8E27-5FC9-9B88-40626BA540C0', - ], - 'Regions' => [ + 'RequestId' => ['description' => 'The ID of the request, which is used to locate and troubleshoot issues.', 'type' => 'string', 'example' => 'C728D7E9-9A39-52E0-966B-5C33118BDBB0', 'title' => ''], + 'CapUrl' => [ + 'description' => 'The download link to the traffic data that is captured when a DDoS attack event occurs.', 'type' => 'object', - 'itemNode' => true, 'properties' => [ - 'Region' => [ - 'description' => 'An array consisting of regions in which Anti-DDoS Origin Basic is available.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The details of the region.'."\n", - 'type' => 'object', - 'properties' => [ - 'RegionEnName' => [ - 'description' => 'The English name of the region.'."\n", - 'type' => 'string', - 'example' => 'East China 1', - ], - 'RegionName' => [ - 'description' => 'The Chinese name of the region.'."\n", - 'type' => 'string', - 'example' => 'China (Hangzhou)'."\n", - ], - 'RegionNoAlias' => [ - 'description' => 'The ID of the region.'."\n", - 'type' => 'string', - 'example' => 'cn-hangzhou', - ], - 'RegionNo' => [ - 'description' => 'The code of the region.'."\n", - 'type' => 'string', - 'example' => 'cn-hangzhou-dg-a01', - ], - ], - ], - ], + 'Url' => ['description' => 'The download link to the traffic data.', 'type' => 'string', 'example' => 'http://beaver-pack****.oss-cn-hangzhou.aliyuncs.com/ddos-2021****-121.89.XX.XX.cap?Expires=1637****&OSSAccessKeyId=LTAI****************&Signature=******', 'title' => ''], ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"5093C7EE-8E27-5FC9-9B88-40626BA540C0\\",\\n \\"Regions\\": {\\n \\"Region\\": [\\n {\\n \\"RegionEnName\\": \\"East China 1\\",\\n \\"RegionName\\": \\"华东1(杭州)\\",\\n \\"RegionNoAlias\\": \\"cn-hangzhou\\",\\n \\"RegionNo\\": \\"cn-hangzhou-dg-a01\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"\\n 5093C7EE-8E27-5FC9-9B88-40626BA540C0\\n \\n \\n cn-qingdao-cm5-a01\\n 华北1(青岛)\\n North China 1\\n cn-qingdao\\n \\n \\n cn-zhangjiakou-spe-na62-a01\\n 张北SPE\\n Zhangbei SPE Zone\\n cn-zhangjiakou-spe\\n \\n \\n cn-chengdu-wt97-a01\\n 西南1(成都)\\n China (Chengdu)\\n cn-chengdu\\n \\n \\n cn-beijing-btc-a01\\n 华北2(北京)\\n North China 2\\n cn-beijing\\n \\n \\n cn-nanjing-lnj1-a01\\n 华东5(南京-本地地域)\\n China (Nanjing-Local Region)\\n cn-nanjing\\n \\n \\n cn-shanghai-eu13-a01\\n 华东2(上海)\\n East China 2\\n cn-shanghai\\n \\n \\n rus-west-1-ru151-a01\\n 俄罗斯(莫斯科)\\n Russia (Moscow)\\n rus-west-1\\n \\n \\n us-east-us44-a01\\n 美国(弗吉尼亚)\\n US East 1 (Virginia)\\n us-east-1\\n \\n \\n eu-west-1-gb33-a01\\n 英国(伦敦)\\n UK(London)\\n eu-west-1\\n \\n \\n cn-hangzhou-dg-a01\\n 华东1(杭州)\\n East China 1\\n cn-hangzhou\\n \\n \\n cn-hongkong-am4-c04\\n 中国(香港)\\n cn-hongkong\\n cn-hongkong\\n \\n \\n ap-southeast-my88-a01\\n 马来西亚(吉隆坡)\\n Asia Pacific SE 3 (Kuala Lumpur)\\n ap-southeast-3\\n \\n \\n us-west-ot7-a01\\n 美国(硅谷)\\n US West 1 (Silicon Valley)\\n us-west-1\\n \\n \\n me-east-db47-a01\\n 阿联酋(迪拜)\\n Middle East 1 (Dubai)\\n me-east-1\\n \\n \\n ap-northeast-jp59-a01\\n 日本(东京)\\n Asia Pacific NE 1 (Tokyo)\\n ap-northeast-1\\n \\n \\n cn-huhehaote-nt12-a01\\n 华北5(呼和浩特)\\n China North 5 (Huhehaote)\\n cn-huhehaote\\n \\n \\n ap-southeast-au49-a01\\n 澳大利亚(悉尼)\\n Asia Pacific SE 2 (Sydney)\\n ap-southeast-2\\n \\n \\n ap-southeast-id35-a01\\n 印度尼西亚(雅加达)\\n Asia Pacific SE 5 (Jakarta)\\n ap-southeast-5\\n \\n \\n ap-south-in73-a01\\n 印度(孟买)\\n Asia Pacific SOU 1 (Mumbai)\\n ap-south-1\\n \\n \\n cn-zhangjiakou-na62-a01\\n 华北3(张家口)\\n China North 3 (Zhangjiakou)\\n cn-zhangjiakou\\n \\n \\n cn-shenzhen-st3-a01\\n 华南1(深圳)\\n South China 1\\n cn-shenzhen\\n \\n \\n eu-central-de46-a01\\n 德国(法兰克福)\\n EU Central 1 (Frankfurt)\\n eu-central-1\\n \\n \\n cn-guangzhou-so157-a01\\n 华南3(广州)\\n China (Guangzhou)\\n cn-guangzhou\\n \\n \\n ap-southeast-6\\n 菲律宾(马尼拉)\\n Philippines (Manila)\\n ap-southeast-6\\n \\n \\n cn-heyuan-sa127-a01\\n 华南2(河源)\\n China (Heyuan)\\n cn-heyuan\\n \\n \\n ap-southeast-os30-a01\\n 新加坡\\n Asia Pacific SE 1 (Singapore)\\n ap-southeast-1\\n \\n \\n cn-wulanchabu-na130-a01\\n 华北6(乌兰察布)\\n China (Ulanqab)\\n cn-wulanchabu\\n \\n \\n","errorExample":""}]', - 'title' => 'DescribeRegions', - 'description' => 'You can call this operation to query information about the regions in which Anti-DDoS Origin Basic is available. The information includes the region ID, region name, and code.'."\n" + 'title' => 'DescribeCap', + 'description' => 'You can call the DescribeCap operation to query the download link to the traffic data that is captured when a DDoS attack event occurs. You can download the traffic data from the download link and use the data as evidence.'."\n" ."\n" .'## Limits'."\n" ."\n" - .'You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.'."\n", - ], - 'DescribeDdosCredit' => [ - 'summary' => 'Queries the details of the security credit score of the current Alibaba Cloud account in a specific region.', - 'methods' => [ - 'post', - 'get', + .'You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeCap'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddos:DescribeCap', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosBasic', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C728D7E9-9A39-52E0-966B-5C33118BDBB0\\",\\n \\"CapUrl\\": {\\n \\"Url\\": \\"http://beaver-pack****.oss-cn-hangzhou.aliyuncs.com/ddos-2021****-121.89.XX.XX.cap?Expires=1637****&OSSAccessKeyId=LTAI****************&Signature=******\\"\\n }\\n}","type":"json"}]', + ], + 'DescribeDdosCount' => [ + 'summary' => 'Queries the number of assets that are under DDoS attacks in a specific region. The assets are assigned public IP addresses.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - ], + 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ 'name' => 'DdosRegionId', 'in' => 'query', + 'schema' => ['description' => 'The region ID of the asset to query.'."\n" + ."\n" + .'> You can call the [DescribeRegions](~~353250~~) operation to query the most recent region list.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], + ], + [ + 'name' => 'InstanceType', + 'in' => 'query', + 'schema' => ['description' => 'The type of the asset to query. Valid values:'."\n" + ."\n" + .'- **ecs**: Elastic Compute Service (ECS) instances.'."\n" + ."\n" + .'- **slb**: Server Load Balancer (SLB) instances.'."\n" + ."\n" + .'- **eip**: elastic IP addresses (EIPs).'."\n" + ."\n" + .'- **ipv6**: IPv6 gateways.'."\n" + ."\n" + .'- **swas**: simple application servers.'."\n" + ."\n" + .'- **waf**: Web Application Firewall (WAF) instances of the Exclusive edition.'."\n" + ."\n" + .'- **ga\\_basic**: Global Accelerator (GA) instances.', 'type' => 'string', 'required' => true, 'example' => 'ecs', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'The ID of the region.'."\n" - ."\n" - .'> You can call the [DescribeRegions](~~353250~~) operation to query the most recent region list.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', + 'description' => 'The response parameters.', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '7D66C762-324E-51CE-B461-2007996087B2', 'title' => ''], + 'DdosCount' => [ + 'description' => 'The number of assets that are under DDoS attacks.', + 'type' => 'object', + 'properties' => [ + 'BlackholeCount' => ['description' => 'The number of assets for which blackhole filtering is triggered.', 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''], + 'InstacenCount' => ['description' => 'The total number of assets.', 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''], + 'DefenseCount' => ['description' => 'The number of assets for which traffic scrubbing is triggered.', 'type' => 'integer', 'format' => 'int32', 'example' => '4', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + ], + ], + 'title' => 'DescribeDdosCount', + 'description' => '## [](#qps-)Limits'."\n" + ."\n" + .'You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '200', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeDdosCount'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddos:DescribeDdosCount', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosBasic', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"7D66C762-324E-51CE-B461-2007996087B2\\",\\n \\"DdosCount\\": {\\n \\"BlackholeCount\\": 0,\\n \\"InstacenCount\\": 0,\\n \\"DefenseCount\\": 4\\n }\\n}","type":"json"}]', + ], + 'DescribeDdosCredit' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'], + 'parameters' => [ + [ + 'name' => 'DdosRegionId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the region.'."\n" + ."\n" + .'> You can call the [DescribeRegions](~~353250~~) operation to query the most recent region list.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], + ], + ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**: yes'."\n" - .'* **false**: no'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'E1F7BD73-8E9D-58D9-8658-CFC97112C641', - ], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'- **true**: yes'."\n" + ."\n" + .'- **false**: no', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => 'E1F7BD73-8E9D-58D9-8658-CFC97112C641', 'title' => ''], 'DdosCredit' => [ - 'description' => 'The details of the security credit score of the current Alibaba Cloud account in the specified region.'."\n", + 'description' => 'The details of the security credit score of the current Alibaba Cloud account in the specified region.', 'type' => 'object', 'properties' => [ - 'Score' => [ - 'description' => 'The security credit score. The full score is **1000**.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '550', - ], - 'ScoreLevel' => [ - 'description' => 'The security credit level. Valid values:'."\n" - ."\n" - .'* **A**: outstanding'."\n" - .'* **B**: excellent'."\n" - .'* **C**: good'."\n" - .'* **D**: average'."\n" - .'* **E**: poor'."\n" - .'* **F**: poorer'."\n", - 'type' => 'string', - 'example' => 'D', - ], - 'BlackholeTime' => [ - 'description' => 'The time period after which blackhole filtering is automatically deactivated in the specified region. Unit: minutes.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '150', - ], + 'Score' => ['description' => 'The security credit score. The full score is **1000**.', 'type' => 'integer', 'format' => 'int32', 'example' => '550', 'title' => ''], + 'ScoreLevel' => ['description' => 'The security credit level. Valid values:'."\n" + ."\n" + .'- **A**: outstanding'."\n" + ."\n" + .'- **B**: excellent'."\n" + ."\n" + .'- **C**: good'."\n" + ."\n" + .'- **D**: average'."\n" + ."\n" + .'- **E**: poor'."\n" + ."\n" + .'- **F**: poorer', 'type' => 'string', 'example' => 'D', 'title' => ''], + 'BlackholeTime' => ['description' => 'The time period after which blackhole filtering is automatically deactivated in the specified region. Unit: minutes.', 'type' => 'integer', 'format' => 'int32', 'example' => '150', 'title' => ''], ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Success\\": true,\\n \\"RequestId\\": \\"E1F7BD73-8E9D-58D9-8658-CFC97112C641\\",\\n \\"DdosCredit\\": {\\n \\"Score\\": 550,\\n \\"ScoreLevel\\": \\"D\\",\\n \\"BlackholeTime\\": 150\\n }\\n}","errorExample":""},{"type":"xml","example":"\\n true\\n E1F7BD73-8E9D-58D9-8658-CFC97112C641\\n \\n 550\\n D\\n 150\\n \\n","errorExample":""}]', 'title' => 'DescribeDdosCredit', + 'summary' => 'Retrieves the details of the security credit score of the current Alibaba Cloud account in a specific region.', 'description' => 'You can call the DescribeDdosCredit operation to query the details of the security credit score of the current Alibaba Cloud account in a specific region. The details include the security credit score, security credit level, and the time period after which blackhole filtering is automatically deactivated.'."\n" ."\n" .'## Limits'."\n" ."\n" - .'You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.'."\n", - ], - 'DescribeInstance' => [ - 'summary' => 'Queries the details of the assets within the current Alibaba Cloud account. The assets can be elastic IP addresses (EIPs). The assets can also be Elastic Compute Service (ECS) instances or Server Load Balancer (SLB) instances that are assigned public IP addresses. This operation is phased out. We recommend that you use the DescribeInstanceIpAddress operation.', - 'methods' => [ - 'post', - 'get', + .'You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDdosCredit'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddos:DescribeDdosCredit', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosBasic', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Success\\": true,\\n \\"RequestId\\": \\"E1F7BD73-8E9D-58D9-8658-CFC97112C641\\",\\n \\"DdosCredit\\": {\\n \\"Score\\": 550,\\n \\"ScoreLevel\\": \\"D\\",\\n \\"BlackholeTime\\": 150\\n }\\n}","type":"json"}]', + ], + 'DescribeDdosEventList' => [ + 'summary' => 'Lists DDoS attack events for a specified asset with a public IP address.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -240,308 +407,208 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREddosOYL225'], ], 'parameters' => [ [ 'name' => 'DdosRegionId', 'in' => 'query', - 'schema' => [ - 'description' => 'The region ID of the asset.'."\n" - ."\n" - .'> You can call the [DescribeRegions](~~353250~~) operation to query the most recent region list.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The region ID of the asset that is assigned a public IP address.'."\n" + ."\n" + .'> Call [DescribeRegions](~~353250~~) to query all region IDs.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'InstanceType', 'in' => 'query', - 'schema' => [ - 'description' => 'The type of the asset to query. Valid values:'."\n" - ."\n" - .'* **ecs**: ECS instances.'."\n" - .'* **slb**: SLB instances.'."\n" - .'* **eip**: EIPs.'."\n" - .'* **ipv6**: IPv6 gateways.'."\n" - .'* **swas**: simple application servers.'."\n" - .'* **waf**: Web Application Firewall (WAF) instances of the Exclusive edition.'."\n" - .'* **ga_basic**: Global Accelerator (GA) instances.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'ecs', - ], - ], - [ - 'name' => 'InstanceName', - 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the asset.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'launch-advisor-2022****', - ], + 'schema' => ['description' => 'The instance type of the asset that is assigned a public IP address. Valid values:'."\n" + ."\n" + .'- **ecs**: an Elastic Compute Service (ECS) instance.'."\n" + ."\n" + .'- **slb**: a Server Load Balancer (SLB) instance.'."\n" + ."\n" + .'- **eip**: an elastic IP address (EIP) instance.'."\n" + ."\n" + .'- **ipv6**: an IPv6 Gateway instance.'."\n" + ."\n" + .'- **swas**: a simple application server instance.'."\n" + ."\n" + .'- **waf**: a dedicated Web Application Firewall (WAF) instance.'."\n" + ."\n" + .'- **ga\\_basic**: a Global Accelerator instance.', 'type' => 'string', 'required' => true, 'example' => 'ecs', 'title' => ''], ], [ - 'name' => 'DdosStatus', + 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The DDoS mitigation status of the asset. Valid values:'."\n" - ."\n" - .'* **mitigating**: queries assets for which traffic scrubbing is triggered.'."\n" - .'* **blackholed**: queries assets for which blackhole filtering is triggered.'."\n" - .'* **normal**: queries assets that are not under DDoS attacks.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'blackholed', - ], + 'schema' => ['description' => 'The ID of the instance for the asset that is assigned a public IP address.'."\n" + ."\n" + .'> Call [DescribeInstance](~~354191~~) to query the IDs of the ECS, SLB, and EIP instances that belong to your Alibaba Cloud account.', 'type' => 'string', 'required' => true, 'example' => 'i-bp10bclrt56fblts****', 'title' => ''], ], [ - 'name' => 'InstanceId', + 'name' => 'CurrentPage', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the asset. The formats of asset IDs vary based on the value of the **InstanceType**. parameter.'."\n" - ."\n" - .'* If you set **InstanceType** to **ecs**, specify the ID of the ECS instance. For example, you can specify i-bp1cb6x80tfgocid\\*\\*\\*\\*.'."\n" - .'* If you set **InstanceType** to **slb**, specify the ID of the SLB instance. For example, you can specify alb-vn2dqg3v31y2vd\\*\\*\\*\\*.'."\n" - .'* If you set **InstanceType** to **eip**, specify the ID of the EIP. For example, you can specify eip-j6ce6dcx9epi7rs46\\*\\*\\*\\*.', - 'type' => 'string', - 'required' => false, - 'example' => 'i-bp1cb6x80tfgocid****', - ], + 'schema' => ['description' => 'The number of the page to return for a paged query. Default value: **1**.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'default' => '1', 'example' => '1', 'title' => ''], ], [ - 'name' => 'InstanceIp', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => 'The IP address of the asset.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '121.199.XX.XX', - ], + 'schema' => ['description' => 'The number of attack events to return on each page for a paged query. Default value: **10**.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '50', 'default' => '20', 'example' => '10', 'title' => ''], ], [ - 'name' => 'CurrentPage', + 'name' => 'InternetIp', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of the page to return. Default value: **1**.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - 'default' => '1', - ], + 'schema' => ['description' => 'The IP address of the asset that is assigned a public IP address.', 'type' => 'string', 'required' => false, 'example' => '121.199.XX.XX', 'title' => ''], ], [ - 'name' => 'PageSize', + 'name' => 'QueryDays', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of entries to return on each page. Default value: **10**.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'maximum' => '50', - 'example' => '10', - 'default' => '20', - ], + 'schema' => ['description' => 'The number of days to query backwards from the current time. Default value: 7.', 'type' => 'integer', 'format' => 'int32', 'maximum' => '186', 'minimum' => '1', 'required' => false, 'example' => '7', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'description' => 'The response parameters.', 'type' => 'object', 'properties' => [ - 'Total' => [ - 'description' => 'The total number of the assets.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'C728D7E9-9A39-52E0-966B-5C33118BDBB0', - ], - 'InstanceList' => [ + 'Total' => ['description' => 'The total number of DDoS attack events found.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'RequestId' => ['description' => 'The ID of the request. Alibaba Cloud generates a unique ID for each request. You can use the ID to troubleshoot issues.', 'type' => 'string', 'example' => 'BC0907F8-A9F3-5E11-977B-D59CD98C64ED', 'title' => ''], + 'DdosEventList' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ - 'Instance' => [ - 'description' => 'The details of the assets.'."\n", + 'DdosEvent' => [ + 'description' => 'A list of DDoS attack events.', 'type' => 'array', 'items' => [ - 'description' => 'The details of the asset.'."\n", + 'description' => 'A list of DDoS attack events.', 'type' => 'object', 'properties' => [ - 'InstanceIp' => [ - 'description' => 'The IP address of the asset.'."\n", - 'type' => 'string', - 'example' => '121.199.XX.XX', - ], - 'IsBgppack' => [ - 'description' => 'Indicates whether the asset is associated with an Anti-DDoS Origin Basic instance. Valid values:'."\n" - ."\n" - .'* **true**: yes'."\n" - .'* **false**: no'."\n", - 'type' => 'boolean', - 'example' => 'false', - ], - 'IpVersion' => [ - 'description' => 'The IP protocol that is supported by the asset. Valid values:'."\n" - ."\n" - .'* **v4**: IPv4'."\n" - .'* **v6**: IPv6'."\n", - 'type' => 'string', - 'example' => 'v4', - ], - 'ElasticThreshold' => [ - 'description' => 'The burstable protection threshold for the asset. Unit: Mbit/s.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '12310', - ], - 'BlackholeThreshold' => [ - 'description' => 'The basic protection threshold for the asset. Unit: Mbit/s.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '5200', - ], - 'DefenseBpsThreshold' => [ - 'description' => 'The traffic scrubbing threshold for the asset. Unit: Mbit/s.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '300', - ], - 'InstanceName' => [ - 'description' => 'The name of the asset.'."\n", - 'type' => 'string', - 'example' => 'launch-advisor-2021****', - ], - 'InstanceStatus' => [ - 'description' => 'The DDoS mitigation status of the asset. Valid values:'."\n" - ."\n" - .'* **mitigating**: indicates that traffic scrubbing is triggered for the asset.'."\n" - .'* **blackholed**: indicates that blackhole filtering is triggered for the asset.'."\n" - .'* **normal**: indicates that the instance is normal.'."\n", - 'type' => 'string', - 'example' => 'normal', - ], - 'DefensePpsThreshold' => [ - 'description' => 'The packet scrubbing threshold for the asset. Unit: packets per second (pps).'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '70000', - ], - 'InstanceId' => [ - 'description' => 'The ID of the asset.'."\n", - 'type' => 'string', - 'example' => 'i-bp1cb6x80tfgocid****', - ], - 'InstanceType' => [ - 'description' => 'The type of the asset.'."\n", - 'type' => 'string', - 'example' => 'ecs', - ], + 'DdosType' => ['description' => 'The type of the DDoS attack event. Valid values:'."\n" + ."\n" + .'- **defense**: a traffic scrubbing event.'."\n" + ."\n" + .'- **blackhole**: a blackhole filtering event.', 'type' => 'string', 'example' => 'blackhole', 'title' => ''], + 'EndTime' => ['description' => 'The end time of the event. This is a UNIX timestamp. Unit: milliseconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1637817679000', 'title' => ''], + 'StartTime' => ['description' => 'The start time of the event. This is a UNIX timestamp. Unit: milliseconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1637812279000', 'title' => ''], + 'DelayTime' => ['description' => 'The time of the last attack. This is a UNIX timestamp. Unit: milliseconds.'."\n" + ."\n" + .'> This parameter is returned only for some blackhole filtering events where the asset that is assigned a public IP address was attacked multiple times.', 'type' => 'integer', 'format' => 'int64', 'example' => '1637817679000', 'title' => ''], + 'DdosStatus' => ['description' => 'The status of the event. Valid values:'."\n" + ."\n" + .'- **mitigating**: Traffic is being scrubbed.'."\n" + ."\n" + .'- **blackholed**: Blackhole filtering is activated for the asset.'."\n" + ."\n" + .'- **normal**: The event has ended.', 'type' => 'string', 'example' => 'normal', 'title' => ''], + 'UnBlackholeTime' => ['description' => 'The time when blackhole filtering was deactivated. This is a UNIX timestamp. Unit: milliseconds.'."\n" + ."\n" + .'> This parameter is returned only when **DdosType** is **blackhole**, which indicates a blackhole filtering event.', 'type' => 'integer', 'format' => 'int64', 'example' => '1637814079000', 'title' => ''], ], + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], - 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Total\\": 1,\\n \\"RequestId\\": \\"C728D7E9-9A39-52E0-966B-5C33118BDBB0\\",\\n \\"InstanceList\\": {\\n \\"Instance\\": [\\n {\\n \\"InstanceIp\\": \\"121.199.XX.XX\\",\\n \\"IsBgppack\\": false,\\n \\"IpVersion\\": \\"v4\\",\\n \\"ElasticThreshold\\": 12310,\\n \\"BlackholeThreshold\\": 5200,\\n \\"DefenseBpsThreshold\\": 300,\\n \\"InstanceName\\": \\"launch-advisor-2021****\\",\\n \\"InstanceStatus\\": \\"normal\\",\\n \\"DefensePpsThreshold\\": 70000,\\n \\"InstanceId\\": \\"i-bp1cb6x80tfgocid****\\",\\n \\"InstanceType\\": \\"ecs\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"\\n 1\\n C728D7E9-9A39-52E0-966B-5C33118BDBB0\\n \\n 121.199.XX.XX\\n false\\n v4\\n 12310\\n 5200\\n 300\\n launch-advisor-2021****\\n normal\\n 70000\\n i-bp1cb6x80tfgocid****\\n ecs\\n \\n","errorExample":""}]', - 'title' => 'DescribeInstance', - 'description' => 'You can call the DescribeInstance operation to query the details of the assets that are within the current Alibaba Cloud account by page. The details include the IDs and IP addresses of the assets, the basic protection thresholds and traffic scrubbing thresholds that are configured for the assets in Anti-DDoS Origin, and whether the assets are associated with Anti-DDoS Origin instances.'."\n" + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Total\\": 1,\\n \\"RequestId\\": \\"BC0907F8-A9F3-5E11-977B-D59CD98C64ED\\",\\n \\"DdosEventList\\": {\\n \\"DdosEvent\\": [\\n {\\n \\"DdosType\\": \\"blackhole\\",\\n \\"EndTime\\": 1637817679000,\\n \\"StartTime\\": 1637812279000,\\n \\"DelayTime\\": 1637817679000,\\n \\"DdosStatus\\": \\"normal\\",\\n \\"UnBlackholeTime\\": 1637814079000\\n }\\n ]\\n }\\n}","type":"json"}]', + 'title' => 'DescribeDdosEventList', + 'description' => 'This operation performs a paged query to retrieve the details of DDoS attack events for a specific asset with a public IP address. The details include the start time, end time, and status of each event.'."\n" ."\n" - .'### [](#qps-)Limits'."\n" + .'## QPS limits'."\n" ."\n" - .'You can call this operation up to 200 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.'."\n", + .'The queries per second (QPS) limit for this operation is 10 for each user. API calls are throttled if you exceed the limit. This can affect your business. We recommend that you call this operation a reasonable number of times.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDdosEventList'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddos:DescribeDdosEventList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosBasic', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], ], 'DescribeDdosThreshold' => [ - 'summary' => 'Queries the details of the DDoS mitigation thresholds or traffic scrubbing thresholds for specified assets. The assets can be elastic IP addresses (EIPs). The assets can also be Elastic Compute Service (ECS) instances or Server Load Balancer (SLB) instances that are assigned public IP addresses.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'summary' => 'Retrieves the details of the DDoS mitigation thresholds or traffic scrubbing thresholds for specified assets. The assets can be elastic IP addresses (EIPs). The assets can also be Elastic Compute Service (ECS) instances or Server Load Balancer (SLB) instances that are assigned public IP addresses.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - ], + 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ 'name' => 'DdosRegionId', 'in' => 'query', - 'schema' => [ - 'description' => 'The region ID of the asset.'."\n" - ."\n" - .'> You can call the [DescribeRegions](~~353250~~) operation to query the most recent region list.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The region ID of the asset.'."\n" + ."\n" + .'> You can call the [DescribeRegions](~~353250~~) operation to query the most recent region list.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'DdosType', 'in' => 'query', - 'schema' => [ - 'description' => 'The type of the threshold. Valid values:'."\n" - ."\n" - .'* **defense**: traffic scrubbing threshold'."\n" - .'* **blackhole**: DDoS mitigation threshold'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'defense', - ], + 'schema' => ['description' => 'The type of the threshold. Valid values:'."\n" + ."\n" + .'- **defense**: traffic scrubbing threshold'."\n" + ."\n" + .'- **blackhole**: DDoS mitigation threshold', 'type' => 'string', 'required' => true, 'example' => 'defense', 'title' => ''], ], [ 'name' => 'InstanceType', 'in' => 'query', - 'schema' => [ - 'description' => 'The type of the asset that is assigned a public IP address. Valid values:'."\n" - ."\n" - .'* **ecs**: ECS instances.'."\n" - .'* **slb**: SLB instances.'."\n" - .'* **eip**: EIPs.'."\n" - .'* **ipv6**: IPv6 gateways.'."\n" - .'* **swas**: simple application servers.'."\n" - .'* **waf**: Web Application Firewall (WAF) instances of the Exclusive edition.'."\n" - .'* **ga_basic**: Global Accelerator (GA) instances.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'ecs', - ], + 'schema' => ['description' => 'The type of the asset that is assigned a public IP address. Valid values:'."\n" + ."\n" + .'- **ecs**: ECS instances.'."\n" + ."\n" + .'- **slb**: SLB instances.'."\n" + ."\n" + .'- **eip**: EIPs.'."\n" + ."\n" + .'- **ipv6**: IPv6 gateways.'."\n" + ."\n" + .'- **swas**: simple application servers.'."\n" + ."\n" + .'- **waf**: Web Application Firewall (WAF) instances of the Exclusive edition.'."\n" + ."\n" + .'- **ga\\_basic**: Global Accelerator (GA) instances.', 'type' => 'string', 'required' => true, 'example' => 'ecs', 'title' => ''], ], [ 'name' => 'InstanceIds', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ - 'description' => 'The ID of asset N to query.'."\n", + 'description' => 'The ID of asset N to query.', 'type' => 'array', - 'items' => [ - 'description' => 'The ID of asset N. The maximum value of N is 200. You can specify up to 200 assets. Separate the IDs of multiple assets with commas (,).'."\n" - ."\n" - .'> You can call the [DescribeInstance](~~354191~~) operation to query the IDs of ECS instances, SLB instances, and EIPs within the current Alibaba Cloud account.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'i-bp10bclrt56fblts****', - ], + 'items' => ['description' => 'The ID of asset N. The maximum value of N is 200. You can specify up to 200 assets. Separate the IDs of multiple assets with commas (,).'."\n" + ."\n" + .'> You can call the [DescribeInstance](~~354191~~) operation to query the IDs of ECS instances, SLB instances, and EIPs within the current Alibaba Cloud account.', 'type' => 'string', 'required' => false, 'example' => 'i-bp10bclrt56fblts****', 'title' => ''], 'required' => true, 'maxItems' => 50, + 'title' => '', + 'example' => '', ], ], ], @@ -550,146 +617,166 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request, which is used to locate and troubleshoot issues.'."\n", - 'type' => 'string', - 'example' => 'E9B3C090-55AD-59C6-979E-FCFD81E7D9E7', - ], + 'RequestId' => ['description' => 'The ID of the request, which is used to locate and troubleshoot issues.', 'type' => 'string', 'example' => 'E9B3C090-55AD-59C6-979E-FCFD81E7D9E7', 'title' => ''], 'Thresholds' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ 'Threshold' => [ - 'description' => 'An array that consists of the details of the threshold.'."\n", + 'description' => 'An array that consists of the details of the threshold.', 'type' => 'array', 'items' => [ 'description' => '', 'type' => 'object', 'properties' => [ - 'DdosType' => [ - 'description' => 'The type of the threshold. Valid values:'."\n" - ."\n" - .'* **defense**: traffic scrubbing threshold'."\n" - .'* **blackhole**: DDoS mitigation threshold'."\n", - 'type' => 'string', - 'example' => 'defense', - ], - 'IsAuto' => [ - 'description' => 'Indicates whether the threshold is automatically adjusted. Valid values:'."\n" - ."\n" - .'* **true**: The scrubbing thresholds are automatically adjusted based on the traffic load on the asset.'."\n" - .'* **false**: The scrubbing thresholds are not automatically adjusted. You must manually specify the scrubbing thresholds.'."\n", - 'type' => 'boolean', - 'example' => 'false', - ], - 'MaxBps' => [ - 'description' => 'The maximum traffic scrubbing threshold. Unit: Mbit/s.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1024', - ], - 'ElasticBps' => [ - 'description' => 'The burstable protection threshold (the maximum DDoS mitigation threshold). Unit: Mbit/s.'."\n" - ."\n" - .'> This parameter is returned only when the value of the **DdosType** parameter is **blackhole**.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '12310', - ], - 'InstanceId' => [ - 'description' => 'The ID of the instance.'."\n", - 'type' => 'string', - 'example' => 'i-bp10bclrt56fblts****', - ], - 'Bps' => [ - 'description' => 'If the value of the **DdosType** parameter is **defense**, the Bps parameter indicates the current traffic scrubbing threshold. Unit: Mbit/s.'."\n" - ."\n" - .'If the value of the **DdosType** parameter is **blackhole**, the Bps parameter indicates the basic protection threshold. Unit: Mbit/s.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '500', - ], - 'Pps' => [ - 'description' => 'The packet scrubbing threshold. Unit: pps.'."\n" - ."\n" - .'> This parameter is returned only when the value of the **DdosType** parameter is **defense**.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '150000', - ], - 'MaxPps' => [ - 'description' => 'The maximum packet scrubbing threshold. Unit: pps.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '150000', - ], - 'InternetIp' => [ - 'description' => 'The IP address of the asset.'."\n", - 'type' => 'string', - 'example' => '192.0.XX.XX', - ], + 'DdosType' => ['description' => 'The type of the threshold. Valid values:'."\n" + ."\n" + .'- **defense**: traffic scrubbing threshold'."\n" + ."\n" + .'- **blackhole**: DDoS mitigation threshold', 'type' => 'string', 'example' => 'defense', 'title' => ''], + 'IsAuto' => ['description' => 'Indicates whether the threshold is automatically adjusted. Valid values:'."\n" + ."\n" + .'- **true**: The scrubbing thresholds are automatically adjusted based on the traffic load on the asset.'."\n" + ."\n" + .'- **false**: The scrubbing thresholds are not automatically adjusted. You must manually specify the scrubbing thresholds.', 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'MaxBps' => ['description' => 'The maximum traffic scrubbing threshold. Unit: Mbit/s.', 'type' => 'integer', 'format' => 'int32', 'example' => '1024', 'title' => ''], + 'ElasticBps' => ['description' => 'The burstable protection threshold (the maximum DDoS mitigation threshold). Unit: Mbit/s.'."\n" + ."\n" + .'> This parameter is returned only when the value of the **DdosType** parameter is **blackhole**.', 'type' => 'integer', 'format' => 'int32', 'example' => '12310', 'title' => ''], + 'InstanceId' => ['description' => 'The ID of the instance.', 'type' => 'string', 'example' => 'i-bp10bclrt56fblts****', 'title' => ''], + 'Bps' => ['description' => 'If the value of the **DdosType** parameter is **defense**, the Bps parameter indicates the current traffic scrubbing threshold. Unit: Mbit/s.'."\n" + ."\n" + .'If the value of the **DdosType** parameter is **blackhole**, the Bps parameter indicates the basic protection threshold. Unit: Mbit/s.', 'type' => 'integer', 'format' => 'int32', 'example' => '500', 'title' => ''], + 'Pps' => ['description' => 'The packet scrubbing threshold. Unit: pps.'."\n" + ."\n" + .'> This parameter is returned only when the value of the **DdosType** parameter is **defense**.', 'type' => 'integer', 'format' => 'int32', 'example' => '150000', 'title' => ''], + 'MaxPps' => ['description' => 'The maximum packet scrubbing threshold. Unit: pps.', 'type' => 'integer', 'format' => 'int32', 'example' => '150000', 'title' => ''], + 'InternetIp' => ['description' => 'The IP address of the asset.', 'type' => 'string', 'example' => '192.0.XX.XX', 'title' => ''], ], + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"E9B3C090-55AD-59C6-979E-FCFD81E7D9E7\\",\\n \\"Thresholds\\": {\\n \\"Threshold\\": [\\n {\\n \\"DdosType\\": \\"defense\\",\\n \\"IsAuto\\": false,\\n \\"MaxBps\\": 1024,\\n \\"ElasticBps\\": 12310,\\n \\"InstanceId\\": \\"i-bp10bclrt56fblts****\\",\\n \\"Bps\\": 500,\\n \\"Pps\\": 150000,\\n \\"MaxPps\\": 150000,\\n \\"InternetIp\\": \\"192.0.XX.XX\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"\\n E9B3C090-55AD-59C6-979E-FCFD81E7D9E7\\n \\n defense\\n false\\n 1024\\n i-bp10bclrt56fblts****\\n 500\\n 150000\\n 150000\\n 192.0.XX.XX\\n \\n","errorExample":""}]', 'title' => 'DescribeDdosThreshold', 'description' => 'You can call the DescribeDdosThreshold operation to query the details of the DDoS mitigation thresholds or traffic scrubbing thresholds for specified assets. The details include the current traffic scrubbing threshold, maximum traffic scrubbing threshold, current DDoS mitigation threshold, and maximum DDoS mitigation threshold.'."\n" ."\n" .'### Limits'."\n" ."\n" - .'You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.'."\n", - ], - 'DescribeBgpPackByIp' => [ - 'summary' => 'Queries the configurations of the Anti-DDoS Origin instance that is associated with an asset. The asset is assigned a public IP address.', - 'methods' => [ - 'post', - 'get', + .'You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDdosThreshold'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddos:DescribeDdosThreshold', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosBasic', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"E9B3C090-55AD-59C6-979E-FCFD81E7D9E7\\",\\n \\"Thresholds\\": {\\n \\"Threshold\\": [\\n {\\n \\"DdosType\\": \\"defense\\",\\n \\"IsAuto\\": false,\\n \\"MaxBps\\": 1024,\\n \\"ElasticBps\\": 12310,\\n \\"InstanceId\\": \\"i-bp10bclrt56fblts****\\",\\n \\"Bps\\": 500,\\n \\"Pps\\": 150000,\\n \\"MaxPps\\": 150000,\\n \\"InternetIp\\": \\"192.0.XX.XX\\"\\n }\\n ]\\n }\\n}","type":"json"}]', + ], + 'DescribeInstance' => [ + 'summary' => 'Retrieves the details of the assets within the current Alibaba Cloud account. The assets can be elastic IP addresses (EIPs). The assets can also be Elastic Compute Service (ECS) instances or Server Load Balancer (SLB) instances that are assigned public IP addresses. This operation is phased out. We recommend that you use the DescribeInstanceIpAddress operation.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - ], + 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ 'name' => 'DdosRegionId', 'in' => 'query', - 'schema' => [ - 'description' => 'The region ID of the asset to query.'."\n" - ."\n" - .'> You can call the [DescribeRegions](~~353250~~) operation to query the most recent region list.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The region ID of the asset.'."\n" + ."\n" + .'> You can call the [DescribeRegions](~~353250~~) operation to query the most recent region list.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ - 'name' => 'Ip', + 'name' => 'InstanceType', 'in' => 'query', - 'schema' => [ - 'description' => 'The IP address of the asset to query.'."\n" - ."\n" - .'> You can call the [DescribeInstanceIpAddress](~~472620~~) operation to query the IDs of Elastic Compute Service (ECS) instances, Server Load Balancer (SLB) instances, and elastic IP addresses (EIPs) within the current Alibaba Cloud account.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '118.31.XX.XX', - ], + 'schema' => ['description' => 'The type of the asset to query. Valid values:'."\n" + ."\n" + .'- **ecs**: ECS instances.'."\n" + ."\n" + .'- **slb**: SLB instances.'."\n" + ."\n" + .'- **eip**: EIPs.'."\n" + ."\n" + .'- **ipv6**: IPv6 gateways.'."\n" + ."\n" + .'- **swas**: simple application servers.'."\n" + ."\n" + .'- **waf**: Web Application Firewall (WAF) instances of the Exclusive edition.'."\n" + ."\n" + .'- **ga\\_basic**: Global Accelerator (GA) instances.', 'type' => 'string', 'required' => true, 'example' => 'ecs', 'title' => ''], + ], + [ + 'name' => 'InstanceName', + 'in' => 'query', + 'schema' => ['description' => 'The name of the asset.', 'type' => 'string', 'required' => false, 'example' => 'launch-advisor-2022****', 'title' => ''], + ], + [ + 'name' => 'DdosStatus', + 'in' => 'query', + 'schema' => ['description' => 'The DDoS mitigation status of the asset. Valid values:'."\n" + ."\n" + .'- **mitigating**: queries assets for which traffic scrubbing is triggered.'."\n" + ."\n" + .'- **blackholed**: queries assets for which blackhole filtering is triggered.'."\n" + ."\n" + .'- **normal**: queries assets that are not under DDoS attacks.', 'type' => 'string', 'required' => false, 'example' => 'blackholed', 'title' => ''], + ], + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the asset. The formats of asset IDs vary based on the value of the **InstanceType**. parameter.'."\n" + ."\n" + .'- If you set **InstanceType** to **ecs**, specify the ID of the ECS instance. For example, you can specify i-bp1cb6x80tfgocid\\*\\*\\*\\*.'."\n" + ."\n" + .'- If you set **InstanceType** to **slb**, specify the ID of the SLB instance. For example, you can specify alb-vn2dqg3v31y2vd\\*\\*\\*\\*.'."\n" + ."\n" + .'- If you set **InstanceType** to **eip**, specify the ID of the EIP. For example, you can specify eip-j6ce6dcx9epi7rs46\\*\\*\\*\\*.', 'type' => 'string', 'required' => false, 'example' => 'i-bp1cb6x80tfgocid****', 'title' => ''], + ], + [ + 'name' => 'InstanceIp', + 'in' => 'query', + 'schema' => ['description' => 'The IP address of the asset.', 'type' => 'string', 'required' => false, 'example' => '121.199.XX.XX', 'title' => ''], + ], + [ + 'name' => 'CurrentPage', + 'in' => 'query', + 'schema' => ['description' => 'The number of the page to return. Default value: **1**.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'default' => '1', 'example' => '1', 'title' => ''], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['description' => 'The number of entries to return on each page. Default value: **10**.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '50', 'default' => '20', 'example' => '10', 'title' => ''], ], ], 'responses' => [ @@ -697,83 +784,94 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'E46A08E4-A1CD-5BE9-B580-C4D6E9BC5484', - ], - 'Code' => [ - 'description' => 'The HTTP status code of the request.'."\n" - ."\n" - .'For more information about status codes, see [Common parameters](~~118841~~).'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**: yes'."\n" - .'* **false**: no'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'DdosbgpInfo' => [ - 'description' => 'The configurations of the instance that is associated with the asset.'."\n", + 'Total' => ['description' => 'The total number of the assets.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => 'C728D7E9-9A39-52E0-966B-5C33118BDBB0', 'title' => ''], + 'InstanceList' => [ 'type' => 'object', + 'itemNode' => true, 'properties' => [ - 'Ip' => [ - 'description' => 'The IP address of the asset.'."\n", - 'type' => 'string', - 'example' => '118.31.XX.XX', - ], - 'ExpireTime' => [ - 'description' => 'The expiration time of the instance. The value is a UNIX timestamp. Unit: milliseconds.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1640448000000', - ], - 'ElasticThreshold' => [ - 'description' => 'The burstable protection threshold of the instance. Unit: Gbit/s.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '301', - ], - 'BaseThreshold' => [ - 'description' => 'The basic protection threshold of the instance. Unit: Gbit/s.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], - 'DdosbgpInstanceId' => [ - 'description' => 'The ID of the instance.'."\n", - 'type' => 'string', - 'example' => 'ddosbgp-cn-n6w1r7nz****', + 'Instance' => [ + 'description' => 'The details of the assets.', + 'type' => 'array', + 'items' => [ + 'description' => 'The details of the asset.', + 'type' => 'object', + 'properties' => [ + 'InstanceIp' => ['description' => 'The IP address of the asset.', 'type' => 'string', 'example' => '121.199.XX.XX', 'title' => ''], + 'IsBgppack' => ['description' => 'Indicates whether the asset is associated with an Anti-DDoS Origin Basic instance. Valid values:'."\n" + ."\n" + .'- **true**: yes'."\n" + ."\n" + .'- **false**: no', 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'IpVersion' => ['description' => 'The IP protocol that is supported by the asset. Valid values:'."\n" + ."\n" + .'- **v4**: IPv4'."\n" + ."\n" + .'- **v6**: IPv6', 'type' => 'string', 'example' => 'v4', 'title' => ''], + 'ElasticThreshold' => ['description' => 'The burstable protection threshold for the asset. Unit: Mbit/s.', 'type' => 'integer', 'format' => 'int32', 'example' => '12310', 'title' => ''], + 'BlackholeThreshold' => ['description' => 'The basic protection threshold for the asset. Unit: Mbit/s.', 'type' => 'integer', 'format' => 'int32', 'example' => '5200', 'title' => ''], + 'DefenseBpsThreshold' => ['description' => 'The traffic scrubbing threshold for the asset. Unit: Mbit/s.', 'type' => 'integer', 'format' => 'int32', 'example' => '300', 'title' => ''], + 'InstanceName' => ['description' => 'The name of the asset.', 'type' => 'string', 'example' => 'launch-advisor-2021****', 'title' => ''], + 'InstanceStatus' => ['description' => 'The DDoS mitigation status of the asset. Valid values:'."\n" + ."\n" + .'- **mitigating**: indicates that traffic scrubbing is triggered for the asset.'."\n" + ."\n" + .'- **blackholed**: indicates that blackhole filtering is triggered for the asset.'."\n" + ."\n" + .'- **normal**: indicates that the instance is normal.', 'type' => 'string', 'example' => 'normal', 'title' => ''], + 'DefensePpsThreshold' => ['description' => 'The packet scrubbing threshold for the asset. Unit: packets per second (pps).', 'type' => 'integer', 'format' => 'int32', 'example' => '70000', 'title' => ''], + 'InstanceId' => ['description' => 'The ID of the asset.', 'type' => 'string', 'example' => 'i-bp1cb6x80tfgocid****', 'title' => ''], + 'InstanceType' => ['description' => 'The type of the asset.', 'type' => 'string', 'example' => 'ecs', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"E46A08E4-A1CD-5BE9-B580-C4D6E9BC5484\\",\\n \\"Code\\": 200,\\n \\"Success\\": true,\\n \\"DdosbgpInfo\\": {\\n \\"Ip\\": \\"118.31.XX.XX\\",\\n \\"ExpireTime\\": 1640448000000,\\n \\"ElasticThreshold\\": 301,\\n \\"BaseThreshold\\": 20,\\n \\"DdosbgpInstanceId\\": \\"ddosbgp-cn-n6w1r7nz****\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"\\n E46A08E4-A1CD-5BE9-B580-C4D6E9BC5484\\n 200\\n true\\n \\n 118.31.XX.XX\\n 1640448000000\\n 301\\n 20\\n ddosbgp-cn-n6w1r7nz****\\n \\n","errorExample":""}]', - 'title' => 'DescribeBgpPackByIp', - 'description' => 'You can call the DescribeBgpPackByIp operation to query the configurations of the Anti-DDoS Origin instance that is associated with an asset. The configurations include the basic protection threshold, burstable protection threshold, and expiration time.'."\n" + 'title' => 'DescribeInstance', + 'description' => 'You can call the DescribeInstance operation to query the details of the assets that are within the current Alibaba Cloud account by page. The details include the IDs and IP addresses of the assets, the basic protection thresholds and traffic scrubbing thresholds that are configured for the assets in Anti-DDoS Origin, and whether the assets are associated with Anti-DDoS Origin instances.'."\n" ."\n" - .'## [](#qps-)Limits'."\n" + .'### [](#qps-)Limits'."\n" ."\n" - .'You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.'."\n", + .'You can call this operation up to 200 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '200', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeInstance'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddos:DescribeInstance', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosBasic', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Total\\": 1,\\n \\"RequestId\\": \\"C728D7E9-9A39-52E0-966B-5C33118BDBB0\\",\\n \\"InstanceList\\": {\\n \\"Instance\\": [\\n {\\n \\"InstanceIp\\": \\"121.199.XX.XX\\",\\n \\"IsBgppack\\": false,\\n \\"IpVersion\\": \\"v4\\",\\n \\"ElasticThreshold\\": 12310,\\n \\"BlackholeThreshold\\": 5200,\\n \\"DefenseBpsThreshold\\": 300,\\n \\"InstanceName\\": \\"launch-advisor-2021****\\",\\n \\"InstanceStatus\\": \\"normal\\",\\n \\"DefensePpsThreshold\\": 70000,\\n \\"InstanceId\\": \\"i-bp1cb6x80tfgocid****\\",\\n \\"InstanceType\\": \\"ecs\\"\\n }\\n ]\\n }\\n}","type":"json"}]', ], 'DescribeInstanceIpAddress' => [ - 'summary' => 'Queries the details of the assets within the current Alibaba Cloud account and the details of the Anti-DDoS Origin instance to which the assets belong. The assets can be elastic IP addresses (EIPs). The assets can also be Elastic Compute Service (ECS) instances or Server Load Balancer (SLB) instances that are assigned public IP addresses.', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'summary' => 'Retrieves the details of the assets within the current Alibaba Cloud account and the details of the Anti-DDoS Origin instance to which the assets belong. The assets can be elastic IP addresses (EIPs). The assets can also be Elastic Compute Service (ECS) instances or Server Load Balancer (SLB) instances that are assigned public IP addresses.', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -781,109 +879,67 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - ], + 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ 'name' => 'DdosRegionId', 'in' => 'query', - 'schema' => [ - 'description' => 'The region ID of the asset.'."\n" - ."\n" - .'> You can call the [DescribeRegions](~~353250~~) operation to query the most recent region list.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The region ID of the asset.'."\n" + ."\n" + .'> You can call the [DescribeRegions](~~353250~~) operation to query the most recent region list.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'InstanceType', 'in' => 'query', - 'schema' => [ - 'description' => 'The type of the asset that is assigned a public IP address. Valid values:'."\n" - ."\n" - .'* **ecs**: ECS instances.'."\n" - .'* **slb**: SLB instances.'."\n" - .'* **eip**: EIPs.'."\n" - .'* **ipv6**: IPv6 gateways.'."\n" - .'* **swas**: simple application servers.'."\n" - .'* **waf**: Web Application Firewall (WAF) instances of the Exclusive edition.'."\n" - .'* **ga_basic**: Global Accelerator (GA) instances.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'ecs', - ], + 'schema' => ['description' => 'The type of the asset that is assigned a public IP address. Valid values:'."\n" + ."\n" + .'- **ecs**: ECS instances.'."\n" + ."\n" + .'- **slb**: SLB instances.'."\n" + ."\n" + .'- **eip**: EIPs.'."\n" + ."\n" + .'- **ipv6**: IPv6 gateways.'."\n" + ."\n" + .'- **swas**: simple application servers.'."\n" + ."\n" + .'- **waf**: Web Application Firewall (WAF) instances of the Exclusive edition.'."\n" + ."\n" + .'- **ga\\_basic**: Global Accelerator (GA) instances.', 'type' => 'string', 'required' => true, 'example' => 'ecs', 'title' => ''], ], [ 'name' => 'InstanceName', 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the asset.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'launch-advisor-2021****', - ], + 'schema' => ['description' => 'The name of the asset.', 'type' => 'string', 'required' => false, 'example' => 'launch-advisor-2021****', 'title' => ''], ], [ 'name' => 'DdosStatus', 'in' => 'query', - 'schema' => [ - 'description' => 'The DDoS mitigation status of the asset. Valid values:'."\n" - ."\n" - .'* **defense**: queries assets for which traffic scrubbing is performed.'."\n" - .'* **blackhole**: queries assets for which blackhole filtering is triggered.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'normal', - ], + 'schema' => ['description' => 'The DDoS mitigation status of the asset. Valid values:'."\n" + ."\n" + .'- **defense**: queries assets for which traffic scrubbing is performed.'."\n" + ."\n" + .'- **blackhole**: queries assets for which blackhole filtering is triggered.', 'type' => 'string', 'required' => false, 'example' => 'defense', 'title' => ''], ], [ 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the instance to which the asset is added.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'i-bp1cb6x80tfgocid****', - ], + 'schema' => ['description' => 'The ID of the instance to which the asset is added.', 'type' => 'string', 'required' => false, 'example' => 'i-bp1cb6x80tfgocid****', 'title' => ''], ], [ 'name' => 'InstanceIp', 'in' => 'query', - 'schema' => [ - 'description' => 'The IP address of the asset.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '192.0.XX.XX', - ], + 'schema' => ['description' => 'The IP address of the asset.', 'type' => 'string', 'required' => false, 'example' => '192.0.XX.XX', 'title' => ''], ], [ 'name' => 'CurrentPage', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of the page to return. Default value: **1**.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - 'default' => '1', - ], + 'schema' => ['description' => 'The number of the page to return. Default value: **1**.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'default' => '1', 'example' => '1', 'title' => ''], ], [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of entries to return on each page. Default value: **10**.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'maximum' => '50', - 'example' => '10', - 'default' => '20', - ], + 'schema' => ['description' => 'The number of entries to return on each page. Default value: **10**.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '50', 'default' => '20', 'example' => '10', 'title' => ''], ], ], 'responses' => [ @@ -891,155 +947,116 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Total' => [ - 'description' => 'The total number of the assets.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'RequestId' => [ - 'description' => 'The ID of the request, which is used to locate and troubleshoot issues.'."\n", - 'type' => 'string', - 'example' => 'BC0907F8-A9F3-5E11-977B-D59CD98C64ED', - ], + 'Total' => ['description' => 'The total number of the assets.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'RequestId' => ['description' => 'The ID of the request, which is used to locate and troubleshoot issues.', 'type' => 'string', 'example' => 'BC0907F8-A9F3-5E11-977B-D59CD98C64ED', 'title' => ''], 'InstanceList' => [ - 'description' => 'An array that consists of details of the instance.'."\n", + 'description' => 'An array that consists of details of the instance.', 'type' => 'array', 'items' => [ 'description' => '', 'type' => 'object', 'properties' => [ - 'InstanceId' => [ - 'description' => 'The ID of the instance.'."\n", - 'type' => 'string', - 'example' => 'i-bp1cb6x80tfgocid****', - ], - 'InstanceType' => [ - 'description' => 'The type of the asset. Valid values:'."\n" - ."\n" - .'* **ecs**'."\n" - .'* **slb**'."\n" - .'* **eip**'."\n", - 'type' => 'string', - 'example' => 'ecs', - ], - 'InstanceName' => [ - 'description' => 'The name of the instance.'."\n", - 'type' => 'string', - 'example' => 'launch-advisor-2021****', - ], - 'InstanceStatus' => [ - 'description' => 'The DDoS mitigation status of the instance. Valid values:'."\n" - ."\n" - .'* **normal**: not under DDoS attacks.'."\n" - .'* **abnormal**: under DDoS attacks.'."\n", - 'type' => 'string', - 'example' => 'normal', - ], + 'InstanceId' => ['description' => 'The ID of the instance.', 'type' => 'string', 'example' => 'i-bp1cb6x80tfgocid****', 'title' => ''], + 'InstanceType' => ['description' => 'The type of the asset. Valid values:'."\n" + ."\n" + .'- **ecs**'."\n" + ."\n" + .'- **slb**'."\n" + ."\n" + .'- **eip**', 'type' => 'string', 'example' => 'ecs', 'title' => ''], + 'InstanceName' => ['description' => 'The name of the instance.', 'type' => 'string', 'example' => 'launch-advisor-2021****', 'title' => ''], + 'InstanceStatus' => ['description' => 'The DDoS mitigation status of the instance. Valid values:'."\n" + ."\n" + .'- **normal**: not under DDoS attacks.'."\n" + ."\n" + .'- **abnormal**: under DDoS attacks.', 'type' => 'string', 'example' => 'normal', 'title' => ''], 'IpAddressConfig' => [ - 'description' => 'An array that consists of the details of the asset.'."\n", + 'description' => 'An array that consists of the details of the asset.', 'type' => 'array', 'items' => [ 'description' => '', 'type' => 'object', 'properties' => [ - 'InstanceIp' => [ - 'description' => 'The IP address of the asset.'."\n", - 'type' => 'string', - 'example' => '192.0.XX.XX', - ], - 'IsBgppack' => [ - 'description' => 'Indicates whether the asset is added to the instance. Valid values:'."\n" - ."\n" - .'* **true**'."\n" - .'* **false**'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'IpVersion' => [ - 'description' => 'The IP version of the IP address. Valid values:'."\n" - ."\n" - .'* **v4**: IPv4.'."\n" - .'* **v6**: IPv6.'."\n", - 'type' => 'string', - 'example' => 'v4', - ], - 'IpStatus' => [ - 'description' => 'The DDoS mitigation status of the asset. Valid values:'."\n" - ."\n" - .'* **mitigating**: indicates that traffic scrubbing is in progress.'."\n" - .'* **blackholed**: indicates that blackhole filtering is triggered for the asset.'."\n" - .'* **normal**: indicates that no DDoS attacks are launched against the asset.'."\n", - 'type' => 'string', - 'example' => 'normal', - ], - 'RegionId' => [ - 'description' => 'The region code of the asset.'."\n", - 'type' => 'string', - 'example' => 'cn-hangzhou-dg-a01', - ], - 'ElasticThreshold' => [ - 'description' => 'The burstable protection threshold for the asset. Unit: Mbit/s.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '12310', - ], - 'BlackholeThreshold' => [ - 'description' => 'The basic protection threshold for the asset. Unit: Mbit/s.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '5200', - ], - 'DefenseBpsThreshold' => [ - 'description' => 'The traffic scrubbing threshold for the asset measured in Mbit/s. Unit: Mbit/s.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '300', - ], - 'DefensePpsThreshold' => [ - 'description' => 'The traffic scrubbing threshold for the asset measured in packets per second (PPS). Unit: PPS.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '70000', - ], - 'IsFullProtection' => [ - 'description' => 'Indicates whether best-effort protection is enabled for the asset. Valid values:'."\n" - ."\n" - .'* **0**: no.'."\n" - .'* **1**: yes.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], + 'InstanceIp' => ['description' => 'The IP address of the asset.', 'type' => 'string', 'example' => '192.0.XX.XX', 'title' => ''], + 'IsBgppack' => ['description' => 'Indicates whether the asset is added to the instance. Valid values:'."\n" + ."\n" + .'- **true**'."\n" + ."\n" + .'- **false**', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'IpVersion' => ['description' => 'The IP version of the IP address. Valid values:'."\n" + ."\n" + .'- **v4**: IPv4.'."\n" + ."\n" + .'- **v6**: IPv6.', 'type' => 'string', 'example' => 'v4', 'title' => ''], + 'IpStatus' => ['description' => 'The DDoS mitigation status of the asset. Valid values:'."\n" + ."\n" + .'- **mitigating**: indicates that traffic scrubbing is in progress.'."\n" + ."\n" + .'- **blackholed**: indicates that blackhole filtering is triggered for the asset.'."\n" + ."\n" + .'- **normal**: indicates that no DDoS attacks are launched against the asset.', 'type' => 'string', 'example' => 'normal', 'title' => ''], + 'RegionId' => ['description' => 'The region code of the asset.', 'type' => 'string', 'example' => 'cn-hangzhou-dg-a01', 'title' => ''], + 'ElasticThreshold' => ['description' => 'The burstable protection threshold for the asset. Unit: Mbit/s.', 'type' => 'integer', 'format' => 'int32', 'example' => '12310', 'title' => ''], + 'BlackholeThreshold' => ['description' => 'The basic protection threshold for the asset. Unit: Mbit/s.', 'type' => 'integer', 'format' => 'int32', 'example' => '5200', 'title' => ''], + 'DefenseBpsThreshold' => ['description' => 'The traffic scrubbing threshold for the asset measured in Mbit/s. Unit: Mbit/s.', 'type' => 'integer', 'format' => 'int32', 'example' => '300', 'title' => ''], + 'DefensePpsThreshold' => ['description' => 'The traffic scrubbing threshold for the asset measured in packets per second (PPS). Unit: PPS.', 'type' => 'integer', 'format' => 'int32', 'example' => '70000', 'title' => ''], + 'IsFullProtection' => ['description' => 'Indicates whether best-effort protection is enabled for the asset. Valid values:'."\n" + ."\n" + .'- **0**: no.'."\n" + ."\n" + .'- **1**: yes.', 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''], ], + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Total\\": 1,\\n \\"RequestId\\": \\"BC0907F8-A9F3-5E11-977B-D59CD98C64ED\\",\\n \\"InstanceList\\": [\\n {\\n \\"InstanceId\\": \\"i-bp1cb6x80tfgocid****\\",\\n \\"InstanceType\\": \\"ecs\\",\\n \\"InstanceName\\": \\"launch-advisor-2021****\\",\\n \\"InstanceStatus\\": \\"normal\\",\\n \\"IpAddressConfig\\": [\\n {\\n \\"InstanceIp\\": \\"192.0.XX.XX\\",\\n \\"IsBgppack\\": true,\\n \\"IpVersion\\": \\"v4\\",\\n \\"IpStatus\\": \\"normal\\",\\n \\"RegionId\\": \\"cn-hangzhou-dg-a01\\",\\n \\"ElasticThreshold\\": 12310,\\n \\"BlackholeThreshold\\": 5200,\\n \\"DefenseBpsThreshold\\": 300,\\n \\"DefensePpsThreshold\\": 70000,\\n \\"IsFullProtection\\": 0\\n }\\n ]\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\n 1\\n BC0907F8-A9F3-5E11-977B-D59CD98C64ED\\n \\n i-bp1cb6x80tfgocid****\\n ecs\\n launch-advisor-2021****\\n normal\\n \\n 192.0.XX.XX\\n true\\n v4\\n normal\\n cn-hangzhou-dg-a01\\n 12310\\n 5200\\n 300\\n 70000\\n \\n \\n","errorExample":""}]', 'title' => 'DescribeInstanceIpAddress', 'description' => 'If one or more assets of the current Alibaba Cloud account are added to an Anti-DDoS Origin instance, you can call the DescribeInstanceIpAddress operation to query the DDoS mitigation information and the details of the Anti-DDoS Origin instance. The information and the details include the basic protection threshold and traffic scrubbing threshold for the assets, DDoS mitigation status of the assets, ID of the instance, and the mitigation status of the instance.'."\n" ."\n" .'## Limits'."\n" ."\n" - .'You can call this operation up to 200 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.'."\n", + .'You can call this operation up to 200 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '200', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeInstanceIpAddress'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddos:DescribeInstanceIpAddress', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosBasic', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Total\\": 1,\\n \\"RequestId\\": \\"BC0907F8-A9F3-5E11-977B-D59CD98C64ED\\",\\n \\"InstanceList\\": [\\n {\\n \\"InstanceId\\": \\"i-bp1cb6x80tfgocid****\\",\\n \\"InstanceType\\": \\"ecs\\",\\n \\"InstanceName\\": \\"launch-advisor-2021****\\",\\n \\"InstanceStatus\\": \\"normal\\",\\n \\"IpAddressConfig\\": [\\n {\\n \\"InstanceIp\\": \\"192.0.XX.XX\\",\\n \\"IsBgppack\\": true,\\n \\"IpVersion\\": \\"v4\\",\\n \\"IpStatus\\": \\"normal\\",\\n \\"RegionId\\": \\"cn-hangzhou-dg-a01\\",\\n \\"ElasticThreshold\\": 12310,\\n \\"BlackholeThreshold\\": 5200,\\n \\"DefenseBpsThreshold\\": 300,\\n \\"DefensePpsThreshold\\": 70000,\\n \\"IsFullProtection\\": 0\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]', ], 'DescribeIpDdosThreshold' => [ - 'summary' => 'Queries the details of the DDoS mitigation thresholds or traffic scrubbing thresholds for specified assets. The assets can be elastic IP addresses (EIPs). The assets can also be Elastic Compute Service (ECS) instances or Server Load Balancer (SLB) instances that are assigned public IP addresses.', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'summary' => 'Retrieves the details of the DDoS mitigation thresholds or traffic scrubbing thresholds for specified assets. The assets can be elastic IP addresses (EIPs). The assets can also be Elastic Compute Service (ECS) instances or Server Load Balancer (SLB) instances that are assigned public IP addresses.', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1047,181 +1064,130 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - ], + 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ 'name' => 'DdosRegionId', 'in' => 'query', - 'schema' => [ - 'description' => 'The region ID of the asset.'."\n" - ."\n" - .'> You can call the [DescribeRegions](~~353250~~) operation to query the most recent region list.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The region ID of the asset.'."\n" + ."\n" + .'> You can call the [DescribeRegions](~~353250~~) operation to query the most recent region list.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'DdosType', 'in' => 'query', - 'schema' => [ - 'description' => 'The type of the threshold. Valid values:'."\n" - ."\n" - .'* **defense**: traffic scrubbing threshold'."\n" - .'* **blackhole**: DDoS mitigation threshold'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'defense', - ], + 'schema' => ['description' => 'The type of the threshold. Valid values:'."\n" + ."\n" + .'- **defense**: traffic scrubbing threshold'."\n" + ."\n" + .'- **blackhole**: DDoS mitigation threshold', 'type' => 'string', 'required' => true, 'example' => 'defense', 'title' => ''], ], [ 'name' => 'InstanceType', 'in' => 'query', - 'schema' => [ - 'description' => 'The type of the asset that is assigned a public IP address. Valid values:'."\n" - ."\n" - .'* **ecs**: ECS instances.'."\n" - .'* **slb**: SLB instances.'."\n" - .'* **eip**: EIPs.'."\n" - .'* **ipv6**: IPv6 gateways.'."\n" - .'* **swas**: simple application servers.'."\n" - .'* **waf**: Web Application Firewall (WAF) instances of the Exclusive edition.'."\n" - .'* **ga_basic**: Global Accelerator (GA) instances.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'ecs', - ], + 'schema' => ['description' => 'The type of the asset that is assigned a public IP address. Valid values:'."\n" + ."\n" + .'- **ecs**: ECS instances.'."\n" + ."\n" + .'- **slb**: SLB instances.'."\n" + ."\n" + .'- **eip**: EIPs.'."\n" + ."\n" + .'- **ipv6**: IPv6 gateways.'."\n" + ."\n" + .'- **swas**: simple application servers.'."\n" + ."\n" + .'- **waf**: Web Application Firewall (WAF) instances of the Exclusive edition.'."\n" + ."\n" + .'- **ga\\_basic**: Global Accelerator (GA) instances.', 'type' => 'string', 'required' => true, 'example' => 'ecs', 'title' => ''], ], [ 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the asset.'."\n" - ."\n" - .'> You can call the [DescribeInstanceIpAddress](~~429562~~) operation to query the IDs of ECS instances, SLB instances, and EIPs within the current Alibaba Cloud account.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'i-bp1i88rqjza51s****', - ], + 'schema' => ['description' => 'The ID of the asset.'."\n" + ."\n" + .'> You can call the [DescribeInstanceIpAddress](~~429562~~) operation to query the IDs of ECS instances, SLB instances, and EIPs within the current Alibaba Cloud account.', 'type' => 'string', 'required' => true, 'example' => 'i-bp1i88rqjza51s****', 'title' => ''], ], [ 'name' => 'InternetIp', 'in' => 'query', - 'schema' => [ - 'description' => 'The IP address of the asset.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '192.0.XX.XX', - ], + 'schema' => ['description' => 'The IP address of the asset.', 'type' => 'string', 'required' => true, 'example' => '192.0.XX.XX', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', - 'description' => 'Schema of Response'."\n", + 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The ID of the request, which is used to locate and troubleshoot issues.'."\n", - 'type' => 'string', - 'example' => '025F1688-680B-551A-9A8E-1A0D796315CF', - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The ID of the request, which is used to locate and troubleshoot issues.', 'type' => 'string', 'example' => '025F1688-680B-551A-9A8E-1A0D796315CF'], 'Threshold' => [ - 'description' => 'An array that consists of the details of the threshold.'."\n", + 'description' => 'An array that consists of the details of the threshold.', 'type' => 'object', 'properties' => [ - 'DdosType' => [ - 'description' => 'The type of the threshold. Valid values:'."\n" - ."\n" - .'* **defense**: traffic scrubbing threshold'."\n" - .'* **blackhole**: DDoS mitigation threshold'."\n", - 'type' => 'string', - 'example' => 'defense', - ], - 'IsAuto' => [ - 'description' => 'Indicates whether the threshold is automatically adjusted. Valid values:'."\n" - ."\n" - .'* **true**: The scrubbing thresholds are automatically adjusted based on the traffic load on the asset.'."\n" - .'* **false**: The scrubbing thresholds are not automatically adjusted. You must manually specify the scrubbing thresholds.'."\n", - 'type' => 'boolean', - 'example' => 'false', - ], - 'MaxBps' => [ - 'description' => 'The maximum traffic scrubbing threshold. Unit: Mbit/s.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '7500', - ], - 'ElasticBps' => [ - 'description' => 'The burstable protection threshold (the maximum DDoS mitigation threshold). Unit: Mbit/s.'."\n" - ."\n" - .'> This parameter is returned only when the value of the **DdosType** parameter is **blackhole**.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '12310', - ], - 'InstanceId' => [ - 'description' => 'The ID of the instance.'."\n", - 'type' => 'string', - 'example' => 'i-bp1i88rqjza51s****', - ], - 'Bps' => [ - 'description' => 'If the value of the **DdosType** parameter is **defense**, the Bps parameter indicates the current traffic scrubbing threshold. Unit: Mbit/s.'."\n" - ."\n" - .'If the value of the **DdosType** parameter is **blackhole**, the Bps parameter indicates the basic protection threshold. Unit: Mbit/s.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '7500', - ], - 'Pps' => [ - 'description' => 'The packet scrubbing threshold. Unit: packets per second (pps).'."\n" - ."\n" - .'> This parameter is returned only when the value of the **DdosType** parameter is **defense**.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '5000000', - ], - 'MaxPps' => [ - 'description' => 'The maximum packet scrubbing threshold. Unit: pps.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '5000000', - ], - 'InternetIp' => [ - 'description' => 'The IP address of the asset.'."\n", - 'type' => 'string', - 'example' => '192.0.XX.XX', - ], + 'DdosType' => ['description' => 'The type of the threshold. Valid values:'."\n" + ."\n" + .'- **defense**: traffic scrubbing threshold'."\n" + ."\n" + .'- **blackhole**: DDoS mitigation threshold', 'type' => 'string', 'example' => 'defense', 'title' => ''], + 'IsAuto' => ['description' => 'Indicates whether the threshold is automatically adjusted. Valid values:'."\n" + ."\n" + .'- **true**: The scrubbing thresholds are automatically adjusted based on the traffic load on the asset.'."\n" + ."\n" + .'- **false**: The scrubbing thresholds are not automatically adjusted. You must manually specify the scrubbing thresholds.', 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'MaxBps' => ['description' => 'The maximum traffic scrubbing threshold. Unit: Mbit/s.', 'type' => 'integer', 'format' => 'int32', 'example' => '7500', 'title' => ''], + 'ElasticBps' => ['description' => 'The burstable protection threshold (the maximum DDoS mitigation threshold). Unit: Mbit/s.'."\n" + ."\n" + .'> This parameter is returned only when the value of the **DdosType** parameter is **blackhole**.', 'type' => 'integer', 'format' => 'int32', 'example' => '12310', 'title' => ''], + 'InstanceId' => ['description' => 'The ID of the instance.', 'type' => 'string', 'example' => 'i-bp1i88rqjza51s****', 'title' => ''], + 'Bps' => ['description' => 'If the value of the **DdosType** parameter is **defense**, the Bps parameter indicates the current traffic scrubbing threshold. Unit: Mbit/s.'."\n" + ."\n" + .'If the value of the **DdosType** parameter is **blackhole**, the Bps parameter indicates the basic protection threshold. Unit: Mbit/s.', 'type' => 'integer', 'format' => 'int32', 'example' => '7500', 'title' => ''], + 'Pps' => ['description' => 'The packet scrubbing threshold. Unit: packets per second (pps).'."\n" + ."\n" + .'> This parameter is returned only when the value of the **DdosType** parameter is **defense**.', 'type' => 'integer', 'format' => 'int32', 'example' => '5000000', 'title' => ''], + 'MaxPps' => ['description' => 'The maximum packet scrubbing threshold. Unit: pps.', 'type' => 'integer', 'format' => 'int32', 'example' => '5000000', 'title' => ''], + 'InternetIp' => ['description' => 'The IP address of the asset.', 'type' => 'string', 'example' => '192.0.XX.XX', 'title' => ''], ], + 'title' => '', + 'example' => '', ], ], + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"025F1688-680B-551A-9A8E-1A0D796315CF\\",\\n \\"Threshold\\": {\\n \\"DdosType\\": \\"defense\\",\\n \\"IsAuto\\": false,\\n \\"MaxBps\\": 7500,\\n \\"ElasticBps\\": 12310,\\n \\"InstanceId\\": \\"i-bp1i88rqjza51s****\\",\\n \\"Bps\\": 7500,\\n \\"Pps\\": 5000000,\\n \\"MaxPps\\": 5000000,\\n \\"InternetIp\\": \\"192.0.XX.XX\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"\\n 025F1688-680B-551A-9A8E-1A0D796315CF\\n \\n defense\\n false\\n 7500\\n 12310\\n i-bp1i88rqjza51s****\\n 7500\\n 5000000\\n 5000000\\n 192.0.XX.XX\\n \\n","errorExample":""}]', 'title' => 'DescribeIpDdosThreshold', 'description' => 'If one or more assets of the current Alibaba Cloud account are added to an Anti-DDoS Origin instance, you can call the DescribeIpDdosThreshold operation to query the details of the DDoS mitigation threshold or traffic scrubbing threshold for a specific asset. The details include the current traffic scrubbing threshold, maximum scrubbing threshold, current DDoS mitigation threshold, and maximum DDoS mitigation threshold.'."\n" ."\n" .'## Limits'."\n" ."\n" - .'You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.'."\n", - ], - 'DescribeIpLocationService' => [ - 'summary' => 'Queries the region to which the public IP address of the asset within the current Alibaba Cloud account belongs. The asset can be an elastic IP address (EIP). The asset can also be an Elastic Compute Service (ECS) instance or Server Load Balancer (SLB) instance that is assigned a public IP address.', - 'methods' => [ - 'get', - 'post', + .'You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeIpDdosThreshold'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddos:DescribeIpDdosThreshold', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosBasic', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"025F1688-680B-551A-9A8E-1A0D796315CF\\",\\n \\"Threshold\\": {\\n \\"DdosType\\": \\"defense\\",\\n \\"IsAuto\\": false,\\n \\"MaxBps\\": 7500,\\n \\"ElasticBps\\": 12310,\\n \\"InstanceId\\": \\"i-bp1i88rqjza51s****\\",\\n \\"Bps\\": 7500,\\n \\"Pps\\": 5000000,\\n \\"MaxPps\\": 5000000,\\n \\"InternetIp\\": \\"192.0.XX.XX\\"\\n }\\n}","type":"json"}]', + ], + 'DescribeIpLocationService' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1229,240 +1195,165 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - ], + 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ 'name' => 'InternetIp', 'in' => 'query', - 'schema' => [ - 'description' => 'The IP address of the asset to query.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '121.199.XX.XX', - ], + 'schema' => ['description' => 'The IP address of the asset to query.', 'type' => 'string', 'required' => true, 'example' => '121.199.XX.XX', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'The response parameters.'."\n", + 'title' => '', + 'description' => 'The response parameters.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The ID of the request, which is used to locate and troubleshoot issues.'."\n", - 'type' => 'string', - 'example' => 'C728D7E9-9A39-52E0-966B-5C33118BDBB0', - ], + 'RequestId' => ['title' => '', 'description' => 'The ID of the request, which is used to locate and troubleshoot issues.', 'type' => 'string', 'example' => 'C728D7E9-9A39-52E0-966B-5C33118BDBB0'], 'Instance' => [ - 'title' => 'instance model', - 'description' => 'The details of the asset.'."\n", + 'title' => '', + 'description' => 'The details of the asset.', 'type' => 'object', 'properties' => [ - 'InstanceId' => [ - 'description' => 'The ID of the instance.'."\n", - 'type' => 'string', - 'example' => 'i-bp1cb6x80tfgocid****', - ], - 'InstanceName' => [ - 'description' => 'The name of the instance.'."\n", - 'type' => 'string', - 'example' => 'launch-advisor-2021****', - ], - 'InternetIp' => [ - 'description' => 'The IP address of the asset.'."\n", - 'type' => 'string', - 'example' => '121.199.XX.XX', - ], - 'InstanceType' => [ - 'description' => 'The type of the asset. Valid values:'."\n" - ."\n" - .'* **ecs**: an ECS instance.'."\n" - .'* **slb**: an SLB instance.'."\n" - .'* **eip**: an EIP.'."\n" - .'* **ipv6**: an IPv6 gateway.'."\n" - .'* **swas**: a simple application server.'."\n" - .'* **waf**: a Web Application Firewall (WAF) instance of the Exclusive edition.'."\n" - .'* **ga_basic**: a Global Accelerator (GA) instance.'."\n", - 'type' => 'string', - 'example' => 'ecs', - ], - 'Region' => [ - 'description' => 'The region to which the public IP address of the asset belongs.'."\n", - 'type' => 'string', - 'example' => 'cn-hangzhou', - ], + 'InstanceId' => ['description' => 'The ID of the instance.', 'type' => 'string', 'example' => 'i-bp1cb6x80tfgocid****', 'title' => ''], + 'InstanceName' => ['description' => 'The name of the instance.', 'type' => 'string', 'example' => 'launch-advisor-2021****', 'title' => ''], + 'InternetIp' => ['description' => 'The IP address of the asset.', 'type' => 'string', 'example' => '121.199.XX.XX', 'title' => ''], + 'InstanceType' => ['description' => 'The type of the asset. Valid values:'."\n" + ."\n" + .'- **ecs**: an ECS instance.'."\n" + ."\n" + .'- **slb**: an SLB instance.'."\n" + ."\n" + .'- **eip**: an EIP.'."\n" + ."\n" + .'- **ipv6**: an IPv6 gateway.'."\n" + ."\n" + .'- **swas**: a simple application server.'."\n" + ."\n" + .'- **waf**: a Web Application Firewall (WAF) instance of the Exclusive edition.'."\n" + ."\n" + .'- **ga\\_basic**: a Global Accelerator (GA) instance.', 'type' => 'string', 'example' => 'ecs', 'title' => ''], + 'Region' => ['description' => 'The region to which the public IP address of the asset belongs.', 'type' => 'string', 'example' => 'cn-hangzhou', 'title' => ''], ], + 'example' => '', ], ], + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"C728D7E9-9A39-52E0-966B-5C33118BDBB0\\",\\n \\"Instance\\": {\\n \\"InstanceId\\": \\"i-bp1cb6x80tfgocid****\\",\\n \\"InstanceName\\": \\"launch-advisor-2021****\\",\\n \\"InternetIp\\": \\"121.199.XX.XX\\",\\n \\"InstanceType\\": \\"ecs\\",\\n \\"Region\\": \\"cn-hangzhou\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"\\n C728D7E9-9A39-52E0-966B-5C33118BDBB0\\n \\n i-bp1cb6x80tfgocid****\\n launch-advisor-2021****\\n 121.199.XX.XX\\n ecs\\n cn-hangzhou\\n \\n","errorExample":""}]', 'title' => 'DescribeIpLocationService', + 'summary' => 'Queries the region to which the public IP address of the asset within the current Alibaba Cloud account belongs. The asset can be an elastic IP address (EIP). The asset can also be an Elastic Compute Service (ECS) instance or Server Load Balancer (SLB) instance that is assigned a public IP address.', 'description' => 'You can call the DescribeIpLocationService operation to query the region of the public IP address for a specified asset that is within the current Alibaba Cloud account. You can also query the details of the Anti-DDoS Origin instance to which the asset is added. The details include the ID and name.'."\n" ."\n" .'## [](#qps-)Limits'."\n" ."\n" - .'You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.'."\n", - ], - 'ModifyIpDefenseThreshold' => [ - 'summary' => 'Modifies the scrubbing thresholds for an asset that is assigned a public IP address. This operation is a synchronous operation that supports Terraform.', - 'methods' => [ - 'post', - 'get', + .'You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeIpLocationService'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddos:DescribeIpLocationService', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosBasic', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C728D7E9-9A39-52E0-966B-5C33118BDBB0\\",\\n \\"Instance\\": {\\n \\"InstanceId\\": \\"i-bp1cb6x80tfgocid****\\",\\n \\"InstanceName\\": \\"launch-advisor-2021****\\",\\n \\"InternetIp\\": \\"121.199.XX.XX\\",\\n \\"InstanceType\\": \\"ecs\\",\\n \\"Region\\": \\"cn-hangzhou\\"\\n }\\n}","type":"json"}]', + ], + 'DescribeRegions' => [ + 'summary' => 'Queries the regions in which Anti-DDoS Origin Basic is available.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', - 'systemTags' => [ - 'operationType' => 'update', - 'riskType' => 'high', - 'chargeType' => 'free', - ], - 'parameters' => [ - [ - 'name' => 'DdosRegionId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The region ID of the asset.'."\n" - ."\n" - .'> You can call the [DescribeRegions](~~353250~~) operation to query the most recent region list.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], - ], - [ - 'name' => 'InstanceType', - 'in' => 'query', - 'schema' => [ - 'description' => 'The type of the asset. Valid values:'."\n" - ."\n" - .'* **ecs**: an Elastic Compute Service (ECS) instance.'."\n" - .'* **slb**: a Server Load Balancer (SLB) instance.'."\n" - .'* **eip**: an elastic IP address (EIP).'."\n" - .'* **ipv6**: an IPv6 gateway.'."\n" - .'* **swas**: a simple application server.'."\n" - .'* **waf**: a Web Application Firewall (WAF) instance of the Exclusive edition.'."\n" - .'* **ga_basic**: a Global Accelerator (GA) instance.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'ecs', - ], - ], - [ - 'name' => 'InstanceId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the asset.'."\n" - ."\n" - .'> You can call the [DescribeInstance](~~354191~~) operation to query the IDs of ECS instances, SLB instances, and EIPs within the current Alibaba Cloud account.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'i-uf6idy3c57psf7vu****', - ], - ], - [ - 'name' => 'Bps', - 'in' => 'query', - 'schema' => [ - 'description' => 'The traffic scrubbing threshold. Unit: Mbit/s. The traffic scrubbing threshold cannot exceed the peak inbound or outbound Internet traffic, whichever is larger, of the asset. When you modify Bps, Pps is required. Otherwise, Bps does not take effect.'."\n" - ."\n" - .'You can use the monitoring tool that is provided by the asset to query the Internet traffic of the asset:'."\n" - ."\n" - .'* If the asset is an ECS instance, see [View instance monitoring information](~~25482~~).'."\n" - .'* If the asset is an SLB instance, see [View monitoring data](~~85982~~).'."\n" - .'* If the asset is an EIP, see [View monitoring data](~~85354~~).'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '100', - ], - ], - [ - 'name' => 'Pps', - 'in' => 'query', - 'schema' => [ - 'description' => 'The packet scrubbing threshold. Unit: packets per second (PPS). When you modify Pps, Bps is required. Otherwise, Pps does not take effect.'."\n" - ."\n" - .'The packet scrubbing threshold cannot exceed the peak number of inbound or outbound packets, whichever is larger, of the asset. You can use the monitoring tool that is provided by the asset to query the number of packets of the asset:'."\n" - ."\n" - .'* If the asset is an ECS instance, see [View instance monitoring information](~~25482~~).'."\n" - .'* If the asset is an SLB instance, see [View monitoring data](~~85982~~).'."\n" - .'* If the asset is an EIP, see [View monitoring data](~~85354~~).'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '70000', - ], - ], - [ - 'name' => 'IsAuto', - 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether to automatically adjust the scrubbing threshold based on the traffic load on the asset. Valid values:'."\n" - ."\n" - .'* **true**: automatically adjusts the scrubbing threshold. You do not need to configure the **Bps** and **Pps** parameters.'."\n" - .'* **false**: The scrubbing threshold is not automatically adjusted. You must configure the **Bps** and **Pps** parameters. This is the default value.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], - ], - [ - 'name' => 'InternetIp', - 'in' => 'query', - 'schema' => [ - 'description' => 'The IP address of the asset.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '192.0.XX.XX', - ], - ], - ], - 'responses' => [ - 200 => [ + 'operationType' => 'read', + 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'], + 'parameters' => [], + 'responses' => [ + 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request, which is used to locate and troubleshoot issues.'."\n", - 'type' => 'string', - 'example' => 'BC0607F8-A9F3-5E11-977B-D59CD58C64ED', + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '5093C7EE-8E27-5FC9-9B88-40626BA540C0', 'title' => ''], + 'Regions' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'Region' => [ + 'description' => 'An array consisting of regions in which Anti-DDoS Origin Basic is available.', + 'type' => 'array', + 'items' => [ + 'description' => 'The details of the region.', + 'type' => 'object', + 'properties' => [ + 'RegionEnName' => ['description' => 'The English name of the region.', 'type' => 'string', 'example' => 'East China 1', 'title' => ''], + 'RegionName' => ['description' => 'The Chinese name of the region.', 'type' => 'string', 'example' => '华东1(杭州)', 'title' => ''], + 'RegionNoAlias' => ['description' => 'The ID of the region.', 'type' => 'string', 'example' => 'cn-hangzhou', 'title' => ''], + 'RegionNo' => ['description' => 'The code of the region.', 'type' => 'string', 'example' => 'cn-hangzhou-dg-a01', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"BC0607F8-A9F3-5E11-977B-D59CD58C64ED\\"\\n}","errorExample":""},{"type":"xml","example":"\\n BC0607F8-A9F3-5E11-977B-D59CD58C64ED\\n","errorExample":""}]', - 'title' => 'ModifyIpDefenseThreshold', - 'description' => '### Limits'."\n" + 'title' => 'DescribeRegions', + 'description' => 'You can call this operation to query information about the regions in which Anti-DDoS Origin Basic is available. The information includes the region ID, region name, and code.'."\n" + ."\n" + .'## Limits'."\n" ."\n" .'You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.', - ], - 'ModifyDefenseThreshold' => [ - 'summary' => 'Changes the scrubbing thresholds for an asset that is assigned a public IP address.', - 'methods' => [ - 'post', - 'get', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeRegions'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddos:DescribeRegions', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosBasic', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"5093C7EE-8E27-5FC9-9B88-40626BA540C0\\",\\n \\"Regions\\": {\\n \\"Region\\": [\\n {\\n \\"RegionEnName\\": \\"East China 1\\",\\n \\"RegionName\\": \\"华东1(杭州)\\",\\n \\"RegionNoAlias\\": \\"cn-hangzhou\\",\\n \\"RegionNo\\": \\"cn-hangzhou-dg-a01\\"\\n }\\n ]\\n }\\n}","type":"json"}]', + ], + 'ModifyDefenseThreshold' => [ + 'summary' => 'Modifies the Anti-DDoS scrubbing threshold for a single asset with a public IP address.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1473,117 +1364,96 @@ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREddosY9LLGQ', - ], + 'abilityTreeNodes' => ['FEATUREddosY9LLGQ'], ], 'parameters' => [ [ 'name' => 'DdosRegionId', 'in' => 'query', - 'schema' => [ - 'description' => 'The region ID of the asset for which you want to change the scrubbing thresholds.'."\n" - ."\n" - .'> You can call the [DescribeRegions](~~353250~~) operation to query the most recent region list.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The region ID of the asset that is assigned a public IP address.'."\n" + ."\n" + .'> Call [DescribeRegions](~~353250~~) to query all region IDs.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'InstanceType', 'in' => 'query', - 'schema' => [ - 'description' => 'The type of the asset. Valid values:'."\n" - ."\n" - .'* **ecs**: an Elastic Compute Service (ECS) instance.'."\n" - .'* **slb**: a Server Load Balancer (SLB) instance.'."\n" - .'* **eip**: an elastic IP address (EIP).'."\n" - .'* **ipv6**: an IPv6 gateway.'."\n" - .'* **swas**: a simple application server.'."\n" - .'* **waf**: a Web Application Firewall (WAF) instance of the Exclusive edition.'."\n" - .'* **ga_basic**: a Global Accelerator (GA) instance.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'ecs', - ], + 'schema' => ['description' => 'The instance type of the asset that is assigned a public IP address. Valid values:'."\n" + ."\n" + .'- **ecs**: Elastic Compute Service (ECS) instance.'."\n" + ."\n" + .'- **slb**: Server Load Balancer (SLB) instance.'."\n" + ."\n" + .'- **eip**: Elastic IP Address (EIP) instance.'."\n" + ."\n" + .'- **ipv6**: IPv6 Gateway instance.'."\n" + ."\n" + .'- **swas**: simple application server instance.'."\n" + ."\n" + .'- **waf**: dedicated Web Application Firewall (WAF) instance.'."\n" + ."\n" + .'- **ga\\_basic**: basic Global Accelerator (GA) instance.', 'type' => 'string', 'required' => true, 'example' => 'ecs', 'title' => ''], ], [ 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the asset.'."\n" - ."\n" - .'> You can call the [DescribeInstance](~~354191~~) operation to query the IDs of ECS instances, SLB instances, and EIPs within the current Alibaba Cloud account.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'i-uf6idy3c57psf7vu****', - ], + 'schema' => ['description' => 'The instance ID of the asset that is assigned a public IP address.'."\n" + ."\n" + .'> Call [DescribeInstance](~~354191~~) to query the IDs of the ECS, SLB, and EIP instances that belong to your Alibaba Cloud account.', 'type' => 'string', 'required' => true, 'example' => 'i-uf6idy3c57psf7vu****', 'title' => ''], ], [ 'name' => 'Bps', 'in' => 'query', - 'schema' => [ - 'description' => 'The traffic scrubbing threshold. Unit: Mbit/s. The traffic scrubbing threshold cannot exceed the peak inbound or outbound Internet traffic, whichever is larger, of the asset. When you modify Bps, Pps is required. Otherwise, Bps does not take effect.'."\n" - ."\n" - .'You can use the monitoring tool that is provided by the asset to query the Internet traffic of the asset:'."\n" - ."\n" - .'* If the asset is an ECS instance, see [View instance monitoring information](~~25482~~).'."\n" - .'* If the asset is an SLB instance, see [View monitoring data](~~85982~~).'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '100', - ], + 'schema' => ['description' => 'The scrubbing threshold for traffic in Mbps. This value cannot exceed the peak public network traffic of the instance. If you specify Bps, you must also specify Pps. Otherwise, the change does not take effect.'."\n" + ."\n" + .'Use the monitoring tools of your instance to query its public network traffic:'."\n" + ."\n" + .'- For an ECS instance, see [View instance monitoring information](~~25482~~).'."\n" + ."\n" + .'- For an SLB instance, see [View monitoring data](~~85982~~).'."\n" + ."\n" + .''."\n" + ."\n" + .'- For an EIP instance, see [View monitoring data](~~85354~~).'."\n" + ."\n" + .'', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '100', 'title' => ''], ], [ 'name' => 'Pps', 'in' => 'query', - 'schema' => [ - 'description' => 'The packet scrubbing threshold. Unit: packets per second (PPS). When you modify Pps, Bps is required. Otherwise, Pps does not take effect.'."\n" - ."\n" - .'The packet scrubbing threshold cannot exceed the peak number of inbound or outbound packets, whichever is larger, of the asset. You can use the monitoring tool that is provided by the asset to query the number of packets of the asset:'."\n" - ."\n" - .'* If the asset is an ECS instance, see [View instance monitoring information](~~25482~~).'."\n" - .'* If the asset is an SLB instance, see [View monitoring data](~~85982~~).'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '70000', - ], + 'schema' => ['description' => 'The scrubbing threshold for packets per second (pps). This value cannot exceed the peak packet traffic of the instance. If you specify Pps, you must also specify Bps. Otherwise, the change does not take effect.'."\n" + ."\n" + .'Use the monitoring tools of your instance to query its packet traffic:'."\n" + ."\n" + .'- For an ECS instance, see [View instance monitoring information](~~25482~~).'."\n" + ."\n" + .'- For an SLB instance, see [View monitoring data](~~85982~~).'."\n" + ."\n" + .''."\n" + ."\n" + .'- For an EIP instance, see [View monitoring data](~~85354~~).'."\n" + ."\n" + .'', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '70000', 'title' => ''], ], [ 'name' => 'IsAuto', 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether to automatically adjust the scrubbing threshold based on the traffic load on the asset. Valid values:'."\n" - ."\n" - .'* **true**: automatically adjusts the scrubbing thresholds. You do not need to configure the **Bps** and **Pps** parameters.'."\n" - .'* **false**: The scrubbing threshold is not automatically adjusted. You must configure the **Bps** and **Pps** parameters.'."\n" - ."\n" - .'Default value: false.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['description' => 'Specifies whether to automatically adjust the scrubbing threshold based on the traffic loads of the instance. Valid values:'."\n" + ."\n" + .'- **true**: The scrubbing threshold is automatically adjusted. You do not need to set the **Bps** and **Pps** parameters.'."\n" + ."\n" + .'- **false**: The scrubbing threshold is not automatically adjusted. You must set the **Bps** and **Pps** parameters.'."\n" + ."\n" + .'Default value: false', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''], ], [ 'name' => 'InternetIp', 'in' => 'query', - 'schema' => [ - 'description' => 'The IP address of the asset.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '192.0.XX.XX', - ], + 'schema' => ['description' => 'The public IP address of the asset.', 'type' => 'string', 'required' => false, 'example' => '192.0.XX.XX', 'title' => ''], ], [ 'name' => 'ClientToken', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], ], ], 'responses' => [ @@ -1591,571 +1461,409 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request, which is used to locate and troubleshoot issues.'."\n", - 'type' => 'string', - 'example' => 'BC0607F8-A9F3-5E11-977B-D59CD58C64ED', - ], + 'RequestId' => ['description' => 'The unique ID of the request, generated by Alibaba Cloud. You can use this ID to troubleshoot and locate issues.', 'type' => 'string', 'example' => 'BC0607F8-A9F3-5E11-977B-D59CD58C64ED', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"BC0607F8-A9F3-5E11-977B-D59CD58C64ED\\"\\n}","errorExample":""},{"type":"xml","example":"\\n BC0607F8-A9F3-5E11-977B-D59CD58C64ED\\n","errorExample":""}]', 'title' => 'ModifyDefenseThreshold', - 'description' => '## [](#qps-)Limits'."\n" + 'description' => '## QPS limits'."\n" ."\n" - .'You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.'."\n", + .'The queries per second (QPS) limit for this API is 10 calls per second for each user. If you exceed the limit, API calls are throttled. This can affect your business. We recommend that you call this API at a reasonable rate.', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeDdosEventList' => [ - 'summary' => 'Queries the details of the DDoS attack events that occur on an asset. The asset is assigned a public IP address.', - 'methods' => [ - 'post', - 'get', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyDefenseThreshold'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddos:ModifyDefenseThreshold', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosBasic', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BC0607F8-A9F3-5E11-977B-D59CD58C64ED\\"\\n}","type":"json"}]', + ], + 'ModifyIpDefenseThreshold' => [ + 'summary' => 'Modifies the scrubbing thresholds for an asset that is assigned a public IP address. This operation is a synchronous operation that supports Terraform.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREddosOYL225', - ], - ], + 'operationType' => 'write', + 'systemTags' => ['operationType' => 'update', 'riskType' => 'high', 'chargeType' => 'free'], 'parameters' => [ [ 'name' => 'DdosRegionId', 'in' => 'query', - 'schema' => [ - 'description' => 'The region ID of the asset to query.'."\n" - ."\n" - .'> You can call the [DescribeRegions](~~353250~~) operation to query the most recent region list.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The region ID of the asset.'."\n" + ."\n" + .'> You can call the [DescribeRegions](~~353250~~) operation to query the most recent region list.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'InstanceType', 'in' => 'query', - 'schema' => [ - 'description' => 'The type of the asset to query. Valid values:'."\n" - ."\n" - .'* **ecs**: an Elastic Compute Service (ECS) instance.'."\n" - .'* **slb**: a Server Load Balancer (SLB) instance.'."\n" - .'* **eip**: an elastic IP address (EIP).'."\n" - .'* **ipv6**: an IPv6 gateway.'."\n" - .'* **swas**: a simple application server.'."\n" - .'* **waf**: a Web Application Firewall (WAF) instance of the Exclusive edition.'."\n" - .'* **ga_basic**: a Global Accelerator (GA) instance.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'ecs', - ], + 'schema' => ['description' => 'The type of the asset. Valid values:'."\n" + ."\n" + .'- **ecs**: an Elastic Compute Service (ECS) instance.'."\n" + ."\n" + .'- **slb**: a Server Load Balancer (SLB) instance.'."\n" + ."\n" + .'- **eip**: an elastic IP address (EIP).'."\n" + ."\n" + .'- **ipv6**: an IPv6 gateway.'."\n" + ."\n" + .'- **swas**: a simple application server.'."\n" + ."\n" + .'- **waf**: a Web Application Firewall (WAF) instance of the Exclusive edition.'."\n" + ."\n" + .'- **ga\\_basic**: a Global Accelerator (GA) instance.', 'type' => 'string', 'required' => true, 'example' => 'ecs', 'title' => ''], ], [ 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of asset to query.'."\n" - ."\n" - .'> You can call the [DescribeInstance](~~354191~~) operation to query the IDs of ECS instances, SLB instances, and EIPs within the current Alibaba Cloud account.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'i-bp10bclrt56fblts****', - ], + 'schema' => ['description' => 'The ID of the asset.'."\n" + ."\n" + .'> You can call the [DescribeInstance](~~354191~~) operation to query the IDs of ECS instances, SLB instances, and EIPs within the current Alibaba Cloud account.', 'type' => 'string', 'required' => true, 'example' => 'i-uf6idy3c57psf7vu****', 'title' => ''], ], [ - 'name' => 'CurrentPage', + 'name' => 'Bps', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of the page to return. Default value: **1**.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - 'default' => '1', - ], + 'schema' => ['description' => 'The traffic scrubbing threshold. Unit: Mbit/s. The traffic scrubbing threshold cannot exceed the peak inbound or outbound Internet traffic, whichever is larger, of the asset. When you modify Bps, Pps is required. Otherwise, Bps does not take effect.'."\n" + ."\n" + .'You can use the monitoring tool that is provided by the asset to query the Internet traffic of the asset:'."\n" + ."\n" + .'- If the asset is an ECS instance, see [View instance monitoring information](~~25482~~).'."\n" + ."\n" + .'- If the asset is an SLB instance, see [View monitoring data](~~85982~~).'."\n" + ."\n" + .'- If the asset is an EIP, see [View monitoring data](~~85354~~).', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '100', 'title' => ''], ], [ - 'name' => 'PageSize', + 'name' => 'Pps', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of entries to return on each page. Default value: **10**.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'maximum' => '50', - 'example' => '10', - 'default' => '20', - ], + 'schema' => ['description' => 'The packet scrubbing threshold. Unit: packets per second (PPS). When you modify Pps, Bps is required. Otherwise, Pps does not take effect.'."\n" + ."\n" + .'The packet scrubbing threshold cannot exceed the peak number of inbound or outbound packets, whichever is larger, of the asset. You can use the monitoring tool that is provided by the asset to query the number of packets of the asset:'."\n" + ."\n" + .'- If the asset is an ECS instance, see [View instance monitoring information](~~25482~~).'."\n" + ."\n" + .'- If the asset is an SLB instance, see [View monitoring data](~~85982~~).'."\n" + ."\n" + .'- If the asset is an EIP, see [View monitoring data](~~85354~~).', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '70000', 'title' => ''], ], [ - 'name' => 'InternetIp', + 'name' => 'IsAuto', 'in' => 'query', - 'schema' => [ - 'description' => 'The IP address of the asset to query.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '121.199.XX.XX', - ], + 'schema' => ['description' => 'Specifies whether to automatically adjust the scrubbing threshold based on the traffic load on the asset. Valid values:'."\n" + ."\n" + .'- **true**: automatically adjusts the scrubbing threshold. You do not need to configure the **Bps** and **Pps** parameters.'."\n" + ."\n" + .'- **false**: The scrubbing threshold is not automatically adjusted. You must configure the **Bps** and **Pps** parameters. This is the default value.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''], ], [ - 'name' => 'QueryDays', + 'name' => 'InternetIp', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'maximum' => '186', - 'minimum' => '1', - ], + 'schema' => ['description' => 'The IP address of the asset.', 'type' => 'string', 'required' => true, 'example' => '192.0.XX.XX', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => 'The response parameters.'."\n", 'type' => 'object', 'properties' => [ - 'Total' => [ - 'description' => 'The total number of DDoS attack events.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'RequestId' => [ - 'description' => 'The ID of the request, which is used to locate and troubleshoot issues.'."\n", - 'type' => 'string', - 'example' => 'BC0907F8-A9F3-5E11-977B-D59CD98C64ED', - ], - 'DdosEventList' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'DdosEvent' => [ - 'description' => 'The details of the DDoS attack events.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The details of the DDoS attack event.'."\n", - 'type' => 'object', - 'properties' => [ - 'DdosType' => [ - 'description' => 'The type of the DDoS attack event. Valid values:'."\n" - ."\n" - .'* **defense**: an attack event that triggers traffic scrubbing'."\n" - .'* **blackhole**: an attack event that triggers blackhole filtering'."\n", - 'type' => 'string', - 'example' => 'blackhole', - ], - 'EndTime' => [ - 'description' => 'The end time of the DDoS attack event. The value is a UNIX timestamp. Unit: milliseconds.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1637817679000', - ], - 'StartTime' => [ - 'description' => 'The start time of the DDoS attack event. The value is a UNIX timestamp. Unit: milliseconds.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1637812279000', - ], - 'DelayTime' => [ - 'description' => 'The time of the last attack. The value is a UNIX timestamp. Unit: milliseconds.'."\n" - ."\n" - .'> This parameter is returned only when the asset is attacked multiple times within a DDoS attack event.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1637817679000', - ], - 'DdosStatus' => [ - 'description' => 'The status of the DDoS attack event. Valid values:'."\n" - ."\n" - .'* **mitigating**: indicates that traffic scrubbing is in progress.'."\n" - .'* **blackholed**: indicates that blackhole filtering is triggered for the asset.'."\n" - .'* **normal**: indicates that the DDoS attack event ends.'."\n", - 'type' => 'string', - 'example' => 'normal', - ], - 'UnBlackholeTime' => [ - 'description' => 'The time when blackhole filtering is deactivated. The value is a UNIX timestamp. Unit: milliseconds.'."\n" - ."\n" - .'> This parameter is returned only when the value of the **DdosType** parameter is **blackhole**.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1637814079000', - ], - ], - ], - ], - ], - ], + 'RequestId' => ['description' => 'The ID of the request, which is used to locate and troubleshoot issues.', 'type' => 'string', 'example' => 'BC0607F8-A9F3-5E11-977B-D59CD58C64ED', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Total\\": 1,\\n \\"RequestId\\": \\"BC0907F8-A9F3-5E11-977B-D59CD98C64ED\\",\\n \\"DdosEventList\\": {\\n \\"DdosEvent\\": [\\n {\\n \\"DdosType\\": \\"blackhole\\",\\n \\"EndTime\\": 1637817679000,\\n \\"StartTime\\": 1637812279000,\\n \\"DelayTime\\": 1637817679000,\\n \\"DdosStatus\\": \\"normal\\",\\n \\"UnBlackholeTime\\": 1637814079000\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"\\n 1\\n BC0907F8-A9F3-5E11-977B-D59CD98C64ED\\n \\n blackhole\\n 1637817679000\\n 1637812279000\\n 1637817679000\\n normal\\n 1637814079000\\n \\n","errorExample":""}]', - 'title' => 'DescribeDdosEventList', - 'description' => 'You can call the DescribeDdosEventList operation to query the details of the DDoS attack events that occur on an asset by page. The details include the start time, end time, and status of each DDoS attack event.'."\n" - ."\n" - .'## [](#qps-)Limits'."\n" + 'title' => 'ModifyIpDefenseThreshold', + 'description' => '### Limits'."\n" ."\n" - .'You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.'."\n", - ], - 'DescribeDdosCount' => [ - 'summary' => 'Queries the number of assets that are under DDoS attacks in a specific region. The assets are assigned public IP addresses.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + .'You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyIpDefenseThreshold'], + ], ], - 'security' => [ + 'ramActions' => [ [ - 'AK' => [], + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddos:ModifyIpDefenseThreshold', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosBasic', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], ], - 'operationType' => 'read', - 'systemTags' => [ + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BC0607F8-A9F3-5E11-977B-D59CD58C64ED\\"\\n}","type":"json"}]', + ], + ], + 'endpoints' => [ + ['regionId' => 'cn-zhengzhou-jva', 'regionName' => 'Zhengzhou (China Unicom Joint Venture)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'antiddos-openapi.cn-zhengzhou-jva.aliyuncs.com', 'endpoint' => 'antiddos-openapi.cn-zhengzhou-jva.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-fuzhou', 'regionName' => 'China (Fuzhou - Local Region)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'antiddos-openapi.cn-hangzhou-cloudstone.aliyuncs.com', 'endpoint' => 'antiddos-openapi.cn-hangzhou-cloudstone.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-shenzhen', 'regionName' => 'China (Shenzhen)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'antiddos.aliyuncs.com', 'endpoint' => 'antiddos.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-wuhan-lr', 'regionName' => 'China (Wuhan - Local Region)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'antiddos-openapi.cn-hangzhou-cloudstone.aliyuncs.com', 'endpoint' => 'antiddos-openapi.cn-hangzhou-cloudstone.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'ap-northeast-2', 'regionName' => 'South Korea (Seoul)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'antiddos-openapi.ap-northeast-2.aliyuncs.com', 'endpoint' => 'antiddos-openapi.ap-northeast-2.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'ap-southeast-1', 'regionName' => 'Singapore', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'antiddos.aliyuncs.com', 'endpoint' => 'antiddos.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-zhongwei', 'regionName' => 'China (Zhongwei)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'antiddos-openapi.cn-zhongwei.aliyuncs.com', 'endpoint' => 'antiddos-openapi.cn-zhongwei.aliyuncs.com', 'vpc' => 'antiddos-openapi-vpc.cn-zhongwei.aliyuncs.com'], + ['regionId' => 'cn-wulanchabu', 'regionName' => 'China (Ulanqab)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'antiddos-openapi.cn-wulanchabu.aliyuncs.com', 'endpoint' => 'antiddos-openapi.cn-wulanchabu.aliyuncs.com', 'vpc' => 'antiddos-openapi-vpc.cn-wulanchabu.aliyuncs.com'], + ['regionId' => 'cn-beijing', 'regionName' => 'China (Beijing)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'antiddos.aliyuncs.com', 'endpoint' => 'antiddos.aliyuncs.com', 'vpc' => 'antiddos-openapi-vpc.cn-beijing.aliyuncs.com'], + ['regionId' => 'cn-qingdao', 'regionName' => 'China (Qingdao)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'antiddos.aliyuncs.com', 'endpoint' => 'antiddos.aliyuncs.com', 'vpc' => 'antiddos-openapi-vpc.cn-qingdao.aliyuncs.com'], + ['regionId' => 'cn-shanghai', 'regionName' => 'China (Shanghai)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'antiddos.aliyuncs.com', 'endpoint' => 'antiddos.aliyuncs.com', 'vpc' => 'antiddos-openapi-vpc.cn-shanghai.aliyuncs.com'], + ['regionId' => 'cn-hongkong', 'regionName' => 'China (Hong Kong)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'antiddos.aliyuncs.com', 'endpoint' => 'antiddos.aliyuncs.com', 'vpc' => 'antiddos-openapi-vpc.cn-hongkong.aliyuncs.com'], + ['regionId' => 'cn-heyuan', 'regionName' => 'China (Heyuan)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'antiddos-openapi.cn-heyuan.aliyuncs.com', 'endpoint' => 'antiddos-openapi.cn-heyuan.aliyuncs.com', 'vpc' => 'antiddos-openapi-vpc.cn-heyuan.aliyuncs.com'], + ['regionId' => 'cn-zhangjiakou', 'regionName' => 'China (Zhangjiakou)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'antiddos-openapi.cn-zhangjiakou.aliyuncs.com', 'endpoint' => 'antiddos-openapi.cn-zhangjiakou.aliyuncs.com', 'vpc' => 'antiddos-openapi-vpc.cn-zhangjiakou.aliyuncs.com'], + ['regionId' => 'cn-nanjing', 'regionName' => 'China (Nanjing - Local Region)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'antiddos-openapi.cn-hangzhou-cloudstone.aliyuncs.com', 'endpoint' => 'antiddos-openapi.cn-hangzhou-cloudstone.aliyuncs.com', 'vpc' => 'antiddos-openapi-vpc.cn-nanjing.aliyuncs.com'], + ['regionId' => 'ap-northeast-1', 'regionName' => 'Japan (Tokyo)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'antiddos-openapi.ap-northeast-1.aliyuncs.com', 'endpoint' => 'antiddos-openapi.ap-northeast-1.aliyuncs.com', 'vpc' => 'antiddos-openapi-vpc.ap-northeast-1.aliyuncs.com'], + ['regionId' => 'cn-chengdu', 'regionName' => 'China (Chengdu)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'antiddos-openapi.cn-chengdu.aliyuncs.com', 'endpoint' => 'antiddos-openapi.cn-chengdu.aliyuncs.com', 'vpc' => 'antiddos-openapi-vpc.cn-chengdu.aliyuncs.com'], + ['regionId' => 'cn-guangzhou', 'regionName' => 'China (Guangzhou)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'antiddos-openapi.cn-guangzhou.aliyuncs.com', 'endpoint' => 'antiddos-openapi.cn-guangzhou.aliyuncs.com', 'vpc' => 'antiddos-openapi-vpc.cn-guangzhou.aliyuncs.com'], + ['regionId' => 'ap-southeast-2', 'regionName' => 'Australia (Sydney) Closed', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'antiddos-openapi.ap-southeast-2.aliyuncs.com', 'endpoint' => 'antiddos-openapi.ap-southeast-2.aliyuncs.com', 'vpc' => 'antiddos-openapi-vpc.ap-southeast-2.aliyuncs.com'], + ['regionId' => 'ap-southeast-3', 'regionName' => 'Malaysia (Kuala Lumpur)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'antiddos-openapi.ap-southeast-3.aliyuncs.com', 'endpoint' => 'antiddos-openapi.ap-southeast-3.aliyuncs.com', 'vpc' => 'antiddos-openapi-vpc.ap-southeast-3.aliyuncs.com'], + ['regionId' => 'cn-huhehaote', 'regionName' => 'China (Hohhot)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'antiddos-openapi.cn-huhehaote.aliyuncs.com', 'endpoint' => 'antiddos-openapi.cn-huhehaote.aliyuncs.com', 'vpc' => 'antiddos-openapi-vpc.cn-huhehaote.aliyuncs.com'], + ['regionId' => 'ap-southeast-5', 'regionName' => 'Indonesia (Jakarta)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'antiddos-openapi.ap-southeast-5.aliyuncs.com', 'endpoint' => 'antiddos-openapi.ap-southeast-5.aliyuncs.com', 'vpc' => 'antiddos-openapi-vpc.ap-southeast-5.aliyuncs.com'], + ['regionId' => 'ap-southeast-6', 'regionName' => 'Philippines (Manila)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'antiddos-openapi.ap-southeast-6.aliyuncs.com', 'endpoint' => 'antiddos-openapi.ap-southeast-6.aliyuncs.com', 'vpc' => 'antiddos-openapi-vpc.ap-southeast-6.aliyuncs.com'], + ['regionId' => 'ap-southeast-7', 'regionName' => 'Thailand (Bangkok)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'antiddos-openapi.ap-southeast-7.aliyuncs.com', 'endpoint' => 'antiddos-openapi.ap-southeast-7.aliyuncs.com', 'vpc' => 'antiddos-openapi-vpc.ap-southeast-7.aliyuncs.com'], + ['regionId' => 'cn-hangzhou', 'regionName' => 'China (Hangzhou)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'antiddos.aliyuncs.com', 'endpoint' => 'antiddos.aliyuncs.com', 'vpc' => 'antiddos-openapi-vpc.cn-hangzhou.aliyuncs.com'], + ['regionId' => 'ap-southeast-8', 'regionName' => 'Malaysia (Johor)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'antiddos-openapi.ap-southeast-8.aliyuncs.com', 'endpoint' => 'antiddos-openapi.ap-southeast-8.aliyuncs.com', 'vpc' => 'antiddos-openapi-vpc.ap-southeast-8.aliyuncs.com'], + ['regionId' => 'us-southeast-1', 'regionName' => 'US(Atlanta)', 'areaId' => 'europeAmerica', 'areaName' => 'Europe & Americas', 'public' => 'antiddos-openapi.us-southeast-1.aliyuncs.com', 'endpoint' => 'antiddos-openapi.us-southeast-1.aliyuncs.com', 'vpc' => 'antiddos-openapi-vpc.us-southeast-1.aliyuncs.com'], + ['regionId' => 'eu-west-1', 'regionName' => 'UK (London)', 'areaId' => 'europeAmerica', 'areaName' => 'Europe & Americas', 'public' => 'antiddos-openapi.eu-west-1.aliyuncs.com', 'endpoint' => 'antiddos-openapi.eu-west-1.aliyuncs.com', 'vpc' => 'antiddos-openapi-vpc.eu-west-1.aliyuncs.com'], + ['regionId' => 'eu-west-2', 'regionName' => 'France (Paris)', 'areaId' => 'europeAmerica', 'areaName' => 'Europe & Americas', 'public' => 'antiddos-openapi.eu-west-2.aliyuncs.com', 'endpoint' => 'antiddos-openapi.eu-west-2.aliyuncs.com', 'vpc' => 'antiddos-openapi-vpc.eu-west-2.aliyuncs.com'], + ['regionId' => 'eu-central-1', 'regionName' => 'Germany (Frankfurt)', 'areaId' => 'europeAmerica', 'areaName' => 'Europe & Americas', 'public' => 'antiddos-openapi.eu-central-1.aliyuncs.com', 'endpoint' => 'antiddos-openapi.eu-central-1.aliyuncs.com', 'vpc' => 'antiddos-openapi-vpc.eu-central-1.aliyuncs.com'], + ['regionId' => 'na-south-1', 'regionName' => 'Mexico', 'areaId' => 'europeAmerica', 'areaName' => 'Europe & Americas', 'public' => 'antiddos-openapi.na-south-1.aliyuncs.com', 'endpoint' => 'antiddos-openapi.na-south-1.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'us-west-1', 'regionName' => 'US (Silicon Valley)', 'areaId' => 'europeAmerica', 'areaName' => 'Europe & Americas', 'public' => 'antiddos.aliyuncs.com', 'endpoint' => 'antiddos.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'us-east-1', 'regionName' => 'US (Virginia)', 'areaId' => 'europeAmerica', 'areaName' => 'Europe & Americas', 'public' => 'antiddos.aliyuncs.com', 'endpoint' => 'antiddos.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'me-east-1', 'regionName' => 'UAE (Dubai)', 'areaId' => 'middleEast', 'areaName' => 'Middle East', 'public' => 'antiddos-openapi.me-east-1.aliyuncs.com', 'endpoint' => 'antiddos-openapi.me-east-1.aliyuncs.com', 'vpc' => 'antiddos-openapi-vpc.me-east-1.aliyuncs.com'], + ['regionId' => 'ap-south-1', 'regionName' => 'India (Mumbai) Closed', 'areaId' => 'middleEast', 'areaName' => 'Middle East', 'public' => 'antiddos-openapi.ap-south-1.aliyuncs.com', 'endpoint' => 'antiddos-openapi.ap-south-1.aliyuncs.com', 'vpc' => 'antiddos-openapi-vpc.ap-south-1.aliyuncs.com'], + ['regionId' => 'me-central-1', 'regionName' => 'Saudi Arabia (Riyadh)', 'areaId' => 'middleEast', 'areaName' => 'Middle East', 'public' => 'antiddos-openapi.me-central-1.aliyuncs.com', 'endpoint' => 'antiddos-openapi.me-central-1.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-north-2-gov-1', 'regionName' => 'Beijing Government Cloud', 'areaId' => 'industryCloud', 'areaName' => 'Industry Cloud', 'public' => 'antiddos.aliyuncs.com', 'endpoint' => 'antiddos.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-beijing-finance-1', 'regionName' => 'China North 2 Finance (Preview)', 'areaId' => 'industryCloud', 'areaName' => 'Industry Cloud', 'public' => 'antiddos.aliyuncs.com', 'endpoint' => 'antiddos.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-shenzhen-finance-1', 'regionName' => 'China South 1 Finance', 'areaId' => 'industryCloud', 'areaName' => 'Industry Cloud', 'public' => 'antiddos.aliyuncs.com', 'endpoint' => 'antiddos.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-shanghai-finance-1', 'regionName' => 'China East 2 Finance', 'areaId' => 'industryCloud', 'areaName' => 'Industry Cloud', 'public' => 'antiddos.aliyuncs.com', 'endpoint' => 'antiddos.aliyuncs.com', 'vpc' => ''], + ], + 'errorCodes' => [ + ['code' => 'Antiddos.DdosTypeError', 'message' => 'ddosType Error %s', 'http_code' => 400, 'description' => 'The status of the IP address is invalid.'], + ['code' => 'Antiddos.PageSizeError', 'message' => 'pageSize Must be less than 50', 'http_code' => 400, 'description' => 'The page size must be smaller than 50.'], + ['code' => 'Antiddos.ParameterError', 'message' => 'Parameter error %s', 'http_code' => 400, 'description' => 'The parameter is invalid.'], + ['code' => 'InvalidThreshold', 'message' => 'The threshold cannot exceed the maximum threshold', 'http_code' => 400, 'description' => 'The value of the threshold cannot exceed the upper limit.'], + ], + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeBgpPackByIp'], + ['threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeIpLocationService'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDdosEventList'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDdosThreshold'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyDefenseThreshold'], + ['threshold' => '200', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeInstanceIpAddress'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDdosCredit'], + ['threshold' => '200', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeInstance'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyIpDefenseThreshold'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeCap'], + ['threshold' => '200', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeDdosCount'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeRegions'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeIpDdosThreshold'], + ], + ], + 'ram' => [ + 'productCode' => 'DdosBasic', + 'productName' => 'Anti-DDoS Basic', + 'ramCodes' => ['yundun-ddos'], + 'ramLevel' => 'OPERATION', + 'ramConditions' => [], + 'ramActions' => [ + [ + 'apiName' => 'DescribeIpLocationService', + 'description' => '', 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - ], - 'parameters' => [ - [ - 'name' => 'DdosRegionId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The region ID of the asset to query.'."\n" - ."\n" - .'> You can call the [DescribeRegions](~~353250~~) operation to query the most recent region list.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', + 'ramAction' => [ + 'action' => 'yundun-ddos:DescribeIpLocationService', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosBasic', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'InstanceType', - 'in' => 'query', - 'schema' => [ - 'description' => 'The type of the asset to query. Valid values:'."\n" - ."\n" - .'* **ecs**: Elastic Compute Service (ECS) instances.'."\n" - .'* **slb**: Server Load Balancer (SLB) instances.'."\n" - .'* **eip**: elastic IP addresses (EIPs).'."\n" - .'* **ipv6**: IPv6 gateways.'."\n" - .'* **swas**: simple application servers.'."\n" - .'* **waf**: Web Application Firewall (WAF) instances of the Exclusive edition.'."\n" - .'* **ga_basic**: Global Accelerator (GA) instances.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'ecs', + ], + [ + 'apiName' => 'DescribeCap', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddos:DescribeCap', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosBasic', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'description' => 'The response parameters.'."\n", - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '7D66C762-324E-51CE-B461-2007996087B2', - ], - 'DdosCount' => [ - 'description' => 'The number of assets that are under DDoS attacks.'."\n", - 'type' => 'object', - 'properties' => [ - 'BlackholeCount' => [ - 'description' => 'The number of assets for which blackhole filtering is triggered.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'InstacenCount' => [ - 'description' => 'The total number of assets.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'DefenseCount' => [ - 'description' => 'The number of assets for which traffic scrubbing is triggered.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '4', - ], - ], - ], - ], + [ + 'apiName' => 'DescribeIpDdosThreshold', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddos:DescribeIpDdosThreshold', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosBasic', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"7D66C762-324E-51CE-B461-2007996087B2\\",\\n \\"DdosCount\\": {\\n \\"BlackholeCount\\": 0,\\n \\"InstacenCount\\": 0,\\n \\"DefenseCount\\": 4\\n }\\n}","errorExample":""},{"type":"xml","example":"\\n 7D66C762-324E-51CE-B461-2007996087B2\\n \\n 0\\n 0\\n 4\\n \\n","errorExample":""}]', - 'title' => 'DescribeDdosCount', - 'description' => '## [](#qps-)Limits'."\n" - ."\n" - .'You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.'."\n", - ], - 'DescribeCap' => [ - 'summary' => 'Queries the download link to the traffic data that is captured when a DDoS attack event occurs.', - 'methods' => [ - 'post', - 'get', + [ + 'apiName' => 'DescribeDdosThreshold', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddos:DescribeDdosThreshold', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosBasic', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'schemes' => [ - 'http', - 'https', + [ + 'apiName' => 'DescribeRegions', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddos:DescribeRegions', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosBasic', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'ModifyIpDefenseThreshold', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddos:ModifyIpDefenseThreshold', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosBasic', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], - 'operationType' => 'read', - 'systemTags' => [ + [ + 'apiName' => 'DescribeInstanceIpAddress', + 'description' => '', 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', + 'ramAction' => [ + 'action' => 'yundun-ddos:DescribeInstanceIpAddress', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosBasic', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'parameters' => [ - [ - 'name' => 'DdosRegionId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The region ID of the asset that is under DDoS attacks. The asset is assigned a public IP address.'."\n" - ."\n" - .'> You can call the [DescribeRegions](~~353250~~) operation to query the most recent region list.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', + [ + 'apiName' => 'DescribeDdosEventList', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddos:DescribeDdosEventList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosBasic', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'InstanceType', - 'in' => 'query', - 'schema' => [ - 'description' => 'The type of the asset that is under DDoS attacks. The asset is assigned a public IP address. Valid values:'."\n" - ."\n" - .'* **ecs**: an Elastic Compute Service (ECS) instance.'."\n" - .'* **slb**: a Server Load Balancer (SLB) instance.'."\n" - .'* **eip**: an elastic IP address (EIP).'."\n" - .'* **ipv6**: an IPv6 gateway.'."\n" - .'* **swas**: a simple application server.'."\n" - .'* **waf**: a Web Application Firewall (WAF) instance of the Exclusive edition.'."\n" - .'* **ga_basic**: a Global Accelerator (GA) instance.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'ecs', + ], + [ + 'apiName' => 'DescribeDdosCredit', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddos:DescribeDdosCredit', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosBasic', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'InstanceId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the asset that is under DDoS attacks.'."\n" - ."\n" - .'> You can call the [DescribeInstance](~~354191~~) operation to query the IDs of ECS instances, SLB instances, and EIPs within the current Alibaba Cloud account.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'i-bp10bclrt56fblts****', + ], + [ + 'apiName' => 'DescribeBgpPackByIp', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddos:DescribeBgpPackByIp', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosBasic', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'BegTime', - 'in' => 'query', - 'schema' => [ - 'description' => 'The start time of the DDoS attack event. The value is a UNIX timestamp. Unit: milliseconds.'."\n" - ."\n" - .'> You can call the [DescribeDdosEventList](~~354236~~) operation to query the start time of each DDoS attack event that occurred on an asset.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1637812279000', + ], + [ + 'apiName' => 'DescribeInstance', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddos:DescribeInstance', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosBasic', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'InternetIp', - 'in' => 'query', - 'schema' => [ - 'description' => 'The public IP address of the asset that is under DDoS attacks.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '121.199.XX.XX', + ], + [ + 'apiName' => 'DescribeDdosCount', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddos:DescribeDdosCount', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosBasic', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request, which is used to locate and troubleshoot issues.'."\n", - 'type' => 'string', - 'example' => 'C728D7E9-9A39-52E0-966B-5C33118BDBB0', - ], - 'CapUrl' => [ - 'description' => 'The download link to the traffic data that is captured when a DDoS attack event occurs.'."\n", - 'type' => 'object', - 'properties' => [ - 'Url' => [ - 'description' => 'The download link to the traffic data.'."\n", - 'type' => 'string', - 'example' => 'http://beaver-pack****.oss-cn-hangzhou.aliyuncs.com/ddos-2021****-121.89.XX.XX.cap?Expires=1637****&OSSAccessKeyId=LTAI****************&Signature=******', - ], - ], - ], - ], - 'description' => '', + [ + 'apiName' => 'ModifyDefenseThreshold', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddos:ModifyDefenseThreshold', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosBasic', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"C728D7E9-9A39-52E0-966B-5C33118BDBB0\\",\\n \\"CapUrl\\": {\\n \\"Url\\": \\"http://beaver-pack****.oss-cn-hangzhou.aliyuncs.com/ddos-2021****-121.89.XX.XX.cap?Expires=1637****&OSSAccessKeyId=LTAI****************&Signature=******\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"\\n C728D7E9-9A39-52E0-966B-5C33118BDBB0\\n \\n http://beaver-pack****.oss-cn-hangzhou.aliyuncs.com/ddos-2021112511-121.89.XX.XX.cap?Expires=1637824408&OSSAccessKeyId=LTAIXu2lJhw3****&Signature=KKSzOMSUajtwcqfqxkU1nK69d4****\\n \\n","errorExample":""}]', - 'title' => 'DescribeCap', - 'description' => 'You can call the DescribeCap operation to query the download link to the traffic data that is captured when a DDoS attack event occurs. You can download the traffic data from the download link and use the data as evidence.'."\n" - ."\n" - .'## Limits'."\n" - ."\n" - .'You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.'."\n", - ], - ], - 'endpoints' => [ - [ - 'regionId' => 'cn-beijing-finance-1', - 'endpoint' => 'antiddos.aliyuncs.com', - ], - [ - 'regionId' => 'ap-northeast-2', - 'endpoint' => 'antiddos-openapi.ap-northeast-2.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shenzhen', - 'endpoint' => 'antiddos.aliyuncs.com', - ], - [ - 'regionId' => 'cn-zhangjiakou', - 'endpoint' => 'antiddos-openapi.cn-zhangjiakou.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-6', - 'endpoint' => 'antiddos-openapi.ap-southeast-6.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hangzhou', - 'endpoint' => 'antiddos.aliyuncs.com', - ], - [ - 'regionId' => 'us-west-1', - 'endpoint' => 'antiddos.aliyuncs.com', - ], - [ - 'regionId' => 'cn-guangzhou', - 'endpoint' => 'antiddos-openapi.cn-guangzhou.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shanghai-finance-1', - 'endpoint' => 'antiddos.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-5', - 'endpoint' => 'antiddos-openapi.ap-southeast-5.aliyuncs.com', - ], - [ - 'regionId' => 'cn-beijing', - 'endpoint' => 'antiddos.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-1', - 'endpoint' => 'antiddos.aliyuncs.com', - ], - [ - 'regionId' => 'cn-north-2-gov-1', - 'endpoint' => 'antiddos.aliyuncs.com', - ], - [ - 'regionId' => 'cn-wulanchabu', - 'endpoint' => 'antiddos-openapi.cn-wulanchabu.aliyuncs.com', - ], - [ - 'regionId' => 'cn-nanjing', - 'endpoint' => 'antiddos-openapi.cn-hangzhou-cloudstone.aliyuncs.com', - ], - [ - 'regionId' => 'cn-huhehaote', - 'endpoint' => 'antiddos-openapi.cn-huhehaote.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hongkong', - 'endpoint' => 'antiddos.aliyuncs.com', - ], - [ - 'regionId' => 'rus-west-1', - 'endpoint' => 'antiddos-openapi.rus-west-1.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shanghai', - 'endpoint' => 'antiddos.aliyuncs.com', - ], - [ - 'regionId' => 'me-east-1', - 'endpoint' => 'antiddos-openapi.me-east-1.aliyuncs.com', - ], - [ - 'regionId' => 'eu-west-1', - 'endpoint' => 'antiddos-openapi.eu-west-1.aliyuncs.com', - ], - [ - 'regionId' => 'cn-haidian-cm12-c01', - 'endpoint' => 'antiddos.aliyuncs.com', - ], - [ - 'regionId' => 'cn-qingdao', - 'endpoint' => 'antiddos.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shenzhen-finance-1', - 'endpoint' => 'antiddos.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-3', - 'endpoint' => 'antiddos-openapi.ap-southeast-3.aliyuncs.com', - ], - [ - 'regionId' => 'cn-chengdu', - 'endpoint' => 'antiddos-openapi.cn-chengdu.aliyuncs.com', - ], - [ - 'regionId' => 'ap-northeast-1', - 'endpoint' => 'antiddos-openapi.ap-northeast-1.aliyuncs.com', - ], - [ - 'regionId' => 'us-east-1', - 'endpoint' => 'antiddos.aliyuncs.com', - ], - [ - 'regionId' => 'cn-heyuan', - 'endpoint' => 'antiddos-openapi.cn-heyuan.aliyuncs.com', - ], - [ - 'regionId' => 'cn-fujian', - 'endpoint' => 'antiddos.aliyuncs.com', - ], - [ - 'regionId' => 'eu-central-1', - 'endpoint' => 'antiddos-openapi.eu-central-1.aliyuncs.com', ], + 'resourceTypes' => [], ], ]; -- cgit v1.2.3