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/ddoscoo/2017-12-28/api-docs.php | 4956 +--- data/en_us/ddoscoo/2020-01-01/api-docs.php | 33415 +++++++++++++-------------- 2 files changed, 17732 insertions(+), 20639 deletions(-) (limited to 'data/en_us/ddoscoo') diff --git a/data/en_us/ddoscoo/2017-12-28/api-docs.php b/data/en_us/ddoscoo/2017-12-28/api-docs.php index 4f67f18..0649440 100644 --- a/data/en_us/ddoscoo/2017-12-28/api-docs.php +++ b/data/en_us/ddoscoo/2017-12-28/api-docs.php @@ -1,10 +1,6 @@ '1.0', - 'info' => [ - 'style' => 'RPC', - 'product' => 'ddoscoo', - 'version' => '2017-12-28', - ], + 'info' => ['style' => 'RPC', 'product' => 'ddoscoo', 'version' => '2017-12-28'], 'directories' => [ [ 'id' => 60475, @@ -15,101 +11,36 @@ 'id' => 60476, 'title' => null, 'type' => 'directory', - 'children' => [ - 'ModifyElasticBandWidth', - 'DescribeInstances', - 'DescribeInstanceSpecs', - 'DescribeInstanceStatistics', - 'DescribeElasticBandwidthSpec', - 'DescribeDefenseCountStatistics', - ], + 'children' => ['ModifyElasticBandWidth', 'DescribeInstances', 'DescribeInstanceSpecs', 'DescribeInstanceStatistics', 'DescribeElasticBandwidthSpec', 'DescribeDefenseCountStatistics'], ], [ 'id' => 60483, 'title' => null, 'type' => 'directory', - 'children' => [ - 'DescribeDDoSEvents', - 'DescribeDomainQpsWithCache', - ], + 'children' => ['DescribeDDoSEvents', 'DescribeDomainQpsWithCache'], ], [ 'id' => 60487, 'title' => null, 'type' => 'directory', - 'children' => [ - 'ModifyFullLogTtl', - 'DescribeSlsOpenStatus', - 'DescribeSlsAuthStatus', - 'DescribeLogStoreExistStatus', - 'DescribeSlsLogstoreInfo', - 'EmptySlsLogstore', - ], + 'children' => ['ModifyFullLogTtl', 'DescribeSlsOpenStatus', 'DescribeSlsAuthStatus', 'DescribeLogStoreExistStatus', 'DescribeSlsLogstoreInfo', 'EmptySlsLogstore'], ], [ 'id' => 60494, 'title' => null, 'type' => 'directory', - 'children' => [ - 'DeleteAsyncTask', - 'DescribeBackSourceCidr', - ], + 'children' => ['DeleteAsyncTask', 'DescribeBackSourceCidr'], ], ], ], [ 'id' => 0, - 'title' => '其它', + 'title' => 'Others', 'type' => 'directory', 'children' => [ - 'AddLayer7CCRule', - 'CloseDomainSlsConfig', - 'ConfigHealthCheck', - 'ConfigLayer4Rule', - 'ConfigLayer4RuleAttribute', - 'ConfigLayer7BlackWhiteList', - 'ConfigLayer7CCRule', - 'ConfigLayer7CCTemplate', - 'ConfigLayer7Cert', - 'ConfigLayer7Rule', - 'CreateAsyncTask', - 'CreateLayer4Rule', - 'CreateLayer7Rule', - 'DeleteLayer4Rule', - 'DeleteLayer7CCRule', - 'DeleteLayer7Rule', - 'DescribeBatchSlsDispatchStatus', - 'DescribeDDoSTraffic', - 'DescribeDomainAccessMode', - 'DescribeDomainSlsStatus', - 'DescribeDomains', - 'DescribeHealthCheckList', - 'DescribeHealthCheckStatusList', - 'DescribeInstanceDetails', - 'DescribeIpTraffic', - 'DescribeLayer4RuleAttributes', - 'DescribeLayer4Rules', - 'DescribeLayer7CCRules', - 'DescribeOpEntities', - 'DescribeSimpleDomains', - 'DescribeSlsEmptyCount', - 'DescribleCertList', - 'DescribleLayer7InstanceRelations', - 'DisableLayer7CC', - 'DisableLayer7CCRule', - 'EnableLayer7CC', - 'EnableLayer7CCRule', - 'ListLayer7CustomPorts', - 'ListAsyncTask', - 'ListTagKeys', - 'ListTagResources', - 'ListValueAdded', - 'ModifyInstanceRemark', - 'OpenDomainSlsConfig', - 'ReleaseInstance', - 'ReleaseValueAdded', - 'TagResources', - 'UntagResources', + 'AddLayer7CCRule', 'CloseDomainSlsConfig', 'ConfigHealthCheck', 'ConfigLayer4Rule', 'ConfigLayer4RuleAttribute', 'ConfigLayer7BlackWhiteList', 'ConfigLayer7CCRule', 'ConfigLayer7CCTemplate', 'ConfigLayer7Cert', 'ConfigLayer7Rule', 'CreateAsyncTask', 'CreateLayer4Rule', 'CreateLayer7Rule', 'DeleteLayer4Rule', 'DeleteLayer7CCRule', 'DeleteLayer7Rule', 'DescribeBatchSlsDispatchStatus', 'DescribeDDoSTraffic', 'DescribeDomainAccessMode', 'DescribeDomainSlsStatus', + 'DescribeDomains', 'DescribeHealthCheckList', 'DescribeHealthCheckStatusList', 'DescribeInstanceDetails', 'DescribeIpTraffic', 'DescribeLayer4RuleAttributes', 'DescribeLayer4Rules', 'DescribeLayer7CCRules', 'DescribeOpEntities', 'DescribeSimpleDomains', 'DescribeSlsEmptyCount', 'DescribleCertList', 'DescribleLayer7InstanceRelations', 'DisableLayer7CC', 'DisableLayer7CCRule', 'EnableLayer7CC', 'EnableLayer7CCRule', 'ListLayer7CustomPorts', 'ListAsyncTask', 'ListTagKeys', + 'ListTagResources', 'ListValueAdded', 'ModifyInstanceRemark', 'OpenDomainSlsConfig', 'ReleaseInstance', 'ReleaseValueAdded', 'TagResources', 'UntagResources', ], ], ], @@ -118,57 +49,38 @@ ], 'apis' => [ 'ModifyElasticBandWidth' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'summary' => '修改弹性业务带宽', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'none', + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', 'abilityTreeCode' => '105512', - 'abilityTreeNodes' => [ - 'FEATUREddosMHU3MF', - ], + 'abilityTreeNodes' => ['FEATUREddosMHU3MF'], ], 'parameters' => [ [ 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - 'example' => '1.1.1.1', - ], + 'schema' => ['type' => 'string', 'required' => false, 'example' => '1.1.1.1'], ], [ 'name' => 'ElasticBandwidth', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '30', - ], + 'schema' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '30'], ], [ 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'ddoscoo-cn-XXXXX', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'example' => 'ddoscoo-cn-XXXXX'], ], ], 'responses' => [ @@ -176,11 +88,7 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80', - ], + 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'], ], ], ], @@ -192,140 +100,78 @@ 'extraInfo' => ' ', ], 'DescribeInstances' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'summary' => '查询实例', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'none', + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', 'abilityTreeCode' => '105460', - 'abilityTreeNodes' => [ - 'FEATUREddosMHU3MF', - ], + 'abilityTreeNodes' => ['FEATUREddosMHU3MF'], ], 'parameters' => [ [ 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '1.1.1.1', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => '1.1.1.1'], ], [ 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'xx', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'xx'], ], [ 'name' => 'InstanceIds', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '["ddoscoo-cn-XXXXX"]', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => '["ddoscoo-cn-XXXXX"]'], ], [ 'name' => 'PageNo', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '1', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'example' => '1'], ], [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '10', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'example' => '10'], ], [ 'name' => 'Ip', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '1.1.1.1', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => '1.1.1.1'], ], [ 'name' => 'Remark', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => ' testRemark', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => ' testRemark'], ], [ 'name' => 'Edition', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '9', - ], + 'schema' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '9'], ], [ 'name' => 'Enabled', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], ], [ 'name' => 'ExpireStartTime', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1578931200000', - ], + 'schema' => ['description' => '', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1578931200000'], ], [ 'name' => 'ExpireEndTime', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1578931200000', - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1578931200000'], ], [ 'name' => 'Status', @@ -334,10 +180,7 @@ 'schema' => [ 'description' => '', 'type' => 'array', - 'items' => [ - 'type' => 'integer', - 'format' => 'int32', - ], + 'items' => ['type' => 'integer', 'format' => 'int32'], 'required' => false, 'example' => '1', 'maxItems' => 10, @@ -352,16 +195,8 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'Key' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'key', - ], - 'Value' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'value', - ], + 'Key' => ['description' => '', 'type' => 'string', 'example' => 'key'], + 'Value' => ['description' => '', 'type' => 'string', 'example' => 'value'], ], ], 'required' => false, @@ -374,69 +209,22 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Total' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80', - ], + 'Total' => ['description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '10'], + 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'], 'Instances' => [ 'description' => '', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'Status' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'DebtStatus' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'Edition' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '9', - ], - 'Remark' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'testRemark', - ], - 'ExpireTime' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '2308402384', - ], - 'Enabled' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'GmtCreate' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '2308402384', - ], - 'InstanceId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'ddoscoo-cn-XXXXX', - ], + 'Status' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'DebtStatus' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'Edition' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '9'], + 'Remark' => ['description' => '', 'type' => 'string', 'example' => 'testRemark'], + 'ExpireTime' => ['description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '2308402384'], + 'Enabled' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'GmtCreate' => ['description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '2308402384'], + 'InstanceId' => ['description' => '', 'type' => 'string', 'example' => 'ddoscoo-cn-XXXXX'], ], ], ], @@ -451,46 +239,33 @@ 'extraInfo' => ' ', ], 'DescribeInstanceSpecs' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'summary' => '查询实例规格', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'none', + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', 'abilityTreeCode' => '105461', - 'abilityTreeNodes' => [ - 'FEATUREddosMHU3MF', - ], + 'abilityTreeNodes' => ['FEATUREddosMHU3MF'], ], 'parameters' => [ [ 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - 'example' => '1.1.1.1', - ], + 'schema' => ['type' => 'string', 'required' => false, 'example' => '1.1.1.1'], ], [ 'name' => 'InstanceIds', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '["ddoscoo-cn-XXXXX"]', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'example' => '["ddoscoo-cn-XXXXX"]'], ], ], 'responses' => [ @@ -498,75 +273,23 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80', - ], + 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'], 'InstanceSpecs' => [ 'description' => '', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'BaseBandwidth' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], - 'QpsLimit' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1000', - ], - 'BandwidthMbps' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20000', - ], - 'DefenseCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'SiteLimit' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'PortLimit' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '50', - ], - 'ElasticBandwidth' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], - 'FunctionVersion' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'default', - ], - 'InstanceId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'ddoscoo-cn-XXXXX', - ], - 'DomainLimit' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '50', - ], + 'BaseBandwidth' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '20'], + 'QpsLimit' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '1000'], + 'BandwidthMbps' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '20000'], + 'DefenseCount' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'SiteLimit' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'PortLimit' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '50'], + 'ElasticBandwidth' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '20'], + 'FunctionVersion' => ['description' => '', 'type' => 'string', 'example' => 'default'], + 'InstanceId' => ['description' => '', 'type' => 'string', 'example' => 'ddoscoo-cn-XXXXX'], + 'DomainLimit' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '50'], ], ], ], @@ -581,45 +304,32 @@ 'extraInfo' => ' ', ], 'DescribeInstanceStatistics' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'summary' => '查询实例统计', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'operationType' => 'read', 'systemTags' => [ - 'operationType' => 'none', + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', 'abilityTreeCode' => '105462', - 'abilityTreeNodes' => [ - 'FEATUREddosMHU3MF', - ], + 'abilityTreeNodes' => ['FEATUREddosMHU3MF'], ], 'parameters' => [ [ 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - 'example' => '1.1.1.1', - ], + 'schema' => ['type' => 'string', 'required' => false, 'example' => '1.1.1.1'], ], [ 'name' => 'InstanceIds', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '[{"InstanceId":"ddoscoo-cn-XXXXX","InstanceId":"ddoscoo-cn-YYYYY"}]', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'example' => '[{"InstanceId":"ddoscoo-cn-XXXXX","InstanceId":"ddoscoo-cn-YYYYY"}]'], ], ], 'responses' => [ @@ -627,46 +337,18 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80', - ], + 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'], 'InstanceStatistics' => [ 'description' => '', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'DomainUsage' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'DefenseCountUsage' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'InstanceId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'ddoscoo-cn-XXXXX', - ], - 'SiteUsage' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'PortUsage' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], + 'DomainUsage' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'DefenseCountUsage' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'InstanceId' => ['description' => '', 'type' => 'string', 'example' => 'ddoscoo-cn-XXXXX'], + 'SiteUsage' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'PortUsage' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '20'], ], ], ], @@ -681,46 +363,33 @@ 'extraInfo' => ' ', ], 'DescribeElasticBandwidthSpec' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'summary' => '查询弹性带宽规格', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'none', + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', 'abilityTreeCode' => '105455', - 'abilityTreeNodes' => [ - 'FEATUREddosMHU3MF', - ], + 'abilityTreeNodes' => ['FEATUREddosMHU3MF'], ], 'parameters' => [ [ 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - 'example' => '1.1.1.1', - ], + 'schema' => ['type' => 'string', 'required' => false, 'example' => '1.1.1.1'], ], [ 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'ddoscoo-cn-XXXXX', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'example' => 'ddoscoo-cn-XXXXX'], ], ], 'responses' => [ @@ -728,18 +397,10 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80', - ], + 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'], 'ElasticBandwidthSpec' => [ 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'example' => '[5, 10, 20, 30]', - ], + 'items' => ['description' => '', 'type' => 'string', 'example' => '[5, 10, 20, 30]'], ], ], ], @@ -752,47 +413,33 @@ 'extraInfo' => ' ', ], 'DescribeDefenseCountStatistics' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'summary' => '查询防护次数', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'operationType' => 'read', 'systemTags' => [ - 'operationType' => 'none', + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', 'abilityTreeCode' => '105427', - 'abilityTreeNodes' => [ - 'FEATUREddosRTUJBH', - ], + 'abilityTreeNodes' => ['FEATUREddosRTUJBH'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '1.1.1.1', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => '1.1.1.1'], ], [ 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'xx', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'xx'], ], ], 'responses' => [ @@ -800,33 +447,14 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80', - ], + 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'], 'DefenseCountStatistics' => [ 'description' => '', 'type' => 'object', 'properties' => [ - 'FlowPackCountRemain' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'MaxUsableDefenseCountCurrentMonth' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'DefenseCountTotalUsageOfCurrentMonth' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], + 'FlowPackCountRemain' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'MaxUsableDefenseCountCurrentMonth' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'DefenseCountTotalUsageOfCurrentMonth' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], ], ], ], @@ -840,98 +468,57 @@ 'extraInfo' => ' ', ], 'DescribeDDoSEvents' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'summary' => '查询事件', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'operationType' => 'read', 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', 'abilityTreeCode' => '105424', - 'abilityTreeNodes' => [ - 'FEATUREddosRTUJBH', - ], + 'abilityTreeNodes' => ['FEATUREddosRTUJBH'], ], 'parameters' => [ [ 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '1.1.1.1', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => '1.1.1.1'], ], [ 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'xx', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'xx'], ], [ 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '3289457398', - ], + 'schema' => ['description' => '', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '3289457398'], ], [ 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '3289457324', - ], + 'schema' => ['description' => '', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '3289457324'], ], [ 'name' => 'Eip', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '1.1.1.1', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'example' => '1.1.1.1'], ], [ 'name' => 'Offset', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '1', - ], + 'schema' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1'], ], [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '10', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'example' => '10'], ], ], 'responses' => [ @@ -939,46 +526,18 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Total' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80', - ], + 'Total' => ['description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], + 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'], 'Events' => [ 'description' => '', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'Status' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'blackhole_start', - ], - 'EndTime' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '3289457398', - ], - 'StartTime' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '3289457324', - ], - 'Interval' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '12', - ], + 'Status' => ['description' => '', 'type' => 'string', 'example' => 'blackhole_start'], + 'EndTime' => ['description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '3289457398'], + 'StartTime' => ['description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '3289457324'], + 'Interval' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '12'], ], ], ], @@ -993,77 +552,47 @@ 'extraInfo' => ' ', ], 'DescribeDomainQpsWithCache' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'summary' => '查询qps', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'operationType' => 'read', 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', 'abilityTreeCode' => '105442', - 'abilityTreeNodes' => [ - 'FEATUREddosRTUJBH', - ], + 'abilityTreeNodes' => ['FEATUREddosRTUJBH'], ], 'parameters' => [ [ 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '1.1.1.1', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => '1.1.1.1'], ], [ 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'xx', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'xx'], ], [ 'name' => 'Domain', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'www.example.com', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'www.example.com'], ], [ 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1577794536', - ], + 'schema' => ['description' => '', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1577794536'], ], [ 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1577796336', - ], + 'schema' => ['description' => '', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1577796336'], ], ], 'responses' => [ @@ -1071,94 +600,44 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'StartTime' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1577794500', - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80', - ], - 'Interval' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '60', - ], + 'StartTime' => ['description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '1577794500'], + 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'], + 'Interval' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '60'], 'Blocks' => [ 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'example' => '[0,0,0]', - ], + 'items' => ['description' => '', 'type' => 'string', 'example' => '[0,0,0]'], ], 'CcBlockQps' => [ 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'example' => '[0,0,0]', - ], + 'items' => ['description' => '', 'type' => 'string', 'example' => '[0,0,0]'], ], 'PreciseJsQps' => [ 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'example' => '[0,0,0]', - ], + 'items' => ['description' => '', 'type' => 'string', 'example' => '[0,0,0]'], ], 'CcJsQps' => [ 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'example' => '[0,0,0]', - ], + 'items' => ['description' => '', 'type' => 'string', 'example' => '[0,0,0]'], ], 'RegionBlocks' => [ 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'example' => '[0,0,0]', - ], + 'items' => ['description' => '', 'type' => 'string', 'example' => '[0,0,0]'], ], 'PreciseBlocks' => [ 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'example' => '[0,0,0]', - ], + 'items' => ['description' => '', 'type' => 'string', 'example' => '[0,0,0]'], ], 'CacheHits' => [ 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'example' => '[0,0,0]', - ], + 'items' => ['description' => '', 'type' => 'string', 'example' => '[0,0,0]'], ], 'Totals' => [ 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'example' => '[10,40,20]', - ], + 'items' => ['description' => '', 'type' => 'string', 'example' => '[10,40,20]'], ], 'IpBlockQps' => [ 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'example' => '[0,0,0]', - ], + 'items' => ['description' => '', 'type' => 'string', 'example' => '[0,0,0]'], ], ], ], @@ -1171,67 +650,42 @@ 'extraInfo' => ' ', ], 'ModifyFullLogTtl' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'summary' => '修改日志存储时长', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'operationType' => 'write', 'systemTags' => [ - 'operationType' => 'none', + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', 'abilityTreeCode' => '105513', - 'abilityTreeNodes' => [ - 'FEATUREddosAUMQ7C', - ], + 'abilityTreeNodes' => ['FEATUREddosAUMQ7C'], ], 'parameters' => [ [ 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '1.1.1.1', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => '1.1.1.1'], ], [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'cn', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'cn'], ], [ 'name' => 'Ttl', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '30', - ], + 'schema' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '30'], ], [ 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'xx', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'xx'], ], ], 'responses' => [ @@ -1239,11 +693,7 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80', - ], + 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'], ], ], ], @@ -1255,57 +705,38 @@ 'extraInfo' => ' ', ], 'DescribeSlsOpenStatus' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'summary' => '查询sls开通状态', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'operationType' => 'read', 'systemTags' => [ - 'operationType' => 'none', + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', 'abilityTreeCode' => '105488', - 'abilityTreeNodes' => [ - 'FEATUREddosVFFSV8', - ], + 'abilityTreeNodes' => ['FEATUREddosVFFSV8'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '1.1.1.1', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => '1.1.1.1'], ], [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'cn', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'cn'], ], [ 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'xx', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'xx'], ], ], 'responses' => [ @@ -1313,16 +744,8 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'SlsOpenStatus' => [ - 'description' => '', - 'type' => 'boolean', - 'example' => 'true', - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80', - ], + 'SlsOpenStatus' => ['description' => '', 'type' => 'boolean', 'example' => 'true'], + 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'], ], ], ], @@ -1334,57 +757,38 @@ 'extraInfo' => ' ', ], 'DescribeSlsAuthStatus' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'summary' => '查询sls授权状态', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'operationType' => 'read', 'systemTags' => [ - 'operationType' => 'none', + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', 'abilityTreeCode' => '105485', - 'abilityTreeNodes' => [ - 'FEATUREddosVFFSV8', - ], + 'abilityTreeNodes' => ['FEATUREddosVFFSV8'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '1.1.1.1', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => '1.1.1.1'], ], [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'cn', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'cn'], ], [ 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'xx', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'xx'], ], ], 'responses' => [ @@ -1392,16 +796,8 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'SlsAuthStatus' => [ - 'description' => '', - 'type' => 'boolean', - 'example' => 'true', - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80', - ], + 'SlsAuthStatus' => ['description' => '', 'type' => 'boolean', 'example' => 'true'], + 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'], ], ], ], @@ -1413,57 +809,38 @@ 'extraInfo' => ' ', ], 'DescribeLogStoreExistStatus' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'summary' => '查询日志库存在状态', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'operationType' => 'read', 'systemTags' => [ - 'operationType' => 'none', + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', 'abilityTreeCode' => '105468', - 'abilityTreeNodes' => [ - 'FEATUREddosVFFSV8', - ], + 'abilityTreeNodes' => ['FEATUREddosVFFSV8'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '1.1.1.1', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => '1.1.1.1'], ], [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'cn', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'cn'], ], [ 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'xx', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'xx'], ], ], 'responses' => [ @@ -1471,16 +848,8 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'ExistStatus' => [ - 'description' => '', - 'type' => 'boolean', - 'example' => 'true', - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80', - ], + 'ExistStatus' => ['description' => '', 'type' => 'boolean', 'example' => 'true'], + 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'], ], ], ], @@ -1492,57 +861,38 @@ 'extraInfo' => ' ', ], 'DescribeSlsLogstoreInfo' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'summary' => '查询全量日志信息', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'operationType' => 'read', 'systemTags' => [ - 'operationType' => 'none', + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', 'abilityTreeCode' => '105487', - 'abilityTreeNodes' => [ - 'FEATUREddosVFFSV8', - ], + 'abilityTreeNodes' => ['FEATUREddosVFFSV8'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '1.1.1.1', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => '1.1.1.1'], ], [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'cn', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'cn'], ], [ 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'xx', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'xx'], ], ], 'responses' => [ @@ -1550,37 +900,12 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Ttl' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80', - ], - 'Quota' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '5497558138880', - ], - 'LogStore' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'ddoscoo-logstore', - ], - 'Used' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'Project' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'ddoscoo-project-xxxx-cn-hangzhou', - ], + 'Ttl' => ['type' => 'integer', 'format' => 'int32'], + 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'], + 'Quota' => ['description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '5497558138880'], + 'LogStore' => ['description' => '', 'type' => 'string', 'example' => 'ddoscoo-logstore'], + 'Used' => ['description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '0'], + 'Project' => ['description' => '', 'type' => 'string', 'example' => 'ddoscoo-project-xxxx-cn-hangzhou'], ], ], ], @@ -1592,56 +917,37 @@ 'extraInfo' => ' ', ], 'EmptySlsLogstore' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'summary' => '清除SLS日志库', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'operationType' => 'write', 'systemTags' => [ 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', 'abilityTreeCode' => '105502', - 'abilityTreeNodes' => [ - 'FEATUREddosVFFSV8', - ], + 'abilityTreeNodes' => ['FEATUREddosVFFSV8'], ], 'parameters' => [ [ 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '1.1.1.1', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => '1.1.1.1'], ], [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'cn', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'cn'], ], [ 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'xx', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'xx'], ], ], 'responses' => [ @@ -1649,11 +955,7 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80', - ], + 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'], ], ], ], @@ -1665,46 +967,32 @@ 'extraInfo' => ' ', ], 'DeleteAsyncTask' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'summary' => '删除异步任务', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'operationType' => 'write', 'systemTags' => [ + 'operationType' => 'delete', + 'riskType' => 'none', + 'chargeType' => 'free', 'abilityTreeCode' => '105405', - 'abilityTreeNodes' => [ - 'FEATUREddos64TBV6', - ], + 'abilityTreeNodes' => ['FEATUREddos64TBV6'], ], 'parameters' => [ [ 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'test', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'test'], ], [ 'name' => 'TaskId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '123', - ], + 'schema' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '123'], ], ], 'responses' => [ @@ -1712,11 +1000,7 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80', - ], + 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'], ], ], ], @@ -1728,63 +1012,43 @@ 'extraInfo' => ' ', ], 'DescribeBackSourceCidr' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'summary' => '查询回源网段', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', 'abilityTreeCode' => '105418', - 'abilityTreeNodes' => [ - 'FEATUREddos64TBV6', - ], + 'abilityTreeNodes' => ['FEATUREddos64TBV6'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - 'example' => '1.1.1.1', - ], + 'schema' => ['type' => 'string', 'required' => false, 'example' => '1.1.1.1'], ], [ 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'test', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'test'], ], [ 'name' => 'Line', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'coop-line-001', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'coop-line-001'], ], [ 'name' => 'IpVersion', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - ], + 'schema' => ['type' => 'string'], ], ], 'responses' => [ @@ -1792,18 +1056,10 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80', - ], + 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'], 'CidrList' => [ 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'example' => '["47.97.128.0/25","47.97.128.128/25"]', - ], + 'items' => ['description' => '', 'type' => 'string', 'example' => '["47.97.128.0/25","47.97.128.128/25"]'], ], ], ], @@ -1816,115 +1072,66 @@ 'extraInfo' => ' ', ], 'AddLayer7CCRule' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'summary' => '增加CC规则', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'operationType' => 'write', 'systemTags' => [ 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREddosOZ1QOD'], ], 'parameters' => [ [ 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'test', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'test'], ], [ 'name' => 'Domain', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'www.aliyun.com', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'example' => 'www.aliyun.com'], ], [ 'name' => 'Name', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'testCcRule1', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'example' => 'testCcRule1'], ], [ 'name' => 'Act', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'close', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'example' => 'close'], ], [ 'name' => 'Count', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '2', - ], + 'schema' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '2'], ], [ 'name' => 'Interval', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '5', - ], + 'schema' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '5'], ], [ 'name' => 'Mode', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'match', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'example' => 'match'], ], [ 'name' => 'Ttl', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '60', - ], + 'schema' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '60'], ], [ 'name' => 'Uri', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '/a/b/c', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'example' => '/a/b/c'], ], ], 'responses' => [ @@ -1932,11 +1139,7 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80', - ], + 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'], ], ], ], @@ -1948,66 +1151,42 @@ 'extraInfo' => ' ', ], 'CloseDomainSlsConfig' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'summary' => '关闭日志分发', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'operationType' => 'write', 'systemTags' => [ 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', 'abilityTreeCode' => '105375', - 'abilityTreeNodes' => [ - 'FEATUREddosVFFSV8', - ], + 'abilityTreeNodes' => ['FEATUREddosVFFSV8'], ], 'parameters' => [ [ 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '1.1.1.1', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => '1.1.1.1'], ], [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'cn', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'cn'], ], [ 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'xx', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'xx'], ], [ 'name' => 'Domain', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'www.example.com', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'example' => 'www.example.com'], ], ], 'responses' => [ @@ -2015,11 +1194,7 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80', - ], + 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'], ], ], ], @@ -2031,67 +1206,42 @@ 'extraInfo' => ' ', ], 'ConfigHealthCheck' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'summary' => '修改健康检查', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'operationType' => 'write', 'systemTags' => [ 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', 'abilityTreeCode' => '105390', - 'abilityTreeNodes' => [ - 'FEATUREddos64TBV6', - ], + 'abilityTreeNodes' => ['FEATUREddos64TBV6'], ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'ddoscoo-cn-XXXXXX', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'example' => 'ddoscoo-cn-XXXXXX'], ], [ 'name' => 'ForwardProtocol', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'tcp', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'example' => 'tcp'], ], [ 'name' => 'FrontendPort', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '233', - ], + 'schema' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '233'], ], [ 'name' => 'HealthCheck', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '{"Type":"tcp","Timeout":10,"Port":80,"Interval":10,"Up":10,"Down":40}"}', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'example' => '{"Type":"tcp","Timeout":10,"Port":80,"Interval":10,"Up":10,"Down":40}"}'], ], ], 'responses' => [ @@ -2099,11 +1249,7 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80', - ], + 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'], ], ], ], @@ -2115,44 +1261,32 @@ 'extraInfo' => ' ', ], 'ConfigLayer4Rule' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'summary' => '修改端口规则', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'operationType' => 'write', 'systemTags' => [ - 'operationType' => 'none', + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', 'abilityTreeCode' => '105392', - 'abilityTreeNodes' => [ - 'FEATUREddosI8LHMA', - ], + 'abilityTreeNodes' => ['FEATUREddosI8LHMA'], ], 'parameters' => [ [ 'name' => 'Listeners', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '[{"InstanceId":"xxxxxx-xxxxxx-xxxxxx-xxxxxxx","Protocol":"tcp","FrontendPort":80,"BackendPort":5,"RealServers":"1.1.1.1","2.2.2.2"}]', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'example' => '[{"InstanceId":"xxxxxx-xxxxxx-xxxxxx-xxxxxxx","Protocol":"tcp","FrontendPort":80,"BackendPort":5,"RealServers":"1.1.1.1","2.2.2.2"}]'], ], [ 'name' => 'ProxyEnable', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - ], + 'schema' => ['type' => 'integer', 'format' => 'int64'], ], [ 'name' => 'UsTimeout', @@ -2161,14 +1295,8 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'ConnectTimeout' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'RsTimeout' => [ - 'type' => 'integer', - 'format' => 'int64', - ], + 'ConnectTimeout' => ['type' => 'integer', 'format' => 'int64'], + 'RsTimeout' => ['type' => 'integer', 'format' => 'int64'], ], ], ], @@ -2178,11 +1306,7 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc', - ], + 'RequestId' => ['description' => '', 'type' => 'string', 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc'], ], ], ], @@ -2194,36 +1318,27 @@ 'extraInfo' => ' ', ], 'ConfigLayer4RuleAttribute' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'summary' => '修改端口规则属性', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'operationType' => 'write', 'systemTags' => [ 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', 'abilityTreeCode' => '105393', - 'abilityTreeNodes' => [ - 'FEATUREddosOZ1QOD', - ], + 'abilityTreeNodes' => ['FEATUREddosOZ1QOD'], ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'ddoscoo-cn-XXXXX', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'example' => 'ddoscoo-cn-XXXXX'], ], [ 'name' => 'Module', @@ -2231,41 +1346,23 @@ 'schema' => [ 'type' => 'string', 'required' => false, - 'enum' => [ - 'sla', - ], + 'enum' => ['sla'], ], ], [ 'name' => 'ForwardProtocol', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'TCP', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'example' => 'TCP'], ], [ 'name' => 'FrontendPort', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '233', - ], + 'schema' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '233'], ], [ 'name' => 'Config', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '{"Slimit":{"CpsEnable":1,"MaxconnEnable":1,"Cps":1,"Maxconn":1},"Sla":{"CpsEnable":1,"MaxconnEnable":1,"Cps":100,"Maxconn":1000},"PayloadLen":{"Min":0,"Max":6000}}', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'example' => '{"Slimit":{"CpsEnable":1,"MaxconnEnable":1,"Cps":1,"Maxconn":1},"Sla":{"CpsEnable":1,"MaxconnEnable":1,"Cps":100,"Maxconn":1000},"PayloadLen":{"Min":0,"Max":6000}}'], ], ], 'responses' => [ @@ -2273,11 +1370,7 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80', - ], + 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'], ], ], ], @@ -2289,40 +1382,31 @@ 'extraInfo' => ' ', ], 'ConfigLayer7BlackWhiteList' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'summary' => '修改黑白名单', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'systemTags' => [], + 'operationType' => 'write', + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREddosOZ1QOD'], + ], 'parameters' => [ [ 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'test', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'test'], ], [ 'name' => 'Domain', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'www.aliyun.com', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'example' => 'www.aliyun.com'], ], [ 'name' => 'BlackList', @@ -2331,9 +1415,7 @@ 'schema' => [ 'description' => '', 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], + 'items' => ['type' => 'string'], 'required' => false, 'example' => '1.1.1.1', 'maxItems' => 2000, @@ -2346,9 +1428,7 @@ 'schema' => [ 'description' => '', 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], + 'items' => ['type' => 'string'], 'required' => false, 'example' => '1.1.1.1', 'maxItems' => 2000, @@ -2360,11 +1440,7 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80', - ], + 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'], ], ], ], @@ -2376,119 +1452,67 @@ 'extraInfo' => ' ', ], 'ConfigLayer7CCRule' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'summary' => '修改CC规则', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'operationType' => 'write', 'systemTags' => [ 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', 'abilityTreeCode' => '105395', - 'abilityTreeNodes' => [ - 'FEATUREddosOZ1QOD', - ], + 'abilityTreeNodes' => ['FEATUREddosOZ1QOD'], ], 'parameters' => [ [ 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'test', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'test'], ], [ 'name' => 'Domain', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'www.aliyun.com', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'example' => 'www.aliyun.com'], ], [ 'name' => 'Name', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'testCcRule1', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'example' => 'testCcRule1'], ], [ 'name' => 'Act', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'close', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'example' => 'close'], ], [ 'name' => 'Count', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '2', - ], + 'schema' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '2'], ], [ 'name' => 'Interval', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '5', - ], + 'schema' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '5'], ], [ 'name' => 'Mode', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'match', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'example' => 'match'], ], [ 'name' => 'Ttl', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '60', - ], + 'schema' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '60'], ], [ 'name' => 'Uri', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '/a/b/c', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'example' => '/a/b/c'], ], ], 'responses' => [ @@ -2496,11 +1520,7 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80', - ], + 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'], ], ], ], @@ -2512,56 +1532,37 @@ 'extraInfo' => ' ', ], 'ConfigLayer7CCTemplate' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'summary' => '修改CC模板', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'operationType' => 'write', 'systemTags' => [ 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', 'abilityTreeCode' => '105396', - 'abilityTreeNodes' => [ - 'FEATUREddosM9SQC1', - ], + 'abilityTreeNodes' => ['FEATUREddosM9SQC1'], ], 'parameters' => [ [ 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'test', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'test'], ], [ 'name' => 'Domain', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'www.aliyun.com', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'example' => 'www.aliyun.com'], ], [ 'name' => 'Template', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'default', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'example' => 'default'], ], ], 'responses' => [ @@ -2569,11 +1570,7 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80', - ], + 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'], ], ], ], @@ -2585,100 +1582,62 @@ 'extraInfo' => ' ', ], 'ConfigLayer7Cert' => [ - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'summary' => '修改证书', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'operationType' => 'write', 'systemTags' => [ 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', 'abilityTreeCode' => '105397', - 'abilityTreeNodes' => [ - 'FEATUREddosOZ1QOD', - ], + 'abilityTreeNodes' => ['FEATUREddosOZ1QOD'], ], 'parameters' => [ [ 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'xx', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'xx'], ], [ 'name' => 'Domain', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'www.aliyun.com', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'example' => 'www.aliyun.com'], ], [ 'name' => 'CertId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1234', - ], + 'schema' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1234'], ], [ 'name' => 'CertName', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'testCertName', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'testCertName'], ], [ 'name' => 'Cert', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'xx', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'xx'], ], [ 'name' => 'Key', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'xx', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'xx'], ], [ 'name' => 'CertIdentifier', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - ], + 'schema' => ['type' => 'string'], ], [ 'name' => 'CertRegion', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - ], + 'schema' => ['type' => 'string'], ], ], 'responses' => [ @@ -2686,11 +1645,7 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc', - ], + 'RequestId' => ['description' => '', 'type' => 'string', 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc'], ], ], ], @@ -2702,67 +1657,42 @@ 'extraInfo' => ' ', ], 'ConfigLayer7Rule' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'summary' => '修改域名接入规则', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'operationType' => 'write', 'systemTags' => [ - 'operationType' => 'none', + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', 'abilityTreeCode' => '105398', - 'abilityTreeNodes' => [ - 'FEATUREddosRTUJBH', - ], + 'abilityTreeNodes' => ['FEATUREddosRTUJBH'], ], 'parameters' => [ [ 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'test', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'test'], ], [ 'name' => 'Domain', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'www.aliyun.com', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'example' => 'www.aliyun.com'], ], [ 'name' => 'ProxyTypeList', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '[{"ProxyPorts":[80,8080],"ProxyType":"http"},{"ProxyPorts":[443],"ProxyType":"https"}]rts\\":[443],\\"ProxyType\\":\\"https\\"}]', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => '[{"ProxyPorts":[80,8080],"ProxyType":"http"},{"ProxyPorts":[443],"ProxyType":"https"}]rts\\":[443],\\"ProxyType\\":\\"https\\"}]'], ], [ 'name' => 'RsType', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '0', - ], + 'schema' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '0'], ], [ 'name' => 'ProxyTypes', @@ -2771,9 +1701,7 @@ 'schema' => [ 'description' => '', 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], + 'items' => ['type' => 'string'], 'required' => false, 'example' => '[{"ProxyPorts":[80,8080],"ProxyType":"http"},{"ProxyPorts":[443],"ProxyType":"https"}]rts\\":[443],\\"ProxyType\\":\\"https\\"}]', 'maxItems' => 20, @@ -2786,9 +1714,7 @@ 'schema' => [ 'description' => '', 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], + 'items' => ['type' => 'string'], 'required' => true, 'example' => '1.1.1.1', 'maxItems' => 20, @@ -2801,9 +1727,7 @@ 'schema' => [ 'description' => '', 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], + 'items' => ['type' => 'string'], 'required' => false, 'example' => 'ddoscoo-cn-XXXXXX', 'maxItems' => 20, @@ -2815,11 +1739,7 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80', - ], + 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'], ], ], ], @@ -2831,56 +1751,37 @@ 'extraInfo' => ' ', ], 'CreateAsyncTask' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'summary' => '创建异步任务', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'operationType' => 'write', 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', 'abilityTreeCode' => '105401', - 'abilityTreeNodes' => [ - 'FEATUREddos64TBV6', - ], + 'abilityTreeNodes' => ['FEATUREddos64TBV6'], ], 'parameters' => [ [ 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'test', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'test'], ], [ 'name' => 'TaskType', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '1', - ], + 'schema' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1'], ], [ 'name' => 'TaskParams', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '{"timestamp": 1530276554, "instanceId": "ddoscoo-woieuroi234"}', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'example' => '{"timestamp": 1530276554, "instanceId": "ddoscoo-woieuroi234"}'], ], ], 'responses' => [ @@ -2888,11 +1789,7 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80', - ], + 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'], ], ], ], @@ -2904,36 +1801,27 @@ 'extraInfo' => ' ', ], 'CreateLayer4Rule' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'summary' => '创建端口接入', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'operationType' => 'write', 'systemTags' => [ - 'operationType' => 'none', + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', 'abilityTreeCode' => '105402', - 'abilityTreeNodes' => [ - 'FEATUREddosI8LHMA', - ], + 'abilityTreeNodes' => ['FEATUREddosI8LHMA'], ], 'parameters' => [ [ 'name' => 'Listeners', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '[{"InstanceId":"xxxxxx-xxxxxx-xxxxxx-xxxxxxx","Protocol":"tcp","FrontendPort":80,"BackendPort":5,"RealServers":"1.1.1.1","2.2.2.2"}]', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'example' => '[{"InstanceId":"xxxxxx-xxxxxx-xxxxxx-xxxxxxx","Protocol":"tcp","FrontendPort":80,"BackendPort":5,"RealServers":"1.1.1.1","2.2.2.2"}]'], ], [ 'name' => 'ProxyEnable', @@ -2941,10 +1829,7 @@ 'schema' => [ 'type' => 'integer', 'format' => 'int32', - 'enum' => [ - '0', - '1', - ], + 'enum' => ['0', '1'], ], ], [ @@ -2954,14 +1839,8 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'ConnectTimeout' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'RsTimeout' => [ - 'type' => 'integer', - 'format' => 'int64', - ], + 'ConnectTimeout' => ['type' => 'integer', 'format' => 'int64'], + 'RsTimeout' => ['type' => 'integer', 'format' => 'int64'], ], ], ], @@ -2971,11 +1850,7 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80', - ], + 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'], ], ], ], @@ -2987,67 +1862,42 @@ 'extraInfo' => ' ', ], 'CreateLayer7Rule' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'summary' => '创建域名接入规则', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'operationType' => 'write', 'systemTags' => [ - 'operationType' => 'none', + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', 'abilityTreeCode' => '105403', - 'abilityTreeNodes' => [ - 'FEATUREddos64TBV6', - ], + 'abilityTreeNodes' => ['FEATUREddos64TBV6'], ], 'parameters' => [ [ 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'test', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'test'], ], [ 'name' => 'Domain', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'www.aliyun.com', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'example' => 'www.aliyun.com'], ], [ 'name' => 'RsType', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '0', - ], + 'schema' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '0'], ], [ 'name' => 'Rules', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '[{"ProxyRules":[{"ProxyPort":443,"RealServers":["1.1.1.1:443"]}],"ProxyType":"https"},{"ProxyRules":[{"ProxyPort":80,"RealServers":["1.1.1.1:80"]}],"ProxyType":"http"}]', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'example' => '[{"ProxyRules":[{"ProxyPort":443,"RealServers":["1.1.1.1:443"]}],"ProxyType":"https"},{"ProxyRules":[{"ProxyPort":80,"RealServers":["1.1.1.1:80"]}],"ProxyType":"http"}]'], ], [ 'name' => 'InstanceIds', @@ -3056,9 +1906,7 @@ 'schema' => [ 'description' => '', 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], + 'items' => ['type' => 'string'], 'required' => false, 'example' => 'ddoscoo-cn-XXXXX', 'maxItems' => 100, @@ -3070,11 +1918,7 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80', - ], + 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'], ], ], ], @@ -3086,36 +1930,27 @@ 'extraInfo' => ' ', ], 'DeleteLayer4Rule' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'summary' => '删除端口接入规则', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'operationType' => 'write', 'systemTags' => [ - 'operationType' => 'none', + 'operationType' => 'delete', + 'riskType' => 'none', + 'chargeType' => 'free', 'abilityTreeCode' => '105410', - 'abilityTreeNodes' => [ - 'FEATUREddosRTUJBH', - ], + 'abilityTreeNodes' => ['FEATUREddosRTUJBH'], ], 'parameters' => [ [ 'name' => 'Listeners', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '{"InstanceId":"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc","Protocol":"tcp","FrontendPort":80}', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'example' => '{"InstanceId":"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc","Protocol":"tcp","FrontendPort":80}'], ], ], 'responses' => [ @@ -3123,11 +1958,7 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80', - ], + 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'], ], ], ], @@ -3139,56 +1970,37 @@ 'extraInfo' => ' ', ], 'DeleteLayer7CCRule' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'summary' => '删除CC规则', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'operationType' => 'write', 'systemTags' => [ - 'operationType' => 'none', + 'operationType' => 'delete', + 'riskType' => 'none', + 'chargeType' => 'free', 'abilityTreeCode' => '105411', - 'abilityTreeNodes' => [ - 'FEATUREddosRTUJBH', - ], + 'abilityTreeNodes' => ['FEATUREddosRTUJBH'], ], 'parameters' => [ [ 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'test', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'test'], ], [ 'name' => 'Domain', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'www.aliyun.com', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'example' => 'www.aliyun.com'], ], [ 'name' => 'Name', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'testCcRule1', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'example' => 'testCcRule1'], ], ], 'responses' => [ @@ -3196,11 +2008,7 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80', - ], + 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'], ], ], ], @@ -3212,46 +2020,32 @@ 'extraInfo' => ' ', ], 'DeleteLayer7Rule' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'summary' => '删除域名接入规则', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'operationType' => 'write', 'systemTags' => [ - 'operationType' => 'none', + 'operationType' => 'delete', + 'riskType' => 'none', + 'chargeType' => 'free', 'abilityTreeCode' => '105412', - 'abilityTreeNodes' => [ - 'FEATUREddosRTUJBH', - ], + 'abilityTreeNodes' => ['FEATUREddosRTUJBH'], ], 'parameters' => [ [ 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'test', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'test'], ], [ 'name' => 'Domain', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'www.aliyun.com', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'example' => 'www.aliyun.com'], ], ], 'responses' => [ @@ -3259,11 +2053,7 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80', - ], + 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'], ], ], ], @@ -3276,78 +2066,46 @@ ], 'DescribeBatchSlsDispatchStatus' => [ 'summary' => 'rosetta迁移', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'operationType' => 'read', 'systemTags' => [ - 'operationType' => 'none', + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', 'abilityTreeCode' => '105419', - 'abilityTreeNodes' => [ - 'FEATUREddosVFFSV8', - ], + 'abilityTreeNodes' => ['FEATUREddosVFFSV8'], ], 'parameters' => [ [ 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '1.1.1.1', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => '1.1.1.1'], ], [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'cn', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'cn'], ], [ 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'xx', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'xx'], ], [ 'name' => 'PageNo', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], ], [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '10', - ], + 'schema' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'], ], ], 'responses' => [ @@ -3355,33 +2113,16 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'TotalCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80', - ], + 'TotalCount' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'], 'SlsConfigStatusList' => [ 'description' => '', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'Domain' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'www.example.com', - ], - 'Enable' => [ - 'description' => '', - 'type' => 'boolean', - 'example' => 'true', - ], + 'Domain' => ['description' => '', 'type' => 'string', 'example' => 'www.example.com'], + 'Enable' => ['description' => '', 'type' => 'boolean', 'example' => 'true'], ], ], ], @@ -3396,88 +2137,52 @@ 'extraInfo' => ' ', ], 'DescribeDDoSTraffic' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'summary' => '查询流量', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'operationType' => 'read', 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', 'abilityTreeCode' => '105426', - 'abilityTreeNodes' => [ - 'FEATUREddosRTUJBH', - ], + 'abilityTreeNodes' => ['FEATUREddosRTUJBH'], ], 'parameters' => [ [ 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '1.1.1.1', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => '1.1.1.1'], ], [ 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'xx', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'xx'], ], [ 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '3289457324', - ], + 'schema' => ['description' => '', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '3289457324'], ], [ 'name' => 'Interval', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '60', - ], + 'schema' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '60'], ], [ 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '3289457398', - ], + 'schema' => ['description' => '', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '3289457398'], ], [ 'name' => 'Eip', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '1.1.1.1', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'example' => '1.1.1.1'], ], ], 'responses' => [ @@ -3485,47 +2190,18 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'DefenseInBytes' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '23482234', - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80', - ], - 'SourceInBytes' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '19284762', - ], + 'DefenseInBytes' => ['description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '23482234'], + 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'], + 'SourceInBytes' => ['description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '19284762'], 'DDoSTrafficPoints' => [ 'description' => '', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'Time' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '234082304', - ], - 'SourceMaxInBps' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '129867', - ], - 'DefenseMaxInBps' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '129867', - ], + 'Time' => ['description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '234082304'], + 'SourceMaxInBps' => ['description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '129867'], + 'DefenseMaxInBps' => ['description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '129867'], ], ], ], @@ -3540,36 +2216,27 @@ 'extraInfo' => ' ', ], 'DescribeDomainAccessMode' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'summary' => '查询域名接入模式', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'operationType' => 'read', 'systemTags' => [ - 'operationType' => 'none', + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', 'abilityTreeCode' => '105429', - 'abilityTreeNodes' => [ - 'FEATUREddosRTUJBH', - ], + 'abilityTreeNodes' => ['FEATUREddosRTUJBH'], ], 'parameters' => [ [ 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '1.1.1.1', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => '1.1.1.1'], ], [ 'name' => 'DomainList', @@ -3578,9 +2245,7 @@ 'schema' => [ 'description' => '', 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], + 'items' => ['type' => 'string'], 'required' => true, 'example' => 'www.aliyun.com', 'maxItems' => 20, @@ -3592,28 +2257,15 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80', - ], + 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'], 'DomainModeList' => [ 'description' => '', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'AccessMode' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'Domain' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'www.aliyun.com', - ], + 'AccessMode' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'Domain' => ['description' => '', 'type' => 'string', 'example' => 'www.aliyun.com'], ], ], ], @@ -3628,66 +2280,42 @@ 'extraInfo' => ' ', ], 'DescribeDomainSlsStatus' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'summary' => '查询日志分发状态', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'operationType' => 'read', 'systemTags' => [ - 'operationType' => 'none', + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', 'abilityTreeCode' => '105444', - 'abilityTreeNodes' => [ - 'FEATUREddosVFFSV8', - ], + 'abilityTreeNodes' => ['FEATUREddosVFFSV8'], ], 'parameters' => [ [ 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '1.1.1.1', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => '1.1.1.1'], ], [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'cn', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'cn'], ], [ 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'xx', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'xx'], ], [ 'name' => 'Domain', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'www.example.com', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'example' => 'www.example.com'], ], ], 'responses' => [ @@ -3695,26 +2323,10 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'SlsLogstore' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'ddoscoo-logstore', - ], - 'SlsStatus' => [ - 'description' => '', - 'type' => 'boolean', - 'example' => 'true', - ], - 'SlsProject' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'ddoscoo-project-xxxx-cn-hangzhou', - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80', - ], + 'SlsLogstore' => ['description' => '', 'type' => 'string', 'example' => 'ddoscoo-logstore'], + 'SlsStatus' => ['description' => '', 'type' => 'boolean', 'example' => 'true'], + 'SlsProject' => ['description' => '', 'type' => 'string', 'example' => 'ddoscoo-project-xxxx-cn-hangzhou'], + 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'], ], ], ], @@ -3726,87 +2338,52 @@ 'extraInfo' => ' ', ], 'DescribeDomains' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'summary' => '查询域名', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'operationType' => 'read', 'systemTags' => [ - 'operationType' => 'none', + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', 'abilityTreeCode' => '105443', - 'abilityTreeNodes' => [ - 'FEATUREddos64TBV6', - ], + 'abilityTreeNodes' => ['FEATUREddos64TBV6'], ], 'parameters' => [ [ 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '1.1.1.1', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => '1.1.1.1'], ], [ 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'test', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'test'], ], [ 'name' => 'Domain', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'www.aliyun.com', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'www.aliyun.com'], ], [ 'name' => 'QueryDomainPattern', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'fuzzy', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'fuzzy'], ], [ 'name' => 'Offset', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '0', - ], + 'schema' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '0'], ], [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '10', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'example' => '10'], ], [ 'name' => 'InstanceIds', @@ -3815,9 +2392,7 @@ 'schema' => [ 'description' => '', 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], + 'items' => ['type' => 'string'], 'required' => false, 'example' => 'ddoscoo-cn-XXXXXX', 'maxItems' => 100, @@ -3829,86 +2404,33 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Total' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80', - ], + 'Total' => ['description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '10'], + 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'], 'Domains' => [ 'description' => '', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'SslCiphers' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'xx', - ], - 'CcRuleEnabled' => [ - 'description' => '', - 'type' => 'boolean', - 'example' => 'true', - ], - 'Domain' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'www.aliyun.com', - ], - 'CertName' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'testCertName', - ], - 'SslProtocols' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'xx', - ], - 'Cname' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'xxxxxxx.aliyunddos1006.com', - ], - 'Http2Enable' => [ - 'description' => '', - 'type' => 'boolean', - 'example' => 'true', - ], - 'CcTemplate' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'normal', - ], - 'CcEnabled' => [ - 'description' => '', - 'type' => 'boolean', - 'example' => 'true', - ], + 'SslCiphers' => ['description' => '', 'type' => 'string', 'example' => 'xx'], + 'CcRuleEnabled' => ['description' => '', 'type' => 'boolean', 'example' => 'true'], + 'Domain' => ['description' => '', 'type' => 'string', 'example' => 'www.aliyun.com'], + 'CertName' => ['description' => '', 'type' => 'string', 'example' => 'testCertName'], + 'SslProtocols' => ['description' => '', 'type' => 'string', 'example' => 'xx'], + 'Cname' => ['description' => '', 'type' => 'string', 'example' => 'xxxxxxx.aliyunddos1006.com'], + 'Http2Enable' => ['description' => '', 'type' => 'boolean', 'example' => 'true'], + 'CcTemplate' => ['description' => '', 'type' => 'string', 'example' => 'normal'], + 'CcEnabled' => ['description' => '', 'type' => 'boolean', 'example' => 'true'], 'ProxyTypeList' => [ 'description' => '', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'ProxyType' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'http', - ], + 'ProxyType' => ['description' => '', 'type' => 'string', 'example' => 'http'], 'ProxyPorts' => [ 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'example' => '111', - ], + 'items' => ['description' => '', 'type' => 'string', 'example' => '111'], ], ], ], @@ -3919,39 +2441,20 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'RsType' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'RealServer' => [ - 'description' => '', - 'type' => 'string', - 'example' => '1.1.1.1', - ], + 'RsType' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'RealServer' => ['description' => '', 'type' => 'string', 'example' => '1.1.1.1'], ], ], ], 'BlackList' => [ 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'example' => '["1.1.1.1/1","1.1.1.2/2"]', - ], + 'items' => ['description' => '', 'type' => 'string', 'example' => '["1.1.1.1/1","1.1.1.2/2"]'], ], 'WhiteList' => [ 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'example' => '["1.1.1.1/1","1.1.1.2/2"]', - ], - ], - 'CertRegion' => [ - 'type' => 'string', + 'items' => ['description' => '', 'type' => 'string', 'example' => '["1.1.1.1/1","1.1.1.2/2"]'], ], + 'CertRegion' => ['type' => 'string'], ], ], ], @@ -3966,46 +2469,32 @@ 'extraInfo' => ' ', ], 'DescribeHealthCheckList' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'summary' => '查询健康检查列表', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'operationType' => 'read', 'systemTags' => [ - 'operationType' => 'none', + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', 'abilityTreeCode' => '105456', - 'abilityTreeNodes' => [ - 'FEATUREddosRTUJBH', - ], + 'abilityTreeNodes' => ['FEATUREddosRTUJBH'], ], 'parameters' => [ [ 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '1.1.1.1', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => '1.1.1.1'], ], [ 'name' => 'Listeners', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '[{"InstanceId":"ddoscoo-cn-XXXXX","Protocol":"tcp","FrontendPort":80}]', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'example' => '[{"InstanceId":"ddoscoo-cn-XXXXX","Protocol":"tcp","FrontendPort":80}]'], ], ], 'responses' => [ @@ -4013,82 +2502,28 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80', - ], + 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'], 'Listeners' => [ 'description' => '', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'FrontendPort' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '233', - ], - 'InstanceId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'ddoscoo-cn-XXXXX', - ], - 'Protocol' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'tcp', - ], + 'FrontendPort' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '233'], + 'InstanceId' => ['description' => '', 'type' => 'string', 'example' => 'ddoscoo-cn-XXXXX'], + 'Protocol' => ['description' => '', 'type' => 'string', 'example' => 'tcp'], 'HealthCheck' => [ 'description' => '', 'type' => 'object', 'properties' => [ - 'Timeout' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1000', - ], - 'Type' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'tcp', - ], - 'Domain' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'www.aliyun.com', - ], - 'Interval' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '15', - ], - 'Up' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1000', - ], - 'Down' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '500', - ], - 'Port' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '233', - ], - 'Uri' => [ - 'description' => '', - 'type' => 'string', - 'example' => '/a/b/c', - ], + 'Timeout' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '1000'], + 'Type' => ['description' => '', 'type' => 'string', 'example' => 'tcp'], + 'Domain' => ['description' => '', 'type' => 'string', 'example' => 'www.aliyun.com'], + 'Interval' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '15'], + 'Up' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '1000'], + 'Down' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '500'], + 'Port' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '233'], + 'Uri' => ['description' => '', 'type' => 'string', 'example' => '/a/b/c'], ], ], ], @@ -4105,46 +2540,32 @@ 'extraInfo' => ' ', ], 'DescribeHealthCheckStatusList' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'summary' => '查询监控检查状态', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'operationType' => 'read', 'systemTags' => [ - 'operationType' => 'none', + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', 'abilityTreeCode' => '105457', - 'abilityTreeNodes' => [ - 'FEATUREddosN7DYCX', - ], + 'abilityTreeNodes' => ['FEATUREddosN7DYCX'], ], 'parameters' => [ [ 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '1.1.1.1', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => '1.1.1.1'], ], [ 'name' => 'Listeners', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '[{"InstanceId":"ddoscoo-cn-XXXXX","Protocol":"tcp","FrontendPort":80}]', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'example' => '[{"InstanceId":"ddoscoo-cn-XXXXX","Protocol":"tcp","FrontendPort":80}]'], ], ], 'responses' => [ @@ -4152,54 +2573,25 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80', - ], + 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'], 'HealthCheckStatusList' => [ 'description' => '', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'Status' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'normal', - ], - 'FrontendPort' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '233', - ], - 'InstanceId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'ddoscoo-cn-XXXXX', - ], - 'Protocol' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'tcp', - ], + 'Status' => ['description' => '', 'type' => 'string', 'example' => 'normal'], + 'FrontendPort' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '233'], + 'InstanceId' => ['description' => '', 'type' => 'string', 'example' => 'ddoscoo-cn-XXXXX'], + 'Protocol' => ['description' => '', 'type' => 'string', 'example' => 'tcp'], 'RealServerStatusList' => [ 'description' => '', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'Status' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'normal', - ], - 'Address' => [ - 'description' => '', - 'type' => 'string', - 'example' => '1.1.1.1', - ], + 'Status' => ['description' => '', 'type' => 'string', 'example' => 'normal'], + 'Address' => ['description' => '', 'type' => 'string', 'example' => '1.1.1.1'], ], ], ], @@ -4217,46 +2609,32 @@ 'extraInfo' => ' ', ], 'DescribeInstanceDetails' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'summary' => '查询实例详情', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'operationType' => 'read', 'systemTags' => [ - 'operationType' => 'none', + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', 'abilityTreeCode' => '105458', - 'abilityTreeNodes' => [ - 'FEATUREddosMHU3MF', - ], + 'abilityTreeNodes' => ['FEATUREddosMHU3MF'], ], 'parameters' => [ [ 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '1.1.1.1', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => '1.1.1.1'], ], [ 'name' => 'InstanceIds', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '["ddoscoo-cn-XXXX1", "ddoscoo-cn-XXXX2"]', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'example' => '["ddoscoo-cn-XXXX1", "ddoscoo-cn-XXXX2"]'], ], ], 'responses' => [ @@ -4264,43 +2642,23 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80', - ], + 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'], 'InstanceDetails' => [ 'description' => '', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'Line' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'coop-line-001', - ], - 'InstanceId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'ddoscoo-cn-XXXXX', - ], + 'Line' => ['description' => '', 'type' => 'string', 'example' => 'coop-line-001'], + 'InstanceId' => ['description' => '', 'type' => 'string', 'example' => 'ddoscoo-cn-XXXXX'], 'EipInfoList' => [ 'description' => '', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'Status' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'normal', - ], - 'Eip' => [ - 'description' => '', - 'type' => 'string', - 'example' => '1.1.1.1', - ], + 'Status' => ['description' => '', 'type' => 'string', 'example' => 'normal'], + 'Eip' => ['description' => '', 'type' => 'string', 'example' => '1.1.1.1'], ], ], ], @@ -4318,109 +2676,62 @@ 'extraInfo' => ' ', ], 'DescribeIpTraffic' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'summary' => '查询流量', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'operationType' => 'read', 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', 'abilityTreeCode' => '105463', - 'abilityTreeNodes' => [ - 'FEATUREddosRTUJBH', - ], + 'abilityTreeNodes' => ['FEATUREddosRTUJBH'], ], 'parameters' => [ [ 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '1.1.1.1', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => '1.1.1.1'], ], [ 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'xxx', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'xxx'], ], [ 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1536734112', - ], + 'schema' => ['description' => '', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1536734112'], ], [ 'name' => 'Interval', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '60', - ], + 'schema' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '60'], ], [ 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1536734120', - ], + 'schema' => ['description' => '', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1536734120'], ], [ 'name' => 'Eip', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '1.1.1.1', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'example' => '1.1.1.1'], ], [ 'name' => 'Port', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '233', - ], + 'schema' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '233'], ], [ 'name' => 'QueryProtocol', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'http', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'http'], ], ], 'responses' => [ @@ -4428,77 +2739,23 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'AvgInBps' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10000', - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80', - ], - 'MaxInBps' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10000', - ], - 'AvgOutBps' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10000', - ], - 'MaxOutBps' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10000', - ], + 'AvgInBps' => ['description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '10000'], + 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'], + 'MaxInBps' => ['description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '10000'], + 'AvgOutBps' => ['description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '10000'], + 'MaxOutBps' => ['description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '10000'], 'IpTrafficPoints' => [ 'description' => '', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'ActConns' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '100', - ], - 'Time' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1536734112', - ], - 'InactConns' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '100', - ], - 'MaxInbps' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10000', - ], - 'MaxOutbps' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10000', - ], - 'Cps' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '100', - ], + 'ActConns' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '100'], + 'Time' => ['description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '1536734112'], + 'InactConns' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '100'], + 'MaxInbps' => ['description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '10000'], + 'MaxOutbps' => ['description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '10000'], + 'Cps' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '100'], ], ], ], @@ -4513,46 +2770,32 @@ 'extraInfo' => ' ', ], 'DescribeLayer4RuleAttributes' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'summary' => '查询端口规则属性', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'operationType' => 'read', 'systemTags' => [ - 'operationType' => 'none', + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', 'abilityTreeCode' => '105465', - 'abilityTreeNodes' => [ - 'FEATUREddosRTUJBH', - ], + 'abilityTreeNodes' => ['FEATUREddosRTUJBH'], ], 'parameters' => [ [ 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '1.1.1.1', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => '1.1.1.1'], ], [ 'name' => 'Listeners', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '[{"InstanceId":"ddoscoo-cn-XXXXX","Protocol":"tcp","FrontendPort":80}]', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'example' => '[{"InstanceId":"ddoscoo-cn-XXXXX","Protocol":"tcp","FrontendPort":80}]'], ], ], 'responses' => [ @@ -4560,147 +2803,52 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80', - ], + 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'], 'Listeners' => [ 'description' => '', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'FrontendPort' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '233', - ], - 'InstanceId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'ddoscoo-cn-XXXXX', - ], - 'Protocol' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'tcp', - ], + 'FrontendPort' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '233'], + 'InstanceId' => ['description' => '', 'type' => 'string', 'example' => 'ddoscoo-cn-XXXXX'], + 'Protocol' => ['description' => '', 'type' => 'string', 'example' => 'tcp'], 'Config' => [ 'description' => '', 'type' => 'object', 'properties' => [ - 'NodataConn' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'on', - ], - 'Synproxy' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'on', - ], - 'PersistenceTimeout' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], + 'NodataConn' => ['description' => '', 'type' => 'string', 'example' => 'on'], + 'Synproxy' => ['description' => '', 'type' => 'string', 'example' => 'on'], + 'PersistenceTimeout' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], 'Sla' => [ 'description' => '', 'type' => 'object', 'properties' => [ - 'MaxconnEnable' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'CpsEnable' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'Cps' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '100', - ], - 'Maxconn' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1000', - ], + 'MaxconnEnable' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'CpsEnable' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'Cps' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '100'], + 'Maxconn' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '1000'], ], ], 'Slimit' => [ 'description' => '', 'type' => 'object', 'properties' => [ - 'MaxconnEnable' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'CpsEnable' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'Cps' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '100', - ], - 'Pps' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'Bps' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'Maxconn' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1000', - ], - 'CpsMode' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], + 'MaxconnEnable' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'CpsEnable' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'Cps' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '100'], + 'Pps' => ['description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '0'], + 'Bps' => ['description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '0'], + 'Maxconn' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '1000'], + 'CpsMode' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '2'], ], ], 'PayloadLen' => [ 'description' => '', 'type' => 'object', 'properties' => [ - 'Min' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'Max' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], + 'Min' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'Max' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '2'], ], ], 'Cc' => [ @@ -4713,30 +2861,10 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'Type' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'During' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '60', - ], - 'Expires' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1800', - ], - 'Cnt' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '5', - ], + 'Type' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'During' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '60'], + 'Expires' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '1800'], + 'Cnt' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '5'], ], ], ], @@ -4758,92 +2886,56 @@ 'extraInfo' => ' ', ], 'DescribeLayer4Rules' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'summary' => 'Call DescribeLayer4Rules to query the detailed configuration of port forwarding rules for DDoS protection instances.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'operationType' => 'read', 'systemTags' => [ - 'operationType' => 'none', + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', 'abilityTreeCode' => '105466', - 'abilityTreeNodes' => [ - 'FEATUREddosRTUJBH', - ], + 'abilityTreeNodes' => ['FEATUREddosRTUJBH'], ], 'parameters' => [ [ 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'description' => 'The source IP address of the request. You do not need to fill this in; it is automatically obtained by the system.', - 'type' => 'string', - 'required' => false, - 'example' => '192.0.XX.XX', - ], + 'schema' => ['description' => 'The source IP address of the request. You do not need to fill this in; it is automatically obtained by the system.', 'type' => 'string', 'required' => false, 'example' => '192.0.XX.XX'], ], [ 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the DDoS protection instance to be queried.'."\n" - ."\n" - .'> You can call [DescribeInstances](~~91478~~) to query all DDoS protection instance IDs.', - 'type' => 'string', - 'required' => true, - 'example' => 'ddoscoo-cn-zvp2ay9b****', - ], + 'schema' => ['description' => 'The ID of the DDoS protection instance to be queried.'."\n" + ."\n" + .'> You can call [DescribeInstances](~~91478~~) to query all DDoS protection instance IDs.', 'type' => 'string', 'required' => true, 'example' => 'ddoscoo-cn-zvp2ay9b****'], ], [ 'name' => 'ForwardProtocol', 'in' => 'query', - 'schema' => [ - 'description' => 'The type of forwarding protocol. Values:'."\n" - .'- **tcp**: Indicates TCP protocol.'."\n" - .'- **udp**: Indicates UDP protocol.', - 'type' => 'string', - 'required' => false, - 'example' => 'tcp', - ], + 'schema' => ['description' => 'The type of forwarding protocol. Values:'."\n" + .'- **tcp**: Indicates TCP protocol.'."\n" + .'- **udp**: Indicates UDP protocol.', 'type' => 'string', 'required' => false, 'example' => 'tcp'], ], [ 'name' => 'FrontendPort', 'in' => 'query', - 'schema' => [ - 'description' => 'The forwarding port.', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '233', - ], + 'schema' => ['description' => 'The forwarding port.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '233'], ], [ 'name' => 'Offset', 'in' => 'query', - 'schema' => [ - 'description' => 'In paginated queries, specifies which page of data to return. The minimum value is **1**, indicating the first page of data.', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '1', - ], + 'schema' => ['description' => 'In paginated queries, specifies which page of data to return. The minimum value is **1**, indicating the first page of data.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1'], ], [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => 'In paginated queries, specifies the number of results per page. The maximum value is **50**, indicating that each page can contain up to 50 results.', - 'type' => 'string', - 'required' => true, - 'example' => '10', - ], + 'schema' => ['description' => 'In paginated queries, specifies the number of results per page. The maximum value is **50**, indicating that each page can contain up to 50 results.', 'type' => 'string', 'required' => true, 'example' => '10'], ], ], 'responses' => [ @@ -4851,126 +2943,53 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Total' => [ - 'description' => 'The number of returned results.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'RequestId' => [ - 'description' => 'The ID of the current request.', - 'type' => 'string', - 'example' => '949919A2-6636-1444-9213-AB27DD88AAA8', - ], + 'Total' => ['description' => 'The number of returned results.', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], + 'RequestId' => ['description' => 'The ID of the current request.', 'type' => 'string', 'example' => '949919A2-6636-1444-9213-AB27DD88AAA8'], 'Listeners' => [ 'description' => 'Detailed configuration of port forwarding rules, including the forwarding port, forwarding protocol, and origin server addresses, etc.', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'FrontendPort' => [ - 'description' => 'The forwarding port.', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '233', - ], - 'BakMode' => [ - 'description' => 'The origin mode. Values:'."\n" - ."\n" - .'- **0**: Indicates the default origin mode.'."\n" - .'- **1**: Indicates the primary/backup origin mode.', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'IsAutoCreate' => [ - 'description' => 'Indicates whether the rule was automatically created. Values:'."\n" - ."\n" - .'- **true**: Indicates that the rule was automatically created by DDoS protection.'."\n" - .'- **false**: Indicates that the rule was manually created by you.', - 'type' => 'boolean', - 'example' => 'false', - ], - 'Remark' => [ - 'description' => 'The remarks for the port forwarding rule.', - 'type' => 'string', - 'example' => 'test-remark', - ], - 'Eip' => [ - 'description' => 'The IP address of the DDoS protection instance.', - 'type' => 'string', - 'example' => '203.107.XX.XX', - ], - 'CurrentIndex' => [ - 'description' => 'The currently effective origin server type. Values:'."\n" - ."\n" - .'- **1**: Indicates that the primary origin server settings are in effect (DDoS protection forwards business traffic to the primary origin server IP address).'."\n" - .'- **2**: Indicates that the backup origin server settings are in effect (DDoS protection forwards business traffic to the backup origin server IP address).', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'Protocol' => [ - 'description' => 'The type of forwarding protocol.', - 'type' => 'string', - 'example' => 'tcp', - ], - 'InstanceId' => [ - 'description' => 'The ID of the DDoS protection instance.', - 'type' => 'string', - 'example' => 'ddoscoo-cn-zvp2ay9b****', - ], - 'BackendPort' => [ - 'description' => 'The origin server port.', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '233', - ], + 'FrontendPort' => ['description' => 'The forwarding port.', 'type' => 'integer', 'format' => 'int32', 'example' => '233'], + 'BakMode' => ['description' => 'The origin mode. Values:'."\n" + ."\n" + .'- **0**: Indicates the default origin mode.'."\n" + .'- **1**: Indicates the primary/backup origin mode.', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'IsAutoCreate' => ['description' => 'Indicates whether the rule was automatically created. Values:'."\n" + ."\n" + .'- **true**: Indicates that the rule was automatically created by DDoS protection.'."\n" + .'- **false**: Indicates that the rule was manually created by you.', 'type' => 'boolean', 'example' => 'false'], + 'Remark' => ['description' => 'The remarks for the port forwarding rule.', 'type' => 'string', 'example' => 'test-remark'], + 'Eip' => ['description' => 'The IP address of the DDoS protection instance.', 'type' => 'string', 'example' => '203.107.XX.XX'], + 'CurrentIndex' => ['description' => 'The currently effective origin server type. Values:'."\n" + ."\n" + .'- **1**: Indicates that the primary origin server settings are in effect (DDoS protection forwards business traffic to the primary origin server IP address).'."\n" + .'- **2**: Indicates that the backup origin server settings are in effect (DDoS protection forwards business traffic to the backup origin server IP address).', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'Protocol' => ['description' => 'The type of forwarding protocol.', 'type' => 'string', 'example' => 'tcp'], + 'InstanceId' => ['description' => 'The ID of the DDoS protection instance.', 'type' => 'string', 'example' => 'ddoscoo-cn-zvp2ay9b****'], + 'BackendPort' => ['description' => 'The origin server port.', 'type' => 'integer', 'format' => 'int32', 'example' => '233'], 'RealServers' => [ 'description' => 'The list of origin server IP addresses.', 'type' => 'array', - 'items' => [ - 'description' => 'Origin server IP address.', - 'type' => 'string', - 'example' => '["192.0.XX.XX"]', - ], - ], - 'ProxyEnable' => [ - 'description' => 'Traffic diversion switch. Values:'."\n" - .'- **0** Off.'."\n" - .'- **1** On.', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'ProxyStatus' => [ - 'description' => 'Traffic diversion status. Values:'."\n" - ."\n" - .'- on: Diversion is effective'."\n" - .'- off: Diversion is ineffective', - 'type' => 'string', - 'example' => 'on', - ], - 'PayloadRuleEnable' => [ - 'description' => 'Payload rule module switch. Values:'."\n" - ."\n" - .'- 1: Enabled'."\n" - .'- 0: Disabled', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', + 'items' => ['description' => 'Origin server IP address.', 'type' => 'string', 'example' => '["192.0.XX.XX"]'], ], + 'ProxyEnable' => ['description' => 'Traffic diversion switch. Values:'."\n" + .'- **0** Off.'."\n" + .'- **1** On.', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'ProxyStatus' => ['description' => 'Traffic diversion status. Values:'."\n" + ."\n" + .'- on: Diversion is effective'."\n" + .'- off: Diversion is ineffective', 'type' => 'string', 'example' => 'on'], + 'PayloadRuleEnable' => ['description' => 'Payload rule module switch. Values:'."\n" + ."\n" + .'- 1: Enabled'."\n" + .'- 0: Disabled', 'type' => 'integer', 'format' => 'int64', 'example' => '0'], 'UsTimeout' => [ 'type' => 'object', 'properties' => [ - 'ConnectTimeout' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'RsTimeout' => [ - 'type' => 'integer', - 'format' => 'int64', - ], + 'ConnectTimeout' => ['type' => 'integer', 'format' => 'int64'], + 'RsTimeout' => ['type' => 'integer', 'format' => 'int64'], ], ], ], @@ -4982,7 +3001,6 @@ ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"Total\\": 1,\\n \\"RequestId\\": \\"949919A2-6636-1444-9213-AB27DD88AAA8\\",\\n \\"Listeners\\": [\\n {\\n \\"FrontendPort\\": 233,\\n \\"BakMode\\": 0,\\n \\"IsAutoCreate\\": false,\\n \\"Remark\\": \\"test-remark\\",\\n \\"Eip\\": \\"203.107.XX.XX\\",\\n \\"CurrentIndex\\": 1,\\n \\"Protocol\\": \\"tcp\\",\\n \\"InstanceId\\": \\"ddoscoo-cn-zvp2ay9b****\\",\\n \\"BackendPort\\": 233,\\n \\"RealServers\\": [\\n \\"[\\\\\\"192.0.XX.XX\\\\\\"]\\"\\n ],\\n \\"ProxyEnable\\": 0,\\n \\"ProxyStatus\\": \\"on\\",\\n \\"PayloadRuleEnable\\": 0,\\n \\"UsTimeout\\": {\\n \\"ConnectTimeout\\": 0,\\n \\"RsTimeout\\": 0\\n }\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\n\\n\\t\\n\\t\\tfalse\\n\\t\\tddoscoo-cn-zvp2ay9b****\\n\\t\\t233\\n\\t\\t0\\n\\t\\t192.0.XX.XX\\n\\t\\t233\\n\\t\\t1\\n\\t\\tudp\\n\\t\\t203.107.XX.XX\\n\\t\\ttest-remark\\n\\t\\n\\t949919A2-6636-1444-9213-AB27DD88AAA8\\n\\t1\\n","errorExample":"{\\n \\"Total\\": 1,\\n \\"Listeners\\": [\\n {\\n \\"InstanceId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\",\\n \\"Protocol\\": \\"tcp\\",\\n \\"FrontendPort\\": 80,\\n\\t \\"BackendPort\\":80,\\n \\"RealServers\\": [\\n \\"1.1.1.1\\",\\n \\"2.2.2.2\\"\\n ],\\n \\"IsAutoCreate\\": true\\n }\\n ],\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}\\n"}]', 'title' => 'Query Layer 4 Forwarding Rules for a Specified Instance', - 'summary' => 'Call DescribeLayer4Rules to query the detailed configuration of port forwarding rules for DDoS protection instances.', 'requestParamsDescription' => 'When calling this API, in addition to the request parameters described in this document, you also need to include the common request parameters for Alibaba Cloud APIs. For a detailed introduction to common request parameters, see [Common Parameters](~~91858~~).'."\n" ."\n" .'For the request format when calling the API, refer to the request example in the **Example** section of this document.', @@ -4991,76 +3009,47 @@ 'translator' => 'machine', ], 'DescribeLayer7CCRules' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'summary' => '查询CC规则', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'operationType' => 'read', 'systemTags' => [ - 'operationType' => 'none', + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', 'abilityTreeCode' => '105467', - 'abilityTreeNodes' => [ - 'FEATUREddosOZ1QOD', - ], + 'abilityTreeNodes' => ['FEATUREddosOZ1QOD'], ], 'parameters' => [ [ 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - 'example' => '1.1.1.1', - ], + 'schema' => ['type' => 'string', 'required' => false, 'example' => '1.1.1.1'], ], [ 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'test', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'test'], ], [ 'name' => 'Domain', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'www.aliyun.com', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'example' => 'www.aliyun.com'], ], [ 'name' => 'Offset', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '0', - ], + 'schema' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '0'], ], [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '10', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'example' => '10'], ], ], 'responses' => [ @@ -5068,61 +3057,21 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Total' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80', - ], + 'Total' => ['description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '10'], + 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'], 'Layer7CCRules' => [ 'description' => '', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'Ttl' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1000', - ], - 'Act' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'close', - ], - 'Interval' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '60', - ], - 'Mode' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'match', - ], - 'Name' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'testCcRule1', - ], - 'Uri' => [ - 'description' => '', - 'type' => 'string', - 'example' => '/a/b/c', - ], - 'Count' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '100', - ], + 'Ttl' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '1000'], + 'Act' => ['description' => '', 'type' => 'string', 'example' => 'close'], + 'Interval' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '60'], + 'Mode' => ['description' => '', 'type' => 'string', 'example' => 'match'], + 'Name' => ['description' => '', 'type' => 'string', 'example' => 'testCcRule1'], + 'Uri' => ['description' => '', 'type' => 'string', 'example' => '/a/b/c'], + 'Count' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '100'], ], ], ], @@ -5137,118 +3086,67 @@ 'extraInfo' => ' ', ], 'DescribeOpEntities' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'summary' => '查询操作日志', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'operationType' => 'read', 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', 'abilityTreeCode' => '105469', - 'abilityTreeNodes' => [ - 'FEATUREddosHFA00W', - ], + 'abilityTreeNodes' => ['FEATUREddosHFA00W'], ], 'parameters' => [ [ 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '1.1.1.1', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => '1.1.1.1'], ], [ 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'test', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'test'], ], [ 'name' => 'EntityType', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], ], [ 'name' => 'EntityObject', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'xx', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'xx'], ], [ 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1534123558000', - ], + 'schema' => ['description' => '', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1534123558000'], ], [ 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1536715558000', - ], + 'schema' => ['description' => '', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1536715558000'], ], [ 'name' => 'PageNo', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '1', - ], + 'schema' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1'], ], [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '10', - ], + 'schema' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '10'], ], [ 'name' => 'OpAction', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - ], + 'schema' => ['type' => 'integer', 'format' => 'int32'], ], ], 'responses' => [ @@ -5256,56 +3154,20 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Total' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80', - ], + 'Total' => ['description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '10'], + 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'], 'OpEntities' => [ 'description' => '', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'EntityType' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'EntityObject' => [ - 'description' => '', - 'type' => 'string', - 'example' => '2.2.2.2', - ], - 'GmtCreate' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1536715558000', - ], - 'OpAction' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'OpAccount' => [ - 'description' => '', - 'type' => 'string', - 'example' => '123', - ], - 'OpDesc' => [ - 'description' => '', - 'type' => 'string', - 'example' => '{"newEntity":{"elasticBandwidth":30},"oldEntity":{"elasticBandwidth":200}}', - ], + 'EntityType' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'EntityObject' => ['description' => '', 'type' => 'string', 'example' => '2.2.2.2'], + 'GmtCreate' => ['description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '1536715558000'], + 'OpAction' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'OpAccount' => ['description' => '', 'type' => 'string', 'example' => '123'], + 'OpDesc' => ['description' => '', 'type' => 'string', 'example' => '{"newEntity":{"elasticBandwidth":30},"oldEntity":{"elasticBandwidth":200}}'], ], ], ], @@ -5320,57 +3182,38 @@ 'extraInfo' => ' ', ], 'DescribeSimpleDomains' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'summary' => '查询域名', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', 'abilityTreeCode' => '105484', - 'abilityTreeNodes' => [ - 'FEATUREddos64TBV6', - ], + 'abilityTreeNodes' => ['FEATUREddos64TBV6'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '1.1.1.1', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => '1.1.1.1'], ], [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'cn', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'cn'], ], [ 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'xx', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'xx'], ], [ 'name' => 'InstanceIds', @@ -5379,9 +3222,7 @@ 'schema' => [ 'description' => '', 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], + 'items' => ['type' => 'string'], 'required' => false, 'example' => 'ddoscoo-cn-XXXXXX', 'maxItems' => 100, @@ -5393,18 +3234,10 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80', - ], + 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'], 'DomainList' => [ 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'example' => '["1.example.com","2.example.com"]', - ], + 'items' => ['description' => '', 'type' => 'string', 'example' => '["1.example.com","2.example.com"]'], ], ], ], @@ -5417,57 +3250,38 @@ 'extraInfo' => ' ', ], 'DescribeSlsEmptyCount' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'summary' => '查询清空次数', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'operationType' => 'read', 'systemTags' => [ - 'operationType' => 'none', + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', 'abilityTreeCode' => '105486', - 'abilityTreeNodes' => [ - 'FEATUREddosVFFSV8', - ], + 'abilityTreeNodes' => ['FEATUREddosVFFSV8'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'SourceIp', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '1.1.1.1', - ], + 'in' => 'query', + 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => '1.1.1.1'], ], [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'cn', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'cn'], ], [ 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'xx', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'xx'], ], ], 'responses' => [ @@ -5475,17 +3289,8 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'AvailableCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80', - ], + 'AvailableCount' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'], ], ], ], @@ -5497,56 +3302,48 @@ 'extraInfo' => ' ', ], 'DescribleCertList' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'summary' => '查询证书列表', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', 'abilityTreeCode' => '105494', - 'abilityTreeNodes' => [ - 'FEATUREddos64TBV6', - ], + 'abilityTreeNodes' => ['FEATUREddos64TBV6'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '1.1.1.1', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => '1.1.1.1'], ], [ 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'test', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'test'], ], [ 'name' => 'Domain', 'in' => 'query', + 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'www.aliyun.com'], + ], + [ + 'name' => 'DomainList', + 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'www.aliyun.com', + 'title' => '域名列表', + 'type' => 'array', + 'items' => ['title' => '列表中的域名', 'type' => 'string'], + 'maxItems' => 10, ], ], ], @@ -5555,56 +3352,21 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80', - ], + 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'], 'CertList' => [ 'description' => '', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'EndDate' => [ - 'description' => '', - 'type' => 'string', - 'example' => '2020-09-23', - ], - 'DomainRelated' => [ - 'description' => '', - 'type' => 'boolean', - 'example' => 'false', - ], - 'StartDate' => [ - 'description' => '', - 'type' => 'string', - 'example' => '2019-09-24', - ], - 'Issuer' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'DigiCert Inc', - ], - 'Name' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'testCertName', - ], - 'Common' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'www.aliyun.com', - ], - 'Id' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '123', - ], - 'CertIdentifier' => [ - 'type' => 'string', - ], + 'EndDate' => ['description' => '', 'type' => 'string', 'example' => '2020-09-23'], + 'DomainRelated' => ['description' => '', 'type' => 'boolean', 'example' => 'false'], + 'StartDate' => ['description' => '', 'type' => 'string', 'example' => '2019-09-24'], + 'Issuer' => ['description' => '', 'type' => 'string', 'example' => 'DigiCert Inc'], + 'Name' => ['description' => '', 'type' => 'string', 'example' => 'testCertName'], + 'Common' => ['description' => '', 'type' => 'string', 'example' => 'www.aliyun.com'], + 'Id' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '123'], + 'CertIdentifier' => ['type' => 'string'], ], ], ], @@ -5619,46 +3381,32 @@ 'extraInfo' => ' ', ], 'DescribleLayer7InstanceRelations' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'summary' => '查询域名实例关系', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', 'abilityTreeCode' => '105495', - 'abilityTreeNodes' => [ - 'FEATUREddos64TBV6', - ], + 'abilityTreeNodes' => ['FEATUREddos64TBV6'], ], 'parameters' => [ [ 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '1.1.1.1', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => '1.1.1.1'], ], [ 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'test', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'test'], ], [ 'name' => 'DomainList', @@ -5667,9 +3415,7 @@ 'schema' => [ 'description' => '', 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], + 'items' => ['type' => 'string'], 'required' => true, 'example' => 'www.aliyun.com', 'maxItems' => 20, @@ -5681,51 +3427,27 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80', - ], + 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'], 'Layer7InstanceRelations' => [ 'description' => '', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'Domain' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'www.aliyun.com', - ], + 'Domain' => ['description' => '', 'type' => 'string', 'example' => 'www.aliyun.com'], 'InstanceDetails' => [ 'description' => '', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'IpMode' => [ - 'type' => 'string', - ], - 'FunctionVersion' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'default', - ], - 'InstanceId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'ddoscoo-cn-XXXXX', - ], - 'IpVersion' => [ - 'type' => 'string', - ], + 'IpMode' => ['type' => 'string'], + 'FunctionVersion' => ['description' => '', 'type' => 'string', 'example' => 'default'], + 'InstanceId' => ['description' => '', 'type' => 'string', 'example' => 'ddoscoo-cn-XXXXX'], + 'IpVersion' => ['type' => 'string'], 'EipList' => [ 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'example' => '["203.107.0.0"]', - ], + 'items' => ['description' => '', 'type' => 'string', 'example' => '["203.107.0.0"]'], ], ], ], @@ -5744,55 +3466,37 @@ 'extraInfo' => ' ', ], 'DisableLayer7CC' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'summary' => '关闭CC', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'operationType' => 'write', 'systemTags' => [ 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', 'abilityTreeCode' => '105497', - 'abilityTreeNodes' => [ - 'FEATUREddosOZ1QOD', - ], + 'abilityTreeNodes' => ['FEATUREddosOZ1QOD'], ], 'parameters' => [ [ 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - 'example' => '1.1.1.1', - ], + 'schema' => ['type' => 'string', 'required' => false, 'example' => '1.1.1.1'], ], [ 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'test', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'test'], ], [ 'name' => 'Domain', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'www.aliyun.com', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'example' => 'www.aliyun.com'], ], ], 'responses' => [ @@ -5800,11 +3504,7 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80', - ], + 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'], ], ], ], @@ -5816,55 +3516,37 @@ 'extraInfo' => ' ', ], 'DisableLayer7CCRule' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'summary' => '关闭CC规则', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'operationType' => 'write', 'systemTags' => [ 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', 'abilityTreeCode' => '105498', - 'abilityTreeNodes' => [ - 'FEATUREddosOZ1QOD', - ], + 'abilityTreeNodes' => ['FEATUREddosOZ1QOD'], ], 'parameters' => [ [ 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - 'example' => '1.1.1.1', - ], + 'schema' => ['type' => 'string', 'required' => false, 'example' => '1.1.1.1'], ], [ 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'test', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'test'], ], [ 'name' => 'Domain', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'www.aliyun.com', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'example' => 'www.aliyun.com'], ], ], 'responses' => [ @@ -5872,11 +3554,7 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80', - ], + 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'], ], ], ], @@ -5888,55 +3566,37 @@ 'extraInfo' => ' ', ], 'EnableLayer7CC' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'summary' => '开启CC', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'operationType' => 'write', 'systemTags' => [ 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', 'abilityTreeCode' => '105503', - 'abilityTreeNodes' => [ - 'FEATUREddosOZ1QOD', - ], + 'abilityTreeNodes' => ['FEATUREddosOZ1QOD'], ], 'parameters' => [ [ 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - 'example' => '1.1.1.1', - ], + 'schema' => ['type' => 'string', 'required' => false, 'example' => '1.1.1.1'], ], [ 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'test', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'test'], ], [ 'name' => 'Domain', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'www.aliyun.com', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'example' => 'www.aliyun.com'], ], ], 'responses' => [ @@ -5944,11 +3604,7 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80', - ], + 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'], ], ], ], @@ -5960,55 +3616,37 @@ 'extraInfo' => ' ', ], 'EnableLayer7CCRule' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'summary' => '开启CC规则', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'operationType' => 'write', 'systemTags' => [ 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', 'abilityTreeCode' => '105504', - 'abilityTreeNodes' => [ - 'FEATUREddosOZ1QOD', - ], + 'abilityTreeNodes' => ['FEATUREddosOZ1QOD'], ], 'parameters' => [ [ 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - 'example' => '1.1.1.1', - ], + 'schema' => ['type' => 'string', 'required' => false, 'example' => '1.1.1.1'], ], [ 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'test', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'test'], ], [ 'name' => 'Domain', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'www.aliyun.com', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'example' => 'www.aliyun.com'], ], ], 'responses' => [ @@ -6016,11 +3654,7 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80', - ], + 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'], ], ], ], @@ -6032,57 +3666,38 @@ 'extraInfo' => ' ', ], 'ListLayer7CustomPorts' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'summary' => '查询域名接入端口', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'operationType' => 'read', 'systemTags' => [ - 'operationType' => 'none', + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', 'abilityTreeCode' => '105507', - 'abilityTreeNodes' => [ - 'FEATUREddosN7DYCX', - ], + 'abilityTreeNodes' => ['FEATUREddosN7DYCX'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '1.1.1.1', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => '1.1.1.1'], ], [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'cn', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'cn'], ], [ 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'xx', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'xx'], ], ], 'responses' => [ @@ -6090,32 +3705,18 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80', - ], + 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'], 'Layer7CustomPorts' => [ 'description' => '', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'Flag' => [ - 'type' => 'string', - ], - 'ProxyType' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'https', - ], + 'Flag' => ['type' => 'string'], + 'ProxyType' => ['description' => '', 'type' => 'string', 'example' => 'https'], 'ProxyPorts' => [ 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'example' => '[443,4443,5443,6443,7443,7988,8443,9443,8553,8663,9553,9663,10050,10443,18980,30050]', - ], + 'items' => ['description' => '', 'type' => 'string', 'example' => '[443,4443,5443,6443,7443,7988,8443,9443,8553,8663,9553,9663,10050,10443,18980,30050]'], ], ], ], @@ -6131,141 +3732,69 @@ 'extraInfo' => ' ', ], 'ListAsyncTask' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'summary' => '查询异步任务', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'operationType' => 'read', 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', 'abilityTreeCode' => '105506', - 'abilityTreeNodes' => [ - 'FEATUREddos64TBV6', - ], + 'abilityTreeNodes' => ['FEATUREddos64TBV6'], ], 'parameters' => [ [ 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '1.1.1.1', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => '1.1.1.1'], ], [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'cn', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'cn'], ], [ 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'xx', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'xx'], ], [ 'name' => 'PageNo', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '1', - ], + 'schema' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1'], ], [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '10', - ], + 'schema' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '10'], ], ], 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'Total' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80', - ], - 'AsyncTasks' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'EndTime' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1533866201000', - ], - 'TaskType' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'StartTime' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1533866201000', - ], - 'TaskParams' => [ - 'description' => '', - 'type' => 'string', - 'example' => '{"instanceId": "ddoscoo-1234-qrq2134"}', - ], - 'TaskStatus' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'TaskResult' => [ - 'description' => '', - 'type' => 'string', - 'example' => '{"instanceId": "ddoscoo-1234-qrq2134", "url": "https://oss.xxx.xxx"}', - ], - 'TaskId' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '123', - ], + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Total' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'], + 'AsyncTasks' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'EndTime' => ['description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '1533866201000'], + 'TaskType' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'StartTime' => ['description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '1533866201000'], + 'TaskParams' => ['description' => '', 'type' => 'string', 'example' => '{"instanceId": "ddoscoo-1234-qrq2134"}'], + 'TaskStatus' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'TaskResult' => ['description' => '', 'type' => 'string', 'example' => '{"instanceId": "ddoscoo-1234-qrq2134", "url": "https://oss.xxx.xxx"}'], + 'TaskId' => ['description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '123'], ], ], ], @@ -6280,78 +3809,47 @@ 'extraInfo' => ' ', ], 'ListTagKeys' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'summary' => '列出tag', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'operationType' => 'read', 'systemTags' => [ - 'operationType' => 'none', + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', 'abilityTreeCode' => '105508', - 'abilityTreeNodes' => [ - 'FEATUREddosMHU3MF', - ], + 'abilityTreeNodes' => ['FEATUREddosMHU3MF'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], ], [ 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'test', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'test'], ], [ 'name' => 'ResourceType', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'INSTANCE', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'example' => 'INSTANCE'], ], [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '20', - ], + 'schema' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'], ], [ 'name' => 'CurrentPage', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], ], ], 'responses' => [ @@ -6359,46 +3857,18 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'CurrentPage' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '97935DF1-0289-4AA2-9DD1-72377838B16B', - ], - 'PageSize' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], - 'TotalCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '6', - ], + 'CurrentPage' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'RequestId' => ['description' => '', 'type' => 'string', 'example' => '97935DF1-0289-4AA2-9DD1-72377838B16B'], + 'PageSize' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '20'], + 'TotalCount' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '6'], 'TagKeys' => [ 'description' => '', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'TagCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'TagKey' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'a', - ], + 'TagCount' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'TagKey' => ['description' => '', 'type' => 'string', 'example' => 'a'], ], ], ], @@ -6410,66 +3880,42 @@ 'title' => 'ListTagKeys', ], 'ListTagResources' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'summary' => '查询资源', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'operationType' => 'read', 'systemTags' => [ - 'operationType' => 'none', + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', 'abilityTreeCode' => '105509', - 'abilityTreeNodes' => [ - 'FEATUREddosMHU3MF', - ], + 'abilityTreeNodes' => ['FEATUREddosMHU3MF'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], ], [ 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'test', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'test'], ], [ 'name' => 'ResourceType', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'INSTANCE', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'example' => 'INSTANCE'], ], [ 'name' => 'NextToken', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'RGuYpqDdKhzXb8C3.D1BwQgc1tMBsoxdGiEKHHUUCffomr', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'RGuYpqDdKhzXb8C3.D1BwQgc1tMBsoxdGiEKHHUUCffomr'], ], [ 'name' => 'ResourceId', @@ -6478,9 +3924,7 @@ 'schema' => [ 'description' => '', 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], + 'items' => ['type' => 'string'], 'required' => false, 'example' => 'ddoscoo-cn-o4017n9q9004', 'maxItems' => 51, @@ -6495,16 +3939,8 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'Key' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'testKey1', - ], - 'Value' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'testValue1', - ], + 'Key' => ['description' => '', 'type' => 'string', 'example' => 'testKey1'], + 'Value' => ['description' => '', 'type' => 'string', 'example' => 'testValue1'], ], ], 'required' => false, @@ -6517,16 +3953,8 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'NextToken' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'RGuYpqDdKhzXb8C3.D1BwQgc1tMBsoxdGiEKHHUUCffomr', - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'C3F7E6AE-43B2-4730-B6A3-FD17552B8F65', - ], + 'NextToken' => ['description' => '', 'type' => 'string', 'example' => 'RGuYpqDdKhzXb8C3.D1BwQgc1tMBsoxdGiEKHHUUCffomr'], + 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'C3F7E6AE-43B2-4730-B6A3-FD17552B8F65'], 'TagResources' => [ 'type' => 'object', 'itemNode' => true, @@ -6537,26 +3965,10 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'TagValue' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'testValue1', - ], - 'ResourceType' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'INSTANCE', - ], - 'ResourceId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'ddoscoo-cn-o4017n9q9004', - ], - 'TagKey' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'testKey1', - ], + 'TagValue' => ['description' => '', 'type' => 'string', 'example' => 'testValue1'], + 'ResourceType' => ['description' => '', 'type' => 'string', 'example' => 'INSTANCE'], + 'ResourceId' => ['description' => '', 'type' => 'string', 'example' => 'ddoscoo-cn-o4017n9q9004'], + 'TagKey' => ['description' => '', 'type' => 'string', 'example' => 'testKey1'], ], ], ], @@ -6573,47 +3985,33 @@ 'extraInfo' => ' ', ], 'ListValueAdded' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'summary' => '查询日志实例', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', 'abilityTreeCode' => '105510', - 'abilityTreeNodes' => [ - 'FEATUREddosVFFSV8', - ], + 'abilityTreeNodes' => ['FEATUREddosVFFSV8'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '1.1.1.1', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => '1.1.1.1'], ], [ 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'xx', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'xx'], ], ], 'responses' => [ @@ -6621,49 +4019,19 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80', - ], + 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'], 'ValueAddedList' => [ 'description' => '', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'LogSize' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '5497558138880', - ], - 'GmtCreate' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1575527305000', - ], - 'Status' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'InstanceId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'ddos_fl_pre-cn-xxxx', - ], - 'ExpireTime' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1580918400000', - ], - 'StoreRegion' => [ - 'type' => 'string', - ], + 'LogSize' => ['description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '5497558138880'], + 'GmtCreate' => ['description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '1575527305000'], + 'Status' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'InstanceId' => ['description' => '', 'type' => 'string', 'example' => 'ddos_fl_pre-cn-xxxx'], + 'ExpireTime' => ['description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '1580918400000'], + 'StoreRegion' => ['type' => 'string'], ], ], ], @@ -6678,56 +4046,38 @@ 'extraInfo' => ' ', ], 'ModifyInstanceRemark' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'summary' => '修改实例备注', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', 'abilityTreeCode' => '105515', - 'abilityTreeNodes' => [ - 'FEATUREddosMHU3MF', - ], + 'abilityTreeNodes' => ['FEATUREddosMHU3MF'], ], 'parameters' => [ [ 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '1.1.1.1', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => '1.1.1.1'], ], [ 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'ddoscoo-cn-XXXXX', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'ddoscoo-cn-XXXXX'], ], [ 'name' => 'Remark', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => ''], ], ], 'responses' => [ @@ -6735,11 +4085,7 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80', - ], + 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'], ], ], ], @@ -6751,66 +4097,42 @@ 'extraInfo' => ' ', ], 'OpenDomainSlsConfig' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'summary' => '开启日志分发', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'operationType' => 'write', 'systemTags' => [ 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', 'abilityTreeCode' => '105519', - 'abilityTreeNodes' => [ - 'FEATUREddosVFFSV8', - ], + 'abilityTreeNodes' => ['FEATUREddosVFFSV8'], ], 'parameters' => [ [ 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '1.1.1.1', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => '1.1.1.1'], ], [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'cn', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'cn'], ], [ 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'xx', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'xx'], ], [ 'name' => 'Domain', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'www.example.com', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'example' => 'www.example.com'], ], ], 'responses' => [ @@ -6818,11 +4140,7 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80', - ], + 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'], ], ], ], @@ -6834,42 +4152,33 @@ 'extraInfo' => ' ', ], 'ReleaseInstance' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'summary' => '释放实例', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ + 'operationType' => 'delete', + 'riskType' => 'high', + 'chargeType' => 'free', 'abilityTreeCode' => '105521', - 'abilityTreeNodes' => [ - 'FEATUREddosMHU3MF', - ], + 'abilityTreeNodes' => ['FEATUREddosMHU3MF'], ], 'parameters' => [ [ 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], 'responses' => [ @@ -6877,9 +4186,7 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'type' => 'string', - ], + 'RequestId' => ['type' => 'string'], ], ], ], @@ -6887,46 +4194,32 @@ 'responseDemo' => null, ], 'ReleaseValueAdded' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'summary' => '释放日志实例', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'operationType' => 'write', 'systemTags' => [ - 'operationType' => 'none', + 'operationType' => 'delete', + 'riskType' => 'none', + 'chargeType' => 'free', 'abilityTreeCode' => '105522', - 'abilityTreeNodes' => [ - 'FEATUREddosVFFSV8', - ], + 'abilityTreeNodes' => ['FEATUREddosVFFSV8'], ], 'parameters' => [ [ 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '1.1.1.1', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => '1.1.1.1'], ], [ 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'ddos_fl_pre-cn-xxxx', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'example' => 'ddos_fl_pre-cn-xxxx'], ], ], 'responses' => [ @@ -6934,11 +4227,7 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80', - ], + 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'], ], ], ], @@ -6947,56 +4236,37 @@ 'title' => 'ReleaseValueAdded', ], 'TagResources' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'summary' => '标签资源', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', 'abilityTreeCode' => '105524', - 'abilityTreeNodes' => [ - 'FEATUREddosMHU3MF', - ], + 'abilityTreeNodes' => ['FEATUREddosMHU3MF'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], ], [ 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'test', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'test'], ], [ 'name' => 'ResourceType', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'INSTANCE', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'example' => 'INSTANCE'], ], [ 'name' => 'ResourceId', @@ -7005,9 +4275,7 @@ 'schema' => [ 'description' => '', 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], + 'items' => ['type' => 'string'], 'required' => true, 'example' => 'ddoscoo-cn-v0h1fmwbc024', 'maxItems' => 51, @@ -7022,16 +4290,8 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'Key' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'testKey1', - ], - 'Value' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'testValue1', - ], + 'Key' => ['description' => '', 'type' => 'string', 'example' => 'testKey1'], + 'Value' => ['description' => '', 'type' => 'string', 'example' => 'testValue1'], ], ], 'required' => false, @@ -7044,11 +4304,7 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '7078CD1E-F609-47A4-9C39-B288CC27C686', - ], + 'RequestId' => ['description' => '', 'type' => 'string', 'example' => '7078CD1E-F609-47A4-9C39-B288CC27C686'], ], ], ], @@ -7057,66 +4313,42 @@ 'title' => 'TagResources', ], 'UntagResources' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'summary' => '解除资源标签', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'operationType' => 'write', 'systemTags' => [ 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', 'abilityTreeCode' => '105526', - 'abilityTreeNodes' => [ - 'FEATUREddosMHU3MF', - ], + 'abilityTreeNodes' => ['FEATUREddosMHU3MF'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], ], [ 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'test', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'test'], ], [ 'name' => 'ResourceType', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'INSTANCE', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'example' => 'INSTANCE'], ], [ 'name' => 'All', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['description' => '', 'type' => 'boolean', 'required' => false, 'example' => 'false'], ], [ 'name' => 'ResourceId', @@ -7125,9 +4357,7 @@ 'schema' => [ 'description' => '', 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], + 'items' => ['type' => 'string'], 'required' => true, 'example' => 'ddoscoo-cn-v0h1fmwbc024', 'maxItems' => 51, @@ -7140,9 +4370,7 @@ 'schema' => [ 'description' => '', 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], + 'items' => ['type' => 'string'], 'required' => false, 'example' => 'testKey1', 'maxItems' => 21, @@ -7154,11 +4382,7 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'F2D86AED-BA27-4584-BADC-B43BDA7EEBCA', - ], + 'RequestId' => ['description' => '', 'type' => 'string', 'example' => 'F2D86AED-BA27-4584-BADC-B43BDA7EEBCA'], ], ], ], @@ -7171,13 +4395,7 @@ ], ], 'endpoints' => [ - [ - 'regionId' => 'cn-hangzhou', - 'endpoint' => 'ddoscoo.cn-hangzhou.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-1', - 'endpoint' => 'ddoscoo.ap-southeast-1.aliyuncs.com', - ], + ['regionId' => 'cn-hangzhou', 'endpoint' => 'ddoscoo.cn-hangzhou.aliyuncs.com'], + ['regionId' => 'ap-southeast-1', 'endpoint' => 'ddoscoo.ap-southeast-1.aliyuncs.com'], ], ]; diff --git a/data/en_us/ddoscoo/2020-01-01/api-docs.php b/data/en_us/ddoscoo/2020-01-01/api-docs.php index ba56247..bbaf3fc 100644 --- a/data/en_us/ddoscoo/2020-01-01/api-docs.php +++ b/data/en_us/ddoscoo/2020-01-01/api-docs.php @@ -1,331 +1,114 @@ '1.0', - 'info' => [ - 'style' => 'RPC', - 'product' => 'ddoscoo', - 'version' => '2020-01-01', - ], + 'info' => ['style' => 'RPC', 'product' => 'ddoscoo', 'version' => '2020-01-01'], 'directories' => [ [ - 'id' => 362006, - 'title' => null, + 'children' => ['DescribeInstanceIds', 'ModifyElasticBizQps', 'ModifyQpsMode', 'DescribeInstanceExt'], 'type' => 'directory', - 'children' => [ - 'ReleaseInstance', - 'ModifyInstanceRemark', - 'ModifyElasticBandWidth', - 'DescribeInstanceIds', - 'DescribeInstanceStatus', - 'DescribeElasticBandwidthSpec', - 'DescribeInstanceStatistics', - 'DescribeInstances', - 'DescribeInstanceSpecs', - 'DescribeInstanceDetails', - 'ModifyElasticBizQps', - 'ModifyQpsMode', - 'DescribeInstanceExt', - ], + 'title' => 'Instance', ], [ - 'id' => 362020, - 'title' => null, - 'type' => 'directory', 'children' => [ - 'CreateWebRule', - 'DeleteWebRule', - 'ModifyWebRule', - 'ModifyTlsConfig', - 'ModifyHttp2Enable', - 'ModifyWebAccessMode', - 'ModifyCnameReuse', - 'DescribeWebRules', - 'DescribeWebInstanceRelations', - 'DescribeCerts', - 'DescribeWebCustomPorts', - 'DescribeWebAccessMode', - 'DescribeCnameReuses', - 'DescribeL7RsPolicy', - 'AssociateWebCert', - 'ConfigL7RsPolicy', - 'ModifyOcspStatus', - 'ConfigL7UsKeepalive', - 'DescribeL7UsKeepalive', - 'ModifyHeaders', - 'DescribeHeaders', - 'DescribeDomainH2Fingerprint', - 'DescribeDomainTopReferer', - 'DescribeDomainTopUserAgent', - 'DescribeDomainTopFingerprint', - 'DescribeDomainBps', + 'CreateWebRule', 'ModifyWebRule', 'ModifyTlsConfig', 'DescribeWebRules', 'DescribeCerts', 'DescribeWebCustomPorts', 'DescribeWebAccessMode', 'DescribeCnameReuses', 'DescribeL7RsPolicy', 'AssociateWebCert', 'ConfigL7RsPolicy', 'ConfigL7UsKeepalive', 'DescribeL7UsKeepalive', 'ModifyHeaders', 'DescribeHeaders', 'DescribeDomainH2Fingerprint', 'DescribeDomainTopReferer', 'DescribeDomainTopUserAgent', 'DescribeDomainTopFingerprint', 'DescribeDomainBps', 'DescribeDomainTopHttpMethod', ], + 'type' => 'directory', + 'title' => 'Domain name', ], [ - 'id' => 362048, - 'title' => null, + 'children' => ['CreateAsyncTask'], 'type' => 'directory', - 'children' => [ - 'CreateAsyncTask', - 'DeleteAsyncTask', - ], + 'title' => 'Task', ], [ - 'id' => 362051, - 'title' => null, + 'children' => ['CreateNetworkRules', 'DescribeNetworkRules', 'ConfigNetworkRules'], 'type' => 'directory', - 'children' => [ - 'CreateNetworkRules', - 'DeleteNetworkRule', - 'ModifyHealthCheckConfig', - 'DescribeNetworkRules', - 'DescribeHealthCheckStatus', - 'ConfigNetworkRules', - ], + 'title' => 'Network forwarding rule', ], [ - 'id' => 362058, - 'title' => null, + 'children' => ['DescribeSchedulerRules', 'SwitchSchedulerRule', 'DescribeCdnLinkageRules'], 'type' => 'directory', - 'children' => [ - 'CreateSchedulerRule', - 'DeleteSchedulerRule', - 'ModifySchedulerRule', - 'DescribeSchedulerRules', - 'SwitchSchedulerRule', - 'DescribeCdnLinkageRules', - ], + 'title' => 'Traffic scheduler', ], [ - 'id' => 362065, - 'title' => null, + 'children' => ['AddAutoCcBlacklist', 'AddAutoCcWhitelist', 'DeleteAutoCcBlacklist', 'DescribeAutoCcBlacklist', 'DescribeBlackholeStatus', 'EmptyAutoCcBlacklist', 'EmptyAutoCcWhitelist', 'ConfigNetworkRegionBlock', 'ConfigUdpReflect'], 'type' => 'directory', - 'children' => [ - 'AddAutoCcBlacklist', - 'AddAutoCcWhitelist', - 'DeleteAutoCcBlacklist', - 'DeleteAutoCcWhitelist', - 'ModifyBlackholeStatus', - 'ModifyBlockStatus', - 'DescribeAutoCcListCount', - 'DescribeAutoCcBlacklist', - 'DescribeAutoCcWhitelist', - 'DescribeUnBlackholeCount', - 'DescribeBlackholeStatus', - 'DescribeNetworkRegionBlock', - 'DescribeBlockStatus', - 'DescribeUnBlockCount', - 'EmptyAutoCcBlacklist', - 'EmptyAutoCcWhitelist', - 'ConfigNetworkRegionBlock', - 'DescribeUdpReflect', - 'ConfigUdpReflect', - ], + 'title' => 'Infrastructure protection policy', ], [ - 'id' => 362085, - 'title' => null, + 'children' => ['CreateWebCCRule', 'DeleteWebPreciseAccessRule', 'EnableWebCCRule', 'ModifyWebCCRule', 'ModifyWebPreciseAccessRule', 'ModifyWebAreaBlockSwitch', 'ModifyWebAreaBlock', 'DescribeWebCcProtectSwitch', 'DescribeWebPreciseAccessRule', 'DescribeWebAreaBlockConfigs', 'ConfigWebIpSet', 'ConfigWebCCTemplate', 'DeleteWebCCRuleV2', 'DescribeWebCCRulesV2', 'ConfigWebCCRuleV2', 'ModifyWebCCGlobalSwitch', 'ConfigL7GlobalRule', 'DescribeL7GlobalRule', 'DescribeDomainCcProtectSwitch', 'ConfigDomainSecurityProfile'], 'type' => 'directory', - 'children' => [ - 'CreateWebCCRule', - 'DeleteWebCCRule', - 'DeleteWebPreciseAccessRule', - 'ModifyWebAIProtectSwitch', - 'ModifyWebAIProtectMode', - 'ModifyWebIpSetSwitch', - 'EnableWebCC', - 'DisableWebCC', - 'EnableWebCCRule', - 'DisableWebCCRule', - 'ModifyWebCCRule', - 'ModifyWebPreciseAccessSwitch', - 'ModifyWebPreciseAccessRule', - 'ModifyWebAreaBlockSwitch', - 'ModifyWebAreaBlock', - 'DescribeWebCcProtectSwitch', - 'DescribeWebCCRules', - 'DescribeWebPreciseAccessRule', - 'DescribeWebAreaBlockConfigs', - 'ConfigWebIpSet', - 'ConfigWebCCTemplate', - 'DeleteWebCCRuleV2', - 'DescribeWebCCRulesV2', - 'ConfigWebCCRuleV2', - 'ModifyWebCCGlobalSwitch', - 'ConfigL7GlobalRule', - 'DescribeL7GlobalRule', - 'DescribeDomainCcProtectSwitch', - 'ConfigDomainSecurityProfile', - ], + 'title' => 'Website service protection policy', ], [ - 'id' => 362115, - 'title' => null, + 'children' => ['ModifyNetworkRuleAttribute', 'DescribeHealthCheckList', 'DescribeNetworkRuleAttributes'], 'type' => 'directory', - 'children' => [ - 'ModifyPortAutoCcStatus', - 'ModifyNetworkRuleAttribute', - 'DescribePortAutoCcStatus', - 'DescribeDomains', - 'DescribeHealthCheckList', - 'DescribeNetworkRuleAttributes', - ], + 'title' => 'Non-website service protection policy', ], [ - 'id' => 362122, - 'title' => null, + 'children' => ['AttachSceneDefenseObject', 'DetachSceneDefenseObject', 'DisableSceneDefensePolicy'], 'type' => 'directory', - 'children' => [ - 'CreateSceneDefensePolicy', - 'DeleteSceneDefensePolicy', - 'ModifySceneDefensePolicy', - 'AttachSceneDefenseObject', - 'DetachSceneDefenseObject', - 'EnableSceneDefensePolicy', - 'DisableSceneDefensePolicy', - 'DescribeSceneDefensePolicies', - 'DescribeSceneDefenseObjects', - ], + 'title' => 'Scenario-specific policy', ], [ - 'id' => 362132, - 'title' => null, + 'children' => ['DeleteWebCacheCustomRule'], 'type' => 'directory', - 'children' => [ - 'DeleteWebCacheCustomRule', - 'ModifyWebCacheSwitch', - 'ModifyWebCacheMode', - 'ModifyWebCacheCustomRule', - 'DescribeWebCacheConfigs', - ], + 'title' => 'Static page cache', ], [ - 'id' => 362138, - 'title' => null, + 'children' => ['DescribeDDosEventArea', 'DescribeDDosEventIsp', 'DescribeDDoSEvents', 'DescribeSlaEventList', 'DescribeAttackAnalysisMaxQps', 'DescribeDestinationPortEvent'], 'type' => 'directory', - 'children' => [ - 'DescribeDDosEventMax', - 'DescribeDDosEventArea', - 'DescribeDDosEventAttackType', - 'DescribeDDosEventIsp', - 'DescribeDDosEventSrcIp', - 'DescribeBackSourceCidr', - 'DescribeDDosAllEventList', - 'DescribeDDoSEvents', - 'DescribeSlaEventList', - 'DescribeDomainAttackEvents', - 'DescribeDefenseCountStatistics', - 'DescribeAttackAnalysisMaxQps', - 'DescribeDestinationPortEvent', - ], + 'title' => 'Attack analysis', ], [ - 'id' => 362152, - 'title' => null, + 'children' => ['DescribePortFlowList', 'DescribePortConnsList', 'DescribePortConnsCount', 'DescribePortAttackMaxFlow', 'DescribeDomainStatusCodeList', 'DescribeDomainStatusCodeCount', 'DescribeDomainTopAttackList', 'DescribeDomainViewTopUrl'], 'type' => 'directory', - 'children' => [ - 'DescribePortFlowList', - 'DescribePortConnsList', - 'DescribePortConnsCount', - 'DescribePortMaxConns', - 'DescribePortAttackMaxFlow', - 'DescribePortViewSourceCountries', - 'DescribePortViewSourceIsps', - 'DescribePortViewSourceProvinces', - 'DescribeDomainQPSList', - 'DescribeDomainStatusCodeList', - 'DescribeDomainOverview', - 'DescribeDomainStatusCodeCount', - 'DescribeDomainTopAttackList', - 'DescribeDomainViewSourceCountries', - 'DescribeDomainViewSourceProvinces', - 'DescribeDomainViewTopCostTime', - 'DescribeDomainViewTopUrl', - ], + 'title' => 'Monitoring report', ], [ - 'id' => 362170, - 'title' => null, + 'children' => ['DescribeSlsLogstoreInfo', 'DescribeDefenseRecords', 'EmptySlsLogstore'], 'type' => 'directory', - 'children' => [ - 'EnableWebAccessLogConfig', - 'ModifyFullLogTtl', - 'DisableWebAccessLogConfig', - 'DescribeWebAccessLogDispatchStatus', - 'DescribeWebAccessLogStatus', - 'DescribeLogStoreExistStatus', - 'DescribeOpEntities', - 'DescribeSlsAuthStatus', - 'DescribeSlsLogstoreInfo', - 'DescribeSlsOpenStatus', - 'DescribeWebAccessLogEmptyCount', - 'DescribeDefenseRecords', - 'EmptySlsLogstore', - ], + 'title' => 'Log', ], [ - 'id' => 362184, - 'title' => null, + 'children' => ['DescribeStsGrantStatus', 'DescribeAsyncTasks', 'DescribeSystemLog', 'DescribeElasticQps', 'DescribeElasticQpsRecord'], 'type' => 'directory', - 'children' => [ - 'DescribeStsGrantStatus', - 'DescribeAsyncTasks', - 'DescribeSystemLog', - 'DescribeElasticQps', - 'DescribeElasticQpsRecord', - ], + 'title' => 'System configuration and log', ], [ - 'id' => 362190, - 'title' => null, + 'children' => ['CreateTagResources', 'DeleteTagResources'], 'type' => 'directory', - 'children' => [ - 'CreateTagResources', - 'DeleteTagResources', - 'DescribeTagKeys', - 'DescribeTagResources', - ], + 'title' => 'Tag', ], [ - 'id' => 362195, - 'title' => null, + 'children' => ['CreatePort', 'ModifyPort'], 'type' => 'directory', - 'children' => [ - 'CreatePort', - 'DeletePort', - 'ModifyPort', - 'DescribePort', - ], + 'title' => 'Port', ], [ - 'id' => 362200, - 'title' => null, + 'children' => ['CreateDomainResource', 'DeleteDomainResource', 'DescribeDomainResource', 'ModifyDomainResource', 'ConfigLayer4Remark', 'ConfigLayer4RuleBakMode', 'ConfigLayer4RulePolicy'], 'type' => 'directory', + 'title' => 'Other', + ], + [ 'children' => [ - 'CreateDomainResource', - 'DeleteDomainResource', - 'DescribeDomainResource', - 'ModifyDomainResource', - 'ConfigLayer4Remark', - 'ConfigLayer4RuleBakMode', - 'ConfigLayer4RulePolicy', - 'DescribeLayer4RulePolicy', - 'ModifyInstance', + 'CreateSceneDefensePolicy', 'CreateSchedulerRule', 'DeleteAsyncTask', 'DeleteAutoCcWhitelist', 'DeleteNetworkRule', 'DeletePort', 'DeleteSceneDefensePolicy', 'DeleteSchedulerRule', 'DeleteWebCCRule', 'DeleteWebRule', 'DescribeAutoCcListCount', 'DescribeAutoCcWhitelist', 'DescribeBackSourceCidr', 'DescribeBlockStatus', 'DescribeDDosAllEventList', 'DescribeDDosEventAttackType', 'DescribeDDosEventMax', 'DescribeDDosEventSrcIp', 'DescribeDefenseCountStatistics', 'DescribeDomainAttackEvents', + 'DescribeDomainOverview', 'DescribeDomainQPSList', 'DescribeDomainViewSourceCountries', 'DescribeDomainViewSourceProvinces', 'DescribeDomainViewTopCostTime', 'DescribeDomains', 'DescribeElasticBandwidthSpec', 'DescribeHealthCheckStatus', 'DescribeInstanceDetails', 'DescribeInstanceSpecs', 'DescribeInstanceStatistics', 'DescribeInstanceStatus', 'DescribeInstances', 'DescribeLayer4RulePolicy', 'DescribeLogStoreExistStatus', 'DescribeNetworkRegionBlock', 'DescribeOpEntities', 'DescribePort', 'DescribePortAutoCcStatus', 'DescribePortMaxConns', + 'DescribePortViewSourceCountries', 'DescribePortViewSourceIsps', 'DescribePortViewSourceProvinces', 'DescribeSceneDefenseObjects', 'DescribeSceneDefensePolicies', 'DescribeSlsAuthStatus', 'DescribeSlsOpenStatus', 'DescribeTagKeys', 'DescribeTagResources', 'DescribeUdpReflect', 'DescribeUnBlackholeCount', 'DescribeUnBlockCount', 'DescribeWebAccessLogDispatchStatus', 'DescribeWebAccessLogEmptyCount', 'DescribeWebAccessLogStatus', 'DescribeWebCCRules', 'DescribeWebCacheConfigs', 'DescribeWebInstanceRelations', 'DisableWebAccessLogConfig', 'DisableWebCC', + 'DisableWebCCRule', 'EnableSceneDefensePolicy', 'EnableWebAccessLogConfig', 'EnableWebCC', 'ModifyBlackholeStatus', 'ModifyBlockStatus', 'ModifyCnameReuse', 'ModifyElasticBandWidth', 'ModifyFullLogTtl', 'ModifyHealthCheckConfig', 'ModifyHttp2Enable', 'ModifyInstance', 'ModifyInstanceRemark', 'ModifyOcspStatus', 'ModifyPortAutoCcStatus', 'ModifySceneDefensePolicy', 'ModifySchedulerRule', 'ModifyWebAIProtectMode', 'ModifyWebAIProtectSwitch', 'ModifyWebAccessMode', + 'ModifyWebCacheCustomRule', 'ModifyWebCacheMode', 'ModifyWebCacheSwitch', 'ModifyWebIpSetSwitch', 'ModifyWebPreciseAccessSwitch', 'ReleaseInstance', ], + 'title' => 'Others', + 'type' => 'directory', ], ], 'components' => [ 'schemas' => [], ], 'apis' => [ - 'ReleaseInstance' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'AddAutoCcBlacklist' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -334,22 +117,31 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', - 'abilityTreeCode' => '106274', - 'abilityTreeNodes' => [ - 'FEATUREddosMHU3MF', - ], + 'operationType' => 'create', + 'abilityTreeCode' => '106046', + 'abilityTreeNodes' => ['FEATUREddosRTUJBH'], ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'ddoscoo-cn-mp91j1ao****', - ], + 'schema' => ['description' => 'The ID of the Anti-DDoS Pro instance.'."\n" + ."\n" + .'> Call the **DescribeInstanceIds** operation to query the IDs of all Anti-DDoS Pro instances.', 'type' => 'string', 'required' => true, 'example' => 'ddoscoo-cn-mp91j1ao****', 'title' => ''], + ], + [ + 'name' => 'Blacklist', + 'in' => 'query', + 'schema' => ['description' => 'The IP addresses to add to the blacklist. This is a JSON array. Each object in the array contains the following field:'."\n" + ."\n" + .'- **src**: String. Required. The IP address to add.'."\n" + ."\n" + .'> You can add up to 2,000 IP addresses per request.', 'type' => 'string', 'required' => true, 'example' => '[{"src":"198.51.XX.XX"},{"src":"198.52.XX.XX"}]', 'title' => ''], + ], + [ + 'name' => 'ExpireTime', + 'in' => 'query', + 'schema' => ['description' => 'The expiration time for the blacklist entries, in seconds. Valid values: **300** to **604800**.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '300', 'title' => ''], ], ], 'responses' => [ @@ -357,31 +149,48 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '06FFAF5F-CD3E-4886-A849-AAB40DFF6515', - ], + 'RequestId' => ['description' => 'The request ID. You can use this ID to troubleshoot issues.', 'type' => 'string', 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"06FFAF5F-CD3E-4886-A849-AAB40DFF6515\\"\\n}","type":"json"}]', - 'title' => 'ReleaseInstance', - 'summary' => 'Releases an expired Anti-DDoS Pro or Anti-DDoS Premium instance.', - 'description' => 'The ID of the request, which is used to locate and troubleshoot issues.'."\n", + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E\\"\\n}","type":"json"}]', + 'title' => 'AddAutoCcBlacklist', + 'summary' => 'Adds IP addresses to the blacklist for an Anti-DDoS Pro instance.', + 'description' => '### QPS limit'."\n" + ."\n" + .'If you exceed the limit, your API calls are throttled, which may impact your business. To avoid throttling, call this operation at a reasonable rate.', + 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'ModifyInstanceRemark' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:36.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'AddAutoCcBlacklist'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:AddAutoCcBlacklist', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'AddAutoCcWhitelist' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -390,36 +199,31 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', - 'abilityTreeCode' => '106250', - 'abilityTreeNodes' => [ - 'FEATUREddosMHU3MF', - ], + 'operationType' => 'create', + 'abilityTreeCode' => '106047', + 'abilityTreeNodes' => ['FEATUREddosRTUJBH'], ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the instance.'."\n" - ."\n" - .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'ddoscoo-cn-mp91j1ao****', - ], + 'schema' => ['description' => 'The ID of the Anti-DDoS Proxy instance for which you want to add whitelist IP addresses.'."\n" + ."\n" + .'> You can call [DescribeInstanceIds](~~157459~~) to query the IDs of all Anti-DDoS Proxy instances.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'ddoscoo-cn-mp91j1ao****'], ], [ - 'name' => 'Remark', + 'name' => 'Whitelist', 'in' => 'query', - 'schema' => [ - 'description' => 'The description of the instance.'."\n" - ."\n" - .'The value can contain letters, digits, and some special characters, such as`, . + - * / _` The value can be up to 500 characters in length.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'new-remark', - ], + 'schema' => ['description' => 'The configuration of the whitelist IP addresses that you want to add. This parameter is a string that is converted from a JSON array. Each element in the JSON array is a struct of a whitelist IP address that contains the following parameter:'."\n" + ."\n" + .'- **src**: String type | Required | The IP address that you want to add to the whitelist.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => '[{"src":"192.XX.XX.1"},{"src":"192.XX.XX.2"}]'], + ], + [ + 'name' => 'ExpireTime', + 'in' => 'query', + 'schema' => ['description' => 'This parameter is deprecated.'."\n" + ."\n" + .'> This parameter specifies the validity period of blacklist IP addresses. Whitelist IP addresses are permanently valid by default. You do not need to set this parameter.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'title' => '', 'example' => '0'], ], ], 'responses' => [ @@ -427,72 +231,115 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request, which is used to locate and troubleshoot issues.'."\n", - 'type' => 'string', - 'example' => '7EFA2BA6-9C0A-4410-B735-FC337EB634A1', - ], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'title' => '', 'example' => 'AB5025DA-5C52-5207-B6AC-3F198758B678'], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"7EFA2BA6-9C0A-4410-B735-FC337EB634A1\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 7EFA2BA6-9C0A-4410-B735-FC337EB634A1\\n","errorExample":""}]', - 'title' => 'ModifyInstanceRemark', - 'summary' => 'Modifies the description of an Anti-DDoS Proxy instance.', - 'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see [Common parameters](~~157269~~).'."\n" + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"AB5025DA-5C52-5207-B6AC-3F198758B678\\"\\n}","type":"json"}]', + 'title' => 'AddAutoCcWhitelist', + 'summary' => 'Add whitelist IP addresses for an Anti-DDoS Proxy instance.', + 'description' => 'This operation adds whitelist IP addresses for a single Anti-DDoS instance, allowing the Anti-DDoS instance to directly forward request traffic from the specified IP addresses.'."\n" ."\n" - .'For more information about sample requests, see the **"Examples"** section of this topic.'."\n", + .'By default, whitelist IP addresses are permanently valid once added. If you no longer need a whitelist IP address, you can call [EmptyAutoCcWhitelist](~~157505~~) to remove all added whitelist IP addresses.'."\n" + ."\n" + .'### QPS limits'."\n" + ."\n" + .'The queries per second (QPS) limit for this operation is 10 per second per user. If the limit is exceeded, API calls will be throttled, which may affect your business. We recommend that you call this operation at an appropriate rate.', + 'requestParamsDescription' => 'When you call this operation, in addition to the request parameters described in this topic, you must also specify the common parameters for API operations. For more information, see [Common parameters](~~157269~~).'."\n" + ."\n" + .'For the request format, see the **Examples** section of this topic.', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'ModifyElasticBandWidth' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:36.000Z', 'description' => 'Error codes changed'], + ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:AddAutoCcWhitelist', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'AddAutoCcWhitelist'], + ], ], + ], + 'AssociateWebCert' => [ + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', - 'abilityTreeCode' => '106239', - 'abilityTreeNodes' => [ - 'FEATUREddosOZ1QOD', - ], + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '106049', + 'abilityTreeNodes' => ['FEATUREddos64TBV6'], ], 'parameters' => [ [ - 'name' => 'ElasticBandwidth', - 'in' => 'query', - 'schema' => [ - 'description' => 'The new burstable protection bandwidth that you want to use. Unit: Gbit/s.'."\n" - ."\n" - .'> You can call the [DescribeElasticBandwidthSpec](~~91502~~) operation to query the available burstable protection bandwidth of the instance.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '50', - ], + 'name' => 'Domain', + 'in' => 'formData', + 'schema' => ['description' => 'The domain name of the website.'."\n" + ."\n" + .'> A forwarding rule must be configured for the domain name. You can call the [DescribeDomains](~~91724~~) operation to query all domain names.', 'type' => 'string', 'required' => true, 'example' => 'www.aliyun.com', 'title' => ''], ], [ - 'name' => 'InstanceId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the instance.'."\n" - ."\n" - .'> The instance must be in a normal state. You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'ddoscoo-cn-mp91j1ao****', - ], + 'name' => 'CertId', + 'in' => 'formData', + 'schema' => ['description' => 'The ID of the certificate.'."\n" + ."\n" + .'> If you specify a certificate ID, you do not need to specify a value for the CertName, Cert, and Key parameters. You can specify only one of this parameter and the CertIdentifier parameter.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '2404693', 'title' => ''], + ], + [ + 'name' => 'CertName', + 'in' => 'formData', + 'schema' => ['description' => 'The name of the certificate.'."\n" + ."\n" + .'> You can specify the name of the certificate that you want to associate. This parameter must be used together with the Cert and Key parameters.', 'type' => 'string', 'required' => false, 'example' => 'example-cert'."\n", 'title' => ''], + ], + [ + 'name' => 'Cert', + 'in' => 'formData', + 'schema' => ['description' => 'The public key of the certificate that you want to associate. This parameter must be used together with the CertName and Key parameters.'."\n" + ."\n" + .'> If you specify a value for the CertName, Cert, and Key parameters, you do not need to specify a value for the CertId parameter.', 'type' => 'string', 'required' => false, 'example' => '-----BEGIN CERTIFICATE----- 62EcYPWd2Oy1vs6MTXcJSf*************************************************************************************************************************************************************************ZIo2ZUhl02SIDNggIEeg== -----END CERTIFICATE-----'."\n", 'title' => ''], + ], + [ + 'name' => 'Key', + 'in' => 'formData', + 'schema' => ['description' => 'The private key of the certificate that you want to associate. This parameter must be used together with the CertName and Cert parameters.'."\n" + ."\n" + .'> If you specify a value for the CertName, Cert, and Key parameters, you do not need to specify a value for the CertId parameter.', 'type' => 'string', 'required' => false, 'example' => '-----BEGIN RSA PRIVATE KEY----- DADTPZoOHd9WtZ3UKHJT**************************************************************************************************************************************************************************qf0YF8bv5UK5G04RtKadOw== -----END RSA PRIVATE KEY-----'."\n", 'title' => ''], + ], + [ + 'name' => 'CertIdentifier', + 'in' => 'formData', + 'schema' => ['description' => 'The globally unique ID of the certificate. The value is in the "Certificate ID-cn-hangzhou" format. For example, if the ID of the certificate is 123, the value of the CertIdentifier parameter is 123-cn-hangzhou.'."\n" + ."\n" + .'> You can specify only one of this parameter and the CertId parameter.', 'type' => 'string', 'required' => false, 'example' => '9430680-cn-hangzhou'."\n", 'title' => ''], + ], + [ + 'name' => 'CertRegion', + 'in' => 'formData', + 'schema' => ['description' => 'The region of the certificate. Valid values: **cn-hangzhou** and **ap-southeast-1**. Default value: **cn-hangzhou**.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], ], ], 'responses' => [ @@ -500,32 +347,37 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '40F11005-A75C-4644-95F2-52A4E7D43E91', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}","errorExample":""},{"type":"xml","example":"\\r\\n\\r\\n\\t0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\r\\n","errorExample":""}]', - 'title' => 'ModifyElasticBandWidth', - 'summary' => 'Modifies the burstable protection bandwidth of a specified Anti-DDoS Proxy (Chinese Mainland) instance.', - 'description' => '> This operation is suitable only for Anti-DDoS Proxy (Chinese Mainland).'."\n", + 'title' => 'AssociateWebCert', + 'summary' => 'Associates an SSL certificate with the forwarding rule of a website.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeInstanceIds' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2024-08-30T07:13:07.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2024-05-29T02:26:20.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-07-18T07:29:47.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2022-09-08T03:34:36.000Z', 'description' => 'Error codes changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'AssociateWebCert'], + ], ], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"40F11005-A75C-4644-95F2-52A4E7D43E91\\"\\n}","type":"json"}]', + ], + 'AttachSceneDefenseObject' => [ + 'summary' => 'Adds an object to a scenario-specific custom policy for protection.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -534,60 +386,29 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeCode' => '106150', - 'abilityTreeNodes' => [ - 'FEATUREddosMHU3MF', - ], - 'tenantRelevance' => 'publicInformation', + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '106050', + 'abilityTreeNodes' => ['FEATUREddosI8LHMA'], ], 'parameters' => [ [ - 'name' => 'ResourceGroupId', + 'name' => 'PolicyId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'rg-acfm2pz25js****', - ], + 'schema' => ['description' => 'The ID of the policy.'."\n" + ."\n" + .'> You can call the [DescribeSceneDefensePolicies](~~159382~~) operation to query the IDs of all policies.', 'type' => 'string', 'required' => true, 'example' => '321a-fd31-df51-****', 'title' => ''], ], [ - 'name' => 'Edition', + 'name' => 'ObjectType', 'in' => 'query', - 'schema' => [ - 'description' => 'The type of the instance to query. Valid values:'."\n" - ."\n" - .'* **0**: Anti-DDoS Proxy (Outside Chinese Mainland) instance of the Insurance mitigation plan'."\n" - .'* **1**: Anti-DDoS Proxy (Outside Chinese Mainland) instance of the Unlimited mitigation plan'."\n" - .'* **2**: Anti-DDoS Proxy (Outside Chinese Mainland) instance of the Chinese Mainland Acceleration (CMA) mitigation plan'."\n" - .'* **3**: Anti-DDoS Proxy (Outside Chinese Mainland) instance of the Secure Chinese Mainland Acceleration (Sec-CMA) mitigation plan'."\n" - .'* **9**: Anti-DDoS Proxy (Chinese Mainland) instance of the Profession mitigation plan'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '9', - ], + 'schema' => ['description' => 'The type of the object. Set the value to **Domain**, which indicates a domain name.', 'type' => 'string', 'required' => true, 'example' => 'Domain', 'title' => ''], ], [ - 'name' => 'InstanceIds', + 'name' => 'Objects', 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => 'The IDs of instances to query.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The ID of the instance to query.'."\n" - ."\n" - .'If you do not configure this parameter, all instances are queried.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'ddoscoo-cn-zvp2eibz****', - ], - 'required' => false, - 'example' => 'ddoscoo-cn-mp91j1ao****', - 'maxItems' => 100, - ], + 'schema' => ['description' => 'The object that you want to add to the policy. Separate multiple objects with commas (,).', 'type' => 'string', 'required' => true, 'example' => 'www.aliyun.com', 'title' => ''], ], ], 'responses' => [ @@ -595,236 +416,191 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '310A41FD-0990-5610-92E0-A6A55D7C6444', - ], - 'InstanceIds' => [ - 'description' => 'The ID, type, description, and IP version of the instance.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'IpMode' => [ - 'description' => 'The IP address-based forwarding mode of the instance. Valid values:'."\n" - ."\n" - .'* **fnat**: Requests from IPv4 addresses are forwarded to origin servers that use IPv4 addresses and requests from IPv6 addresses are forwarded to origin servers that use IPv6 addresses.'."\n" - .'* **v6tov4**: All requests are forwarded to origin servers that use IPv4 addresses.'."\n", - 'type' => 'string', - 'example' => 'fnat', - ], - 'Edition' => [ - 'description' => 'The type of the instance. Valid values:'."\n" - ."\n" - .'* **0**: Anti-DDoS Proxy (Outside Chinese Mainland) instance of the Insurance mitigation plan'."\n" - .'* **1**: Anti-DDoS Proxy (Outside Chinese Mainland) instance of the Unlimited mitigation plan'."\n" - .'* **2**: Anti-DDoS Proxy (Outside Chinese Mainland) instance of the CMA mitigation plan'."\n" - .'* **3**: Anti-DDoS Proxy (Outside Chinese Mainland) instance of the Sec-CMA mitigation plan'."\n" - .'* **9**: Anti-DDoS Proxy (Chinese Mainland) instance of the Profession mitigation plan'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '9', - ], - 'InstanceId' => [ - 'description' => 'The ID of the instance.'."\n", - 'type' => 'string', - 'example' => 'ddoscoo-cn-zvp2eibz****', - ], - 'IpVersion' => [ - 'description' => 'The IP version of the instance. Valid values:'."\n" - ."\n" - .'* **Ipv4**'."\n" - .'* **Ipv6**'."\n", - 'type' => 'string', - 'example' => 'Ipv4', - ], - 'Remark' => [ - 'description' => 'The description of the instance.'."\n", - 'type' => 'string', - 'example' => 'test', - ], - ], - ], - ], + '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' => 'F65DF043-E0EB-4796-9467-23DDCDF92C1D', 'title' => ''], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"310A41FD-0990-5610-92E0-A6A55D7C6444\\",\\n \\"InstanceIds\\": [\\n {\\n \\"IpMode\\": \\"fnat\\",\\n \\"Edition\\": 9,\\n \\"InstanceId\\": \\"ddoscoo-cn-zvp2eibz****\\",\\n \\"IpVersion\\": \\"Ipv4\\",\\n \\"Remark\\": \\"test\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\n 310A41FD-0990-5610-92E0-A6A55D7C6444\\n \\n fnat\\n 9\\n ddoscoo-cn-zvp2eibz****\\n Ipv4\\n test\\n \\n","errorExample":""}]', - 'title' => 'DescribeInstanceIds', - 'summary' => 'The description of the instance.', + 'title' => 'AttachSceneDefenseObject', + 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeInstanceStatus' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:36.000Z', 'description' => 'Error codes changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'AttachSceneDefenseObject'], + ], ], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Success\\": true,\\n \\"RequestId\\": \\"F65DF043-E0EB-4796-9467-23DDCDF92C1D\\"\\n}","type":"json"}]', + ], + 'ConfigDomainSecurityProfile' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeCode' => '106154', - 'abilityTreeNodes' => [ - 'FEATUREddosMHU3MF', - ], - ], + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '106289', + 'abilityTreeNodes' => ['FEATUREddos64TBV6'], + ], 'parameters' => [ [ - 'name' => 'InstanceId', + 'name' => 'Domain', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the Anti-DDoS Proxy instance to query.'."\n" - ."\n" - .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all Anti-DDoS Proxy (Chinese Mainland) or Anti-DDoS Proxy (Outside Chinese Mainland) instances.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'ddoscoo-cn-6ja1y6p5****', - ], + 'schema' => ['description' => 'The domain name of the website.'."\n" + ."\n" + .'> A forwarding rule must be configured for the domain name. Call [DescribeDomains](~~91724~~) to query all domain names.', 'type' => 'string', 'required' => true, 'example' => 'example.aliyundoc.com', 'title' => ''], ], [ - 'name' => 'ProductType', + 'name' => 'Config', 'in' => 'query', - 'schema' => [ - 'description' => 'The type of the Anti-DDoS Proxy instance to query. Valid values:'."\n" - ."\n" - .'* **1**: an Anti-DDoS Proxy (Chinese Mainland) instance'."\n" - .'* **2**: an Anti-DDoS Proxy (Outside Chinese Mainland) instance'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '1', - ], + 'schema' => ['description' => 'The JSON string contains the configurations for the global mitigation policy:'."\n" + ."\n" + .'- **global\\_rule\\_mode**: The protection level of the global mitigation policy. This parameter is a string. Valid values:'."\n" + ."\n" + .' - **weak**: Loose'."\n" + ."\n" + .' - **default**: Normal'."\n" + ."\n" + .' - **hard**: Strict'."\n" + ."\n" + .'- **global\\_rule\\_enable**: Specifies whether to enable the global mitigation policy. This parameter is an integer. Valid values:'."\n" + ."\n" + .' - **0**: disabled'."\n" + ."\n" + .' - **1**: enabled'."\n" + ."\n" + .'The JSON string also contains the configuration for the blacklist/whitelist feature of a custom mitigation policy:'."\n" + ."\n" + .'- **bwlist\\_enable**: Specifies whether to enable the blacklist/whitelist feature. This parameter is an integer. Valid values:'."\n" + ."\n" + .' - **0**: disabled'."\n" + ."\n" + .' - **1**: enabled', 'type' => 'string', 'required' => true, 'example' => '{"global_rule_mode":"hard"}', 'title' => ''], + ], + [ + 'name' => 'Cluster', + 'in' => 'query', + 'schema' => ['description' => 'This parameter is deprecated.', 'type' => 'string', 'required' => false, 'example' => 'default', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'The response object.', 'type' => 'object', 'properties' => [ - 'InstanceStatus' => [ - 'description' => 'The status of the instance. Valid values:'."\n" - ."\n" - .'* **1**: normal'."\n" - .'* **2**: expired'."\n" - .'* **3**: overdue'."\n" - .'* **4**: released'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '112777CC-2AD6-46FC-A263-00B931406FCD', - ], - 'InstanceId' => [ - 'description' => 'The ID of the instance.'."\n", - 'type' => 'string', - 'example' => 'ddoscoo-cn-6ja1y6p5****', - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The ID of the request. A unique ID is returned for each request. Use this ID to troubleshoot issues.', 'type' => 'string', 'example' => '9728769F-9466-534E-BE12-CAB29A675828'], ], + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"InstanceStatus\\": 1,\\n \\"RequestId\\": \\"112777CC-2AD6-46FC-A263-00B931406FCD\\",\\n \\"InstanceId\\": \\"ddoscoo-cn-6ja1y6p5****\\"\\n}","errorExample":""},{"type":"xml","example":"\\r\\n\\r\\n\\t112777CC-2AD6-46FC-A263-00B931406FCD\\r\\n\\tddoscoo-cn-6ja1y6p5****\\r\\n\\t1\\r\\n","errorExample":""}]', - 'title' => 'DescribeInstanceStatus', - 'summary' => 'Queries the status of a specified Anti-DDoS Proxy instance.', - 'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see [Common parameters](~~157269~~).'."\n" - ."\n" - .'For more information about sample requests, see the **"Examples"** section of this topic.'."\n", - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'DescribeElasticBandwidthSpec' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'title' => 'ConfigDomainSecurityProfile', + 'summary' => 'Configures the status and protection level of an Anti-DDoS Global Mitigation Policy.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"9728769F-9466-534E-BE12-CAB29A675828\\"\\n}","type":"json"}]', + ], + 'ConfigL7GlobalRule' => [ + 'summary' => 'Configures an Anti-DDoS Global Mitigation Policy.', + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeCode' => '106142', - 'abilityTreeNodes' => [ - 'FEATUREddosIJFWZ1', - ], + 'operationType' => 'none', + 'abilityTreeCode' => '254166', + 'abilityTreeNodes' => ['FEATUREddosOZ1QOD'], ], 'parameters' => [ [ - 'name' => 'InstanceId', + 'name' => 'Domain', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the instance.'."\n" - ."\n" - .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'ddoscoo-cn-mp91j1ao****', - ], + 'schema' => ['description' => 'The domain name of the website service to configure.', 'type' => 'string', 'required' => true, 'example' => 'example.com', 'title' => ''], + ], + [ + 'name' => 'RuleAttr', + 'in' => 'query', + 'schema' => ['description' => 'The action and switch settings for global template rules. The value is a string that represents a JSON struct array. The JSON struct contains the following fields:'."\n" + ."\n" + .' - **RuleId**: String | Required | The rule ID.'."\n" + .' - **Action**: String | Required | The rule action. Valid values:'."\n" + .' - **block**: Block.'."\n" + .' - **watch**: Monitor.'."\n" + .' - **challenge**: JavaScript Challenge.'."\n" + .' - **Enabled**: Integer | Required | Specifies whether to enable the rule. Valid values:'."\n" + .' - **1**: enables the rule.'."\n" + .' - **0**: disables the rule.', 'type' => 'string', 'required' => true, 'example' => '[{\\"RuleId\\":\\"global_01\\",\\"Action\\":\\"block\\",\\"Enabled\\":0}]', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'title' => '', + 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc', - ], - 'ElasticBandwidthSpec' => [ - 'description' => 'An array that consists of the available burstable protection bandwidths. Unit: Gbit/s.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The burstable protection bandwidth.'."\n", - 'type' => 'string', - 'example' => '5', - ], - ], + 'RequestId' => ['title' => '', 'description' => 'The request ID. Alibaba Cloud generates a unique ID for each request. You can use the ID to troubleshoot issues.', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'], ], + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\",\\n \\"ElasticBandwidthSpec\\": [\\n \\"5\\"\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\r\\n\\r\\n\\t5\\r\\n\\t10\\r\\n\\t20\\r\\n\\t30\\r\\n\\t0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\r\\n","errorExample":""}]', - 'title' => 'DescribeElasticBandwidthSpec', - 'summary' => 'Queries the available burstable protection bandwidths of an Anti-DDoS Proxy (Chinese Mainland) instance.', - 'description' => '> This operation is suitable only for Anti-DDoS Proxy (Chinese Mainland).'."\n", - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'DescribeInstanceStatistics' => [ - 'methods' => [ - 'post', - 'get', + 'staticInfo' => ['returnType' => 'synchronous'], + 'gatewayOptions' => [ + 'gatewayProtocols' => [], ], - 'schemes' => [ - 'http', - 'https', + 'title' => 'Configure an Anti-DDoS Global Mitigation Policy', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:ConfigL7GlobalRule', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\"\\n}","type":"json"}]', + ], + 'ConfigL7RsPolicy' => [ + 'summary' => 'Configures a back-to-origin policy for the forwarding rule of a website.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -833,34 +609,68 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeCode' => '106153', - 'abilityTreeNodes' => [ - 'FEATUREddosMHU3MF', - ], + 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '106052', + 'abilityTreeNodes' => ['FEATUREddos64TBV6'], ], 'parameters' => [ [ - 'name' => 'InstanceIds', + 'name' => 'ResourceGroupId', 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => 'The ID of the instance that you want to query.'."\n" - ."\n" - .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The ID of instance N to query. The maximum value of N is 200. You can specify up to 200 instances. Separate the IDs of multiple instances with commas (,).'."\n" - ."\n" - .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'ddoscoo-cn-mp91j1ao****', - ], - 'required' => true, - 'example' => 'ddoscoo-cn-mp91j1ao****', - 'maxItems' => 100, - ], + 'schema' => ['description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n" + ."\n" + .'For more information about resource groups, see [Create a resource group](~~94485~~).', 'type' => 'string', 'required' => false, 'example' => 'rg-acfm2pz25js****', 'title' => ''], + ], + [ + 'name' => 'Domain', + 'in' => 'query', + 'schema' => ['description' => 'The domain name of the website.'."\n" + ."\n" + .'> A forwarding rule must be configured for the domain name. You can call the [DescribeDomains](~~91724~~) operation to query the domain names for which forwarding rules are configured.', 'type' => 'string', 'required' => true, 'example' => 'www.aliyun.com', 'title' => ''], + ], + [ + 'name' => 'Policy', + 'in' => 'query', + 'schema' => ['description' => 'The back-to-origin policy. The value is a string that consists of a JSON struct. The JSON struct contains the following fields:'."\n" + ."\n" + .'- **ProxyMode**: The load balancing algorithm for back-to-origin traffic. This field is required and must be a string. Valid values:'."\n" + ."\n" + .' - **ip\\_hash**: the IP hash algorithm. This algorithm is used to redirect requests from the same IP address to the same origin server.'."\n" + ."\n" + .' - **rr**: the round-robin algorithm. This algorithm is used to redirect requests to origin servers in turn. If you use this algorithm, you can specify a weight for each server based on server performance.'."\n" + ."\n" + .' - **least\\_time**: the least response time algorithm. This algorithm is used to minimize the latency when requests are forwarded from the instance to origin servers based on the intelligent DNS resolution feature.'."\n" + ."\n" + .'- **Attributes**: the parameters for back-to-origin processing. This field is optional and must be a JSON array. Each element in the array contains the following fields:'."\n" + ."\n" + .' - **RealServer**: the address of the origin server. This field is optional and must be a string.'."\n" + ."\n" + .' - **Attribute**: the parameter for back-to-origin processing. This field is optional and must be a JSON object. Valid values:'."\n" + ."\n" + .' - **Weight**: the weight of the server. This field is optional and must be an integer. This field takes effect only when **ProxyMode** is set to **rr**. Valid values: **1** to **100**. Default value: **100**. An origin server with a higher weight receives more requests.'."\n" + ."\n" + .' - **ConnectTimeout**: the timeout period for new connections. This field is optional and must be an integer. Valid values: **1** to **10**. Unit: seconds. Default value: **5**.'."\n" + ."\n" + .' - **FailTimeout**: the period after which a connection is considered to have failed. This field is optional and must be an integer. Valid values: **1** to **3600**. Unit: seconds. Default value: **10**.'."\n" + ."\n" + .' - **MaxFails**: the maximum number of failures allowed. This field is related to health checks. This field is optional and must be an integer. Valid values: **1** to **10**. Unit: seconds. Default value: **3**.'."\n" + ."\n" + .' - **Mode**: the primary/secondary attribute flag. This parameter is optional and must be a string. Valid values: **active** (primary) and **backup** (secondary).'."\n" + ."\n" + .' - **ReadTimeout**: the read timeout period. This field is optional and must be an integer. Valid values: **10** to **300**. Unit: seconds. Default value: **120**.'."\n" + ."\n" + .' - **SendTimeout**: the write timeout period. This field is optional and must be an integer. Valid values: **10** to **300**. Unit: seconds. Default value: **120**.', 'type' => 'string', 'required' => true, 'example' => '{"ProxyMode":"rr","Attributes":[{"RealServer":"1.***.***.1","Attribute":{"Weight":100,"ConnectTimeout":5,"FailTimeout":10,"MaxFails":3,"Mode":"active","ReadTimeout":120,"SendTimeout":120}},{"RealServer":"2.***.***.2","Attribute":{"Weight":100,"ConnectTimeout":5,"FailTimeout":10,"MaxFails":3,"Mode":"active","ReadTimeout":120,"SendTimeout":120}}]}', 'title' => ''], + ], + [ + 'name' => 'UpstreamRetry', + 'in' => 'query', + 'schema' => ['description' => 'The retry switch. Valid values:'."\n" + ."\n" + .'- **1**: on'."\n" + ."\n" + .'- **0**: off', 'type' => 'integer', 'format' => 'int32', 'default' => '1', 'required' => false, 'example' => '1', 'title' => ''], ], ], 'responses' => [ @@ -868,268 +678,306 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request, which is used to locate and troubleshoot issues.'."\n", - 'type' => 'string', - 'example' => '642319A9-D1F2-4459-A447-E57CFC599FDE', - ], - 'InstanceStatistics' => [ - 'description' => 'The statistics on the instance.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'DomainUsage' => [ - 'description' => 'The number of domain names that are protected by the instance.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'DefenseCountUsage' => [ - 'description' => 'The number of advanced mitigation sessions that are used in this month.'."\n" - ."\n" - .'> This parameter is returned only if Anti-DDoS Proxy (Outside Chinese Mainland) instances are queried.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'InstanceId' => [ - 'description' => 'The ID of the instance.'."\n", - 'type' => 'string', - 'example' => 'ddoscoo-cn-mp91j1ao****', - ], - 'SiteUsage' => [ - 'description' => 'The number of websites that are protected by the instance.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'PortUsage' => [ - 'description' => 'The number of ports that are protected by the instance.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - ], - ], - ], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc', 'title' => ''], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"642319A9-D1F2-4459-A447-E57CFC599FDE\\",\\n \\"InstanceStatistics\\": [\\n {\\n \\"DomainUsage\\": 1,\\n \\"DefenseCountUsage\\": 1,\\n \\"InstanceId\\": \\"ddoscoo-cn-mp91j1ao****\\",\\n \\"SiteUsage\\": 1,\\n \\"PortUsage\\": 2\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\n 642319A9-D1F2-4459-A447-E57CFC599FDE\\n \\n 1\\n 1\\n ddoscoo-cn-mp91j1ao****\\n 1\\n 2\\n \\n","errorExample":""}]', - 'title' => 'DescribeInstanceStatistics', - 'summary' => 'Queries the statistics on one or more Anti-DDoS Proxy instances, such as the numbers of protected domain names and ports.', - 'requestParamsDescription' => ' ', + 'title' => 'ConfigL7RsPolicy', + 'description' => 'If multiple origin servers are configured for a website that is added to Anti-DDoS Pro or Anti-DDoS Premium, you can modify the load balancing algorithms for back-to-origin traffic based on back-to-origin policies. The IP hash algorithm is used by default. You can change the algorithm to the round-robin or least response time algorithm. For more information, see the description of the **Policy** parameter in the "Request parameters" section of this topic.', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeInstances' => [ - 'summary' => '查询实例列表', - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2024-05-09T09:53:17.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2022-09-08T03:34:35.000Z', 'description' => 'Error codes changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ConfigL7RsPolicy'], + ], ], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}","type":"json"}]', + ], + 'ConfigL7UsKeepalive' => [ + 'summary' => 'Configures the persistent connection settings for back-to-origin requests of a domain name.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeCode' => '106151', - 'abilityTreeNodes' => [ - 'FEATUREddosMHU3MF', - ], + 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '215883', + 'abilityTreeNodes' => ['FEATUREddos64TBV6'], ], 'parameters' => [ [ - 'name' => 'ResourceGroupId', + 'name' => 'Domain', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the resource group to which the instance belongs in Resource Management.'."\n" - ."\n" - .'If you do not specify this parameter, the instance belongs to the default resource group.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'rg-acfm2pz25js****', - ], + 'schema' => ['description' => 'The domain name of the website service.'."\n" + .'> The domain name must have a website service forwarding rule configured. You can call [DescribeDomains](~~91724~~) to query all domain names.', 'type' => 'string', 'required' => false, 'example' => 'www.aliyun.com', 'title' => ''], ], [ - 'name' => 'PageNumber', + 'name' => 'UpstreamKeepalive', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of the page to return.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '1', - ], + 'schema' => ['description' => 'The persistent connection settings for back-to-origin requests of Anti-DDoS Proxy. The value is a string that represents a JSON struct. The JSON struct contains the following fields:'."\n" + ."\n" + .'- **enabled**: Boolean | Required | Specifies whether to enable persistent connections for back-to-origin requests.'."\n" + .'- **keepalive_requests**: Integer | Required | The number of requests that can be sent over a persistent connection.'."\n" + .'- **keepalive_timeout**: Integer | Required | The idle timeout period of a persistent connection.', 'type' => 'string', 'required' => true, 'example' => '{"enabled": true, "keepalive_requests": 1000,"keepalive_timeout": 30}', 'title' => ''], ], [ - 'name' => 'PageSize', + 'name' => 'DownstreamKeepalive', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of entries to return on each page.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '10', - ], + 'schema' => ['description' => 'The idle timeout period of the persistent connection between the client and Anti-DDoS Proxy.', 'type' => 'string', 'required' => false, 'example' => '60', 'title' => ''], ], - [ - 'name' => 'Ip', - 'in' => 'query', + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'The IP address of the instance to query.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '203.107.XX.XX', + 'title' => '', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => '', 'description' => 'The ID of the request. Alibaba Cloud generates a unique identifier for each request. You can use the ID to troubleshoot issues.', 'type' => 'string', 'example' => '6D48AED0-41DB-5D9B-B484-3B6AAD312AW2'], + ], + 'example' => '', ], ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'Configure back-to-origin persistent connection settings for a domain name', + 'changeSet' => [ + ['createdAt' => '2025-09-19T08:52:35.000Z', 'description' => 'Request parameters changed'], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ [ - 'name' => 'Remark', - 'in' => 'query', - 'schema' => [ - 'description' => 'The remarks of the instance to query. Fuzzy match is supported.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'doc-test', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:ConfigL7RsKeepalive', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6D48AED0-41DB-5D9B-B484-3B6AAD312AW2\\"\\n}","type":"json"}]', + ], + 'ConfigLayer4Remark' => [ + 'summary' => 'Adds a description to a port forwarding rule.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'Edition', - 'in' => 'query', - 'schema' => [ - 'description' => 'The mitigation plan of the instance to query. Valid values:'."\n" - ."\n" - .'* **0**: Anti-DDoS Proxy (Outside Chinese Mainland) instance of the Insurance mitigation plan'."\n" - .'* **1**: Anti-DDoS Proxy (Outside Chinese Mainland) instance of the Unlimited mitigation plan'."\n" - .'* **2**: Anti-DDoS Proxy (Outside Chinese Mainland) instance of the Chinese Mainland Acceleration (CMA) mitigation plan'."\n" - .'* **9**: Anti-DDoS Proxy (Chinese Mainland) instance of the Profession mitigation plan'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '9', - ], + 'AK' => [], ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '106053', + 'abilityTreeNodes' => ['FEATUREddosN7DYCX'], + ], + 'parameters' => [ [ - 'name' => 'Enabled', + 'name' => 'Listeners', 'in' => 'query', - 'schema' => [ - 'description' => 'The traffic forwarding status of the instance to query. Valid values:'."\n" - ."\n" - .'* **0**: The instance no longer forwards service traffic.'."\n" - .'* **1**: The instance forwards service traffic as expected.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => 'The port forwarding rule that you want to manage.'."\n" + ."\n" + .'This parameter is a string that consists of JSON arrays. Each element in a JSON array indicates a port forwarding rule. You can perform this operation only on one port forwarding rule at a time.'."\n" + ."\n" + .'> You can call the [DescribeNetworkRules](~~157484~~) to query existing port forwarding rules.'."\n" + ."\n" + .'Each port forwarding rule contains the following fields:'."\n" + ."\n" + .'- **InstanceId**: the ID of the instance. This field is required and must be of the STRING type.'."\n" + ."\n" + .'- **Protocol**: the forwarding protocol. This field is required and must be of the STRING type. Valid values: **tcp** and **udp**.'."\n" + ."\n" + .'- **FrontendPort**: the forwarding port. This field is required and must be of the INTEGER type.'."\n" + ."\n" + .'- **Remark**: the remarks of the port forwarding rule. This field is required and must be of the STRING type. The value can contain letters, digits, and some special characters, such as `, . + - * / _`. The value can be up to 200 characters in length.', 'type' => 'string', 'required' => true, 'example' => '[{\\"InstanceId\\":\\"ddosDip-sg-4hr2b3l****\\",\\"FrontendPort\\":2020,\\"Protocol\\":\\"udp\\",\\"Remark\\":\\"test\\"}]', 'title' => ''], ], - [ - 'name' => 'ExpireStartTime', - 'in' => 'query', + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'The beginning of the time range to query. Instances whose expiration time is later than the point in time are queried. This value is a UNIX timestamp. Unit: milliseconds.', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1640361500000', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '6E46CC51-36BE-1100-B14C-DAF8381B8F73', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], - [ - 'name' => 'ExpireEndTime', - 'in' => 'query', - 'schema' => [ - 'description' => 'The end of the time range to query. Instances whose expiration time is earlier than the point in time are queried. This value is a UNIX timestamp. Unit: milliseconds.', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1640361700000', - ], + ], + 'title' => 'ConfigLayer4Remark', + 'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see [Common parameters](~~157269~~).'."\n" + ."\n" + .'For more information about sample requests, see the **"Examples"** section of this topic.', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:35.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ConfigLayer4Remark'], ], + ], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6E46CC51-36BE-1100-B14C-DAF8381B8F73\\"\\n}","type":"json"}]', + ], + 'ConfigLayer4RuleBakMode' => [ + 'summary' => 'Enables or disables the origin redundancy mode for a port forwarding rule.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'InstanceIds', + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '106054', + 'abilityTreeNodes' => ['FEATUREddosCRC1QI'], + ], + 'parameters' => [ + [ + 'name' => 'BakMode', 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => 'The IDs of the instances to query. You can specify up to 200 instance IDs.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The ID of the instance to query.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'ddoscoo-cn-7pp2g9ed****', - ], - 'required' => false, - 'maxItems' => 100, - ], + 'schema' => ['description' => 'The mode that you want to use to forward service traffic. Valid values:'."\n" + ."\n" + .'- **0**: the default mode. In this mode, Anti-DDoS Pro or Anti-DDoS Premium forwards service traffic to the origin IP address that you specified when you created the port forwarding rule. You can call the [CreateNetworkRules](~~157482~~) operation to create a port forwarding rule.'."\n" + ."\n" + .'- **1**: the origin redundancy mode. In this mode, Anti-DDoS Pro or Anti-DDoS Premium forwards service traffic to the IP addresses of the primary or secondary origin servers. You can call the [ConfigLayer4RulePolicy](~~312684~~) operation to configure IP addresses.', 'type' => 'string', 'required' => true, 'example' => '1', 'title' => ''], ], [ - 'name' => 'Status', + 'name' => 'Listeners', 'in' => 'query', - 'style' => 'repeatList', + 'schema' => ['description' => 'The port forwarding rule that you want to manage.'."\n" + ."\n" + .'This parameter is a string that consists of JSON arrays. Each element in a JSON array indicates a port forwarding rule. You can perform this operation only on one port forwarding rule at a time.'."\n" + ."\n" + .'> You can call the [DescribeNetworkRules](~~157484~~) to query existing port forwarding rules.'."\n" + ."\n" + .'Each port forwarding rule contains the following fields:'."\n" + ."\n" + .'- **InstanceId**: the ID of the instance. This field is required and must be of the STRING type.'."\n" + ."\n" + .'- **Protocol**: the forwarding protocol. This field is required and must be of the STRING type. Valid values: **tcp** and **udp**.'."\n" + ."\n" + .'- **FrontendPort**: the forwarding port. This field is required and must be of the INTEGER type.', 'type' => 'string', 'required' => true, 'example' => '[{\\"InstanceId\\":\\"ddosDip-sg-4hr2b3l****\\",\\"FrontendPort\\":2020,\\"Protocol\\":\\"udp\\"}]', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'The states of the instances to query. You can specify up to two states.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The status of the instances to query. Valid values:'."\n" - ."\n" - .'* **1**: normal'."\n" - .'* **2**: expired'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => 'CC042262-15A3-4A49-ADF0-130968EA47BC', 'title' => ''], ], - 'required' => false, - 'maxItems' => 10, + 'description' => '', + 'title' => '', + 'example' => '', ], ], + ], + 'title' => 'ConfigLayer4RuleBakMode', + 'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see [Common parameters](~~157269~~).'."\n" + ."\n" + .'For more information about sample requests, see the **"Examples"** section of this topic.', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:35.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ConfigLayer4RuleBakMode'], + ], + ], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CC042262-15A3-4A49-ADF0-130968EA47BC\\"\\n}","type":"json"}]', + ], + 'ConfigLayer4RulePolicy' => [ + 'summary' => 'Configures the IP addresses of the primary and secondary origin servers for a port forwarding rule.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '106055', + 'abilityTreeNodes' => ['FEATUREddosCRC1QI'], + ], + 'parameters' => [ [ - 'name' => 'Tag', + 'name' => 'Listeners', 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => 'The tags that are added to the instances to query.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Key' => [ - 'description' => 'The key of the tag that is added to the instance to query. You can specify up to 200 tag keys. When you specify tags, take note of the following rules:'."\n" - ."\n" - .'* Each tag consists of a key (**Key**) and a value (**Value**), which are separated with a comma (,).'."\n" - .'* Separate multiple tags with commas (,).'."\n" - ."\n" - .'> The tag key (**Key**) and tag value (**Value**) must be specified in pairs.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'test-key', - ], - 'Value' => [ - 'description' => 'The value of the tag that is added to the instance to query. You can specify up to 200 tag values. When you specify tags, take note of the following rules:'."\n" - ."\n" - .'* Each tag consists of a key (**Key**) and a value (**Value**), which are separated with a comma (,).'."\n" - .'* Separate multiple tags with commas (,).'."\n" - ."\n" - .'> The tag key (**Key**) and tag value (**Value**) must be specified in pairs.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'test-value', - ], - ], - 'required' => false, - ], - 'required' => false, - 'maxItems' => 20, - ], + 'schema' => ['description' => 'The port forwarding rule that you want to manage.'."\n" + ."\n" + .'This parameter is a string that consists of JSON arrays. Each element in a JSON array indicates a port forwarding rule. You can perform this operation only on one port forwarding rule at a time.'."\n" + ."\n" + .'> You can call the [DescribeNetworkRules](~~157484~~) to query existing port forwarding rules.'."\n" + ."\n" + .'Each port forwarding rule contains the following fields:'."\n" + ."\n" + .'- **InstanceId**: the ID of the instance. This field is required and must be of the STRING type.'."\n" + ."\n" + .'- **Protocol**: the forwarding protocol. This field is required and must be of the STRING type. Valid values: **tcp** and **udp**.'."\n" + ."\n" + .'- **FrontendPort**: the forwarding port. This field is required and must be of the INTEGER type.'."\n" + ."\n" + .'- **BackendPort**: the port of the origin server. This field is required and must be of the INTEGER type.'."\n" + ."\n" + .'- **PriRealServers**: the IP addresses of the primary origin server. This field is required and must be a JSON array. Each element in a JSON array indicates an IP address of the primary origin server. You can configure a maximum of 20 IP addresses.'."\n" + ."\n" + .' Each element in the JSON array contains the following field:'."\n" + ."\n" + .' - **RealServer**: the IP address of the primary origin server. This field is required and must be of the STRING type.'."\n" + ."\n" + .'- **SecRealServers**: the IP addresses of the secondary origin server. This field is required and must be a JSON array. Each element in a JSON array indicates an IP address of the secondary origin server. You can configure a maximum of 20 IP addresses.'."\n" + ."\n" + .' Each element in the JSON array contains the following field:'."\n" + ."\n" + .' - **RealServer**: the IP address of the secondary origin server. This field is required and must be of the STRING type.'."\n" + ."\n" + .'- **CurrentRsIndex**: the origin server that you want to use to receive service traffic. This field is required and must be of the INTEGER type. Valid values:'."\n" + ."\n" + .' - **1**: the primary origin server, which indicates that Anti-DDoS Pro or Anti-DDoS Premium forwards service traffic to the IP addresses of the primary origin server.'."\n" + ."\n" + .' - **2**: the secondary origin server, which indicates that Anti-DDoS Pro or Anti-DDoS Premium forwards service traffic to the IP addresses of the secondary origin server.', 'type' => 'string', 'required' => true, 'example' => '[{\\"InstanceId\\":\\"ddosDip-sg-4hr2b3l****\\",\\"Protocol\\":\\"udp\\",\\"FrontendPort\\":2020,\\"BackendPort\\":2022,\\"PriRealServers\\":[{\\"RealServer\\":\\"192.0.2.1\\"},{\\"RealServer\\":\\"192.0.2.2\\"}],\\"SecRealServers\\":[{\\"RealServer\\":\\"192.0.2.3\\"},{\\"RealServer\\":\\"192.0.2.4\\"}],\\"CurrentRsIndex\\":1}]', 'title' => ''], ], ], 'responses' => [ @@ -1137,173 +985,81 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'TotalCount' => [ - 'description' => 'The total number of the instances.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'RequestId' => [ - 'description' => 'The ID of the request, which is used to locate and troubleshoot issues.'."\n", - 'type' => 'string', - 'example' => 'A0AF40CC-814A-5A86-AEAA-6F19E88B8A39', - ], - 'Instances' => [ - 'description' => 'The details about the instances.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Status' => [ - 'description' => 'The status of the instance. Valid values:'."\n" - ."\n" - .'* **1**: normal'."\n" - .'* **2**: expired'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'IpMode' => [ - 'description' => 'The IP address-based forwarding mode of the instance. Valid values:'."\n" - ."\n" - .'* **fnat**: Requests from IPv4 addresses are forwarded to origin servers that use IPv4 addresses and requests from IPv6 addresses are forwarded to origin servers that use IPv6 addresses.'."\n" - .'* **v6tov4**: All requests are forwarded to origin servers that use IPv4 addresses.'."\n", - 'type' => 'string', - 'example' => 'fnat', - ], - 'DebtStatus' => [ - 'description' => 'The overdue status of the instance. The value is fixed as **0**, which indicates that your Alibaba Cloud account does not have overdue payments. The instance supports only the subscription billing method.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'Edition' => [ - 'description' => 'The mitigation plan of the instance. Valid values:'."\n" - ."\n" - .'* **0**: Anti-DDoS Proxy (Outside Chinese Mainland) instance of the Insurance mitigation plan'."\n" - .'* **1**: Anti-DDoS Proxy (Outside Chinese Mainland) instance of the Unlimited mitigation plan'."\n" - .'* **2**: Anti-DDoS Proxy (Outside Chinese Mainland) instance of the Chinese Mainland Acceleration (CMA) mitigation plan'."\n" - .'* **9**: Anti-DDoS Proxy (Chinese Mainland) instance of the Profession mitigation plan'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '9', - ], - 'IpVersion' => [ - 'description' => 'The IP version of the instance. Valid values:'."\n" - ."\n" - .'* **Ipv4**'."\n" - .'* **Ipv6**'."\n", - 'type' => 'string', - 'example' => 'Ipv4', - ], - 'ExpireTime' => [ - 'description' => 'The time when the instance expires. The value is a UNIX timestamp. Unit: milliseconds.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1640361600000', - ], - 'Remark' => [ - 'description' => 'The remarks of the instance.'."\n", - 'type' => 'string', - 'example' => 'doc-test', - ], - 'CreateTime' => [ - 'description' => 'The time when the instance was created. The value is a UNIX timestamp. Unit: milliseconds.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1637751953000', - ], - 'Enabled' => [ - 'description' => 'The traffic forwarding status of the instance. Valid values:'."\n" - ."\n" - .'* **0**: The instance no longer forwards service traffic.'."\n" - .'* **1**: The instance forwards service traffic as expected.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'InstanceId' => [ - 'description' => 'The ID of the instance.'."\n", - 'type' => 'string', - 'example' => 'ddoscoo-cn-7pp2g9ed****', - ], - 'IsFirstOpenBw' => [ - 'description' => 'Indicates whether the metering method of the 95th percentile burstable clean bandwidth is enabled for the instance. Valid values:'."\n" - ."\n" - .'* 0: no'."\n" - .'* 1: yes'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'IsFirstOpenQps' => [ - 'description' => 'Indicates whether the metering method of the 95th percentile burstable QPS is enabled for the instance. Valid values:'."\n" - ."\n" - .'* 0: no'."\n" - .'* 1: yes'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'Ip' => [ - 'description' => 'The IP address of the instance.'."\n", - 'type' => 'string', - 'example' => '203.199.XX.XX', - ], - ], - ], - ], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => 'CC042262-15A3-4A49-ADF0-130968EA47BC', 'title' => ''], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"TotalCount\\": 1,\\n \\"RequestId\\": \\"A0AF40CC-814A-5A86-AEAA-6F19E88B8A39\\",\\n \\"Instances\\": [\\n {\\n \\"Status\\": 1,\\n \\"IpMode\\": \\"fnat\\",\\n \\"DebtStatus\\": 0,\\n \\"Edition\\": 9,\\n \\"IpVersion\\": \\"Ipv4\\",\\n \\"ExpireTime\\": 1640361600000,\\n \\"Remark\\": \\"doc-test\\",\\n \\"CreateTime\\": 1637751953000,\\n \\"Enabled\\": 1,\\n \\"InstanceId\\": \\"ddoscoo-cn-7pp2g9ed****\\",\\n \\"IsFirstOpenBw\\": 0,\\n \\"IsFirstOpenQps\\": 0,\\n \\"Ip\\": \\"203.199.XX.XX\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\n 1\\n A0AF40CC-814A-5A86-AEAA-6F19E88B8A39\\n \\n 1\\n fnat\\n 0\\n 9\\n Ipv4\\n 1640361600000\\n doc-test\\n 1637751953000\\n 1\\n ddoscoo-cn-7pp2g9ed****\\n 0\\n \\n","errorExample":""}]', - 'title' => 'DescribeInstances', - 'description' => 'You can call the DescribeInstances operation to query the details of Anti-DDoS Pro or Anti-DDoS Premium instances within the Alibaba Cloud account by page. The details include the ID, mitigation plan, expiration time, and forwarding status.', - ], - 'DescribeInstanceSpecs' => [ - 'methods' => [ - 'post', - 'get', + 'title' => 'ConfigLayer4RulePolicy', + 'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see [Common parameters](~~157269~~).'."\n" + ."\n" + .'For more information about sample requests, see the **"Examples"** section of this topic.', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:35.000Z', 'description' => 'Error codes changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ConfigLayer4RulePolicy'], + ], ], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CC042262-15A3-4A49-ADF0-130968EA47BC\\"\\n}","type":"json"}]', + ], + 'ConfigNetworkRegionBlock' => [ + 'summary' => 'Configures blocked locations for an Anti-DDoS Proxy instance.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeCode' => '106152', - 'abilityTreeNodes' => [ - 'FEATUREddosMHU3MF', - ], + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '106056', + 'abilityTreeNodes' => ['FEATUREddosOZ1QOD'], ], 'parameters' => [ [ - 'name' => 'InstanceIds', + 'name' => 'InstanceId', 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => 'An array that consists of the IDs of instances to query.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The ID of the instance to query.'."\n" - ."\n" - .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'ddoscoo-cn-zvp2eibz****', - ], - 'required' => true, - 'maxItems' => 100, - ], + 'schema' => ['description' => 'The ID of the instance.'."\n" + ."\n" + .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.', 'type' => 'string', 'required' => true, 'example' => 'ddoscoo-cn-mp91j1ao****', 'title' => ''], + ], + [ + 'name' => 'Config', + 'in' => 'query', + 'schema' => ['description' => 'The details of the configurations of blocked locations. This parameter is a JSON string. The value consists of the following fields:'."\n" + ."\n" + .'- **RegionBlockSwitch**: the status of the location blacklist feature. This field is required and must be of the string type. Valid values:'."\n" + ."\n" + .' - **on**'."\n" + ."\n" + .' - **off**'."\n" + ."\n" + .'- **Countries**: the codes of the countries and areas from which you want to block requests. This field is optional and must be of the array type.'."\n" + ."\n" + .' \\*\\*'."\n" + ."\n" + .' **Note** For more information about the codes of countries and areas, see [Location parameters](~~167926~~).'."\n" + ."\n" + .'- **Provinces**: the codes of the administrative regions in China from which you want to block requests. This field is optional and must be of the array type.'."\n" + ."\n" + .' \\*\\*'."\n" + ."\n" + .' **Note** For more information about the codes of administrative regions in China, see [Location parameters](~~167926~~).'."\n" + ."\n" + .' For example, `[11,12]` specifies Beijing and Tianjin.', 'type' => 'string', 'required' => true, 'example' => '{"RegionBlockSwitch":"on","Countries":[],"Provinces":[11,12,13,14,15,21,22,23,31,32,33,34,35,36,37,41,42,43,44,45,46,50,51,52,53,54,61,62,63,64,65,71,81,82]}', 'title' => ''], ], ], 'responses' => [ @@ -1311,158 +1067,35 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request, which is used to locate and troubleshoot issues.'."\n", - 'type' => 'string', - 'example' => '4E3A9B5F-5DDB-593D-A1E6-F1F451DB5E0B', - ], - 'InstanceSpecs' => [ - 'description' => 'The details of the specifications of the instance.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'BaseBandwidth' => [ - 'description' => 'The basic protection bandwidth. Unit: Gbit/s.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '30', - ], - 'QpsLimit' => [ - 'description' => 'The clean QPS.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '3000', - ], - 'BandwidthMbps' => [ - 'description' => 'The clean bandwidth. Unit: Mbit/s.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '100', - ], - 'ElasticBw' => [ - 'description' => 'The burstable clean bandwidth. Unit: Mbit/s.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '300', - ], - 'DefenseCount' => [ - 'description' => 'The number of available advanced mitigation sessions for this month. **-1**: unlimited'."\n" - ."\n" - .'> This parameter is returned only when the request parameter **RegionId** is set to **ap-southeast-1**. If RegionId is set to ap-southeast-1, the specifications of Anti-DDoS Proxy (Outside Chinese Mainland) instances are queried.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'SiteLimit' => [ - 'description' => 'The number of sites that can be protected by the instance.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '5', - ], - 'PortLimit' => [ - 'description' => 'The number of ports that can be protected by the instance.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '50', - ], - 'ElasticBandwidth' => [ - 'description' => 'The burstable protection bandwidth. Unit: Gbit/s.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '30', - ], - 'FunctionVersion' => [ - 'description' => 'The function plan of the instance. Valid values:'."\n" - ."\n" - .'* **default**: Standard'."\n" - .'* **enhance**: Enhanced'."\n" - .'* **cnhk**: Chinese Mainland Acceleration (CMA)'."\n" - .'* **cnhk_default**: Secure Chinese Mainland Acceleration (Sec-CMA) standard'."\n" - .'* **cnhk_enhance**: Sec-CMA enhanced'."\n", - 'type' => 'string', - 'example' => 'default', - ], - 'InstanceId' => [ - 'description' => 'The ID of the instance.'."\n", - 'type' => 'string', - 'example' => 'ddoscoo-cn-zvp2eibz****', - ], - 'DomainLimit' => [ - 'description' => 'The number of domain names that can be protected by the instance.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '50', - ], - 'ElasticBwModel' => [ - 'description' => 'The metering method of the burstable clean bandwidth. Valid values:'."\n" - ."\n" - .'* **day**: the metering method of daily 95th percentile'."\n" - .'* **month**: the metering method of monthly 95th percentile'."\n", - 'type' => 'string', - 'example' => 'day', - ], - 'CpsLimit' => [ - 'description' => 'The specification of new connections of the instance.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '5000', - ], - 'ConnLimit' => [ - 'description' => 'The specification of concurrent connections of the instance.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '100000', - ], - 'RealLimitBw' => [ - 'description' => 'The threshold of the clean bandwidth. Valid values: 0 to 15360. The value 0 indicates that rate limiting is never triggered. Unit: Mbit/s'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'ElasticQpsMode' => [ - 'description' => 'The metering method of the burstable QPS. Valid values:'."\n" - ."\n" - .'* **day**: the metering method of daily 95th percentile'."\n" - .'* **month**: the metering method of monthly 95th percentile'."\n", - 'type' => 'string', - 'example' => 'day', - ], - 'ElasticQps' => [ - 'description' => 'The burstable QPS. Unit: QPS'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', - ], - ], - ], - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E', 'title' => ''], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4E3A9B5F-5DDB-593D-A1E6-F1F451DB5E0B\\",\\n \\"InstanceSpecs\\": [\\n {\\n \\"BaseBandwidth\\": 30,\\n \\"QpsLimit\\": 3000,\\n \\"BandwidthMbps\\": 100,\\n \\"ElasticBw\\": 300,\\n \\"DefenseCount\\": 2,\\n \\"SiteLimit\\": 5,\\n \\"PortLimit\\": 50,\\n \\"ElasticBandwidth\\": 30,\\n \\"FunctionVersion\\": \\"default\\",\\n \\"InstanceId\\": \\"ddoscoo-cn-zvp2eibz****\\",\\n \\"DomainLimit\\": 50,\\n \\"ElasticBwModel\\": \\"day\\",\\n \\"CpsLimit\\": 5000,\\n \\"ConnLimit\\": 100000,\\n \\"RealLimitBw\\": 0,\\n \\"ElasticQpsMode\\": \\"day\\",\\n \\"ElasticQps\\": 10\\n }\\n ]\\n}","type":"json"}]', - 'title' => 'DescribeInstanceSpecs', - 'summary' => 'Queries the specifications of Anti-DDoS Pro or Anti-DDoS Premium instances.', - 'description' => 'You can call the DescribeInstanceSpecs operation to query the specifications of multiple Anti-DDoS Pro or Anti-DDoS Premium instances at a time. The specifications include the clean bandwidth, protection bandwidth, function plan, and the numbers of domain names and ports that can be protected.'."\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", + 'title' => 'ConfigNetworkRegionBlock', 'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see [Common parameters](~~157269~~).'."\n" ."\n" - .'For more information about sample requests, see the **"Examples"** section of this topic.'."\n", - ], - 'DescribeInstanceDetails' => [ - 'methods' => [ - 'post', - 'get', + .'For more information about sample requests, see the **Examples** section of this topic.', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:35.000Z', 'description' => 'Error codes changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ConfigNetworkRegionBlock'], + ], ], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E\\"\\n}","type":"json"}]', + ], + 'ConfigNetworkRules' => [ + 'summary' => 'Modifies the IP addresses of the origin server that is configured in a port forwarding rule.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1471,31 +1104,29 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeCode' => '106149', - 'abilityTreeNodes' => [ - 'FEATUREddosMHU3MF', - ], + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '106057', + 'abilityTreeNodes' => ['FEATUREddos64TBV6'], ], 'parameters' => [ [ - 'name' => 'InstanceIds', + 'name' => 'NetworkRules', 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => 'An array that consists of the IDs of instances to query.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The ID of the instance to query.'."\n" - ."\n" - .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'ddoscoo-cn-zvp2eibz****', - ], - 'required' => true, - 'maxItems' => 100, - ], + 'schema' => ['description' => 'The details of the port forwarding rule. This parameter is a JSON string. The string contains the following fields:'."\n" + ."\n" + .'- **InstanceId**: the ID of the instance. This field is required and must be of the STRING type.'."\n" + ."\n" + .'- **Protocol**: the forwarding protocol. This field is required and must be of the STRING type. Valid values: **tcp** and **udp**.'."\n" + ."\n" + .'- **FrontendPort**: the forwarding port. This field is required and must be of the INTEGER type.'."\n" + ."\n" + .'- **BackendPort**: the port of the origin server. This field is required and must be of the INTEGER type.'."\n" + ."\n" + .'- **RealServers**: the IP addresses of the origin server. This field is required and must be a JSON array. You can specify up to 20 IP addresses.'."\n" + ."\n" + .'> You can modify only the value of **RealServers** when you modify a port forwarding rule.', 'type' => 'string', 'required' => true, 'example' => '[{"InstanceId":"ddoscoo-cn-mp91j1ao****","Protocol":"tcp","FrontendPort":8080,"BackendPort":8080,"RealServers":["1.1.1.1","2.2.2.2","3.3.3.3"]}]', 'title' => ''], ], ], 'responses' => [ @@ -1503,120 +1134,32 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '3C814429-21A5-4673-827E-FDD19DC75681', - ], - 'InstanceDetails' => [ - 'description' => 'The IP address and ISP line information about the Anti-DDoS Proxy instance.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Line' => [ - 'description' => 'The protection line of the instance.'."\n", - 'type' => 'string', - 'example' => 'coop-line-001', - ], - 'InstanceId' => [ - 'description' => 'The ID of the instance.'."\n", - 'type' => 'string', - 'example' => 'ddoscoo-cn-zvp2eibz****', - ], - 'EipInfos' => [ - 'description' => 'The IP address information about the Anti-DDoS Proxy instance.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Status' => [ - 'description' => 'The status of the instance. Valid values:'."\n" - ."\n" - .'* **normal**: indicates that the instance is normal.'."\n" - .'* **expired**: indicates that the instance expired.'."\n" - .'* **defense**: indicates that traffic scrubbing is performed on the asset that is protected by the instance.'."\n" - .'* **blackhole**: indicates that blackhole filtering is triggered for the asset that is protected by the instance.'."\n" - .'* **punished**: indicates that the instance is in penalty.'."\n", - 'type' => 'string', - 'example' => 'normal', - ], - 'IpMode' => [ - 'description' => 'The IP address-based forwarding mode of the instance. Valid values:'."\n" - ."\n" - .'* **fnat**: Requests from IPv4 addresses are forwarded to origin servers that use IPv4 addresses and requests from IPv6 addresses are forwarded to origin servers that use IPv6 addresses.'."\n" - .'* **v6tov4**: All requests are forwarded to origin servers that use IPv4 addresses.'."\n", - 'type' => 'string', - 'example' => 'fnat', - ], - 'Eip' => [ - 'description' => 'The IP address of the instance.'."\n", - 'type' => 'string', - 'example' => '203.117.XX.XX', - ], - 'IpVersion' => [ - 'description' => 'The IP version of the protocol. Valid values:'."\n" - ."\n" - .'* **Ipv4**: IPv4'."\n" - .'* **Ipv6**: IPv6'."\n", - 'type' => 'string', - 'example' => 'Ipv4', - ], - 'CertConfigured' => [ - 'description' => 'Indicates whether a custom certificate is configured.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'TlsVersion' => [ - 'description' => 'The Transport Layer Security (TLS) version that is configured.'."\n", - 'type' => 'string', - 'example' => 'tls1.2', - ], - 'Ssl13Enabled' => [ - 'description' => 'Indicates whether the TLS 1.3 version is supported.'."\n", - 'type' => 'boolean', - 'example' => 'false', - ], - 'FunctionVersion' => [ - 'description' => 'The type of the instance.'."\n", - 'type' => 'string', - 'example' => 'default', - ], - ], - 'description' => '', - ], - ], - ], - 'description' => '', - ], - ], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => 'CC042262-15A3-4A49-ADF0-130968EA47BC', 'title' => ''], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"3C814429-21A5-4673-827E-FDD19DC75681\\",\\n \\"InstanceDetails\\": [\\n {\\n \\"Line\\": \\"coop-line-001\\",\\n \\"InstanceId\\": \\"ddoscoo-cn-zvp2eibz****\\",\\n \\"EipInfos\\": [\\n {\\n \\"Status\\": \\"normal\\",\\n \\"IpMode\\": \\"fnat\\",\\n \\"Eip\\": \\"203.117.XX.XX\\",\\n \\"IpVersion\\": \\"Ipv4\\",\\n \\"CertConfigured\\": true,\\n \\"TlsVersion\\": \\"tls1.2\\",\\n \\"Ssl13Enabled\\": false,\\n \\"FunctionVersion\\": \\"default\\"\\n }\\n ]\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\n 3C814429-21A5-4673-827E-FDD19DC75681\\n \\n coop-line-001\\n ddoscoo-cn-mp91j1ao****\\n \\n normal\\n fnat\\n 203.117.XX.XX\\n Ipv4\\n \\n \\n","errorExample":""}]', - 'title' => 'DescribeInstanceDetails', - 'summary' => 'Queries the IP addresses and Internet service provider (ISP) lines of Anti-DDoS Pro or Anti-DDoS Premium instances.', - 'description' => 'You can call the DescribeInstanceDetails operation to query the information about the IP addresses and ISP lines of the instances. The information includes the IP address, status, and protection line.'."\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", - 'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see [Common parameters](~~157269~~).'."\n" - ."\n" - .'For more information about sample requests, see the **"Examples"** section of this topic.'."\n", - ], - 'ModifyElasticBizQps' => [ - 'summary' => 'Configures the burstable QPS and mode of an Anti-DDoS Proxy instance.', - 'methods' => [ - 'post', - 'get', + 'title' => 'ConfigNetworkRules', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:35.000Z', 'description' => 'Error codes changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ConfigNetworkRules'], + ], ], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CC042262-15A3-4A49-ADF0-130968EA47BC\\"\\n}","type":"json"}]', + ], + 'ConfigUdpReflect' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1628,49 +1171,60 @@ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '172640', - 'abilityTreeNodes' => [ - 'FEATUREddosMHU3MF', - ], + 'abilityTreeCode' => '106059', + 'abilityTreeNodes' => ['FEATUREddosN7DYCX'], ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the Anti-DDoS Proxy instance.'."\n" - ."\n" - .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'ddoscoo-cn-mp91j1ao****', - ], + 'schema' => ['description' => 'The ID of the instance.'."\n" + ."\n" + .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.', 'type' => 'string', 'required' => true, 'example' => 'ddoscoo-cn-i7m25564****', 'title' => ''], ], [ - 'name' => 'Mode', + 'name' => 'Config', 'in' => 'query', - 'schema' => [ - 'description' => 'The metering method for the burstable QPS. Valid values:'."\n" - ."\n" - .'* **month**: monthly 95th percentile'."\n" - .'* **day**: daily 95th percentile QPS'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'month', - ], + 'schema' => ['description' => 'The configuration of the filtering policy for UDP reflection attacks.'."\n" + ."\n" + .'The value is a string that consists of a JSON struct. The JSON struct contains the following field:'."\n" + ."\n" + .'- **UdpSports**: the source ports of the UDP traffic that you want to block. This field is required and must be of the ARRAY type. Example: `[17,19]`.'."\n" + ."\n" + .' We recommend that you block the following source ports of UDP traffic:'."\n" + ."\n" + .' - UDP 17: QOTD reflection attacks'."\n" + ."\n" + .' - UDP 19: CharGEN reflection attacks'."\n" + ."\n" + .' - UDP 69: TFTP reflection attacks'."\n" + ."\n" + .' - UDP 111: Portmap reflection attacks'."\n" + ."\n" + .' - UDP 123: NTP reflection attacks'."\n" + ."\n" + .' - UDP 137: NetBIOS reflection attacks'."\n" + ."\n" + .' - UDP 161: SNMPv2 reflection attacks'."\n" + ."\n" + .' - UDP 389: CLDAP reflection attacks'."\n" + ."\n" + .' - UDP 1194: OpenVPN reflection attacks'."\n" + ."\n" + .' - UDP 1900: SSDP reflection attacks'."\n" + ."\n" + .' - UDP 3389: RDP reflection attacks'."\n" + ."\n" + .' - UDP 11211: memcached reflection attacks', 'type' => 'string', 'required' => true, 'example' => '{\\"UdpSports\\":[17,19]}', 'title' => ''], ], [ - 'name' => 'OpsElasticQps', + 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => 'The burstable QPS value.'."\n" - ."\n" - .'> The default value is 300,000 for the Chinese mainland and 150,000 for regions outside the Chinese mainland.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '300000', - ], + 'schema' => ['description' => 'The region ID of the Anti-DDoS Proxy instance. Valid values:'."\n" + ."\n" + .'- **cn-hangzhou**: indicates an Anti-DDoS Proxy (Chinese Mainland) instance. This is the default value.'."\n" + ."\n" + .'- **ap-southeast-1**: indicates an Anti-DDoS Proxy (Outside Chinese Mainland) instance.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], ], ], 'responses' => [ @@ -1678,33 +1232,41 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID, which is used to locate and troubleshoot issues.'."\n", - 'type' => 'string', - 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc', - ], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '9EC62E89-BD30-4FCD-9CB8-FA53865FF0D7', 'title' => ''], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}","type":"json"}]', - 'title' => 'ModifyElasticBizQps', - 'description' => 'You can enable burstable QPS only for IPv4 instances.'."\n", - ], - 'ModifyQpsMode' => [ - 'summary' => 'Switches between the metering methods of the burstable clean bandwidth feature.', - 'methods' => [ - 'post', - 'get', + 'title' => 'ConfigUdpReflect', + 'summary' => 'Adds the filtering policies for UDP reflection attacks on an Anti-DDoS Pro or Anti-DDoS Premium instance to filter out the source ports of UDP traffic.', + 'description' => 'You can call this operation to configure filtering policies to filter out UDP traffic from specific ports. This helps defend against UDP reflection attacks.'."\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.', + 'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see [Common parameters](~~157269~~).'."\n" + ."\n" + .'For more information about sample requests, see the **"Examples"** section of this topic.', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:35.000Z', 'description' => 'Error codes changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ConfigUdpReflect'], + ], ], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"9EC62E89-BD30-4FCD-9CB8-FA53865FF0D7\\"\\n}","type":"json"}]', + ], + 'ConfigWebCCRuleV2' => [ + 'summary' => 'Creates or modifies a custom rule for frequency control (HTTP flood mitigation) of website services.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1716,69 +1278,127 @@ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '169181', - 'abilityTreeNodes' => [ - 'FEATUREddosMHU3MF', - ], + 'abilityTreeCode' => '198715', + 'abilityTreeNodes' => ['FEATUREddosOZ1QOD'], ], 'parameters' => [ [ - 'name' => 'InstanceId', + 'name' => 'Domain', 'in' => 'query', - 'schema' => [ - 'description' => 'The region ID of the Anti-DDoS Pro instance.'."\n" - ."\n" - .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'ddoscoo-cn-7e225i41****', - ], + 'schema' => ['description' => 'The domain name of the website service.'."\n" + .'> The domain name must have a website service forwarding rule configured. You can call [DescribeDomains](~~91724~~) to query all domain names.', 'type' => 'string', 'required' => true, 'example' => 'www.example.com', 'title' => ''], ], [ - 'name' => 'Mode', + 'name' => 'RuleList', 'in' => 'query', - 'schema' => [ - 'description' => 'The metering method of QPS. Valid values:'."\n" - ."\n" - .'* **month**: monthly 95th percentile QPS.'."\n" - .'* **day**: daily 95th percentile QPS.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'month', - ], + 'schema' => ['description' => 'The configuration of the frequency control rule, expressed as a JSON-formatted string with the following structure:'."\n" + .'- **action**: String type. Required. The matching action. Valid values:'."\n" + .' - **block**: Block.'."\n" + .' - **challenge**: JavaScript Challenge.'."\n" + .' - **watch**: Monitor.'."\n" + .'- **name**: String type. Required. The rule name.'."\n" + .'- **condition**: Map type. Required. The matching condition. The structure is as follows:'."\n" + ."\n" + .' > If multiple matching conditions are specified, the conditions are evaluated using the AND logic.'."\n" + ."\n" + .' - **field**: String type. Required. The matching field.'."\n" + .' - **match_method**: String type. Required. The matching method.'."\n" + .' '."\n" + .' > For the valid values of **field** and **match_method**, see the supplementary description below the request parameters table.'."\n" + ."\n" + .' - **header_name**: String type. Optional. The name of the custom HTTP header field.'."\n" + ."\n" + .' > This parameter takes effect only when **field** is set to **header**.'."\n" + ."\n" + .' - **content**: String type. Required. The matching content.'."\n" + .'- **ratelimit**: String type. Required. The frequency control field. You can collect frequency statistics by IP address or custom header. The structure is as follows:'."\n" + .' - **interval**: Integer type. Required. The statistical period (seconds).'."\n" + .' - **ttl**: Integer type. Required. The action duration (seconds).'."\n" + .' - **threshold**: Integer type. Required. The threshold (count).'."\n" + .' - **subkey**: String type. Optional. The field name. Set this parameter only when the statistical source is header.'."\n" + .' - **target**: String type. Required. The statistical source. Valid values: ip and header.'."\n" + .'- **status_code**: String type. Optional. The frequency control field. You can collect statistics based on the count or ratio of status codes. The structure is as follows:'."\n" + .' - **enabled**: Boolean type. Required. Specifies whether to enable status code statistics.'."\n" + .' - **code**: Integer type. Required. Enabling status code. Valid values: **100** to **599**.'."\n" + .' - **use_ratio**: Boolean type. Required. Specifies whether to use the ratio. If set to true, the ratio is used.'."\n" + .' - **ratio_threshold**: Integer type. Optional. The ratio at which enabling status code appears. When the ratio is used, the action is triggered only when the corresponding status code reaches **ratio_threshold**. Valid values: **1** to **100**.'."\n" + .' - **count_threshold**: Integer type. Optional. The count at which enabling status code appears. When the ratio is not used, the action is triggered only when the corresponding status code reaches **count_threshold**. Valid values: **2** to **50000**.'."\n" + .'- **statistics**: String type. Optional. The deduplication statistics. This parameter can be left empty, which indicates that deduplication is not performed. The structure is as follows:'."\n" + .' - **mode**: String type. Required. Specifies whether to enable deduplication statistics. Valid values:'."\n" + .' - **count**: deduplication disabled'."\n" + .' - **distinct**: deduplication enabled'."\n" + .' - **field**: String type. Required. The statistical source for deduplication. Valid values: ip, header, and uri.'."\n" + .' - **header_name**: String type. Optional. The field name. Set this parameter only when the statistical source is header.', 'type' => 'string', 'required' => true, 'example' => '[{"action":"block","name":"trdsss","statistics":{"mode":"count","field":"header","header_name":"hahah"},"ratelimit":{"interval":60,"ttl":300,"threshold":70,"target":"ip"},"status_code":{"enabled":true,"code":404,"use_ratio":true,"ratio_threshold":80,"count_threshold":2},"condition":[{"field":"ip","match_method":"belong","content":"1.1.1.1"}]}]', 'title' => ''], + ], + [ + 'name' => 'Expires', + 'in' => 'query', + 'schema' => ['description' => 'The validity period of the rule. Unit: seconds. Default value: 0, which indicates that the rule is permanently effective.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '0', 'title' => ''], ], ], 'responses' => [ 200 => [ - 'headers' => [], 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID, which is used to locate and troubleshoot issues.'."\n", - 'type' => 'string', - 'example' => '48859E14-A9FB-4100-99FF-AAB75CA46776', - ], + 'RequestId' => ['description' => 'The ID of the request. Alibaba Cloud generates a unique identifier for each request. You can use the ID to troubleshoot issues.', 'type' => 'string', 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc', 'title' => ''], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'Create or modify a custom frequency control rule for website services', + 'requestParamsDescription' => '**Valid values and mappings of field and match_method**'."\n" + ."\n" + .'| Match field (field) | Description | Applicable logical operators (match_method) |'."\n" + .'|-----------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------|'."\n" + .'| **ip** | The source IP address of the request. | **belong**: belongs to
**nbelong**: does not belong to
**ipinlist**: in the list
**ipninlist**: not in the list |'."\n" + .'| **uri** | The URI of the request. | **contain**: contains
**ncontain**: does not contain
**equal**: equals
**nequal**: does not equal
**lless**: length less than
**lequal**: length equals
**lgreat**: length greater than
**prefix**: prefix match
**inlist**: equals one of multiple values
**ninlist**: does not equal any of multiple values |'."\n" + .'| **referer** | The source URL of the request, which indicates the page from which the request was redirected. | **contain**: contains
**ncontain**: does not contain
**equal**: equals
**nequal**: does not equal
**lless**: length less than
**lequal**: length equals
**lgreat**: length greater than
**nexist**: does not exist
**inlist**: equals one of multiple values
**ninlist**: does not equal any of multiple values |'."\n" + .'| **user-agent** | The browser-related information of the client that initiates the request, such as the identifier of the browser, rendering engine identity, and version information. | **contain**: contains
**ncontain**: does not contain
**equal**: equals
**nequal**: does not equal
**lless**: length less than
**lequal**: length equals
**lgreat**: length greater than
**inlist**: equals one of multiple values
**ninlist**: does not equal any of multiple values |'."\n" + .'| **params** | Request parameter part of the request URL, which typically refers to the part after "?" in the URL. For example, `action=login` is request parameter part in `demo.aliyundoc.com/index.html?action=login`. | **contain**: contains
**ncontain**: does not contain
**equal**: equals
**nequal**: does not equal
**lless**: length less than
**lequal**: length equals
**lgreat**: length greater than
**inlist**: equals one of multiple values
**ninlist**: does not equal any of multiple values |'."\n" + .'| **cookie** | The cookie information in the request. | **contain**: contains
**ncontain**: does not contain
**equal**: equals
**nequal**: does not equal
**lless**: length less than
**lequal**: length equals
**lgreat**: length greater than
**nexist**: does not exist
**inlist**: equals one of multiple values
**ninlist**: does not equal any of multiple values |'."\n" + .'| **content-type** | The HTTP content type (MIME type) specified in the request. | **contain**: contains
**ncontain**: does not contain
**equal**: equals
**nequal**: does not equal
**lless**: length less than
**lequal**: length equals
**lgreat**: length greater than
**inlist**: equals one of multiple values
**ninlist**: does not equal any of multiple values |'."\n" + .'| **x-forwarded-for** | The real IP address of the client. X-Forwarded-For (XFF) is an HTTP request header field used to identify the original IP address of a client that connects through an HTTP proxy or load balancer. This field is included only in requests forwarded through an HTTP proxy or load balancer. | **contain**: contains
**ncontain**: does not contain
**equal**: equals
**nequal**: does not equal
**lless**: length less than
**lequal**: length equals
**lgreat**: length greater than
**nexist**: does not exist
**inlist**: equals one of multiple values
**ninlist**: does not equal any of multiple values |'."\n" + .'| **content-length** | The number of bytes contained in the request. | **vless**: value less than
**vequal**: value equals
**vgreat**: value greater than |'."\n" + .'| **post-body** | The body content of the request. | **contain**: contains
**ncontain**: does not contain
**equal**: equals
**nequal**: does not equal
**inlist**: equals one of multiple values
**ninlist**: does not equal any of multiple values |'."\n" + .'| **http-method** | The method of the request, such as GET or POST. | **equal**: equals
**nequal**: does not equal
**inlist**: equals one of multiple values
**ninlist**: does not equal any of multiple values |'."\n" + .'| **header** | The header information of the request, used for custom HTTP header fields. | **contain**: contains
**ncontain**: does not contain
**equal**: equals
**nequal**: does not equal
**lless**: length less than
**lequal**: length equals
**lgreat**: length greater than
**nexist**: does not exist
**inlist**: equals one of multiple values
**ninlist**: does not equal any of multiple values |'."\n" + .'| **scheme** | The protocol of the request, such as HTTP or HTTPS. | **equal**: equals
**nequal**: does not equal |'."\n" + .'| **protocol** | The HTTP version of the request, such as HTTP/1.0, HTTP/1.1, or HTTP/2.0. |
**equal**: equals
**nequal**: does not equal
**inlist**: equals one of multiple values
**ninlist**: does not equal any of multiple values |'."\n" + .'| **http2-fingerprint** | The HTTP 2.0 fingerprint of the request. |
**equal**: equals
**nequal**: does not equal
**inlist**: equals one of multiple values
**ninlist**: does not equal any of multiple values |'."\n" + .'| **ja3-fingerprint** | The JA3 fingerprint of the request. |
**equal**: equals
**nequal**: does not equal
**inlist**: equals one of multiple values
**ninlist**: does not equal any of multiple values |'."\n" + .'| **ja4-fingerprint** | The JA4 fingerprint of the request. |
**equal**: equals
**nequal**: does not equal
**inlist**: equals one of multiple values
**ninlist**: does not equal any of multiple values |'."\n" + .'| **area** | The continent or country of the request. |
**areainlist**: location blacklist selection |'."\n" + .'| **uri-path** | The URI path of the request. | **contain**: contains
**ncontain**: does not contain
**equal**: equals
**nequal**: does not equal
**lless**: length less than
**lequal**: length equals
**lgreat**: length greater than
**prefix**: prefix match
**inlist**: equals one of multiple values
**ninlist**: does not equal any of multiple values |'."\n" + .'| **cookie-name** | The custom cookie. | **contain**: contains
**ncontain**: does not contain
**equal**: equals
**nequal**: does not equal
**lless**: length less than
**lequal**: length equals
**lgreat**: length greater than
**prefix**: prefix match
**inlist**: equals one of multiple values
**ninlist**: does not equal any of multiple values |'."\n" + .'| **query-parameter** | The custom query parameter. | **contain**: contains
**ncontain**: does not contain
**equal**: equals
**nequal**: does not equal
**lless**: length less than
**lequal**: length equals
**lgreat**: length greater than
**prefix**: prefix match
**inlist**: equals one of multiple values
**ninlist**: does not equal any of multiple values |'."\n" + .'| **server-port** | The server port of the request. | **vless**: value less than
**vequal**: value equals
**vgreat**: value greater than |', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:ConfigWebCCRuleV2', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"48859E14-A9FB-4100-99FF-AAB75CA46776\\"\\n}","type":"json"}]', - 'title' => 'ModifyQpsMode', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}","type":"json"}]', ], - 'DescribeInstanceExt' => [ - 'summary' => 'Queries the information about Anti-DDoS Pro and Anti-DDoS Premium instances.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'https', - ], + 'ConfigWebCCTemplate' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1787,256 +1407,125 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREddosMHU3MF', - ], + 'abilityTreeCode' => '106060', + 'abilityTreeNodes' => ['FEATUREddosM9SQC1'], ], 'parameters' => [ [ - 'name' => 'InstanceId', + 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the instance.'."\n" - ."\n" - .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'ddoscoo-cn-i7m25564****', - ], + 'schema' => ['description' => 'The resource group ID to which the Anti-DDoS instance belongs in Resource Management. The default value is empty, which indicates that the instance belongs to the default resource group.', 'type' => 'string', 'required' => false, 'example' => 'default', 'title' => ''], ], [ - 'name' => 'PageNumber', + 'name' => 'Domain', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of the page. For example, to query the returned results on the first page, set the value to **1**.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '1', - 'default' => '1', - ], + 'schema' => ['description' => 'The domain name of the website service.'."\n" + ."\n" + .'> The domain name must have website forwarding rules configured. You can call [DescribeDomains](~~91724~~) to query all domain names.', 'type' => 'string', 'required' => true, 'example' => 'www.aliyun.com', 'title' => ''], ], [ - 'name' => 'PageSize', + 'name' => 'Template', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of entries per page.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '10', - 'default' => '10', - ], + 'schema' => ['description' => 'The defense mode for Frequency Control (HTTP flood protection). Valid values:'."\n" + ."\n" + .'- **default**: Normal'."\n" + ."\n" + .'- **gf\\_under\\_attack**: Attack Emergency'."\n" + ."\n" + .'- **gf\\_sos\\_verify**: Strict'."\n" + ."\n" + .'- **gf\\_sos\\_enhance**: Super Strict', 'type' => 'string', 'required' => true, 'example' => 'default', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80', - ], - 'InstanceExtSpecs' => [ - 'description' => 'The extended information about the Anti-DDoS Proxy instance.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'InstanceId' => [ - 'description' => 'The ID of the instance.'."\n", - 'type' => 'string', - 'example' => 'ddoscoo-cn-i7m25564****'."\n", - ], - 'NormalBandwidth' => [ - 'description' => 'The clean bandwidth. Unit: Mbit/s.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '100', - ], - 'FunctionVersion' => [ - 'description' => 'The function plan. Valid values:'."\n" - ."\n" - .'* **0**: Standard'."\n" - .'* **1**: Enhanced'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'ServicePartner' => [ - 'description' => 'The Internet service provider (ISP) line of the Anti-DDoS Proxy (Chinese Mainland) instance.'."\n", - 'type' => 'string', - 'example' => 'coop-line-001', - ], - 'ProductPlan' => [ - 'description' => 'The type of the instance. Valid values:'."\n" - ."\n" - .'* **0**: Anti-DDoS Proxy (Outside Chinese Mainland) instance of the Insurance mitigation plan'."\n" - .'* **1**: Anti-DDoS Proxy (Outside Chinese Mainland) instance of the Unlimited mitigation plan'."\n" - .'* **2**: Anti-DDoS Proxy (Outside Chinese Mainland) instance of the Chinese Mainland Acceleration (CMA) mitigation plan'."\n" - .'* **3**: Anti-DDoS Proxy (Outside Chinese Mainland) instance of the Secure Chinese Mainland Acceleration (Sec-CMA) mitigation plan'."\n" - .'* **9**: Anti-DDoS Proxy (Chinese Mainland) instance of the Profession mitigation plan'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - ], - ], - ], - 'TotalCount' => [ - 'description' => 'The total number of queried instances.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', - ], + 'RequestId' => ['description' => 'The ID of this request.', 'type' => 'string', 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\",\\n \\"InstanceExtSpecs\\": [\\n {\\n \\"InstanceId\\": \\"ddoscoo-cn-i7m25564****\\\\n\\",\\n \\"NormalBandwidth\\": 100,\\n \\"FunctionVersion\\": 0,\\n \\"ServicePartner\\": \\"coop-line-001\\",\\n \\"ProductPlan\\": 0\\n }\\n ],\\n \\"TotalCount\\": 10\\n}","type":"json"}]', - 'title' => 'DescribeInstanceExt', - ], - 'CreateWebRule' => [ - 'methods' => [ - 'post', - 'get', + 'title' => 'ConfigWebCCTemplate', + 'summary' => 'Sets the defense mode for website HTTP flood protection (CC protection).', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:35.000Z', 'description' => 'Error codes changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ConfigWebCCTemplate'], + ], ], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}","type":"json"}]', + ], + 'ConfigWebIpSet' => [ + 'summary' => 'Configures the IP blacklist and whitelist for a website.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'create', - 'abilityTreeCode' => '106075', - 'abilityTreeNodes' => [ - 'FEATUREddos64TBV6', - ], + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '106061', + 'abilityTreeNodes' => ['FEATUREddos64TBV6'], ], 'parameters' => [ [ 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n" - ."\n" - .'For more information about resource groups, see [Create a resource group](~~94485~~).'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'rg-acfm2pz25js****', - ], + 'schema' => ['description' => 'The ID of the resource group in Resource Management to which the Anti-DDoS instance belongs. If you leave this parameter empty, the instance is added to the default resource group.', 'type' => 'string', 'required' => false, 'example' => 'default', 'title' => ''], ], [ 'name' => 'Domain', 'in' => 'query', - 'schema' => [ - 'description' => 'The domain name of the website that you want to add to the instance.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'example.aliyundoc.com', - ], - ], - [ - 'name' => 'RsType', - 'in' => 'query', - 'schema' => [ - 'description' => 'The address type of the origin server. Valid values:'."\n" - ."\n" - .'* **0**: IP address'."\n" - .'* **1**: domain name The domain name of the origin server is returned if you deploy proxies, such as Web Application Firewall (WAF), between the origin server and the instance. In this case, the address of the proxy, such as the CNAME provided by WAF, is returned.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '0', - ], + 'schema' => ['description' => 'The domain name of the website.'."\n" + ."\n" + .'> A website forwarding rule must be configured for the domain name. Call [DescribeDomains](~~91724~~) to query all domain names.', 'type' => 'string', 'required' => true, 'example' => 'www.aliyun.com', 'title' => ''], ], [ - 'name' => 'Rules', + 'name' => 'BlackList', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => 'The details of the forwarding rule. The value is a string that consists of JSON arrays. Each element in a JSON array is a JSON struct that contains the following fields:'."\n" - ."\n" - .'* **ProxyRules**: the information about the origin server. The information includes the port number and IP address. This field is required and must be a JSON array. Each element in a JSON array is a JSON struct that contains the following fields:'."\n" - ."\n" - .' * **ProxyPort**: the port number. This field is required and must be an integer.'."\n" - .' * **RealServers**: the IP address. This field is required and must be a string array.'."\n" - ."\n" - .'* **ProxyType**: the protocol type. This field is required and must be a string. Valid values: **http**, **https**, **websocket**, and **websockets**.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '[{"ProxyRules":[{"ProxyPort":443,"RealServers":["192.1.XX.XX"]}],"ProxyType":"https"}]', + 'description' => 'The list of IP addresses or address segments to add to the blacklist. You can add up to 200 IP addresses or address segments.', + 'type' => 'array', + 'items' => ['description' => 'The IP address or address segment to add to the blacklist.', 'type' => 'string', 'required' => false, 'example' => '59.49.*.*', 'title' => ''], + 'required' => false, + 'example' => '1.1.1.1', + 'maxItems' => 2000, + 'title' => '', ], ], [ - 'name' => 'HttpsExt', + 'name' => 'WhiteList', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => 'The advanced HTTPS settings. This parameter takes effect only when the value of the **ProxyType** parameter includes **https**. The value is a string that consists of a JSON struct. The JSON struct contains the following fields:'."\n" - ."\n" - .'* **Http2https**: specifies whether to turn on Enforce HTTPS Routing. This field is optional and must be an integer. Valid values: **0** and **1**. The value 0 indicates that Enforce HTTPS Routing is turned off. The value 1 indicates that Enforce HTTPS Routing is turned on. The default value is 0.'."\n" - ."\n" - .' If your website supports both HTTP and HTTPS, this feature meets your business requirements. If you enable this feature, all HTTP requests to access the website are redirected to HTTPS requests on the standard port 443.'."\n" - ."\n" - .'* **Https2http**: specifies whether to turn on Enable HTTP. This field is optional and must be an integer. Valid values: **0** and **1**. The value 0 indicates that Enable HTTP is turned off. The value 1 indicates that Enable HTTP is turned on. The default value is 0.'."\n" - ."\n" - .' If your website does not support HTTPS, this feature meets your business requirements If this feature is enabled, all HTTPS requests are redirected to HTTP requests and forwarded to origin servers. This feature can redirect WebSockets requests to WebSocket requests. Requests are redirected over the standard port 80.'."\n" - ."\n" - .'* **Http2**: specifies whether to turn on Enable HTTP/2. This field is optional and must be an integer. Valid values: **0** and **1**. The value 0 indicates that Enable HTTP/2 is turned off. The value 1 indicates that Enable HTTP/2 is turned on. The default value is 0.'."\n" - ."\n" - .' After you turn on Enable HTTP/2, the protocol type is HTTP/2.'."\n", - 'type' => 'string', + 'description' => 'The IP addresses or CIDR blocks for the whitelist. You can add up to 200 IP addresses or CIDR blocks.', + 'type' => 'array', + 'items' => ['description' => 'An IP address or address segment in the whitelist.', 'type' => 'string', 'required' => false, 'example' => '2.2.*.*/24', 'title' => ''], 'required' => false, - 'example' => '{"Http2":1,"Http2https":1,"Https2http":1}', - ], - ], - [ - 'name' => 'DefenseId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the associated defense. This parameter applies to scenarios in which other cloud services, such as Object Storage Service (OSS), are integrated with Anti-DDoS Pro or Anti-DDoS Premium.'."\n" - ."\n" - .'> This parameter is in internal preview. Do not use this parameter.'."\n" - ."\n" - .'For example, if you integrate OSS with Anti-DDoS Pro or Anti-DDoS Premium, Anti-DDoS Pro or Anti-DDoS Premium allocates an IP address pool for the OSS production account. Each IP address corresponds to a unique defense ID. A defense ID is a CNAME, which is automatically resolved to the IP address of the required Anti-DDoS Pro or Anti-DDoS Premium instance. A defense ID can be resolved to the same IP address to facilitate scheduling.'."\n" - ."\n" - .'> You can specify only one of the following parameters: **InstanceIds** and **DefenseId**.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'testid', - ], - ], - [ - 'name' => 'InstanceIds', - 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => 'An array consisting of the IDs of instances that you want to associate.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The ID of the instance that you want to associate. If you do not specify this parameter, only the domain name of the website is added but no instance is associated with the website.'."\n" - ."\n" - .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'ddoscoo-cn-i7m27nf3****', - ], - 'required' => false, - 'example' => 'ddoscoo-cn-mp91j1ao****', - 'maxItems' => 100, + 'example' => '2.2.2.2/24', + 'maxItems' => 2000, + 'title' => '', ], ], ], @@ -2045,32 +1534,33 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request, which is used to locate and troubleshoot issues.'."\n", - 'type' => 'string', - 'example' => '9EC62E89-BD30-4FCD-9CB8-FA53865FF0D7', - ], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"9EC62E89-BD30-4FCD-9CB8-FA53865FF0D7\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 9EC62E89-BD30-4FCD-9CB8-FA53865FF0D7\\n","errorExample":""}]', - 'summary' => 'Creates a forwarding rule for a website.', - 'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see [Common parameters](~~157269~~).'."\n" - ."\n" - .'For more information about sample requests, see the **"Examples"** section of this topic.'."\n", + 'title' => 'ConfigWebIpSet', + 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DeleteWebRule' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2024-02-20T08:09:24.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2022-09-08T03:34:35.000Z', 'description' => 'Error codes changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '15', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ConfigWebIpSet'], + ], ], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}","type":"json"}]', + ], + 'CreateAsyncTask' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -2079,37 +1569,46 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'delete', - 'abilityTreeCode' => '106091', - 'abilityTreeNodes' => [ - 'FEATUREddos64TBV6', - ], + 'operationType' => 'create', + 'abilityTreeCode' => '106062', + 'abilityTreeNodes' => ['FEATUREddos64TBV6'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n" - ."\n" - .'For more information about resource groups, see [Create a resource group](~~94485~~).'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'rg-acfm2pz25js****', - ], + 'schema' => ['description' => 'The ID of the resource group in Resource Management to which the Anti-DDoS instance belongs. If you leave this parameter empty, the instance belongs to the default resource group.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'default'], ], [ - 'name' => 'Domain', + 'name' => 'TaskType', 'in' => 'query', - 'schema' => [ - 'description' => 'The domain name of the website from which you want to delete the forwarding rule.'."\n" - ."\n" - .'> A forwarding rule must be configured for the domain name. You can call the [DescribeDomains](~~91724~~) operation to query the domain names for which forwarding rules are configured.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'www.aliyun.com', - ], + 'schema' => ['description' => 'The type of the task to create. Valid values:'."\n" + ."\n" + .'- **1**: A Layer 4 export task, which exports the port forwarding rules of an Anti-DDoS instance.'."\n" + ."\n" + .'- **2**: A Layer 7 export task, which exports website traffic forwarding rules.'."\n" + ."\n" + .'- **3**: A session and health check export task, which exports the session persistence and health check configurations of an Anti-DDoS instance.'."\n" + ."\n" + .'- **4**: A DDoS mitigation policy export task, which exports the DDoS mitigation policy configurations of an Anti-DDoS instance.'."\n" + ."\n" + .'- **5**: A blacklist (for destination IP addresses) download task, which exports the blacklisted IP addresses for an Anti-DDoS instance.'."\n" + ."\n" + .'- **6**: A whitelist (for destination IP addresses) download task, which exports the whitelisted IP addresses for an Anti-DDoS instance.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'title' => '', 'example' => '5'], + ], + [ + 'name' => 'TaskParams', + 'in' => 'query', + 'schema' => ['description' => 'The parameters of the task. Specify the parameters as a JSON string. The required parameters vary based on the value of **TaskType**.'."\n" + ."\n" + .'If you set **TaskType** to **1**, **3**, **4**, **5**, or **6**, the task parameters are structured as follows.'."\n" + ."\n" + .'- **instanceId**: The ID of the Anti-DDoS instance. This is a required string.'."\n" + ."\n" + .'If you set **TaskType** to **2**, the task parameters are structured as follows.'."\n" + ."\n" + .'- **domain**: The domain name of the website. This is an optional string. If you do not specify this parameter, the forwarding rules for all websites are exported.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => '{"instanceId": "ddoscoo-cn-mp91j1ao****"}'], ], ], 'responses' => [ @@ -2117,29 +1616,45 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '9EC62E89-BD30-4FCD-9CB8-FA53865FF0D7', - ], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'title' => '', 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc'], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"9EC62E89-BD30-4FCD-9CB8-FA53865FF0D7\\"\\n}","type":"json"}]', - 'title' => 'DeleteWebRule', - 'summary' => 'Deletes a forwarding rule of a website.', - ], - 'ModifyWebRule' => [ - 'summary' => 'Modifies the forwarding rule of a website.', - 'methods' => [ - 'post', - 'get', + 'title' => 'CreateAsyncTask', + 'summary' => 'Creates an asynchronous export task to export website traffic forwarding rules, port forwarding rules, session persistence and health check configurations, DDoS mitigation policies, and IP blacklists and whitelists.', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:35.000Z', 'description' => 'Error codes changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateAsyncTask'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:CreateAsyncTask', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}","type":"json"}]', + ], + 'CreateDomainResource' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -2148,51 +1663,17 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', + 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '106271', - 'abilityTreeNodes' => [ - 'FEATUREddosN7DYCX', - ], + 'abilityTreeCode' => '106066', + 'abilityTreeNodes' => ['FEATUREddos64TBV6'], ], 'parameters' => [ - [ - 'name' => 'ResourceGroupId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n" - ."\n" - .'For more information about resource groups, see [Create a resource group](~~94485~~).'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'rg-acfm2pz25js****', - ], - ], [ 'name' => 'Domain', 'in' => 'query', - 'schema' => [ - 'description' => 'The domain name of the website.'."\n" - ."\n" - .'> A forwarding rule must be configured for the domain name. You can call the [DescribeDomains](~~91724~~) operation to query the domain names for which forwarding rules are configured.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'www.aliyun.com', - ], - ], - [ - 'name' => 'ProxyTypes', - 'in' => 'query', - 'schema' => [ - 'description' => 'The protocol of the forwarding rule. The value is a string that consists of JSON arrays. Each element in a JSON array is a JSON struct that contains the following fields:'."\n" - ."\n" - .'* **ProxyType**: the protocol type. This field is required and must be a string. Valid values: **http**, **https**, **websocket**, and **websockets**.'."\n" - .'* **ProxyPort**: the port number. This field is required and must be an array.', - 'type' => 'string', - 'required' => true, - 'example' => '[{"ProxyType":"https","ProxyPorts":[443]}]', - ], + 'schema' => ['description' => 'The domain name of the website that you want to add to the Anti-DDoS Pro or Anti-DDoS Premium instance.', 'type' => 'string', 'required' => true, 'example' => 'www.example.com', 'title' => ''], ], [ 'name' => 'RsType', @@ -2200,34 +1681,50 @@ 'schema' => [ 'description' => 'The address type of the origin server. Valid values:'."\n" ."\n" - .'* **0**: IP address.'."\n" - .'* **1**: domain name. Use the domain name of the origin server if you deploy proxies, such as Web Application Firewall (WAF), between the origin server and the Anti-DDoS Pro or Anti-DDoS Premium instance. If you use the domain name, you must enter the address of the proxy, such as the CNAME of WAF.'."\n", + .'- **0**: IP address.'."\n" + ."\n" + .'- **1**: domain name.'."\n" + ."\n" + .' This parameter is suitable for scenarios in which another proxy service, such as Web Application Firewall (WAF), is deployed between the origin server and Anti-DDoS Proxy. The address is the redirection address of the proxy service, such as the CNAME of WAF.', 'type' => 'integer', 'format' => 'int32', 'required' => true, + 'enum' => ['0', '1'], 'example' => '0', + 'title' => '', ], ], [ 'name' => 'HttpsExt', 'in' => 'query', + 'schema' => ['description' => 'The advanced HTTPS settings. This parameter takes effect only when the value of the **ProxyType** parameter includes **https**. The value is a string that consists of a JSON struct. The JSON struct contains the following fields:'."\n" + ."\n" + .'- **Http2https**: specifies whether to turn on Enforce HTTPS Routing. This field is optional and must be an integer. Valid values: **0** and **1**. The value 0 indicates that Enforce HTTPS Routing is turned off. The value 1 indicates that Enforce HTTPS Routing is turned on. The default value is 0.'."\n" + ."\n" + .' If your website supports both HTTP and HTTPS, this feature meets your business requirements. If you enable this feature, all HTTP requests to access the website are redirected to HTTPS requests on the standard port 443.'."\n" + ."\n" + .'- **Https2http**: specifies whether to turn on Enable HTTP. This field is optional and must be an integer. Valid values: **0** and **1**. The value 0 indicates that Enable HTTP is turned off. The value 1 indicates that Enable HTTP is turned on. The default value is 0.'."\n" + ."\n" + .' If your website does not support HTTPS, this feature meets your business requirements If this feature is enabled, all HTTPS requests are redirected to HTTP requests and forwarded to origin servers. This feature can redirect WebSockets requests to WebSocket requests. Requests are redirected over the standard port 80.'."\n" + ."\n" + .'- **Http2**: specifies whether to turn on Enable HTTP/2. This field is optional. Data type: integer. Valid values: **0** and **1**. The value 0 indicates that Enable HTTP/2 is turned off. The value 1 indicates that Enable HTTP/2 is turned on. The default value is 0.'."\n" + ."\n" + .' After you turn on the switch, HTTP/2 is used.', 'type' => 'string', 'required' => false, 'example' => '{"Http2":1,"Http2https":1,"Https2http":1}', 'title' => ''], + ], + [ + 'name' => 'InstanceIds', + 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => 'The advanced HTTPS settings. This parameter takes effect only when the value of **ProxyType** includes **https**. The value is a string that consists of a JSON struct. The JSON struct contains the following fields:'."\n" - ."\n" - .'* **Http2https**: specifies whether to turn on Enforce HTTPS Routing. This field is optional and must be an integer. Valid values: **0** and **1**. The value 0 indicates that Enforce HTTPS Routing is turned off. The value 1 indicates that Enforce HTTPS Routing is turned on. The default value is 0.'."\n" - ."\n" - .' If your website supports both HTTP and HTTPS, this feature suits your needs. If you turn on the switch, all HTTP requests are redirected to HTTPS requests on port 443 by default.'."\n" - ."\n" - .'* **Https2http**: specifies whether to turn on Enable HTTP. This field is optional and must be an integer. Valid values: **0** and **1**. The value 0 indicates that Enable HTTP is turned off. The value 1 indicates that Enable HTTP is turned on. The default value is 0.'."\n" - ."\n" - .' If your website does not support HTTPS, this feature suits your needs. If you turn on the switch, all HTTPS requests are redirected to HTTP requests and forwarded to origin servers. The feature can also redirect WebSockets requests to WebSocket requests. All requests are redirected over port 80.'."\n" - ."\n" - .'* **Http2**: specifies whether to turn on Enable HTTP/2. This field is optional and must be an integer. Valid values: **0** and **1**. The value 0 indicates that Enable HTTP/2 is turned off. The value 1 indicates that Enable HTTP/2 is turned on. The default value is 0.'."\n" + 'description' => 'An array consisting of the IDs of instances that you want to associate.', + 'type' => 'array', + 'items' => ['description' => 'The ID of instance that you want to associate. If you do not specify this parameter, only the domain name of the website is added but no instances are associated with the website.'."\n" ."\n" - .' After you turn on the switch, the protocol type is HTTP/2.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '{"Http2":1,"Http2https":1,"Https2http":1}', + .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.', 'type' => 'string', 'required' => false, 'example' => 'ddoscoo-cn-mp91j1ao****', 'title' => ''], + 'required' => true, + 'maxItems' => 100, + 'title' => '', + 'example' => '', ], ], [ @@ -2235,80 +1732,108 @@ 'in' => 'query', 'style' => 'repeatList', 'schema' => [ - 'description' => '', + 'description' => 'An array that consists of the addresses of origin servers.', 'type' => 'array', - 'items' => [ - 'description' => 'The address of the origin server.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '192.XX.XX.2', - ], + 'items' => ['description' => 'The address of the origin server.'."\n" + ."\n" + .'If you set the **RsType** parameter to **0**, set the value to the IP address of the origin server. If you set the **RsType** parameter to **1**, set the value to the domain name of the origin server. For more information, see the description of the **RsType** parameter.', 'type' => 'string', 'required' => false, 'example' => '1.XX.XX.1', 'title' => ''], 'required' => true, - 'example' => '1.xxx.xxx.1', - 'maxItems' => 20, + 'maxItems' => 100, + 'title' => '', + 'example' => '', ], ], [ - 'name' => 'InstanceIds', + 'name' => 'ProxyTypes', 'in' => 'query', - 'style' => 'repeatList', + 'style' => 'flat', 'schema' => [ - 'description' => '', + 'description' => 'The details about the protocol type and port number.', 'type' => 'array', 'items' => [ - 'description' => 'The ID of instance N that you want to associate.'."\n" - ."\n" - .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.'."\n", - 'type' => 'string', + 'type' => 'object', + 'properties' => [ + 'ProxyPorts' => [ + 'description' => 'The port numbers.', + 'type' => 'array', + 'items' => ['description' => 'The port number.'."\n" + ."\n" + .'> You must specify a port within the port range supported by the Anti-DDoS Proxy instance. For more information, see [Custom non-standard ports](~~127433~~).', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '80', 'title' => ''], + 'required' => true, + 'maxItems' => 10, + 'title' => '', + 'example' => '', + ], + 'ProxyType' => [ + 'description' => 'The type of the protocol. Valid values:'."\n" + ."\n" + .'- **http**'."\n" + ."\n" + .'- **https**'."\n" + ."\n" + .'- **websocket**'."\n" + ."\n" + .'- **websockets**', + 'type' => 'string', + 'required' => false, + 'enum' => ['http', 'https', 'websocket', 'websockets'], + 'example' => 'http', + 'title' => '', + ], + ], 'required' => false, - 'example' => 'ddoscoo-cn-i7m27nf3****', + 'description' => '', + 'title' => '', + 'example' => '', ], - 'required' => false, - 'example' => 'ddoscoo-cn-mp91j1ao****', - 'maxItems' => 20, + 'required' => true, + 'title' => '', + 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'description' => 'The data body that is returned for the request.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'CB3261D2-7D1B-4ADA-9E98-A200B2CDA2DC', - ], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '39499F01-19D9-4EA4-A0E9-C6014BA5CDBE', 'title' => ''], ], + 'title' => '', + 'example' => '', ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'UpStreamConfigConflict', - 'errorMessage' => 'HTTP upstream and HTTP2.0 upstream conflict.', + 'title' => 'CreateDomainResource', + 'summary' => 'Creates a forwarding rule for a website.', + 'changeSet' => [ + ['createdAt' => '2023-05-26T07:22:44.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2022-09-08T03:34:35.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateDomainResource'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:CreateDomainResource', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CB3261D2-7D1B-4ADA-9E98-A200B2CDA2DC\\"\\n}","type":"json"}]', - 'title' => 'ModifyWebRule', - 'description' => '## Debugging'."\n" - ."\n" - .'[OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.](https://api.aliyun.com/#product=ddoscoo\\&api=ModifyWebRule\\&type=RPC\\&version=2020-01-01)'."\n", - 'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see [Common parameters](~~157269~~).'."\n" - ."\n" - .'For more information about sample requests, see the **"Examples"** section of this topic.'."\n", + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"39499F01-19D9-4EA4-A0E9-C6014BA5CDBE\\"\\n}","type":"json"}]', ], - 'ModifyTlsConfig' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'CreateNetworkRules' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -2317,57 +1842,27 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', - 'abilityTreeCode' => '106258', - 'abilityTreeNodes' => [ - 'FEATUREddos64TBV6', - ], + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '106069', + 'abilityTreeNodes' => ['FEATUREddos64TBV6'], ], 'parameters' => [ [ - 'name' => 'ResourceGroupId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'default', - ], - ], - [ - 'name' => 'Domain', - 'in' => 'query', - 'schema' => [ - 'description' => 'The domain name of the website.'."\n" - ."\n" - .'> A forwarding rule must be configured for the domain name. You can call the [DescribeDomains](~~91724~~) operation to query all domain names.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'example.aliyundoc.com', - ], - ], - [ - 'name' => 'Config', + 'name' => 'NetworkRules', 'in' => 'query', - 'schema' => [ - 'description' => 'The details of the TLS policy. The value is a JSON string that contains the following fields:'."\n" - ."\n" - .'* **ssl_protocols**: the version of TLS. This field is required. Data type: string. Valid values:'."\n" - ."\n" - .' * **tls1.0**: TLS 1.0 and later'."\n" - .' * **tls1.1**: TLS 1.1 and later'."\n" - .' * **tls1.2**: TLS 1.2 and later'."\n" - ."\n" - .'* **ssl_ciphers**: the type of the cipher suite. This field is required. Data type: string. Valid values:'."\n" - ."\n" - .' * **all**: all cipher suites, which include strong and weak cipher suites'."\n" - .' * **improved**: enhanced cipher suites'."\n" - .' * **strong**: strong cipher suites'."\n" - .' * **default**: default cipher suites, which include only strong cipher suites'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '{"ssl_protocols":"tls1.0","ssl_ciphers":"all"}', - ], + 'schema' => ['description' => 'The details of the port forwarding rule. This parameter is a JSON string. The string contains the following fields:'."\n" + ."\n" + .'- **InstanceId**: the ID of the instance. This field is required and must be of the STRING type.'."\n" + ."\n" + .'- **Protocol**: the forwarding protocol. This field is required and must be of the STRING type. Valid values: **tcp** and **udp**.'."\n" + ."\n" + .'- **FrontendPort**: the forwarding port. This field is required and must be of the INTEGER type.'."\n" + ."\n" + .'- **BackendPort**: the port of the origin server. This field is required and must be of the INTEGER type.'."\n" + ."\n" + .'- **RealServers**: the IP addresses of the origin server. This field is required and must be a JSON array. You can specify up to 20 IP addresses.', 'type' => 'string', 'required' => true, 'example' => '[{"InstanceId":"ddoscoo-cn-mp91j1ao****","Protocol":"tcp","FrontendPort":8080,"BackendPort":8080,"RealServers":["1.1.1.1","2.2.2.2"]}]', 'title' => ''], ], ], 'responses' => [ @@ -2375,31 +1870,36 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request, which is used to locate and troubleshoot issues.'."\n", - 'type' => 'string', - 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'ADCA45A5-D15C-4B7D-9F81-138B0B36D0BD', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E\\"\\n}","errorExample":""},{"type":"xml","example":"\\n C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E\\n","errorExample":""}]', - 'title' => 'ModifyTlsConfig', - 'summary' => 'Modifies the Transport Layer Security (TLS) policy configuration for the forwarding rule of a website.', + 'title' => 'CreateNetworkRules', + 'summary' => 'Creates a port forwarding rule.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'ModifyHttp2Enable' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2025-08-14T03:28:22.000Z', 'description' => 'OpenAPI offline'], + ['createdAt' => '2025-08-14T01:39:28.000Z', 'description' => 'OpenAPI offline'], + ['createdAt' => '2025-08-14T01:39:28.000Z', 'description' => 'OpenAPI offline'], + ['createdAt' => '2022-09-08T03:34:35.000Z', 'description' => 'Error codes changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateNetworkRules'], + ], ], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"ADCA45A5-D15C-4B7D-9F81-138B0B36D0BD\\"\\n}","type":"json"}]', + ], + 'CreatePort' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -2408,81 +1908,102 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', - 'abilityTreeCode' => '106249', - 'abilityTreeNodes' => [ - 'FEATUREddosN7DYCX', - ], + 'operationType' => 'create', + 'abilityTreeCode' => '106070', + 'abilityTreeNodes' => ['FEATUREddosN7DYCX'], ], 'parameters' => [ [ - 'name' => 'ResourceGroupId', + 'name' => 'FrontendPort', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'default', - ], + 'schema' => ['description' => 'The frontend port. Valid values: **0** to **65535**.', 'type' => 'string', 'required' => true, 'example' => '55', 'title' => ''], ], [ - 'name' => 'Domain', + 'name' => 'FrontendProtocol', 'in' => 'query', 'schema' => [ - 'description' => 'The domain name of the website.'."\n" + 'description' => 'The forwarding protocol. Valid values:'."\n" + ."\n" + .'- **tcp**: TCP'."\n" ."\n" - .'> A forwarding rule must be configured for the domain name, and the domain name must be associated with an instance that uses the Enhanced function plan. You can call the [DescribeDomains](~~91724~~) operation to query all domain names.'."\n", + .'- **udp**: UDP', 'type' => 'string', 'required' => true, - 'example' => 'www.aliyun.com', + 'enum' => ['tcp', 'udp'], + 'example' => 'tcp', + 'title' => '', ], ], [ - 'name' => 'Enable', + 'name' => 'InstanceId', 'in' => 'query', + 'schema' => ['description' => 'The ID of the Anti-DDoS Pro instance for the port forwarding rule.'."\n" + ."\n" + .'> Call [DescribeInstanceIds](~~157459~~) to query the IDs of all your Anti-DDoS Pro instances.', 'type' => 'string', 'required' => true, 'example' => 'ddoscoo-cn-st21zbyq****', 'title' => ''], + ], + [ + 'name' => 'BackendPort', + 'in' => 'query', + 'schema' => ['description' => 'The backend port. Valid values: **0** to **65535**.', 'type' => 'string', 'required' => false, 'example' => '55', 'title' => ''], + ], + [ + 'name' => 'RealServers', + 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => 'Specifies whether to enable HTTP/2. Valid values:'."\n" - ."\n" - .'* **0**: disables HTTP/2.'."\n" - .'* **1**: enables HTTP/2.'."\n", - 'type' => 'integer', - 'format' => 'int32', + 'description' => 'A list of real server IP addresses.', + 'type' => 'array', + 'items' => ['description' => 'A real server IP address.', 'type' => 'string', 'required' => false, 'example' => '1.XX.XX.1', 'title' => ''], 'required' => true, - 'example' => '1', + 'maxItems' => 20, + 'title' => '', + 'example' => '', ], ], + [ + 'name' => 'ProxyEnable', + 'in' => 'query', + 'schema' => ['description' => 'The proxy switch. Valid values:'."\n" + ."\n" + .'- **0**: Disabled.'."\n" + ."\n" + .'- **1**: Enabled.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '0', 'title' => ''], + ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E', - ], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '4787A9A6-8230-4B4A-8211-AFBF7C416B4D', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E\\"\\n}","errorExample":""},{"type":"xml","example":"\\r\\n\\r\\n\\tC33EB3D5-AF96-43CA-9C7E-37A81BC06A1E\\r\\n","errorExample":""}]', - 'title' => 'ModifyHttp2Enable', - 'summary' => 'Enables or disables HTTP/2 for the forwarding rule of a website.', - 'description' => '> This operation is suitable only for Anti-DDoS Proxy (Chinese Mainland).'."\n", - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'ModifyWebAccessMode' => [ - 'methods' => [ - 'post', - 'get', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4787A9A6-8230-4B4A-8211-AFBF7C416B4D\\"\\n}","type":"json"}]', + 'title' => 'CreatePort', + 'summary' => 'Creates a port forwarding rule.', + 'description' => 'This operation supports integration with Terraform. For more information about Terraform, see [What is Terraform?](~~95820~~).', + 'changeSet' => [ + ['createdAt' => '2025-08-14T03:28:22.000Z', 'description' => 'OpenAPI offline'], + ['createdAt' => '2025-08-14T01:39:31.000Z', 'description' => 'OpenAPI offline'], + ['createdAt' => '2025-08-14T01:39:28.000Z', 'description' => 'OpenAPI offline'], + ['createdAt' => '2024-08-29T05:59:47.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2022-09-08T03:34:35.000Z', 'description' => 'Error codes changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreatePort'], + ], ], + 'ramActions' => [], + ], + 'CreateSceneDefensePolicy' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -2491,39 +2012,40 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', - 'abilityTreeCode' => '106259', - 'abilityTreeNodes' => [ - 'FEATUREddosOZ1QOD', - ], + 'operationType' => 'create', + 'abilityTreeCode' => '106071', + 'abilityTreeNodes' => ['FEATUREddosM9SQC1'], ], 'parameters' => [ [ - 'name' => 'Domain', + 'name' => 'Name', + 'in' => 'query', + 'schema' => ['description' => 'The name of the policy.'."\n", 'type' => 'string', 'required' => true, 'example' => 'testpolicy', 'title' => ''], + ], + [ + 'name' => 'Template', 'in' => 'query', 'schema' => [ - 'description' => 'The domain name of the website.'."\n" + 'description' => 'The template of the policy. Valid values:'."\n" ."\n" - .'> A forwarding rule must be configured for the domain name. You can call the [DescribeDomains](~~91724~~) operation to query all domain names.'."\n", + .'* **promotion**: important activity.'."\n" + .'* **bypass**: all traffic forwarded.'."\n", 'type' => 'string', 'required' => true, - 'example' => 'www.aliyun.com', + 'example' => 'promotion', + 'enum' => ['promotion'], + 'title' => '', ], ], [ - 'name' => 'AccessMode', + 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => 'The mode in which a website service is added to Anti-DDoS Pro or Anti-DDoS Premium. Valid values:'."\n" - ."\n" - .'* **0**: A record mode'."\n" - .'* **1**: anti-DDoS mode'."\n" - .'* **2**: origin redundancy mode'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '2', - ], + 'schema' => ['description' => 'The start time of the policy. This value is a UNIX timestamp. Units: milliseconds.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1585670400000', 'title' => ''], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => ['description' => 'The end time of the policy. This value is a UNIX timestamp. Units: milliseconds.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1586016000000', 'title' => ''], ], ], 'responses' => [ @@ -2531,28 +2053,49 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc', - ], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true**: yes'."\n" + .'* **false**: no'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'F65DF043-E0EB-4796-9467-23DDCDF92C1D', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}","errorExample":""},{"type":"xml","example":"\\r\\n 0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\r\\n","errorExample":""}]', - 'title' => 'ModifyWebAccessMode', - 'summary' => 'Changes the mode in which a website service is added to Anti-DDoS Pro or Anti-DDoS Premium.', - ], - 'ModifyCnameReuse' => [ - 'methods' => [ - 'post', - 'get', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Success\\": true,\\n \\"RequestId\\": \\"F65DF043-E0EB-4796-9467-23DDCDF92C1D\\"\\n}","errorExample":""},{"type":"xml","example":"\\r\\n\\r\\n\\tF65DF043-E0EB-4796-9467-23DDCDF92C1D\\r\\n\\ttrue\\r\\n","errorExample":""}]', + 'title' => 'CreateSceneDefensePolicy', + 'summary' => 'Creates a scenario-specific custom policy.', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:35.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateSceneDefensePolicy'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:CreateSceneDefensePolicy', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'CreateSchedulerRule' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -2561,58 +2104,69 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', - 'abilityTreeCode' => '106229', - 'abilityTreeNodes' => [ - 'FEATUREddosZIK01A', - ], + 'operationType' => 'create', + 'abilityTreeCode' => '106072', + 'abilityTreeNodes' => ['FEATUREddosZIK01A'], ], 'parameters' => [ [ 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'default', - ], + 'schema' => ['description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n", 'type' => 'string', 'required' => false, 'example' => 'default', 'title' => ''], ], [ - 'name' => 'Domain', + 'name' => 'Rules', 'in' => 'query', - 'schema' => [ - 'description' => 'The domain name of the website.'."\n" - ."\n" - .'> A forwarding rule must be configured for the domain name. You can call the [DescribeDomains](~~91724~~) operation to query all domain names.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'www.aliyun.com', - ], + 'schema' => ['description' => 'The details of the scheduling rule. This parameter is a JSON string. The following list describes the fields in the value of the parameter:'."\n" + ."\n" + .'* **Type**: the address type of the interaction resource that you want to use in the scheduling rule. This field is required and must be of the string type. Valid values:'."\n" + ."\n" + .' * **A**: IP address'."\n" + .' * **CNAME**: domain name'."\n" + ."\n" + .'* **Value**: the address of the interaction resource that you want to use in the scheduling rule. This field is required and must be of the string type.'."\n" + ."\n" + .'* **Priority**: the priority of the scheduling rule. This field is required and must be of the integer type. Valid values: **0** to **100**. A larger value indicates a higher priority.'."\n" + ."\n" + .'* **ValueType**: the type of the interaction resource that you want to use in the scheduling rule. This field is required and must be of the integer type. Valid values:'."\n" + ."\n" + .' * **1**: the IP address of the Anti-DDoS Pro or Anti-DDoS Premium instance'."\n" + .' * **2**: the IP address of the interaction resource in the tiered protection scenario'."\n" + .' * **3**: the IP address that is used to accelerate access in the network acceleration scenario'."\n" + .' * **5**: the domain name that is configured in Alibaba Cloud CDN (CDN) in the CDN interaction scenario'."\n" + .' * **6** the IP address of the interaction resource in the cloud service interaction scenario'."\n" + ."\n" + .'* **RegionId**: the region where the interaction resource is deployed. This parameter must be specified when **ValueType** is set to **2**. The value must be of the string type.'."\n", 'type' => 'string', 'required' => true, 'example' => '[{"Type":"A", "Value":"1.1.XX.XX", "Priority":80,"ValueType":2, "RegionId":"cn-hangzhou" },{"Type":"A", "Value":"203.199.XX.XX", "Priority":80,"ValueType":1}]', 'title' => ''], ], [ - 'name' => 'Cname', + 'name' => 'RuleName', 'in' => 'query', - 'schema' => [ - 'description' => 'The CNAME record that you want to reuse for the website.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '4o6ep6q217k9****.aliyunddos0004.com', - ], + 'schema' => ['description' => 'The name of the rule.'."\n", 'type' => 'string', 'required' => true, 'example' => 'testrule', 'title' => ''], ], [ - 'name' => 'Enable', + 'name' => 'RuleType', 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether to enable CNAME reuse. Valid values:'."\n" - ."\n" - .'* **0:** disabled'."\n" - .'* **1:** enabled'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '1', - ], + 'schema' => ['description' => 'The type of the rule. Valid values:'."\n" + ."\n" + .'* **2**: tiered protection'."\n" + .'* **3**: network acceleration'."\n" + .'* **5**: Alibaba Cloud CDN (CDN) interaction'."\n" + .'* **6**: cloud service interaction'."\n" + .'* **8**: secure acceleration'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '2', 'title' => ''], + ], + [ + 'name' => 'Param', + 'in' => 'query', + 'schema' => ['description' => 'The details of the CDN interaction rule. This parameter is a JSON string. The following list describes the fields in the value of the parameter:'."\n" + ."\n" + .'* **ParamType**: the type of the scheduling rule. This field is required and must be of the string type. Set the value to **cdn**. This indicates that you want to modify a CDN interaction rule.'."\n" + ."\n" + .'* **ParamData**: the values of parameters that you want to modify for the CDN interaction rule. This field is required and must be of the map type. ParamData contains the following parameters:'."\n" + ."\n" + .' * **Domain**: the accelerated domain in CDN. This parameter is required and must be of the string type.'."\n" + .' * **Cname**: the CNAME that is assigned to the accelerated domain. This parameter is required and must be of the string type.'."\n" + .' * **AccessQps**: the queries per second (QPS) threshold that is used to switch service traffic to Anti-DDoS Pro or Anti-DDoS Premium. This parameter is required and must be of the integer type.'."\n" + .' * **UpstreamQps**: the QPS threshold that is used to switch service traffic to CDN. This parameter is optional and must be of the integer type.'."\n", 'type' => 'string', 'required' => false, 'example' => '{"ParamType":"cdn","ParamData":{"Domain":"example.aliyundoc.com","Cname":"demo.aliyundoc.com","AccessQps":100,"UpstreamQps":100}}', 'title' => ''], ], ], 'responses' => [ @@ -2620,33 +2174,50 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc', - ], + 'RequestId' => ['description' => 'The ID of the request, which is used to locate and troubleshoot issues.'."\n", 'type' => 'string', 'example' => '8DFB602D-1AAC-46C4-90F2-C84086E7A6E4', 'title' => ''], + 'Cname' => ['description' => 'The CNAME that is assigned by Sec-Traffic Manager for the scheduling rule.'."\n" + ."\n" + .'> To enable the scheduling rule, you must map the domain name of the service to the CNAME.'."\n", 'type' => 'string', 'example' => '48k7b372gpl4****.aliyunddos0001.com', 'title' => ''], + 'RuleName' => ['description' => 'The name of the rule.'."\n", 'type' => 'string', 'example' => 'testrule', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}","errorExample":""},{"type":"xml","example":"\\r\\n\\r\\n\\t0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\r\\n","errorExample":""}]', - 'title' => 'ModifyCnameReuse', - 'summary' => 'Enables or disables CNAME reuse for a website.', - 'description' => '> This operation is suitable only for Anti-DDoS Premium.'."\n", + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"8DFB602D-1AAC-46C4-90F2-C84086E7A6E4\\",\\n \\"Cname\\": \\"48k7b372gpl4****.aliyunddos0001.com\\",\\n \\"RuleName\\": \\"testrule\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 8DFB602D-1AAC-46C4-90F2-C84086E7A6E4\\n 48k7b372gpl4****.aliyunddos0001.com\\n testrule\\n","errorExample":""}]', + 'title' => 'CreateSchedulerRule', + 'summary' => 'Creates a scheduling rule for Sec-Traffic Manager.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeWebRules' => [ - 'summary' => 'Query Configuration of Website Business Forwarding Rules.', - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:35.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateSchedulerRule'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:CreateSchedulerRule', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'CreateTagResources' => [ + 'summary' => 'Adds tags to multiple Anti-DDoS Proxy instances at a time.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -2655,106 +2226,68 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'list', + 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '106211', - 'abilityTreeNodes' => [ - 'FEATUREddos64TBV6', - ], - 'autoTest' => true, + 'abilityTreeCode' => '106073', + 'abilityTreeNodes' => ['FEATUREddosMHU3MF'], ], 'parameters' => [ [ - 'name' => 'ResourceGroupId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The resource group ID of the DDoS protection instance in the resource management service.'."\n" - ."\n" - .'Not setting this parameter indicates the default resource group.', - 'type' => 'string', - 'required' => false, - 'example' => 'rg-acfm2pz25js****', - ], - ], - [ - 'name' => 'Domain', - 'in' => 'query', - 'schema' => [ - 'description' => 'The domain name of the website to query.'."\n" - ."\n" - .'> The domain must have been configured with website business forwarding rules. You can call [DescribeDomains](~~DescribeDomains~~) to query all domains that have been configured with website business forwarding rules.', - 'type' => 'string', - 'required' => false, - 'example' => 'example.com', - ], - ], - [ - 'name' => 'Cname', + 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => 'The CNAME address to query.', - 'type' => 'string', - 'required' => false, - 'example' => 'kzmk7b8tt351****.aliyunddos1014****', - 'maxLength' => 128, - 'minLength' => 3, - ], + 'schema' => ['description' => 'The region ID of the Anti-DDoS Proxy instance.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ - 'name' => 'QueryDomainPattern', + 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => 'The query matching pattern. Values:'."\n" - .'- **fuzzy** (default): Indicates fuzzy query.'."\n" - .'- **exact**: Indicates exact query.', - 'type' => 'string', - 'required' => false, - 'example' => 'exact', - ], + 'schema' => ['description' => 'The ID of the resource group to which the instance belongs in Resource Management.'."\n" + ."\n" + .'If you do not specify this parameter, the instance belongs to the default resource group.', 'type' => 'string', 'required' => false, 'example' => 'rg-acfm2pz25js****', 'title' => ''], ], [ - 'name' => 'PageNumber', + 'name' => 'ResourceType', 'in' => 'query', - 'schema' => [ - 'description' => 'The page number. Default value: **1**.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - 'default' => '1', - ], + 'schema' => ['description' => 'The type of the resource to which the tag belongs. Set the value to **INSTANCE**, which indicates an Anti-DDoS Pro instance.', 'type' => 'string', 'required' => true, 'example' => 'INSTANCE', 'title' => ''], ], [ - 'name' => 'PageSize', + 'name' => 'ResourceIds', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => 'The number of entries per page. Valid values: **1** to **10**.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '10', - 'default' => '10', + 'description' => 'The IDs of the Anti-DDoS Proxy instances to which you want to add tags.', + 'type' => 'array', + 'items' => ['description' => 'The ID of the Anti-DDoS Proxy instance to which you want to add tags.'."\n" + ."\n" + .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all Anti-DDoS Proxy instances.', 'type' => 'string', 'required' => false, 'example' => 'ddoscoo-cn-mp91j1ao****', 'title' => ''], + 'required' => true, + 'example' => 'ddoscoo-cn-mp91j1ao****', + 'maxItems' => 51, + 'title' => '', ], ], [ - 'name' => 'InstanceIds', + 'name' => 'Tags', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ - 'description' => 'The list of DDoS protection instance IDs to query.', + 'description' => 'An array that consists of the tags to add.', 'type' => 'array', 'items' => [ - 'description' => 'The ID of the DDoS protection instance to query. The maximum value of N is 200, meaning up to 200 DDoS protection instances can be configured, with instance IDs separated by a comma (,).'."\n" - ."\n" - .'> You can call [DescribeInstanceIds](~~DescribeInstanceIds~~) to query the IDs of all DDoS protection instances.', - 'type' => 'string', + 'type' => 'object', + 'properties' => [ + 'Key' => ['description' => 'The key of the tag to add.', 'type' => 'string', 'required' => false, 'example' => 'testkey', 'title' => ''], + 'Value' => ['description' => 'The value of the tag to add.', 'type' => 'string', 'required' => false, 'example' => 'testvalue', 'title' => ''], + ], 'required' => false, - 'example' => 'ddoscoo-cn-i7m27nf3****', + 'description' => '', + 'title' => '', + 'example' => '', ], 'required' => false, - 'example' => 'ddoscoo-cn-mp91j1ao****', - 'maxItems' => 100, + 'maxItems' => 21, + 'title' => '', + 'example' => '', ], ], ], @@ -2763,481 +2296,244 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'TotalCount' => [ - 'description' => 'The total number of queried website business forwarding rules.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '0F5B72DD-96F4-423A-B12B-A5151DD746B8', - ], - 'WebRules' => [ - 'description' => 'The configurations of the forwarding rule.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Domain' => [ - 'description' => 'The domain name of the website.'."\n", - 'type' => 'string', - 'example' => 'example.com', - ], - 'Http2HttpsEnable' => [ - 'description' => 'Indicates whether Enable HTTPS Redirection was turned on. Valid values:'."\n" - ."\n" - .'* **true**'."\n" - .'* **false**'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'SslProtocols' => [ - 'description' => 'The version of the Transport Layer Security (TLS) protocol. Valid values:'."\n" - ."\n" - .'* **tls1.0**: TLS 1.0 or later'."\n" - .'* **tls1.1**: TLS 1.1 or later'."\n" - .'* **tls1.2**: TLS 1.2 or later'."\n", - 'type' => 'string', - 'example' => 'tls1.1', - ], - 'PunishReason' => [ - 'description' => 'The reason why the domain name is invalid. Valid values:'."\n" - ."\n" - .'* **1**: No Content Provider (ICP) filing is completed for the domain name.'."\n" - .'* **2**: The business for which you registered the domain name does not meet regulatory requirements.'."\n" - ."\n" - .'If the two reasons are both involved, the value **2** is returned.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'CcTemplate' => [ - 'description' => 'The mode of the Frequency Control policy. Valid values:'."\n" - ."\n" - .'* **default**: the Normal mode'."\n" - .'* **gf_under_attack**: the Emergency mode'."\n" - .'* **gf_sos_verify**: the Strict mode'."\n" - .'* **gf_sos_verify**: the Super Strict mode'."\n", - 'type' => 'string', - 'example' => 'default', - ], - 'CcEnabled' => [ - 'description' => 'Indicates whether the Frequency Control policy is enabled. Valid values:'."\n" - ."\n" - .'* **true**'."\n" - .'* **false**'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'SslCiphers' => [ - 'description' => 'The type of the cipher suite. Valid values:'."\n" - ."\n" - .'* **default**: custom cipher suites'."\n" - .'* **all**: all cipher suites, which contain strong and weak cipher suites'."\n" - .'* **strong**: strong cipher suites'."\n", - 'type' => 'string', - 'example' => 'default', - ], - 'Ssl13Enabled' => [ - 'description' => 'Indicates whether TLS 1.3 is supported. Valid values:'."\n" - ."\n" - .'* **true**'."\n" - .'* **false**'."\n", - 'type' => 'boolean', - 'example' => 'false', - ], - 'CcRuleEnabled' => [ - 'description' => 'Indicates whether the Custom Rule switch of the Frequency Control policy is turned on. Valid values:'."\n" - ."\n" - .'* **true**'."\n" - .'* **false**'."\n", - 'type' => 'boolean', - 'example' => 'false', - ], - 'OcspEnabled' => [ - 'description' => 'Indicates whether the Online Certificate Status Protocol (OCSP) feature is enabled. Valid values:'."\n" - ."\n" - .'* **true**'."\n" - .'* **false**'."\n", - 'type' => 'boolean', - 'example' => 'false', - ], - 'PunishStatus' => [ - 'description' => 'Indicates whether the domain name is invalid. Valid values:'."\n" - ."\n" - .'* **true**: You can view the specific reasons from the **PunishReason** parameter.'."\n" - .'* **false**'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'ProxyEnabled' => [ - 'description' => 'Indicates whether the forwarding rule is enabled. Valid values:'."\n" - ."\n" - .'* **true**'."\n" - .'* **false**'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'CertName' => [ - 'description' => 'The name of the SSL certificate.'."\n", - 'type' => 'string', - 'example' => 'testcert', - ], - 'PolicyMode' => [ - 'description' => 'The load balancing algorithm for back-to-origin traffic. Valid values:'."\n" - ."\n" - .'* **ip_hash**: the IP hash algorithm. This algorithm is used to redirect the requests from the same IP address to the same origin server.'."\n" - .'* **rr**: the round-robin algorithm. This algorithm is used to redirect requests to origin servers in turn.'."\n" - .'* **least_time**: the least response time algorithm. This algorithm is used to minimize the latency when requests are forwarded from Anti-DDoS Pro or Anti-DDoS Premium instances to origin servers based on the intelligent DNS resolution feature.'."\n", - 'type' => 'string', - 'example' => 'ip_hash', - ], - 'Cname' => [ - 'description' => 'The CNAME provided by the Anti-DDoS Pro or Anti-DDoS Premium instance to which the domain name is added.'."\n", - 'type' => 'string', - 'example' => 'kzmk7b8tt351****.aliyunddos1014****', - ], - 'Http2Enable' => [ - 'description' => 'Indicates whether Enable HTTP/2 is turned on. Valid values:'."\n" - ."\n" - .'* **true**'."\n" - .'* **false**'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'Https2HttpEnable' => [ - 'description' => 'Indicates whether Enable HTTP Redirection of Back-to-origin Requests is turned on. Valid values:'."\n" - ."\n" - .'* **true**'."\n" - .'* **false**'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'ProxyTypes' => [ - 'description' => 'The details of the protocol type and port number.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'ProxyType' => [ - 'description' => 'The type of the protocol. Valid values:'."\n" - ."\n" - .'* **http**'."\n" - .'* **https**'."\n" - .'* **websocket**'."\n" - .'* **websockets**'."\n", - 'type' => 'string', - 'example' => 'https', - ], - 'ProxyPorts' => [ - 'description' => 'The ports.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The port number.'."\n", - 'type' => 'string', - 'example' => '443', - ], - ], - ], - ], - ], - 'RealServers' => [ - 'description' => 'The details of the origin server address.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'RsType' => [ - 'description' => 'The type of the origin server address. Valid values:'."\n" - ."\n" - .'* **0**: IP address'."\n" - .'* **1**: domain name The domain name of the origin server is returned if you deploy proxies, such as Web Application Firewall (WAF), between the origin server and the instance. In this case, the address of the proxy, such as the CNAME provided by WAF, is returned.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'RealServer' => [ - 'description' => 'The address of the origin server.'."\n", - 'type' => 'string', - 'example' => '192.0.XX.XX', - ], - ], - ], - ], - 'WhiteList' => [ - 'description' => 'The IP addresses in the whitelist for the domain name.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The IP address in the whitelist for the domain name.'."\n" - ."\n" - .'> This parameter is returned only when the IP address whitelist is configured for the domain name. You can call the [ConfigWebIpSet](~~157469~~) operation to configure the IP address whitelist and the IP address blacklist for the domain name.'."\n", - 'type' => 'string', - 'example' => '192.168.XX.XX', - ], - ], - 'BlackList' => [ - 'description' => 'The IP addresses in the blacklist for the domain name.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The IP address in the blacklist for the domain name.'."\n" - ."\n" - .'> This parameter is returned only when the IP address blacklist is configured for the domain name. You can call the [ConfigWebIpSet](~~157469~~) operation to configure the IP address whitelist and the IP address blacklist for the domain name.'."\n", - 'type' => 'string', - 'example' => '192.0.XX.XX', - ], - ], - 'CustomCiphers' => [ - 'description' => 'The custom cipher suites.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The custom cipher suite.'."\n", - 'type' => 'string', - 'example' => 'ECDHE-ECDSA-AES128-GCM-SHA256', - ], - ], - 'GmCert' => [ - 'description' => 'The SM certificate settings.'."\n", - 'type' => 'object', - 'properties' => [ - 'CertId' => [ - 'description' => 'The ID of the SM certificate.'."\n", - 'type' => 'string', - 'example' => '725****', - ], - 'GmEnable' => [ - 'description' => 'Indicates whether Enable SM Certificate-based Verification is turned on.'."\n" - ."\n" - .'* 0: no'."\n" - .'* 1: yes'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'GmOnly' => [ - 'description' => 'Indicates whether Allow Access Only from SM Certificates-based Clients is turned on.'."\n" - ."\n" - .'* 0: no'."\n" - .'* 1: yes'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - ], - ], - 'CertRegion' => [ - 'description' => 'The region where the certificate is used. Valid values:'."\n" - ."\n" - .'* cn-hangzhou (default): the Chinese mainland'."\n" - .'* ap-southeast-1: outside the Chinese mainland'."\n", - 'type' => 'string', - 'example' => 'cn-hangzhou', - ], - 'UserCertName' => [ - 'description' => 'The name of the certificate uploaded by the user to the certificate center.', - 'type' => 'string', - 'example' => 'test', - ], - 'Tls13CustomCiphers' => [ - 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], - ], - 'CertExpireTime' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - ], - 'description' => '', - ], - ], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E', 'title' => ''], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"TotalCount\\": 1,\\n \\"RequestId\\": \\"0F5B72DD-96F4-423A-B12B-A5151DD746B8\\",\\n \\"WebRules\\": [\\n {\\n \\"Domain\\": \\"example.com\\",\\n \\"Http2HttpsEnable\\": true,\\n \\"SslProtocols\\": \\"tls1.1\\",\\n \\"PunishReason\\": 1,\\n \\"CcTemplate\\": \\"default\\",\\n \\"CcEnabled\\": true,\\n \\"SslCiphers\\": \\"default\\",\\n \\"Ssl13Enabled\\": false,\\n \\"CcRuleEnabled\\": false,\\n \\"OcspEnabled\\": false,\\n \\"PunishStatus\\": true,\\n \\"ProxyEnabled\\": true,\\n \\"CertName\\": \\"testcert\\",\\n \\"PolicyMode\\": \\"ip_hash\\",\\n \\"Cname\\": \\"kzmk7b8tt351****.aliyunddos1014****\\",\\n \\"Http2Enable\\": true,\\n \\"Https2HttpEnable\\": true,\\n \\"ProxyTypes\\": [\\n {\\n \\"ProxyType\\": \\"https\\",\\n \\"ProxyPorts\\": [\\n \\"443\\"\\n ]\\n }\\n ],\\n \\"RealServers\\": [\\n {\\n \\"RsType\\": 0,\\n \\"RealServer\\": \\"192.0.XX.XX\\"\\n }\\n ],\\n \\"WhiteList\\": [\\n \\"192.168.XX.XX\\"\\n ],\\n \\"BlackList\\": [\\n \\"192.0.XX.XX\\"\\n ],\\n \\"CustomCiphers\\": [\\n \\"ECDHE-ECDSA-AES128-GCM-SHA256\\"\\n ],\\n \\"GmCert\\": {\\n \\"CertId\\": \\"725****\\",\\n \\"GmEnable\\": 1,\\n \\"GmOnly\\": 1\\n },\\n \\"CertRegion\\": \\"cn-hangzhou\\",\\n \\"UserCertName\\": \\"test\\",\\n \\"Tls13CustomCiphers\\": [\\n \\"\\"\\n ],\\n \\"CertExpireTime\\": 0\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\n 1\\n 0F5B72DD-96F4-423A-B12B-A5151DD746B8\\n \\n example.com\\n true\\n tls1.1\\n 1\\n default\\n true\\n default\\n false\\n false\\n false\\n true\\n true\\n testcert\\n ip_hash\\n kzmk7b8tt351****.aliyunddos1014****\\n true\\n true\\n \\n https\\n 443\\n \\n \\n 0\\n 192.0.XX.XX\\n \\n 192.168.XX.XX\\n 192.0.XX.XX\\n ECDHE-ECDSA-AES128-GCM-SHA256\\n \\n 725****\\n 1\\n 1\\n \\n \\n","errorExample":""}]', - 'title' => 'DescribeWebRules', - 'description' => 'This interface is used for paginated querying of the configurations of website business forwarding rules you have created, such as forwarding protocol types, source server addresses, HTTPS configurations, IP blacklist configurations, and more.'."\n" + 'title' => 'CreateTagResources', + 'description' => 'You can call the CreateTagResources operation to add tags to multiple Anti-DDoS Proxy instances at a time.'."\n" ."\n" - .'Before calling this interface, you must have already called [CreateWebRule](~~CreateWebRule~~) to create website business forwarding rules.'."\n" + .'### [](#qps-)Limits'."\n" ."\n" - .'### QPS Limit'."\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.', + 'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see [Common parameters](~~157269~~).'."\n" ."\n" - .'The per-user QPS limit for this interface is 50 times/second. Exceeding this limit will result in API calls being throttled, which may impact your business; please use it reasonably.', + .'For more information about sample requests, see the **"Examples"** section of this topic.', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeWebInstanceRelations' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:34.000Z', 'description' => 'Error codes changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateTagResources'], + ], ], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E\\"\\n}","type":"json"}]', + ], + 'CreateWebCCRule' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'deprecated' => false, + 'deprecated' => true, 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeCode' => '106207', - 'abilityTreeNodes' => [ - 'FEATUREddosOZ1QOD', - ], + 'operationType' => 'create', + 'abilityTreeCode' => '106074', + 'abilityTreeNodes' => ['FEATUREddosOZ1QOD'], ], 'parameters' => [ [ 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'default', - ], + 'schema' => ['description' => 'The resource group ID of the Anti-DDoS instance in Resource Management. Default value: empty, which indicates that the instance belongs to the default resource group.'."\n" + ."\n" + .'For more information, see [Create a resource group](~~94485~~).', 'type' => 'string', 'required' => false, 'example' => 'rg-acfm2pz25js****', 'title' => ''], ], [ - 'name' => 'Domains', + 'name' => 'Domain', 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => 'The domain names of the website.'."\n" - ."\n" - .'> A forwarding rule must be configured for the domain names. You can call the [DescribeDomains](~~91724~~) operation to query all domain names.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The domain name of the website.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'www.aliyun**.com', - ], - 'required' => true, - 'example' => 'www.aliyun.com', - 'maxItems' => 20, - ], + 'schema' => ['description' => 'The domain name of the website.'."\n" + ."\n" + .'> The domain name must have a website forwarding rule configured. You can call [DescribeDomains](~~91724~~) to query all domain names.', 'type' => 'string', 'required' => true, 'example' => 'www.aliyun.com', 'title' => ''], + ], + [ + 'name' => 'Name', + 'in' => 'query', + 'schema' => ['description' => 'The rule name. The name can contain letters, digits, and underscores (\\_) and cannot exceed 128 characters in length.', 'type' => 'string', 'required' => true, 'example' => 'testrule', 'title' => ''], + ], + [ + 'name' => 'Act', + 'in' => 'query', + 'schema' => ['description' => 'The action to be performed on requests that match the rule. Valid values:'."\n" + ."\n" + .'- **close**: blocks the request.'."\n" + .'- **captcha**: initiates bot detection.', 'type' => 'string', 'required' => true, 'example' => 'close', 'title' => ''], + ], + [ + 'name' => 'Count', + 'in' => 'query', + 'schema' => ['description' => 'The number of access requests from a single IP address. Valid values: **2** to **2000**.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '60', 'title' => ''], + ], + [ + 'name' => 'Interval', + 'in' => 'query', + 'schema' => ['description' => 'The detection duration. Valid values: **5** to **10800**. Unit: seconds.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '20', 'title' => ''], + ], + [ + 'name' => 'Mode', + 'in' => 'query', + 'schema' => ['description' => 'The matching mode. Valid values:'."\n" + ."\n" + .'- **prefix**: prefix match.'."\n" + .'- **match**: exact match.'."\n" + ."\n" + .'> If the detection path **URI** contains parameters, select prefix match (**prefix**).', 'type' => 'string', 'required' => true, 'example' => 'prefix', 'title' => ''], + ], + [ + 'name' => 'Ttl', + 'in' => 'query', + 'schema' => ['description' => 'The blocking duration. Valid values: **60** to **86400**. Unit: seconds.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '60', 'title' => ''], + ], + [ + 'name' => 'Uri', + 'in' => 'query', + 'schema' => ['description' => 'The detection path.'."\n" + ."\n" + .'> The URI cannot be modified. A rule is uniquely identified by the domain name of the website, the detection path, and the rule name.', 'type' => 'string', 'required' => true, 'example' => '/abc/a.php', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'description' => 'The body of the returned data.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '0222382B-5FE5-4FF7-BC9B-97EE31D58818', - ], - 'WebInstanceRelations' => [ - 'description' => 'The information about the instances to which a website service is added.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Domain' => [ - 'description' => 'The domain name of the website.'."\n", - 'type' => 'string', - 'example' => 'www.aliyun.com', - ], - 'InstanceDetails' => [ - 'description' => 'The information about the instance to which a website service is added.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'FunctionVersion' => [ - 'description' => 'The function plan of the instance. Valid values:'."\n" - ."\n" - .'* **default**: Standard function plan'."\n" - .'* **enhance**: Enhanced function plan'."\n", - 'type' => 'string', - 'example' => 'enhance', - ], - 'InstanceId' => [ - 'description' => 'The ID of the instance.'."\n", - 'type' => 'string', - 'example' => 'ddoscoo-cn-0pp163pd****', - ], - 'EipList' => [ - 'description' => 'The IP addresses of the instance.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The IP address of the instance.'."\n", - 'type' => 'string', - 'example' => '203.***.***.158', - ], - ], - ], - ], - ], - ], - ], - ], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc', 'title' => ''], ], + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0222382B-5FE5-4FF7-BC9B-97EE31D58818\\",\\n \\"WebInstanceRelations\\": [\\n {\\n \\"Domain\\": \\"www.aliyun.com\\",\\n \\"InstanceDetails\\": [\\n {\\n \\"FunctionVersion\\": \\"enhance\\",\\n \\"InstanceId\\": \\"ddoscoo-cn-0pp163pd****\\",\\n \\"EipList\\": [\\n \\"203.***.***.158\\"\\n ]\\n }\\n ]\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\r\\n\\r\\n\\t0222382B-5FE5-4FF7-BC9B-97EE31D58818\\r\\n\\t\\r\\n\\t\\t\\r\\n\\t\\t\\t203.***.***.158\\r\\n\\t\\t\\tddoscoo-cn-0pp163pd****\\r\\n\\t\\t\\tenhance\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\t203.***.***.38\\r\\n\\t\\t\\tddoscoo-cn-45917cd3****\\r\\n\\t\\t\\tenhance\\r\\n\\t\\t\\r\\n\\t\\twww.aliyun.com\\r\\n\\t\\r\\n","errorExample":""}]', - 'title' => 'DescribeWebInstanceRelations', - 'summary' => 'Queries the information about Anti-DDoS Pro or Anti-DDoS Premium instances to which a website service is added.', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'DescribeCerts' => [ - 'methods' => [ - 'post', - 'get', + 'staticInfo' => [ + 'substitutions' => ['ddoscoo::2020-01-01::ConfigWebCCRuleV2'], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}","type":"json"}]', + 'title' => 'CreateWebCCRule', + 'summary' => 'Creates a custom rule for website HTTP flood protection (CC protection).', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:35.000Z', 'description' => 'Error codes changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateWebCCRule'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:CreateWebCCRule', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'CreateWebRule' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeCode' => '106106', - 'abilityTreeNodes' => [ - 'FEATUREddos64TBV6', - ], + 'operationType' => 'create', + 'abilityTreeCode' => '106075', + 'abilityTreeNodes' => ['FEATUREddos64TBV6'], ], 'parameters' => [ [ 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'default', - ], + 'schema' => ['description' => 'The ID of the resource group to which the Anti-DDoS Proxy instance belongs in Resource Management. If you leave this parameter empty, the instance belongs to the default resource group.'."\n" + ."\n" + .'For more information about resource groups, see [Create a resource group](~~94485~~).', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'rg-acfm2pz25js****'], ], [ 'name' => 'Domain', 'in' => 'query', + 'schema' => ['description' => 'The domain name of the website to add to the Anti-DDoS Proxy instance for protection.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'example.aliyundoc.com'], + ], + [ + 'name' => 'RsType', + 'in' => 'query', + 'schema' => ['description' => 'The address type of the origin server. Valid values:'."\n" + ."\n" + .'- **0**: IP address.'."\n" + ."\n" + .'- **1**: domain name. This value is typically used when a proxy service, such as Web Application Firewall (WAF), is deployed between the origin server and the Anti-DDoS Proxy instance. The domain name is the back-to-origin address of the proxy service, such as the canonical name (CNAME) of WAF.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'title' => '', 'example' => '0'], + ], + [ + 'name' => 'Rules', + 'in' => 'query', + 'schema' => ['description' => 'The details of the forwarding rule, in a JSON string format. The value is an array of objects. Each object contains the following fields:'."\n" + ."\n" + .'- **ProxyRules**: This field is a JSON array. Required. The information about the origin server, including the port number and server address. Each object in the array contains the following fields:'."\n" + ."\n" + .' - **ProxyPort**: This field is an integer. Required. The port number that is used by the protocol.'."\n" + ."\n" + .' - **RealServers**: This field is a string array. Required. The addresses of the origin servers.'."\n" + ."\n" + .'- **ProxyType**: This field is a string. Required. The protocol of the website. Valid values: **http**, **https**, **websocket**, and **websockets**.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => '[{"ProxyRules":[{"ProxyPort":443,"RealServers":["192.1.XX.XX"]}],"ProxyType":"https"}]'], + ], + [ + 'name' => 'HttpsExt', + 'in' => 'query', + 'schema' => ['description' => 'The advanced HTTPS settings. This parameter takes effect only when the value of **ProxyType** includes **https**. This parameter is a JSON string. The value is a JSON object that contains the following fields:'."\n" + ."\n" + .'- **Http2https**: This field is an integer. Optional. Specifies whether to forcibly redirect HTTP requests to HTTPS requests. Valid values: **0** (disabled) and **1** (enabled). The default value is 0.'."\n" + ."\n" + .' This setting is available when your website supports both HTTP and HTTPS. If you enable this setting, all HTTP requests are redirected to HTTPS requests over port 443.'."\n" + ."\n" + .'- **Https2http**: This field is an integer. Optional. Specifies whether to enable HTTP back-to-origin. Valid values: **0** (disabled) and **1** (enabled). The default value is 0.'."\n" + ."\n" + .' This setting applies to websites that do not support HTTPS back-to-origin. If you enable this setting, all HTTPS requests are sent to the origin server over HTTP on port 80 by default. All WebSockets requests are sent to the origin server over WebSocket.'."\n" + ."\n" + .'- **Http2**: This field is an integer. Optional. Specifies whether to enable HTTP/2. Valid values: **0** (disabled) and **1** (enabled). The default value is 0.'."\n" + ."\n" + .' If you enable this setting, HTTP/2 is used.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '{"Http2":1,"Http2https":1,"Https2http":1}'], + ], + [ + 'name' => 'DefenseId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the protection rule to associate. This parameter is used when an Alibaba Cloud service, such as Object Storage Service (OSS), is integrated with an Anti-DDoS instance.'."\n" + ."\n" + .'> This parameter is for internal use. Do not use this parameter.'."\n" + ."\n" + .'For example, if your OSS is integrated with an Anti-DDoS Proxy instance, the instance allocates a resource pool of IP addresses to the OSS tenant account. Each IP address has a unique protection ID. The protection ID is a CNAME that resolves to the IP address of the Anti-DDoS instance by default. You can resolve the CNAME to an IP address. This lets you reuse the IP address for flexible scheduling.'."\n" + ."\n" + .'> You cannot specify both **InstanceIds** and **DefenseId**.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'testid'], + ], + [ + 'name' => 'InstanceIds', + 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => 'The domain name of the website.'."\n" + 'description' => 'The IDs of the Anti-DDoS Proxy instances to associate.', + 'type' => 'array', + 'items' => ['description' => 'The ID of the Anti-DDoS Proxy instance to associate. You must specify either this parameter or DefenseId.'."\n" ."\n" - .'> A forwarding rule must be configured for the domain name. You can call the [DescribeDomains](~~91724~~) operation to query all domain names.'."\n", - 'type' => 'string', + .'> Call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all Anti-DDoS instances.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'ddoscoo-cn-i7m27nf3****'], 'required' => false, - 'example' => 'www.aliyun.com', + 'example' => 'ddoscoo-cn-mp91j1ao****', + 'maxItems' => 100, + 'title' => '', ], ], ], @@ -3246,88 +2542,47 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc', - ], - 'Certs' => [ - 'description' => 'The certificate information about the website.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'EndDate' => [ - 'description' => 'The expiration date of the certificate. The value is a string.'."\n", - 'type' => 'string', - 'example' => '2021-09-12', - ], - 'DomainRelated' => [ - 'description' => 'Indicates whether the certificate is associated with the domain name. Valid values:'."\n" - ."\n" - .'* **true**'."\n" - .'* **false**'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'StartDate' => [ - 'description' => 'The issuance date of the certificate. The value is a string.'."\n", - 'type' => 'string', - 'example' => '2019-09-12', - ], - 'Issuer' => [ - 'description' => 'The certificate authority (CA) that issued the certificate.'."\n", - 'type' => 'string', - 'example' => 'Symantec', - ], - 'Name' => [ - 'description' => 'The name of the certificate.'."\n", - 'type' => 'string', - 'example' => 'testcert', - ], - 'Common' => [ - 'description' => 'The domain name that is associated with the certificate.'."\n", - 'type' => 'string', - 'example' => 'www.aliyun.com', - ], - 'Id' => [ - 'description' => 'The certificate ID.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '81', - ], - 'CertIdentifier' => [ - 'description' => 'The global certificate ID, which is in the certificate ID-cn-hangzhou format. If the ID of the certificate is 123, CertIdentifier is 123-cn-hangzhou.'."\n", - 'type' => 'string', - 'example' => '126345-ap-southeast-1', - ], - ], - ], - ], + 'RequestId' => ['description' => 'The ID of the request. This ID is generated by Alibaba Cloud and is unique for each request. You can use this ID to troubleshoot issues.', 'type' => 'string', 'title' => '', 'example' => '9EC62E89-BD30-4FCD-9CB8-FA53865FF0D7'], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\",\\n \\"Certs\\": [\\n {\\n \\"EndDate\\": \\"2021-09-12\\",\\n \\"DomainRelated\\": true,\\n \\"StartDate\\": \\"2019-09-12\\",\\n \\"Issuer\\": \\"Symantec\\",\\n \\"Name\\": \\"testcert\\",\\n \\"Common\\": \\"www.aliyun.com\\",\\n \\"Id\\": 81,\\n \\"CertIdentifier\\": \\"126345-ap-southeast-1\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\r\\n 0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\r\\n \\r\\n 81\\r\\n testcert\\r\\n www.aliyun.com\\r\\n true\\r\\n Symantec\\r\\n 2019-09-12\\r\\n 2021-09-12\\r\\n \\r\\n","errorExample":""}]', - 'title' => 'DescribeCerts', - 'summary' => 'Queries information about all certificates that can be associated with the current domain name instead of the certificate currently in use.', - 'description' => 'This operation is used to query all applicable certificates of a domain name that you want to add to Anti-DDoS Proxy. Multiple certificates may be queried for a domain name. You can use an exact domain name to query exact-domain certificates or wildcard-domain certificates.'."\n" + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"9EC62E89-BD30-4FCD-9CB8-FA53865FF0D7\\"\\n}","type":"json"}]', + 'title' => 'CreateWebRule', + 'summary' => 'Creates a forwarding rule for a website.', + 'requestParamsDescription' => 'In addition to the request parameters described in this topic, you must specify common request parameters. For more information about common request parameters, see [Common parameters](~~157269~~).'."\n" ."\n" - .'> If you want to query the certificate that is in use for the current domain name, you can call the [DescribeWebRules](~~473610~~) operation to obtain the values of the CertName and CertRegion parameters. Then, you can call the [ListUserCertificateOrder](~~411733~~) operation of Certificate Management Service to query the ID and other details of the certificate by using the value of the CertName parameter.'."\n", - 'requestParamsDescription' => ' ', + .'For more information about the request format, see the request example in the **Examples** section of this topic.', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeWebCustomPorts' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2025-03-17T06:06:50.000Z', 'description' => 'Response parameters changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateWebRule'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:CreateWebRule', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'DeleteAsyncTask' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -3336,23 +2591,23 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeCode' => '106206', - 'abilityTreeNodes' => [ - 'FEATUREddosRTUJBH', - ], + 'operationType' => 'delete', + 'abilityTreeCode' => '106076', + 'abilityTreeNodes' => ['FEATUREddos64TBV6', 'FEATUREddosN7DYCX'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'default', - ], + 'schema' => ['description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n", 'type' => 'string', 'required' => false, 'example' => 'default', 'title' => ''], + ], + [ + 'name' => 'TaskId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the task that you want to delete.'."\n" + ."\n" + .'> You can call the [DescribeAsyncTasks](~~DescribeAsyncTasks~~) operation to query the IDs of all asynchronous export tasks.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1', 'title' => ''], ], ], 'responses' => [ @@ -3360,56 +2615,45 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc', - ], - 'WebCustomPorts' => [ - 'description' => 'An array consisting of information about supported custom ports that are used by a website.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'ProxyType' => [ - 'description' => 'The type of the protocol. Valid values:'."\n" - ."\n" - .'* **http**'."\n" - .'* **https**'."\n", - 'type' => 'string', - 'example' => 'http', - ], - 'ProxyPorts' => [ - 'description' => 'An array that consists of supported custom ports.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The supported custom port.'."\n", - 'type' => 'string', - 'example' => '8080', - ], - ], - ], - ], - ], + 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\",\\n \\"WebCustomPorts\\": [\\n {\\n \\"ProxyType\\": \\"http\\",\\n \\"ProxyPorts\\": [\\n \\"8080\\"\\n ]\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\r\\n\\r\\n\\t0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\r\\n\\t\\r\\n\\t\\thttps\\r\\n\\t\\t443\\r\\n\\t\\t8443\\r\\n\\t\\r\\n\\t\\r\\n\\t\\thttp\\r\\n\\t\\t80\\r\\n\\t\\t8080\\r\\n\\t\\r\\n\\r\\n\\t\\r\\n","errorExample":""}]', - 'summary' => 'Queries the supported custom ports of a website.', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\"\\n}","errorExample":""},{"type":"xml","example":"\\r\\n\\r\\n\\t0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\r\\n","errorExample":""}]', + 'title' => 'DeleteAsyncTask', + 'summary' => 'Deletes an asynchronous export task.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeWebAccessMode' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:35.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteAsyncTask'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DeleteAsyncTask', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'DeleteAutoCcBlacklist' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -3418,32 +2662,29 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeCode' => '106201', - 'abilityTreeNodes' => [ - 'FEATUREddosOZ1QOD', - ], + 'operationType' => 'delete', + 'abilityTreeCode' => '106077', + 'abilityTreeNodes' => ['FEATUREddosI8LHMA'], ], 'parameters' => [ [ - 'name' => 'Domains', + 'name' => 'InstanceId', 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => 'The domain name of the website.'."\n" - ."\n" - .'> A forwarding rule must be configured for a domain name. You can call the [DescribeDomains](~~91724~~) operation to query all domain names.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The domain name of the website.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'www.test****.com', - ], - 'required' => true, - 'example' => 'www.aliyun.com', - 'maxItems' => 20, - ], + 'schema' => ['description' => 'The ID of the Anti-DDoS Pro or Anti-DDoS Premium instance.'."\n" + ."\n" + .'> Call [DescribeInstanceIds](~~157459~~) to query the IDs of all Anti-DDoS Pro and Anti-DDoS Premium instances.', 'type' => 'string', 'required' => true, 'example' => 'ddoscoo-cn-mp91j1ao****', 'title' => ''], + ], + [ + 'name' => 'QueryType', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false, 'description' => '', 'title' => '', 'example' => ''], + ], + [ + 'name' => 'Blacklist', + 'in' => 'query', + 'schema' => ['description' => 'A JSON string that contains the IP addresses to remove from the blacklist. The string has the following structure:'."\n" + ."\n" + .'- **src**: The IP address to remove. This is a required string.', 'type' => 'string', 'required' => true, 'example' => '[{"src":"198.51.XX.XX"},{"src":"198.52.XX.XX"}]', 'title' => ''], ], ], 'responses' => [ @@ -3451,54 +2692,46 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc', - ], - 'DomainModes' => [ - 'description' => 'An array consisting of the modes in which the website service is added.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'AccessMode' => [ - 'description' => 'The mode in which the website service is added. Valid values:'."\n" - ."\n" - .'* **0**: A record'."\n" - .'* **1**: anti-DDoS mode'."\n" - .'* **2**: origin redundancy mode'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'Domain' => [ - 'description' => 'The domain name of the website.'."\n", - 'type' => 'string', - 'example' => 'www.aliyun.com', - ], - ], - ], - ], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\",\\n \\"DomainModes\\": [\\n {\\n \\"AccessMode\\": 0,\\n \\"Domain\\": \\"www.aliyun.com\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\r\\n\\r\\n\\t0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\r\\n\\t\\r\\n\\t\\twww.aliyun.com\\r\\n\\t\\t0\\r\\n\\t\\r\\n","errorExample":""}]', - 'summary' => 'Queries the mode in which a website service is added to Anti-DDoS Pro or Anti-DDoS Premium.', + 'title' => 'DeleteAutoCcBlacklist', + 'summary' => 'Removes IP addresses from the blacklist of an Anti-DDoS Pro or Anti-DDoS Premium instance.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeCnameReuses' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2024-12-12T05:41:48.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2022-09-08T03:34:35.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteAutoCcBlacklist'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DeleteAutoCcBlacklist', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E\\"\\n}","type":"json"}]', + ], + 'DeleteAutoCcWhitelist' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -3507,42 +2740,24 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeCode' => '106108', - 'abilityTreeNodes' => [ - 'FEATUREddos64TBV6', - ], + 'operationType' => 'delete', + 'abilityTreeCode' => '106078', + 'abilityTreeNodes' => ['FEATUREddosRTUJBH'], ], 'parameters' => [ [ - 'name' => 'ResourceGroupId', + 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'default', - ], + 'schema' => ['description' => 'The ID of the instance.'."\n" + ."\n" + .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.'."\n", 'type' => 'string', 'required' => true, 'example' => 'ddoscoo-cn-mp91j1ao****', 'title' => ''], ], [ - 'name' => 'Domains', + 'name' => 'Whitelist', 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => 'The domain names of the websites. You can specify the domain names of up to 200 websites.'."\n" - ."\n" - .'> A forwarding rule must be configured for a domain name. You can call the [DescribeDomains](~~91724~~) operation to query all domain names.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The domain name of the website.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'www.aliyun.com', - ], - 'required' => true, - 'example' => 'www.aliyun.com', - 'maxItems' => 20, - ], + 'schema' => ['description' => 'The IP addresses that you want to manage. This parameter is a JSON string. This parameter is a JSON string. The string contains the following field:'."\n" + ."\n" + .'* **src**: the IP address. This field is required and must be of the string type.'."\n", 'type' => 'string', 'required' => true, 'example' => '[{"src":"1.1.1.1"},{"src":"2.2.2.2"}]', 'title' => ''], ], ], 'responses' => [ @@ -3550,57 +2765,46 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc', - ], - 'CnameReuses' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Domain' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'www.aliyun.com', - ], - 'Cname' => [ - 'description' => '', - 'type' => 'string', - 'example' => '4o6ep6q217k9****.aliyunddos0004.com', - ], - 'Enable' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - ], - ], - ], + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\",\\n \\"CnameReuses\\": [\\n {\\n \\"Domain\\": \\"www.aliyun.com\\",\\n \\"Cname\\": \\"4o6ep6q217k9****.aliyunddos0004.com\\",\\n \\"Enable\\": 1\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\r\\n\\r\\n\\t0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\r\\n\\t\\r\\n\\t\\twww.aliyun.com\\r\\n\\t\\t4o6ep6q217k9****.aliyunddos0004.com\\r\\n\\t\\t1\\r\\n\\t\\r\\n","errorExample":""}]', - 'title' => 'DescribeCnameReuses', - 'summary' => 'Queries the CNAME reuse information about websites.', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E\\"\\n}","errorExample":""},{"type":"xml","example":"\\r\\n\\r\\n\\tC33EB3D5-AF96-43CA-9C7E-37A81BC06A1E\\r\\n","errorExample":""}]', + 'title' => 'DeleteAutoCcWhitelist', + 'summary' => 'Removes IP addresses from the IP address whitelist of an Anti-DDoS Proxy instance.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeL7RsPolicy' => [ - 'summary' => 'Queries the back-to-origin policies for the forwarding rule of a website.', - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:35.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteAutoCcWhitelist'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DeleteAutoCcWhitelist', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'DeleteDomainResource' => [ + 'summary' => 'Deletes the specified website business forwarding rule.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -3609,56 +2813,17 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '106157', - 'abilityTreeNodes' => [ - 'FEATUREddos64TBV6', - ], + 'abilityTreeCode' => '106081', + 'abilityTreeNodes' => ['FEATUREddos64TBV6'], ], 'parameters' => [ - [ - 'name' => 'ResourceGroupId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n" - ."\n" - .'For more information about resource groups, see [Create a resource group](~~94485~~).'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'rg-acfm2pz25js****', - ], - ], [ 'name' => 'Domain', 'in' => 'query', - 'schema' => [ - 'description' => 'The domain name of the website to query.'."\n" - ."\n" - .'> A forwarding rule must be configured for the domain name. You can call the [DescribeDomains](~~91724~~) operation to query the domain names for which forwarding rules are configured.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'example.com', - ], - ], - [ - 'name' => 'RealServers', - 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => 'An array that consists of N addresses of origin servers to query. The maximum value of N is 200. You can specify up to 200 addresses.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'A total of N addresses of origin servers to query. The maximum value of N is 200. You can specify up to 200 addresses. Separate multiple addresses with commas (,).'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '1.***.***.1', - ], - 'required' => false, - 'example' => '1.***.***.1', - 'maxItems' => 20, - ], + 'schema' => ['description' => 'The domain name corresponding to the website business forwarding rule to be deleted.', 'type' => 'string', 'required' => true, 'example' => 'www.example.com', 'title' => ''], ], ], 'responses' => [ @@ -3666,229 +2831,55 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'ProxyMode' => [ - 'description' => 'The scheduling algorithm for back-to-origin traffic. Valid values:'."\n" - ."\n" - .'* **ip_hash**: the IP hash algorithm. This algorithm is used to redirect the requests from the same IP address to the same origin server.'."\n" - .'* **rr**: the round-robin algorithm. This algorithm is used to redirect requests to origin servers in turn.'."\n" - .'* **least_time**: the least response time algorithm. This algorithm is used to minimize the latency when requests are forwarded from Anti-DDoS Pro or Anti-DDoS Premium instances to origin servers based on the intelligent DNS resolution feature.'."\n", - 'type' => 'string', - 'example' => 'rr', - ], - 'UpstreamRetry' => [ - 'description' => 'The back-to-origin retry switch. Valid values:'."\n" - ."\n" - .'* **1**: on'."\n" - .'* **0**: off'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'RsAttrRwTimeoutMax' => [ - 'description' => 'The timeout period for a read or write connection.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '300', - ], - 'RequestId' => [ - 'description' => 'The ID of the request, which is used to locate and troubleshoot issues.'."\n", - 'type' => 'string', - 'example' => '9E7F6B2C-03F2-462F-9076-B782CF0DD502', - ], - 'Attributes' => [ - 'description' => 'The details about the parameters for back-to-origin settings.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'RsType' => [ - 'description' => 'The address type of the origin server. Valid values:'."\n" - ."\n" - .'* **0**: IP address'."\n" - .'* **1**: domain name'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'RealServer' => [ - 'description' => 'The address of the origin server.'."\n", - 'type' => 'string', - 'example' => '1.***.***.1', - ], - 'Attribute' => [ - 'description' => 'The parameters for back-to-origin settings.'."\n", - 'type' => 'object', - 'properties' => [ - 'Weight' => [ - 'description' => 'The weight of the origin server. This parameter takes effect only if the value of **ProxyMode** is **rr** or **ip_hash**.****'."\n" - ."\n" - .'Valid values: **1** to **100**. Default value: **100**. A server with a higher weight receives more requests.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '100', - ], - 'ConnectTimeout' => [ - 'description' => 'The timeout period for a new connection. Valid values: **1** to **10**. Unit: seconds. Default value: **5**.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '5', - ], - 'FailTimeout' => [ - 'description' => 'The expiration time of a connection, in seconds. If the number of failures at the origin server exceeds the **MaxFails** value, the address of the origin server is set to down and the expiration time is **FailTimeout**. The final value is the maximum value of **ConnectTimeout** and **FailTimeout**. Valid values: **1** to **3600**. Unit: seconds. Default value: **10**.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'MaxFails' => [ - 'description' => 'The maximum number of failures. This parameter is related to health check. Valid values: **1** to **10**. Unit: seconds. Default value: **3**.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '3', - ], - 'Mode' => [ - 'description' => 'The primary/secondary flag. Valid values:'."\n" - ."\n" - .'* **active**: primary'."\n" - .'* **backup**: secondary'."\n", - 'type' => 'string', - 'example' => 'active', - ], - 'ReadTimeout' => [ - 'description' => 'The timeout period for a read connection. Valid values: **10** to **300**. Unit: seconds. Default value: **120**.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '120', - ], - 'SendTimeout' => [ - 'description' => 'The timeout period for a write connection. Valid values: **10** to **300**. Unit: seconds. Default value: **120**.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '120', - ], - ], - ], - ], - 'description' => '', - ], - ], + 'RequestId' => ['description' => 'The ID of this request.', 'type' => 'string', 'example' => '39499F01-19D9-4EA4-A0E9-C6014BA5CDBE', 'title' => ''], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"ProxyMode\\": \\"rr\\",\\n \\"UpstreamRetry\\": 1,\\n \\"RsAttrRwTimeoutMax\\": 300,\\n \\"RequestId\\": \\"9E7F6B2C-03F2-462F-9076-B782CF0DD502\\",\\n \\"Attributes\\": [\\n {\\n \\"RsType\\": 0,\\n \\"RealServer\\": \\"1.***.***.1\\",\\n \\"Attribute\\": {\\n \\"Weight\\": 100,\\n \\"ConnectTimeout\\": 5,\\n \\"FailTimeout\\": 10,\\n \\"MaxFails\\": 3,\\n \\"Mode\\": \\"active\\",\\n \\"ReadTimeout\\": 120,\\n \\"SendTimeout\\": 120\\n }\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\n rr\\n 9E7F6B2C-03F2-462F-9076-B782CF0DD502\\n \\n 0\\n 1.***.***.1\\n \\n 100\\n \\n \\n","errorExample":""}]', - 'title' => 'DescribeL7RsPolicy', - 'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see [Common parameters](~~157269~~).'."\n" - ."\n" - .'For more information about sample requests, see the **"Examples"** section of this topic.'."\n", - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'AssociateWebCert' => [ - 'methods' => [ - 'post', + 'title' => 'DeleteDomainResource', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:25.000Z', 'description' => 'Error codes changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteDomainResource'], + ], ], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"39499F01-19D9-4EA4-A0E9-C6014BA5CDBE\\"\\n}","type":"json"}]', + ], + 'DeleteNetworkRule' => [ + 'summary' => 'Deletes a port forwarding rule. You can delete only one port forwarding rule at a time.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', - 'abilityTreeCode' => '106049', - 'abilityTreeNodes' => [ - 'FEATUREddos64TBV6', - ], + 'operationType' => 'delete', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '106083', + 'abilityTreeNodes' => ['FEATUREddos64TBV6'], ], 'parameters' => [ [ - 'name' => 'Domain', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The domain name of the website.'."\n" - ."\n" - .'> A forwarding rule must be configured for the domain name. You can call the [DescribeDomains](~~91724~~) operation to query all domain names.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'www.aliyun.com', - ], - ], - [ - 'name' => 'CertId', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The ID of the certificate.'."\n" - ."\n" - .'> If you specify a certificate ID, you do not need to specify a value for the CertName, Cert, and Key parameters. You can specify only one of this parameter and the CertIdentifier parameter.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '2404693', - ], - ], - [ - 'name' => 'CertName', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The name of the certificate.'."\n" - ."\n" - .'> You can specify the name of the certificate that you want to associate. This parameter must be used together with the Cert and Key parameters.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'example-cert', - ], - ], - [ - 'name' => 'Cert', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The public key of the certificate that you want to associate. This parameter must be used together with the CertName and Key parameters.'."\n" - ."\n" - .'> If you specify a value for the CertName, Cert, and Key parameters, you do not need to specify a value for the CertId parameter.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '-----BEGIN CERTIFICATE----- 62EcYPWd2Oy1vs6MTXcJSfN9Z7rZ9fmxWr2BFN2XbahgnsSXM48ixZJ4krc+1M+j2kcubVpsE2cgHdj4v8H6jUz9Ji4mr7vMNS6dXv8PUkl/qoDeNGCNdyTS5NIL5ir+g92cL8IGOkjgvhlqt9vc65Cgb4mL+n5+DV9uOyTZTW/MojmlgfUekC2xiXa54nxJf17Y1TADGSbyJbsC0Q9nIrHsPl8YKkvRWvIAqYxXZ7wRwWWmv4TMxFhWRiNY7yZIo2ZUhl02SIDNggIEeg== -----END CERTIFICATE-----', - ], - ], - [ - 'name' => 'Key', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The private key of the certificate that you want to associate. This parameter must be used together with the CertName and Cert parameters.'."\n" - ."\n" - .'> If you specify a value for the CertName, Cert, and Key parameters, you do not need to specify a value for the CertId parameter.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '-----BEGIN RSA PRIVATE KEY----- DADTPZoOHd9WtZ3UKHJTRgNQmioPQn2bqdKHop+B/dn/4VZL7Jt8zSDGM9sTMThLyvsmLQKBgQCr+ujntC1kN6pGBj2Fw2l/EA/W3rYEce2tyhjgmG7rZ+A/jVE9fld5sQra6ZdwBcQJaiygoIYoaMF2EjRwc0qwHaluq0C15f6ujSoHh2e+D5zdmkTg/3NKNjqNv6xA2gYpinVDzFdZ9Zujxvuh9o4Vqf0YF8bv5UK5G04RtKadOw== -----END RSA PRIVATE KEY-----', - ], - ], - [ - 'name' => 'CertIdentifier', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The globally unique ID of the certificate. The value is in the "Certificate ID-cn-hangzhou" format. For example, if the ID of the certificate is 123, the value of the CertIdentifier parameter is 123-cn-hangzhou.'."\n" - ."\n" - .'> You can specify only one of this parameter and the CertId parameter.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '9430680-cn-hangzhou'."\n", - ], - ], - [ - 'name' => 'CertRegion', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The region of the certificate. Valid values: **cn-hangzhou** and **ap-southeast-1**. Default value: **cn-hangzhou**.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou', - ], + 'name' => 'NetworkRule', + 'in' => 'query', + 'schema' => ['description' => 'An array that consists of the information about the port forwarding rule. This parameter is a JSON string. The string contains the following fields:'."\n" + ."\n" + .'- **InstanceId**: the ID of the instance. This field is required and must be of the STRING type.'."\n" + ."\n" + .'- **Protocol**: the forwarding protocol. This field is required and must be of the STRING type. Valid values: **tcp** and **udp**.'."\n" + ."\n" + .'- **FrontendPort**: the forwarding port. This field is required and must be of the INTEGER type.', 'type' => 'string', 'required' => true, 'example' => '[{"InstanceId":"ddoscoo-cn-mp91j1ao****","Protocol":"tcp","FrontendPort":8080}]', 'title' => ''], ], ], 'responses' => [ @@ -3896,32 +2887,44 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '40F11005-A75C-4644-95F2-52A4E7D43E91', - ], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '49AD2F34-694A-4024-9B0E-DDCFC59CCC13', 'title' => ''], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"40F11005-A75C-4644-95F2-52A4E7D43E91\\"\\n}","errorExample":""},{"type":"xml","example":"\\r\\n\\r\\n\\t40F11005-A75C-4644-95F2-52A4E7D43E91\\r\\n","errorExample":""}]', - 'title' => 'AssociateWebCert', - 'summary' => 'Associates an SSL certificate with the forwarding rule of a website.', + 'title' => 'DeleteNetworkRule', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'ConfigL7RsPolicy' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:25.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteNetworkRule'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DeleteNetworkRule', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"49AD2F34-694A-4024-9B0E-DDCFC59CCC13\\"\\n}","type":"json"}]', + ], + 'DeletePort' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -3930,80 +2933,55 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'none', - 'abilityTreeCode' => '106052', - 'abilityTreeNodes' => [ - 'FEATUREddos64TBV6', - ], + 'operationType' => 'delete', + 'abilityTreeCode' => '106084', + 'abilityTreeNodes' => ['FEATUREddosN7DYCX'], ], 'parameters' => [ [ - 'name' => 'ResourceGroupId', + 'name' => 'FrontendPort', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n" - ."\n" - .'For more information about resource groups, see [Create a resource group](~~94485~~).'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'rg-acfm2pz25js****', - ], + 'schema' => ['description' => 'The forwarding port. Valid values: **0** to **65535**.'."\n", 'type' => 'string', 'required' => true, 'example' => '55', 'title' => ''], ], [ - 'name' => 'Domain', + 'name' => 'FrontendProtocol', 'in' => 'query', 'schema' => [ - 'description' => 'The domain name of the website.'."\n" + 'description' => 'The type of the forwarding protocol. Valid values:'."\n" ."\n" - .'> A forwarding rule must be configured for the domain name. You can call the [DescribeDomains](~~91724~~) operation to query the domain names for which forwarding rules are configured.'."\n", + .'* **tcp**'."\n" + .'* **udp**'."\n", 'type' => 'string', 'required' => true, - 'example' => 'www.aliyun.com', + 'example' => 'tcp', + 'enum' => ['tcp', 'udp'], + 'title' => '', ], ], [ - 'name' => 'Policy', + 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The back-to-origin policy. The value is a string that consists of a JSON struct. The JSON struct contains the following fields:'."\n" - ."\n" - .'* **ProxyMode**: The load balancing algorithm for back-to-origin traffic. This field is required and must be a string. Valid values:'."\n" - ."\n" - .' * **ip_hash**: the IP hash algorithm. This algorithm is used to redirect requests from the same IP address to the same origin server.'."\n" - .' * **rr**: the round-robin algorithm. This algorithm is used to redirect requests to origin servers in turn. If you use this algorithm, you can specify a weight for each server based on server performance.'."\n" - .' * **least_time**: the least response time algorithm. This algorithm is used to minimize the latency when requests are forwarded from the instance to origin servers based on the intelligent DNS resolution feature.'."\n" - ."\n" - .'* **Attributes**: the parameters for back-to-origin processing. This field is optional and must be a JSON array. Each element in the array contains the following fields:'."\n" - ."\n" - .' * **RealServer**: the address of the origin server. This field is optional and must be a string.'."\n" - ."\n" - .' * **Attribute**: the parameter for back-to-origin processing. This field is optional and must be a JSON object. Valid values:'."\n" - ."\n" - .' * **Weight**: the weight of the server. This field is optional and must be an integer. This field takes effect only when **ProxyMode** is set to **rr**. Valid values: **1** to **100**. Default value: **100**. An origin server with a higher weight receives more requests.'."\n" - .' * **ConnectTimeout**: the timeout period for new connections. This field is optional and must be an integer. Valid values: **1** to **10**. Unit: seconds. Default value: **5**.'."\n" - .' * **FailTimeout**: the period after which a connection is considered to have failed. This field is optional and must be an integer. Valid values: **1** to **3600**. Unit: seconds. Default value: **10**.'."\n" - .' * **MaxFails**: the maximum number of failures allowed. This field is related to health checks. This field is optional and must be an integer. Valid values: **1** to **10**. Unit: seconds. Default value: **3**.'."\n" - .' * **Mode**: the primary/secondary attribute flag. This parameter is optional and must be a string. Valid values: **active** (primary) and **backup** (secondary).'."\n" - .' * **ReadTimeout**: the read timeout period. This field is optional and must be an integer. Valid values: **10** to **300**. Unit: seconds. Default value: **120**.'."\n" - .' * **SendTimeout**: the write timeout period. This field is optional and must be an integer. Valid values: **10** to **300**. Unit: seconds. Default value: **120**.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '{"ProxyMode":"rr","Attributes":[{"RealServer":"1.***.***.1","Attribute":{"Weight":100}},{"RealServer":"2.***.***.2","Attribute":{"Weight":100}}]}', - ], + 'schema' => ['description' => 'The ID of the Anti-DDoS Pro or Anti-DDoS Premium instance to which the port forwarding rule belongs.'."\n" + ."\n" + .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.'."\n", 'type' => 'string', 'required' => true, 'example' => 'ddoscoo-cn-st21zbyq****', 'title' => ''], ], [ - 'name' => 'UpstreamRetry', + 'name' => 'BackendPort', + 'in' => 'query', + 'schema' => ['description' => 'The port of the origin server. Valid values: **0** to **65535**.'."\n", 'type' => 'string', 'required' => false, 'example' => '55', 'title' => ''], + ], + [ + 'name' => 'RealServers', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => 'The retry switch. Valid values:'."\n" - ."\n" - .'* **1**: on'."\n" - .'* **0**: off'."\n", - 'type' => 'integer', - 'format' => 'int32', + 'description' => 'An array that consists of the IP addresses of origin servers.'."\n", + 'type' => 'array', + 'items' => ['description' => 'The IP address of the origin server.'."\n", 'type' => 'string', 'required' => false, 'example' => '1.XX.XX.1', 'title' => ''], 'required' => false, - 'example' => '1', - 'default' => '1', + 'maxItems' => 20, + 'title' => '', + 'example' => '', ], ], ], @@ -4012,31 +2990,45 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc', - ], + 'RequestId' => ['description' => 'The ID of the request, which is used to locate and troubleshoot issues.'."\n", 'type' => 'string', 'example' => '39499F01-19D9-4EA4-A0E9-C6014BA5CDBE', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}","errorExample":""},{"type":"xml","example":"\\r\\n\\r\\n\\t0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\r\\n","errorExample":""}]', - 'title' => 'ConfigL7RsPolicy', - 'summary' => 'Configures a back-to-origin policy for the forwarding rule of a website.', - 'description' => 'If multiple origin servers are configured for a website that is added to Anti-DDoS Pro or Anti-DDoS Premium, you can modify the load balancing algorithms for back-to-origin traffic based on back-to-origin policies. The IP hash algorithm is used by default. You can change the algorithm to the round-robin or least response time algorithm. For more information, see the description of the **Policy** parameter in the "Request parameters" section of this topic.'."\n", - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'ModifyOcspStatus' => [ - 'methods' => [ - 'post', - 'get', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"39499F01-19D9-4EA4-A0E9-C6014BA5CDBE\\"\\n}","type":"json"}]', + 'title' => 'DeletePort', + 'summary' => 'Deletes the specified port forwarding rule.', + 'description' => 'After you delete a port forwarding rule, the Anti-DDoS Pro or Anti-DDoS Premium instance no longer forwards service traffic on the Layer 4 port. Before you delete a specific port forwarding rule, make sure that the service traffic destined for the Layer 4 port is redirected to the origin server. This can prevent negative impacts on your services.'."\n" + ."\n" + .'> You can call this operation by using Terraform. For more information about Terraform, see [What is Terraform?](~~95820~~).'."\n", + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:25.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeletePort'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DeletePort', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'DeleteSceneDefensePolicy' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -4045,38 +3037,18 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeCode' => '106252', - 'abilityTreeNodes' => [ - 'FEATUREddos64TBV6', - ], + 'operationType' => 'delete', + 'abilityTreeCode' => '106085', + 'abilityTreeNodes' => ['FEATUREddosM9SQC1'], + 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'Domain', - 'in' => 'query', - 'schema' => [ - 'description' => 'The domain name for which you want to configure the Static Page Caching policy.'."\n" - ."\n" - .'> You can call the [DescribeDomains](~~91724~~) operation to query all the domain names that are added to Anti-DDoS Pro or Anti-DDoS Premium.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'click.linktech.cn', - ], - ], - [ - 'name' => 'Enable', + 'name' => 'PolicyId', 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether to enable the OCSP feature. Valid values:'."\n" - ."\n" - .'* **1**: yes.'."\n" - .'* **0**: no.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '1', - ], + 'schema' => ['description' => 'The ID of the policy that you want to delete.'."\n" + ."\n" + .'> You can call the [DescribeSceneDefensePolicies](~~159382~~) operation to query the IDs of all policies.'."\n", 'type' => 'string', 'required' => true, 'example' => '321a-fd31-df51-****', 'title' => ''], ], ], 'responses' => [ @@ -4084,111 +3056,117 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request, which is used to locate and troubleshoot issues.'."\n", - 'type' => 'string', - 'example' => 'D8DDBA8E-8182-5C85-AA41-F17EACFCAE0D', - ], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true**'."\n" + .'* **false**'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'F65DF043-E0EB-4796-9467-23DDCDF92C1D', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D8DDBA8E-8182-5C85-AA41-F17EACFCAE0D\\"\\n}","type":"json"}]', - 'title' => 'ModifyOcspStatus', - 'summary' => 'Specifies whether to enable the Online Certificate Status Protocol (OCSP) feature.', - 'description' => 'This feature is available only for a website that supports HTTPS. If HTTPS is selected for Protocol, we recommend that you enable this feature.'."\n", - ], - 'ConfigL7UsKeepalive' => [ - 'summary' => 'Configures the settings for back-to-origin persistent connections for a domain name.', - 'methods' => [ - 'post', - 'get', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Success\\": true,\\n \\"RequestId\\": \\"F65DF043-E0EB-4796-9467-23DDCDF92C1D\\"\\n}","errorExample":""},{"type":"xml","example":"\\r\\n\\r\\n\\tF65DF043-E0EB-4796-9467-23DDCDF92C1D\\r\\n\\ttrue\\r\\n","errorExample":""}]', + 'title' => 'DeleteSceneDefensePolicy', + 'summary' => 'Deletes a scenario-specific custom policy.', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:25.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteSceneDefensePolicy'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DeleteSceneDefensePolicy', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'DeleteSchedulerRule' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'none', - 'abilityTreeCode' => '215883', - 'abilityTreeNodes' => [ - 'FEATUREddos64TBV6', - ], + 'operationType' => 'delete', + 'abilityTreeCode' => '106086', + 'abilityTreeNodes' => ['FEATUREddosZIK01A'], ], 'parameters' => [ [ - 'name' => 'Domain', - 'in' => 'query', - 'schema' => [ - 'description' => 'The domain name of the website.'."\n" - ."\n" - .'> A forwarding rule must be configured for the domain name. You can call the [DescribeDomains](~~91724~~) operation to query all domain names.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'www.aliyun.com', - ], - ], - [ - 'name' => 'UpstreamKeepalive', + 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => 'The settings for back-to-origin persistent connections. The value is a string that consists of a JSON struct. The JSON struct contains the following fields:'."\n" - ."\n" - .'* **enabled**: the switch for back-to-origin persistent connections. This field is required, and the value is of the Boolean type.'."\n" - .'* **keepalive_requests**: the number of requests that reuse a persistent connection. This field is required, and the value is of the integer type.'."\n" - .'* **keepalive_timeout**: the timeout period for an idle persistent connection. This field is required, and the value is of the integer type.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '{"enabled": true, "keepalive_requests": 1000,"keepalive_timeout": 30}', - ], + 'schema' => ['description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n", 'type' => 'string', 'required' => false, 'example' => 'default', 'title' => ''], ], [ - 'name' => 'DownstreamKeepalive', + 'name' => 'RuleName', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - ], + 'schema' => ['description' => 'The name of the scheduling rule that you want to delete.'."\n", 'type' => 'string', 'required' => true, 'example' => 'testrule', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'The response parameters.'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '6D48AED0-41DB-5D9B-B484-3B6AAD312AD1', - ], + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}","errorExample":""},{"type":"xml","example":"\\r\\n\\r\\n\\t0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\r\\n","errorExample":""}]', + 'title' => 'DeleteSchedulerRule', + 'summary' => 'Deletes a scheduling rule of Sec-Traffic Manager.', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:25.000Z', 'description' => 'Error codes changed'], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6D48AED0-41DB-5D9B-B484-3B6AAD312AW2\\"\\n}","type":"json"}]', - 'title' => 'ConfigL7UsKeepalive', - ], - 'DescribeL7UsKeepalive' => [ - 'summary' => 'Queries the configuration of back-to-origin persistent connections of a domain name.', - 'methods' => [ - 'post', - 'get', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteSchedulerRule'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DeleteSchedulerRule', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'DeleteTagResources' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -4197,242 +3175,150 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'none', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '215888', - 'abilityTreeNodes' => [ - 'FEATUREddos64TBV6', - ], + 'operationType' => 'delete', + 'abilityTreeCode' => '106087', + 'abilityTreeNodes' => ['FEATUREddosMHU3MF'], ], 'parameters' => [ [ - 'name' => 'Domain', + 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => 'The domain name of the website.'."\n" - ."\n" - .'> A forwarding rule must be configured for the domain name. You can call the [DescribeDomains](~~91724~~) operation to query all domain names.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'www.aliyun.com', - ], + 'schema' => ['description' => 'The region ID of the Anti-DDoS instance. The value is fixed to **cn-hangzhou**, which indicates the Chinese mainland.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'cn-hangzhou'], ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'The response parameters.', - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '39499F01-19D9-4EA4-A0E9-C6014BA5CDBE', - ], - 'RsKeepalive' => [ - 'description' => 'The value of the Back-to-origin Persistent Connections parameter.'."\n", - 'type' => 'object', - 'properties' => [ - 'Enabled' => [ - 'description' => 'Indicates whether Back-to-origin Persistent Connections is turned on. Valid values:'."\n" - ."\n" - .'* **true**'."\n" - .'* **false**'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'KeepaliveRequests' => [ - 'description' => 'The number of requests that reuse persistent connections.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'KeepaliveTimeout' => [ - 'description' => 'The timeout period of idle persistent connections.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '30', - ], - 'DsKeepaliveTimeout' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - ], - ], - ], - ], - ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"39499F01-19D9-4EA4-A0E9-C6014BA5CDHE\\",\\n \\"RsKeepalive\\": {\\n \\"Enabled\\": true,\\n \\"KeepaliveRequests\\": 1000,\\n \\"KeepaliveTimeout\\": 30,\\n \\"DsKeepaliveTimeout\\": 0\\n }\\n}","type":"json"}]', - 'title' => 'DescribeL7UsKeepalive', - ], - 'ModifyHeaders' => [ - 'summary' => 'Modifies the custom header of a domain name that is added to an Anti-DDoS Pro or Anti-DDoS Premium instance.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ [ - 'AK' => [], - ], - ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '106247', - 'abilityTreeNodes' => [ - 'FEATUREddosCT2Z4D', + 'name' => 'ResourceGroupId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the resource group to which the Anti-DDoS instance belongs in Resource Management.'."\n" + ."\n" + .'If you do not set this parameter, the instance belongs to the default resource group.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'rg-acfm2pz25js****'], ], - ], - 'parameters' => [ [ - 'name' => 'ResourceGroupId', + 'name' => 'ResourceType', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the resource group to which the instance belongs.'."\n" - ."\n" - .'> '."\n" - ."\n" - .'* You can query resource group IDs in the Anti-DDoS Pro or Anti-DDoS Premium console or by calling the [ListResourceGroups](~~158855~~) operation. For more information, see [View basic information of a resource group](~~151181~~).'."\n" - ."\n" - .'* Before you modify the resource group to which an instance belongs, you can call the [ListResources](~~158866~~) operation to view the current resource group of the instance.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'rg-acfmz6jbof5****'."\n", - ], + 'schema' => ['description' => 'The resource type. The value is fixed to **INSTANCE**, which indicates an Anti-DDoS instance.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'INSTANCE'], ], [ - 'name' => 'Domain', + 'name' => 'All', 'in' => 'query', - 'schema' => [ - 'description' => 'The domain name of the website.'."\n" - ."\n" - .'> A forwarding rule must be configured for the domain name. You can call the [DescribeDomains](~~91724~~) operation to query all domain names.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'example.aliyundoc.com', - ], + 'schema' => ['description' => 'Specifies whether to remove all tags from the resource. Valid values:'."\n" + ."\n" + .'- **true**'."\n" + ."\n" + .'- **false** (default)', 'type' => 'boolean', 'required' => false, 'title' => '', 'example' => 'false'], ], [ - 'name' => 'CustomHeaders', + 'name' => 'ResourceIds', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => 'The key-value pair of the custom header. The key specifies the header name, and the value specifies the header value. You can specify up to five key-value pairs. The key-value pairs can be up to 200 characters in length.'."\n" - ."\n" - .'Take note of the following items:'."\n" - ."\n" - .'* Do not use the following default HTTP headers:'."\n" - ."\n" - .' * X-Forwarded-ClientSrcPort: This header is used to obtain the source ports of clients that access Anti-DDoS Proxy (a Layer 7 proxy).'."\n" - .' * X-Forwarded-ProxyPort: This header is used to obtain the ports of listeners that access Anti-DDoS Proxy (a Layer 7 proxy).'."\n" - .' * X-Forwarded-For: This header is used to obtain the IP addresses of clients that access Anti-DDoS Proxy (a Layer 7 proxy).'."\n" - ."\n" - .'* Do not use standard HTTP headers or specific widely used custom HTTP headers. The standard HTTP headers include Host, User-Agent, Connection, and Upgrade, and the widely used custom HTTP headers include X-Real-IP, X-True-IP, X-Client-IP, Web-Server-Type, WL-Proxy-Client-IP, eEagleEye-RpcID, EagleEye-TraceID, X-Forwarded-Cluster, and X-Forwarded-Proto. If the preceding headers are used, the original content of the headers is overwritten.'."\n" + 'description' => 'A list of IDs of the Anti-DDoS instances from which you want to remove tags.', + 'type' => 'array', + 'items' => ['description' => 'The ID of the Anti-DDoS instance from which you want to remove tags.'."\n" ."\n" - .'> If you specify a key of X-Forwarded-ClientSrcPort, the system obtains the originating ports of clients that access Anti-DDoS Proxy (a Layer 7 proxy). In this case, the value is an empty string.'."\n", - 'type' => 'string', + .'> You can call [DescribeInstanceIds](~~157459~~) to query the IDs of all Anti-DDoS instances.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'ddoscoo-cn-zvp2eibz****'], 'required' => true, - 'example' => '{\\"X-Forwarded-ClientSrcPort\\":\\"\\"}', + 'example' => 'ddoscoo-cn-mp91j1ao****', + 'maxItems' => 51, + 'title' => '', ], ], [ - 'name' => 'EmbeddedHeaders', + 'name' => 'TagKey', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'title' => '请求头字段转发配置', - 'type' => 'string', - 'example' => '{"X-Client-IP":true,"X-True-IP":true,"Web-Server-Type":true,"WL-Proxy-Client-IP":true,"X-Forwarded-Proto":true}', + 'description' => 'A list of tag keys to remove.', + 'type' => 'array', + 'items' => ['description' => 'The tag key to remove.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'doc-test-key'], + 'required' => false, + 'example' => 'testkey', + 'maxItems' => 21, + 'title' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => 'The response parameters.'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The unique ID of the request, which is used to locate and troubleshoot issues.'."\n", - 'type' => 'string', - 'example' => 'DC38A1D3-C042-5670-8394-8F6B1FA97B5E', - ], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'title' => '', 'example' => '6623EA1F-30FB-5BC8-BEC9-74D55F6F08F1'], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'InvalidEmbeddedHeaders', - 'errorMessage' => 'EmbeddedHeaders parameter is invalid.', + 'title' => 'DeleteTagResources', + 'summary' => 'Removes tags from an Anti-DDoS Proxy (Chinese Mainland) instance.', + 'description' => 'This API operation removes tags from an Anti-DDoS Proxy (Chinese Mainland) instance.'."\n" + ."\n" + .'> Only Anti-DDoS Proxy (Chinese Mainland) supports the tag feature.'."\n" + ."\n" + .'### QPS limit'."\n" + ."\n" + .'The queries per second (QPS) limit for a single user is 10 calls per second. If this limit is exceeded, API calls are throttled, which may affect your business. Plan your calls accordingly.', + 'requestParamsDescription' => 'In addition to the parameters specific to this operation, you must specify common request parameters. For more information, see [Common parameters](~~157269~~).'."\n" + ."\n" + .'For the request format, see the example in the **Examples** section of this topic.', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:25.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteTagResources'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DeleteTagResources', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"DC38A1D3-C042-5670-8394-8F6B1FA97B5E\\"\\n}","type":"json"}]', - 'title' => 'ModifyHeaders', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6623EA1F-30FB-5BC8-BEC9-74D55F6F08F1\\"\\n}","type":"json"}]', ], - 'DescribeHeaders' => [ - 'summary' => 'Queries the custom header that is specified for a domain name.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DeleteWebCCRule' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'deprecated' => false, + 'deprecated' => true, 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '106146', - 'abilityTreeNodes' => [ - 'FEATUREddosN7DYCX', - ], + 'operationType' => 'delete', + 'abilityTreeCode' => '106089', + 'abilityTreeNodes' => ['FEATUREddosOZ1QOD'], ], 'parameters' => [ [ 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'rg-aek3cmuvpia****', - ], + 'schema' => ['description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n", 'type' => 'string', 'required' => false, 'example' => 'default', 'title' => ''], ], [ 'name' => 'Domain', 'in' => 'query', - 'schema' => [ - 'description' => 'The domain name that you want to query.'."\n" - ."\n" - .'> You can call the [DescribeDomains](~~91724~~) operation to query all the domain names that are added to Anti-DDoS Pro or Anti-DDoS Premium.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'example.aliyundoc.com', - ], + 'schema' => ['description' => 'The domain name of the website.'."\n" + ."\n" + .'> A forwarding rule must be configured for a domain name. You can call the [DescribeDomains](~~91724~~) operation to query all domain names.'."\n", 'type' => 'string', 'required' => true, 'example' => 'www.aliyun.com', 'title' => ''], + ], + [ + 'name' => 'Name', + 'in' => 'query', + 'schema' => ['description' => 'The name of the custom frequency control rule that you want to delete.'."\n", 'type' => 'string', 'required' => true, 'example' => 'wq', 'title' => ''], ], ], 'responses' => [ @@ -4440,113 +3326,84 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request, which is used to locate and troubleshoot issues.'."\n", - 'type' => 'string', - 'example' => '48BC7BA5-69BE-5C31-A080-AFF2431AE48D', - ], - 'CustomHeader' => [ - 'description' => 'The information about the custom header.'."\n", - 'type' => 'object', - 'properties' => [ - 'Headers' => [ - 'description' => 'The header of the response.'."\n", - 'type' => 'string', - 'example' => '{"X-Forwarded-ClientSrcPort":"","header1":"hLeLele"}', - ], - 'Domain' => [ - 'description' => 'The domain name of the website.'."\n", - 'type' => 'string', - 'example' => 'example.aliyundoc.com', - ], - ], - ], - 'EmbeddedHeaders' => [ - 'title' => '请求头字段转发配置', - 'type' => 'string', - 'example' => '{"X-Client-IP":true,"X-True-IP":true,"Web-Server-Type":true,"WL-Proxy-Client-IP":true,"X-Forwarded-Proto":true}', - ], + 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"48BC7BA5-69BE-5C31-A080-AFF2431AE48D\\",\\n \\"CustomHeader\\": {\\n \\"Headers\\": \\"{\\\\\\"X-Forwarded-ClientSrcPort\\\\\\":\\\\\\"\\\\\\",\\\\\\"header1\\\\\\":\\\\\\"hLeLele\\\\\\"}\\",\\n \\"Domain\\": \\"example.aliyundoc.com\\"\\n },\\n \\"EmbeddedHeaders\\": \\"{\\\\\\"X-Client-IP\\\\\\":true,\\\\\\"X-True-IP\\\\\\":true,\\\\\\"Web-Server-Type\\\\\\":true,\\\\\\"WL-Proxy-Client-IP\\\\\\":true,\\\\\\"X-Forwarded-Proto\\\\\\":true}\\"\\n}","type":"json"}]', - 'title' => 'DescribeHeaders', - ], - 'DescribeDomainH2Fingerprint' => [ - 'summary' => 'Queries the information about HTTP/2 fingerprints of a website.', - 'methods' => [ - 'post', - 'get', + 'staticInfo' => [ + 'substitutions' => ['ddoscoo::2020-01-01::DeleteWebCCRuleV2'], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}","errorExample":""},{"type":"xml","example":"\\r\\n\\r\\n\\t0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\r\\n","errorExample":""}]', + 'title' => 'DeleteWebCCRule', + 'summary' => 'Deletes a custom frequency control rule of a website.', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:25.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteWebCCRule'], + ], ], - 'schemes' => [ - 'https', + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DeleteWebCCRule', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'DeleteWebCCRuleV2' => [ + 'summary' => 'Deletes custom frequency control rules of a website.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'list', + 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '231662', - 'abilityTreeNodes' => [ - 'FEATUREddosRTUJBH', - ], + 'abilityTreeCode' => '198862', + 'abilityTreeNodes' => ['FEATUREddosOZ1QOD'], ], 'parameters' => [ [ 'name' => 'Domain', 'in' => 'query', - 'schema' => [ - 'description' => 'The domain name of the website.'."\n" - ."\n" - .'> You can call the [DescribeDomains](~~91724~~) operation to query the domain names of all websites that are protected by Anti-DDoS Proxy.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'example.aliyundoc.com'."\n", - ], - ], - [ - 'name' => 'StartTime', - 'in' => 'query', - 'schema' => [ - 'description' => 'The beginning of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n" - ."\n" - .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1716435180', - ], + 'schema' => ['description' => 'The domain name of the website.'."\n" + ."\n" + .'> A forwarding rule must be configured for the domain name. You can call the [DescribeDomains](~~91724~~) operation to query all domain names.', 'type' => 'string', 'required' => true, 'example' => 'www.example.com', 'title' => ''], ], [ - 'name' => 'EndTime', + 'name' => 'RuleNames', 'in' => 'query', - 'schema' => [ - 'description' => 'The end of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n" - ."\n" - .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1726318200', - ], + 'schema' => ['description' => 'The names of the rules that you want to delete.', 'type' => 'string', 'required' => false, 'example' => '[\\"trdsss\\"]', 'title' => ''], ], [ - 'name' => 'Limit', + 'name' => 'Owner', 'in' => 'query', - 'schema' => [ - 'description' => 'The maximum number of entries to return.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '20', - ], + 'schema' => ['description' => 'The source of the rule. Valid values:'."\n" + ."\n" + .'- **manual** (default): manually created.'."\n" + ."\n" + .'- **clover**: automatically created. Specify this value when you want to delete intelligent protection rules.', 'type' => 'string', 'required' => false, 'example' => 'manual', 'title' => ''], ], ], 'responses' => [ @@ -4554,57 +3411,39 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '112777CC-2AD6-46FC-A263-00B931406FCD', - ], - 'DomainH2Fp' => [ - 'description' => 'The information about top N HTTP/2 fingerprints.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The information about the HTTP/2 fingerprint.'."\n", - 'type' => 'object', - 'properties' => [ - 'H2Fingerprint' => [ - 'description' => 'The HTTP/2 fingerprint.'."\n", - 'type' => 'string', - 'example' => '532501bc316d02c8b1a007db76f2c796', - ], - 'Pv' => [ - 'description' => 'The page views.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '471755', - ], - 'Domain' => [ - 'description' => 'The domain name of the website.'."\n", - 'type' => 'string', - 'example' => 'example.aliyundoc.com'."\n", - ], - ], - ], - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '6D48AED0-41DB-5D9B-B484-3B6AAD312AD1', 'title' => ''], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'DeleteWebCCRuleV2', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DeleteWebCCRuleV2', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"112777CC-2AD6-46FC-A263-00B931406FCD\\",\\n \\"DomainH2Fp\\": [\\n {\\n \\"H2Fingerprint\\": \\"532501bc316d02c8b1a007db76f2c796\\",\\n \\"Pv\\": 471755,\\n \\"Domain\\": \\"example.aliyundoc.com\\\\n\\"\\n }\\n ]\\n}","type":"json"}]', - 'title' => 'DescribeDomainH2Fingerprint', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6D48AED0-41DB-5D9B-B484-3B6AAD312AD1\\"\\n}","type":"json"}]', ], - 'DescribeDomainTopReferer' => [ - 'summary' => 'Queries the information about top N referers of a website.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'https', - ], + 'DeleteWebCacheCustomRule' => [ + 'summary' => 'Deletes the custom rules of the Static Page Caching policy for a website.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -4613,133 +3452,93 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'list', + 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREddosRTUJBH', - ], + 'abilityTreeCode' => '106088', + 'abilityTreeNodes' => ['FEATUREddosOZ1QOD'], ], 'parameters' => [ [ - 'name' => 'Region', + 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => 'The region in which your service is deployed. Valid values:'."\n" - ."\n" - .'* **cn**: a region in the Chinese mainland.'."\n" - .'* **cn-hongkong**: a region outside the Chinese mainland.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'cn', - ], + 'schema' => ['description' => 'The ID of the resource group to which the instance belongs in Resource Management.'."\n" + ."\n" + .'If you do not configure this parameter, the instance belongs to the default resource group.', 'type' => 'string', 'required' => false, 'example' => 'rg-acfm2pz25js****', 'title' => ''], ], [ 'name' => 'Domain', 'in' => 'query', - 'schema' => [ - 'description' => 'The domain name of the website.'."\n" - ."\n" - .'> A forwarding rule must be configured for the domain name. You can call the [DescribeDomains](~~91724~~) operation to query all domain names.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'example.aliyundoc.com'."\n", - ], + 'schema' => ['description' => 'The domain name for which you want to delete the custom rules of the Static Page Caching policy.'."\n" + ."\n" + .'> You can call the [DescribeDomains](~~91724~~) operation to query all the domain names that are added to Anti-DDoS Pro or Anti-DDoS Premium.', 'type' => 'string', 'required' => true, 'example' => 'www.aliyundoc.com', 'title' => ''], ], [ - 'name' => 'StartTime', + 'name' => 'RuleNames', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => 'The beginning of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n" - ."\n" - .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n", - 'type' => 'integer', - 'format' => 'int64', + 'description' => 'An array consisting of the names of the rules that you want to delete.', + 'type' => 'array', + 'items' => ['description' => 'The name of the rule that you want to delete.', 'type' => 'string', 'required' => false, 'example' => 'doc-test-rule', 'title' => ''], 'required' => true, - 'example' => '1701991920', + 'example' => 'test', + 'maxItems' => 10, + 'title' => '', ], ], - [ - 'name' => 'EndTime', - 'in' => 'query', - 'schema' => [ - 'description' => 'The end of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n" - ."\n" - .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1721561100', - ], - ], - [ - 'name' => 'Limit', - 'in' => 'query', - 'schema' => [ - 'description' => 'The maximum number of entries to return.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '10', - ], - ], - ], - 'responses' => [ - 200 => [ + ], + 'responses' => [ + 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80', - ], - 'DomainTopReferer' => [ - 'description' => 'The information about top referers.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The information about the referer.'."\n", - 'type' => 'object', - 'properties' => [ - 'Referer' => [ - 'description' => 'The Base64-encoded referer.'."\n", - 'type' => 'string', - 'example' => 'aHR0cHM6Ly9zZXJ2aWNld2VjaGF0LmNvbS93eGY3ZDc5YWY0YzU4ZDH3NTEvNC9wYWdlLWZyYW1lLmh0bWw=', - ], - 'Pv' => [ - 'description' => 'The page views.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '257031', - ], - 'Domain' => [ - 'description' => 'The domain name of the website.'."\n", - 'type' => 'string', - 'example' => 'example.aliyundoc.com'."\n", - ], - ], - ], - ], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '6623EA1F-30FB-5BC8-BEC9-74D55F6F08F1', 'title' => ''], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'title' => 'DeleteWebCacheCustomRule', + 'description' => 'You can call the DeleteWebCacheCustomRule operation to delete the custom rules of the Static Page Caching policy for a website.'."\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.', + 'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see [Common parameters](~~157269~~).'."\n" + ."\n" + .'For more information about sample requests, see the **"Examples"** section of this topic.', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:25.000Z', 'description' => 'Error codes changed'], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\",\\n \\"DomainTopReferer\\": [\\n {\\n \\"Referer\\": \\"aHR0cHM6Ly9zZXJ2aWNld2VjaGF0LmNvbS93eGY3ZDc5YWY0YzU4ZDH3NTEvNC9wYWdlLWZyYW1lLmh0bWw=\\",\\n \\"Pv\\": 257031,\\n \\"Domain\\": \\"example.aliyundoc.com\\\\n\\"\\n }\\n ]\\n}","type":"json"}]', - 'title' => 'DescribeDomainTopReferer', - ], - 'DescribeDomainTopUserAgent' => [ - 'summary' => 'Queries the information about top user agents of a website.', - 'methods' => [ - 'post', - 'get', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteWebCacheCustomRule'], + ], ], - 'schemes' => [ - 'https', + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DeleteWebCacheCustomRule', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6623EA1F-30FB-5BC8-BEC9-74D55F6F08F1\\"\\n}","type":"json"}]', + ], + 'DeleteWebPreciseAccessRule' => [ + 'summary' => 'Deletes the accurate access control rules that are created for a website.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -4748,74 +3547,37 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'list', + 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREddosRTUJBH', - ], + 'abilityTreeCode' => '106090', + 'abilityTreeNodes' => ['FEATUREddosI8LHMA'], ], 'parameters' => [ [ - 'name' => 'Region', + 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => 'The region in which your service is deployed. Valid values:'."\n" - ."\n" - .'* **cn**: a region in the Chinese mainland.'."\n" - .'* **cn-hongkong**: a region outside the Chinese mainland.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'cn', - ], + 'schema' => ['description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.', 'type' => 'string', 'required' => false, 'example' => 'default', 'title' => ''], ], [ 'name' => 'Domain', 'in' => 'query', - 'schema' => [ - 'description' => 'The domain name of the website.'."\n" - ."\n" - .'> A forwarding rule must be configured for the domain name. You can call the [DescribeDomains](~~91724~~) operation to query all domain names.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'www.example.com'."\n", - ], - ], - [ - 'name' => 'StartTime', - 'in' => 'query', - 'schema' => [ - 'description' => 'The beginning of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n" - ."\n" - .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1609430400', - ], - ], - [ - 'name' => 'EndTime', - 'in' => 'query', - 'schema' => [ - 'description' => 'The end of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n" - ."\n" - .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1708352700', - ], + 'schema' => ['description' => 'The domain name of the website.'."\n" + ."\n" + .'> A forwarding rule must be configured for the domain name. You can call the [DescribeDomains](~~91724~~) operation to query all domain names.', 'type' => 'string', 'required' => true, 'example' => 'www.aliyun.com', 'title' => ''], ], [ - 'name' => 'Limit', + 'name' => 'RuleNames', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => 'The maximum number of entries to return.'."\n", - 'type' => 'integer', - 'format' => 'int64', + 'description' => 'An array that consists of the names of rules to delete.', + 'type' => 'array', + 'items' => ['description' => 'The name of the rule.', 'type' => 'string', 'required' => false, 'example' => 'testrule', 'title' => ''], 'required' => true, - 'example' => '20', + 'example' => 'testrule', + 'maxItems' => 10, + 'title' => '', ], ], ], @@ -4824,57 +3586,44 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80', - ], - 'DomainTopUa' => [ - 'description' => 'The information about the user agents.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The information about the user agent.'."\n", - 'type' => 'object', - 'properties' => [ - 'UserAgent' => [ - 'description' => 'The Base64-encoded user agent.'."\n", - 'type' => 'string', - 'example' => 'TW96aWxsYS81LjAgKFgxMTsgTGludXggeDg2XzY0KSBBcHBsZVdlYktpdC81MzcuMzYgKEtIVE1MLCBsaWtlIEdlY2tvKSBDaHJvbWUvOTYuMC40NjY0LjExMCACYWZhcmkvNTM3LjM2', - ], - 'Pv' => [ - 'description' => 'The page views.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '22121', - ], - 'Domain' => [ - 'description' => 'The domain name of the website.'."\n", - 'type' => 'string', - 'example' => 'www.example.com'."\n", - ], - ], - ], - ], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc', 'title' => ''], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'title' => 'DeleteWebPreciseAccessRule', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:24.000Z', 'description' => 'Error codes changed'], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\",\\n \\"DomainTopUa\\": [\\n {\\n \\"UserAgent\\": \\"TW96aWxsYS81LjAgKFgxMTsgTGludXggeDg2XzY0KSBBcHBsZVdlYktpdC81MzcuMzYgKEtIVE1MLCBsaWtlIEdlY2tvKSBDaHJvbWUvOTYuMC40NjY0LjExMCACYWZhcmkvNTM3LjM2\\",\\n \\"Pv\\": 22121,\\n \\"Domain\\": \\"www.example.com\\\\n\\"\\n }\\n ]\\n}","type":"json"}]', - 'title' => 'DescribeDomainTopUserAgent', - ], - 'DescribeDomainTopFingerprint' => [ - 'summary' => 'Queries the information about the fingerprints of top N clients that access a website.', - 'methods' => [ - 'post', - 'get', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteWebPreciseAccessRule'], + ], ], - 'schemes' => [ - 'https', + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DeleteWebPreciseAccessRule', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}","type":"json"}]', + ], + 'DeleteWebRule' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -4883,86 +3632,97 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'list', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREddosRTUJBH', - ], + 'operationType' => 'delete', + 'abilityTreeCode' => '106091', + 'abilityTreeNodes' => ['FEATUREddos64TBV6'], + 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'Region', + 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => 'The region in which your service is deployed. Valid values:'."\n" - ."\n" - .'* **cn**: a region in the Chinese mainland.'."\n" - .'* **cn-hongkong**: a region outside the Chinese mainland.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'cn', - ], + 'schema' => ['description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n" + ."\n" + .'For more information about resource groups, see [Create a resource group](~~94485~~).'."\n", 'type' => 'string', 'required' => false, 'example' => 'rg-acfm2pz25js****', 'title' => ''], ], [ 'name' => 'Domain', 'in' => 'query', + 'schema' => ['description' => 'The domain name of the website from which you want to delete the forwarding rule.'."\n" + ."\n" + .'> A forwarding rule must be configured for the domain name. You can call the [DescribeDomains](~~91724~~) operation to query the domain names for which forwarding rules are configured.'."\n", 'type' => 'string', 'required' => true, 'example' => 'www.aliyun.com', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'The domain name of the website.'."\n" - ."\n" - .'> A forwarding rule must be configured for the domain name. You can call the [DescribeDomains](~~91724~~) operation to query all domain names.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'example.aliyundoc.com'."\n", + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '9EC62E89-BD30-4FCD-9CB8-FA53865FF0D7', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"9EC62E89-BD30-4FCD-9CB8-FA53865FF0D7\\"\\n}","type":"json"}]', + 'title' => 'DeleteWebRule', + 'summary' => 'Deletes a forwarding rule of a website.', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:24.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteWebRule'], + ], + ], + 'ramActions' => [ [ - 'name' => 'StartTime', - 'in' => 'query', - 'schema' => [ - 'description' => 'The beginning of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n" - ."\n" - .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1719211800', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DeleteWebRule', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], + ], + ], + 'DescribeAsyncTasks' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'EndTime', + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '106092', + 'abilityTreeNodes' => ['FEATUREddos64TBV6', 'FEATUREddosN7DYCX'], + ], + 'parameters' => [ + [ + 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => 'The end of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n" - ."\n" - .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1723552200', - ], + 'schema' => ['description' => 'The resource group ID of the Anti-DDoS instance in Resource Management.'."\n" + ."\n" + .'If this parameter is not specified, the default resource group is used.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'rg-acfm2pz25js****'], ], [ - 'name' => 'Limit', + 'name' => 'PageNumber', 'in' => 'query', - 'schema' => [ - 'description' => 'The maximum number of entries to return.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '10', - ], + 'schema' => ['description' => 'The page number for the paged query.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'title' => '', 'example' => '1'], ], [ - 'name' => 'Interval', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => 'The interval for returning data. Unit: seconds.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '60', - ], + 'schema' => ['description' => 'The number of asynchronous export tasks to return on each page for the paged query.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'title' => '', 'example' => '10'], ], ], 'responses' => [ @@ -4970,57 +3730,114 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E', - ], - 'DomainTopFp' => [ - 'description' => 'The information about the fingerprints of the clients.'."\n", + 'TotalCount' => ['description' => 'The total number of asynchronous export tasks that are queried.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '1'], + 'RequestId' => ['description' => 'The ID of this request, which is generated by Alibaba Cloud as a unique identifier for this request. You can use this ID to troubleshoot and locate issues.', 'type' => 'string', 'title' => '', 'example' => '6623EA1F-30FB-5BC8-BEC9-74D55F6F08F1'], + 'AsyncTasks' => [ + 'description' => 'The detailed information about the asynchronous export tasks.', 'type' => 'array', 'items' => [ - 'description' => 'The information about the fingerprint of the client.'."\n", 'type' => 'object', 'properties' => [ - 'Fingerprinting' => [ - 'description' => 'The fingerprint of the client.'."\n", - 'type' => 'string', - 'example' => '8a374c9724582b14a4cfa58c8c9fb2bc', - ], - 'Pv' => [ - 'description' => 'The page views.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '22121', - ], - 'Domain' => [ - 'description' => 'The domain name of the website.'."\n", - 'type' => 'string', - 'example' => 'example.aliyundoc.com'."\n", - ], + 'EndTime' => ['description' => 'The end time of the task. This value is a timestamp in milliseconds.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '157927362000'], + 'TaskType' => ['description' => 'The type of the task. Valid values:'."\n" + ."\n" + .'- **1**: Layer 4 export task, which indicates exporting port forwarding rules of the Anti-DDoS instance.'."\n" + ."\n" + .'- **2**: Layer 7 export task, which indicates exporting website forwarding rules.'."\n" + ."\n" + .'- **3**: Session and health check export task, which indicates exporting session and health check configuration of the Anti-DDoS instance.'."\n" + ."\n" + .'- **4**: DDoS mitigation policies export task, which indicates exporting DDoS mitigation policies configuration of the Anti-DDoS instance.'."\n" + ."\n" + .'- **5**: Blacklist (for destination IP addresses) download task, which indicates exporting blacklist IP addresses for the Anti-DDoS instance.'."\n" + ."\n" + .'- **6**: Whitelist (for destination IP addresses) download task, which indicates exporting whitelist IP addresses for the Anti-DDoS instance.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '5'], + 'StartTime' => ['description' => 'The start time of the task. This value is a timestamp in milliseconds.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '156927362000'], + 'TaskParams' => ['description' => 'The task parameters. This value is a string in the JSON format. Different **TaskType** values have different task parameters.'."\n" + ."\n" + .'When **TaskType** is **1**, **3**, **4**, **5**, or **6**, the task parameters have the following structure:'."\n" + ."\n" + .'- **instanceId**: the ID of the Anti-DDoS instance. The type is String.'."\n" + ."\n" + .'When **TaskType** is **2**, the task parameters have the following structure:'."\n" + ."\n" + .'- **domain**: the domain name of the website. The type is String.', 'type' => 'string', 'title' => '', 'example' => '{"instanceId": "ddoscoo-cn-mp91j1ao****"}'], + 'TaskStatus' => ['description' => 'The status of the task. Valid values:'."\n" + ."\n" + .'- **0**: indicates that the task is initialized.'."\n" + ."\n" + .'- **1**: indicates that the task is in progress.'."\n" + ."\n" + .'- **2**: indicates that the task is successful.'."\n" + ."\n" + .'- **3**: indicates that the task failed.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '2'], + 'TaskResult' => ['description' => 'The task result. This value is a string in the JSON format. Different **TaskType** values have different task results.'."\n" + ."\n" + .'When **TaskType** is **1**, **3**, **4**, **5**, or **6**, the task result has the following structure:'."\n" + ."\n" + .'- **instanceId**: the ID of the Anti-DDoS instance. The type is String.'."\n" + ."\n" + .'- **url**: the OSS download URL of the exported file. The type is String.'."\n" + ."\n" + .'When **TaskType** is **2**, the task result has the following structure:'."\n" + ."\n" + .'- **domain**: the domain name of the website. The type is String.'."\n" + ."\n" + .'- **url**: the OSS download URL of the exported file. The type is String.', 'type' => 'string', 'title' => '', 'example' => '{"instanceId": "ddoscoo-cn-mp91j1ao****","url": "https://****.oss-cn-beijing.aliyuncs.com/heap.bin?Expires=1584785140&OSSAccessKeyId=TMP.3KfzD82FyRJevJdEkRX6JEFHhbvRBBb75PZJnyJmksA2QkMm47xFAFDgMhEV8Nm6Vxr8xExMfiy9LsUFAcLcTBrN3r****&Signature=Sj8BNcsxJLE8l5qm4cjNlDt8gv****"}'], + 'TaskId' => ['description' => 'The ID of the task.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '1'], ], + 'description' => '', + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 1,\\n \\"RequestId\\": \\"6623EA1F-30FB-5BC8-BEC9-74D55F6F08F1\\",\\n \\"AsyncTasks\\": [\\n {\\n \\"EndTime\\": 157927362000,\\n \\"TaskType\\": 5,\\n \\"StartTime\\": 156927362000,\\n \\"TaskParams\\": \\"{\\\\\\"instanceId\\\\\\": \\\\\\"ddoscoo-cn-mp91j1ao****\\\\\\"}\\",\\n \\"TaskStatus\\": 2,\\n \\"TaskResult\\": \\"{\\\\\\"instanceId\\\\\\": \\\\\\"ddoscoo-cn-mp91j1ao****\\\\\\",\\\\\\"url\\\\\\": \\\\\\"https://****.oss-cn-beijing.aliyuncs.com/heap.bin?Expires=1584785140&OSSAccessKeyId=TMP.3KfzD82FyRJevJdEkRX6JEFHhbvRBBb75PZJnyJmksA2QkMm47xFAFDgMhEV8Nm6Vxr8xExMfiy9LsUFAcLcTBrN3r****&Signature=Sj8BNcsxJLE8l5qm4cjNlDt8gv****\\\\\\"}\\",\\n \\"TaskId\\": 1\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'DescribeAsyncTasks', + 'summary' => 'Queries detailed information about asynchronous export tasks, including task ID, start and end times, status, parameters, results, and more.', + 'description' => 'This operation queries detailed information about asynchronous export tasks, including task ID, start and end times, status, parameters, results, and more.'."\n" + ."\n" + .'### QPS limits'."\n" + ."\n" + .'The single-user QPS limit for this operation is 10 queries per second (QPS). API calls that exceed this limit will be throttled, which may affect your business. You should call this operation at a reasonable rate.', + 'requestParamsDescription' => 'When you call this API operation, in addition to the request parameters described in this topic, you must also specify the common request parameters of Alibaba Cloud API. For more information, see [Common parameters](~~157269~~).'."\n" + ."\n" + .'For the request format, see the request example in the **Examples** section of this topic.', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:24.000Z', 'description' => 'Error codes changed'], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E\\",\\n \\"DomainTopFp\\": [\\n {\\n \\"Fingerprinting\\": \\"8a374c9724582b14a4cfa58c8c9fb2bc\\",\\n \\"Pv\\": 22121,\\n \\"Domain\\": \\"example.aliyundoc.com\\\\n\\"\\n }\\n ]\\n}","type":"json"}]', - 'title' => 'DescribeDomainTopFingerprint', - ], - 'DescribeDomainBps' => [ - 'summary' => 'Queries the bandwidths of a website.', - 'methods' => [ - 'post', - 'get', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeAsyncTasks'], + ], ], - 'schemes' => [ - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeAsyncTasks', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'DescribeAttackAnalysisMaxQps' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -5029,75 +3846,20 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'list', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREddosRTUJBH', - ], + 'operationType' => 'get', + 'abilityTreeCode' => '106093', + 'abilityTreeNodes' => ['FEATUREddosRTUJBH'], ], 'parameters' => [ [ - 'name' => 'Region', + 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => 'The region in which your service is deployed. Valid values:'."\n" - ."\n" - .'* **cn**: a region in the Chinese mainland.'."\n" - .'* **cn-hongkong**: a region outside the Chinese mainland.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'cn', - ], - ], - [ - 'name' => 'Domain', - 'in' => 'query', - 'schema' => [ - 'description' => 'The domain name of the website.'."\n" - ."\n" - .'> A forwarding rule must be configured for the domain name. You can call the [DescribeDomains](~~91724~~) operation to query all domain names.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'www.example.com', - ], - ], - [ - 'name' => 'StartTime', - 'in' => 'query', - 'schema' => [ - 'description' => 'The beginning of the time range to query. This value is a UNIX timestamp. Unit: seconds.'."\n" - ."\n" - .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1719211800', - ], + 'schema' => ['description' => 'The start time of the query. Use the UNIX timestamp format. Unit: seconds.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'title' => '', 'example' => '1622476799'], ], [ 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => 'The end of the time range to query. This value is a UNIX timestamp. Unit: seconds.'."\n" - ."\n" - .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1722339300', - ], - ], - [ - 'name' => 'Interval', - 'in' => 'query', - 'schema' => [ - 'description' => 'The interval for returning data. Unit: seconds. Valid values are 300, 3600, and 86400. If the time span between StartTime and EndTime is less than 3 days, valid values are 300, 3600, and 86400. If the time span between StartTime and EndTime is from 3 to 30 days, valid values are 3600 and 86400. If the time span between StartTime and EndTime is 31 days or longer, the valid value is 86400. If you leave this parameter empty or specify an invalid value, the default value is used.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '600', - ], + 'schema' => ['description' => 'The end time of the query. Use the UNIX timestamp format. Unit: seconds.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'title' => '', 'example' => '1619798400'], ], ], 'responses' => [ @@ -5105,59 +3867,47 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E', - ], - 'DomainBps' => [ - 'description' => 'The bandwidths.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The bandwidth values.'."\n", - 'type' => 'object', - 'properties' => [ - 'Index' => [ - 'description' => 'The index number of the returned data.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'InBps' => [ - 'description' => 'The inbound bandwidth. Unit: bit/s.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'OutBps' => [ - 'description' => 'The outbound bandwidth. Unit: bit/s.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - ], - ], - ], + 'Qps' => ['description' => 'The peak value of the DDoS attack. Unit: QPS.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '41652'], + 'RequestId' => ['description' => 'The ID of this request.', 'type' => 'string', 'title' => '', 'example' => '8DFB602D-1AAC-46C4-90F2-C84086E7A6E4'], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Qps\\": 41652,\\n \\"RequestId\\": \\"8DFB602D-1AAC-46C4-90F2-C84086E7A6E4\\"\\n}","type":"json"}]', + 'title' => 'DescribeAttackAnalysisMaxQps', + 'summary' => 'Queries the peak value (QPS) of DDoS attacks within a specified time period.', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2025-08-20T06:55:20.000Z', 'description' => 'OpenAPI offline'], + ['createdAt' => '2025-08-20T05:41:00.000Z', 'description' => 'OpenAPI offline'], + ['createdAt' => '2022-09-08T03:34:24.000Z', 'description' => 'Error codes changed'], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E\\",\\n \\"DomainBps\\": [\\n {\\n \\"Index\\": 1,\\n \\"InBps\\": 0,\\n \\"OutBps\\": 0\\n }\\n ]\\n}","type":"json"}]', - 'title' => 'DescribeDomainBps', - ], - 'DescribeDomainTopHttpMethod' => [ - 'summary' => 'Queries the information about top N HTTP methods of a website.', - 'methods' => [ - 'post', - 'get', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeAttackAnalysisMaxQps'], + ], ], - 'schemes' => [ - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeAttackAnalysisMaxQps', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'DescribeAutoCcBlacklist' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -5166,75 +3916,39 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'list', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREddosRTUJBH', - ], + 'operationType' => 'get', + 'abilityTreeCode' => '106095', + 'abilityTreeNodes' => ['FEATUREddosI8LHMA'], ], 'parameters' => [ [ - 'name' => 'Region', + 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The region in which your service is deployed. Valid values:'."\n" - ."\n" - .'* **cn**: a region in the Chinese mainland.'."\n" - .'* **cn-hongkong**: a region outside the Chinese mainland.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'cn', - ], + 'schema' => ['description' => 'The ID of the Anti-DDoS Pro or Anti-DDoS Premium instance.'."\n" + ."\n" + .'> Call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all Anti-DDoS Pro and Anti-DDoS Premium instances.', 'type' => 'string', 'required' => true, 'example' => 'ddoscoo-cn-mp91j1ao****', 'title' => ''], ], [ - 'name' => 'Domain', + 'name' => 'QueryType', 'in' => 'query', - 'schema' => [ - 'description' => 'The domain name of the website.'."\n" - ."\n" - .'> A forwarding rule must be configured for the domain name. You can call the [DescribeDomains](~~91724~~) operation to query all domain names.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'example.aliyundoc.com'."\n", - ], + 'schema' => ['type' => 'string', 'required' => false, 'description' => '', 'title' => '', 'example' => ''], ], [ - 'name' => 'StartTime', + 'name' => 'KeyWord', 'in' => 'query', - 'schema' => [ - 'description' => 'The beginning of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n" - ."\n" - .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1712449710', - ], + 'schema' => ['description' => 'The keyword for a fuzzy search. The value is a prefix of the source IP address that you want to query.'."\n" + ."\n" + .'> The keyword must be more than three characters long.', 'type' => 'string', 'required' => false, 'example' => '138', 'title' => ''], ], [ - 'name' => 'EndTime', + 'name' => 'PageNumber', 'in' => 'query', - 'schema' => [ - 'description' => 'The end of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n" - ."\n" - .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1722339300', - ], + 'schema' => ['description' => 'The number of the page to return for a paged query. For example, to query the results on the first page, set the value to **1**.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1', 'title' => ''], ], [ - 'name' => 'Limit', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => 'The maximum number of entries to return.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '20', - ], + 'schema' => ['description' => 'The number of records to display on each page.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '10', 'title' => ''], ], ], 'responses' => [ @@ -5242,57 +3956,69 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80', - ], - 'DomainTopMethod' => [ - 'description' => 'The information about top HTTP methods.'."\n", + 'TotalCount' => ['description' => 'The total number of blacklisted IP addresses.', 'type' => 'integer', 'format' => 'int64', 'example' => '2', 'title' => ''], + 'RequestId' => ['description' => 'The ID of the request. Alibaba Cloud generates a unique ID for each request. You can use this ID to troubleshoot issues.', 'type' => 'string', 'example' => 'E78C8472-0B15-42D5-AF22-A32A78818AB2', 'title' => ''], + 'AutoCcBlacklist' => [ + 'description' => 'The list of blacklisted IP addresses for the Anti-DDoS Pro or Anti-DDoS Premium instance.', 'type' => 'array', 'items' => [ - 'description' => 'The information about the HTTP method.'."\n", 'type' => 'object', 'properties' => [ - 'HttpMethod' => [ - 'description' => 'The HTTP method.'."\n", - 'type' => 'string', - 'example' => 'GET', - ], - 'Pv' => [ - 'description' => 'The page views.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '22121', - ], - 'Domain' => [ - 'description' => 'The domain name of the website.'."\n", - 'type' => 'string', - 'example' => 'example.aliyundoc.com'."\n", - ], + 'Type' => ['description' => 'The source of the blacklisted IP address. Valid values:'."\n" + ."\n" + .'- **manual**: The IP address is manually added.'."\n" + ."\n" + .'- **auto**: The IP address is automatically added.', 'type' => 'string', 'example' => 'manual', 'title' => ''], + 'DestIp' => ['description' => 'The IP address of the Anti-DDoS Pro or Anti-DDoS Premium instance.', 'type' => 'string', 'example' => '192.0.XX.XX', 'title' => ''], + 'EndTime' => ['description' => 'The expiration time of the blacklisted IP address. This value is a UNIX timestamp. Unit: seconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1584093569', 'title' => ''], + 'SourceIp' => ['description' => 'The blacklisted IP address.', 'type' => 'string', 'example' => '47.100.XX.XX', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'title' => 'DescribeAutoCcBlacklist', + 'summary' => 'Queries the blacklisted IP addresses for an Anti-DDoS Pro or Anti-DDoS Premium instance.', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2024-12-12T05:41:48.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2022-09-08T03:34:24.000Z', 'description' => 'Error codes changed'], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\",\\n \\"DomainTopMethod\\": [\\n {\\n \\"HttpMethod\\": \\"GET\\",\\n \\"Pv\\": 22121,\\n \\"Domain\\": \\"example.aliyundoc.com\\\\n\\"\\n }\\n ]\\n}","type":"json"}]', - 'title' => 'DescribeDomainTopHttpMethod', - ], - 'CreateAsyncTask' => [ - 'methods' => [ - 'post', - 'get', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeAutoCcBlacklist'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeAutoCcBlacklist', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 2,\\n \\"RequestId\\": \\"E78C8472-0B15-42D5-AF22-A32A78818AB2\\",\\n \\"AutoCcBlacklist\\": [\\n {\\n \\"Type\\": \\"manual\\",\\n \\"DestIp\\": \\"192.0.XX.XX\\",\\n \\"EndTime\\": 1584093569,\\n \\"SourceIp\\": \\"47.100.XX.XX\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeAutoCcListCount' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -5301,59 +4027,25 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'create', - 'abilityTreeCode' => '106062', - 'abilityTreeNodes' => [ - 'FEATUREddos64TBV6', - ], - 'tenantRelevance' => 'publicInformation', + 'operationType' => 'get', + 'abilityTreeCode' => '106096', + 'abilityTreeNodes' => ['FEATUREddosOZ1QOD'], ], 'parameters' => [ [ - 'name' => 'ResourceGroupId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'default', - ], - ], - [ - 'name' => 'TaskType', + 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The type of the asynchronous export task that you want to create. Valid values:'."\n" - ."\n" - .'* **1**: the task to export the port forwarding rules of an instance'."\n" - .'* **2**: the task to export the forwarding rules of a website protected by an instance'."\n" - .'* **3**: the task to export the session persistence and health check settings of an instance'."\n" - .'* **4**: the task to export the anti-DDoS mitigation policies of an instance'."\n" - .'* **5**: the task to download the blacklist for destination IP addresses of an instance'."\n" - .'* **6**: the task to download the whitelist for destination IP addresses of an instance'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '5', - ], + 'schema' => ['description' => 'The ID of the instance.'."\n" + ."\n" + .'> You can call the **DescribeInstanceIds** operation to query the IDs of all instances.'."\n", 'type' => 'string', 'required' => true, 'example' => 'ddoscoo-cn-mp91j1ao****', 'title' => ''], ], [ - 'name' => 'TaskParams', + 'name' => 'QueryType', 'in' => 'query', - 'schema' => [ - 'description' => 'The details of the asynchronous export task. The value is a JSON string. The field in the value varies with **TaskType**.'."\n" - ."\n" - .'If **TaskType** is set to **1**, **3**, **4**, **5**, or **6**, the following filed is returned:'."\n" - ."\n" - .'* **instanceId**: the ID of the instance. This field is required and must be of the STRING type.'."\n" - ."\n" - .'If **TaskType** is set to **2**, the following field is returned:'."\n" - ."\n" - .'* **domain**: the domain name of the website, which must be of the STRING type. If you do not specify this field, the forwarding rules of all websites are exported.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '{"instanceId": "ddoscoo-cn-mp91j1ao****"}', - ], + 'schema' => ['description' => 'The mode of how an IP address is added to the whitelist or blacklist. Valid values:'."\n" + ."\n" + .'* **manual**: manually added'."\n" + .'* **auto**: automatically added'."\n", 'type' => 'string', 'required' => false, 'example' => 'manual', 'title' => ''], ], ], 'responses' => [ @@ -5361,31 +4053,47 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc', - ], + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '5AC3785F-C789-4622-87A4-F58BE7F6B184', 'title' => ''], + 'WhiteCount' => ['description' => 'The total number of IP addresses in the whitelist.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '2', 'title' => ''], + 'BlackCount' => ['description' => 'The total number of IP addresses in the blacklist.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}","errorExample":""},{"type":"xml","example":"\\r\\n\\r\\n\\t0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\r\\n","errorExample":""}]', - 'title' => 'CreateAsyncTask', - 'summary' => 'Creates an asynchronous export task to export forwarding rules for websites, port forwarding rules, session persistence and health check settings, DDoS mitigation policies, the IP address blacklist, or the IP address whitelist.', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"5AC3785F-C789-4622-87A4-F58BE7F6B184\\",\\n \\"WhiteCount\\": 2,\\n \\"BlackCount\\": 0\\n}","errorExample":""},{"type":"xml","example":"\\r\\n\\r\\n\\t0\\r\\n\\t5AC3785F-C789-4622-87A4-F58BE7F6B184\\r\\n\\t2\\r\\n","errorExample":""}]', + 'title' => 'DescribeAutoCcListCount', + 'summary' => 'Queries the numbers of IP addresses in the IP address whitelist and IP address blacklist of an Anti-DDoS Proxy instance.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DeleteAsyncTask' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:24.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeAutoCcListCount'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeAutoCcListCount', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'DescribeAutoCcWhitelist' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -5394,37 +4102,34 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'delete', - 'abilityTreeCode' => '106076', - 'abilityTreeNodes' => [ - 'FEATUREddos64TBV6', - 'FEATUREddosN7DYCX', - ], - 'tenantRelevance' => 'publicInformation', + 'operationType' => 'get', + 'abilityTreeCode' => '106097', + 'abilityTreeNodes' => ['FEATUREddosOZ1QOD'], ], 'parameters' => [ [ - 'name' => 'ResourceGroupId', + 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'default', - ], + 'schema' => ['description' => 'The ID of the instance.'."\n" + ."\n" + .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.'."\n", 'type' => 'string', 'required' => true, 'example' => 'ddoscoo-cn-mp91j1ao****', 'title' => ''], ], [ - 'name' => 'TaskId', + 'name' => 'KeyWord', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the task that you want to delete.'."\n" - ."\n" - .'> You can call the [DescribeAsyncTasks](~~DescribeAsyncTasks~~) operation to query the IDs of all asynchronous export tasks.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '1', - ], + 'schema' => ['description' => 'The keyword for the query. This keyword is used to specify the prefix of the source IP address that you want to query.'."\n" + ."\n" + .'> The keyword must be greater than three characters in length.'."\n", 'type' => 'string', 'required' => false, 'example' => '138', 'title' => ''], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => ['description' => 'The number of the page to return. For example, to query the returned results on the first page, set the value to **1**.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1', 'title' => ''], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['description' => 'The number of entries to return on each page.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '10', 'title' => ''], ], ], 'responses' => [ @@ -5432,32 +4137,67 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc', + 'TotalCount' => ['description' => 'The total number of returned IP addresses in the whitelist.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '2', 'title' => ''], + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'F09D085E-5E0F-4FF2-B32E-F4A644049162', 'title' => ''], + 'AutoCcWhitelist' => [ + 'description' => 'An array that consists of details of the IP address in the whitelist of the instance.'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Type' => ['description' => 'The mode of how an IP address is added to the whitelist. Valid values:'."\n" + ."\n" + .'* **manual**: manually added'."\n" + .'* **auto**: automatically added'."\n", 'type' => 'string', 'example' => 'manual', 'title' => ''], + 'DestIp' => ['description' => 'The IP address of the instance.'."\n", 'type' => 'string', 'example' => '203.***.***.117', 'title' => ''], + 'EndTime' => ['description' => 'The validity period of the IP address in the whitelist. Unit: seconds. **0** indicates that the IP address in the whitelist never expires.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '0', 'title' => ''], + 'SourceIp' => ['description' => 'The IP addresses that is contained in the IP address whitelist.'."\n", 'type' => 'string', 'example' => '2.2.2.2', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\"\\n}","errorExample":""},{"type":"xml","example":"\\r\\n\\r\\n\\t0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\r\\n","errorExample":""}]', - 'title' => 'DeleteAsyncTask', - 'summary' => 'Deletes an asynchronous export task.', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"TotalCount\\": 2,\\n \\"RequestId\\": \\"F09D085E-5E0F-4FF2-B32E-F4A644049162\\",\\n \\"AutoCcWhitelist\\": [\\n {\\n \\"Type\\": \\"manual\\",\\n \\"DestIp\\": \\"203.***.***.117\\",\\n \\"EndTime\\": 0,\\n \\"SourceIp\\": \\"2.2.2.2\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\r\\n\\r\\n\\t\\r\\n\\t\\tmanual\\r\\n\\t\\t4.4.4.4\\r\\n\\t\\t0\\r\\n\\t\\t203.***.***.117\\r\\n\\t\\r\\n\\t\\r\\n\\t\\tmanual\\r\\n\\t\\t2.2.2.2\\r\\n\\t\\t0\\r\\n\\t\\t203.***.***.117\\r\\n\\t\\r\\n\\t2\\r\\n\\tF09D085E-5E0F-4FF2-B32E-F4A644049162\\r\\n","errorExample":""}]', + 'title' => 'DescribeAutoCcWhitelist', + 'summary' => 'Queries IP addresses in the IP address whitelist of an Anti-DDoS Proxy instance.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'CreateNetworkRules' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:24.000Z', 'description' => 'Error codes changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeAutoCcWhitelist'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeAutoCcWhitelist', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'DescribeBackSourceCidr' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -5466,28 +4206,29 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'create', - 'abilityTreeCode' => '106069', - 'abilityTreeNodes' => [ - 'FEATUREddos64TBV6', - ], + 'operationType' => 'get', + 'abilityTreeCode' => '106098', + 'abilityTreeNodes' => ['FEATUREddos64TBV6'], + 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'NetworkRules', + 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => 'The details of the port forwarding rule. This parameter is a JSON string. The string contains the following fields:'."\n" - ."\n" - .'* **InstanceId**: the ID of the instance. This field is required and must be of the STRING type.'."\n" - .'* **Protocol**: the forwarding protocol. This field is required and must be of the STRING type. Valid values: **tcp** and **udp**.'."\n" - .'* **FrontendPort**: the forwarding port. This field is required and must be of the INTEGER type.'."\n" - .'* **BackendPort**: the port of the origin server. This field is required and must be of the INTEGER type.'."\n" - .'* **RealServers**: the IP addresses of the origin server. This field is required and must be a JSON array. You can specify up to 20 IP addresses.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '[{"InstanceId":"ddoscoo-cn-mp91j1ao****","Protocol":"tcp","FrontendPort":8080,"BackendPort":8080,"RealServers":["1.1.1.1","2.2.2.2"]}]', - ], + 'schema' => ['description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n", 'type' => 'string', 'required' => false, 'example' => 'rg-acfm2pz25js****', 'title' => ''], + ], + [ + 'name' => 'Line', + 'in' => 'query', + 'schema' => ['description' => 'The Internet service provider (ISP) line that you want to query.'."\n", 'type' => 'string', 'required' => false, 'example' => 'coop-line-001', 'title' => ''], + ], + [ + 'name' => 'IpVersion', + 'in' => 'query', + 'schema' => ['description' => 'The IP version of the back-to-origin CIDR blocks.'."\n" + ."\n" + .'* **Ipv4**'."\n" + .'* **Ipv6**'."\n", 'type' => 'string', 'required' => false, 'example' => 'IPv4', 'title' => ''], ], ], 'responses' => [ @@ -5495,33 +4236,53 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'ADCA45A5-D15C-4B7D-9F81-138B0B36D0BD', + 'RequestId' => ['description' => 'The ID of the request, which is used to locate and troubleshoot issues.'."\n", 'type' => 'string', 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc', 'title' => ''], + 'Cidrs' => [ + 'description' => 'An array that consists of the back-to-origin CIDR blocks of the instance.'."\n", + 'type' => 'array', + 'items' => ['description' => 'The back-to-origin CIDR block of the instance.'."\n", 'type' => 'string', 'example' => '47.0.XX.XX/25', 'title' => ''], + 'title' => '', + 'example' => '', ], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"ADCA45A5-D15C-4B7D-9F81-138B0B36D0BD\\"\\n}","errorExample":""},{"type":"xml","example":"\\r\\n\\r\\n\\tADCA45A5-D15C-4B7D-9F81-138B0B36D0BD\\r\\n","errorExample":""}]', - 'title' => 'CreateNetworkRules', - 'summary' => 'Creates a port forwarding rule.', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\",\\n \\"Cidrs\\": [\\n \\"47.0.XX.XX/25\\"\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\n 0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\n [ \\"47.0.XX.XX/25\\",\\"47.128.XX.XX/25\\" ]\\n","errorExample":""}]', + 'title' => 'DescribeBackSourceCidr', + 'summary' => 'Queries the back-to-origin CIDR blocks of Anti-DDoS Proxy.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DeleteNetworkRule' => [ - 'summary' => 'Deletes a port forwarding rule. You can delete only one port forwarding rule at a time.', - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2022-11-02T07:06:44.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2022-09-08T03:34:24.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeBackSourceCidr'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeBackSourceCidr', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'DescribeBlackholeStatus' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -5530,27 +4291,25 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'delete', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '106083', - 'abilityTreeNodes' => [ - 'FEATUREddos64TBV6', - ], + 'operationType' => 'get', + 'abilityTreeCode' => '106099', + 'abilityTreeNodes' => ['FEATUREddosRTUJBH'], ], 'parameters' => [ [ - 'name' => 'NetworkRule', + 'name' => 'InstanceIds', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => 'An array that consists of the information about the port forwarding rule. This parameter is a JSON string. The string contains the following fields:'."\n" + 'description' => 'The ID of the Anti-DDoS Proxy instance.'."\n" ."\n" - .'* **InstanceId**: the ID of the instance. This field is required and must be of the STRING type.'."\n" - .'* **Protocol**: the forwarding protocol. This field is required and must be of the STRING type. Valid values: **tcp** and **udp**.'."\n" - .'* **FrontendPort**: the forwarding port. This field is required and must be of the INTEGER type.'."\n", - 'type' => 'string', + .'> You can call [DescribeInstanceIds](~~157459~~) to query the IDs of all Anti-DDoS Pro or Anti-DDoS Premium instances.', + 'type' => 'array', + 'items' => ['description' => 'The ID of the Anti-DDoS Proxy instance.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'ddoscoo-cn-mp91j1ao****'], 'required' => true, - 'example' => '[{"InstanceId":"ddoscoo-cn-mp91j1ao****","Protocol":"tcp","FrontendPort":8080}]', + 'example' => 'ddoscoo-cn-mp91j1ao****', + 'maxItems' => 20, + 'title' => '', ], ], ], @@ -5559,30 +4318,67 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '49AD2F34-694A-4024-9B0E-DDCFC59CCC13', + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'title' => '', 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E'], + 'BlackholeStatus' => [ + 'description' => 'The blackhole filtering status information of the Anti-DDoS Pro or Anti-DDoS Premium instance.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'EndTime' => ['description' => 'The end time of blackhole filtering. This value is a UNIX timestamp. Unit: seconds.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '1540196323'], + 'StartTime' => ['description' => 'The start time of blackhole filtering. This value is a UNIX timestamp. Unit: seconds.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '1540195323'], + 'Ip' => ['description' => 'The IP address of the Anti-DDoS Proxy instance.', 'type' => 'string', 'title' => '', 'example' => '203.***.***.132'], + 'BlackStatus' => ['description' => 'The blackhole filtering status. Valid values:'."\n" + ."\n" + .'- **blackhole**: Black Hole Activated'."\n" + ."\n" + .'- **normal**: Normal', 'type' => 'string', 'title' => '', 'example' => 'blackhole'], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"49AD2F34-694A-4024-9B0E-DDCFC59CCC13\\"\\n}","errorExample":""},{"type":"xml","example":"\\r\\n\\r\\n\\t49AD2F34-694A-4024-9B0E-DDCFC59CCC13\\r\\n","errorExample":""}]', - 'title' => 'DeleteNetworkRule', + 'title' => 'DescribeBlackholeStatus', + 'summary' => 'Queries the blackhole filtering status of an Anti-DDoS Proxy instance.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'ModifyHealthCheckConfig' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:24.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeBlackholeStatus'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeBlackholeStatus', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E\\",\\n \\"BlackholeStatus\\": [\\n {\\n \\"EndTime\\": 1540196323,\\n \\"StartTime\\": 1540195323,\\n \\"Ip\\": \\"203.***.***.132\\",\\n \\"BlackStatus\\": \\"blackhole\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeBlockStatus' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -5591,81 +4387,34 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', - 'abilityTreeCode' => '106248', - 'abilityTreeNodes' => [ - 'FEATUREddosN7DYCX', - ], + 'operationType' => 'get', + 'abilityTreeCode' => '106101', + 'abilityTreeNodes' => ['FEATUREddosRTUJBH'], ], 'parameters' => [ [ - 'name' => 'InstanceId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the instance.'."\n" - ."\n" - .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'ddoscoo-cn-mp91j1ao****', - ], - ], - [ - 'name' => 'ForwardProtocol', - 'in' => 'query', - 'schema' => [ - 'description' => 'The forwarding protocol. Valid values:'."\n" - ."\n" - .'* **tcp**'."\n" - .'* **udp**'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'tcp', - ], - ], - [ - 'name' => 'FrontendPort', + 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => 'The forwarding port.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '8080', - ], + 'schema' => ['description' => 'The ID of the resource group to which the instance belongs in Resource Management.'."\n" + ."\n" + .'If you do not configure this parameter, the instance belongs to the default resource group.'."\n", 'type' => 'string', 'required' => false, 'example' => 'rg-acfm2pz25js****', 'title' => ''], ], [ - 'name' => 'HealthCheck', + 'name' => 'InstanceIds', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => 'The details of the health check configuration. This parameter is a JSON string. The string contains the following fields:'."\n" - ."\n" - .'* **Type**: the protocol type. This field is required and must be of the STRING type. Valid values: **tcp** (Layer 4) and **http** (Layer 7).'."\n" - ."\n" - .'* **Domain**: the domain name, which must be of the STRING type.'."\n" - ."\n" - .' **'."\n" - ."\n" - .' **Note**This parameter is returned only when the Layer 7 health check configuration is queried.'."\n" - ."\n" - .'* **Uri**: the check path, which must be of the STRING type.'."\n" - ."\n" - .' **'."\n" - ."\n" - .' **Note**This parameter is returned only when the Layer 7 health check configuration is queried.'."\n" - ."\n" - .'* **Timeout**: the response timeout period, which must be of the INTEGER type. Valid values: **1** to **30**. Unit: seconds.'."\n" - ."\n" - .'* **Port**: the port on which you want to perform the health check, which must be of the INTEGER type.'."\n" - ."\n" - .'* **Interval**: the health check interval, which must be of the INTEGER type. Valid values: **1** to **30**. Unit: seconds.'."\n" + 'description' => 'An array consisting of information about the IDs of the instances that you want to query.'."\n" ."\n" - .'* **Up**: the number of consecutive successful health checks that must occur before declaring a port healthy, which must be of the INTEGER type. Valid values: **1** to **10**.'."\n" + .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.'."\n", + 'type' => 'array', + 'items' => ['description' => 'The ID of the instance.'."\n" ."\n" - .'* **Down**: the number of consecutive failed health checks that must occur before declaring a port unhealthy, which must be of the INTEGER type. Valid values: **1** to **10**.'."\n", - 'type' => 'string', + .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.'."\n", 'type' => 'string', 'required' => false, 'example' => 'ddoscoo-cn-zvp2eibz****', 'title' => ''], 'required' => true, - 'example' => '{"Type":"tcp","Timeout":10,"Port":8080,"Interval":10,"Up":10,"Down":40}', + 'example' => 'ddoscoo-cn-mp91j1ao****', + 'maxItems' => 20, + 'title' => '', ], ], ], @@ -5674,31 +4423,93 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc', + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E', 'title' => ''], + 'StatusList' => [ + 'description' => 'An array that consists of details of the Diversion from Origin Server configurations of the instance.'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Ip' => ['description' => 'The IP address of the instance.'."\n", 'type' => 'string', 'example' => '203.XX.XX.88', 'title' => ''], + 'BlockStatusList' => [ + 'description' => 'An array that consists of details of the Diversion from Origin Server configuration.'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'EndTime' => ['description' => 'The end time of the blocking. This value is a UNIX timestamp. Unit: seconds.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1540196323', 'title' => ''], + 'StartTime' => ['description' => 'The start time of the blocking. This value is a UNIX timestamp. Unit: seconds.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1540195323', 'title' => ''], + 'Line' => ['description' => 'The Internet service provider (ISP) line from which the traffic is blocked. Valid values:'."\n" + ."\n" + .'* **ct**: China Telecom (International)'."\n" + .'* **cut**: China Unicom (International)'."\n", 'type' => 'string', 'example' => 'cut', 'title' => ''], + 'BlockStatus' => ['description' => 'The blocking status of the network traffic. Valid values:'."\n" + ."\n" + .'* **areablock**: Network traffic is blocked.'."\n" + .'* **normal**: Network traffic is not blocked.'."\n", 'type' => 'string', 'example' => 'areablock', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}","errorExample":""},{"type":"xml","example":"\\r\\n\\r\\n\\t0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\r\\n","errorExample":""}]', - 'title' => 'ModifyHealthCheckConfig', - 'summary' => 'Modifies the Layer 4 or Layer 7 health check configuration of a port forwarding rule.', - 'requestParamsDescription' => ' ', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E\\",\\n \\"StatusList\\": [\\n {\\n \\"Ip\\": \\"203.XX.XX.88\\",\\n \\"BlockStatusList\\": [\\n {\\n \\"EndTime\\": 1540196323,\\n \\"StartTime\\": 1540195323,\\n \\"Line\\": \\"cut\\",\\n \\"BlockStatus\\": \\"areablock\\"\\n }\\n ]\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\n C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E\\n \\n 203.XX.XX.88\\n \\n 1540196323\\n 1540195323\\n cut\\n areablock\\n \\n \\n","errorExample":""}]', + 'title' => 'DescribeBlockStatus', + 'summary' => 'Queries the Diversion from Origin Server configurations of one or more Anti-DDoS Proxy (Chinese Mainland) instances.', + 'description' => 'You can call this operation to query the Diversion from Origin Server configurations of one or more Anti-DDoS Proxy (Chinese Mainland) instances.'."\n" + ."\n" + .'> This operation is suitable only for Anti-DDoS Proxy (Chinese Mainland).'."\n" + ."\n" + .'### [](#qps-)QPS limits'."\n" + ."\n" + .'You can call this operation up to 10 times per second per account. If the number of 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", + 'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see [Common parameters](~~157269~~).'."\n" + ."\n" + .'For more information about sample requests, see the **"Examples"** section of this topic.'."\n", 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeNetworkRules' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:24.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeBlockStatus'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeBlockStatus', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'DescribeCdnLinkageRules' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -5708,69 +4519,31 @@ 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', - 'abilityTreeCode' => '106162', - 'abilityTreeNodes' => [ - 'FEATUREddosN7DYCX', - ], + 'abilityTreeCode' => '106105', + 'abilityTreeNodes' => ['FEATUREddos64TBV6'], ], 'parameters' => [ [ - 'name' => 'InstanceId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the instance.'."\n" - ."\n" - .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'ddoscoo-cn-mp91j1ao****', - ], - ], - [ - 'name' => 'ForwardProtocol', + 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => 'The forwarding protocol. Valid values:'."\n" - ."\n" - .'* **tcp**'."\n" - .'* **udp**'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'tcp', - ], + 'schema' => ['description' => 'The ID of the resource group to which the Anti-DDoS instance belongs in Resource Management. If you leave this parameter empty, the instance belongs to the default resource group.', 'type' => 'string', 'required' => false, 'example' => 'default', 'title' => ''], ], [ - 'name' => 'FrontendPort', + 'name' => 'Domain', 'in' => 'query', - 'schema' => [ - 'description' => 'The forwarding port.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '80', - ], + 'schema' => ['description' => 'The domain name of your website.'."\n" + ."\n" + .'> The domain name must be added to your Anti-DDoS instance. Call [DescribeDomains](~~91724~~) to query all domain names.', 'type' => 'string', 'required' => false, 'example' => 'example.aliyundoc.com'."\n", 'title' => ''], ], [ 'name' => 'PageNumber', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of the page to return. For example, to query the returned results on the first page, set the value to **1**.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '1', - ], + 'schema' => ['description' => 'The number of the page to return for a paged query.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1', 'title' => ''], ], [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of entries to return on each page.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '10', - ], + 'schema' => ['description' => 'The number of entries to return on each page for a paged query.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '10', 'title' => ''], ], ], 'responses' => [ @@ -5778,122 +4551,114 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'TotalCount' => [ - 'description' => 'The total number of returned port forwarding rules.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'RequestId' => [ - 'description' => 'The ID of the request, which is used to locate and troubleshoot issues.'."\n", - 'type' => 'string', - 'example' => '8597F235-FA5E-4FC7-BAD9-E4C0B01BC771', - ], - 'NetworkRules' => [ - 'description' => 'The details of the port forwarding rules.'."\n", + 'TotalCount' => ['description' => 'The total number of entries returned.', 'type' => 'string', 'example' => '12', 'title' => ''], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '02FE96D9-C77B-5735-B36D-329E052C8047', 'title' => ''], + 'SchedulerRules' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'FrontendPort' => [ - 'description' => 'The forwarding port.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '80', - ], - 'IsAutoCreate' => [ - 'description' => 'Indicates whether the port forwarding rule is automatically created. Valid values:'."\n" - ."\n" - .'* **true**'."\n" - .'* **false**'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'InstanceId' => [ - 'description' => 'The ID of the instance.'."\n", - 'type' => 'string', - 'example' => 'ddoscoo-cn-mp91j1ao****', - ], - 'Protocol' => [ - 'description' => 'The forwarding protocol. Valid values:'."\n" - ."\n" - .'* **tcp**'."\n" - .'* **udp**'."\n", - 'type' => 'string', - 'example' => 'tcp', - ], - 'BackendPort' => [ - 'description' => 'The port of the origin server.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '80', - ], - 'RealServers' => [ - 'description' => 'The IP addresses of origin servers.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The IP address of the origin server.'."\n", - 'type' => 'string', - 'example' => '112.139.XX.XX', + 'Domain' => ['description' => 'The domain name.', 'type' => 'string', 'example' => 'example.aliyundoc.com'."\n", 'title' => ''], + 'CdnLinkageEnable' => ['description' => 'Specifies whether CDN interaction is enabled. Valid values:'."\n" + ."\n" + .'- **0**: Disabled'."\n" + ."\n" + .'- **1**: Enabled', 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''], + 'CdnLinkageRule' => [ + 'type' => 'object', + 'properties' => [ + 'Cname' => ['description' => 'The canonical name of the Anti-DDoS instance that is associated with the domain name.', 'type' => 'string', 'example' => 'example.aliyundoc.com'."\n", 'title' => ''], + 'RuleName' => ['description' => 'The name of the traffic scheduling rule.', 'type' => 'string', 'example' => 'testDDos', 'title' => ''], + 'Rules' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Type' => ['description' => 'The format of the resource address. Valid values:'."\n" + ."\n" + .'- **A**: IPv4 address'."\n" + ."\n" + .'- **AAAA**: IPv6 address'."\n" + ."\n" + .'- **CNAME**: canonical name', 'type' => 'string', 'example' => 'A', 'title' => ''], + 'Status' => ['description' => 'The status of the rule. Valid values:'."\n" + ."\n" + .'- **0**: Inactive'."\n" + ."\n" + .'- **1**: Active', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'Value' => ['description' => 'The resource address.', 'type' => 'string', 'example' => '203.107.XX.XX', 'title' => ''], + 'ValueType' => ['description' => 'The type of the resource address. Valid values:'."\n" + ."\n" + .'- **1**: Anti-DDoS IP'."\n" + ."\n" + .'- **5**: Accelerated domain name for CDN interaction', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'Priority' => ['description' => 'The priority of the rule. Valid values: 0 to 100. A larger value indicates a higher priority.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'RegionId' => ['description' => 'The region ID. The default value is empty.', 'type' => 'string', 'example' => '""', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'description' => 'The rule information.', + 'title' => '', + 'example' => '', + ], + 'Param' => [ + 'type' => 'object', + 'properties' => [ + 'ParamType' => ['description' => 'The type of the resource for interaction. Valid values:'."\n" + ."\n" + .'- **cdn**: Alibaba Cloud CDN'."\n" + ."\n" + .'- **dcdn**: DCDN', 'type' => 'string', 'example' => 'cdn', 'title' => ''], + 'ParamData' => [ + 'type' => 'object', + 'properties' => [ + 'AccessQps' => ['description' => 'The QPS threshold that triggers a resource switch.', 'type' => 'integer', 'format' => 'int64', 'example' => '100', 'title' => ''], + 'UpstreamQps' => ['description' => 'A reserved field. The default value is 0.', 'type' => 'integer', 'format' => 'int64', 'example' => '0', 'title' => ''], + ], + 'description' => 'The interaction conditions.', + 'title' => '', + 'example' => '', + ], + ], + 'description' => 'The resource for interaction.', + 'title' => '', + 'example' => '', + ], ], - ], - 'Remark' => [ - 'description' => 'The remarks of the port forwarding rule.'."\n", - 'type' => 'string', - 'example' => 'Test'."\n", - ], - 'ProxyEnable' => [ - 'description' => 'Indicates whether the traffic diversion switch is on. Valid values:'."\n" - ."\n" - .'* 0: on.'."\n" - .'* 1: off.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'ProxyStatus' => [ - 'description' => 'The status of traffic diversion. Valid values:'."\n" - ."\n" - .'* on: Traffic diversion takes effect.'."\n" - .'* off: Traffic diversion does not take effect.'."\n", - 'type' => 'string', - 'example' => 'on', - ], - 'PayloadRuleEnable' => [ - 'description' => 'Indicates whether the payload filtering rule is enabled. Valid values:'."\n" - ."\n" - .'* 1: enabled.'."\n" - .'* 0: disabled.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', + 'description' => 'The CDN interaction rule.', + 'title' => '', + 'example' => '', ], ], - 'description' => '', + 'description' => 'The traffic scheduling rules.', + 'title' => '', + 'example' => '', ], + 'description' => 'The traffic scheduling rules.', + 'title' => '', + 'example' => '', ], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"TotalCount\\": 1,\\n \\"RequestId\\": \\"8597F235-FA5E-4FC7-BAD9-E4C0B01BC771\\",\\n \\"NetworkRules\\": [\\n {\\n \\"FrontendPort\\": 80,\\n \\"IsAutoCreate\\": true,\\n \\"InstanceId\\": \\"ddoscoo-cn-mp91j1ao****\\",\\n \\"Protocol\\": \\"tcp\\",\\n \\"BackendPort\\": 80,\\n \\"RealServers\\": [\\n \\"112.139.XX.XX\\"\\n ],\\n \\"Remark\\": \\"测试\\",\\n \\"ProxyEnable\\": 0,\\n \\"ProxyStatus\\": \\"on\\",\\n \\"PayloadRuleEnable\\": 1\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\n 1\\n 8597F235-FA5E-4FC7-BAD9-E4C0B01BC771\\n \\n 80\\n true\\n ddoscoo-cn-mp91j1ao****\\n tcp\\n 80\\n [\\"112.139.XX.XX\\"]\\n \\n","errorExample":""}]', - 'title' => 'DescribeNetworkRules', - 'summary' => 'Queries port forwarding rules.', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - 'translator' => 'machine', - ], - 'DescribeHealthCheckStatus' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'title' => 'DescribeCdnLinkageRules', + 'summary' => 'Describes the CDN interaction rule configurations for a specified domain name.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": \\"12\\",\\n \\"RequestId\\": \\"02FE96D9-C77B-5735-B36D-329E052C8047\\",\\n \\"SchedulerRules\\": [\\n {\\n \\"Domain\\": \\"example.aliyundoc.com\\\\n\\",\\n \\"CdnLinkageEnable\\": 0,\\n \\"CdnLinkageRule\\": {\\n \\"Cname\\": \\"example.aliyundoc.com\\\\n\\",\\n \\"RuleName\\": \\"testDDos\\",\\n \\"Rules\\": [\\n {\\n \\"Type\\": \\"A\\",\\n \\"Status\\": 1,\\n \\"Value\\": \\"203.107.XX.XX\\",\\n \\"ValueType\\": 1,\\n \\"Priority\\": 1,\\n \\"RegionId\\": \\"\\\\\\"\\\\\\"\\"\\n }\\n ],\\n \\"Param\\": {\\n \\"ParamType\\": \\"cdn\\",\\n \\"ParamData\\": {\\n \\"AccessQps\\": 100,\\n \\"UpstreamQps\\": 0\\n }\\n }\\n }\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeCerts' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -5903,25 +4668,21 @@ 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', - 'abilityTreeCode' => '106148', - 'abilityTreeNodes' => [ - 'FEATUREddosN7DYCX', - ], + 'abilityTreeCode' => '106106', + 'abilityTreeNodes' => ['FEATUREddos64TBV6'], ], 'parameters' => [ [ - 'name' => 'NetworkRules', + 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => 'An array that consists of the details of the port forwarding rule. This parameter is a JSON string. The string contains the following fields:'."\n" - ."\n" - .'* **InstanceId**: the ID of the instance. This field is required and must be of the STRING type.'."\n" - .'* **Protocol**: the forwarding protocol. This field is required and must be of the STRING type. Valid values: **tcp** and **udp**.'."\n" - .'* **FrontendPort**: the forwarding port. This field is required and must be of the INTEGER type.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '[{"InstanceId":"ddoscoo-cn-mp91j1ao****","Protocol":"tcp","FrontendPort":8080}]', - ], + 'schema' => ['description' => 'The ID of the resource group to which the Anti-DDoS instance belongs in Resource Management. If you leave this parameter empty, the instance belongs to the default resource group.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'default'], + ], + [ + 'name' => 'Domain', + 'in' => 'query', + 'schema' => ['description' => 'The domain name of your website.'."\n" + ."\n" + .'> A website forwarding rule must be configured for the domain name. You can call the [DescribeDomains](~~91724~~) operation to query all domain names.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'www.aliyun.com'], ], ], 'responses' => [ @@ -5929,89 +4690,75 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request, which is used to locate and troubleshoot issues.'."\n", - 'type' => 'string', - 'example' => 'DE9FF9E1-569C-4B6C-AB6A-0F6D927BB27C', - ], - 'HealthCheckStatus' => [ - 'description' => 'An array that consists of the details of the health status of the origin server.'."\n", + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'title' => '', 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc'], + 'Certs' => [ + 'description' => 'The certificate information.', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'Status' => [ - 'description' => 'The health status of the origin server. Valid values:'."\n" - ."\n" - .'* **normal**: healthy'."\n" - .'* **abnormal**: unhealthy'."\n", - 'type' => 'string', - 'example' => 'normal', - ], - 'FrontendPort' => [ - 'description' => 'The forwarding port.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '8080', - ], - 'InstanceId' => [ - 'description' => 'The ID of the instance.'."\n", - 'type' => 'string', - 'example' => 'ddoscoo-cn-mp91j1ao****', - ], - 'Protocol' => [ - 'description' => 'The forwarding protocol. Valid values:'."\n" - ."\n" - .'* **tcp**'."\n" - .'* **udp**'."\n", - 'type' => 'string', - 'example' => 'tcp', - ], - 'RealServerStatusList' => [ - 'description' => 'An array that consists of the health states of the IP addresses of the origin server.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Status' => [ - 'description' => 'The health state of the IP address. Valid values:'."\n" - ."\n" - .'* **normal**: healthy'."\n" - .'* **abnormal**: unhealthy'."\n", - 'type' => 'string', - 'example' => 'abnormal', - ], - 'Address' => [ - 'description' => 'The IP address of the origin server.'."\n", - 'type' => 'string', - 'example' => '192.0.XX.XX', - ], - ], - ], - ], + 'EndDate' => ['description' => 'The expiration date of the certificate. The value is a string.', 'type' => 'string', 'title' => '', 'example' => '2021-09-12'], + 'DomainRelated' => ['description' => 'Indicates whether the certificate is associated with the domain name. Valid values:'."\n" + ."\n" + .'- **true**: The certificate is associated with the domain name.'."\n" + ."\n" + .'- **false**: The certificate is not associated with the domain name.', 'type' => 'boolean', 'title' => '', 'example' => 'true'], + 'StartDate' => ['description' => 'The issuance date of the certificate. The value is a string.', 'type' => 'string', 'title' => '', 'example' => '2019-09-12'], + 'Issuer' => ['description' => 'The certification authority (CA) that issued the certificate.', 'type' => 'string', 'title' => '', 'example' => 'Symantec'], + 'Name' => ['description' => 'The name of the certificate.', 'type' => 'string', 'title' => '', 'example' => 'testcert'], + 'Common' => ['description' => 'The domain name that is associated with the certificate.', 'type' => 'string', 'title' => '', 'example' => 'www.aliyun.com'], + 'Id' => ['description' => 'The ID of the certificate.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '81'], + 'CertIdentifier' => ['description' => 'The global certificate ID. The value is a string that consists of the certificate ID and the region ID, separated by a hyphen (-). For example, if the certificate ID is \\`123\\` and the region is \\`cn-hangzhou\\`, the value of \\`CertIdentifier\\` is \\`123-cn-hangzhou\\`.', 'type' => 'string', 'title' => '', 'example' => '126345-ap-southeast-1'], ], + 'description' => '', + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"DE9FF9E1-569C-4B6C-AB6A-0F6D927BB27C\\",\\n \\"HealthCheckStatus\\": [\\n {\\n \\"Status\\": \\"normal\\",\\n \\"FrontendPort\\": 8080,\\n \\"InstanceId\\": \\"ddoscoo-cn-mp91j1ao****\\",\\n \\"Protocol\\": \\"tcp\\",\\n \\"RealServerStatusList\\": [\\n {\\n \\"Status\\": \\"abnormal\\",\\n \\"Address\\": \\"192.0.XX.XX\\"\\n }\\n ]\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\n DE9FF9E1-569C-4B6C-AB6A-0F6D927BB27C\\n \\n normal\\n 8080\\n ddoscoo-cn-mp91j1ao****\\n tcp\\n \\n abnormal\\n
192.0.XX.XX
\\n
\\n
\\n
","errorExample":""}]', - 'title' => 'DescribeHealthCheckStatus', - 'summary' => 'Queries the health status of an origin server.', + 'title' => 'DescribeCerts', + 'summary' => 'Queries all certificates that are available for a domain name. This operation does not query the certificate that is currently in use.', + 'description' => 'You can call this operation to query all certificates that are available for a domain name protected by an Anti-DDoS instance. A domain name can be associated with multiple certificates. For example, a query for a specific domain name can return both a certificate for that specific domain name and a wildcard certificate.'."\n" + ."\n" + .'> To query the certificate that is currently used by a domain name, call the [DescribeWebRules](~~473610~~) operation to obtain the CertName and CertRegion values. Then, call the [ListUserCertificateOrder](~~411733~~) operation of Certificate Management Service. Use the returned CertName value to query the corresponding certificate ID and other details.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'ConfigNetworkRules' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2023-07-18T07:29:47.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2022-09-08T03:34:24.000Z', 'description' => 'Error codes changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeCerts'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeCerts', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\",\\n \\"Certs\\": [\\n {\\n \\"EndDate\\": \\"2021-09-12\\",\\n \\"DomainRelated\\": true,\\n \\"StartDate\\": \\"2019-09-12\\",\\n \\"Issuer\\": \\"Symantec\\",\\n \\"Name\\": \\"testcert\\",\\n \\"Common\\": \\"www.aliyun.com\\",\\n \\"Id\\": 81,\\n \\"CertIdentifier\\": \\"126345-ap-southeast-1\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeCnameReuses' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -6020,29 +4767,30 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', - 'abilityTreeCode' => '106057', - 'abilityTreeNodes' => [ - 'FEATUREddos64TBV6', - ], + 'operationType' => 'get', + 'abilityTreeCode' => '106108', + 'abilityTreeNodes' => ['FEATUREddos64TBV6'], ], 'parameters' => [ [ - 'name' => 'NetworkRules', + 'name' => 'ResourceGroupId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the resource group to which the Anti-DDoS Proxy instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'default'], + ], + [ + 'name' => 'Domains', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => 'The details of the port forwarding rule. This parameter is a JSON string. The string contains the following fields:'."\n" - ."\n" - .'* **InstanceId**: the ID of the instance. This field is required and must be of the STRING type.'."\n" - .'* **Protocol**: the forwarding protocol. This field is required and must be of the STRING type. Valid values: **tcp** and **udp**.'."\n" - .'* **FrontendPort**: the forwarding port. This field is required and must be of the INTEGER type.'."\n" - .'* **BackendPort**: the port of the origin server. This field is required and must be of the INTEGER type.'."\n" - .'* **RealServers**: the IP addresses of the origin server. This field is required and must be a JSON array. You can specify up to 20 IP addresses.'."\n" + 'description' => 'The domain names of the websites. You can specify the domain names of up to 200 websites.'."\n" ."\n" - .'> You can modify only the value of **RealServers** when you modify a port forwarding rule.'."\n", - 'type' => 'string', + .'> A forwarding rule must be configured for the domain name. You can call [DescribeDomains](~~91724~~) to query all domain names.', + 'type' => 'array', + 'items' => ['description' => 'The domain name of the website.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'www.aliyun.com'], 'required' => true, - 'example' => '[{"InstanceId":"ddoscoo-cn-mp91j1ao****","Protocol":"tcp","FrontendPort":8080,"BackendPort":8080,"RealServers":["1.1.1.1","2.2.2.2","3.3.3.3"]}]', + 'example' => 'www.aliyun.com', + 'maxItems' => 20, + 'title' => '', ], ], ], @@ -6051,31 +4799,68 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'CC042262-15A3-4A49-ADF0-130968EA47BC', + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'title' => '', 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc'], + 'CnameReuses' => [ + 'description' => 'The CNAME reuse information.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Domain' => ['description' => 'The domain name of the website.', 'type' => 'string', 'title' => '', 'example' => 'www.aliyun.com'], + 'Cname' => ['description' => 'The reused canonical name value.', 'type' => 'string', 'title' => '', 'example' => '4o6ep6q217k9****.aliyunddos0004.com'], + 'Enable' => ['description' => 'Indicates whether CNAME reuse is enabled. Valid values:'."\n" + ."\n" + .'- **0**: disabled'."\n" + ."\n" + .'- **1**: enabled', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '1'], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"CC042262-15A3-4A49-ADF0-130968EA47BC\\"\\n}","errorExample":""},{"type":"xml","example":"\\r\\n\\r\\n\\tCC042262-15A3-4A49-ADF0-130968EA47BC\\r\\n","errorExample":""}]', - 'title' => 'ConfigNetworkRules', - 'summary' => 'Modifies the IP addresses of the origin server that is configured in a port forwarding rule.', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\",\\n \\"CnameReuses\\": [\\n {\\n \\"Domain\\": \\"www.aliyun.com\\",\\n \\"Cname\\": \\"4o6ep6q217k9****.aliyunddos0004.com\\",\\n \\"Enable\\": 1\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'DescribeCnameReuses', + 'summary' => 'Queries the CNAME reuse information about websites.', + 'description' => 'This operation is applicable only to Anti-DDoS Proxy (Outside Chinese Mainland).', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'CreateSchedulerRule' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:24.000Z', 'description' => 'Error codes changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeCnameReuses'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeCnameReuses', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'DescribeDDoSEvents' => [ + 'summary' => 'Queries attack events on Anti-DDoS Pro or Anti-DDoS Premium instances.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -6084,96 +4869,56 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'create', - 'abilityTreeCode' => '106072', - 'abilityTreeNodes' => [ - 'FEATUREddosZIK01A', - ], + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '106114', + 'abilityTreeNodes' => ['FEATUREddosRTUJBH'], ], 'parameters' => [ [ 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'default', - ], + 'schema' => ['description' => 'The ID of the resource group in Resource Management to which the Anti-DDoS Pro or Anti-DDoS Premium instance belongs. By default, this parameter is empty, which means that the instance belongs to the default resource group.', 'type' => 'string', 'required' => false, 'example' => 'default', 'title' => ''], ], [ - 'name' => 'Rules', + 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => 'The details of the scheduling rule. This parameter is a JSON string. The following list describes the fields in the value of the parameter:'."\n" - ."\n" - .'* **Type**: the address type of the interaction resource that you want to use in the scheduling rule. This field is required and must be of the string type. Valid values:'."\n" - ."\n" - .' * **A**: IP address'."\n" - .' * **CNAME**: domain name'."\n" - ."\n" - .'* **Value**: the address of the interaction resource that you want to use in the scheduling rule. This field is required and must be of the string type.'."\n" - ."\n" - .'* **Priority**: the priority of the scheduling rule. This field is required and must be of the integer type. Valid values: **0** to **100**. A larger value indicates a higher priority.'."\n" - ."\n" - .'* **ValueType**: the type of the interaction resource that you want to use in the scheduling rule. This field is required and must be of the integer type. Valid values:'."\n" - ."\n" - .' * **1**: the IP address of the Anti-DDoS Pro or Anti-DDoS Premium instance'."\n" - .' * **2**: the IP address of the interaction resource in the tiered protection scenario'."\n" - .' * **3**: the IP address that is used to accelerate access in the network acceleration scenario'."\n" - .' * **5**: the domain name that is configured in Alibaba Cloud CDN (CDN) in the CDN interaction scenario'."\n" - .' * **6** the IP address of the interaction resource in the cloud service interaction scenario'."\n" - ."\n" - .'* **RegionId**: the region where the interaction resource is deployed. This parameter must be specified when **ValueType** is set to **2**. The value must be of the string type.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '[{"Type":"A", "Value":"1.1.XX.XX", "Priority":80,"ValueType":2, "RegionId":"cn-hangzhou" },{"Type":"A", "Value":"203.199.XX.XX", "Priority":80,"ValueType":1}]', - ], + 'schema' => ['description' => 'The end of the time range to query. This is a UNIX timestamp. Unit: seconds.'."\n" + ."\n" + .'> The timestamp must be on the minute.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1583683200', 'title' => ''], ], [ - 'name' => 'RuleName', + 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the rule.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'testrule', - ], + 'schema' => ['description' => 'The beginning of the time range to query. This is a UNIX timestamp. Unit: seconds.'."\n" + ."\n" + .'> The timestamp must be on the minute.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1582992000', 'title' => ''], ], [ - 'name' => 'RuleType', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => 'The type of the rule. Valid values:'."\n" - ."\n" - .'* **2**: tiered protection'."\n" - .'* **3**: network acceleration'."\n" - .'* **5**: Alibaba Cloud CDN (CDN) interaction'."\n" - .'* **6**: cloud service interaction'."\n" - .'* **8**: secure acceleration'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '2', - ], + 'schema' => ['description' => 'The number of entries to return on each page.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '10', 'title' => ''], ], [ - 'name' => 'Param', + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => ['description' => 'The number of the page to return. For example, to query the first page, set this parameter to **1**.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1', 'title' => ''], + ], + [ + 'name' => 'InstanceIds', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => 'The details of the CDN interaction rule. This parameter is a JSON string. The following list describes the fields in the value of the parameter:'."\n" - ."\n" - .'* **ParamType**: the type of the scheduling rule. This field is required and must be of the string type. Set the value to **cdn**. This indicates that you want to modify a CDN interaction rule.'."\n" - ."\n" - .'* **ParamData**: the values of parameters that you want to modify for the CDN interaction rule. This field is required and must be of the map type. ParamData contains the following parameters:'."\n" + 'description' => 'The IDs of the Anti-DDoS Pro or Anti-DDoS Premium instances.'."\n" ."\n" - .' * **Domain**: the accelerated domain in CDN. This parameter is required and must be of the string type.'."\n" - .' * **Cname**: the CNAME that is assigned to the accelerated domain. This parameter is required and must be of the string type.'."\n" - .' * **AccessQps**: the queries per second (QPS) threshold that is used to switch service traffic to Anti-DDoS Pro or Anti-DDoS Premium. This parameter is required and must be of the integer type.'."\n" - .' * **UpstreamQps**: the QPS threshold that is used to switch service traffic to CDN. This parameter is optional and must be of the integer type.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '{"ParamType":"cdn","ParamData":{"Domain":"example.aliyundoc.com","Cname":"demo.aliyundoc.com","AccessQps":100,"UpstreamQps":100}}', + .'> Call [DescribeInstanceIds](~~157459~~) to query the IDs of all Anti-DDoS Pro and Anti-DDoS Premium instances.', + 'type' => 'array', + 'items' => ['description' => 'The ID of the Anti-DDoS Pro or Anti-DDoS Premium instance.', 'type' => 'string', 'required' => false, 'example' => 'ddoscoo-cn-mp91j1ao****', 'title' => ''], + 'required' => true, + 'example' => 'ddoscoo-cn-mp91j1ao****', + 'maxItems' => 100, + 'title' => '', ], ], ], @@ -6182,43 +4927,84 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request, which is used to locate and troubleshoot issues.'."\n", - 'type' => 'string', - 'example' => '8DFB602D-1AAC-46C4-90F2-C84086E7A6E4', - ], - 'Cname' => [ - 'description' => 'The CNAME that is assigned by Sec-Traffic Manager for the scheduling rule.'."\n" - ."\n" - .'> To enable the scheduling rule, you must map the domain name of the service to the CNAME.'."\n", - 'type' => 'string', - 'example' => '48k7b372gpl4****.aliyunddos0001.com', - ], - 'RuleName' => [ - 'description' => 'The name of the rule.'."\n", - 'type' => 'string', - 'example' => 'testrule', + 'Total' => ['description' => 'The total number of attack events.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '0CA72AF5-1795-4350-8C77-50A448A2F334', 'title' => ''], + 'DDoSEvents' => [ + 'description' => 'A list of DDoS attack events.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'EndTime' => ['description' => 'The time when the attack ended. This is a UNIX timestamp. Unit: seconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1583933330', 'title' => ''], + 'StartTime' => ['description' => 'The time when the attack started. This is a UNIX timestamp. Unit: seconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1583933277', 'title' => ''], + 'EventType' => ['description' => 'The type of the attack event. Valid values:'."\n" + ."\n" + .'- **defense**: scrubbing events.'."\n" + ."\n" + .'- **blackhole**: blackhole filtering events.', 'type' => 'string', 'example' => 'blackhole', 'title' => ''], + 'Region' => ['description' => 'The source location of the attack. Valid values:'."\n" + ."\n" + .'- **cn**: the Chinese mainland.'."\n" + ."\n" + .'- **alb-ap-northeast-1-gf-x**: Japan.'."\n" + ."\n" + .'- **alb-ap-southeast-gf-x**: Singapore.'."\n" + ."\n" + .'- **alb-cn-hongkong-gf-x**: Hong Kong (China).'."\n" + ."\n" + .'- **alb-eu-central-1-gf-x**: Germany.'."\n" + ."\n" + .'- **alb-us-west-1-gf-x**: US (West).'."\n" + ."\n" + .'> Values other than **cn** are available only for the Anti-DDoS Premium service, for which the **RegionId** is **ap-southeast-1**.', 'type' => 'string', 'example' => 'cn', 'title' => ''], + 'Ip' => ['description' => 'The attacked IP address.', 'type' => 'string', 'example' => '203.***.***.132', 'title' => ''], + 'Port' => ['description' => 'The attacked port.', 'type' => 'string', 'example' => '80', 'title' => ''], + 'Bps' => ['description' => 'The bandwidth of the attack traffic. Unit: Mbps.', 'type' => 'integer', 'format' => 'int64', 'example' => '0', 'title' => ''], + 'Pps' => ['description' => 'The packet forwarding rate of the attack traffic. Unit: pps.', 'type' => 'integer', 'format' => 'int64', 'example' => '0', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"8DFB602D-1AAC-46C4-90F2-C84086E7A6E4\\",\\n \\"Cname\\": \\"48k7b372gpl4****.aliyunddos0001.com\\",\\n \\"RuleName\\": \\"testrule\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 8DFB602D-1AAC-46C4-90F2-C84086E7A6E4\\n 48k7b372gpl4****.aliyunddos0001.com\\n testrule\\n","errorExample":""}]', - 'title' => 'CreateSchedulerRule', - 'summary' => 'Creates a scheduling rule for Sec-Traffic Manager.', - 'requestParamsDescription' => ' ', + 'title' => 'DescribeDDoSEvents', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DeleteSchedulerRule' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:24.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDDoSEvents'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeDDoSEvents', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Total\\": 1,\\n \\"RequestId\\": \\"0CA72AF5-1795-4350-8C77-50A448A2F334\\",\\n \\"DDoSEvents\\": [\\n {\\n \\"EndTime\\": 1583933330,\\n \\"StartTime\\": 1583933277,\\n \\"EventType\\": \\"blackhole\\",\\n \\"Region\\": \\"cn\\",\\n \\"Ip\\": \\"203.***.***.132\\",\\n \\"Port\\": \\"80\\",\\n \\"Bps\\": 0,\\n \\"Pps\\": 0\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeDDosAllEventList' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -6227,32 +5013,56 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'delete', - 'abilityTreeCode' => '106086', - 'abilityTreeNodes' => [ - 'FEATUREddosZIK01A', - ], + 'operationType' => 'get', + 'abilityTreeCode' => '106109', + 'abilityTreeNodes' => ['FEATUREddosRTUJBH'], ], 'parameters' => [ [ - 'name' => 'ResourceGroupId', + 'name' => 'EventType', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'default', - ], + 'schema' => ['description' => 'The type of DDoS attack event to return. Valid values:'."\n" + ."\n" + .'- **web-cc**: a web resource exhaustion attack.'."\n" + ."\n" + .'- **cc**: a connection flood attack.'."\n" + ."\n" + .'- **defense**: a volumetric attack (scrubbing event).'."\n" + ."\n" + .'- **blackhole**: a volumetric attack (blackhole event).'."\n" + ."\n" + .'You can specify multiple event types. Separate them with a comma (,).'."\n" + ."\n" + .'If you do not specify this parameter, all types of attack events are returned.', 'type' => 'string', 'required' => false, 'example' => 'defense', 'title' => ''], ], [ - 'name' => 'RuleName', + 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the scheduling rule that you want to delete.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'testrule', - ], + 'schema' => ['description' => 'The start of the time range to query. The operation returns DDoS attack events that occurred at or after this time. Specify the time as a UNIX **timestamp** in seconds.'."\n" + ."\n" + .'> You can query events from the last three months only.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1609430400', 'title' => ''], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => ['description' => 'The end of the time range to query. The operation returns DDoS attack events that occurred before this time. Specify the time as a UNIX **timestamp** in seconds.'."\n" + ."\n" + .'> You can query events from the last three months only.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1640966399', 'title' => ''], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => ['description' => 'The page number to return.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1', 'title' => ''], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['description' => 'The number of events to return per page.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '10', 'title' => ''], + ], + [ + 'name' => 'Ip', + 'in' => 'query', + 'schema' => ['description' => 'The IP address of the Anti-DDoS Pro instance to query.', 'type' => 'string', 'required' => false, 'example' => '192.168.1.1', 'title' => ''], ], ], 'responses' => [ @@ -6260,31 +5070,101 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc', - ], - ], - ], - ], - ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}","errorExample":""},{"type":"xml","example":"\\r\\n\\r\\n\\t0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\r\\n","errorExample":""}]', - 'title' => 'DeleteSchedulerRule', - 'summary' => 'Deletes a scheduling rule of Sec-Traffic Manager.', - 'requestParamsDescription' => ' ', + 'Total' => ['description' => 'The total number of events returned.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '25D83ED5-28CB-5683-9CF7-AECE521F3005', 'title' => ''], + 'AttackEvents' => [ + 'description' => 'An array of DDoS attack events.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'EndTime' => ['description' => 'The time the attack ended, as a UNIX timestamp in seconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1634546030', 'title' => ''], + 'StartTime' => ['description' => 'The time the attack started, as a UNIX timestamp in seconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1634543764', 'title' => ''], + 'EventType' => ['description' => 'The type of DDoS attack event. Valid values:'."\n" + ."\n" + .'- **web-cc**: a web resource exhaustion attack.'."\n" + ."\n" + .'- **cc**: a connection flood attack.'."\n" + ."\n" + .'- **defense**: a volumetric attack (scrubbing event).'."\n" + ."\n" + .'- **blackhole**: a volumetric attack (blackhole event).', 'type' => 'string', 'example' => 'cc', 'title' => ''], + 'Mbps' => ['description' => 'The peak bandwidth of the attack traffic, in Mbps.', 'type' => 'integer', 'format' => 'int64', 'example' => '101899', 'title' => ''], + 'Ip' => ['description' => 'The attacked asset. The type of asset returned depends on the `EventType` value.'."\n" + ."\n" + .'- If **EventType** is **web-cc**, this is the attacked website domain name.'."\n" + ."\n" + .'- If **EventType** is **cc**, this is the attacked Anti-DDoS Pro IP.'."\n" + ."\n" + .'- If **EventType** is **defense** or **blackhole**, this is the attacked Anti-DDoS Pro IP.', 'type' => 'string', 'example' => '203.107.XX.XX', 'title' => ''], + 'Area' => ['description' => 'The source region of the attack. Valid values:'."\n" + ."\n" + .'- **cn**: Chinese mainland.'."\n" + ."\n" + .'- **alb-cn-hongkong-gf-2**: China (Hong Kong).'."\n" + ."\n" + .'- **alb-us-west-1-gf-2**: US (Silicon Valley).'."\n" + ."\n" + .'- **alb-ap-northeast-1-gf-1**: Japan (Tokyo).'."\n" + ."\n" + .'- **alb-ap-southeast-gf-1**: Singapore.'."\n" + ."\n" + .'- **alb-eu-central-1-gf-1**: Germany (Frankfurt).'."\n" + ."\n" + .'- **alb-eu-west-1-gf-1** and **selb-eu-west-1-gf-1a**: UK (London).'."\n" + ."\n" + .'- **alb-us-east-gf-1**: US (Virginia).'."\n" + ."\n" + .'- **CT-yundi**: China (Hong Kong). This value is returned only for Anti-DDoS Premium instances that use the Secure Acceleration plan.', 'type' => 'string', 'example' => 'cn', 'title' => ''], + 'Port' => ['description' => 'The attacked port number.'."\n" + ."\n" + .'> This parameter is not returned when **EventType** is **web-cc**.', 'type' => 'string', 'example' => '80', 'title' => ''], + 'Pps' => ['description' => 'The peak packet forwarding rate of the attack traffic, in packets per second (pps).', 'type' => 'integer', 'format' => 'int64', 'example' => '9664270', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Total\\": 1,\\n \\"RequestId\\": \\"25D83ED5-28CB-5683-9CF7-AECE521F3005\\",\\n \\"AttackEvents\\": [\\n {\\n \\"EndTime\\": 1634546030,\\n \\"StartTime\\": 1634543764,\\n \\"EventType\\": \\"cc\\",\\n \\"Mbps\\": 101899,\\n \\"Ip\\": \\"203.107.XX.XX\\",\\n \\"Area\\": \\"cn\\",\\n \\"Port\\": \\"80\\",\\n \\"Pps\\": 9664270\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'DescribeDDosAllEventList', + 'summary' => 'Returns a list of DDoS attack events.', + 'description' => 'This operation returns a paginated list of DDoS attack events within a specified time range. A DDoS attack event includes details such as its start and end times, attack type, the attacked asset, and its peak traffic, measured as either peak bandwidth or packet forwarding rate.'."\n" + ."\n" + .'### QPS limit'."\n" + ."\n" + .'This operation has a queries-per-second (QPS) limit of 10 for each user. The system throttles calls that exceed this limit. This may affect your business operations. Plan your API calls accordingly.', + 'requestParamsDescription' => 'You must also include the common request parameters for Alibaba Cloud APIs when you call this operation. For more information, see [Common parameters](~~157269~~).'."\n" + ."\n" + .'For more information about the request format, see the request sample in the **Examples** section.', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'ModifySchedulerRule' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2025-08-20T06:55:20.000Z', 'description' => 'OpenAPI offline'], + ['createdAt' => '2025-08-20T05:41:00.000Z', 'description' => 'OpenAPI offline'], + ['createdAt' => '2025-08-06T10:55:51.000Z', 'description' => 'OpenAPI offline'], + ['createdAt' => '2025-08-06T10:48:22.000Z', 'description' => 'OpenAPI offline'], + ['createdAt' => '2025-08-06T10:48:20.000Z', 'description' => 'OpenAPI offline'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDDosAllEventList'], + ], ], + 'ramActions' => [], + ], + 'DescribeDDosEventArea' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -6293,99 +5173,36 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', - 'abilityTreeCode' => '106257', - 'abilityTreeNodes' => [ - 'FEATUREddosZIK01A', - ], - 'tenantRelevance' => 'publicInformation', + 'operationType' => 'list', + 'abilityTreeCode' => '106110', + 'abilityTreeNodes' => ['FEATUREddosRTUJBH'], ], 'parameters' => [ [ - 'name' => 'ResourceGroupId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'default', - ], - ], - [ - 'name' => 'Rules', + 'name' => 'EventType', 'in' => 'query', - 'schema' => [ - 'description' => 'The details of the scheduling rule. This parameter is a JSON string. The following list describes the fields in the value of the parameter:'."\n" - ."\n" - .'* **Type**: the address type of the interaction resource that you want to use in the scheduling rule. This field is required and must be of the string type. Valid values:'."\n" - ."\n" - .' * **A**: IP address'."\n" - .' * **CNAME**: domain name'."\n" - ."\n" - .'* **Value**: the address of the interaction resource that you want to use in the scheduling rule. This field is required and must be of the string type.'."\n" - ."\n" - .'* **Priority**: the priority of the scheduling rule. This field is required and must be of the integer type. Valid values: **0** to **100**. A larger value indicates a higher priority.'."\n" - ."\n" - .'* **ValueType**: the type of the interaction resource that you want to use in the scheduling rule. This field is required and must be of the integer type. Valid values:'."\n" - ."\n" - .' * **1**: the IP address of the Anti-DDoS Pro or Anti-DDoS Premium instance'."\n" - .' * **2**: the IP address of the interaction resource in the tiered protection scenario'."\n" - .' * **3**: the IP address that is used to accelerate access in the network acceleration scenario'."\n" - .' * **5**: the domain name that is configured in Alibaba Cloud CDN (CDN) in the CDN interaction scenario'."\n" - .' * **6** the IP address of the interaction resource in the cloud service interaction scenario'."\n" - .' * **8**: the IP address of the Secure Chinese Mainland Acceleration (Sec-CMA) instance in the secure acceleration scenario'."\n" - ."\n" - .'* **RegionId**: the region where the interaction resource is deployed. This parameter must be specified when **ValueType** is set to **2**. The value must be of the string type.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '[{"Type":"A", "Value":"1.1.XX.XX", "Priority":80,"ValueType":2, "RegionId":"cn-hangzhou" },{"Type":"A", "Value":"203.199.XX.XX", "Priority":80,"ValueType":1}]', - ], + 'schema' => ['description' => 'The type of the attack event that you want to query. Valid values:'."\n" + ."\n" + .'- **defense**: volumetric attack scrubbing events.'."\n" + ."\n" + .'- **blackhole**: volumetric attack blackhole filtering events.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'defense'], ], [ - 'name' => 'RuleName', + 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the rule that you want to modify.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'testrule', - ], + 'schema' => ['description' => 'The UNIX timestamp when the query starts. Unit: seconds.'."\n" + ."\n" + .'> You can call [DescribeDDosAllEventList](~~188604~~) to query the start time of all events.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'title' => '', 'example' => '1598948471'], ], [ - 'name' => 'RuleType', + 'name' => 'Ip', 'in' => 'query', - 'schema' => [ - 'description' => 'The type of the scheduling rule. Valid values:'."\n" - ."\n" - .'* **2**: tiered protection'."\n" - .'* **3**: network acceleration'."\n" - .'* **5**: CDN interaction'."\n" - .'* **6**: cloud service interaction'."\n" - .'* **8**: secure acceleration'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '2', - ], + 'schema' => ['description' => 'The DDoS protection IP address that is under attack.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => '203.XX.XX.199'], ], [ - 'name' => 'Param', + 'name' => 'Range', 'in' => 'query', - 'schema' => [ - 'description' => 'The details of the CDN interaction rule. This parameter is a JSON string. The string contains the following fields:'."\n" - ."\n" - .'* **ParamType**: the type of the scheduling rule. This field is required and must be of the string type. Set the value to **cdn**. This indicates that you want to modify a CDN interaction rule.'."\n" - ."\n" - .'* **ParamData**: the values of parameters that you want to modify for the CDN interaction rule. This field is required and must be of the map type. The ParamData parameter contains the following parameters:'."\n" - ."\n" - .' * **Domain**: the accelerated domain in CDN. This parameter is required and must be of the string type.'."\n" - .' * **Cname**: the CNAME that is assigned to the accelerated domain. This parameter is required and must be of the string type.'."\n" - .' * **AccessQps**: the queries per second (QPS) threshold that is used to switch service traffic to Anti-DDoS Pro or Anti-DDoS Premium. This parameter is required and must be of the integer type.'."\n" - .' * **UpstreamQps**: the QPS threshold that is used to switch service traffic to CDN. This parameter is optional and must be of the integer type.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '{"ParamType":"cdn","ParamData":"Domain":"example.aliyundoc.com","Cname":"demo.aliyundoc.com","AccessQps":100,"UpstreamQps":100}}', - ], + 'schema' => ['description' => 'The number of entries to return. Unit: entries.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'title' => '', 'example' => '100'], ], ], 'responses' => [ @@ -6393,43 +5210,67 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request, which is used to locate and troubleshoot issues.'."\n", - 'type' => 'string', - 'example' => 'FFC77501-BDF8-4BC8-9BF5-B295FBC3189B', - ], - 'Cname' => [ - 'description' => 'The CNAME that is assigned by Sec-Traffic Manager for the scheduling rule.'."\n" - ."\n" - .'> To enable the scheduling rule, you must map the domain name of the service to the CNAME.'."\n", - 'type' => 'string', - 'example' => '48k7b372gpl4****.aliyunddos0001.com', - ], - 'RuleName' => [ - 'description' => 'The name of the rule.'."\n", - 'type' => 'string', - 'example' => 'testrule', + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'title' => '', 'example' => '11710C9F-BC5E-481A-BEC5-C6D8FBFCA827'], + 'Areas' => [ + 'description' => 'The information about the source region from which the volumetric attack was initiated.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'InPkts' => ['description' => 'The number of request packets that were sent from the source region.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '228'], + 'Area' => ['description' => 'The code of the source region from which the attack was initiated. The code includes Chinese regions (at the province, city, and district levels) and international regions (at the country level). For example, **110000** indicates Beijing, China, and **us** indicates the United States.'."\n" + ."\n" + .'> For more information about the values of this parameter, see [Region type parameter values](~~167926~~).', 'type' => 'string', 'title' => '', 'example' => '110000'], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"FFC77501-BDF8-4BC8-9BF5-B295FBC3189B\\",\\n \\"Cname\\": \\"48k7b372gpl4****.aliyunddos0001.com\\",\\n \\"RuleName\\": \\"testrule\\"\\n}","errorExample":""},{"type":"xml","example":"\\n FFC77501-BDF8-4BC8-9BF5-B295FBC3189B\\n 48k7b372gpl4****.aliyunddos0001.com\\n testrule\\n","errorExample":""}]', - 'title' => 'ModifySchedulerRule', - 'summary' => 'Modifies the scheduling rule of Sec-Traffic Manager.', - 'requestParamsDescription' => ' ', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"11710C9F-BC5E-481A-BEC5-C6D8FBFCA827\\",\\n \\"Areas\\": [\\n {\\n \\"InPkts\\": 228,\\n \\"Area\\": \\"110000\\"\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'DescribeDDosEventArea', + 'summary' => 'Queries the source region from which a volumetric attack is initiated.', + 'description' => '> Currently, this operation can be used only to query data about volumetric attacks. It cannot be used to query data about web resource consumption attacks or connection flood attacks.', + 'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information, see [Common parameters](~~157269~~).'."\n" + ."\n" + .'For the request syntax, see the **Examples** section of this topic.', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeSchedulerRules' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2024-07-01T08:59:02.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2022-09-08T03:34:24.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDDosEventArea'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeDDosEventArea', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'DescribeDDosEventAttackType' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -6439,53 +5280,29 @@ 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', - 'abilityTreeCode' => '106184', - 'abilityTreeNodes' => [ - 'FEATUREddosZIK01A', - ], + 'abilityTreeCode' => '106111', + 'abilityTreeNodes' => ['FEATUREddosRTUJBH'], ], 'parameters' => [ [ - 'name' => 'ResourceGroupId', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'default', - ], - ], - [ - 'name' => 'RuleName', + 'name' => 'EventType', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'testrule', - ], + 'schema' => ['description' => 'The type of the attack event that you want to query. Valid values:'."\n" + ."\n" + .'* **defense**: attack events that trigger traffic scrubbing'."\n" + .'* **blackhole**: attack events that trigger blackhole filtering'."\n", 'type' => 'string', 'required' => true, 'example' => 'defense', 'title' => ''], ], [ - 'name' => 'PageNumber', + 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => 'The UNIX timestamp when the query starts. Unit: seconds.'."\n" + ."\n" + .'> You can call the [DescribeDDosAllEventList](~~188604~~) operation to query the beginning time of all attack events.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1598948471', 'title' => ''], ], [ - 'name' => 'PageSize', + 'name' => 'Ip', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '10', - ], + 'schema' => ['description' => 'The IP address of the attacked Anti-DDoS Pro or Anti-DDoS Premium instance.'."\n", 'type' => 'string', 'required' => true, 'example' => '203.***.***.199', 'title' => ''], ], ], 'responses' => [ @@ -6493,134 +5310,106 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'TotalCount' => [ - 'description' => '', - 'type' => 'string', - 'example' => '1', - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '11C55595-1757-4B17-9ACE-4ACB68C2D989', - ], - 'SchedulerRules' => [ - 'description' => '', + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '6F644A6E-40E7-483F-9DBB-CC27E16BB555', 'title' => ''], + 'AttackTypes' => [ + 'description' => 'The information about the attack types.'."\n", 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'RuleType' => [ - 'description' => '', - 'type' => 'string', - 'example' => '', - ], - 'Cname' => [ - 'description' => '', - 'type' => 'string', - 'example' => '4eru5229a843****.aliyunddos0001.com', - ], - 'RuleName' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'doctest', - ], - 'Rules' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Type' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'A', - ], - 'Status' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'Value' => [ - 'description' => '', - 'type' => 'string', - 'example' => '203.***.***.39', - ], - 'ValueType' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'Priority' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '100', - ], - 'RestoreDelay' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '60', - ], - 'RegionId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '1', - ], - 'Line' => [ - 'type' => 'string', - ], - ], - ], - ], - 'Param' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'ParamType' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'GA', - ], - 'ParamData' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'CloudInstanceId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'ga-bp1htlajy5509rc99****', - ], - ], - ], - ], - ], + 'InPkts' => ['description' => 'The number of request packets of the attack type.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '145902', 'title' => ''], + 'AttackType' => ['description' => 'The type of the attack Valid values:'."\n" + ."\n" + .'* **QOTD-Reflect-Flood**: QOTD reflection attacks'."\n" + .'* **CharGEN-Reflect-Flood**: CHARGEN reflection attacks'."\n" + .'* **DNS-Reflect-Flood**: DNS reflection attacks'."\n" + .'* **TFTP-Reflect-Flood**: TFTP reflection attacks'."\n" + .'* **Portmap-Reflect-Flood**: Portmap reflection attacks'."\n" + .'* **NTP-Reflect-Flood**: NTP reflection attacks'."\n" + .'* **NetBIOS-Reflect-Flood**: NetBIOS reflection attacks'."\n" + .'* **SNMPv2-Reflect-Flood**: SNMPv2 reflection attacks'."\n" + .'* **CLDAP-Reflect-Flood**: CLDAP reflection attacks'."\n" + .'* **Ripv1-Reflect-Flood**: RIPv1 reflection attacks'."\n" + .'* **OpenVPN-Reflect-Flood**: OpenVPN reflection attacks'."\n" + .'* **SSDP-Reflect-Flood**: SSDP reflection attacks'."\n" + .'* **NetAssistant-Reflect-Flood**: NetAssistant reflection attacks'."\n" + .'* **WSDiscovery-Reflect-Flood**: WS-Discovery reflection attacks'."\n" + .'* **Kad-Reflect-Flood**: Kad reflection attacks'."\n" + .'* **mDNS-Reflect-Flood**: mDNS reflection attacks'."\n" + .'* **10001-Reflect-Flood**: reflection attacks over port 10001'."\n" + .'* **Memcached-Reflect-Flood**: Memcached reflection attacks'."\n" + .'* **QNP-Reflect-Flood**: QNP reflection attacks'."\n" + .'* **DVR-Reflect-Flood**: DVR reflection attacks'."\n" + .'* **CoAP-Reflect-Flood**: CoAP reflection attacks'."\n" + .'* **ADDP-Reflect-Flood**: ADDP reflection attacks'."\n" + .'* **Tcp-Syn**: TCP SYN flood attacks'."\n" + .'* **Tcp-Fin**: TCP FIN flood attacks'."\n" + .'* **Tcp-Ack**: TCP ACK flood attacks'."\n" + .'* **Tcp-Rst**: TCP RST flood attacks'."\n" + .'* **Tcp-Pushack**: TCP PSH-ACK flood attacks'."\n" + .'* **Tcp-Synack**: TCP SYN-ACK flood attacks'."\n" + .'* **Udp-None**: UDP attacks'."\n" + .'* **Udp-Ssh**: UDP-based SSH attacks'."\n" + .'* **Udp-Dns**: UDP-based DNS attacks'."\n" + .'* **Udp-Http**: UDP-based HTTP attacks'."\n" + .'* **Udp-Https**: UDP-based HTTPS attacks'."\n" + .'* **Udp-Ntp**: UDP-based NTP attacks'."\n" + .'* **Udp-Ldap**: UDP-based LDAP attacks'."\n" + .'* **Udp-Ssdp**: UDP-based SSDP attacks'."\n" + .'* **Udp-Memcached**: Memcached UDP reflection attacks'."\n" + .'* **Tcp-Other**: other TCP attacks'."\n" + .'* **Icmp**: ICMP flood attacks'."\n" + .'* **Igmp**: IGMP flood attacks'."\n" + .'* **Ipv6**: IPv6 attacks'."\n", 'type' => 'string', 'example' => 'Tcp-Syn', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"TotalCount\\": \\"1\\",\\n \\"RequestId\\": \\"11C55595-1757-4B17-9ACE-4ACB68C2D989\\",\\n \\"SchedulerRules\\": [\\n {\\n \\"RuleType\\": \\"2\\",\\n \\"Cname\\": \\"4eru5229a843****.aliyunddos0001.com\\",\\n \\"RuleName\\": \\"doctest\\",\\n \\"Rules\\": [\\n {\\n \\"Type\\": \\"A\\",\\n \\"Status\\": 0,\\n \\"Value\\": \\"203.***.***.39\\",\\n \\"ValueType\\": 1,\\n \\"Priority\\": 100,\\n \\"RestoreDelay\\": 60,\\n \\"RegionId\\": \\"1\\",\\n \\"Line\\": \\"\\"\\n }\\n ],\\n \\"Param\\": {\\n \\"ParamType\\": \\"GA\\",\\n \\"ParamData\\": {\\n \\"CloudInstanceId\\": \\"ga-bp1htlajy5509rc99****\\"\\n }\\n }\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\r\\n\\t\\r\\n\\t\\t1\\r\\n\\t\\t11C55595-1757-4B17-9ACE-4ACB68C2D989\\r\\n\\t\\t\\r\\n\\t\\t\\t\\r\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\tga-bp1htlajy5509rc99****\\r\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t\\tGA\\r\\n\\t\\t\\t\\r\\n\\t\\t\\t6\\r\\n\\t\\t\\t4eru5229a843****.aliyunddos0001.com\\r\\n\\t\\t\\t\\r\\n\\t\\t\\t\\t0\\r\\n\\t\\t\\t\\tA\\r\\n\\t\\t\\t\\t60\\r\\n\\t\\t\\t\\t1\\r\\n\\t\\t\\t\\t100\\r\\n\\t\\t\\t\\t203.***.***.39\\r\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t\\r\\n\\t\\t\\t\\r\\n\\t\\t\\t\\t1\\r\\n\\t\\t\\t\\tA\\r\\n\\t\\t\\t\\t6\\r\\n\\t\\t\\t\\t50\\r\\n\\t\\t\\t\\t47.***.***.47\\r\\n\\t\\t\\t\\tcn-hangzhou\\r\\n\\t\\t\\t\\r\\n\\t\\t\\tdoctest\\r\\n\\t\\t\\r\\n\\t\\r\\n","errorExample":""}]', - 'title' => 'DescribeSchedulerRules', - 'summary' => 'Queries the scheduling rules of Sec-Traffic Manager.', - 'requestParamsDescription' => ' ', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6F644A6E-40E7-483F-9DBB-CC27E16BB555\\",\\n \\"AttackTypes\\": [\\n {\\n \\"InPkts\\": 145902,\\n \\"AttackType\\": \\"Tcp-Syn\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\r\\n\\r\\n\\t6F644A6E-40E7-483F-9DBB-CC27E16BB555\\r\\n\\t\\r\\n\\t\\tTcp-Syn\\r\\n\\t\\t145902\\r\\n\\t\\r\\n\\t\\r\\n\\t\\tTcp-Other\\r\\n\\t\\t3\\r\\n\\t\\r\\n ","errorExample":""}]', + 'title' => 'DescribeDDosEventAttackType', + 'summary' => 'Queries the attack type details of a volumetric attack.', + 'description' => '> This operation is suitable only for volumetric attacks.'."\n", + 'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see [Common parameters](~~157269~~).'."\n" + ."\n" + .'For more information about sample requests, see the **"Examples"** section of this topic.'."\n", 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'SwitchSchedulerRule' => [ - 'summary' => 'Switches service traffic to an Anti-DDoS Pro or Anti-DDoS Premium instance for scrubbing or switches service traffic back to the associated cloud resources.', - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:24.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDDosEventAttackType'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeDDosEventAttackType', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'DescribeDDosEventIsp' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -6629,64 +5418,36 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '106277', - 'abilityTreeNodes' => [ - 'FEATUREddosZIK01A', - ], + 'operationType' => 'get', + 'abilityTreeCode' => '106112', + 'abilityTreeNodes' => ['FEATUREddosY2OCST'], ], 'parameters' => [ [ - 'name' => 'RuleName', + 'name' => 'EventType', 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the scheduling rule to manage.'."\n" - ."\n" - .'> You can call the [DescribeSchedulerRules](~~157481~~) operation to query the names of all scheduling rules.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'testrule', - ], + 'schema' => ['description' => 'The type of the attack event that you want to query. Valid values:'."\n" + ."\n" + .'- **defense**: scrubbing events for volumetric attacks.'."\n" + ."\n" + .'- **blackhole**: blackhole filtering events for volumetric attacks.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'defense'], ], [ - 'name' => 'RuleType', + 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => 'The type of the scheduling rule. Valid values:'."\n" - ."\n" - .'* **2**: tiered protection rule'."\n" - .'* **3**: network acceleration rule'."\n" - .'* **5**: Alibaba Cloud CDN (CDN) interaction rule'."\n" - .'* **6**: cloud service interaction rule'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '6', - ], + 'schema' => ['description' => 'The UNIX timestamp when the query starts. Unit: seconds.'."\n" + ."\n" + .'> You can call [DescribeDDosAllEventList](~~473646~~) to query the start time of all events.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'title' => '', 'example' => '1598948471'], ], [ - 'name' => 'SwitchData', + 'name' => 'Ip', 'in' => 'query', - 'schema' => [ - 'description' => 'The configuration that is used to switch service traffic. This parameter is a string that consists of JSON arrays. Each element in a JSON array is a JSON struct that includes the following parameters:'."\n" - ."\n" - .'* **Value**: required. The IP address of the associated resource. Data type: string.'."\n" - ."\n" - .'* **State**: required. The operation type. Data type: integer. Valid values:'."\n" - ."\n" - .' * **0**: switches service traffic from the associated resource to your Anti-DDoS Pro or Anti-DDoS Premium instance for scrubbing.'."\n" - .' * **1**: switches service traffic back to the associated cloud resource.'."\n" - ."\n" - .'* **Interval**: optional. The waiting time that is required before the service traffic is switched back. Unit: minutes. Data type: integer. Usage notes:'."\n" - ."\n" - .' * If the **State** parameter is set to **0**, you must set this parameter to \\*\\*-1\\*\\*. Otherwise, the call fails.'."\n" - .' * If the **State** parameter is set to **1**, you do not need to set this parameter.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '[{"Value":"39.104.XX.XX","State":0,"Interval":-1}]', - ], + 'schema' => ['description' => 'The IP address that is under attack.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => '203.***.***.199'], + ], + [ + 'name' => 'Range', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false, 'default' => '50', 'description' => 'The number of entries to return.', 'title' => '', 'example' => '100'], ], ], 'responses' => [ @@ -6694,37 +5455,98 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '7E3C301F-84BB-50E4-9DB9-2937B2429C1E', + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'title' => '', 'example' => 'C4A3BCD1-4A32-4342-941A-4745AE69508C'], + 'Isps' => [ + 'description' => 'The ISPs for the volumetric attack.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'InPkts' => ['description' => 'The number of request packets that were sent from the ISP.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '230'], + 'Isp' => ['description' => 'The code of the ISP. Valid values:'."\n" + ."\n" + .'- **100017**: China Telecom'."\n" + ."\n" + .'- **100026**: China Unicom'."\n" + ."\n" + .'- **100025**: China Mobile'."\n" + ."\n" + .'- **100027**: CERNET'."\n" + ."\n" + .'- **100020**: China Tietong'."\n" + ."\n" + .'- **1000143**: Dr. Peng'."\n" + ."\n" + .'- **100080**: Gehua'."\n" + ."\n" + .'- **1000139**: Radio and Television'."\n" + ."\n" + .'- **100023**: Yongtong'."\n" + ."\n" + .'- **100063**: Founder Broadband'."\n" + ."\n" + .'- **1000337**: Haokuan Network'."\n" + ."\n" + .'- **100021**: 21Vianet'."\n" + ."\n" + .'- **1000333**: Wasu Media'."\n" + ."\n" + .'- **100093**: ChinaNetCenter'."\n" + ."\n" + .'- **1000401**: Tencent'."\n" + ."\n" + .'- **100099**: Baidu'."\n" + ."\n" + .'- **1000323**: Alibaba Cloud'."\n" + ."\n" + .'- **100098**: Alibaba', 'type' => 'string', 'title' => '', 'example' => '1000323'], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"7E3C301F-84BB-50E4-9DB9-2937B2429C1E\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 7E3C301F-84BB-50E4-9DB9-2937B2429C1E\\n","errorExample":""}]', - 'title' => 'SwitchSchedulerRule', - 'description' => 'You can call the SwitchSchedulerRule operation to modify the resources to which service traffic is switched for a scheduling rule. For example, you can switch service traffic to an Anti-DDoS Pro or Anti-DDoS Premium instance for scrubbing or switch the service traffic back to the associated cloud resources.'."\n" - ."\n" - .'Before you call this operation, you must have created a scheduling rule by calling the [CreateSchedulerRule](~~157479~~) operation.'."\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", - 'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see [Common parameters](~~157269~~).'."\n" - ."\n" - .'For more information about sample requests, see the **"Examples"** section of this topic.'."\n", - ], - 'DescribeCdnLinkageRules' => [ - 'methods' => [ - 'post', - 'get', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C4A3BCD1-4A32-4342-941A-4745AE69508C\\",\\n \\"Isps\\": [\\n {\\n \\"InPkts\\": 230,\\n \\"Isp\\": \\"1000323\\"\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'DescribeDDosEventIsp', + 'summary' => 'Queries the Internet service provider (ISP) information about a volumetric attack.', + 'description' => '> This operation can be used only to query data about volumetric attacks. It cannot be used to query data about web resource consumption attacks or connection flood attacks.', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2024-07-01T08:59:02.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2022-09-08T03:34:24.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDDosEventIsp'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeDDosEventIsp', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'DescribeDDosEventMax' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -6734,53 +5556,19 @@ 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', - 'abilityTreeCode' => '106105', - 'abilityTreeNodes' => [ - 'FEATUREddos64TBV6', - ], + 'abilityTreeCode' => '106113', + 'abilityTreeNodes' => ['FEATUREddosRTUJBH'], ], 'parameters' => [ [ - 'name' => 'ResourceGroupId', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'default', - ], - ], - [ - 'name' => 'Domain', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'example.aliyundoc.com'."\n", - ], - ], - [ - 'name' => 'PageNumber', + 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '1', - ], + 'schema' => ['description' => 'The beginning of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1598889600', 'title' => ''], ], [ - 'name' => 'PageSize', + 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '10', - ], + 'schema' => ['description' => 'The end of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1604073600', 'title' => ''], ], ], 'responses' => [ @@ -6788,139 +5576,52 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'TotalCount' => [ - 'description' => '', - 'type' => 'string', - 'example' => '12', - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '02FE96D9-C77B-5735-B36D-329E052C8047', - ], - 'SchedulerRules' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Domain' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'example.aliyundoc.com'."\n", - ], - 'CdnLinkageEnable' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'CdnLinkageRule' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Cname' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'example.aliyundoc.com'."\n", - ], - 'RuleName' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'testDDos', - ], - 'Rules' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Type' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'A', - ], - 'Status' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'Value' => [ - 'description' => '', - 'type' => 'string', - 'example' => '203.107.XX.XX', - ], - 'ValueType' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'Priority' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'RegionId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '""', - ], - ], - ], - ], - 'Param' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'ParamType' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'cdn', - ], - 'ParamData' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'AccessQps' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '100', - ], - 'UpstreamQps' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - ], - ], - ], - ], - ], - ], - ], - ], - ], + 'Qps' => ['description' => 'The peak of resource exhaustion attacks. Unit: queries per second (QPS).'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '26314', 'title' => ''], + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '5AE2FC86-C840-41AE-9F1A-3A2747C7C1DF', 'title' => ''], + 'Cps' => ['description' => 'The peak of connection flood attacks. Unit: connections per seconds (CPS).'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1302', 'title' => ''], + 'Mbps' => ['description' => 'The peak of volumetric attacks. Unit: Mbit/s.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '6809', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": \\"12\\",\\n \\"RequestId\\": \\"02FE96D9-C77B-5735-B36D-329E052C8047\\",\\n \\"SchedulerRules\\": [\\n {\\n \\"Domain\\": \\"example.aliyundoc.com\\\\n\\",\\n \\"CdnLinkageEnable\\": 0,\\n \\"CdnLinkageRule\\": {\\n \\"Cname\\": \\"example.aliyundoc.com\\\\n\\",\\n \\"RuleName\\": \\"testDDos\\",\\n \\"Rules\\": [\\n {\\n \\"Type\\": \\"A\\",\\n \\"Status\\": 1,\\n \\"Value\\": \\"203.107.XX.XX\\",\\n \\"ValueType\\": 1,\\n \\"Priority\\": 1,\\n \\"RegionId\\": \\"\\\\\\"\\\\\\"\\"\\n }\\n ],\\n \\"Param\\": {\\n \\"ParamType\\": \\"cdn\\",\\n \\"ParamData\\": {\\n \\"AccessQps\\": 100,\\n \\"UpstreamQps\\": 0\\n }\\n }\\n }\\n }\\n ]\\n}","type":"json"}]', - ], - 'AddAutoCcBlacklist' => [ - 'methods' => [ - 'post', - 'get', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Qps\\": 26314,\\n \\"RequestId\\": \\"5AE2FC86-C840-41AE-9F1A-3A2747C7C1DF\\",\\n \\"Cps\\": 1302,\\n \\"Mbps\\": 6809\\n}","errorExample":""},{"type":"xml","example":"\\r\\n\\r\\n\\t5AE2FC86-C840-41AE-9F1A-3A2747C7C1DF\\r\\n\\t26314\\r\\n\\t1302\\r\\n\\t6809\\r\\n ","errorExample":""}]', + 'title' => 'DescribeDDosEventMax', + 'summary' => 'Queries the peaks of volumetric attacks (bit/s), connection flood attacks (CPS), and resource exhaustion attacks on websites (QPS).', + 'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see [Common parameters](~~157269~~).'."\n" + ."\n" + .'For more information about sample requests, see the **"Examples"** section of this topic.'."\n", + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2025-08-20T06:55:20.000Z', 'description' => 'OpenAPI offline'], + ['createdAt' => '2025-08-20T05:41:00.000Z', 'description' => 'OpenAPI offline'], + ['createdAt' => '2022-09-08T03:34:24.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDDosEventMax'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeDDosEventMax', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'DescribeDDosEventSrcIp' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -6929,47 +5630,35 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'create', - 'abilityTreeCode' => '106046', - 'abilityTreeNodes' => [ - 'FEATUREddosRTUJBH', - ], + 'operationType' => 'get', + 'abilityTreeCode' => '106115', + 'abilityTreeNodes' => ['FEATUREddosY2OCST'], ], 'parameters' => [ [ - 'name' => 'InstanceId', + 'name' => 'EventType', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'ddoscoo-cn-mp91j1ao****', - ], + 'schema' => ['description' => 'The type of the attack event that you want to query. Valid values:'."\n" + ."\n" + .'* **defense**: attack events that trigger traffic scrubbing'."\n" + .'* **blackhole**: attack events that trigger blackhole filtering'."\n", 'type' => 'string', 'required' => true, 'example' => 'defense', 'title' => ''], ], [ - 'name' => 'Blacklist', + 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => 'The IP addresses that you want to manage. This parameter is a JSON string. The string contains the following field:'."\n" - ."\n" - .'* **src**: the IP address. This field is required and must be of the STRING type.'."\n" - ."\n" - .'> You can manually add up to 2,000 IP addresses to the IP address blacklist. Separate multiple IP addresses with spaces or line breaks.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '[{"src":"198.51.XX.XX"},{"src":"198.52.XX.XX"}]', - ], + 'schema' => ['description' => 'The UNIX timestamp when the query starts. Unit: seconds.'."\n" + ."\n" + .'> You can call the [DescribeDDosAllEventList](~~188604~~) operation to query the beginning time of all attack events.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1598948471', 'title' => ''], ], [ - 'name' => 'ExpireTime', + 'name' => 'Ip', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '300', - ], + 'schema' => ['description' => 'The IP address of the attacked Anti-DDoS Pro or Anti-DDoS Premium instance.'."\n", 'type' => 'string', 'required' => true, 'example' => '203.***.***.199', 'title' => ''], + ], + [ + 'name' => 'Range', + 'in' => 'query', + 'schema' => ['description' => 'The number of source IP addresses that you want to return. The source IP addresses are returned in descending order of attack traffic. By default, the top **five** source IP addresses are returned.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '2', 'title' => ''], ], ], 'responses' => [ @@ -6977,32 +5666,85 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E', + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '38A0224E-FDBC-4733-A362-B391827FC1E9', 'title' => ''], + 'Ips' => [ + 'description' => 'An array that consists of information about the source IP address of the volumetric attack.'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'SrcIp' => ['description' => 'The source IP address of the volumetric attack.'."\n", 'type' => 'string', 'example' => '218.***.***.24', 'title' => ''], + 'AreaId' => ['description' => 'The code or ID of the source region. For more information, see [Codes of administrative regions in China and codes of countries and areas](~~167926~~). For example, **110000** indicates Beijing, China, and **us** indicates the United States.'."\n", 'type' => 'string', 'example' => '110000', 'title' => ''], + 'Isp' => ['description' => 'The Internet service provider (ISP) for the volumetric attack. Valid values:'."\n" + ."\n" + .'* **100017**: China Telecom'."\n" + .'* **100026**: China Unicom'."\n" + .'* **100025**: China Mobile'."\n" + .'* **100027**: China Education and Research Network'."\n" + .'* **100020**: China Mobile Tietong'."\n" + .'* **1000143**: Dr.Peng Telecom & Media Group'."\n" + .'* **100080**: Beijing Gehua CATV Network'."\n" + .'* **1000139**: National Radio and Television Administration'."\n" + .'* **100023**: Oriental Cable Network'."\n" + .'* **100063**: Founder Broadband'."\n" + .'* **1000337**: China Internet Exchange'."\n" + .'* **100021**: 21Vianet Group'."\n" + .'* **1000333**: Wasu Media Holding'."\n" + .'* **100093**: Wangsu Science & Technology'."\n" + .'* **1000401**: Tencent'."\n" + .'* **100099**: Baidu'."\n" + .'* **1000323**: Alibaba Cloud'."\n" + .'* **100098**: Alibaba'."\n", 'type' => 'string', 'example' => '100026', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E\\"\\n}","errorExample":""},{"type":"xml","example":"\\n C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E\\n","errorExample":""}]', - 'title' => 'AddAutoCcBlacklist', - 'summary' => 'Adds IP addresses to the IP address blacklist of an Anti-DDoS Pro or Anti-DDoS Premium instance.', - 'requestParamsDescription' => ' ', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"38A0224E-FDBC-4733-A362-B391827FC1E9\\",\\n \\"Ips\\": [\\n {\\n \\"SrcIp\\": \\"218.***.***.24\\",\\n \\"AreaId\\": \\"110000\\",\\n \\"Isp\\": \\"100026\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\r\\n\\r\\n\\t38A0224E-FDBC-4733-A362-B391827FC1E9\\r\\n\\t\\r\\n\\t\\t100026\\r\\n\\t\\t110000\\r\\n\\t\\t218.***.***.24\\r\\n\\t\\r\\n\\t\\r\\n\\t\\t\\r\\n\\t\\tus\\r\\n\\t\\t193.***.***.174\\r\\n\\t\\r\\n\\r\\n","errorExample":""}]', + 'title' => 'DescribeDDosEventSrcIp', + 'summary' => 'Queries the source IP address from which a volumetric attack is initiated.', + 'description' => '> This operation is suitable only for volumetric attacks.'."\n", + 'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see [Common parameters](~~157269~~).'."\n" + ."\n" + .'For more information about sample requests, see the **"Examples"** section of this topic.'."\n", 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'AddAutoCcWhitelist' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:24.000Z', 'description' => 'Error codes changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDDosEventSrcIp'], + ], ], - 'security' => [ + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeDDosEventSrcIp', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + ], + 'DescribeDefenseCountStatistics' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ 'AK' => [], ], @@ -7010,49 +5752,18 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'create', - 'abilityTreeCode' => '106047', - 'abilityTreeNodes' => [ - 'FEATUREddosRTUJBH', - ], + 'operationType' => 'get', + 'abilityTreeCode' => '106118', + 'abilityTreeNodes' => ['FEATUREddosMHU3MF'], + 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'InstanceId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the instance.'."\n" - ."\n" - .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'ddoscoo-cn-mp91j1ao****', - ], - ], - [ - 'name' => 'Whitelist', - 'in' => 'query', - 'schema' => [ - 'description' => 'The configuration of the IP addresses that you want to add to the whitelist. The value is a string that consists of JSON arrays. Each element in a JSON array is a JSON struct that contains the following fields:'."\n" - ."\n" - .'* **src**: the IP address that you want to add. This parameter is required. Data type: string.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '[{"src":"192.XX.XX.1"},{"src":"192.XX.XX.2"}]', - ], - ], - [ - 'name' => 'ExpireTime', + 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => 'This parameter is deprecated.'."\n" - ."\n" - .'> This parameter indicates the validity period of the IP address blacklist. By default, the traffic from the IP addresses that you add to the whitelist is always allowed. You do not need to set this parameter.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '0', - ], + 'schema' => ['description' => 'The ID of the resource group to which the instance belongs in Resource Management.'."\n" + ."\n" + .'If you do not configure this parameter, the instance belongs to the default resource group.'."\n", 'type' => 'string', 'required' => false, 'example' => 'rg-acfm2pz25js****', 'title' => ''], ], ], 'responses' => [ @@ -7060,39 +5771,65 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'AB5025DA-5C52-5207-B6AC-3F198758B678', + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '310A41FD-0990-5610-92E0-A6A55D7C6444', 'title' => ''], + 'DefenseCountStatistics' => [ + 'description' => 'The statistics on the number of advanced mitigation sessions.'."\n", + 'type' => 'object', + 'properties' => [ + 'FlowPackCountRemain' => ['description' => 'The number of available global advanced mitigation sessions for the Insurance mitigation plan.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''], + 'MaxUsableDefenseCountCurrentMonth' => ['description' => 'The maximum number of advanced mitigation sessions available for the current calendar month. The advanced mitigation sessions include the advanced mitigation sessions that are provided free of charge and the global advanced mitigation sessions that you purchase.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '20', 'title' => ''], + 'DefenseCountTotalUsageOfCurrentMonth' => ['description' => 'The number of advanced mitigation sessions that are used within the current calendar month.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''], + 'SecHighSpeedCountRemain' => ['description' => 'The number of available global advanced mitigation sessions for the Secure Chinese Mainland Acceleration (Sec-CMA) mitigation plan.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''], + ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"AB5025DA-5C52-5207-B6AC-3F198758B678\\"\\n}","errorExample":""},{"type":"xml","example":"\\n AB5025DA-5C52-5207-B6AC-3F198758B678\\n","errorExample":""}]', - 'summary' => 'Adds IP addresses to the IP address whitelist of an Anti-DDoS Pro or Anti-DDoS Premium instance.', - 'description' => 'You can call the AddAutoCcWhitelist operation to add IP addresses to the whitelist of an Anti-DDoS Pro or Anti-DDoS Premium instance. This way, the Anti-DDoS Pro or Anti-DDoS Premium instance allows traffic from the IP addresses.'."\n" + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"310A41FD-0990-5610-92E0-A6A55D7C6444\\",\\n \\"DefenseCountStatistics\\": {\\n \\"FlowPackCountRemain\\": 0,\\n \\"MaxUsableDefenseCountCurrentMonth\\": 20,\\n \\"DefenseCountTotalUsageOfCurrentMonth\\": 0,\\n \\"SecHighSpeedCountRemain\\": 0\\n }\\n}","errorExample":""},{"type":"xml","example":"\\n 310A41FD-0990-5610-92E0-A6A55D7C6444\\n \\n 0\\n 20\\n 0\\n 0\\n \\n","errorExample":""}]', + 'title' => 'DescribeDefenseCountStatistics', + 'summary' => 'Queries the statistics on advanced mitigation sessions of an Anti-DDoS Proxy (Outside Chinese Mainland) instance.', + 'description' => 'You can call the DescribeDefenseCountStatistics operation to query the information about advanced mitigation sessions of an Anti-DDoS Proxy (Outside Chinese Mainland) instance. For example, you can query the number of advanced mitigation sessions that are used within the current calendar month and the number of remaining advanced mitigation sessions.'."\n" ."\n" - .'By default, the traffic from the IP addresses that you add to the whitelist is always allowed. If you no longer use the whitelist, you can call the [EmptyAutoCcWhitelist](~~157505~~) operation to remove the IP addresses from the whitelist.'."\n" + .'> This operation is suitable only for Anti-DDoS Proxy (Outside Chinese Mainland).'."\n" ."\n" - .'### Limits'."\n" + .'### [](#qps-)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 10 times per second per account. If the number of 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", 'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see [Common parameters](~~157269~~).'."\n" ."\n" - .'For more information about sample requests, see the **"Examples"** section of this topic.'."\n", - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'DeleteAutoCcBlacklist' => [ - 'methods' => [ - 'post', - 'get', + .'For more information about sample requests, see the "Examples" section of this topic.'."\n", + 'changeSet' => [ + ['createdAt' => '2025-03-14T05:57:44.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2021-12-28T03:07:29.000Z', 'description' => 'Response parameters changed, Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDefenseCountStatistics'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeDefenseCountStatistics', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'DescribeDefenseRecords' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -7101,44 +5838,46 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'delete', - 'abilityTreeCode' => '106077', - 'abilityTreeNodes' => [ - 'FEATUREddosI8LHMA', - ], + 'operationType' => 'get', + 'abilityTreeCode' => '106120', + 'abilityTreeNodes' => ['FEATUREddosOZ1QOD'], ], 'parameters' => [ + [ + 'name' => 'ResourceGroupId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the resource group to which the Anti-DDoS instance belongs. If you leave this parameter empty, the instance belongs to the default resource group.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'default'], + ], [ 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the instance.'."\n" - ."\n" - .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'ddoscoo-cn-mp91j1ao****', - ], + 'schema' => ['description' => 'The ID of the Anti-DDoS instance.'."\n" + ."\n" + .'> Call [DescribeInstanceIds](~~157459~~) to query the IDs of all Anti-DDoS instances.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'ddoscoo-cn-mp91j1ao****'], ], [ - 'name' => 'QueryType', + 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['description' => 'The beginning of the time range to query. This is a UNIX timestamp. Unit: milliseconds.'."\n" + ."\n" + .'> The time span of the query cannot exceed 90 days.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'title' => '', 'example' => '1582992000000'], ], [ - 'name' => 'Blacklist', + 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => 'The IP addresses that you want to manage. This parameter is a JSON string. The string contains the following fields:'."\n" - ."\n" - .'* **src**: the IP address. This field is required and must be of the STRING type.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '[{"src":"198.51.XX.XX"},{"src":"198.52.XX.XX"}]', - ], + 'schema' => ['description' => 'The end of the time range to query. This is a UNIX timestamp. Unit: milliseconds.'."\n" + ."\n" + .'> The time span of the query cannot exceed 90 days.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'title' => '', 'example' => '1583683200000'], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => ['description' => 'The number of the page to return. For example, to query the first page, set this parameter to **1**.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'title' => '', 'example' => '1'], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['description' => 'The number of entries to return on each page. Maximum value: **50**.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'title' => '', 'example' => '10'], ], ], 'responses' => [ @@ -7146,31 +5885,71 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request, which is used to locate and troubleshoot issues.'."\n", - 'type' => 'string', - 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E', + 'TotalCount' => ['description' => 'The total number of advanced mitigation records.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '1'], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'title' => '', 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc'], + 'DefenseRecords' => [ + 'description' => 'The advanced mitigation logs.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'EndTime' => ['description' => 'The end time of the mitigation. This is a UNIX timestamp. Unit: milliseconds.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '1583683200000'], + 'Status' => ['description' => 'The status of advanced mitigation. Valid values:'."\n" + ."\n" + .'- **0**: in use'."\n" + ."\n" + .'- **1**: ended', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '0'], + 'StartTime' => ['description' => 'The start time of the mitigation. This is a UNIX timestamp. Unit: milliseconds.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '1582992000000'], + 'EventCount' => ['description' => 'The number of attacks.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '2'], + 'InstanceId' => ['description' => 'The ID of the Anti-DDoS instance.', 'type' => 'string', 'title' => '', 'example' => 'ddoscoo-cn-mp91j1ao****'], + 'AttackPeak' => ['description' => 'The peak attack throughput. Unit: bps.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '6584186000'], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E\\"\\n}","errorExample":""},{"type":"xml","example":"\\n C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E\\n","errorExample":""}]', - 'title' => 'DeleteAutoCcBlacklist', - 'summary' => 'Removes IP addresses from the IP address blacklist of an Anti-DDoS Pro or Anti-DDoS Premium instance.', + 'title' => 'DescribeDefenseRecords', + 'summary' => 'Queries the advanced mitigation logs of Anti-DDoS Premium.', + 'description' => '> This API operation is available only for the Anti-DDoS Premium service.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DeleteAutoCcWhitelist' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:24.000Z', 'description' => 'Error codes changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDefenseRecords'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeDefenseRecords', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 1,\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\",\\n \\"DefenseRecords\\": [\\n {\\n \\"EndTime\\": 1583683200000,\\n \\"Status\\": 0,\\n \\"StartTime\\": 1582992000000,\\n \\"EventCount\\": 2,\\n \\"InstanceId\\": \\"ddoscoo-cn-mp91j1ao****\\",\\n \\"AttackPeak\\": 6584186000\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeDestinationPortEvent' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -7179,36 +5958,47 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'delete', - 'abilityTreeCode' => '106078', - 'abilityTreeNodes' => [ - 'FEATUREddosRTUJBH', - ], + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '187278', + 'abilityTreeNodes' => ['FEATUREddosRTUJBH'], ], 'parameters' => [ [ - 'name' => 'InstanceId', + 'name' => 'Region', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the instance.'."\n" - ."\n" - .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'ddoscoo-cn-mp91j1ao****', - ], + 'schema' => ['description' => 'The region in which your service is deployed. Valid values:'."\n" + ."\n" + .'- **cn**: a region in the Chinese mainland.'."\n" + ."\n" + .'- **cn-hongkong**: a region outside the Chinese mainland.', 'type' => 'string', 'required' => true, 'example' => 'cn', 'title' => ''], ], [ - 'name' => 'Whitelist', + 'name' => 'EventType', 'in' => 'query', - 'schema' => [ - 'description' => 'The IP addresses that you want to manage. This parameter is a JSON string. This parameter is a JSON string. The string contains the following field:'."\n" - ."\n" - .'* **src**: the IP address. This field is required and must be of the string type.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '[{"src":"1.1.1.1"},{"src":"2.2.2.2"}]', - ], + 'schema' => ['description' => 'The type of the attack event that you want to query. Valid values:'."\n" + ."\n" + .'- **defense**: attack events that trigger traffic scrubbing.'."\n" + ."\n" + .'- **blackhole**: attack events that trigger blackhole filtering.', 'type' => 'string', 'required' => true, 'example' => 'defense', 'title' => ''], + ], + [ + 'name' => 'StartTime', + 'in' => 'query', + 'schema' => ['description' => 'The beginning of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n" + ."\n" + .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1720059000', 'title' => ''], + ], + [ + 'name' => 'Ip', + 'in' => 'query', + 'schema' => ['description' => 'The IP address of the attacker.', 'type' => 'string', 'required' => true, 'example' => '203.107.XX.XX'."\n", 'title' => ''], + ], + [ + 'name' => 'Range', + 'in' => 'query', + 'schema' => ['description' => 'The number of destination ports to return. The ports are sorted in descending order of the number of received request packets. By default, the first **10** ports are returned.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '2', 'title' => ''], ], ], 'responses' => [ @@ -7216,31 +6006,55 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E', + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '9E7F6B2C-03F2-462F-9076-B782CF0DD502', 'title' => ''], + 'PortList' => [ + 'description' => 'The ports.', + 'type' => 'array', + 'items' => [ + 'description' => 'The information about the port.', + 'type' => 'object', + 'properties' => [ + 'DstPort' => ['description' => 'The destination port.', 'type' => 'string', 'example' => '80', 'title' => ''], + 'InPkts' => ['description' => 'The number of request packets received by the destination port.', 'type' => 'integer', 'format' => 'int64', 'example' => '8760950', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E\\"\\n}","errorExample":""},{"type":"xml","example":"\\r\\n\\r\\n\\tC33EB3D5-AF96-43CA-9C7E-37A81BC06A1E\\r\\n","errorExample":""}]', - 'title' => 'DeleteAutoCcWhitelist', - 'summary' => 'Removes IP addresses from the IP address whitelist of an Anti-DDoS Proxy instance.', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'ModifyBlackholeStatus' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'DescribeDestinationPortEvent', + 'summary' => 'Queries the number of request packets received by the destination ports of the attacked IP address that is protected by Anti-DDoS Proxy.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeDestinationPortEvent', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"9E7F6B2C-03F2-462F-9076-B782CF0DD502\\",\\n \\"PortList\\": [\\n {\\n \\"DstPort\\": \\"80\\",\\n \\"InPkts\\": 8760950\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeDomainAttackEvents' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -7249,34 +6063,46 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', - 'abilityTreeCode' => '106227', - 'abilityTreeNodes' => [ - 'FEATUREddosMHU3MF', - ], + 'operationType' => 'get', + 'abilityTreeCode' => '106121', + 'abilityTreeNodes' => ['FEATUREddosRTUJBH'], ], 'parameters' => [ [ - 'name' => 'BlackholeStatus', + 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => 'The action that you want to perform on the instance. Set the value to **undo**, which indicates that you want to deactivate blackhole filtering.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'undo', - ], + 'schema' => ['description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n", 'type' => 'string', 'required' => false, 'example' => 'default', 'title' => ''], ], [ - 'name' => 'InstanceId', + 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the instance.'."\n" - ."\n" - .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'ddoscoo-cn-mp91j1ao****', - ], + 'schema' => ['description' => 'The beginning of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n" + ."\n" + .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1582992000', 'title' => ''], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => ['description' => 'The end of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n" + ."\n" + .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1583683200', 'title' => ''], + ], + [ + 'name' => 'Domain', + 'in' => 'query', + 'schema' => ['description' => 'The domain name of the website.'."\n" + ."\n" + .'> A forwarding rule must be configured for the domain name. You can call the [DescribeDomains](~~91724~~) operation to query all domain names.'."\n", 'type' => 'string', 'required' => false, 'example' => 'www.aliyun.com', 'title' => ''], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => ['description' => 'The number of the page to return. For example, to query the returned results on the first page, set the value to **1**.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1', 'title' => ''], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['description' => 'The number of entries to return on each page.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '10', 'title' => ''], ], ], 'responses' => [ @@ -7284,31 +6110,66 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E', + 'TotalCount' => ['description' => 'The total number of returned DDoS attack events.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E', 'title' => ''], + 'DomainAttackEvents' => [ + 'description' => 'An array that consists of the details of the DDoS attack event.'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'EndTime' => ['description' => 'The time when the DDoS attack stopped. The value is a UNIX timestamp. Unit: seconds.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1560320160', 'title' => ''], + 'StartTime' => ['description' => 'The time when the DDoS attack started. The value is a UNIX timestamp. Unit: seconds.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1560312900', 'title' => ''], + 'Domain' => ['description' => 'The attacked domain name.'."\n", 'type' => 'string', 'example' => 'www.aliyun.com', 'title' => ''], + 'MaxQps' => ['description' => 'The peak attack QPS.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1000', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E\\"\\n}","errorExample":""},{"type":"xml","example":"\\r\\n\\r\\n\\tC33EB3D5-AF96-43CA-9C7E-37A81BC06A1E\\r\\n","errorExample":""}]', - 'title' => 'ModifyBlackholeStatus', - 'summary' => 'Deactivates blackhole filtering that is triggered on an instance.', - 'requestParamsDescription' => ' ', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"TotalCount\\": 1,\\n \\"RequestId\\": \\"C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E\\",\\n \\"DomainAttackEvents\\": [\\n {\\n \\"EndTime\\": 1560320160,\\n \\"StartTime\\": 1560312900,\\n \\"Domain\\": \\"www.aliyun.com\\",\\n \\"MaxQps\\": 1000\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\r\\n\\r\\n\\tC33EB3D5-AF96-43CA-9C7E-37A81BC06A1E\\r\\n\\t1\\r\\n\\t\\r\\n\\t\\twww.aliyun.com\\r\\n\\t\\t1000\\r\\n\\t\\t1560312900\\r\\n\\t\\t1560320160\\r\\n\\t\\r\\n","errorExample":""}]', + 'title' => 'DescribeDomainAttackEvents', + 'summary' => 'Queries the attack events launched against a website.', + 'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see [Common parameters](~~157269~~).'."\n" + ."\n" + .'For more information about sample requests, see the **"Examples"** section of this topic.'."\n", 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'ModifyBlockStatus' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:24.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDomainAttackEvents'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeDomainAttackEvents', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'DescribeDomainBps' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -7317,71 +6178,46 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', - 'abilityTreeCode' => '106228', - 'abilityTreeNodes' => [ - 'FEATUREddosZIK01A', - ], + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREddosRTUJBH'], ], 'parameters' => [ [ - 'name' => 'Status', + 'name' => 'Region', 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies the status of the Diversion from Origin Server policy. Valid values:'."\n" - ."\n" - .'* **do**: enables the policy.'."\n" - .'* **undo**: disables the policy.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'do', - ], + 'schema' => ['description' => 'The region in which your service is deployed. Valid values:'."\n" + ."\n" + .'- **cn**: a region in the Chinese mainland.'."\n" + ."\n" + .'- **cn-hongkong**: a region outside the Chinese mainland.', 'type' => 'string', 'required' => true, 'example' => 'cn', 'title' => ''], ], [ - 'name' => 'Duration', + 'name' => 'Domain', 'in' => 'query', - 'schema' => [ - 'description' => 'The blocking period. Valid values: **15** to **43200**. Unit: minutes.'."\n" - ."\n" - .'> If you set **Status** to **do**, you must also specify this parameter.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '60', - ], + 'schema' => ['description' => 'The domain name of the website.'."\n" + ."\n" + .'> A forwarding rule must be configured for the domain name. You can call the [DescribeDomains](~~91724~~) operation to query all domain names.', 'type' => 'string', 'required' => false, 'example' => 'www.example.com', 'title' => ''], ], [ - 'name' => 'InstanceId', + 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the Anti-DDoS Proxy (Chinese Mainland) instance to manage.'."\n" - ."\n" - .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all Anti-DDoS Proxy instances.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'ddoscoo-cn-mp91j1ao****', - ], + 'schema' => ['description' => 'The beginning of the time range to query. This value is a UNIX timestamp. Unit: seconds.'."\n" + ."\n" + .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1719211800', 'title' => ''], ], [ - 'name' => 'Lines', + 'name' => 'EndTime', 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => 'An array consisting of the Internet service provider (ISP) lines from which traffic is blocked.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The ISP line from which traffic is blocked. Valid values:'."\n" - ."\n" - .'* **ct**: a China Telecom line intended for users outside the Chinese mainland'."\n" - .'* **cut**: a China Unicom line intended for users outside the Chinese mainland'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'ct', - ], - 'required' => true, - 'example' => 'ct', - 'maxItems' => 20, - ], + 'schema' => ['description' => 'The end of the time range to query. This value is a UNIX timestamp. Unit: seconds.'."\n" + ."\n" + .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1722339300', 'title' => ''], + ], + [ + 'name' => 'Interval', + 'in' => 'query', + 'schema' => ['description' => 'The interval for returning data. Unit: seconds. Valid values are 300, 3600, and 86400. If the time span between StartTime and EndTime is less than 3 days, valid values are 300, 3600, and 86400. If the time span between StartTime and EndTime is from 3 to 30 days, valid values are 3600 and 86400. If the time span between StartTime and EndTime is 31 days or longer, the valid value is 86400. If you leave this parameter empty or specify an invalid value, the default value is used.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '600', 'title' => ''], ], ], 'responses' => [ @@ -7389,34 +6225,56 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E', + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E', 'title' => ''], + 'DomainBps' => [ + 'description' => 'The bandwidths.', + 'type' => 'array', + 'items' => [ + 'description' => 'The bandwidth values.', + 'type' => 'object', + 'properties' => [ + 'Index' => ['description' => 'The index number of the returned data.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], + 'InBps' => ['description' => 'The inbound bandwidth. Unit: bit/s.', 'type' => 'integer', 'format' => 'int64', 'example' => '0', 'title' => ''], + 'OutBps' => ['description' => 'The outbound bandwidth. Unit: bit/s.', 'type' => 'integer', 'format' => 'int64', 'example' => '0', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E\\"\\n}","errorExample":""},{"type":"xml","example":"\\n C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E\\n","errorExample":""}]', - 'title' => 'ModifyBlockStatus', - 'summary' => 'Modifies the Diversion from Origin Server configuration of an Anti-DDoS Proxy (Chinese Mainland) instance.', - 'description' => '> This operation is suitable only for Anti-DDoS Proxy (Chinese Mainland).'."\n", - 'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see [Common parameters](~~157269~~).'."\n" - ."\n" - .'For more information about sample requests, see the **"Examples"** section of this topic.'."\n", - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'DescribeAutoCcListCount' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'DescribeDomainBps', + 'summary' => 'Queries the bandwidths of a website.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeDomainBps', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E\\",\\n \\"DomainBps\\": [\\n {\\n \\"Index\\": 1,\\n \\"InBps\\": 0,\\n \\"OutBps\\": 0\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeDomainCcProtectSwitch' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -7426,35 +6284,31 @@ 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', - 'abilityTreeCode' => '106096', - 'abilityTreeNodes' => [ - 'FEATUREddosOZ1QOD', - ], + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '106122', + 'abilityTreeNodes' => ['FEATUREddosRTUJBH'], ], 'parameters' => [ [ - 'name' => 'InstanceId', + 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the instance.'."\n" - ."\n" - .'> You can call the **DescribeInstanceIds** operation to query the IDs of all instances.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'ddoscoo-cn-mp91j1ao****', - ], + 'schema' => ['description' => 'The ID of the resource group to which the Anti-DDoS Pro instance belongs in Resource Management. If you do not specify this parameter, the instance belongs to the default resource group.', 'type' => 'string', 'required' => false, 'example' => 'rg-acfm2pz25js****', 'title' => ''], ], [ - 'name' => 'QueryType', + 'name' => 'Domains', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => 'The mode of how an IP address is added to the whitelist or blacklist. Valid values:'."\n" + 'type' => 'array', + 'items' => ['description' => 'A domain name for which a website forwarding rule is configured.', 'type' => 'string', 'required' => false, 'example' => 'www.aliyundoc.com', 'title' => ''], + 'required' => true, + 'maxItems' => 5, + 'description' => 'The domain names of the websites. You can specify up to five domain names.'."\n" ."\n" - .'* **manual**: manually added'."\n" - .'* **auto**: automatically added'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'manual', + .'> A website forwarding rule must be configured for the domain name. Call [DescribeDomains](~~91724~~) to query all domain names.', + 'title' => '', + 'example' => '', ], ], ], @@ -7463,43 +6317,97 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '5AC3785F-C789-4622-87A4-F58BE7F6B184', - ], - 'WhiteCount' => [ - 'description' => 'The total number of IP addresses in the whitelist.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'BlackCount' => [ - 'description' => 'The total number of IP addresses in the blacklist.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', + 'RequestId' => ['description' => 'The ID of the request. This ID is unique to the request. Use the request ID to troubleshoot issues.', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80', 'title' => ''], + 'ProtectSwitchList' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'BlackWhiteListEnable' => ['description' => 'The status of the blacklists and whitelists feature. Valid values:'."\n" + ."\n" + .'- **0**: Disabled'."\n" + ."\n" + .'- **1**: Enabled', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'AiTemplate' => ['description' => 'The level of AI-powered protection. Valid values:'."\n" + ."\n" + .'- **level30**: Loose'."\n" + ."\n" + .'- **level60**: Normal'."\n" + ."\n" + .'- **level90**: Strict', 'type' => 'string', 'example' => 'level60', 'title' => ''], + 'PreciseRuleEnable' => ['description' => 'The status of the precise access control feature. Valid values:'."\n" + ."\n" + .'- **0**: Disabled'."\n" + ."\n" + .'- **1**: Enabled', 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''], + 'Domain' => ['description' => 'The domain name of the website.', 'type' => 'string', 'example' => 'www.aliyundoc.com', 'title' => ''], + 'AiMode' => ['description' => 'The mode of AI-powered protection. Valid values:'."\n" + ."\n" + .'- **watch**: Warning mode'."\n" + ."\n" + .'- **defense**: Defense mode', 'type' => 'string', 'example' => 'defense', 'title' => ''], + 'AiRuleEnable' => ['description' => 'The status of the AI-powered protection feature. Valid values:'."\n" + ."\n" + .'- **0**: Disabled'."\n" + ."\n" + .'- **1**: Enabled', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'RegionBlockEnable' => ['description' => 'The status of the Location Blacklist (Domain Names) feature. Valid values:'."\n" + ."\n" + .'- **0**: Disabled'."\n" + ."\n" + .'- **1**: Enabled', 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''], + 'CcTemplate' => ['description' => 'The CC protection mode. Valid values:'."\n" + ."\n" + .'- **default**: Normal'."\n" + ."\n" + .'- **gf\\_under\\_attack**: Emergency'."\n" + ."\n" + .'- **gf\\_sos\\_verify**: Strict'."\n" + ."\n" + .'- **gf\\_sos\\_enhance**: Very Strict', 'type' => 'string', 'example' => 'default', 'title' => ''], + 'CcCustomRuleEnable' => ['description' => 'The status of custom CC rules. Valid values:'."\n" + ."\n" + .'- **0**: Disabled'."\n" + ."\n" + .'- **1**: Enabled', 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''], + 'CcEnable' => ['description' => 'The status of the rate limiting (CC protection) feature. Valid values:'."\n" + ."\n" + .'- **0**: Disabled'."\n" + ."\n" + .'- **1**: Enabled', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'CcGlobalSwitch' => ['description' => 'The status of the global switch for custom and precise CC protection. Valid values:'."\n" + ."\n" + .'- **open**: Enabled'."\n" + ."\n" + .'- **close**: Disabled', 'type' => 'string', 'example' => 'close', 'title' => ''], + ], + 'description' => 'The status of each protection feature for the website.', + 'title' => '', + 'example' => '', + ], + 'description' => 'The status of each protection feature for the website.', + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"5AC3785F-C789-4622-87A4-F58BE7F6B184\\",\\n \\"WhiteCount\\": 2,\\n \\"BlackCount\\": 0\\n}","errorExample":""},{"type":"xml","example":"\\r\\n\\r\\n\\t0\\r\\n\\t5AC3785F-C789-4622-87A4-F58BE7F6B184\\r\\n\\t2\\r\\n","errorExample":""}]', - 'title' => 'DescribeAutoCcListCount', - 'summary' => 'Queries the numbers of IP addresses in the IP address whitelist and IP address blacklist of an Anti-DDoS Proxy instance.', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'DescribeAutoCcBlacklist' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'title' => 'DescribeDomainCcProtectSwitch', + 'summary' => 'Queries the status of the CC protection feature for the specified domain names.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\",\\n \\"ProtectSwitchList\\": [\\n {\\n \\"BlackWhiteListEnable\\": 1,\\n \\"AiTemplate\\": \\"level60\\",\\n \\"PreciseRuleEnable\\": 0,\\n \\"Domain\\": \\"www.aliyundoc.com\\",\\n \\"AiMode\\": \\"defense\\",\\n \\"AiRuleEnable\\": 1,\\n \\"RegionBlockEnable\\": 0,\\n \\"CcTemplate\\": \\"default\\",\\n \\"CcCustomRuleEnable\\": 0,\\n \\"CcEnable\\": 1,\\n \\"CcGlobalSwitch\\": \\"close\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeDomainH2Fingerprint' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -7508,66 +6416,41 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeCode' => '106095', - 'abilityTreeNodes' => [ - 'FEATUREddosI8LHMA', - ], + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '231662', + 'abilityTreeNodes' => ['FEATUREddosRTUJBH'], ], 'parameters' => [ [ - 'name' => 'InstanceId', + 'name' => 'Domain', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the instance.'."\n" - ."\n" - .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'ddoscoo-cn-mp91j1ao****', - ], + 'schema' => ['description' => 'The domain name of the website.'."\n" + ."\n" + .'> You can invoke [DescribeDomains](~~91724~~) to query the domain names of all websites that are protected by Anti-DDoS Pro and Anti-DDoS Premium.', 'type' => 'string', 'required' => false, 'example' => 'example.aliyundoc.com'."\n", 'title' => ''], ], [ - 'name' => 'QueryType', + 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['description' => 'The beginning of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n" + .'> The value must be on the hour or half hour.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1716435180', 'title' => ''], ], [ - 'name' => 'KeyWord', + 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => 'The keyword for the query. This keyword is used to specify the prefix of the source IP address that you want to query.'."\n" - ."\n" - .'> The keyword must be greater than three characters in length.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '138', - ], + 'schema' => ['description' => 'The end of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n" + .'> The value must be on the hour or half hour.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1726318200', 'title' => ''], ], [ - 'name' => 'PageNumber', + 'name' => 'Limit', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of the page to return. For example, to query the returned results on the first page, set the value to **1**.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '1', - ], + 'schema' => ['description' => 'The number of entries to return.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '20', 'title' => ''], ], [ - 'name' => 'PageSize', + 'name' => 'QueryType', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of entries to return on each page.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '10', - ], + 'schema' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], ], ], 'responses' => [ @@ -7575,70 +6458,56 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'TotalCount' => [ - 'description' => 'The total number of returned IP addresses in the blacklist.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '2', - ], - 'RequestId' => [ - 'description' => 'The ID of the request, which is used to locate and troubleshoot issues.'."\n", - 'type' => 'string', - 'example' => 'E78C8472-0B15-42D5-AF22-A32A78818AB2', - ], - 'AutoCcBlacklist' => [ - 'description' => 'An array that consists of the details of the IP addresses in the blacklist of the instance.'."\n", + 'RequestId' => ['description' => 'The ID of the request. The ID is a unique identifier that Alibaba Cloud generates for the request and can be used to troubleshoot issues.', 'type' => 'string', 'example' => '112777CC-2AD6-46FC-A263-00B931406FCD', 'title' => ''], + 'DomainH2Fp' => [ + 'description' => 'The list of top N HTTP/2.0 fingerprints for the domain name.', 'type' => 'array', 'items' => [ + 'description' => 'The HTTP/2.0 fingerprint information.', 'type' => 'object', 'properties' => [ - 'Type' => [ - 'description' => 'The mode of how the IP address is added to the blacklist. Valid values:'."\n" - ."\n" - .'* **manual**: manually added'."\n" - .'* **auto**: automatically added'."\n", - 'type' => 'string', - 'example' => 'manual', - ], - 'DestIp' => [ - 'description' => 'The IP address of the instance.'."\n", - 'type' => 'string', - 'example' => '192.0.XX.XX', - ], - 'EndTime' => [ - 'description' => 'The validity period of the IP address in the blacklist. The value is a UNIX timestamp. Unit: seconds.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1584093569', - ], - 'SourceIp' => [ - 'description' => 'The IP address in the blacklist.'."\n", - 'type' => 'string', - 'example' => '47.100.XX.XX', - ], + 'H2Fingerprint' => ['description' => 'The HTTP/2.0 fingerprint.', 'type' => 'string', 'example' => '532501bc316d02c8b1a007db76f2c796', 'title' => ''], + 'Pv' => ['description' => 'The number of times the HTTP/2.0 fingerprint is matched for the domain name.', 'type' => 'integer', 'format' => 'int64', 'example' => '471755', 'title' => ''], + 'Domain' => ['description' => 'The domain name of the website.', 'type' => 'string', 'example' => 'example.aliyundoc.com'."\n", 'title' => ''], ], + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"TotalCount\\": 2,\\n \\"RequestId\\": \\"E78C8472-0B15-42D5-AF22-A32A78818AB2\\",\\n \\"AutoCcBlacklist\\": [\\n {\\n \\"Type\\": \\"manual\\",\\n \\"DestIp\\": \\"192.0.XX.XX\\",\\n \\"EndTime\\": 1584093569,\\n \\"SourceIp\\": \\"47.100.XX.XX\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\n 2\\n E78C8472-0B15-42D5-AF22-A32A78818AB2\\n \\n manual\\n 192.0.XX.XX\\n 1584093569\\n 47.100.XX.XX\\n \\n","errorExample":""}]', - 'title' => 'DescribeAutoCcBlacklist', - 'summary' => 'Queries IP addresses in the IP address blacklist of an Anti-DDoS Pro or Anti-DDoS Premium instance.', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'DescribeAutoCcWhitelist' => [ - 'methods' => [ - 'post', - 'get', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'Query website HTTP/2.0 fingerprints', + 'summary' => 'Queries the HTTP/2.0 fingerprint information of a website.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeDomainTopFingerprint', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"112777CC-2AD6-46FC-A263-00B931406FCD\\",\\n \\"DomainH2Fp\\": [\\n {\\n \\"H2Fingerprint\\": \\"532501bc316d02c8b1a007db76f2c796\\",\\n \\"Pv\\": 471755,\\n \\"Domain\\": \\"example.aliyundoc.com\\\\n\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeDomainOverview' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -7648,57 +6517,37 @@ 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', - 'abilityTreeCode' => '106097', - 'abilityTreeNodes' => [ - 'FEATUREddosOZ1QOD', - ], + 'abilityTreeCode' => '106125', + 'abilityTreeNodes' => ['FEATUREddosRTUJBH'], ], 'parameters' => [ [ - 'name' => 'InstanceId', + 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the instance.'."\n" - ."\n" - .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'ddoscoo-cn-mp91j1ao****', - ], + 'schema' => ['description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n" + ."\n" + .'For more information about resource groups, see [Create a resource group](~~94485~~).'."\n", 'type' => 'string', 'required' => false, 'example' => 'rg-acfm2pz25js****', 'title' => ''], ], [ - 'name' => 'KeyWord', + 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => 'The keyword for the query. This keyword is used to specify the prefix of the source IP address that you want to query.'."\n" - ."\n" - .'> The keyword must be greater than three characters in length.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '138', - ], + 'schema' => ['description' => 'The beginning of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n" + ."\n" + .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1619798400', 'title' => ''], ], [ - 'name' => 'PageNumber', + 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of the page to return. For example, to query the returned results on the first page, set the value to **1**.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '1', - ], + 'schema' => ['description' => 'The end of the time range to query. The value is a UNIX timestamp. Unit: seconds. If you leave this parameter unspecified, the current system time is used as the end time.'."\n" + ."\n" + .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1623427200', 'title' => ''], ], [ - 'name' => 'PageSize', + 'name' => 'Domain', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of entries to return on each page.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '10', - ], + 'schema' => ['description' => 'The domain name of the website that you want to query. If you leave this parameter unspecified, the statistics on all domain names are queried.'."\n" + ."\n" + .'> The domain name must be added to Anti-DDoS Pro or Anti-DDoS Premium. You can call the [DescribeDomains](~~91724~~) operation to query all the domain names that are added to Anti-DDoS Pro or Anti-DDoS Premium.'."\n", 'type' => 'string', 'required' => false, 'example' => 'example.aliyundoc.com', 'title' => ''], ], ], 'responses' => [ @@ -7706,70 +6555,49 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'TotalCount' => [ - 'description' => 'The total number of returned IP addresses in the whitelist.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '2', - ], - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'F09D085E-5E0F-4FF2-B32E-F4A644049162', - ], - 'AutoCcWhitelist' => [ - 'description' => 'An array that consists of details of the IP address in the whitelist of the instance.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Type' => [ - 'description' => 'The mode of how an IP address is added to the whitelist. Valid values:'."\n" - ."\n" - .'* **manual**: manually added'."\n" - .'* **auto**: automatically added'."\n", - 'type' => 'string', - 'example' => 'manual', - ], - 'DestIp' => [ - 'description' => 'The IP address of the instance.'."\n", - 'type' => 'string', - 'example' => '203.***.***.117', - ], - 'EndTime' => [ - 'description' => 'The validity period of the IP address in the whitelist. Unit: seconds. **0** indicates that the IP address in the whitelist never expires.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'SourceIp' => [ - 'description' => 'The IP addresses that is contained in the IP address whitelist.'."\n", - 'type' => 'string', - 'example' => '2.2.2.2', - ], - ], - ], - ], + 'RequestId' => ['description' => 'The ID of the request, which is used to locate and troubleshoot issues.'."\n", 'type' => 'string', 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E', 'title' => ''], + 'MaxHttp' => ['description' => 'The peak queries per second (QPS) during HTTP traffic scrubbing. Unit: QPS.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '41652', 'title' => ''], + 'MaxHttps' => ['description' => 'The peak QPS during HTTPS traffic scrubbing. Unit: QPS.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '0', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"TotalCount\\": 2,\\n \\"RequestId\\": \\"F09D085E-5E0F-4FF2-B32E-F4A644049162\\",\\n \\"AutoCcWhitelist\\": [\\n {\\n \\"Type\\": \\"manual\\",\\n \\"DestIp\\": \\"203.***.***.117\\",\\n \\"EndTime\\": 0,\\n \\"SourceIp\\": \\"2.2.2.2\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\r\\n\\r\\n\\t\\r\\n\\t\\tmanual\\r\\n\\t\\t4.4.4.4\\r\\n\\t\\t0\\r\\n\\t\\t203.***.***.117\\r\\n\\t\\r\\n\\t\\r\\n\\t\\tmanual\\r\\n\\t\\t2.2.2.2\\r\\n\\t\\t0\\r\\n\\t\\t203.***.***.117\\r\\n\\t\\r\\n\\t2\\r\\n\\tF09D085E-5E0F-4FF2-B32E-F4A644049162\\r\\n","errorExample":""}]', - 'title' => 'DescribeAutoCcWhitelist', - 'summary' => 'Queries IP addresses in the IP address whitelist of an Anti-DDoS Proxy instance.', - 'requestParamsDescription' => ' ', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E\\",\\n \\"MaxHttp\\": 41652,\\n \\"MaxHttps\\": 0\\n}","errorExample":""},{"type":"xml","example":"\\n C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E\\n 41652\\n 0\\n","errorExample":""}]', + 'title' => 'DescribeDomainOverview', + 'summary' => 'Queries the attack overview of a website, such as the peak HTTP and HTTPS traffic.', + 'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see [Common parameters](~~157269~~).'."\n" + ."\n" + .'For more information about sample requests, see the **"Examples"** section of this topic.'."\n", 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeUnBlackholeCount' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:24.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDomainOverview'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeDomainOverview', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'DescribeDomainQPSList' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -7779,100 +6607,40 @@ 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', - 'abilityTreeCode' => '106194', - 'abilityTreeNodes' => [ - 'FEATUREddosRTUJBH', - ], - 'tenantRelevance' => 'publicInformation', + 'abilityTreeCode' => '106127', + 'abilityTreeNodes' => ['FEATUREddosRTUJBH'], ], 'parameters' => [ [ 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'default', - ], + 'schema' => ['description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n", 'type' => 'string', 'required' => false, 'example' => 'default', 'title' => ''], ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '232929FA-40B6-4C53-9476-EE335ABA44CD', - ], - 'TotalCount' => [ - 'description' => 'The total quota that you can deactivate blackhole filtering.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '5', - ], - 'RemainCount' => [ - 'description' => 'The remaining quota that you can deactivate blackhole filtering.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '5', - ], - ], - ], + [ + 'name' => 'StartTime', + 'in' => 'query', + 'schema' => ['description' => 'The beginning of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n" + ."\n" + .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1582992000', 'title' => ''], ], - ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"232929FA-40B6-4C53-9476-EE335ABA44CD\\",\\n \\"TotalCount\\": 5,\\n \\"RemainCount\\": 5\\n}","errorExample":""},{"type":"xml","example":"\\r\\n\\r\\n\\t5\\r\\n\\t232929FA-40B6-4C53-9476-EE335ABA44CD\\r\\n\\t5\\r\\n","errorExample":""}]', - 'title' => 'DescribeUnBlackholeCount', - 'summary' => 'Queries the total quota and remaining quota for blackhole filtering deactivation.', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'DescribeBlackholeStatus' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ [ - 'AK' => [], + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => ['description' => 'The end of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n" + ."\n" + .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1583683200', 'title' => ''], ], - ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeCode' => '106099', - 'abilityTreeNodes' => [ - 'FEATUREddosRTUJBH', + [ + 'name' => 'Interval', + 'in' => 'query', + 'schema' => ['description' => 'The interval for returning data. Unit: seconds.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1000', 'title' => ''], ], - ], - 'parameters' => [ [ - 'name' => 'InstanceIds', + 'name' => 'Domain', 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => 'The ID of the instance.'."\n" - ."\n" - .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The ID of the instance.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'ddoscoo-cn-mp91j1ao****', - ], - 'required' => true, - 'example' => 'ddoscoo-cn-mp91j1ao****', - 'maxItems' => 20, - ], + 'schema' => ['description' => 'The domain name of the website. If you do not specify this parameter, the statistics on the QPS of all domain names are queried.'."\n" + ."\n" + .'> A forwarding rule must be configured for the domain name. You can call the [DescribeDomains](~~91724~~) operation to query all domain names.'."\n", 'type' => 'string', 'required' => false, 'example' => 'www.aliyun.com', 'title' => ''], ], ], 'responses' => [ @@ -7880,205 +6648,128 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E', - ], - 'BlackholeStatus' => [ - 'description' => 'An array that consists of the blackhole filtering status of the instance.'."\n", + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '327F2ABB-104D-437A-AAB5-D633E29A8C51', 'title' => ''], + 'DomainQPSList' => [ + 'description' => 'An array that consists of the statistics on the QPS of the website.'."\n", 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'EndTime' => [ - 'description' => 'The end time of blackhole filtering. The value is a UNIX timestamp. Unit: seconds.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1540196323', - ], - 'StartTime' => [ - 'description' => 'The start time of blackhole filtering. The value is a UNIX timestamp. Unit: seconds.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1540195323', - ], - 'Ip' => [ - 'description' => 'The IP address of the instance.'."\n", - 'type' => 'string', - 'example' => '203.***.***.132', - ], - 'BlackStatus' => [ - 'description' => 'Indicates whether blackhole filtering is triggered for the instance. Valid values:'."\n" - ."\n" - .'* **blackhole**: yes'."\n" - .'* **normal**: no'."\n", - 'type' => 'string', - 'example' => 'blackhole', - ], + 'Index' => ['description' => 'The index number of the returned data.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '0', 'title' => ''], + 'Time' => ['description' => 'The time when the data was collected. The value is a UNIX timestamp. Unit: seconds.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1582992000', 'title' => ''], + 'MaxAttackQps' => ['description' => 'The peak attack QPS.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '37', 'title' => ''], + 'AttackQps' => ['description' => 'The attack QPS.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], + 'MaxQps' => ['description' => 'The peak of total QPS.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '130', 'title' => ''], + 'MaxNormalQps' => ['description' => 'The peak of normal QPS.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '93', 'title' => ''], + 'TotalQps' => ['description' => 'The total QPS.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], + 'TotalCount' => ['description' => 'The total number of requests.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '20008', 'title' => ''], + 'CacheHits' => ['description' => 'The number of cache hits.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '0', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E\\",\\n \\"BlackholeStatus\\": [\\n {\\n \\"EndTime\\": 1540196323,\\n \\"StartTime\\": 1540195323,\\n \\"Ip\\": \\"203.***.***.132\\",\\n \\"BlackStatus\\": \\"blackhole\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\r\\n\\r\\n\\tC33EB3D5-AF96-43CA-9C7E-37A81BC06A1E\\r\\n\\t\\r\\n\\t\\t203.***.***.132\\r\\n\\t\\tblackhole\\r\\n\\t\\t1540195323\\r\\n\\t\\t1540196323\\r\\n\\t\\r\\n","errorExample":""}]', - 'summary' => 'Queries the blackhole filtering status of one or more Anti-DDoS Pro or Anti-DDoS Premium instances.', - 'requestParamsDescription' => ' ', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"327F2ABB-104D-437A-AAB5-D633E29A8C51\\",\\n \\"DomainQPSList\\": [\\n {\\n \\"Index\\": 0,\\n \\"Time\\": 1582992000,\\n \\"MaxAttackQps\\": 37,\\n \\"AttackQps\\": 1,\\n \\"MaxQps\\": 130,\\n \\"MaxNormalQps\\": 93,\\n \\"TotalQps\\": 1,\\n \\"TotalCount\\": 20008,\\n \\"CacheHits\\": 0\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\r\\n\\r\\n\\t\\r\\n\\t\\t37\\r\\n\\t\\t1\\r\\n\\t\\t20008\\r\\n\\t\\t130\\r\\n\\t\\t93\\r\\n\\t\\t1\\r\\n\\t\\t0\\r\\n\\t\\t\\r\\n\\t\\t0\\r\\n\\t\\r\\n\\t327F2ABB-104D-437A-AAB5-D633E29A8C51\\r\\n","errorExample":""}]', + 'title' => 'DescribeDomainQPSList', + 'summary' => 'Queries the statistics on the queries per second (QPS) of a website.', + 'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see [Common parameters](~~157269~~).'."\n" + ."\n" + .'For more information about sample requests, see the **"Examples"** section of this topic.'."\n", 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeNetworkRegionBlock' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:24.000Z', 'description' => 'Error codes changed'], ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeCode' => '106160', - 'abilityTreeNodes' => [ - 'FEATUREddosOZ1QOD', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeDomainQPSList'], ], ], - 'parameters' => [ + 'ramActions' => [ [ - 'name' => 'InstanceId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the instance.'."\n" - ."\n" - .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'ddoscoo-cn-mp91j1ao****', - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E', - ], - 'Config' => [ - 'description' => 'The configuration of blocked locations.'."\n", - 'type' => 'object', - 'properties' => [ - 'RegionBlockSwitch' => [ - 'description' => 'The status of the Location Blacklist policy. Valid values:'."\n" - ."\n" - .'* **on**: enabled'."\n" - .'* **off**: disabled'."\n", - 'type' => 'string', - 'example' => 'on', - ], - 'Countries' => [ - 'description' => 'The codes of the countries or areas from which the requests are blocked.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The code of the country or area from which the requests are blocked.'."\n" - ."\n" - .'> For more information about the codes of countries and areas, see [Location parameters](~~167926~~).'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '2', - ], - ], - 'Provinces' => [ - 'description' => 'The codes of the administrative regions in China from which the requests are blocked.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The code of the administrative region in China from which the requests are blocked. For example, **11** indicates Beijing, and **12** indicates Tianjin.'."\n" - ."\n" - .'> For more information about the codes of administrative regions in China, see [Location parameters](~~167926~~).'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '11', - ], - ], - ], - ], + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeDomainQPSList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], ], - 'description' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E\\",\\n \\"Config\\": {\\n \\"RegionBlockSwitch\\": \\"on\\",\\n \\"Countries\\": [\\n 2\\n ],\\n \\"Provinces\\": [\\n 11\\n ]\\n }\\n}","type":"json"}]', - 'title' => 'DescribeNetworkRegionBlock', - 'summary' => 'Queries the blocked locations that are configured for an Anti-DDoS Pro or Anti-DDoS Premium instance.', ], - 'DescribeBlockStatus' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DescribeDomainResource' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeCode' => '106101', - 'abilityTreeNodes' => [ - 'FEATUREddosRTUJBH', - ], + 'operationType' => 'list', + 'abilityTreeCode' => '106130', + 'abilityTreeNodes' => ['FEATUREddos64TBV6'], + 'autoTest' => true, ], 'parameters' => [ [ - 'name' => 'ResourceGroupId', + 'name' => 'Domain', + 'in' => 'query', + 'schema' => ['description' => 'The domain name to query.', 'type' => 'string', 'required' => false, 'example' => 'www.example.com', 'title' => ''], + ], + [ + 'name' => 'QueryDomainPattern', 'in' => 'query', 'schema' => [ - 'description' => 'The ID of the resource group to which the instance belongs in Resource Management.'."\n" + 'description' => 'The matching pattern for the query. Valid values:'."\n" + ."\n" + .'- **fuzzy** (default): Specifies a fuzzy search.'."\n" ."\n" - .'If you do not configure this parameter, the instance belongs to the default resource group.'."\n", + .'- **exact**: Specifies an exact match.', 'type' => 'string', 'required' => false, - 'example' => 'rg-acfm2pz25js****', + 'enum' => ['fuzzy', 'exact'], + 'example' => 'fuzzy', + 'title' => '', ], ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => ['description' => 'The number of the page to return. The default value is **1**.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'default' => '1', 'example' => '1', 'title' => ''], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['description' => 'The number of forwarding rules per page.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'default' => '10', 'example' => '10', 'title' => ''], + ], [ 'name' => 'InstanceIds', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ - 'description' => 'An array consisting of information about the IDs of the instances that you want to query.'."\n" - ."\n" - .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.'."\n", + 'description' => 'The IDs of the Anti-DDoS Pro instances to query.', 'type' => 'array', - 'items' => [ - 'description' => 'The ID of the instance.'."\n" - ."\n" - .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'ddoscoo-cn-zvp2eibz****', - ], - 'required' => true, - 'example' => 'ddoscoo-cn-mp91j1ao****', - 'maxItems' => 20, + 'items' => ['description' => 'The ID of the Anti-DDoS Pro instance.'."\n" + ."\n" + .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query all Anti-DDoS Pro instance IDs.', 'type' => 'string', 'required' => false, 'example' => 'ddoscoo-cn-mp91j1ao****', 'title' => ''], + 'required' => false, + 'maxItems' => 10, + 'title' => '', + 'example' => '', ], ], ], @@ -8087,91 +6778,279 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E', - ], - 'StatusList' => [ - 'description' => 'An array that consists of details of the Diversion from Origin Server configurations of the instance.'."\n", + 'TotalCount' => ['description' => 'The total number of web rules returned.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '39499F01-19D9-4EA4-A0E9-C6014BA5CDBE', 'title' => ''], + 'WebRules' => [ + 'description' => 'An array of web rule configurations.', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'Ip' => [ - 'description' => 'The IP address of the instance.'."\n", - 'type' => 'string', - 'example' => '203.XX.XX.88', - ], - 'BlockStatusList' => [ - 'description' => 'An array that consists of details of the Diversion from Origin Server configuration.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'EndTime' => [ - 'description' => 'The end time of the blocking. This value is a UNIX timestamp. Unit: seconds.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1540196323', - ], - 'StartTime' => [ - 'description' => 'The start time of the blocking. This value is a UNIX timestamp. Unit: seconds.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1540195323', - ], - 'Line' => [ - 'description' => 'The Internet service provider (ISP) line from which the traffic is blocked. Valid values:'."\n" - ."\n" - .'* **ct**: China Telecom (International)'."\n" - .'* **cut**: China Unicom (International)'."\n", - 'type' => 'string', - 'example' => 'cut', - ], - 'BlockStatus' => [ - 'description' => 'The blocking status of the network traffic. Valid values:'."\n" - ."\n" - .'* **areablock**: Network traffic is blocked.'."\n" - .'* **normal**: Network traffic is not blocked.'."\n", - 'type' => 'string', - 'example' => 'areablock', - ], - ], - ], - ], - ], - ], - ], - ], + 'Domain' => ['description' => 'The domain name.', 'type' => 'string', 'example' => 'www.example.com', 'title' => ''], + 'Http2HttpsEnable' => ['description' => 'Whether forced HTTPS redirect is enabled. Valid values:'."\n" + ."\n" + .'- **true**: Enabled.'."\n" + ."\n" + .'- **false**: Disabled.', 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'SslProtocols' => ['description' => 'The minimum TLS protocol version. Valid values:'."\n" + ."\n" + .'- **tls1.0**: TLS 1.0 and later versions.'."\n" + ."\n" + .'- **tls1.1**: TLS 1.1 and later versions.'."\n" + ."\n" + .'- **tls1.2**: TLS 1.2 and later versions.', 'type' => 'string', 'example' => 'tls1.0', 'title' => ''], + 'PunishReason' => ['description' => 'The reason the domain is penalized. Valid values:'."\n" + ."\n" + .'- **1**: The domain does not have an ICP filing.'."\n" + ."\n" + .'- **2**: The business hosted on the domain does not meet regulatory requirements.'."\n" + ."\n" + .'If both reasons apply, this parameter returns **2**.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'CcTemplate' => ['description' => 'The CC protection mode. Valid values:'."\n" + ."\n" + .'- **default**: normal mode'."\n" + ."\n" + .'- **gf\\_under\\_attack**: Emergency mode'."\n" + ."\n" + .'- **gf\\_sos\\_verify**: Strict mode'."\n" + ."\n" + .'- **gf\\_sos\\_enhance**: Super Strict mode', 'type' => 'string', 'example' => 'default', 'title' => ''], + 'HttpsExt' => ['description' => 'The advanced HTTPS settings, formatted as a JSON string. These settings apply only when the domain uses HTTPS (the `ProxyType` value includes `https`). The string contains the following fields:'."\n" + ."\n" + .'- **Http2https**: integer. Specifies whether to enable forced HTTPS redirect. Valid values: **0** (disabled) and **1** (enabled).'."\n" + ."\n" + .'- **Https2http**: integer. Specifies whether to enable HTTP back-to-source. Valid values: **0** (disabled) and **1** (enabled).'."\n" + ."\n" + .'- **Http2**: integer. Specifies whether to enable HTTP/2. Valid values: **0** (disabled) and **1** (enabled).', 'type' => 'string', 'example' => '{"Https2http":0,"Http2":0,"Http2https":0}', 'title' => ''], + 'CcEnabled' => ['description' => 'Whether CC protection is enabled. Valid values:'."\n" + ."\n" + .'- **true**: Enabled.'."\n" + ."\n" + .'- **false**: Disabled.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'SslCiphers' => ['description' => 'The cipher suite configuration type. Valid values:'."\n" + ."\n" + .'- **default**: Custom'."\n" + ."\n" + .'- **all**: All'."\n" + ."\n" + .'- **strong**: Strong'."\n" + ."\n" + .'- **improved**: Improved', 'type' => 'string', 'example' => 'default', 'title' => ''], + 'CcRuleEnabled' => ['description' => 'Whether custom CC protection rules are enabled. Valid values:'."\n" + ."\n" + .'- **true**: Enabled.'."\n" + ."\n" + .'- **false**: Disabled.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'Ssl13Enabled' => ['description' => 'Whether TLS 1.3 is enabled. Valid values:'."\n" + ."\n" + .'- **true**: Enabled.'."\n" + ."\n" + .'- **false**: Disabled.', 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'RsType' => ['description' => 'The address type of the origin server. Valid values:'."\n" + ."\n" + .'- **0**: IP address'."\n" + ."\n" + .'- **1**: domain', 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''], + 'PunishStatus' => ['description' => 'Whether the domain is penalized. Valid values:'."\n" + ."\n" + .'- **true**: The domain is penalized. For more information, see the `PunishReason` parameter.'."\n" + ."\n" + .'- **false**: The domain is not penalized.', 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'ProxyEnabled' => ['description' => 'Whether Anti-DDoS Pro forwards traffic for the domain. Valid values:'."\n" + ."\n" + .'- **true**: Forwarding is enabled.'."\n" + ."\n" + .'- **false**: Forwarding is disabled.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'CertName' => ['description' => 'The name of the SSL certificate used by the domain.', 'type' => 'string', 'example' => '49944XX.pem', 'title' => ''], + 'PolicyMode' => ['description' => 'The back-to-source load balancing algorithm. This algorithm determines how traffic is distributed to origin servers. Valid values:'."\n" + ."\n" + .'- **ip\\_hash**: IP Hash. This algorithm hashes the source IP address and routes all requests from the same IP address to the same origin server.'."\n" + ."\n" + .'- **rr**: Round Robin. This algorithm distributes requests across origin servers in turn.'."\n" + ."\n" + .'- **least\\_time**: Least Time. This algorithm uses intelligent DNS resolution to minimize end-to-end latency from the protection node to the origin server.', 'type' => 'string', 'example' => 'ip_hash', 'title' => ''], + 'Cname' => ['description' => 'The CNAME assigned to the domain by Anti-DDoS Pro.', 'type' => 'string', 'example' => '0ekb69x3j9wvXXXX.aliyunddosXXXX.com', 'title' => ''], + 'OcspEnabled' => ['description' => 'Whether Online Certificate Status Protocol (OCSP) is enabled. Valid values:'."\n" + ."\n" + .'- **true**: Enabled.'."\n" + ."\n" + .'- **false**: Disabled.', 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'Http2Enable' => ['description' => 'Whether HTTP/2 is enabled. Valid values:'."\n" + ."\n" + .'- **true**: Enabled.'."\n" + ."\n" + .'- **false**: Disabled.', 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'Https2HttpEnable' => ['description' => 'Whether HTTP back-to-source is enabled. Valid values:'."\n" + ."\n" + .'- **true**: Enabled.'."\n" + ."\n" + .'- **false**: Disabled.', 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'ProxyTypes' => [ + 'description' => 'An array of proxy configurations for the domain, each specifying a protocol and its associated ports.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'ProxyType' => ['description' => 'The proxy protocol. Valid values:'."\n" + ."\n" + .'- **http**: HTTP'."\n" + ."\n" + .'- **https**: HTTPS'."\n" + ."\n" + .'- **websocket**: WebSocket'."\n" + ."\n" + .'- **websockets**: WebSockets', 'type' => 'string', 'example' => 'http', 'title' => ''], + 'ProxyPorts' => [ + 'description' => 'The array of ports associated with the protocol.', + 'type' => 'array', + 'items' => ['description' => 'A port.', 'type' => 'string', 'example' => '80', 'title' => ''], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + 'InstanceIds' => [ + 'description' => 'An array of IDs for the Anti-DDoS Pro instances associated with the domain.', + 'type' => 'array', + 'items' => ['description' => 'The ID of an Anti-DDoS Pro instance associated with the domain.', 'type' => 'string', 'example' => 'ddoscoo-cn-st21zbyq****', 'title' => ''], + 'title' => '', + 'example' => '', + ], + 'CustomCiphers' => [ + 'description' => 'An array of custom cipher suites.', + 'type' => 'array', + 'items' => ['description' => 'A custom cipher suite for TLS versions earlier than 1.3.'."\n" + ."\n" + .'> You must select at least one cipher suite for TLS versions earlier than 1.3.'."\n" + ."\n" + .'- ECDHE-ECDSA-AES128-GCM-SHA256'."\n" + ."\n" + .'- ECDHE-ECDSA-AES256-GCM-SHA384'."\n" + ."\n" + .'- ECDHE-ECDSA-AES128-SHA256'."\n" + ."\n" + .'- ECDHE-ECDSA-AES256-SHA384'."\n" + ."\n" + .'- ECDHE-RSA-AES128-GCM-SHA256'."\n" + ."\n" + .'- ECDHE-RSA-AES256-GCM-SHA384'."\n" + ."\n" + .'- ECDHE-RSA-AES128-SHA256'."\n" + ."\n" + .'- ECDHE-RSA-AES256-SHA384'."\n" + ."\n" + .'- AES128-GCM-SHA256'."\n" + ."\n" + .'- AES256-GCM-SHA384'."\n" + ."\n" + .'- AES128-SHA256'."\n" + ."\n" + .'- AES256-SHA256'."\n" + ."\n" + .'- ECDHE-ECDSA-AES128-SHA'."\n" + ."\n" + .'- ECDHE-ECDSA-AES256-SHA'."\n" + ."\n" + .'- ECDHE-RSA-AES128-SHA'."\n" + ."\n" + .'- ECDHE-RSA-AES256-SHA'."\n" + ."\n" + .'- AES128-SHA'."\n" + ."\n" + .'- AES256-SHA'."\n" + ."\n" + .'- DES-CBC3-SHA', 'type' => 'string', 'example' => 'ECDHE-RSA-AES256-SHA384', 'title' => ''], + 'title' => '', + 'example' => '', + ], + 'WhiteList' => [ + 'description' => 'An array of IP addresses on the allowlist for the domain.', + 'type' => 'array', + 'items' => ['description' => 'An IP address in the allowlist for the domain.'."\n" + ."\n" + .'> This parameter is returned only if you have configured an **IP allowlist (for domains)** for the domain. You can call the [ConfigWebIpSet](~~157469~~) operation to configure an IP allowlist/blocklist for a domain.', 'type' => 'string', 'example' => '3.XX.XX.3', 'title' => ''], + 'title' => '', + 'example' => '', + ], + 'BlackList' => [ + 'description' => 'An array of IP addresses on the blocklist for the domain.', + 'type' => 'array', + 'items' => ['description' => 'An IP address in the blocklist for the domain.'."\n" + ."\n" + .'> This parameter is returned only if you have configured an **IP blocklist (for domains)** for the domain. You can call the [ConfigWebIpSet](~~157469~~) operation to configure an IP allowlist/blocklist for a domain.', 'type' => 'string', 'example' => '2.XX.XX.2', 'title' => ''], + 'title' => '', + 'example' => '', + ], + 'RealServers' => [ + 'description' => 'An array of origin server addresses.', + 'type' => 'array', + 'items' => ['description' => 'An origin server address.', 'type' => 'string', 'example' => '1.XX.XX.1', 'title' => ''], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E\\",\\n \\"StatusList\\": [\\n {\\n \\"Ip\\": \\"203.XX.XX.88\\",\\n \\"BlockStatusList\\": [\\n {\\n \\"EndTime\\": 1540196323,\\n \\"StartTime\\": 1540195323,\\n \\"Line\\": \\"cut\\",\\n \\"BlockStatus\\": \\"areablock\\"\\n }\\n ]\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\n C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E\\n \\n 203.XX.XX.88\\n \\n 1540196323\\n 1540195323\\n cut\\n areablock\\n \\n \\n","errorExample":""}]', - 'title' => 'DescribeBlockStatus', - 'summary' => 'Queries the Diversion from Origin Server configurations of one or more Anti-DDoS Proxy (Chinese Mainland) instances.', - 'description' => 'You can call this operation to query the Diversion from Origin Server configurations of one or more Anti-DDoS Proxy (Chinese Mainland) instances.'."\n" + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 1,\\n \\"RequestId\\": \\"39499F01-19D9-4EA4-A0E9-C6014BA5CDBE\\",\\n \\"WebRules\\": [\\n {\\n \\"Domain\\": \\"www.example.com\\",\\n \\"Http2HttpsEnable\\": false,\\n \\"SslProtocols\\": \\"tls1.0\\",\\n \\"PunishReason\\": 1,\\n \\"CcTemplate\\": \\"default\\",\\n \\"HttpsExt\\": \\"{\\\\\\"Https2http\\\\\\":0,\\\\\\"Http2\\\\\\":0,\\\\\\"Http2https\\\\\\":0}\\",\\n \\"CcEnabled\\": true,\\n \\"SslCiphers\\": \\"default\\",\\n \\"CcRuleEnabled\\": true,\\n \\"Ssl13Enabled\\": false,\\n \\"RsType\\": 0,\\n \\"PunishStatus\\": false,\\n \\"ProxyEnabled\\": true,\\n \\"CertName\\": \\"49944XX.pem\\",\\n \\"PolicyMode\\": \\"ip_hash\\",\\n \\"Cname\\": \\"0ekb69x3j9wvXXXX.aliyunddosXXXX.com\\",\\n \\"OcspEnabled\\": false,\\n \\"Http2Enable\\": false,\\n \\"Https2HttpEnable\\": false,\\n \\"ProxyTypes\\": [\\n {\\n \\"ProxyType\\": \\"http\\",\\n \\"ProxyPorts\\": [\\n \\"80\\"\\n ]\\n }\\n ],\\n \\"InstanceIds\\": [\\n \\"ddoscoo-cn-st21zbyq****\\"\\n ],\\n \\"CustomCiphers\\": [\\n \\"ECDHE-RSA-AES256-SHA384\\"\\n ],\\n \\"WhiteList\\": [\\n \\"3.XX.XX.3\\"\\n ],\\n \\"BlackList\\": [\\n \\"2.XX.XX.2\\"\\n ],\\n \\"RealServers\\": [\\n \\"1.XX.XX.1\\"\\n ]\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'DescribeDomainResource', + 'summary' => 'Describes the forwarding rule configuration for a web service.', + 'description' => 'This API returns a paginated list of detailed configurations for your website forwarding rules, such as website domain name, protocol, HTTPS settings, and CC attack protection configuration.'."\n" ."\n" - .'> This operation is suitable only for Anti-DDoS Proxy (Chinese Mainland).'."\n" + .'This API integrates with Terraform. For more information about Terraform, see [What is Terraform?](~~95820~~).'."\n" ."\n" - .'### [](#qps-)QPS limits'."\n" + .'### QPS limit'."\n" ."\n" - .'You can call this operation up to 10 times per second per account. If the number of 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", - 'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see [Common parameters](~~157269~~).'."\n" + .'The per-user QPS limit for this API is 50 calls per second. If you exceed this limit, API calls are throttled, which may affect your business. Plan your API calls accordingly.', + 'requestParamsDescription' => 'When calling an API, include the Alibaba Cloud common request parameters along with the request parameters for this API. For more information about common request parameters, see [common parameters](~~157269~~).'."\n" ."\n" - .'For more information about sample requests, see the **"Examples"** section of this topic.'."\n", - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'DescribeUnBlockCount' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + .'Refer to the request example in the **example** section for the request format.', + 'changeSet' => [ + ['createdAt' => '2024-08-30T07:13:07.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-06-30T06:49:56.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2022-09-08T03:34:24.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDomainResource'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeDomainResource', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'DescribeDomainStatusCodeCount' => [ + 'summary' => 'Queries the statistics on HTTP status codes of a website within a specified period.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -8181,22 +7060,37 @@ 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', - 'abilityTreeCode' => '106195', - 'abilityTreeNodes' => [ - 'FEATUREddosRTUJBH', - ], - 'tenantRelevance' => 'publicInformation', + 'abilityTreeCode' => '106133', + 'abilityTreeNodes' => ['FEATUREddos38XZ5J'], ], 'parameters' => [ [ 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'default', - ], + 'schema' => ['description' => 'The ID of the resource group to which the Anti-DDoS Proxy instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n" + ."\n" + .'For more information about resource groups, see [Create a resource group](~~94485~~).', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'rg-acfm2pz25js****'], + ], + [ + 'name' => 'StartTime', + 'in' => 'query', + 'schema' => ['description' => 'The start time of the query. The value is a UNIX timestamp. Unit: seconds.'."\n" + ."\n" + .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'title' => '', 'example' => '1582992000'], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => ['description' => 'The end time of the query. The value is a timestamp. Unit: seconds.'."\n" + ."\n" + .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'title' => '', 'example' => '1583683200'], + ], + [ + 'name' => 'Domain', + 'in' => 'query', + 'schema' => ['description' => 'The domain name of the website to query. If you leave this parameter unspecified, the statistics on all domain names are queried.'."\n" + ."\n" + .'> The domain name must be protected by Anti-DDoS Proxy. You can call [DescribeDomains](~~91724~~) to query all domain names that are protected by Anti-DDoS Proxy.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'www.aliyun.com'], ], ], 'responses' => [ @@ -8204,46 +7098,62 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E', - ], - 'TotalCount' => [ - 'description' => 'The total number of times that you can enable the near-origin traffic diversion feature.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'RemainCount' => [ - 'description' => 'The remaining number of times that you can enable the near-origin traffic diversion feature.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '7', - ], + 'Status502' => ['description' => 'The number of 502 status codes within the query time range.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '0'], + 'Status405' => ['description' => 'The number of 405 status codes within the query time range.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '0'], + 'Status3XX' => ['description' => 'The number of 3XX status codes within the query time range.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '133209'], + 'Status503' => ['description' => 'The number of 503 status codes within the query time range.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '0'], + 'Status4XX' => ['description' => 'The number of 4XX status codes within the query time range.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '5653'], + 'Status2XX' => ['description' => 'The number of 2XX status codes within the query time range.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '951472'], + 'Status5XX' => ['description' => 'The number of 5XX status codes within the query time range.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '14'], + 'Status504' => ['description' => 'The number of 504 status codes within the query time range.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '0'], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'title' => '', 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E'], + 'Status200' => ['description' => 'The number of 200 status codes within the query time range.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '951159'], + 'Status403' => ['description' => 'The number of 403 status codes within the query time range.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '0'], + 'Status404' => ['description' => 'The number of 404 status codes within the query time range.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '897'], + 'Status410' => ['description' => 'The number of 410 status codes within the query time range.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '0'], + 'Status499' => ['description' => 'The number of 499 status codes within the query time range.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '0'], + 'Status501' => ['description' => 'The number of 501 status codes within the query time range.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '0'], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E\\",\\n \\"TotalCount\\": 10,\\n \\"RemainCount\\": 7\\n}","errorExample":""},{"type":"xml","example":"\\r\\n\\r\\n\\tC33EB3D5-AF96-43CA-9C7E-37A81BC06A1E\\r\\n\\t10\\r\\n\\t7\\r\\n","errorExample":""}]', - 'title' => 'DescribeUnBlockCount', - 'summary' => 'Queries the total number and the remaining number of times that you can enable the near-origin traffic diversion feature.', - 'description' => '> This operation is suitable only for Anti-DDoS Proxy (Chinese Mainland).'."\n", - 'requestParamsDescription' => ' ', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Status502\\": 0,\\n \\"Status405\\": 0,\\n \\"Status3XX\\": 133209,\\n \\"Status503\\": 0,\\n \\"Status4XX\\": 5653,\\n \\"Status2XX\\": 951472,\\n \\"Status5XX\\": 14,\\n \\"Status504\\": 0,\\n \\"RequestId\\": \\"C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E\\",\\n \\"Status200\\": 951159,\\n \\"Status403\\": 0,\\n \\"Status404\\": 897,\\n \\"Status410\\": 0,\\n \\"Status499\\": 0,\\n \\"Status501\\": 0\\n}","type":"json"}]', + 'title' => 'DescribeDomainStatusCodeCount', + 'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information, see [Common parameters](https://help.aliyun.com/document_detail/157269.html).'."\n" + ."\n" + .'For the request format, see the examples in this topic.', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'EmptyAutoCcBlacklist' => [ - 'summary' => 'Clears the IP address blacklist of an Anti-DDoS Pro or Anti-DDoS Premium instance.', - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2024-11-26T02:15:31.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2022-09-08T03:34:23.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDomainStatusCodeCount'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeDomainStatusCodeCount', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'DescribeDomainStatusCodeList' => [ + 'summary' => 'Queries the statistics on HTTP status codes of a website.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -8252,26 +7162,52 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '106217', - 'abilityTreeNodes' => [ - 'FEATUREddosI8LHMA', - ], + 'operationType' => 'get', + 'abilityTreeCode' => '106134', + 'abilityTreeNodes' => ['FEATUREddos38XZ5J'], ], 'parameters' => [ [ - 'name' => 'InstanceId', + 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the instance.'."\n" - ."\n" - .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'ddoscoo-cn-mp91j1ao****', - ], + 'schema' => ['description' => 'The ID of the resource group to which the Anti-DDoS Proxy instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n" + ."\n" + .'For more information, see [Create a resource group](~~94485~~).', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'rg-acfm2pz25js****'], + ], + [ + 'name' => 'StartTime', + 'in' => 'query', + 'schema' => ['description' => 'The beginning of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n" + ."\n" + .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'title' => '', 'example' => '1582992000'], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => ['description' => 'The end of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n" + ."\n" + .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'title' => '', 'example' => '1583683200'], + ], + [ + 'name' => 'Interval', + 'in' => 'query', + 'schema' => ['description' => 'The interval for returning statistics. Unit: seconds.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'title' => '', 'example' => '1000'], + ], + [ + 'name' => 'Domain', + 'in' => 'query', + 'schema' => ['description' => 'The domain name of the website.'."\n" + ."\n" + .'> You can call [DescribeDomains](~~91724~~) to query all domain names of websites that are protected by Anti-DDoS Pro or Anti-DDoS Premium.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'www.example.com'], + ], + [ + 'name' => 'QueryType', + 'in' => 'query', + 'schema' => ['description' => 'The source of the statistics. Valid values:'."\n" + ."\n" + .'- **gf**: Anti-DDoS Pro or Anti-DDoS Premium response data.'."\n" + ."\n" + .'- **upstream**: origin server response data.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'upstream'], ], ], 'responses' => [ @@ -8279,31 +7215,72 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E', + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'title' => '', 'example' => '3B63C0DD-8AC5-44B2-95D6-064CA9296B9C'], + 'StatusCodeList' => [ + 'description' => 'The statistics on response status codes.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Index' => ['description' => 'The index number of the returned data.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '0'], + 'Status502' => ['description' => 'The statistics value of the 502 status code.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '0'], + 'Time' => ['description' => 'The time when the data was collected. The value is a timestamp. Unit: seconds.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '1582992000'], + 'Status405' => ['description' => 'The statistics value of the 405 status code.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '0'], + 'Status3XX' => ['description' => 'The statistics value of the 3XX status codes.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '0'], + 'Status503' => ['description' => 'The statistics value of the 503 status code.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '0'], + 'Status4XX' => ['description' => 'The statistics value of the 4XX status codes.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '4486'], + 'Status2XX' => ['description' => 'The statistics value of the 2XX status codes.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '15520'], + 'Status5XX' => ['description' => 'The statistics value of the 5XX status codes.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '0'], + 'Status504' => ['description' => 'The statistics value of the 504 status code.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '0'], + 'Status200' => ['description' => 'The statistics value of the 200 status code.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '15520'], + 'Status403' => ['description' => 'The statistics value of the 403 status code.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '0'], + 'Status404' => ['description' => 'The statistics value of the 404 status code.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '0'], + 'Status410' => ['type' => 'integer', 'format' => 'int64', 'description' => 'The statistics value of the 410 status code.', 'title' => '', 'example' => '0'], + 'Status499' => ['type' => 'integer', 'format' => 'int64', 'description' => 'The statistics value of the 499 status code.', 'title' => '', 'example' => '0'], + 'Status501' => ['description' => 'The statistics value of the 501 status code.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '0'], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E\\"\\n}","errorExample":""},{"type":"xml","example":"\\r\\n\\r\\n\\tC33EB3D5-AF96-43CA-9C7E-37A81BC06A1E\\r\\n","errorExample":""}]', - 'title' => 'EmptyAutoCcBlacklist', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'EmptyAutoCcWhitelist' => [ - 'summary' => 'Clears the IP address whitelist of an Anti-DDoS Pro or Anti-DDoS Premium instance.', - 'methods' => [ - 'post', - 'get', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"3B63C0DD-8AC5-44B2-95D6-064CA9296B9C\\",\\n \\"StatusCodeList\\": [\\n {\\n \\"Index\\": 0,\\n \\"Status502\\": 0,\\n \\"Time\\": 1582992000,\\n \\"Status405\\": 0,\\n \\"Status3XX\\": 0,\\n \\"Status503\\": 0,\\n \\"Status4XX\\": 4486,\\n \\"Status2XX\\": 15520,\\n \\"Status5XX\\": 0,\\n \\"Status504\\": 0,\\n \\"Status200\\": 15520,\\n \\"Status403\\": 0,\\n \\"Status404\\": 0,\\n \\"Status410\\": 0,\\n \\"Status499\\": 0,\\n \\"Status501\\": 0\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'DescribeDomainStatusCodeList', + 'changeSet' => [ + ['createdAt' => '2024-11-26T02:15:31.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2022-09-08T03:34:23.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeDomainStatusCodeList'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeDomainStatusCodeList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'DescribeDomainTopAttackList' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -8312,26 +7289,29 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '106218', - 'abilityTreeNodes' => [ - 'FEATUREddosI8LHMA', - ], + 'operationType' => 'get', + 'abilityTreeCode' => '106135', + 'abilityTreeNodes' => ['FEATUREddosRTUJBH'], ], 'parameters' => [ [ - 'name' => 'InstanceId', + 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the instance.'."\n" - ."\n" - .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'ddoscoo-cn-mp91j1ao****', - ], + 'schema' => ['description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.', 'type' => 'string', 'required' => false, 'example' => 'default', 'title' => ''], + ], + [ + 'name' => 'StartTime', + 'in' => 'query', + 'schema' => ['description' => 'The beginning of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n" + ."\n" + .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1582992000', 'title' => ''], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => ['description' => 'The end of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n" + ."\n" + .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1583683200', 'title' => ''], ], ], 'responses' => [ @@ -8339,85 +7319,119 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E', - ], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E', 'title' => ''], + 'AttackList' => [ + 'description' => 'The peak QPS of the website.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Attack' => ['description' => 'The attack QPS. Unit: QPS', 'type' => 'integer', 'format' => 'int64', 'example' => '0', 'title' => ''], + 'Domain' => ['description' => 'The domain name of the website.', 'type' => 'string', 'example' => 'www.aliyun.com', 'title' => ''], + 'Count' => ['description' => 'The number of all QPS, which includes normal and attack QPS. Unit: QPS.', 'type' => 'integer', 'format' => 'int64', 'example' => '294', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E\\"\\n}","errorExample":""},{"type":"xml","example":"\\r\\n\\r\\n\\tC33EB3D5-AF96-43CA-9C7E-37A81BC06A1E\\r\\n","errorExample":""}]', - 'title' => 'EmptyAutoCcWhitelist', - 'requestParamsDescription' => ' ', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E\\",\\n \\"AttackList\\": [\\n {\\n \\"Attack\\": 0,\\n \\"Domain\\": \\"www.aliyun.com\\",\\n \\"Count\\": 294\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'DescribeDomainTopAttackList', + 'summary' => 'Queries the peak queries per second (QPS) information about a website, such as the attack QPS and total QPS, within a specific period of time.', + 'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see [Common parameters](~~157269~~).'."\n" + ."\n" + .'For more information about sample requests, see the **"Examples"** section of this topic.', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'ConfigNetworkRegionBlock' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2025-06-18T03:05:19.000Z', 'description' => 'OpenAPI offline'], + ['createdAt' => '2025-06-18T03:05:18.000Z', 'description' => 'OpenAPI offline'], + ['createdAt' => '2022-09-08T03:34:23.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDomainTopAttackList'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeDomainTopAttackList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'DescribeDomainTopFingerprint' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', - 'abilityTreeCode' => '106056', - 'abilityTreeNodes' => [ - 'FEATUREddosOZ1QOD', - ], + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREddosRTUJBH'], ], 'parameters' => [ [ - 'name' => 'InstanceId', + 'name' => 'Region', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the instance.'."\n" - ."\n" - .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'ddoscoo-cn-mp91j1ao****', - ], + 'schema' => ['description' => 'The region of the service. Valid values:'."\n" + .'- **cn**: the Chinese mainland.'."\n" + .'- **cn-hongkong**: outside the Chinese mainland.', 'type' => 'string', 'required' => true, 'example' => 'cn', 'title' => ''], ], [ - 'name' => 'Config', + 'name' => 'Domain', 'in' => 'query', - 'schema' => [ - 'description' => 'The details of the configurations of blocked locations. This parameter is a JSON string. The value consists of the following fields:'."\n" - ."\n" - .'* **RegionBlockSwitch**: the status of the location blacklist feature. This field is required and must be of the string type. Valid values:'."\n" - ."\n" - .' * **on**'."\n" - .' * **off**'."\n" - ."\n" - .'* **Countries**: the codes of the countries and areas from which you want to block requests. This field is optional and must be of the array type.'."\n" - ."\n" - .' **'."\n" - ."\n" - .' **Note** For more information about the codes of countries and areas, see [Location parameters](~~167926~~).'."\n" - ."\n" - .'* **Provinces**: the codes of the administrative regions in China from which you want to block requests. This field is optional and must be of the array type.'."\n" - ."\n" - .' **'."\n" - ."\n" - .' **Note** For more information about the codes of administrative regions in China, see [Location parameters](~~167926~~).'."\n" - ."\n" - .' For example, `[11,12]` specifies Beijing and Tianjin.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '{"RegionBlockSwitch":"off","Countries":[],"Provinces":[11,12,13,14,15,21,22,23,31,32,33,34,35,36,37,41,42,43,44,45,46,50,51,52,53,54,61,62,63,64,65,71,81,82]}', - ], + 'schema' => ['description' => 'The domain name of the website.'."\n" + .'> The domain name must have a website traffic forwarding rule configured. You can call [DescribeDomains](~~91724~~) to query all domain names.', 'type' => 'string', 'required' => false, 'example' => 'example.aliyundoc.com'."\n", 'title' => ''], + ], + [ + 'name' => 'StartTime', + 'in' => 'query', + 'schema' => ['description' => 'The start time of the query. Specify a UNIX timestamp. Unit: seconds.'."\n" + .'> The value must be on the exact minute.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1719211800', 'title' => ''], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => ['description' => 'The end time of the query. Specify a UNIX timestamp. Unit: seconds.'."\n" + .'> The value must be on the exact minute.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1723552200', 'title' => ''], + ], + [ + 'name' => 'Limit', + 'in' => 'query', + 'schema' => ['description' => 'The number of data entries to return.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '10', 'title' => ''], + ], + [ + 'name' => 'Interval', + 'in' => 'query', + 'schema' => ['description' => 'The step size for returned data. Unit: seconds. This specifies the interval between consecutive results.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '60', 'title' => ''], + ], + [ + 'name' => 'QueryType', + 'in' => 'query', + 'schema' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], ], ], 'responses' => [ @@ -8425,34 +7439,56 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E', + 'RequestId' => ['description' => 'The ID of the request. The ID is a unique identifier that Alibaba Cloud generates for the request and can be used to troubleshoot issues.', 'type' => 'string', 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E', 'title' => ''], + 'DomainTopFp' => [ + 'description' => 'The list of client fingerprints for the website.', + 'type' => 'array', + 'items' => [ + 'description' => 'The client fingerprint for the website.', + 'type' => 'object', + 'properties' => [ + 'Fingerprinting' => ['description' => 'The client fingerprint.', 'type' => 'string', 'example' => '8a374c9724582b14a4cfa58c8c9fb2bc', 'title' => ''], + 'Pv' => ['description' => 'The number of request matches.', 'type' => 'integer', 'format' => 'int64', 'example' => '22121', 'title' => ''], + 'Domain' => ['description' => 'The domain name of the website.', 'type' => 'string', 'example' => 'example.aliyundoc.com'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E\\"\\n}","errorExample":""},{"type":"xml","example":"\\n C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E\\n","errorExample":""}]', - 'title' => 'ConfigNetworkRegionBlock', - 'summary' => 'Configures blocked locations for an Anti-DDoS Proxy instance.', - 'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see [Common parameters](~~157269~~).'."\n" - ."\n" - .'For more information about sample requests, see the **Examples** section of this topic.'."\n", - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'DescribeUdpReflect' => [ - 'methods' => [ - 'post', - 'get', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'Query top N client fingerprints for a website', + 'summary' => 'Queries the top N client fingerprints for a website.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeDomainTopFingerprint', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E\\",\\n \\"DomainTopFp\\": [\\n {\\n \\"Fingerprinting\\": \\"8a374c9724582b14a4cfa58c8c9fb2bc\\",\\n \\"Pv\\": 22121,\\n \\"Domain\\": \\"example.aliyundoc.com\\\\n\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeDomainTopHttpMethod' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -8461,37 +7497,46 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeCode' => '106193', - 'abilityTreeNodes' => [ - 'FEATUREddosRTUJBH', - ], + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREddosRTUJBH'], ], 'parameters' => [ [ - 'name' => 'InstanceId', + 'name' => 'Region', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the instance to query.'."\n" - ."\n" - .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'ddoscoo-cn-i7m25564****', - ], + 'schema' => ['description' => 'The region of the service. Valid values:'."\n" + .'- **cn**: the Chinese mainland.'."\n" + .'- **cn-hongkong**: outside the Chinese mainland.', 'type' => 'string', 'required' => true, 'example' => 'cn', 'title' => ''], ], [ - 'name' => 'RegionId', + 'name' => 'Domain', 'in' => 'query', - 'schema' => [ - 'description' => 'The region ID of the instance. Valid values:'."\n" - ."\n" - .'* **cn-hangzhou**: indicates an Anti-DDoS Proxy (Chinese Mainland) instance. This is the default value.'."\n" - .'* **ap-southeast-1**: indicates an Anti-DDoS Proxy (Outside Chinese Mainland) instance.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The domain name of the website.'."\n" + .'> The domain name must have a website forwarding rule configured. You can call [DescribeDomains](~~91724~~) to query all domain names.', 'type' => 'string', 'required' => false, 'example' => 'example.aliyundoc.com'."\n", 'title' => ''], + ], + [ + 'name' => 'StartTime', + 'in' => 'query', + 'schema' => ['description' => 'The start time of the query. Specify a UNIX timestamp. Unit: seconds.'."\n" + .'> The value must be on the hour or on the minute.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1712449710', 'title' => ''], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => ['description' => 'The end time of the query. Specify a UNIX timestamp. Unit: seconds.'."\n" + .'> The value must be on the hour or on the minute.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1722339300', 'title' => ''], + ], + [ + 'name' => 'Limit', + 'in' => 'query', + 'schema' => ['description' => 'The number of entries to return.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '20', 'title' => ''], + ], + [ + 'name' => 'QueryType', + 'in' => 'query', + 'schema' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], ], ], 'responses' => [ @@ -8499,110 +7544,104 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'F97A8766-FB4D-411A-9CD5-2CFF701B592F', - ], - 'UdpSports' => [ - 'description' => 'An array consisting of the source ports of the UDP traffic that are filtered out by the filtering policies for UDP reflection attacks.'."\n", + 'RequestId' => ['description' => 'The ID of the request. The ID is a unique identifier that Alibaba Cloud generates for the request and can be used to troubleshoot issues.', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80', 'title' => ''], + 'DomainTopMethod' => [ + 'description' => 'The list of top HTTP methods for the domain name.', 'type' => 'array', 'items' => [ - 'description' => 'The source port of the UDP traffic that is filtered out by the filtering policies for UDP reflection attacks.'."\n", - 'type' => 'string', - 'example' => '17', + 'description' => 'The HTTP method of the domain name.', + 'type' => 'object', + 'properties' => [ + 'HttpMethod' => ['description' => 'The HTTP method of the domain name.', 'type' => 'string', 'example' => 'GET', 'title' => ''], + 'Pv' => ['description' => 'The number of matching requests.', 'type' => 'integer', 'format' => 'int64', 'example' => '22121', 'title' => ''], + 'Domain' => ['description' => 'The domain name of the website.', 'type' => 'string', 'example' => 'example.aliyundoc.com'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"F97A8766-FB4D-411A-9CD5-2CFF701B592F\\",\\n \\"UdpSports\\": [\\n \\"17\\"\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\r\\n\\r\\n\\tF97A8766-FB4D-411A-9CD5-2CFF701B592F\\r\\n\\t17\\r\\n\\t19\\r\\n\\t69\\r\\n\\t111\\r\\n\\t123\\r\\n\\t137\\r\\n\\t161\\r\\n\\t389\\r\\n\\t1194\\r\\n\\t1900\\r\\n\\t3389\\r\\n\\t11211\\r\\n\\t11212\\r\\n","errorExample":""}]', - 'title' => 'DescribeUdpReflect', - 'summary' => 'Queries the source ports of UDP traffic that are filtered out by the filtering policies for UDP reflection attacks on an Anti-DDoS Pro or Anti-DDoS Premium instance.', - 'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see [Common parameters](~~157269~~).'."\n" - ."\n" - .'For more information about sample requests, see the **"Examples"** section of this topic.'."\n", - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'ConfigUdpReflect' => [ - 'methods' => [ - 'post', - 'get', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'Query top HTTP methods for a website', + 'summary' => 'Queries the top N HTTP methods for a website.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeDomainTopHttpMethod', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\",\\n \\"DomainTopMethod\\": [\\n {\\n \\"HttpMethod\\": \\"GET\\",\\n \\"Pv\\": 22121,\\n \\"Domain\\": \\"example.aliyundoc.com\\\\n\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeDomainTopReferer' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', - 'abilityTreeCode' => '106059', - 'abilityTreeNodes' => [ - 'FEATUREddosN7DYCX', - ], + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREddosRTUJBH'], ], 'parameters' => [ [ - 'name' => 'InstanceId', + 'name' => 'Region', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the instance.'."\n" - ."\n" - .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'ddoscoo-cn-i7m25564****', - ], + 'schema' => ['description' => 'The region of the service. Valid values:'."\n" + .'- **cn**: the Chinese mainland.'."\n" + .'- **cn-hongkong**: outside the Chinese mainland.', 'type' => 'string', 'required' => true, 'example' => 'cn', 'title' => ''], ], [ - 'name' => 'Config', + 'name' => 'Domain', 'in' => 'query', - 'schema' => [ - 'description' => 'The configuration of the filtering policy for UDP reflection attacks.'."\n" - ."\n" - .'The value is a string that consists of a JSON struct. The JSON struct contains the following field:'."\n" - ."\n" - .'* **UdpSports**: the source ports of the UDP traffic that you want to block. This field is required and must be of the ARRAY type. Example: `[17,19]`.'."\n" - ."\n" - .' We recommend that you block the following source ports of UDP traffic:'."\n" - ."\n" - .' * UDP 17: QOTD reflection attacks'."\n" - .' * UDP 19: CharGEN reflection attacks'."\n" - .' * UDP 69: TFTP reflection attacks'."\n" - .' * UDP 111: Portmap reflection attacks'."\n" - .' * UDP 123: NTP reflection attacks'."\n" - .' * UDP 137: NetBIOS reflection attacks'."\n" - .' * UDP 161: SNMPv2 reflection attacks'."\n" - .' * UDP 389: CLDAP reflection attacks'."\n" - .' * UDP 1194: OpenVPN reflection attacks'."\n" - .' * UDP 1900: SSDP reflection attacks'."\n" - .' * UDP 3389: RDP reflection attacks'."\n" - .' * UDP 11211: memcached reflection attacks'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '{\\"UdpSports\\":[17,19]}', - ], + 'schema' => ['description' => 'The domain name of the website service.'."\n" + .'> The domain name must have a website traffic forwarding rule configured. You can call [DescribeDomains](~~91724~~) to query all domain names.', 'type' => 'string', 'required' => false, 'example' => 'example.aliyundoc.com'."\n", 'title' => ''], ], [ - 'name' => 'RegionId', + 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => 'The region ID of the Anti-DDoS Proxy instance. Valid values:'."\n" - ."\n" - .'* **cn-hangzhou**: indicates an Anti-DDoS Proxy (Chinese Mainland) instance. This is the default value.'."\n" - .'* **ap-southeast-1**: indicates an Anti-DDoS Proxy (Outside Chinese Mainland) instance.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The start time of the query. This value is a UNIX timestamp. Unit: seconds.'."\n" + .'> The value must be on the hour or half hour.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1701991920', 'title' => ''], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => ['description' => 'The end time of the query. This value is a UNIX timestamp. Unit: seconds.'."\n" + .'> The value must be on the hour or half hour.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1721561100', 'title' => ''], + ], + [ + 'name' => 'Limit', + 'in' => 'query', + 'schema' => ['description' => 'The number of data entries to return.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '10', 'title' => ''], + ], + [ + 'name' => 'QueryType', + 'in' => 'query', + 'schema' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], ], ], 'responses' => [ @@ -8610,240 +7649,199 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '9EC62E89-BD30-4FCD-9CB8-FA53865FF0D7', + 'RequestId' => ['description' => 'The ID of the request. The ID is a unique identifier that Alibaba Cloud generates for the request and can be used to troubleshoot issues.', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80', 'title' => ''], + 'DomainTopReferer' => [ + 'description' => 'The top referer data of the website.', + 'type' => 'array', + 'items' => [ + 'description' => 'The referer data.', + 'type' => 'object', + 'properties' => [ + 'Referer' => ['description' => 'The Base64-encoded value of the referer.', 'type' => 'string', 'example' => 'aHR0cHM6Ly9zZXJ2aWNld2VjaGF0LmNvbS93eGY3ZDc5YWY0YzU4ZDH3NTEvNC9wYWdlLWZyYW1lLmh0bWw=', 'title' => ''], + 'Pv' => ['description' => 'The number of request matches.', 'type' => 'integer', 'format' => 'int64', 'example' => '257031', 'title' => ''], + 'Domain' => ['description' => 'The domain name of the website service.', 'type' => 'string', 'example' => 'example.aliyundoc.com'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"9EC62E89-BD30-4FCD-9CB8-FA53865FF0D7\\"\\n}","errorExample":""},{"type":"xml","example":"\\r\\n\\r\\n\\t9EC62E89-BD30-4FCD-9CB8-FA53865FF0D7\\r\\n","errorExample":""}]', - 'title' => 'ConfigUdpReflect', - 'summary' => 'Adds the filtering policies for UDP reflection attacks on an Anti-DDoS Pro or Anti-DDoS Premium instance to filter out the source ports of UDP traffic.', - 'description' => 'You can call this operation to configure filtering policies to filter out UDP traffic from specific ports. This helps defend against UDP reflection attacks.'."\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", - 'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see [Common parameters](~~157269~~).'."\n" - ."\n" - .'For more information about sample requests, see the **"Examples"** section of this topic.'."\n", - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'CreateWebCCRule' => [ - 'methods' => [ - 'post', - 'get', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'Query top referers of a website', + 'summary' => 'Queries the top N referers of a website.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeDomainTopReferer', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\",\\n \\"DomainTopReferer\\": [\\n {\\n \\"Referer\\": \\"aHR0cHM6Ly9zZXJ2aWNld2VjaGF0LmNvbS93eGY3ZDc5YWY0YzU4ZDH3NTEvNC9wYWdlLWZyYW1lLmh0bWw=\\",\\n \\"Pv\\": 257031,\\n \\"Domain\\": \\"example.aliyundoc.com\\\\n\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeDomainTopUserAgent' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'deprecated' => true, + 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'create', - 'abilityTreeCode' => '106074', - 'abilityTreeNodes' => [ - 'FEATUREddosOZ1QOD', - ], + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREddosRTUJBH'], ], 'parameters' => [ [ - 'name' => 'ResourceGroupId', + 'name' => 'Region', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the resource group to which the Anti-DDoS Proxy instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n" - ."\n" - .'For more information about resource groups, see [Create a resource group](~~94485~~).'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'rg-acfm2pz25js****', - ], + 'schema' => ['description' => 'The region of the service. Valid values:'."\n" + .'- **cn**: the Chinese mainland.'."\n" + .'- **cn-hongkong**: outside the Chinese mainland.', 'type' => 'string', 'required' => true, 'example' => 'cn', 'title' => ''], ], [ 'name' => 'Domain', 'in' => 'query', - 'schema' => [ - 'description' => 'The domain name of the website.'."\n" - ."\n" - .'> A forwarding rule must be configured for the domain name. You can call the [DescribeDomains](~~91724~~) operation to query all domain names.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'www.aliyun.com', - ], - ], - [ - 'name' => 'Name', - 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the rule. The name can be up to 128 characters in length and contain letters, digits, and underscores (\\_).'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'testrule', - ], - ], - [ - 'name' => 'Act', - 'in' => 'query', - 'schema' => [ - 'description' => 'The action on the requests that trigger the custom frequency control rule. Valid values:'."\n" - ."\n" - .'* **close**: blocks the requests.'."\n" - .'* **captcha**: triggers Completely Automated Public Turing test to tell Computers and Humans Apart (CAPTCHA) verification for the requests.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'close', - ], - ], - [ - 'name' => 'Count', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '60', - ], + 'schema' => ['description' => 'The domain name of the website service.'."\n" + .'> The domain name must have a website forwarding rule configured. You can call [DescribeDomains](~~91724~~) to query all domain names.', 'type' => 'string', 'required' => false, 'example' => 'www.example.com'."\n", 'title' => ''], ], [ - 'name' => 'Interval', + 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '20', - ], + 'schema' => ['description' => 'The start time of the query. This value is a UNIX timestamp. Unit: seconds.'."\n" + .'> The value must be on the hour or half hour.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1609430400', 'title' => ''], ], [ - 'name' => 'Mode', + 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => 'The matching mode. Valid values:'."\n" - ."\n" - .'* **prefix**: prefix match.'."\n" - .'* **match**: exact match.'."\n" - ."\n" - .'> If the **URI** of the check path contains parameters, you must set this parameter to **prefix**.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'prefix', - ], + 'schema' => ['description' => 'The end time of the query. This value is a UNIX timestamp. Unit: seconds.'."\n" + .'> The value must be on the hour or half hour.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1708352700', 'title' => ''], ], [ - 'name' => 'Ttl', + 'name' => 'Limit', 'in' => 'query', - 'schema' => [ - 'description' => 'The blocking duration. Valid values: **60** to **86400**. Unit: seconds.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '60', - ], + 'schema' => ['description' => 'The number of entries to return.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '20', 'title' => ''], ], [ - 'name' => 'Uri', + 'name' => 'QueryType', 'in' => 'query', - 'schema' => [ - 'description' => 'The check path.'."\n" - ."\n" - .'> The URI cannot be modified. The domain name of the website, the check path, and the rule name uniquely identify a rule.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '/abc/a.php', - ], + 'schema' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => 'The response parameters.'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc', + 'RequestId' => ['description' => 'The ID of the request. The ID is a unique identifier that Alibaba Cloud generates for the request and can be used to troubleshoot issues.', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80', 'title' => ''], + 'DomainTopUa' => [ + 'description' => 'The list of User-Agent data.', + 'type' => 'array', + 'items' => [ + 'description' => 'The User-Agent data.', + 'type' => 'object', + 'properties' => [ + 'UserAgent' => ['description' => 'The Base64-encoded value of the User-Agent.', 'type' => 'string', 'example' => 'TW96aWxsYS81LjAgKFgxMTsgTGludXggeDg2XzY0KSBBcHBsZVdlYktpdC81MzcuMzYgKEtIVE1MLCBsaWtlIEdlY2tvKSBDaHJvbWUvOTYuMC40NjY0LjExMCACYWZhcmkvNTM3LjM2', 'title' => ''], + 'Pv' => ['description' => 'The number of request matches.', 'type' => 'integer', 'format' => 'int64', 'example' => '22121', 'title' => ''], + 'Domain' => ['description' => 'The website domain name.', 'type' => 'string', 'example' => 'www.example.com'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'substitutions' => [ - 'ddoscoo::2020-01-01::ConfigWebCCRuleV2', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'Query top user-Agents for a website', + 'summary' => 'Queries the top User-Agents for a website.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeDomainTopUserAgent', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}","type":"json"}]', - 'title' => 'CreateWebCCRule', - 'summary' => 'Creates a custom frequency control rule for a website.', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\",\\n \\"DomainTopUa\\": [\\n {\\n \\"UserAgent\\": \\"TW96aWxsYS81LjAgKFgxMTsgTGludXggeDg2XzY0KSBBcHBsZVdlYktpdC81MzcuMzYgKEtIVE1MLCBsaWtlIEdlY2tvKSBDaHJvbWUvOTYuMC40NjY0LjExMCACYWZhcmkvNTM3LjM2\\",\\n \\"Pv\\": 22121,\\n \\"Domain\\": \\"www.example.com\\\\n\\"\\n }\\n ]\\n}","type":"json"}]', ], - 'DeleteWebCCRule' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DescribeDomainViewSourceCountries' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'deprecated' => true, + 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'delete', - 'abilityTreeCode' => '106089', - 'abilityTreeNodes' => [ - 'FEATUREddosOZ1QOD', - ], + 'operationType' => 'get', + 'abilityTreeCode' => '106136', + 'abilityTreeNodes' => ['FEATUREddosRTUJBH'], ], 'parameters' => [ [ 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'default', - ], + 'schema' => ['description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n", 'type' => 'string', 'required' => false, 'example' => 'default', 'title' => ''], ], [ - 'name' => 'Domain', + 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => 'The domain name of the website.'."\n" - ."\n" - .'> A forwarding rule must be configured for a domain name. You can call the [DescribeDomains](~~91724~~) operation to query all domain names.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'www.aliyun.com', - ], + 'schema' => ['description' => 'The beginning of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n" + ."\n" + .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1582992000', 'title' => ''], ], [ - 'name' => 'Name', + 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the custom frequency control rule that you want to delete.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'wq', - ], + 'schema' => ['description' => 'The end of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n" + ."\n" + .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1583683200', 'title' => ''], + ], + [ + 'name' => 'Domain', + 'in' => 'query', + 'schema' => ['description' => 'The domain name of the website.'."\n" + ."\n" + .'> A forwarding rule must be configured for the domain name. You can call the [DescribeDomains](~~91724~~) operation to query all domain names.'."\n", 'type' => 'string', 'required' => false, 'example' => 'www.aliyun.com', 'title' => ''], ], ], 'responses' => [ @@ -8851,38 +7849,63 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc', + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E', 'title' => ''], + 'SourceCountrys' => [ + 'description' => 'An array consisting of the country or area from which the requests are sent.'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Count' => ['description' => 'The total number of requests.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '3390671', 'title' => ''], + 'CountryId' => ['description' => 'The abbreviation of the country or area. For more information, see the **Codes of countries and areas** section of the [Codes of administrative regions in China and codes of countries and areas](~~167926~~) topic. For example, **cn** indicates China, and **us** indicates the United States.'."\n", 'type' => 'string', 'example' => 'cn', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'substitutions' => [ - 'ddoscoo::2020-01-01::DeleteWebCCRuleV2', - ], - ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}","errorExample":""},{"type":"xml","example":"\\r\\n\\r\\n\\t0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\r\\n","errorExample":""}]', - 'title' => 'DeleteWebCCRule', - 'summary' => 'Deletes a custom frequency control rule of a website.', - 'requestParamsDescription' => ' ', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E\\",\\n \\"SourceCountrys\\": [\\n {\\n \\"Count\\": 3390671,\\n \\"CountryId\\": \\"cn\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\r\\n\\r\\n\\tC33EB3D5-AF96-43CA-9C7E-37A81BC06A1E\\r\\n\\t\\r\\n\\t\\t3390671\\r\\n\\t\\tcn\\r\\n\\t\\r\\n","errorExample":""}]', + 'title' => 'DescribeDomainViewSourceCountries', + 'summary' => 'Queries the areas and countries from which requests are sent to a website within a specified period of time.', + 'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see [Common parameters](~~157269~~).'."\n" + ."\n" + .'For more information about sample requests, see the **"Examples"** section of this topic.'."\n", 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DeleteWebPreciseAccessRule' => [ - 'summary' => 'Deletes the accurate access control rules that are created for a website.', - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:23.000Z', 'description' => 'Error codes changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDomainViewSourceCountries'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeDomainViewSourceCountries', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'DescribeDomainViewSourceProvinces' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -8891,54 +7914,36 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'delete', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '106090', - 'abilityTreeNodes' => [ - 'FEATUREddosI8LHMA', - ], + 'operationType' => 'get', + 'abilityTreeCode' => '106137', + 'abilityTreeNodes' => ['FEATUREddosRTUJBH'], ], 'parameters' => [ [ 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'default', - ], + 'schema' => ['description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n", 'type' => 'string', 'required' => false, 'example' => 'default', 'title' => ''], ], [ - 'name' => 'Domain', + 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => 'The domain name of the website.'."\n" - ."\n" - .'> A forwarding rule must be configured for the domain name. You can call the [DescribeDomains](~~91724~~) operation to query all domain names.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'www.aliyun.com', - ], + 'schema' => ['description' => 'The beginning of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n" + ."\n" + .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1582992000', 'title' => ''], ], [ - 'name' => 'RuleNames', + 'name' => 'EndTime', 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => 'An array that consists of the names of rules to delete.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The name of the rule.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'testrule', - ], - 'required' => true, - 'example' => 'testrule', - 'maxItems' => 10, - ], + 'schema' => ['description' => 'The end of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n" + ."\n" + .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1583683200', 'title' => ''], + ], + [ + 'name' => 'Domain', + 'in' => 'query', + 'schema' => ['description' => 'The domain name of the website.'."\n" + ."\n" + .'> A forwarding rule must be configured for the domain name. You can call the [DescribeDomains](~~91724~~) operation to query all domain names.'."\n", 'type' => 'string', 'required' => false, 'example' => 'www.aliyun.com', 'title' => ''], ], ], 'responses' => [ @@ -8946,30 +7951,63 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc', + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E', 'title' => ''], + 'SourceProvinces' => [ + 'description' => 'An array consisting of the details of the administrative region in China from which the requests are sent.'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'ProvinceId' => ['description' => 'The ID of the region inside China. For more information, see the **Codes of administrative regions in China** section of the [Codes of administrative regions in China and codes of countries and areas](~~167926~~) topic. For example, **110000** indicates Beijing, and **120000** indicates Tianjin.'."\n", 'type' => 'string', 'example' => '440000', 'title' => ''], + 'Count' => ['description' => 'The total number of requests.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '3390671', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}","errorExample":""},{"type":"xml","example":"\\r\\n\\r\\n\\t0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\r\\n","errorExample":""}]', - 'title' => 'DeleteWebPreciseAccessRule', - 'requestParamsDescription' => ' ', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E\\",\\n \\"SourceProvinces\\": [\\n {\\n \\"ProvinceId\\": \\"440000\\",\\n \\"Count\\": 3390671\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\r\\n\\r\\n\\tC33EB3D5-AF96-43CA-9C7E-37A81BC06A1E\\r\\n\\t\\r\\n\\t\\t3390671\\r\\n\\t\\t440000\\r\\n\\t\\r\\n","errorExample":""}]', + 'title' => 'DescribeDomainViewSourceProvinces', + 'summary' => 'Queries the administrative regions in China from which requests are sent to a website within a specified period of time.', + 'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see [Common parameters](~~157269~~).'."\n" + ."\n" + .'For more information about sample requests, see the **"Examples"** section of this topic.'."\n", 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'ModifyWebAIProtectSwitch' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:23.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDomainViewSourceProvinces'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeDomainViewSourceProvinces', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'DescribeDomainViewTopCostTime' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -8978,49 +8016,41 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', - 'abilityTreeCode' => '106261', - 'abilityTreeNodes' => [ - 'FEATUREddosI8LHMA', - ], + 'operationType' => 'get', + 'abilityTreeCode' => '106138', + 'abilityTreeNodes' => ['FEATUREddosRTUJBH'], ], 'parameters' => [ [ 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'default', - ], + 'schema' => ['description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n", 'type' => 'string', 'required' => false, 'example' => 'default', 'title' => ''], + ], + [ + 'name' => 'StartTime', + 'in' => 'query', + 'schema' => ['description' => 'The beginning of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n" + ."\n" + .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1582992000', 'title' => ''], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => ['description' => 'The end of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n" + ."\n" + .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1583683200', 'title' => ''], ], [ 'name' => 'Domain', 'in' => 'query', - 'schema' => [ - 'description' => 'The domain name of the website.'."\n" - ."\n" - .'> A forwarding rule must be configured for a domain name. You can call the [DescribeDomains](~~91724~~) operation to query all domain names.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'www.aliyun.com', - ], + 'schema' => ['description' => 'The domain name of the website.'."\n" + ."\n" + .'> A forwarding rule must be configured for the domain name. You can call the [DescribeDomains](~~91724~~) operation to query all domain names.'."\n", 'type' => 'string', 'required' => false, 'example' => 'www.aliyun.com', 'title' => ''], ], [ - 'name' => 'Config', + 'name' => 'Top', 'in' => 'query', - 'schema' => [ - 'description' => 'The details of the Intelligent Protection policy. This parameter is a JSON string. The string contains the following fields:'."\n" - ."\n" - .'* **AiRuleEnable**: the status of the Intelligent Protection policy. This field is required and must be of the integer type. Valid values:'."\n" - ."\n" - .' * **0**: disabled'."\n" - .' * **1**: enabled'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '{"AiRuleEnable": 1}', - ], + 'schema' => ['description' => 'The number of URLs to query. Valid values: **1** to **100**.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => true, 'maximum' => '100', 'minimum' => '1', 'example' => '5', 'title' => ''], ], ], 'responses' => [ @@ -9028,31 +8058,64 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc', - ], - ], - ], - ], - ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}","errorExample":""},{"type":"xml","example":"\\r\\n\\r\\n\\t0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\r\\n","errorExample":""}]', - 'title' => 'ModifyWebAIProtectSwitch', - 'summary' => 'Enables or disables the Intelligent Protection policy for a website.', - 'requestParamsDescription' => ' ', + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E', 'title' => ''], + 'UrlList' => [ + 'description' => 'The URLs which require the longest time to respond to requests.'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'CostTime' => ['description' => 'The response duration. Unit: milliseconds.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '3000', 'title' => ''], + 'Url' => ['description' => 'The URL that is Base64-encoded.'."\n", 'type' => 'string', 'example' => 'Lw==', 'title' => ''], + 'Domain' => ['description' => 'The domain name of the website.'."\n", 'type' => 'string', 'example' => 'www.aliyun.com', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E\\",\\n \\"UrlList\\": [\\n {\\n \\"CostTime\\": 3000,\\n \\"Url\\": \\"Lw==\\",\\n \\"Domain\\": \\"www.aliyun.com\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\r\\n\\r\\n\\tC33EB3D5-AF96-43CA-9C7E-37A81BC06A1E\\r\\n\\t\\r\\n\\t\\t3000\\r\\n\\t\\twww.aliyun.com\\r\\n\\t\\tLw==\\r\\n\\t\\r\\n","errorExample":""}]', + 'title' => 'DescribeDomainViewTopCostTime', + 'summary' => 'Queries the top N URLs that require the longest time to respond to requests within a specified period of time.', + 'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see [Common parameters](~~157269~~).'."\n" + ."\n" + .'For more information about sample requests, see the **"Examples"** section of this topic.'."\n", 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'ModifyWebAIProtectMode' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:23.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDomainViewTopCostTime'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeDomainViewTopCostTime', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'DescribeDomainViewTopUrl' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -9061,55 +8124,58 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', - 'abilityTreeCode' => '106260', - 'abilityTreeNodes' => [ - 'FEATUREddosRTUJBH', - ], + 'operationType' => 'get', + 'abilityTreeCode' => '106139', + 'abilityTreeNodes' => ['FEATUREddosRTUJBH'], ], 'parameters' => [ [ 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'default', - ], + 'schema' => ['description' => 'The ID of the resource group to which the Anti-DDoS Pro instance belongs in Resource Management. If you do not specify this parameter, the instance belongs to the default resource group.', 'type' => 'string', 'required' => false, 'example' => 'default', 'title' => ''], + ], + [ + 'name' => 'StartTime', + 'in' => 'query', + 'schema' => ['description' => 'The beginning of the time range to query. This is a UNIX timestamp. Unit: seconds.'."\n" + ."\n" + .'> The timestamp must be at the beginning of a minute.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1582992000', 'title' => ''], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => ['description' => 'The end of the time range to query. This is a UNIX timestamp. Unit: seconds.'."\n" + ."\n" + .'> The timestamp must be at the beginning of a minute.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1583683200', 'title' => ''], ], [ 'name' => 'Domain', 'in' => 'query', - 'schema' => [ - 'description' => 'The domain name of the website.'."\n" - ."\n" - .'> A forwarding rule must be configured for the domain name. You can call the [DescribeDomains](~~474212~~) operation to query all domain names.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'www.aliyun.com', - ], + 'schema' => ['description' => 'The domain name of the website.'."\n" + ."\n" + .'> You must have configured forwarding rules for the domain name. You can call the [DescribeDomains](~~91724~~) operation to query all domain names.', 'type' => 'string', 'required' => false, 'example' => 'www.aliyun.com', 'title' => ''], ], [ - 'name' => 'Config', + 'name' => 'Top', 'in' => 'query', - 'schema' => [ - 'description' => 'The details of the Intelligent Protection policy. This parameter is a JSON string. The string contains the following fields:'."\n" - ."\n" - .'* **AiTemplate**: the level of the Intelligent Protection policy. This field is required and must be of the STRING type. Valid values:'."\n" - ."\n" - .' * **level30**: the Low level'."\n" - .' * **level60**: the Normal level'."\n" - .' * **level90**: the Strict level'."\n" - ."\n" - .'* **AiMode**: the mode of the Intelligent Protection policy. This field is required and must be of the string type. Valid values:'."\n" - ."\n" - .' * **watch**: the Warning mode'."\n" - .' * **defense**: the Defense mode'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '{"AiTemplate":"level60","AiMode":"defense"}', - ], + 'schema' => ['description' => 'The number of top URLs to return. Valid values: **1** to **100**.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'maximum' => '100', 'minimum' => '1', 'example' => '5', 'title' => ''], + ], + [ + 'name' => 'Inerval', + 'in' => 'query', + 'schema' => ['description' => 'The data aggregation interval. Unit: seconds. The supported value of this parameter varies based on the time range. The time range is determined by the **StartTime** and **EndTime** parameters. We recommend that you specify the following values:'."\n" + ."\n" + .'- If the time range is no more than 1 hour, we recommend that you specify this parameter to a value of at least 60.'."\n" + ."\n" + .'- If the time range is from 1 to 6 hours, we recommend that you specify this parameter to a value of at least 600.'."\n" + ."\n" + .'- If the time range is from 6 to 24 hours, we recommend that you specify this parameter to a value of at least 1,800.'."\n" + ."\n" + .'- If the time range is from 24 hours to 7 days, we recommend that you specify this parameter to a value of at least 3,600.'."\n" + ."\n" + .'- If the time range is from 7 to 15 days, we recommend that you specify this parameter to a value of at least 14,400.'."\n" + ."\n" + .'- If the time range is more than 15 days, we recommend that you specify this parameter to a value of at least 43,200.', 'type' => 'integer', 'format' => 'int64', 'default' => '3600', 'required' => false, 'example' => '60', 'title' => ''], ], ], 'responses' => [ @@ -9117,32 +8183,49 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc', + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E', 'title' => ''], + 'UrlList' => [ + 'description' => 'An array of the top URLs that are ranked by the number of requests.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Url' => ['description' => 'The URL that is Base64-encoded.', 'type' => 'string', 'example' => 'Lw==', 'title' => ''], + 'Domain' => ['description' => 'The domain name of the website.', 'type' => 'string', 'example' => 'www.aliyun.com', 'title' => ''], + 'Count' => ['description' => 'The number of requests.', 'type' => 'integer', 'format' => 'int64', 'example' => '3390671', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], ], - 'description' => '', + 'description' => 'The response.', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}","errorExample":""},{"type":"xml","example":"\\r\\n\\r\\n\\t0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\r\\n","errorExample":""}]', - 'title' => 'ModifyWebAIProtectMode', - 'summary' => 'Changes the mode of the intelligent protection feature for a website.', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'ModifyWebIpSetSwitch' => [ - 'methods' => [ - 'post', - 'get', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E\\",\\n \\"UrlList\\": [\\n {\\n \\"Url\\": \\"Lw==\\",\\n \\"Domain\\": \\"www.aliyun.com\\",\\n \\"Count\\": 3390671\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'DescribeDomainViewTopUrl', + 'summary' => 'This operation queries the top URLs by request count for a website service within a specified time range.', + 'changeSet' => [ + ['createdAt' => '2025-03-17T02:34:03.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2022-09-08T03:34:23.000Z', 'description' => 'Error codes changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDomainViewTopUrl'], + ], ], + 'ramActions' => [], + 'extraInfo' => ' ', + ], + 'DescribeDomains' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -9151,48 +8234,33 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', - 'abilityTreeCode' => '106268', - 'abilityTreeNodes' => [ - 'FEATUREddosI8LHMA', - ], + 'operationType' => 'get', + 'abilityTreeCode' => '106131', + 'abilityTreeNodes' => ['FEATUREddos64TBV6'], + 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'default', - ], - ], - [ - 'name' => 'Domain', - 'in' => 'query', - 'schema' => [ - 'description' => 'The domain name of the website.'."\n" - ."\n" - .'> A forwarding rule must be configured for the domain name. You can call the [DescribeDomains](~~91724~~) operation to query all domain names.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'www.aliyun.com', - ], + 'schema' => ['description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n" + ."\n" + .'For more information about resource groups, see [Create a resource group](~~94485~~).'."\n", 'type' => 'string', 'required' => false, 'example' => 'rg-acfm2pz25js****', 'title' => ''], ], [ - 'name' => 'Config', + 'name' => 'InstanceIds', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => 'The details of the Blacklist/Whitelist (Domain Names) feature. This parameter is a JSON string. The value consists of the following fields:'."\n" - ."\n" - .'**bwlist_enable**: the status of the Blacklist/Whitelist (Domain Names) feature. This field is required and must be of the integer type. Valid values:'."\n" + 'description' => 'The ID of the instance that you want to query.'."\n" ."\n" - .'* 0: turned off'."\n" - .'* 1: turned on'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '{"BwlistEnable":1}', + .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.'."\n", + 'type' => 'array', + 'items' => ['description' => 'The ID of the instance.'."\n", 'type' => 'string', 'required' => false, 'example' => 'ddoscoo-cn-mp91j1ao****', 'title' => ''], + 'required' => false, + 'example' => 'ddoscoo-cn-mp91j1ao****', + 'maxItems' => 100, + 'title' => '', ], ], ], @@ -9201,31 +8269,51 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc', + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'F908E959-ADA8-4D7B-8A05-FF2F67F50964', 'title' => ''], + 'Domains' => [ + 'description' => 'An array consisting of details of the domain name for which the forwarding rules are configured.'."\n", + 'type' => 'array', + 'items' => ['description' => 'The domain name for which forwarding rules are configured.'."\n", 'type' => 'string', 'example' => 'www.aliyun***.com', 'title' => ''], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}","errorExample":""},{"type":"xml","example":"\\r\\n\\r\\n\\t0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\r\\n","errorExample":""}]', - 'title' => 'ModifyWebIpSetSwitch', - 'summary' => 'Enables or disables the Black Lists and White Lists (Domain Names) policy for a domain name.', - 'requestParamsDescription' => ' ', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"F908E959-ADA8-4D7B-8A05-FF2F67F50964\\",\\n \\"Domains\\": [\\n \\"www.aliyun***.com\\"\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\r\\n\\r\\n\\twww.aliyun.com\\r\\n\\tF908E959-ADA8-4D7B-8A05-FF2F67F50964\\r\\n","errorExample":""}]', + 'title' => 'DescribeDomains', + 'summary' => 'Queries domain names for which forwarding rules are created.', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'EnableWebCC' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:24.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDomains'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeDomains', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'DescribeElasticBandwidthSpec' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -9234,34 +8322,17 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', - 'abilityTreeCode' => '106222', - 'abilityTreeNodes' => [ - 'FEATUREddosOZ1QOD', - ], + 'operationType' => 'get', + 'abilityTreeCode' => '106142', + 'abilityTreeNodes' => ['FEATUREddosIJFWZ1'], ], 'parameters' => [ [ - 'name' => 'ResourceGroupId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'default', - ], - ], - [ - 'name' => 'Domain', + 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The domain name of the website.'."\n" - ."\n" - .'> A forwarding rule must be configured for the domain name. You can call the [DescribeDomains](~~91724~~) operation to query all domain names.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'www.aliyun.com', - ], + 'schema' => ['description' => 'The ID of the instance.'."\n" + ."\n" + .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.'."\n", 'type' => 'string', 'required' => true, 'example' => 'ddoscoo-cn-mp91j1ao****', 'title' => ''], ], ], 'responses' => [ @@ -9269,31 +8340,54 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc', + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc', 'title' => ''], + 'ElasticBandwidthSpec' => [ + 'description' => 'An array that consists of the available burstable protection bandwidths. Unit: Gbit/s.'."\n", + 'type' => 'array', + 'items' => ['description' => 'The burstable protection bandwidth.'."\n", 'type' => 'string', 'example' => '5', 'title' => ''], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}","errorExample":""},{"type":"xml","example":"\\r\\n\\r\\n\\t0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\r\\n","errorExample":""}]', - 'title' => 'EnableWebCC', - 'summary' => 'Enables the Frequency Control policy for a website.', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\",\\n \\"ElasticBandwidthSpec\\": [\\n \\"5\\"\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\r\\n\\r\\n\\t5\\r\\n\\t10\\r\\n\\t20\\r\\n\\t30\\r\\n\\t0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\r\\n","errorExample":""}]', + 'title' => 'DescribeElasticBandwidthSpec', + 'summary' => 'Queries the available burstable protection bandwidths of an Anti-DDoS Proxy (Chinese Mainland) instance.', + 'description' => '> This operation is suitable only for Anti-DDoS Proxy (Chinese Mainland).'."\n", 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DisableWebCC' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:23.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeElasticBandwidthSpec'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeElasticBandwidthSpec', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'DescribeElasticQps' => [ + 'summary' => 'Retrieves the elastic QPS time-series data for an Anti-DDoS instance.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -9302,34 +8396,45 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', - 'abilityTreeCode' => '106215', - 'abilityTreeNodes' => [ - 'FEATUREddosOZ1QOD', - ], + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '172965', + 'abilityTreeNodes' => ['FEATUREddosIJFWZ1'], ], 'parameters' => [ [ - 'name' => 'ResourceGroupId', + 'name' => 'Region', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'default', - ], + 'schema' => ['description' => 'The service region. Valid values:'."\n" + ."\n" + .'- **cn**: Chinese mainland.'."\n" + ."\n" + .'- **cn-hongkong**: Outside Chinese mainland.', 'type' => 'string', 'required' => true, 'example' => 'cn', 'title' => ''], ], [ - 'name' => 'Domain', + 'name' => 'Ip', 'in' => 'query', - 'schema' => [ - 'description' => 'The domain name of the website.'."\n" - ."\n" - .'> A forwarding rule must be configured for a domain name. You can call the [DescribeDomains](~~91724~~) operation to query all domain names.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'www.aliyun.com', - ], + 'schema' => ['description' => 'The IP address of the Anti-DDoS instance to query.', 'type' => 'string', 'required' => false, 'example' => '203.107.XX.XX'."\n", 'title' => ''], + ], + [ + 'name' => 'StartTime', + 'in' => 'query', + 'schema' => ['description' => 'The start of the query time range, specified as a UNIX timestamp in seconds.'."\n" + ."\n" + .'> The timestamp must be the start of a minute.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1684252800', 'title' => ''], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => ['description' => 'The end of the query time range, specified as a UNIX timestamp in seconds.'."\n" + ."\n" + .'> The timestamp must be the start of a minute.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1684339200', 'title' => ''], + ], + [ + 'name' => 'Interval', + 'in' => 'query', + 'schema' => ['description' => 'The sampling interval, in seconds. The value must be a multiple of 60. The default value is 60.', 'type' => 'string', 'default' => '3600', 'required' => false, 'example' => '60', 'title' => ''], ], ], 'responses' => [ @@ -9337,68 +8442,94 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc', + 'RequestId' => ['description' => 'The unique ID generated for the request. Use this ID to troubleshoot issues.', 'type' => 'string', 'example' => '2E7F7F7B-39A8-5D92-BAB4-D89D9DCE7D4F', 'title' => ''], + 'ElasticQps' => [ + 'description' => 'The time-series data of elastic QPS.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'MaxNormalQps' => ['description' => 'The peak normal business QPS.', 'type' => 'integer', 'format' => 'int64', 'example' => '23', 'title' => ''], + 'Index' => ['description' => 'The index of the returned data point.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], + 'MaxQps' => ['description' => 'The peak inbound QPS.', 'type' => 'integer', 'format' => 'int64', 'example' => '100', 'title' => ''], + 'Pv' => ['description' => 'The total number of requests within the sampling interval.', 'type' => 'integer', 'format' => 'int64', 'example' => '15104', 'title' => ''], + 'Ups' => ['description' => 'The total number of origin-pull requests within the sampling interval.', 'type' => 'integer', 'format' => 'int64', 'example' => '1223', 'title' => ''], + 'Status2' => ['description' => 'The number of 2xx status codes within the sampling interval.', 'type' => 'integer', 'format' => 'int64', 'example' => '455', 'title' => ''], + 'Status3' => ['description' => 'The number of 3xx status codes within the sampling interval.', 'type' => 'integer', 'format' => 'int64', 'example' => '100', 'title' => ''], + 'Status4' => ['description' => 'The number of 4xx status codes within the sampling interval.', 'type' => 'integer', 'format' => 'int64', 'example' => '34', 'title' => ''], + 'Status5' => ['description' => 'The number of 5xx status codes within the sampling interval.', 'type' => 'integer', 'format' => 'int64', 'example' => '0', 'title' => ''], + 'Status410Pv' => ['description' => 'The number of 410 status codes within the sampling interval.', 'type' => 'integer', 'format' => 'int64', 'example' => '8', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}","errorExample":""},{"type":"xml","example":"\\r\\n\\r\\n\\t0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\r\\n","errorExample":""}]', - 'title' => 'DisableWebCC', - 'summary' => 'Disables frequency control for a website.', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'EnableWebCCRule' => [ - 'methods' => [ - 'post', - 'get', + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"2E7F7F7B-39A8-5D92-BAB4-D89D9DCE7D4F\\",\\n \\"ElasticQps\\": [\\n {\\n \\"MaxNormalQps\\": 23,\\n \\"Index\\": 1,\\n \\"MaxQps\\": 100,\\n \\"Pv\\": 15104,\\n \\"Ups\\": 1223,\\n \\"Status2\\": 455,\\n \\"Status3\\": 100,\\n \\"Status4\\": 34,\\n \\"Status5\\": 0,\\n \\"Status410Pv\\": 8\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'DescribeElasticQps', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeElasticQps'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeElasticQps', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'DescribeElasticQpsRecord' => [ + 'summary' => 'Queries the burstable QPS details of an Anti-DDoS Proxy instance.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', - 'abilityTreeCode' => '106223', - 'abilityTreeNodes' => [ - 'FEATUREddosOZ1QOD', - ], + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '173053', + 'abilityTreeNodes' => ['FEATUREddosIJFWZ1'], ], 'parameters' => [ [ - 'name' => 'ResourceGroupId', + 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'default', - ], + 'schema' => ['description' => 'The beginning of the time range to query. The value is a timestamp. Unit: milliseconds.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1684252800000', 'title' => ''], ], [ - 'name' => 'Domain', + 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => 'The domain name of the website.'."\n" - ."\n" - .'> A forwarding rule must be configured for the domain name. You can call the [DescribeDomains](~~91724~~) operation to query all domain names.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'www.aliyun.com', - ], + 'schema' => ['description' => 'The end of the time range to query. The value is a timestamp. Unit: milliseconds.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1688140799999', 'title' => ''], + ], + [ + 'name' => 'Ip', + 'in' => 'query', + 'schema' => ['description' => 'The IP address of the Anti-DDoS Proxy instance to query.', 'type' => 'string', 'required' => true, 'example' => '203.107.XX.XX'."\n", 'title' => ''], ], ], 'responses' => [ @@ -9406,32 +8537,70 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc', + 'RequestId' => ['description' => 'The request ID, which is used to locate and troubleshoot issues.', 'type' => 'string', 'example' => 'F68B34E2-570C-508D-95FD-DFB6611D518F', 'title' => ''], + 'ElasticQpsList' => [ + 'description' => 'The QPS information about the instance.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'OpsElasticQps' => ['description' => 'The burstable QPS value. A value of 0 indicates that the burstable QPS feature is not enabled.', 'type' => 'integer', 'format' => 'int64', 'example' => '300000', 'title' => ''], + 'Ip' => ['description' => 'The IP address of the Anti-DDoS Proxy instance.', 'type' => 'string', 'example' => '203.***.***.199', 'title' => ''], + 'OriginQps' => ['description' => 'The service QPS (purchased).', 'type' => 'integer', 'format' => 'int64', 'example' => '1345', 'title' => ''], + 'Date' => ['description' => 'The timestamp. Unit: milliseconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1688140799999'."\n", 'title' => ''], + 'InstanceId' => ['description' => 'The ID of the Anti-DDoS Proxy instance.', 'type' => 'string', 'example' => 'ddoscoo-cn-7e225i41****'."\n", 'title' => ''], + 'Qps' => ['description' => 'The daily peak 95th percentile QPS.', 'type' => 'integer', 'format' => 'int64', 'example' => '4367', 'title' => ''], + 'QpsPeak' => ['description' => 'The daily peak traffic.', 'type' => 'integer', 'format' => 'int64', 'example' => '122', 'title' => ''], + 'Status' => ['description' => 'Indicates whether the instance has expired or is released. Valid values:'."\n" + ."\n" + .'- **1**: The instance runs as expected.'."\n" + ."\n" + .'- **2**: The instance has expired.'."\n" + ."\n" + .'- **4**: The instance is released.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], + 'OpsQps' => ['description' => 'The service QPS (active).', 'type' => 'integer', 'format' => 'int64', 'example' => '1345', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}","errorExample":""},{"type":"xml","example":"\\r\\n\\r\\n\\t0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\r\\n","errorExample":""}]', - 'title' => 'EnableWebCCRule', - 'summary' => 'Enables custom frequency control rules for a website.', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'DisableWebCCRule' => [ - 'methods' => [ - 'post', - 'get', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'DescribeElasticQpsRecord', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeElasticQpsRecord'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeElasticQpsRecord', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F68B34E2-570C-508D-95FD-DFB6611D518F\\",\\n \\"ElasticQpsList\\": [\\n {\\n \\"OpsElasticQps\\": 300000,\\n \\"Ip\\": \\"203.***.***.199\\",\\n \\"OriginQps\\": 1345,\\n \\"Date\\": 1688140799999,\\n \\"InstanceId\\": \\"ddoscoo-cn-7e225i41****\\\\n\\",\\n \\"Qps\\": 4367,\\n \\"QpsPeak\\": 122,\\n \\"Status\\": 1,\\n \\"OpsQps\\": 1345\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeHeaders' => [ + 'summary' => 'Queries the custom headers for a domain name.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -9440,34 +8609,24 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', - 'abilityTreeCode' => '106216', - 'abilityTreeNodes' => [ - 'FEATUREddosOZ1QOD', - ], + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '106146', + 'abilityTreeNodes' => ['FEATUREddosN7DYCX'], ], 'parameters' => [ [ 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'default', - ], + 'schema' => ['description' => 'The ID of the resource group in Resource Management to which the Anti-DDoS Pro or Anti-DDoS Premium instance belongs. This parameter is empty by default, which indicates that the instance belongs to the default resource group.', 'type' => 'string', 'required' => false, 'example' => 'rg-aek3cmuvpia****', 'title' => ''], ], [ 'name' => 'Domain', 'in' => 'query', - 'schema' => [ - 'description' => 'The domain name of the website.'."\n" - ."\n" - .'> A forwarding rule must be configured for a domain name. You can call the [DescribeDomains](~~91724~~) operation to query all domain names.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'www.aliyun.com', - ], + 'schema' => ['description' => 'The domain name for which to query custom headers.'."\n" + ."\n" + .'> You can call the [DescribeDomains](~~91724~~) operation to query all domain names.', 'type' => 'string', 'required' => true, 'example' => 'example.aliyundoc.com', 'title' => ''], ], ], 'responses' => [ @@ -9475,141 +8634,74 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc', + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '48BC7BA5-69BE-5C31-A080-AFF2431AE48D', 'title' => ''], + 'CustomHeader' => [ + 'description' => 'The custom header information.', + 'type' => 'object', + 'properties' => [ + 'Headers' => ['description' => 'The custom headers. The value is a string that consists of a JSON object. The JSON object contains the following fields:', 'type' => 'string', 'example' => '{"X-Forwarded-ClientSrcPort":"","header1":"hLeLele"}', 'title' => ''], + 'Domain' => ['description' => 'The domain name of the website.', 'type' => 'string', 'example' => 'example.aliyundoc.com', 'title' => ''], + ], + 'title' => '', + 'example' => '', ], + 'EmbeddedHeaders' => ['description' => 'The request header that can be used to mark the Layer 7 attack. The value is a string that consists of a JSON object. The JSON object contains the following fields:', 'type' => 'string', 'example' => '{"X-Client-IP":true,"X-True-IP":true,"Web-Server-Type":true,"WL-Proxy-Client-IP":true,"X-Forwarded-Proto":true}', 'title' => ''], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}","errorExample":""},{"type":"xml","example":"\\r\\n\\r\\n\\t0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\r\\n","errorExample":""}]', - 'title' => 'DisableWebCCRule', - 'summary' => 'Disables custom frequency control rules for a website.', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'ModifyWebCCRule' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"48BC7BA5-69BE-5C31-A080-AFF2431AE48D\\",\\n \\"CustomHeader\\": {\\n \\"Headers\\": \\"{\\\\\\"X-Forwarded-ClientSrcPort\\\\\\":\\\\\\"\\\\\\",\\\\\\"header1\\\\\\":\\\\\\"hLeLele\\\\\\"}\\",\\n \\"Domain\\": \\"example.aliyundoc.com\\"\\n },\\n \\"EmbeddedHeaders\\": \\"{\\\\\\"X-Client-IP\\\\\\":true,\\\\\\"X-True-IP\\\\\\":true,\\\\\\"Web-Server-Type\\\\\\":true,\\\\\\"WL-Proxy-Client-IP\\\\\\":true,\\\\\\"X-Forwarded-Proto\\\\\\":true}\\"\\n}","type":"json"}]', + 'title' => 'DescribeHeaders', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeHeaders', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'DescribeHealthCheckList' => [ + 'summary' => 'Queries the Layer 4 or Layer 7 health check configurations of a port forwarding rule.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'deprecated' => true, + 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', - 'abilityTreeCode' => '106267', - 'abilityTreeNodes' => [ - 'FEATUREddosOZ1QOD', - ], + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '106147', + 'abilityTreeNodes' => ['FEATUREddosN7DYCX'], ], 'parameters' => [ [ - 'name' => 'ResourceGroupId', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'default', - ], - ], - [ - 'name' => 'Domain', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'www.aliyun.com', - ], - ], - [ - 'name' => 'Name', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'testrule', - ], - ], - [ - 'name' => 'Act', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'close', - ], - ], - [ - 'name' => 'Count', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '3', - ], - ], - [ - 'name' => 'Interval', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '30', - ], - ], - [ - 'name' => 'Mode', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'prefix', - ], - ], - [ - 'name' => 'Ttl', - 'in' => 'query', - 'schema' => [ - 'description' => 'The blocking duration. Valid values: **60** to **86400**. Unit: seconds.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '60', - ], - ], - [ - 'name' => 'Uri', + 'name' => 'NetworkRules', 'in' => 'query', - 'schema' => [ - 'description' => 'The check path.'."\n" - ."\n" - .'> You cannot modify the Uniform Resource Identifier (URI). The domain name of the website, the check path, and the rule name uniquely identify a rule.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '/abc', - ], + 'schema' => ['description' => 'The information about the port forwarding rule. This parameter is a JSON string. The string contains the following fields:'."\n" + ."\n" + .'- **InstanceId**: the ID of the instance. This field is required and must be of the STRING type.'."\n" + ."\n" + .'- **Protocol**: the forwarding protocol. This field is required and must be of the STRING type. Valid values: **tcp** and **udp**.'."\n" + ."\n" + .'- **FrontendPort**: the forwarding port. This field is required and must be of the INTEGER type.', 'type' => 'string', 'required' => true, 'example' => '[{"InstanceId":"ddoscoo-cn-mp91j1ao****","Protocol":"tcp","FrontendPort":8080}]', 'title' => ''], ], ], 'responses' => [ @@ -9617,37 +8709,89 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc', + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '83B4AF42-E8EE-4DC9-BD73-87B7733A36F9', 'title' => ''], + 'HealthCheckList' => [ + 'description' => 'An array that consists of information about the health check configuration.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'FrontendPort' => ['description' => 'The forwarding port.', 'type' => 'integer', 'format' => 'int32', 'example' => '8080', 'title' => ''], + 'InstanceId' => ['description' => 'The ID of the instance.', 'type' => 'string', 'example' => 'ddoscoo-cn-mp91j1ao****', 'title' => ''], + 'Protocol' => ['description' => 'The forwarding protocol. Valid values:'."\n" + ."\n" + .'- **tcp**'."\n" + ."\n" + .'- **udp**', 'type' => 'string', 'example' => 'tcp', 'title' => ''], + 'HealthCheck' => [ + 'description' => 'The health check configuration.', + 'type' => 'object', + 'properties' => [ + 'Timeout' => ['description' => 'The response timeout period. Valid values: **1** to **30**. Unit: seconds.', 'type' => 'integer', 'format' => 'int32', 'example' => '5', 'title' => ''], + 'Type' => ['description' => 'The type of the protocol. Valid values:'."\n" + ."\n" + .'- **tcp**: The Layer 4 health check configuration was queried.'."\n" + ."\n" + .'- **http**: The Layer 7 health check configuration was queried.', 'type' => 'string', 'example' => 'tcp', 'title' => ''], + 'Domain' => ['description' => 'The domain name.'."\n" + ."\n" + .'> This parameter is returned only when the Layer 7 health check configuration is queried.', 'type' => 'string', 'example' => 'www.aliyun.com', 'title' => ''], + 'Interval' => ['description' => 'The interval at which checks are performed. Valid values: **1** to **30**. Unit: seconds.', 'type' => 'integer', 'format' => 'int32', 'example' => '15', 'title' => ''], + 'Up' => ['description' => 'The number of consecutive successful health checks that must occur before a port is declared healthy. Valid values: **1** to **10**.', 'type' => 'integer', 'format' => 'int32', 'example' => '3', 'title' => ''], + 'Down' => ['description' => 'The number of consecutive failed health checks that must occur before a port is declared unhealthy. Valid values: **1** to **10**.', 'type' => 'integer', 'format' => 'int32', 'example' => '3', 'title' => ''], + 'Port' => ['description' => 'The port that was checked.', 'type' => 'integer', 'format' => 'int32', 'example' => '8080', 'title' => ''], + 'Uri' => ['description' => 'The check path.'."\n" + ."\n" + .'> This parameter is returned only when the Layer 7 health check configuration is queried.', 'type' => 'string', 'example' => '/abc', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'substitutions' => [ - 'ddoscoo::2020-01-01::ConfigWebCCRuleV2', - ], - ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}","errorExample":""},{"type":"xml","example":"\\r\\n\\r\\n\\t0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\r\\n","errorExample":""}]', - 'title' => 'ModifyWebCCRule', - 'summary' => 'Modifies the custom frequency control rule of a website.', + 'title' => 'DescribeHealthCheckList', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'ModifyWebPreciseAccessSwitch' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:23.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeHealthCheckList'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeHealthCheckList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"83B4AF42-E8EE-4DC9-BD73-87B7733A36F9\\",\\n \\"HealthCheckList\\": [\\n {\\n \\"FrontendPort\\": 8080,\\n \\"InstanceId\\": \\"ddoscoo-cn-mp91j1ao****\\",\\n \\"Protocol\\": \\"tcp\\",\\n \\"HealthCheck\\": {\\n \\"Timeout\\": 5,\\n \\"Type\\": \\"tcp\\",\\n \\"Domain\\": \\"www.aliyun.com\\",\\n \\"Interval\\": 15,\\n \\"Up\\": 3,\\n \\"Down\\": 3,\\n \\"Port\\": 8080,\\n \\"Uri\\": \\"/abc\\"\\n }\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeHealthCheckStatus' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -9656,49 +8800,19 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', - 'abilityTreeCode' => '106270', - 'abilityTreeNodes' => [ - 'FEATUREddosOZ1QOD', - ], + 'operationType' => 'get', + 'abilityTreeCode' => '106148', + 'abilityTreeNodes' => ['FEATUREddosN7DYCX'], ], 'parameters' => [ [ - 'name' => 'ResourceGroupId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'default', - ], - ], - [ - 'name' => 'Domain', - 'in' => 'query', - 'schema' => [ - 'description' => 'The domain name of the website.'."\n" - ."\n" - .'> A forwarding rule must be configured for a domain name. You can call the [DescribeDomains](~~91724~~) operation to query all domain names.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'www.aliyun.com', - ], - ], - [ - 'name' => 'Config', + 'name' => 'NetworkRules', 'in' => 'query', - 'schema' => [ - 'description' => 'The configuration of the Accurate Access Control policy. This parameter is a JSON string. The string contains the following fields:'."\n" - ."\n" - .'* **PreciseRuleEnable**: the status of the Accurate Access Control policy. This field is required and must be of the INTEGER type. Valid values:'."\n" - ."\n" - .' * **0**: disables the policy.'."\n" - .' * **1**: enables the policy.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '{"PreciseRuleEnable":0}', - ], + 'schema' => ['description' => 'An array that consists of the details of the port forwarding rule. This parameter is a JSON string. The string contains the following fields:'."\n" + ."\n" + .'* **InstanceId**: the ID of the instance. This field is required and must be of the STRING type.'."\n" + .'* **Protocol**: the forwarding protocol. This field is required and must be of the STRING type. Valid values: **tcp** and **udp**.'."\n" + .'* **FrontendPort**: the forwarding port. This field is required and must be of the INTEGER type.'."\n", 'type' => 'string', 'required' => true, 'example' => '[{"InstanceId":"ddoscoo-cn-mp91j1ao****","Protocol":"tcp","FrontendPort":8080}]', 'title' => ''], ], ], 'responses' => [ @@ -9706,32 +8820,88 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc', - ], - ], - 'description' => '', + 'RequestId' => ['description' => 'The ID of the request, which is used to locate and troubleshoot issues.'."\n", 'type' => 'string', 'example' => 'DE9FF9E1-569C-4B6C-AB6A-0F6D927BB27C', 'title' => ''], + 'HealthCheckStatus' => [ + 'description' => 'An array that consists of the details of the health status of the origin server.'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Status' => ['description' => 'The health status of the origin server. Valid values:'."\n" + ."\n" + .'* **normal**: healthy'."\n" + .'* **abnormal**: unhealthy'."\n", 'type' => 'string', 'example' => 'normal', 'title' => ''], + 'FrontendPort' => ['description' => 'The forwarding port.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '8080', 'title' => ''], + 'InstanceId' => ['description' => 'The ID of the instance.'."\n", 'type' => 'string', 'example' => 'ddoscoo-cn-mp91j1ao****', 'title' => ''], + 'Protocol' => ['description' => 'The forwarding protocol. Valid values:'."\n" + ."\n" + .'* **tcp**'."\n" + .'* **udp**'."\n", 'type' => 'string', 'example' => 'tcp', 'title' => ''], + 'RealServerStatusList' => [ + 'description' => 'An array that consists of the health states of the IP addresses of the origin server.'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Status' => ['description' => 'The health state of the IP address. Valid values:'."\n" + ."\n" + .'* **normal**: healthy'."\n" + .'* **abnormal**: unhealthy'."\n", 'type' => 'string', 'example' => 'abnormal', 'title' => ''], + 'Address' => ['description' => 'The IP address of the origin server.'."\n", 'type' => 'string', 'example' => '192.0.XX.XX', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}","errorExample":""},{"type":"xml","example":"\\r\\n\\r\\n\\t0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\r\\n","errorExample":""}]', - 'title' => 'ModifyWebPreciseAccessSwitch', - 'summary' => 'Enables or disables accurate access control for a website.', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"DE9FF9E1-569C-4B6C-AB6A-0F6D927BB27C\\",\\n \\"HealthCheckStatus\\": [\\n {\\n \\"Status\\": \\"normal\\",\\n \\"FrontendPort\\": 8080,\\n \\"InstanceId\\": \\"ddoscoo-cn-mp91j1ao****\\",\\n \\"Protocol\\": \\"tcp\\",\\n \\"RealServerStatusList\\": [\\n {\\n \\"Status\\": \\"abnormal\\",\\n \\"Address\\": \\"192.0.XX.XX\\"\\n }\\n ]\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\n DE9FF9E1-569C-4B6C-AB6A-0F6D927BB27C\\n \\n normal\\n 8080\\n ddoscoo-cn-mp91j1ao****\\n tcp\\n \\n abnormal\\n
192.0.XX.XX
\\n
\\n
\\n
","errorExample":""}]', + 'title' => 'DescribeHealthCheckStatus', + 'summary' => 'Queries the health status of an origin server.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'ModifyWebPreciseAccessRule' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:23.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeHealthCheckStatus'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeHealthCheckStatus', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'DescribeInstanceDetails' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -9740,80 +8910,25 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', - 'abilityTreeCode' => '106269', - 'abilityTreeNodes' => [ - 'FEATUREddosCRC1QI', - ], + 'operationType' => 'get', + 'abilityTreeCode' => '106149', + 'abilityTreeNodes' => ['FEATUREddosMHU3MF'], ], 'parameters' => [ [ - 'name' => 'ResourceGroupId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'rg-acfm2pz25js****', - ], - ], - [ - 'name' => 'Domain', - 'in' => 'query', - 'schema' => [ - 'description' => 'The domain name of the website.'."\n" - ."\n" - .'> A forwarding rule must be configured for the domain name. You can call the [DescribeDomains](~~91724~~) operation to query all domain names.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'example.aliyundoc.com', - ], - ], - [ - 'name' => 'Rules', + 'name' => 'InstanceIds', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => 'The settings of the accurate access control rule. This parameter is a JSON string. The following list describes the fields in the value of the parameter:'."\n" - ."\n" - .'* **action**: the action that is performed if the rule is matched. This field is required and must be of the string type. Valid values:'."\n" - ."\n" - .' * **accept**: allows the requests that match the rule.'."\n" - .' * **block**: blocks the requests that match the rule.'."\n" - .' * **challenge**: implements a CAPTCHA for the requests that match the rule.'."\n" - ."\n" - .'* **name**: the name of the rule. This field is required and must be of the string type.'."\n" - ."\n" - .'* **condition**: the match conditions. This field is required and must be of the map type. A match condition contains the following parameters.'."\n" - ."\n" - .' **'."\n" - ."\n" - .' **Note**The AND logical operator is used to define the relationship among multiple match conditions.'."\n" - ."\n" - .' * **field**: the match field. This parameter is required and must be of the string type.'."\n" - ."\n" - .' * **match_method**: the logical relation. This parameter is required and must be of the string type.'."\n" - ."\n" - .' **'."\n" - ."\n" - .' **Note**For information about the mappings between the **field** and **match_method** parameters, see the Mappings between the field and match_method parameters table in this topic.'."\n" - ."\n" - .' * **content**: the match content. This parameter is required and must be of the string type.'."\n" + 'description' => 'An array that consists of the IDs of instances to query.'."\n", + 'type' => 'array', + 'items' => ['description' => 'The ID of the instance to query.'."\n" ."\n" - .'* **header_name**: the HTTP header. This parameter is optional and must be of the string type. This parameter takes effect only when **field** is **header**.'."\n", - 'type' => 'string', + .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.'."\n", 'type' => 'string', 'required' => false, 'example' => 'ddoscoo-cn-zvp2eibz****', 'title' => ''], 'required' => true, - 'example' => '[{"action":"block","name":"testrule","condition":[{"field":"uri","match_method":"contain","content":"/test/123"}]}]', - ], - ], - [ - 'name' => 'Expires', - 'in' => 'query', - 'schema' => [ - 'description' => 'The validity period of the rule. Unit: seconds. This parameter takes effect only when **action** of a rule is **block**. Access requests that match the rule are blocked within the specified validity period of the rule. If you do not specify this parameter, this rule takes effect all the time.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '600', + 'maxItems' => 100, + 'title' => '', + 'example' => '', ], ], ], @@ -9822,46 +8937,103 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request, which is used to locate and troubleshoot issues.'."\n", - 'type' => 'string', - 'example' => 'F908E959-ADA8-4D7B-8A05-FF2F67F50964', + 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '3C814429-21A5-4673-827E-FDD19DC75681', 'title' => ''], + 'InstanceDetails' => [ + 'description' => 'The IP address and ISP line information about the Anti-DDoS Proxy instance.'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Line' => ['description' => 'The protection line of the instance.'."\n", 'type' => 'string', 'example' => 'coop-line-001', 'title' => ''], + 'InstanceId' => ['description' => 'The ID of the instance.'."\n", 'type' => 'string', 'example' => 'ddoscoo-cn-zvp2eibz****', 'title' => ''], + 'EipInfos' => [ + 'description' => 'The IP address information about the Anti-DDoS Proxy instance.'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Status' => ['description' => 'The status of the instance. Valid values:'."\n" + ."\n" + .'* **normal**: indicates that the instance is normal.'."\n" + .'* **expired**: indicates that the instance expired.'."\n" + .'* **defense**: indicates that traffic scrubbing is performed on the asset that is protected by the instance.'."\n" + .'* **blackhole**: indicates that blackhole filtering is triggered for the asset that is protected by the instance.'."\n" + .'* **punished**: indicates that the instance is in penalty.'."\n", 'type' => 'string', 'example' => 'normal', 'title' => ''], + 'IpMode' => ['description' => 'The IP address-based forwarding mode of the instance. Valid values:'."\n" + ."\n" + .'* **fnat**: Requests from IPv4 addresses are forwarded to origin servers that use IPv4 addresses and requests from IPv6 addresses are forwarded to origin servers that use IPv6 addresses.'."\n" + .'* **v6tov4**: All requests are forwarded to origin servers that use IPv4 addresses.'."\n", 'type' => 'string', 'example' => 'fnat', 'title' => ''], + 'Eip' => ['description' => 'The IP address of the instance.'."\n", 'type' => 'string', 'example' => '203.117.XX.XX', 'title' => ''], + 'IpVersion' => ['description' => 'The IP version of the protocol. Valid values:'."\n" + ."\n" + .'* **Ipv4**: IPv4'."\n" + .'* **Ipv6**: IPv6'."\n", 'type' => 'string', 'example' => 'Ipv4', 'title' => ''], + 'CertConfigured' => ['description' => 'Indicates whether a custom certificate is configured.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'TlsVersion' => ['description' => 'The Transport Layer Security (TLS) version that is configured.'."\n", 'type' => 'string', 'example' => 'tls1.2', 'title' => ''], + 'Ssl13Enabled' => ['description' => 'Indicates whether the TLS 1.3 version is supported.'."\n", 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'FunctionVersion' => ['description' => 'The type of the instance.'."\n", 'type' => 'string', 'example' => 'default', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"F908E959-ADA8-4D7B-8A05-FF2F67F50964\\"\\n}","errorExample":""},{"type":"xml","example":"\\n F908E959-ADA8-4D7B-8A05-FF2F67F50964\\n","errorExample":""}]', - 'title' => 'ModifyWebPreciseAccessRule', - 'summary' => 'Creates or modifies an accurate access control rule of a website.', - 'requestParamsDescription' => '**Mappings between the field and match\\_method parameters**'."\n" + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"3C814429-21A5-4673-827E-FDD19DC75681\\",\\n \\"InstanceDetails\\": [\\n {\\n \\"Line\\": \\"coop-line-001\\",\\n \\"InstanceId\\": \\"ddoscoo-cn-zvp2eibz****\\",\\n \\"EipInfos\\": [\\n {\\n \\"Status\\": \\"normal\\",\\n \\"IpMode\\": \\"fnat\\",\\n \\"Eip\\": \\"203.117.XX.XX\\",\\n \\"IpVersion\\": \\"Ipv4\\",\\n \\"CertConfigured\\": true,\\n \\"TlsVersion\\": \\"tls1.2\\",\\n \\"Ssl13Enabled\\": false,\\n \\"FunctionVersion\\": \\"default\\"\\n }\\n ]\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\n 3C814429-21A5-4673-827E-FDD19DC75681\\n \\n coop-line-001\\n ddoscoo-cn-mp91j1ao****\\n \\n normal\\n fnat\\n 203.117.XX.XX\\n Ipv4\\n \\n \\n","errorExample":""}]', + 'title' => 'DescribeInstanceDetails', + 'summary' => 'Queries the IP addresses and Internet service provider (ISP) lines of Anti-DDoS Pro or Anti-DDoS Premium instances.', + 'description' => 'You can call the DescribeInstanceDetails operation to query the information about the IP addresses and ISP lines of the instances. The information includes the IP address, status, and protection line.'."\n" ."\n" - .'|field|Description|match\\_method|'."\n" - .'|---|---|---|'."\n" - .'|**ip**|The source IP address of the request.|**belong**: the Is Part Of relation.**nbelong**: the Is Not Part Of relation.|'."\n" - .'|**uri**|The request URI.|**contain**: the Contains relation.**ncontain**: the Does Not Contain relation.**equal**: the Equals relation.**nequal**: the Does Not Equal relation.**lless**: the Is Shorter Than relation.**lequal**: the Has a Length Of relation.**lgreat**: the Is Longer Than relation.**regular**: The match content is the regular expression of the URI.|'."\n" - .'|**referer**|The URL of the source page from which the request is redirected.|**contain**: the Contains relation.**ncontain**: the Does Not Contain relation.**equal**: the Equals relation.**nequal**: the Does Not Equal relation.**lless**: the Is Shorter Than relation.**lequal**: the Has a Length Of relation.**lgreat**: the Is Longer Than relation.**nexist**: the Does Not Exist relation.**regular**: The match content is the regular expression of the URI.|'."\n" - .'|**user-agent**|The browser information about the client that initiates the request. The information includes the browser identifier, rendering engine, and version.|**contain**: the Contains relation.**ncontain**: the Does Not Contain relation.**equal**: the Equals relation.**nequal**: the Does Not Equal relation.**lless**: the Is Shorter Than relation.**lequal**: the Has a Length Of relation.**lgreat**: the Is Longer Than relation.**regular**: The match content is the regular expression of the URI.|'."\n" - .'|**params**|The query string in the request URL. The query string is the part that follows the question mark (?) in the URL. For example, in `demo.aliyundoc.com/index.html?action=logi`, `action=login` is the query string.|**contain**: the Contains relation.**ncontain**: the Does Not Contain relation.**equal**: the Equals relation.**nequal**: the Does Not Equal relation.**lless**: the Is Shorter Than relation.**lequal**: the Has a Length Of relation.**lgreat**: the Is Longer Than relation.|'."\n" - .'|**cookie**|The cookie information in the request.|**contain**: the Contains relation.**ncontain**: the Does Not Contain relation.**equal**: the Equals relation.**nequal**: the Does Not Equal relation.**lless**: the Is Shorter Than relation.**lequal**: the Has a Length Of relation.**lgreat**: the Is Longer Than relation.**nexist**: the Does Not Exist relation|'."\n" - .'|**content-type**|The HTTP content type that is specified for the response. The HTTP content type is known as the Multipurpose Internet Mail Extensions (MIME) type.|**contain**: the Contains relation.**ncontain**: the Does Not Contain relation.**equal**: the Equals relation.**nequal**: the Does Not Equal relation.**lless**: the Is Shorter Than relation.**lequal**: the Has a Length Of relation.**lgreat**: the Is Longer Than relation.|'."\n" - .'|**x-forwarded-for**|The originating IP address. The HTTP X-Forwarded-For (XFF) header is used to identify the originating IP address of the request that is forwarded by an HTTP proxy or a load balancer. The XFF header is included only in requests that are forwarded by an HTTP proxy or a load balancer.|**contain**: the Contains relation.**ncontain**: the Does Not Contain relation.**equal**: the Equals relation.**nequal**: the Does Not Equal relation.**lless**: the Is Shorter Than relation.**lequal**: the Has a Length Of relation.**lgreat**: the Is Longer Than relation.**nexist**: the Does Not Exist relation.**regular**: The match content is the regular expression of the URI.|'."\n" - .'|**content-length**|The number of bytes in the request body.|**vless**: the Is Smaller Than relation.**vequal**: the Has a Value Of relation.**vgreat**: the Is Larger Than relation.|'."\n" - .'|**post-body**|The content of the request.|**contain**: the Contains relation.**ncontain**: the Does Not Contain relation.**equal**: the Equals relation.**nequal**: the Does Not Equal relation.**regular**: The match content is the regular expression of the URI.|'."\n" - .'|**http-method**|The request method, such as GET and POST.|**equal**: the Equals relation.**nequal**: the Does Not Equal relation.|'."\n" - .'|**header**|The header of the request, which is used to specify a custom HTTP header.|**contain**: the Contains relation.**ncontain**: the Does Not Contain relation.**equal**: the Equals relation.**nequal**: the Does Not Equal relation.**lless**: the Is Shorter Than relation.**lequal**: the Has a Length Of relation.**lgreat**: the Is Longer Than relation.**nexist**: the Does Not Exist relation|', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'ModifyWebAreaBlockSwitch' => [ - 'methods' => [ - 'post', - 'get', + .'### 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", + 'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see [Common parameters](~~157269~~).'."\n" + ."\n" + .'For more information about sample requests, see the **"Examples"** section of this topic.'."\n", + 'changeSet' => [ + ['createdAt' => '2025-09-04T06:34:49.000Z', 'description' => 'OpenAPI offline'], + ['createdAt' => '2024-06-06T11:19:26.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2022-09-08T03:34:23.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeInstanceDetails'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeInstanceDetails', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'DescribeInstanceExt' => [ + 'summary' => 'Queries the information about Anti-DDoS Pro and Anti-DDoS Premium instances.', + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -9870,89 +9042,101 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', - 'abilityTreeCode' => '106263', - 'abilityTreeNodes' => [ - 'FEATUREddosOZ1QOD', - ], + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREddosMHU3MF'], ], 'parameters' => [ [ - 'name' => 'ResourceGroupId', + 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the resource group to which the instance belongs in Resource Management.'."\n" - ."\n" - .'If you do not configure this parameter, the instance belongs to the default resource group.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'rg-acfm2pz25js****', - ], + 'schema' => ['description' => 'The ID of the instance.'."\n" + ."\n" + .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.', 'type' => 'string', 'required' => false, 'example' => 'ddoscoo-cn-i7m25564****', 'title' => ''], ], [ - 'name' => 'Domain', + 'name' => 'PageNumber', 'in' => 'query', - 'schema' => [ - 'description' => 'The domain name for which you want to enable or disable the Location Blacklist policy.'."\n" - ."\n" - .'> You can call the [DescribeDomains](~~91724~~) operation to query all the domain names that are added to Anti-DDoS Pro or Anti-DDoS Premium.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'www.aliyundoc.com', - ], + 'schema' => ['description' => 'The number of the page. For example, to query the returned results on the first page, set the value to **1**.', 'type' => 'string', 'required' => false, 'default' => '1', 'example' => '1', 'title' => ''], ], [ - 'name' => 'Config', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether to enable or disable the Location Blacklist (Domain Names) policy for a domain name. The value is a string that consists of a JSON struct. The JSON struct contains the following parameters:'."\n" - ."\n" - .'* **RegionblockEnable**: the status of the Location Blacklist (Domain Names) policy. This parameter is required and must be of the INTEGER type. Valid values:'."\n" - ."\n" - .' * **1**: enables the policy.'."\n" - .' * **0**: disables the policy.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '{"RegionblockEnable": 1}', - ], + 'schema' => ['description' => 'The number of entries per page.', 'type' => 'string', 'required' => false, 'default' => '10', 'example' => '10', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'title' => '', + 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '6623EA1F-30FB-5BC8-BEC9-74D55F6F08F1', + 'RequestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'], + 'InstanceExtSpecs' => [ + 'description' => 'The extended information about the Anti-DDoS Proxy instance.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'InstanceId' => ['description' => 'The ID of the instance.', 'type' => 'string', 'example' => 'ddoscoo-cn-i7m25564****'."\n", 'title' => ''], + 'NormalBandwidth' => ['description' => 'The clean bandwidth. Unit: Mbit/s.', 'type' => 'integer', 'format' => 'int64', 'example' => '100', 'title' => ''], + 'FunctionVersion' => ['description' => 'The function plan. Valid values:'."\n" + ."\n" + .'- **0**: Standard'."\n" + ."\n" + .'- **1**: Enhanced', 'type' => 'integer', 'format' => 'int64', 'example' => '0', 'title' => ''], + 'ServicePartner' => ['description' => 'The Internet service provider (ISP) line of the Anti-DDoS Proxy (Chinese Mainland) instance.', 'type' => 'string', 'example' => 'coop-line-001', 'title' => ''], + 'ProductPlan' => ['description' => 'The type of the instance. Valid values:'."\n" + ."\n" + .'- **0**: Anti-DDoS Proxy (Outside Chinese Mainland) instance of the Insurance mitigation plan'."\n" + ."\n" + .'- **1**: Anti-DDoS Proxy (Outside Chinese Mainland) instance of the Unlimited mitigation plan'."\n" + ."\n" + .'- **2**: Anti-DDoS Proxy (Outside Chinese Mainland) instance of the Chinese Mainland Acceleration (CMA) mitigation plan'."\n" + ."\n" + .'- **3**: Anti-DDoS Proxy (Outside Chinese Mainland) instance of the Secure Chinese Mainland Acceleration (Sec-CMA) mitigation plan'."\n" + ."\n" + .'- **9**: Anti-DDoS Proxy (Chinese Mainland) instance of the Profession mitigation plan', 'type' => 'integer', 'format' => 'int64', 'example' => '0', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], + 'TotalCount' => ['description' => 'The total number of queried instances.', 'type' => 'integer', 'format' => 'int64', 'example' => '10', 'title' => ''], ], + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6623EA1F-30FB-5BC8-BEC9-74D55F6F08F1\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 6623EA1F-30FB-5BC8-BEC9-74D55F6F08F1\\n","errorExample":""}]', - 'summary' => 'Enables or disables the Location Blacklist (Domain Names) policy for a domain name.', - 'description' => 'You can call the ModifyWebAreaBlockSwitch operation to enable or disable the Location Blacklist (Domain Names) policy for a domain name.'."\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", - 'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see [Common parameters](~~157269~~).'."\n" - ."\n" - .'For more information about sample requests, see the **"Examples"** section of this topic.'."\n", - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'ModifyWebAreaBlock' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'DescribeInstanceExt', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeInstanceExt', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\",\\n \\"InstanceExtSpecs\\": [\\n {\\n \\"InstanceId\\": \\"ddoscoo-cn-i7m25564****\\\\n\\",\\n \\"NormalBandwidth\\": 100,\\n \\"FunctionVersion\\": 0,\\n \\"ServicePartner\\": \\"coop-line-001\\",\\n \\"ProductPlan\\": 0\\n }\\n ],\\n \\"TotalCount\\": 10\\n}","type":"json"}]', + ], + 'DescribeInstanceIds' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -9961,57 +9145,48 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', - 'abilityTreeCode' => '106262', - 'abilityTreeNodes' => [ - 'FEATUREddosOZ1QOD', - ], + 'operationType' => 'get', + 'abilityTreeCode' => '106150', + 'abilityTreeNodes' => ['FEATUREddosMHU3MF'], + 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n" - ."\n" - .'For more information about resource groups, see [Create a resource group](~~94485~~).'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'rg-acfm2pz25js****', - ], + 'schema' => ['description' => 'The resource group ID of the Anti-DDoS Proxy instance in Resource Management.'."\n" + ."\n" + .'If this parameter is not specified, the default resource group is used.', 'type' => 'string', 'required' => false, 'example' => 'rg-acfm2pz25js****', 'title' => ''], ], [ - 'name' => 'Domain', + 'name' => 'Edition', 'in' => 'query', - 'schema' => [ - 'description' => 'The domain name whose configurations you want to modify.'."\n" - ."\n" - .'> A forwarding rule must be configured for the domain name. You can call the [DescribeDomains](~~91724~~) operation to query all domain names.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'www.aliyun.com', - ], + 'schema' => ['description' => 'The type of Anti-DDoS Proxy instance to query. Valid values:'."\n" + ."\n" + .'- **0**: Anti-DDoS Proxy (Outside Chinese Mainland) Insurance.'."\n" + ."\n" + .'- **1**: Anti-DDoS Proxy (Outside Chinese Mainland) Unlimited.'."\n" + ."\n" + .'- **2**: Anti-DDoS Proxy (Outside Chinese Mainland) CMA.'."\n" + ."\n" + .'- **3**: Anti-DDoS Proxy (Outside Chinese Mainland) Sec-CMA.'."\n" + ."\n" + .'- **9**: Anti-DDoS Proxy (Chinese Mainland) Professional Edition.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '9', 'title' => ''], ], [ - 'name' => 'Regions', + 'name' => 'InstanceIds', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ - 'description' => 'The regions from which you block requests.'."\n" - ."\n" - .'> If you do not configure this parameter, the Blocked Regions (Domain Names) policy is disabled.'."\n", + 'description' => 'The list of Anti-DDoS Proxy instance IDs to query. The maximum value of N is 200.', 'type' => 'array', - 'items' => [ - 'description' => 'The region from which you block requests. You can block requests from administrative regions in China or from countries and areas. For example, **CN-310000** indicates Shanghai, and **OVERSEAS-US** indicates the United States. If you do not configure this parameter, the Blocked Regions (Domain Names) policy is disabled.'."\n" - ."\n" - .'> For more information, see [Location parameters](~~167926~~).'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'CN-310000', - ], + 'items' => ['description' => 'The ID of the Anti-DDoS Proxy instance to query.'."\n" + ."\n" + .'If this parameter is not specified, all Anti-DDoS Proxy instances are queried.', 'type' => 'string', 'required' => false, 'example' => 'ddoscoo-cn-zvp2eibz****', 'title' => ''], 'required' => false, - 'example' => 'CN-SHANGHAI', - 'maxItems' => 1000, + 'example' => 'ddoscoo-cn-mp91j1ao****', + 'maxItems' => 100, + 'title' => '', ], ], ], @@ -10020,27 +9195,89 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '5AA2BD65-E289-4E91-9DD9-3E1FB2140D17', + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '310A41FD-0990-5610-92E0-A6A55D7C6444', 'title' => ''], + 'InstanceIds' => [ + 'description' => 'The IDs, versions, remarks, and IP type information of the Anti-DDoS Proxy instances.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'IpMode' => ['description' => 'The IP forwarding mode of the instance. Valid values:'."\n" + ."\n" + .'- **fnat**: The IP version of the origin server is the same as that of the client. This means that requests from IPv4 clients are forwarded to IPv4 origin servers, and requests from IPv6 clients are forwarded to IPv6 origin servers.'."\n" + ."\n" + .'- **v6tov4**: Requests from both IPv6 and IPv4 clients are forwarded to IPv4 origin servers.', 'type' => 'string', 'example' => 'fnat', 'title' => ''], + 'Edition' => ['description' => 'The type of the instance. Valid values:'."\n" + ."\n" + .'- **0**: Anti-DDoS Proxy (Outside Chinese Mainland) Insurance.'."\n" + ."\n" + .'- **1**: Anti-DDoS Proxy (Outside Chinese Mainland) Unlimited.'."\n" + ."\n" + .'- **2**: Anti-DDoS Proxy (Outside Chinese Mainland) CMA.'."\n" + ."\n" + .'- **3**: Anti-DDoS Proxy (Outside Chinese Mainland) Sec-CMA.'."\n" + ."\n" + .'- **9**: Anti-DDoS Pro (Chinese Mainland) Professional Edition.', 'type' => 'integer', 'format' => 'int32', 'example' => '9', 'title' => ''], + 'InstanceId' => ['description' => 'The ID of the instance.', 'type' => 'string', 'example' => 'ddoscoo-cn-zvp2eibz****', 'title' => ''], + 'IpVersion' => ['description' => 'The IP protocol version of the instance. Valid values:'."\n" + ."\n" + .'- **Ipv4**: IPv4 version.'."\n" + ."\n" + .'- **Ipv6**: IPv6 version.', 'type' => 'string', 'example' => 'Ipv4', 'title' => ''], + 'Remark' => ['description' => 'The remark of the instance.', 'type' => 'string', 'example' => 'test', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], ], - ], + 'description' => '', + 'title' => '', + 'example' => '', + ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"5AA2BD65-E289-4E91-9DD9-3E1FB2140D17\\"\\n}","type":"json"}]', - 'summary' => 'Modifies the blocked locations that are configured in the Location Blacklist (Domain Names) policy for a website.', - ], - 'DescribeWebCcProtectSwitch' => [ - 'methods' => [ - 'post', - 'get', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"310A41FD-0990-5610-92E0-A6A55D7C6444\\",\\n \\"InstanceIds\\": [\\n {\\n \\"IpMode\\": \\"fnat\\",\\n \\"Edition\\": 9,\\n \\"InstanceId\\": \\"ddoscoo-cn-zvp2eibz****\\",\\n \\"IpVersion\\": \\"Ipv4\\",\\n \\"Remark\\": \\"test\\"\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'DescribeInstanceIds', + 'summary' => 'Queries the IDs, versions, remarks, and IP type information of Anti-DDoS Proxy instances.', + 'description' => 'This operation queries the IDs, versions, remarks, and IP type information of all Anti-DDoS instances.'."\n" + ."\n" + .'### QPS limits'."\n" + ."\n" + .'The maximum number of queries per second (QPS) for a single user is 10. If you exceed this limit, API calls will be throttled, which may affect your business. Please call this operation at a reasonable rate.', + 'requestParamsDescription' => 'When you call this operation, in addition to the request parameters described in this topic, you must also specify the common request parameters of Alibaba Cloud API. For more information, see [common parameters](t2108714.xdita#).'."\n" + ."\n" + .'For the request format, see the request example in the **Examples** section of this topic.', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:23.000Z', 'description' => 'Error codes changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeInstanceIds'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeInstanceIds', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'DescribeInstanceSpecs' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -10050,40 +9287,24 @@ 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', - 'abilityTreeCode' => '106204', - 'abilityTreeNodes' => [ - 'FEATUREddosCRC1QI', - ], + 'abilityTreeCode' => '106152', + 'abilityTreeNodes' => ['FEATUREddosMHU3MF'], ], 'parameters' => [ [ - 'name' => 'ResourceGroupId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'default', - ], - ], - [ - 'name' => 'Domains', + 'name' => 'InstanceIds', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ - 'description' => 'The domain name of the website.'."\n" - ."\n" - .'> A forwarding rule must be configured for the domain name. You can call the [DescribeDomains](~~91724~~) operation to query all domain names.'."\n", + 'description' => 'An array that consists of the IDs of instances to query.'."\n", 'type' => 'array', - 'items' => [ - 'description' => 'The domain name of the website.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'www.aliyun**.com', - ], + 'items' => ['description' => 'The ID of the instance to query.'."\n" + ."\n" + .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.'."\n", 'type' => 'string', 'required' => false, 'example' => 'ddoscoo-cn-zvp2eibz****', 'title' => ''], 'required' => true, - 'example' => 'www.aliyun.com', - 'maxItems' => 5, + 'maxItems' => 100, + 'title' => '', + 'example' => '', ], ], ], @@ -10092,186 +9313,127 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '3ADD9EED-CA4B-488C-BC82-01B0B899363D', - ], - 'ProtectSwitchList' => [ - 'description' => 'The status of each mitigation policy for the website.'."\n", + 'RequestId' => ['description' => 'The ID of the request, which is used to locate and troubleshoot issues.'."\n", 'type' => 'string', 'example' => '4E3A9B5F-5DDB-593D-A1E6-F1F451DB5E0B', 'title' => ''], + 'InstanceSpecs' => [ + 'description' => 'The details of the specifications of the instance.'."\n", 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'BlackWhiteListEnable' => [ - 'description' => 'The status of Blacklist/Whitelist (Domain Names). Valid values:'."\n" - ."\n" - .'* **0**: turned off'."\n" - .'* **1:** turned on'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'AiTemplate' => [ - 'description' => 'The level of Intelligent Protection. Valid values:'."\n" - ."\n" - .'* **level30**: Loose'."\n" - .'* **level60**: Normal'."\n" - .'* **level90**: Strict'."\n", - 'type' => 'string', - 'example' => 'level60', - ], - 'PreciseRuleEnable' => [ - 'description' => 'The status of Accurate Access Control. Valid values:'."\n" - ."\n" - .'* **0**: turned off'."\n" - .'* **1:** turned on'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'Domain' => [ - 'description' => 'The domain name of the website.'."\n", - 'type' => 'string', - 'example' => 'www.aliyun.com', - ], - 'AiMode' => [ - 'description' => 'The mode of Intelligent Protection. Valid values:'."\n" - ."\n" - .'* **watch**: Warning'."\n" - .'* **defense**: Defense'."\n", - 'type' => 'string', - 'example' => 'defense', - ], - 'AiRuleEnable' => [ - 'description' => 'The status of Intelligent Protection. Valid values:'."\n" - ."\n" - .'* **0**: turned off'."\n" - .'* **1:** turned on'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'RegionBlockEnable' => [ - 'description' => 'The status of Location Blacklist (Domain Names). Valid values:'."\n" - ."\n" - .'* **0**: turned off'."\n" - .'* **1:** turned on'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'CcTemplate' => [ - 'description' => 'The mode of Frequency Control. Valid values:'."\n" - ."\n" - .'* **default**: Normal'."\n" - .'* **gf_under_attack**: Emergency'."\n" - .'* **gf_sos_verify**: Strict'."\n" - .'* **gf_sos_enhance**: Super Strict'."\n", - 'type' => 'string', - 'example' => 'default', - ], - 'CcCustomRuleEnable' => [ - 'description' => 'The status of the Custom Rules switch for Frequency Control. Valid values:'."\n" - ."\n" - .'* **0**: turned off'."\n" - .'* **1:** turned on'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'CcEnable' => [ - 'description' => 'The status of Frequency Control. Valid values:'."\n" - ."\n" - .'* **0**: turned off'."\n" - .'* **1:** turned on'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'CcGlobalSwitch' => [ - 'type' => 'string', - ], + 'BaseBandwidth' => ['description' => 'The basic protection bandwidth. Unit: Gbit/s.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '30', 'title' => ''], + 'QpsLimit' => ['description' => 'The clean QPS.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '3000', 'title' => ''], + 'BandwidthMbps' => ['description' => 'The clean bandwidth. Unit: Mbit/s.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '100', 'title' => ''], + 'ElasticBw' => ['description' => 'The burstable clean bandwidth. Unit: Mbit/s.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '300', 'title' => ''], + 'DefenseCount' => ['description' => 'The number of available advanced mitigation sessions for this month. **-1**: unlimited'."\n" + ."\n" + .'> This parameter is returned only when the request parameter **RegionId** is set to **ap-southeast-1**. If RegionId is set to ap-southeast-1, the specifications of Anti-DDoS Proxy (Outside Chinese Mainland) instances are queried.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '2', 'title' => ''], + 'SiteLimit' => ['description' => 'The number of sites that can be protected by the instance.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '5', 'title' => ''], + 'PortLimit' => ['description' => 'The number of ports that can be protected by the instance.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '50', 'title' => ''], + 'ElasticBandwidth' => ['description' => 'The burstable protection bandwidth. Unit: Gbit/s.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '30', 'title' => ''], + 'FunctionVersion' => ['description' => 'The function plan of the instance. Valid values:'."\n" + ."\n" + .'* **default**: Standard'."\n" + .'* **enhance**: Enhanced'."\n" + .'* **cnhk**: Chinese Mainland Acceleration (CMA)'."\n" + .'* **cnhk_default**: Secure Chinese Mainland Acceleration (Sec-CMA) standard'."\n" + .'* **cnhk_enhance**: Sec-CMA enhanced'."\n", 'type' => 'string', 'example' => 'default', 'title' => ''], + 'InstanceId' => ['description' => 'The ID of the instance.'."\n", 'type' => 'string', 'example' => 'ddoscoo-cn-zvp2eibz****', 'title' => ''], + 'DomainLimit' => ['description' => 'The number of domain names that can be protected by the instance.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '50', 'title' => ''], + 'ElasticBwModel' => ['description' => 'The metering method of the burstable clean bandwidth. Valid values:'."\n" + ."\n" + .'* **day**: the metering method of daily 95th percentile'."\n" + .'* **month**: the metering method of monthly 95th percentile'."\n", 'type' => 'string', 'example' => 'day', 'title' => ''], + 'CpsLimit' => ['description' => 'The specification of new connections of the instance.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '5000', 'title' => ''], + 'ConnLimit' => ['description' => 'The specification of concurrent connections of the instance.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '100000', 'title' => ''], + 'RealLimitBw' => ['description' => 'The threshold of the clean bandwidth. Valid values: 0 to 15360. The value 0 indicates that rate limiting is never triggered. Unit: Mbit/s'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '0', 'title' => ''], + 'ElasticQpsMode' => ['description' => 'The metering method of the burstable QPS. Valid values:'."\n" + ."\n" + .'* **day**: the metering method of daily 95th percentile'."\n" + .'* **month**: the metering method of monthly 95th percentile'."\n", 'type' => 'string', 'example' => 'day', 'title' => ''], + 'ElasticQps' => ['description' => 'The burstable QPS. Unit: QPS'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '10', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"3ADD9EED-CA4B-488C-BC82-01B0B899363D\\",\\n \\"ProtectSwitchList\\": [\\n {\\n \\"BlackWhiteListEnable\\": 1,\\n \\"AiTemplate\\": \\"level60\\",\\n \\"PreciseRuleEnable\\": 0,\\n \\"Domain\\": \\"www.aliyun.com\\",\\n \\"AiMode\\": \\"defense\\",\\n \\"AiRuleEnable\\": 1,\\n \\"RegionBlockEnable\\": 0,\\n \\"CcTemplate\\": \\"default\\",\\n \\"CcCustomRuleEnable\\": 0,\\n \\"CcEnable\\": 1,\\n \\"CcGlobalSwitch\\": \\"\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\r\\n\\r\\n\\t3ADD9EED-CA4B-488C-BC82-01B0B899363D\\r\\n\\t\\r\\n\\t\\t1\\r\\n\\t\\t1\\r\\n\\t\\t1\\r\\n\\t\\t0\\r\\n\\t\\t0\\r\\n\\t\\twww.aliyun.com\\r\\n\\t\\tdefense\\r\\n\\t\\t0\\r\\n\\t\\tdefault\\r\\n\\t\\tlevel60\\r\\n\\t\\r\\n","errorExample":""}]', - 'title' => 'DescribeWebCcProtectSwitch', - 'summary' => 'Queries the status of each mitigation policy for a website.', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'DescribeWebCCRules' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4E3A9B5F-5DDB-593D-A1E6-F1F451DB5E0B\\",\\n \\"InstanceSpecs\\": [\\n {\\n \\"BaseBandwidth\\": 30,\\n \\"QpsLimit\\": 3000,\\n \\"BandwidthMbps\\": 100,\\n \\"ElasticBw\\": 300,\\n \\"DefenseCount\\": 2,\\n \\"SiteLimit\\": 5,\\n \\"PortLimit\\": 50,\\n \\"ElasticBandwidth\\": 30,\\n \\"FunctionVersion\\": \\"default\\",\\n \\"InstanceId\\": \\"ddoscoo-cn-zvp2eibz****\\",\\n \\"DomainLimit\\": 50,\\n \\"ElasticBwModel\\": \\"day\\",\\n \\"CpsLimit\\": 5000,\\n \\"ConnLimit\\": 100000,\\n \\"RealLimitBw\\": 0,\\n \\"ElasticQpsMode\\": \\"day\\",\\n \\"ElasticQps\\": 10\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'DescribeInstanceSpecs', + 'summary' => 'Queries the specifications of Anti-DDoS Pro or Anti-DDoS Premium instances.', + 'description' => 'You can call the DescribeInstanceSpecs operation to query the specifications of multiple Anti-DDoS Pro or Anti-DDoS Premium instances at a time. The specifications include the clean bandwidth, protection bandwidth, function plan, and the numbers of domain names and ports that can be protected.'."\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", + 'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see [Common parameters](~~157269~~).'."\n" + ."\n" + .'For more information about sample requests, see the **"Examples"** section of this topic.'."\n", + 'changeSet' => [ + ['createdAt' => '2023-05-17T08:15:41.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-04-04T05:59:00.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2022-11-24T09:31:01.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2022-07-13T07:30:29.000Z', 'description' => 'Response parameters changed, Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeInstanceSpecs'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeInstanceSpecs', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'DescribeInstanceStatistics' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'deprecated' => true, + 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', - 'abilityTreeCode' => '106205', - 'abilityTreeNodes' => [ - 'FEATUREddosOZ1QOD', - ], + 'abilityTreeCode' => '106153', + 'abilityTreeNodes' => ['FEATUREddosMHU3MF'], ], 'parameters' => [ [ - 'name' => 'ResourceGroupId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'default', - ], - ], - [ - 'name' => 'Domain', + 'name' => 'InstanceIds', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => 'The domain name of the website.'."\n" + 'description' => 'The ID of the instance that you want to query.'."\n" ."\n" - .'> A forwarding rule must be configured for the domain name. You can call the [DescribeDomains](~~91724~~) operation to query all domain names.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'www.aliyun.com', - ], - ], - [ - 'name' => 'PageNumber', - 'in' => 'query', - 'schema' => [ - 'description' => 'The number of the page to return. For example, to query the returned results on the first page, set the value to **1**.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], - ], - [ - 'name' => 'PageSize', - 'in' => 'query', - 'schema' => [ - 'description' => 'The number of entries to return on each page.'."\n", - 'type' => 'string', + .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.'."\n", + 'type' => 'array', + 'items' => ['description' => 'The ID of instance N to query. The maximum value of N is 200. You can specify up to 200 instances. Separate the IDs of multiple instances with commas (,).'."\n" + ."\n" + .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.'."\n", 'type' => 'string', 'required' => false, 'example' => 'ddoscoo-cn-mp91j1ao****', 'title' => ''], 'required' => true, - 'example' => '10', + 'example' => 'ddoscoo-cn-mp91j1ao****', + 'maxItems' => 100, + 'title' => '', ], ], ], @@ -10280,98 +9442,66 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'TotalCount' => [ - 'description' => 'The total number of custom frequency control rules.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'EAED912D-909E-45F0-AF74-AC0CCDCAE314', - ], - 'WebCCRules' => [ - 'description' => 'The custom frequency control rule.'."\n", + 'RequestId' => ['description' => 'The ID of the request, which is used to locate and troubleshoot issues.'."\n", 'type' => 'string', 'example' => '642319A9-D1F2-4459-A447-E57CFC599FDE', 'title' => ''], + 'InstanceStatistics' => [ + 'description' => 'The statistics on the instance.'."\n", 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'Ttl' => [ - 'description' => 'The validity period. Valid values: **1** to **1440**. Unit: minutes.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '60', - ], - 'Act' => [ - 'description' => 'The action triggered if the rule is matched. Valid values:'."\n" - ."\n" - .'* **close**: The requests that match the rule are blocked.'."\n" - .'* **captcha**: Completely Automated Public Turing test to tell Computers and Humans Apart (CAPTCHA) verification for the requests that match the rule is implemented.'."\n", - 'type' => 'string', - 'example' => 'close', - ], - 'Interval' => [ - 'description' => 'The check interval. Valid values: **5** to **10800**. Unit: seconds.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '5', - ], - 'Mode' => [ - 'description' => 'The match mode. Valid values:'."\n" - ."\n" - .'* **prefix**: prefix match.'."\n" - .'* **match**: exact match.'."\n", - 'type' => 'string', - 'example' => 'prefix', - ], - 'Name' => [ - 'description' => 'The name of the rule.'."\n", - 'type' => 'string', - 'example' => 'wq', - ], - 'Uri' => [ - 'description' => 'The check path.'."\n", - 'type' => 'string', - 'example' => '/hello', - ], - 'Count' => [ - 'description' => 'The number of requests that are allowed from a single IP address. Valid values: **2** to **2000**.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '3', - ], + 'DomainUsage' => ['description' => 'The number of domain names that are protected by the instance.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'DefenseCountUsage' => ['description' => 'The number of advanced mitigation sessions that are used in this month.'."\n" + ."\n" + .'> This parameter is returned only if Anti-DDoS Proxy (Outside Chinese Mainland) instances are queried.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'InstanceId' => ['description' => 'The ID of the instance.'."\n", 'type' => 'string', 'example' => 'ddoscoo-cn-mp91j1ao****', 'title' => ''], + 'SiteUsage' => ['description' => 'The number of websites that are protected by the instance.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'PortUsage' => ['description' => 'The number of ports that are protected by the instance.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '2', 'title' => ''], ], 'description' => '', + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'substitutions' => [ - 'ddoscoo::2020-01-01::ConfigWebCCRuleV2', - ], - ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"TotalCount\\": 1,\\n \\"RequestId\\": \\"EAED912D-909E-45F0-AF74-AC0CCDCAE314\\",\\n \\"WebCCRules\\": [\\n {\\n \\"Ttl\\": 60,\\n \\"Act\\": \\"close\\",\\n \\"Interval\\": 5,\\n \\"Mode\\": \\"prefix\\",\\n \\"Name\\": \\"wq\\",\\n \\"Uri\\": \\"/hello\\",\\n \\"Count\\": 3\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\r\\n\\r\\n\\t1\\r\\n\\tEAED912D-909E-45F0-AF74-AC0CCDCAE314\\r\\n\\t\\r\\n\\t\\tclose\\r\\n\\t\\tprefix\\r\\n\\t\\t3\\r\\n\\t\\t60\\r\\n\\t\\t/hello\\r\\n\\t\\twq\\r\\n\\t\\t5\\r\\n\\t\\r\\n","errorExample":""}]', - 'title' => 'DescribeWebCCRules', - 'summary' => 'Queries the custom frequency control rules that are created for a website.', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"642319A9-D1F2-4459-A447-E57CFC599FDE\\",\\n \\"InstanceStatistics\\": [\\n {\\n \\"DomainUsage\\": 1,\\n \\"DefenseCountUsage\\": 1,\\n \\"InstanceId\\": \\"ddoscoo-cn-mp91j1ao****\\",\\n \\"SiteUsage\\": 1,\\n \\"PortUsage\\": 2\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\n 642319A9-D1F2-4459-A447-E57CFC599FDE\\n \\n 1\\n 1\\n ddoscoo-cn-mp91j1ao****\\n 1\\n 2\\n \\n","errorExample":""}]', + 'title' => 'DescribeInstanceStatistics', + 'summary' => 'Queries the statistics on one or more Anti-DDoS Proxy instances, such as the numbers of protected domain names and ports.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeWebPreciseAccessRule' => [ - 'summary' => 'Queries the accurate access control rules that are created for websites.', - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:23.000Z', 'description' => 'Error codes changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeInstanceStatistics'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeInstanceStatistics', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'DescribeInstanceStatus' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -10381,179 +9511,78 @@ 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '106208', - 'abilityTreeNodes' => [ - 'FEATUREddosOZ1QOD', - ], + 'abilityTreeCode' => '106154', + 'abilityTreeNodes' => ['FEATUREddosMHU3MF'], ], 'parameters' => [ [ - 'name' => 'ResourceGroupId', + 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'default', - ], + 'schema' => ['description' => 'The ID of the Anti-DDoS Pro or Anti-DDoS Premium instance that you want to query.'."\n" + ."\n" + .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all Anti-DDoS Proxy (Chinese Mainland) or Anti-DDoS Proxy (Outside Chinese Mainland) instances.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'ddoscoo-cn-6ja1y6p5****'], ], [ - 'name' => 'Domains', + 'name' => 'ProductType', 'in' => 'query', - 'style' => 'repeatList', + 'schema' => ['description' => 'The type of the Anti-DDoS Pro or Anti-DDoS Premium instance that you want to query. Valid values:'."\n" + ."\n" + .'- **1**: an Anti-DDoS Proxy (Chinese Mainland) instance.'."\n" + ."\n" + .'- **2**: an Anti-DDoS Proxy (Outside Chinese Mainland) instance.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'title' => '', 'example' => '1'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'An array that consists of the domain names of websites.'."\n" - ."\n" - .'> A forwarding rule must be configured for the domain name. You can call the [DescribeDomains](~~91724~~) operation to query all domain names.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The domain name of the website.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'www.test****.com', + 'type' => 'object', + 'properties' => [ + 'InstanceStatus' => ['description' => 'The status of the Anti-DDoS Pro or Anti-DDoS Premium instance. Valid values:'."\n" + ."\n" + .'- **1**: Normal.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '1'], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'title' => '', 'example' => '112777CC-2AD6-46FC-A263-00B931406FCD'], + 'InstanceId' => ['description' => 'The ID of the Anti-DDoS Pro or Anti-DDoS Premium instance.', 'type' => 'string', 'title' => '', 'example' => 'ddoscoo-cn-6ja1y6p5****'], ], - 'required' => true, - 'example' => 'www.aliyun.com', - 'maxItems' => 5, + 'description' => '', + 'title' => '', + 'example' => '', ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"InstanceStatus\\": 1,\\n \\"RequestId\\": \\"112777CC-2AD6-46FC-A263-00B931406FCD\\",\\n \\"InstanceId\\": \\"ddoscoo-cn-6ja1y6p5****\\"\\n}","type":"json"}]', + 'title' => 'DescribeInstanceStatus', + 'summary' => 'Queries the status of a specified Anti-DDoS Pro or Anti-DDoS Premium instance.', + 'requestParamsDescription' => 'When you call this operation, you must specify the request parameters described in this topic and the common request parameters. For more information about common request parameters, see [Common parameters](~~157269~~).'."\n" + ."\n" + .'For more information about the request format, see the request example in the **Examples** section of this topic.', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:23.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '20', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeInstanceStatus'], + ], + ], + 'ramActions' => [ [ - 'name' => 'Owner', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - 'enum' => [ - 'manual', - 'clover', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeInstanceStatus', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '209EEFBF-B0C7-441E-8C28-D0945A57A638', - ], - 'PreciseAccessConfigList' => [ - 'description' => 'The configuration of the accurate access control rule that is created for the website.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Domain' => [ - 'description' => 'The domain name of the website.'."\n", - 'type' => 'string', - 'example' => 'www.aliyun.com', - ], - 'RuleList' => [ - 'description' => 'The scheduling rules.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Action' => [ - 'description' => 'The action triggered if the rule is matched. Valid values:'."\n" - ."\n" - .'* **accept**: The requests that match the rule are allowed.'."\n" - .'* **block**: The requests that match the rule are blocked.'."\n" - .'* **challenge**: Completely Automated Public Turing test to tell Computers and Humans Apart (CAPTCHA) verification for the requests that match the rule is implemented.'."\n", - 'type' => 'string', - 'example' => 'accept', - ], - 'Owner' => [ - 'description' => 'The source of the rule. Valid values:'."\n" - ."\n" - .'* **manual** (default): manually created.'."\n" - .'* **auto**: automatically generated.'."\n", - 'type' => 'string', - 'example' => 'manual', - ], - 'ExpirePeriod' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'Name' => [ - 'description' => 'The name of the scheduling rule.'."\n", - 'type' => 'string', - 'example' => 'testrule', - ], - 'ConditionList' => [ - 'description' => 'The match conditions.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'MatchMethod' => [ - 'description' => 'The logical operator.'."\n", - 'type' => 'string', - 'example' => 'belong', - ], - 'Field' => [ - 'description' => 'The match field.'."\n", - 'type' => 'string', - 'example' => 'ip', - ], - 'Content' => [ - 'description' => 'The match content.'."\n", - 'type' => 'string', - 'example' => '1.1.1.1', - ], - 'HeaderName' => [ - 'description' => 'The custom HTTP request header.'."\n" - ."\n" - .'> This parameter takes effect only when **Field** is set to **header**.'."\n", - 'type' => 'string', - 'example' => 'null', - ], - 'ContentList' => [ - 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], - ], - ], - ], - ], - 'Expires' => [ - 'description' => 'The validity period of the rule. Unit: seconds. This parameter takes effect only when **action** of a rule is **block**. Access requests that match the rule are blocked within the specified validity period of the rule. The value **0** indicates that the whitelist takes effect all the time.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - ], - ], - ], - ], - ], - ], - ], - 'description' => '', - ], - ], - ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"209EEFBF-B0C7-441E-8C28-D0945A57A638\\",\\n \\"PreciseAccessConfigList\\": [\\n {\\n \\"Domain\\": \\"www.aliyun.com\\",\\n \\"RuleList\\": [\\n {\\n \\"Action\\": \\"accept\\",\\n \\"Owner\\": \\"manual\\",\\n \\"ExpirePeriod\\": 1598889600,\\n \\"Name\\": \\"testrule\\",\\n \\"ConditionList\\": [\\n {\\n \\"MatchMethod\\": \\"belong\\",\\n \\"Field\\": \\"ip\\",\\n \\"Content\\": \\"1.1.1.1\\",\\n \\"HeaderName\\": \\"null\\",\\n \\"ContentList\\": [\\n \\"{\\\\\\"field\\\\\\":\\\\\\"uri\\\\\\",\\\\\\"match_method\\\\\\":\\\\\\"contain\\\\\\",\\\\\\"content\\\\\\":\\\\\\"/test/123\\\\\\"}\\"\\n ]\\n }\\n ],\\n \\"Expires\\": 0\\n }\\n ]\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\r\\n\\r\\n\\t\\r\\n\\t\\t\\r\\n\\t\\t\\tmanual\\r\\n\\t\\t\\taccept\\r\\n\\t\\t\\t\\r\\n\\t\\t\\t\\tbelong\\r\\n\\t\\t\\t\\tip\\r\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t1.***.***.2\\r\\n\\t\\t\\t\\r\\n\\t\\t\\t0\\r\\n\\t\\t\\ttestrule\\r\\n\\t\\t\\r\\n\\t\\twww.aliyun.com\\r\\n\\t\\r\\n\\t209EEFBF-B0C7-441E-8C28-D0945A57A638\\r\\n","errorExample":""}]', - 'title' => 'DescribeWebPreciseAccessRule', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', ], - 'DescribeWebAreaBlockConfigs' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DescribeInstances' => [ + 'summary' => 'Retrieves a list of Anti-DDoS Proxy instances.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -10563,40 +9592,135 @@ 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', - 'abilityTreeCode' => '106202', - 'abilityTreeNodes' => [ - 'FEATUREddosOZ1QOD', - ], + 'abilityTreeCode' => '106151', + 'abilityTreeNodes' => ['FEATUREddosMHU3MF'], ], 'parameters' => [ [ 'name' => 'ResourceGroupId', 'in' => 'query', + 'schema' => ['description' => 'The ID of the resource group to which the Anti-DDoS Proxy instance belongs in Resource Management.'."\n" + ."\n" + .'If you omit this parameter, the system uses the default resource group.', 'type' => 'string', 'required' => false, 'example' => 'rg-acfm2pz25js****', 'title' => ''], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => ['description' => 'The number of the page to return. Pages start from 1.', 'type' => 'string', 'required' => true, 'example' => '1', 'title' => ''], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['description' => 'The number of instances to return per page. Valid values: 1 to 50.', 'type' => 'string', 'required' => true, 'example' => '10', 'title' => ''], + ], + [ + 'name' => 'Ip', + 'in' => 'query', + 'schema' => ['description' => 'The IP address of the Anti-DDoS Proxy instance.', 'type' => 'string', 'required' => false, 'example' => '203.107.XX.XX', 'title' => ''], + ], + [ + 'name' => 'Remark', + 'in' => 'query', + 'schema' => ['description' => 'The remark of the Anti-DDoS Proxy instance. Fuzzy matching is supported.', 'type' => 'string', 'required' => false, 'example' => 'doc-test', 'title' => ''], + ], + [ + 'name' => 'Edition', + 'in' => 'query', + 'schema' => ['description' => 'The edition of the Anti-DDoS Proxy instance. Valid values:'."\n" + ."\n" + .'- **0**: Anti-DDoS Proxy (Outside Chinese Mainland) Insurance.'."\n" + ."\n" + .'- **1**: Anti-DDoS Proxy (Outside Chinese Mainland) Unlimited.'."\n" + ."\n" + .'- **2**: Anti-DDoS Proxy (Outside Chinese Mainland) CMA.'."\n" + ."\n" + .'- **9**: Anti-DDoS Proxy (Chinese Mainland) Professional Edition.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '9', 'title' => ''], + ], + [ + 'name' => 'Enabled', + 'in' => 'query', + 'schema' => ['description' => 'The service traffic forwarding status of the Anti-DDoS Proxy instance. Valid values:'."\n" + ."\n" + .'- **0**: Traffic forwarding is stopped.'."\n" + ."\n" + .'- **1**: Traffic is forwarded.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], + ], + [ + 'name' => 'ExpireStartTime', + 'in' => 'query', + 'schema' => ['description' => 'The start of the expiration time range to query. The operation returns only instances that expire after this time. The value is a Unix timestamp in milliseconds.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1640361500000', 'title' => ''], + ], + [ + 'name' => 'ExpireEndTime', + 'in' => 'query', + 'schema' => ['description' => 'The end of the expiration time range to query. The operation returns only instances that expire on or before this time. The value is a Unix timestamp in milliseconds.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1640361700000', 'title' => ''], + ], + [ + 'name' => 'InstanceIds', + 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n", - 'type' => 'string', + 'description' => 'An array of Anti-DDoS Proxy instance IDs. You can specify up to 200 instance IDs.', + 'type' => 'array', + 'items' => ['description' => 'The ID of an Anti-DDoS Proxy instance.', 'type' => 'string', 'required' => false, 'example' => 'ddoscoo-cn-7pp2g9ed****', 'title' => ''], 'required' => false, - 'example' => 'default', + 'maxItems' => 100, + 'title' => '', + 'example' => '', ], ], [ - 'name' => 'Domains', + 'name' => 'Status', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ - 'description' => 'The domain name of the website.'."\n" + 'description' => 'An array of instance statuses for filtering. You can specify up to two statuses.', + 'type' => 'array', + 'items' => ['description' => 'The status of the Anti-DDoS Proxy instance. Valid values:'."\n" + ."\n" + .'- **1**: Normal.'."\n" ."\n" - .'> A forwarding rule must be configured for the domain name. You can call the [DescribeDomains](~~91724~~) operation to query all domain names.'."\n", + .'- **2**: Expired.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], + 'required' => false, + 'maxItems' => 10, + 'title' => '', + 'example' => '', + ], + ], + [ + 'name' => 'Tag', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'description' => 'An array of tags for filtering instances.', 'type' => 'array', 'items' => [ - 'description' => 'The domain name of the website.'."\n", - 'type' => 'string', + 'type' => 'object', + 'properties' => [ + 'Key' => ['description' => 'The tag key used for filtering. You can specify up to 200 tags.'."\n" + ."\n" + .'- A tag is a key-value pair defined by a tag key (**Key**) and a tag value (**Value**).'."\n" + ."\n" + .'- You can use tags to filter instances.'."\n" + ."\n" + .'> The **Key** and **Value** parameters for a tag must be specified as a pair.', 'type' => 'string', 'required' => false, 'example' => 'test-key', 'title' => ''], + 'Value' => ['description' => 'The tag value used for filtering. You can specify up to 200 tags.'."\n" + ."\n" + .'- A tag is a key-value pair defined by a tag key (**Key**) and a tag value (**Value**).'."\n" + ."\n" + .'- You can use tags to filter instances.'."\n" + ."\n" + .'> The **Key** and **Value** parameters for a tag must be specified as a pair.', 'type' => 'string', 'required' => false, 'example' => 'test-value', 'title' => ''], + ], 'required' => false, - 'example' => 'www.aliyun**.com', + 'description' => '', + 'title' => '', + 'example' => '', ], - 'required' => true, - 'example' => 'www.aliyun.com', - 'maxItems' => 10, + 'required' => false, + 'maxItems' => 20, + 'title' => '', + 'example' => '', ], ], ], @@ -10605,171 +9729,236 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc', - ], - 'AreaBlockConfigs' => [ - 'description' => 'An array that consists of the configurations of the Location Blacklist (Domain Names) policy.'."\n", + 'TotalCount' => ['description' => 'The total number of instances found.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], + 'RequestId' => ['description' => 'The request ID. Alibaba Cloud generates this unique ID for the request. Use it to locate and troubleshoot issues.', 'type' => 'string', 'example' => 'A0AF40CC-814A-5A86-AEAA-6F19E88B8A39', 'title' => ''], + 'Instances' => [ + 'description' => 'A list of instance details.', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'Domain' => [ - 'description' => 'The domain name of the website.'."\n", - 'type' => 'string', - 'example' => 'www.aliyun.com', - ], - 'RegionList' => [ - 'description' => 'The configuration of the blocked locations.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Region' => [ - 'description' => 'The name of the location.'."\n", - 'type' => 'string', - 'example' => 'CN-SHANGHAI', - ], - 'Block' => [ - 'description' => 'Indicates whether the location is blocked. Valid values:'."\n" - ."\n" - .'* **0**: yes'."\n" - .'* **1**: no'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - ], - ], - ], + 'Status' => ['description' => 'The status of the instance. Valid values:'."\n" + ."\n" + .'- **1**: Normal'."\n" + ."\n" + .'- **2**: Expired', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'IpMode' => ['description' => 'The IP forwarding mode of the instance. Valid values:'."\n" + ."\n" + .'- **fnat**: The IP versions of the client and the origin server are the same. For example, requests from IPv4 clients are forwarded to IPv4 origin servers, and requests from IPv6 clients are forwarded to IPv6 origin servers.'."\n" + ."\n" + .'- **v6tov4**: Requests from IPv6 clients are forwarded to IPv4 origin servers.', 'type' => 'string', 'example' => 'fnat', 'title' => ''], + 'DebtStatus' => ['description' => 'The overdue payment status of the instance. The value is fixed at **0**, which indicates no overdue payment. This is because both Anti-DDoS Pro (Chinese Mainland) and Anti-DDoS Proxy (Outside Chinese Mainland) are subscription-based.', 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''], + 'Edition' => ['description' => 'The edition of the instance. Valid values:'."\n" + ."\n" + .'- **0**: Anti-DDoS Proxy (Outside Chinese Mainland) Insurance'."\n" + ."\n" + .'- **1**: Anti-DDoS Proxy (Outside Chinese Mainland) Unlimited'."\n" + ."\n" + .'- **2**: Anti-DDoS Proxy (Outside Chinese Mainland) CMA'."\n" + ."\n" + .'- **9**: Anti-DDoS Pro (Chinese Mainland) Professional Edition', 'type' => 'integer', 'format' => 'int32', 'example' => '9', 'title' => ''], + 'IpVersion' => ['description' => 'The IP protocol version of the instance. Valid values:'."\n" + ."\n" + .'- **Ipv4**: IPv4'."\n" + ."\n" + .'- **Ipv6**: IPv6', 'type' => 'string', 'example' => 'Ipv4', 'title' => ''], + 'ExpireTime' => ['description' => 'The expiration time of the instance, provided as a UNIX timestamp in milliseconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1640361600000', 'title' => ''], + 'Remark' => ['description' => 'The remark for the instance.', 'type' => 'string', 'example' => 'doc-test', 'title' => ''], + 'CreateTime' => ['description' => 'The creation time of the instance, provided as a UNIX timestamp in milliseconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1637751953000', 'title' => ''], + 'Enabled' => ['description' => 'The service traffic forwarding status of the instance. Valid values:'."\n" + ."\n" + .'- **0**: Service traffic forwarding is stopped.'."\n" + ."\n" + .'- **1**: Service traffic forwarding is active.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'InstanceId' => ['description' => 'The ID of the instance.', 'type' => 'string', 'example' => 'ddoscoo-cn-7pp2g9ed****', 'title' => ''], + 'IsFirstOpenBw' => ['description' => 'Specifies whether the 95th percentile burstable clean bandwidth billing method has been previously enabled. Valid values:'."\n" + ."\n" + .'- **0**: No'."\n" + ."\n" + .'- 1: Indicates that it has been enabled.', 'type' => 'integer', 'format' => 'int64', 'example' => '0', 'title' => ''], + 'IsFirstOpenQps' => ['description' => 'Specifies whether the 95th percentile burstable QPS billing method has been previously enabled. Valid values:'."\n" + ."\n" + .'- **0**: No'."\n" + ."\n" + .'- 1: Enabled.', 'type' => 'integer', 'format' => 'int64', 'example' => '0', 'title' => ''], + 'Ip' => ['description' => 'The IP address of the instance.', 'type' => 'string', 'example' => '203.199.XX.XX', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\",\\n \\"AreaBlockConfigs\\": [\\n {\\n \\"Domain\\": \\"www.aliyun.com\\",\\n \\"RegionList\\": [\\n {\\n \\"Region\\": \\"CN-SHANGHAI\\",\\n \\"Block\\": 0\\n }\\n ]\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\r\\n\\r\\n\\t\\r\\n\\t\\t\\r\\n\\t\\t\\t1\\r\\n\\t\\t\\tCN-YUNNAN\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\t0\\r\\n\\t\\t\\tCN-HEILONGJIANG\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\t0\\r\\n\\t\\t\\tOVERSEAS-ANTARCTICA\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\t1\\r\\n\\t\\t\\tOVERSEAS-EUROPE\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\t0\\r\\n\\t\\t\\tCN-BEIJING\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\t0\\r\\n\\t\\t\\tCN-HENAN\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\t0\\r\\n\\t\\t\\tCN-HUNAN\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\t0\\r\\n\\t\\t\\tCN-FUJIAN\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\t0\\r\\n\\t\\t\\tCN-JIANGSU\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\t0\\r\\n\\t\\t\\tCN-ZHEJIANG\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\t0\\r\\n\\t\\t\\tCN-HAINAN\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\t0\\r\\n\\t\\t\\tCN-TIBET\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\t0\\r\\n\\t\\t\\tCN-INNERMONGOLIA\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\t0\\r\\n\\t\\t\\tCN-NINGXIA\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\t0\\r\\n\\t\\t\\tCN-SHAANXI\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\t0\\r\\n\\t\\t\\tCN-GUANGDONG\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\t0\\r\\n\\t\\t\\tCN-QINGHAI\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\t0\\r\\n\\t\\t\\tOVERSEAS-NAMERICA\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\t0\\r\\n\\t\\t\\tOVERSEAS-SAMERICA\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\t0\\r\\n\\t\\t\\tCN-SHANGHAI\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\t1\\r\\n\\t\\t\\tCN-GUANGXI\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\t0\\r\\n\\t\\t\\tOVERSEAS-ASIA\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\t0\\r\\n\\t\\t\\tOVERSEAS-OCEANIA\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\t0\\r\\n\\t\\t\\tCN-MACAU\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\t0\\r\\n\\t\\t\\tCN-GUIZHOU\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\t0\\r\\n\\t\\t\\tCN-JILIN\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\t0\\r\\n\\t\\t\\tCN-ANHUI\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\t0\\r\\n\\t\\t\\tCN-JIANGXI\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\t0\\r\\n\\t\\t\\tCN-HEBEI\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\t0\\r\\n\\t\\t\\tCN-CHONGQING\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\t0\\r\\n\\t\\t\\tOVERSEAS-AFRICA\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\t0\\r\\n\\t\\t\\tCN-SICHUAN\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\t0\\r\\n\\t\\t\\tCN-TIANJIN\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\t0\\r\\n\\t\\t\\tCN-XINJIANG\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\t0\\r\\n\\t\\t\\tCN-LIAONING\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\t0\\r\\n\\t\\t\\tCN-GANSU\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\t0\\r\\n\\t\\t\\tCN-HONGKONG\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\t1\\r\\n\\t\\t\\tCN-TAIWAN\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\t0\\r\\n\\t\\t\\tCN-SHANDONG\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\t0\\r\\n\\t\\t\\tCN-SHANXI\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\t0\\r\\n\\t\\t\\tCN-HUBEI\\r\\n\\t\\t\\r\\n\\t\\twww.aliyun.com\\r\\n\\t\\r\\n\\t044D33A9-80B9-4F07-BA63-9207CAD53263\\r\\n","errorExample":""}]', - 'summary' => 'Queries the Location Blacklist (Domain Names) configurations for websites.', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'ConfigWebIpSet' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 1,\\n \\"RequestId\\": \\"A0AF40CC-814A-5A86-AEAA-6F19E88B8A39\\",\\n \\"Instances\\": [\\n {\\n \\"Status\\": 1,\\n \\"IpMode\\": \\"fnat\\",\\n \\"DebtStatus\\": 0,\\n \\"Edition\\": 9,\\n \\"IpVersion\\": \\"Ipv4\\",\\n \\"ExpireTime\\": 1640361600000,\\n \\"Remark\\": \\"doc-test\\",\\n \\"CreateTime\\": 1637751953000,\\n \\"Enabled\\": 1,\\n \\"InstanceId\\": \\"ddoscoo-cn-7pp2g9ed****\\",\\n \\"IsFirstOpenBw\\": 0,\\n \\"IsFirstOpenQps\\": 0,\\n \\"Ip\\": \\"203.199.XX.XX\\"\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'DescribeInstances', + 'description' => 'Use this operation to retrieve paginated details for Anti-DDoS instances in your Alibaba Cloud account. The response includes the instance ID, version, expiration time, and service traffic forwarding status.'."\n" + ."\n" + .'### QPS limit'."\n" + ."\n" + .'This operation is limited to 10 calls per second per user. Exceeding this limit triggers throttling, which can disrupt your services.', + 'requestParamsDescription' => 'When you call this API, you must include both the API-specific request parameters and the Alibaba Cloud common request parameters. For more information, see [Common parameters](~~157269~~).'."\n" + ."\n" + .'For the request format, see the sample request in the **Examples** section.', + 'changeSet' => [ + ['createdAt' => '2025-10-24T05:22:55.000Z', 'description' => 'OpenAPI offline'], + ['createdAt' => '2025-10-24T05:22:52.000Z', 'description' => 'OpenAPI offline'], + ['createdAt' => '2025-10-24T03:33:39.000Z', 'description' => 'OpenAPI offline'], + ['createdAt' => '2025-10-24T03:33:36.000Z', 'description' => 'OpenAPI offline'], + ['createdAt' => '2025-10-24T03:31:10.000Z', 'description' => 'OpenAPI offline'], + ['createdAt' => '2025-10-24T03:31:09.000Z', 'description' => 'OpenAPI offline'], + ['createdAt' => '2025-10-23T11:12:56.000Z', 'description' => 'OpenAPI offline'], + ['createdAt' => '2025-10-23T11:12:56.000Z', 'description' => 'OpenAPI offline'], + ['createdAt' => '2025-10-23T11:10:24.000Z', 'description' => 'OpenAPI offline'], + ['createdAt' => '2025-10-23T11:10:22.000Z', 'description' => 'OpenAPI offline'], + ['createdAt' => '2025-10-23T11:06:58.000Z', 'description' => 'OpenAPI offline'], + ['createdAt' => '2025-10-23T10:53:47.000Z', 'description' => 'OpenAPI offline'], + ['createdAt' => '2025-10-23T10:53:41.000Z', 'description' => 'OpenAPI offline'], + ['createdAt' => '2025-10-23T10:44:47.000Z', 'description' => 'OpenAPI offline'], + ['createdAt' => '2023-06-30T06:49:56.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-05-17T08:15:41.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2022-07-13T08:52:37.000Z', 'description' => 'Response parameters changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeInstances'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeInstances', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'DescribeL7GlobalRule' => [ + 'summary' => 'Queries the Anti-DDoS Global Mitigation Policy.', + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', - 'abilityTreeCode' => '106061', - 'abilityTreeNodes' => [ - 'FEATUREddos64TBV6', - ], + 'operationType' => 'none', + 'abilityTreeCode' => '254169', + 'abilityTreeNodes' => ['FEATUREddosOZ1QOD'], ], 'parameters' => [ - [ - 'name' => 'ResourceGroupId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'default', - ], - ], [ 'name' => 'Domain', 'in' => 'query', - 'schema' => [ - 'description' => 'The domain name of the website.'."\n" - ."\n" - .'> A forwarding rule must be configured for the domain name. You can call the [DescribeDomains](~~91724~~) operation to query all domain names.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'www.aliyun.com', - ], - ], - [ - 'name' => 'BlackList', - 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => 'The IP addresses and CIDR blocks in the blacklist. You can add up to 200 IP addresses or CIDR blocks to the blacklist.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The IP address or CIDR block that you want to add to the blacklist.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '59.49.*.*', - ], - 'required' => false, - 'example' => '1.1.1.1', - 'maxItems' => 2000, - ], + 'schema' => ['description' => 'The domain name of the website service to operate on.', 'type' => 'string', 'required' => true, 'example' => 'example.com', 'title' => ''], ], [ - 'name' => 'WhiteList', + 'name' => 'Lang', 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => 'The IP addresses and CIDR blocks in the whitelist. You can add up to 200 IP addresses or CIDR blocks to the whitelist.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The IP address or CIDR block that you want to add to the whitelist.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '2.2.*.*/24', - ], - 'required' => false, - 'example' => '2.2.2.2/24', - 'maxItems' => 2000, - ], + 'schema' => ['description' => 'The language type for the request and response messages. Valid values:'."\n" + ."\n" + .'- zh: Chinese.'."\n" + .'- en: English.', 'type' => 'string', 'required' => false, 'example' => 'zh', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'title' => '', + 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc', + 'RequestId' => ['title' => '', 'description' => 'The ID of the request. The ID is a unique identifier that Alibaba Cloud generates for the request. You can use the ID to troubleshoot issues.', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'], + 'GlobalRules' => [ + 'description' => 'The global template rule information.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Action' => [ + 'description' => 'The action that the rule performs. Valid values:'."\n" + ."\n" + .'- **watch**: Monitor.'."\n" + .'- **block**: Block.'."\n" + .'- **challenge**: JavaScript Challenge.', + 'enumValueTitles' => [], + 'type' => 'string', + 'example' => 'watch', + 'title' => '', + ], + 'ActionDefault' => [ + 'description' => 'The default action of the rule. Valid values:'."\n" + ."\n" + .'- **watch**: Monitor.'."\n" + .'- **block**: Block.'."\n" + .'- **challenge**: JavaScript Challenge.', + 'enumValueTitles' => [], + 'type' => 'string', + 'example' => 'watch', + 'title' => '', + ], + 'Enabled' => ['description' => 'Indicates whether the rule is enabled. Valid values:'."\n" + ."\n" + .'- **1**: Enabled.'."\n" + .'- **0**: Disabled.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], + 'RuleId' => ['description' => 'The rule ID.', 'type' => 'string', 'example' => 'global_1', 'title' => ''], + 'Description' => ['description' => 'The rule description.', 'type' => 'string', 'example' => 'HTTP请求疑似模拟浏览器,校验浏览器Header等组合特征#4', 'title' => ''], + 'RuleName' => ['description' => 'The rule name.', 'type' => 'string', 'example' => '模拟浏览器请求', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], ], + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}","errorExample":""},{"type":"xml","example":"\\r\\n\\r\\n\\t0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\r\\n","errorExample":""}]', - 'title' => 'ConfigWebIpSet', - 'summary' => 'Configures the IP address whitelist and blacklist for a website.', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'ConfigWebCCTemplate' => [ - 'methods' => [ - 'post', - 'get', + 'staticInfo' => ['returnType' => 'synchronous'], + 'gatewayOptions' => [ + 'gatewayProtocols' => [], ], - 'schemes' => [ - 'http', - 'https', + 'title' => 'Query the Anti-DDoS Global Mitigation Policy', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeL7GlobalRule', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\",\\n \\"GlobalRules\\": [\\n {\\n \\"Action\\": \\"watch\\",\\n \\"ActionDefault\\": \\"watch\\",\\n \\"Enabled\\": 1,\\n \\"RuleId\\": \\"global_1\\",\\n \\"Description\\": \\"HTTP请求疑似模拟浏览器,校验浏览器Header等组合特征#4\\",\\n \\"RuleName\\": \\"模拟浏览器请求\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeL7RsPolicy' => [ + 'summary' => 'Queries the back-to-origin policies for the forwarding rule of a website.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -10778,48 +9967,39 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', - 'abilityTreeCode' => '106060', - 'abilityTreeNodes' => [ - 'FEATUREddosM9SQC1', - ], + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '106157', + 'abilityTreeNodes' => ['FEATUREddos64TBV6'], ], 'parameters' => [ [ 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'default', - ], + 'schema' => ['description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n" + ."\n" + .'For more information about resource groups, see [Create a resource group](~~94485~~).', 'type' => 'string', 'required' => false, 'example' => 'rg-acfm2pz25js****', 'title' => ''], ], [ 'name' => 'Domain', 'in' => 'query', - 'schema' => [ - 'description' => 'The domain name of the website.'."\n" - ."\n" - .'> A forwarding rule must be configured for the domain name. You can call the [DescribeDomains](~~91724~~) operation to query all domain names.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'www.aliyun.com', - ], + 'schema' => ['description' => 'The domain name of the website to query.'."\n" + ."\n" + .'> A forwarding rule must be configured for the domain name. You can call the [DescribeDomains](~~91724~~) operation to query the domain names for which forwarding rules are configured.', 'type' => 'string', 'required' => true, 'example' => 'example.com', 'title' => ''], ], [ - 'name' => 'Template', + 'name' => 'RealServers', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => 'The mode of the Frequency Control policy. Valid values:'."\n" - ."\n" - .'* **default**: Normal'."\n" - .'* **gf_under_attack**: Emergency'."\n" - .'* **gf_sos_verify**: Strict'."\n" - .'* **gf_sos_enhance**: Super Strict'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'default', + 'description' => 'An array that consists of N addresses of origin servers to query. The maximum value of N is 200. You can specify up to 200 addresses.', + 'type' => 'array', + 'items' => ['description' => 'A total of N addresses of origin servers to query. The maximum value of N is 200. You can specify up to 200 addresses. Separate multiple addresses with commas (,).', 'type' => 'string', 'required' => false, 'example' => '1.***.***.1', 'title' => ''], + 'required' => false, + 'example' => '1.***.***.1', + 'maxItems' => 20, + 'title' => '', ], ], ], @@ -10828,82 +10008,208 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc', + 'ProxyMode' => ['description' => 'The scheduling algorithm for back-to-origin traffic. Valid values:'."\n" + ."\n" + .'- **ip\\_hash**: the IP hash algorithm. This algorithm is used to redirect the requests from the same IP address to the same origin server.'."\n" + ."\n" + .'- **rr**: the round-robin algorithm. This algorithm is used to redirect requests to origin servers in turn.'."\n" + ."\n" + .'- **least\\_time**: the least response time algorithm. This algorithm is used to minimize the latency when requests are forwarded from Anti-DDoS Pro or Anti-DDoS Premium instances to origin servers based on the intelligent DNS resolution feature.', 'type' => 'string', 'example' => 'rr', 'title' => ''], + 'UpstreamRetry' => ['description' => 'The back-to-origin retry switch. Valid values:'."\n" + ."\n" + .'- **1**: on'."\n" + ."\n" + .'- **0**: off', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'RsAttrRwTimeoutMax' => ['description' => 'The timeout period for a read or write connection.', 'type' => 'integer', 'format' => 'int64', 'example' => '300', 'title' => ''], + 'RequestId' => ['description' => 'The ID of the request, which is used to locate and troubleshoot issues.', 'type' => 'string', 'example' => '9E7F6B2C-03F2-462F-9076-B782CF0DD502', 'title' => ''], + 'Attributes' => [ + 'description' => 'The details about the parameters for back-to-origin settings.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'RsType' => ['description' => 'The address type of the origin server. Valid values:'."\n" + ."\n" + .'- **0**: IP address'."\n" + ."\n" + .'- **1**: domain name', 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''], + 'RealServer' => ['description' => 'The address of the origin server.', 'type' => 'string', 'example' => '1.***.***.1', 'title' => ''], + 'Attribute' => [ + 'description' => 'The parameters for back-to-origin settings.', + 'type' => 'object', + 'properties' => [ + 'Weight' => ['description' => 'The weight of the origin server. This parameter takes effect only if the value of **ProxyMode** is **rr** or **ip\\_hash**.\\*\\*\\*\\*'."\n" + ."\n" + .'Valid values: **1** to **100**. Default value: **100**. A server with a higher weight receives more requests.', 'type' => 'integer', 'format' => 'int32', 'example' => '100', 'title' => ''], + 'ConnectTimeout' => ['description' => 'The timeout period for a new connection. Valid values: **1** to **10**. Unit: seconds. Default value: **5**.', 'type' => 'integer', 'format' => 'int32', 'example' => '5', 'title' => ''], + 'FailTimeout' => ['description' => 'The expiration time of a connection, in seconds. If the number of failures at the origin server exceeds the **MaxFails** value, the address of the origin server is set to down and the expiration time is **FailTimeout**. The final value is the maximum value of **ConnectTimeout** and **FailTimeout**. Valid values: **1** to **3600**. Unit: seconds. Default value: **10**.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], + 'MaxFails' => ['description' => 'The maximum number of failures. This parameter is related to health check. Valid values: **1** to **10**. Unit: seconds. Default value: **3**.', 'type' => 'integer', 'format' => 'int32', 'example' => '3', 'title' => ''], + 'Mode' => ['description' => 'The primary/secondary flag. Valid values:'."\n" + ."\n" + .'- **active**: primary'."\n" + ."\n" + .'- **backup**: secondary', 'type' => 'string', 'example' => 'active', 'title' => ''], + 'ReadTimeout' => ['description' => 'The timeout period for a read connection. Valid values: **10** to **300**. Unit: seconds. Default value: **120**.', 'type' => 'integer', 'format' => 'int32', 'example' => '120', 'title' => ''], + 'SendTimeout' => ['description' => 'The timeout period for a write connection. Valid values: **10** to **300**. Unit: seconds. Default value: **120**.', 'type' => 'integer', 'format' => 'int32', 'example' => '120', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}","errorExample":""},{"type":"xml","example":"\\r\\n\\r\\n\\t0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\r\\n","errorExample":""}]', - 'summary' => 'Configures the mode of the Frequency Control policy for a website.', - 'requestParamsDescription' => ' ', + 'title' => 'DescribeL7RsPolicy', + 'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see [Common parameters](~~157269~~).'."\n" + ."\n" + .'For more information about sample requests, see the **"Examples"** section of this topic.', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DeleteWebCCRuleV2' => [ - 'summary' => 'Deletes custom frequency control rules of a website.', - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2024-09-18T09:19:49.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2024-05-09T09:53:17.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2022-09-08T03:34:23.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeL7RsPolicy'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeL7RsPolicy', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ProxyMode\\": \\"rr\\",\\n \\"UpstreamRetry\\": 1,\\n \\"RsAttrRwTimeoutMax\\": 300,\\n \\"RequestId\\": \\"9E7F6B2C-03F2-462F-9076-B782CF0DD502\\",\\n \\"Attributes\\": [\\n {\\n \\"RsType\\": 0,\\n \\"RealServer\\": \\"1.***.***.1\\",\\n \\"Attribute\\": {\\n \\"Weight\\": 100,\\n \\"ConnectTimeout\\": 5,\\n \\"FailTimeout\\": 10,\\n \\"MaxFails\\": 3,\\n \\"Mode\\": \\"active\\",\\n \\"ReadTimeout\\": 120,\\n \\"SendTimeout\\": 120\\n }\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeL7UsKeepalive' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'delete', + 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '198862', - 'abilityTreeNodes' => [ - 'FEATUREddosOZ1QOD', - ], + 'abilityTreeCode' => '215888', + 'abilityTreeNodes' => ['FEATUREddos64TBV6'], ], 'parameters' => [ [ 'name' => 'Domain', 'in' => 'query', + 'schema' => ['description' => 'The domain name of the website service.'."\n" + ."\n" + .'> The domain name must have a website forwarding rule configured. You can call [DescribeDomains](~~91724~~) to query all domain names.', 'type' => 'string', 'required' => false, 'example' => 'www.aliyun.com', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'The domain name of the website.'."\n" - ."\n" - .'> A forwarding rule must be configured for the domain name. You can call the [DescribeDomains](~~91724~~) operation to query all domain names.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'www.example.com', + 'title' => '', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => '', 'description' => 'The ID of the request. Alibaba Cloud generates this unique identifier for troubleshooting and tracking purposes.', 'type' => 'string', 'example' => '39499F01-19D9-4EA4-A0E9-C6014BA5CDHE'], + 'RsKeepalive' => [ + 'description' => 'The configured back-to-origin persistent connection parameters.', + 'type' => 'object', + 'properties' => [ + 'Enabled' => ['description' => 'Indicates whether back-to-origin persistent connections are enabled. Valid values:'."\n" + ."\n" + .'- **true**: Enabled.'."\n" + ."\n" + .'- **false**: Disabled.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'KeepaliveRequests' => ['description' => 'The number of requests that can reuse a persistent connection.', 'type' => 'integer', 'format' => 'int64', 'example' => '1000', 'title' => ''], + 'KeepaliveTimeout' => ['description' => 'The idle timeout period for persistent connections.', 'type' => 'integer', 'format' => 'int64', 'example' => '30', 'title' => ''], + 'DsKeepaliveTimeout' => ['type' => 'integer', 'format' => 'int64', 'description' => '', 'title' => '', 'example' => ''], + ], + 'title' => '', + 'example' => '', + ], + ], + 'example' => '', ], ], - [ - 'name' => 'RuleNames', - 'in' => 'query', - 'schema' => [ - 'description' => 'The names of the rules that you want to delete.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '[\\"trdsss\\"]', + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'DescribeL7UsKeepalive', + 'summary' => 'Queries the persistent connection settings for back-to-origin requests of a domain name.', + 'changeSet' => [ + ['createdAt' => '2025-09-19T08:52:35.000Z', 'description' => 'Response parameters changed'], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeL7RsKeepalive', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"39499F01-19D9-4EA4-A0E9-C6014BA5CDHE\\",\\n \\"RsKeepalive\\": {\\n \\"Enabled\\": true,\\n \\"KeepaliveRequests\\": 1000,\\n \\"KeepaliveTimeout\\": 30,\\n \\"DsKeepaliveTimeout\\": 0\\n }\\n}","type":"json"}]', + ], + 'DescribeLayer4RulePolicy' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'Owner', + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '106158', + 'abilityTreeNodes' => ['FEATUREddosI8LHMA'], + ], + 'parameters' => [ + [ + 'name' => 'Listeners', 'in' => 'query', - 'schema' => [ - 'description' => 'The source of the rule. Valid values:'."\n" - ."\n" - .'* **manual** (default): manually created.'."\n" - .'* **clover**: automatically created. Specify this value when you want to delete intelligent protection rules.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'manual', - ], + 'schema' => ['description' => 'The port forwarding rule that you want to query.'."\n" + ."\n" + .'This parameter is a string that consists of JSON arrays. Each element in a JSON array indicates a port forwarding rule. You can query only one port forwarding rule at a time.'."\n" + ."\n" + .'> You can call the [DescribeNetworkRules](~~157484~~) to query existing port forwarding rules.'."\n" + ."\n" + .'Each port forwarding rule contains the following fields:'."\n" + ."\n" + .'* **InstanceId**: the ID of the instance. This field is required and must be of the string type.'."\n" + .'* **Protocol**: the forwarding protocol. This field is required and must be of the string type. Valid values: **tcp** and **udp**.'."\n" + .'* **FrontendPort**: the forwarding port. This field is required and must be of the integer type.'."\n", 'type' => 'string', 'required' => true, 'example' => '[{\\"InstanceId\\":\\"ddosDip-sg-4hr2b3l****\\",\\"FrontendPort\\":2020,\\"Protocol\\":\\"udp\\"}]', 'title' => ''], ], ], 'responses' => [ @@ -10911,32 +10217,105 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '6D48AED0-41DB-5D9B-B484-3B6AAD312AD1', + 'FrontendPort' => ['description' => 'The forwarding port.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '2020', 'title' => ''], + 'BakMode' => ['description' => 'The mode that is used to forward service traffic. Valid values:'."\n" + ."\n" + .'* 0: the default mode. In this mode, Anti-DDoS Pro or Anti-DDoS Premium forwards service traffic to the origin IP address that you specified when you created the port forwarding rule. You can call the [CreateNetworkRules](~~157482~~) operation to create a port forwarding rule.'."\n" + .'* 1: the origin redundancy mode. In this mode, Anti-DDoS Pro or Anti-DDoS Premium forwards service traffic to the IP addresses of the primary or secondary origin servers. You can call the [ConfigLayer4RulePolicy](~~312684~~) operation to configure IP addresses.'."\n", 'type' => 'string', 'example' => '1', 'title' => ''], + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '6E46CC51-36BE-1100-B14C-DAF8381B8F73', 'title' => ''], + 'CurrentIndex' => ['description' => 'The origin server that is used to receive service traffic. Valid values:'."\n" + ."\n" + .'* **1**: the primary origin server, which indicates that Anti-DDoS Pro or Anti-DDoS Premium forwards service traffic to the IP addresses of the primary origin server.'."\n" + .'* **2**: the secondary origin server, which indicates that Anti-DDoS Pro or Anti-DDoS Premium forwards service traffic to the IP addresses of the secondary origin server.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'ForwardProtocol' => ['description' => 'The type of the protocol.'."\n", 'type' => 'string', 'example' => 'udp', 'title' => ''], + 'InstanceId' => ['description' => 'The ID of the instance.'."\n", 'type' => 'string', 'example' => 'ddosDip-sg-4hr2b3l****', 'title' => ''], + 'BackendPort' => ['description' => 'The port of the origin server.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '2022', 'title' => ''], + 'PriRealServers' => [ + 'description' => 'An array that consists of the information about the primary origin server, including the IP addresses, forwarding protocol, and forwarding port.'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'FrontendPort' => ['description' => 'The forwarding port.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '2020', 'title' => ''], + 'Eip' => ['description' => 'The IP address of the instance.'."\n", 'type' => 'string', 'example' => '203.107.XX.XX', 'title' => ''], + 'Protocol' => ['description' => 'The type of the protocol.'."\n", 'type' => 'string', 'example' => 'udp', 'title' => ''], + 'CurrentIndex' => ['description' => 'The origin server that is used to receive service traffic. Valid values:'."\n" + ."\n" + .'* **1**: the primary origin server, which indicates that Anti-DDoS Pro or Anti-DDoS Premium forwards service traffic to the IP addresses of the primary origin server.'."\n" + .'* **2**: the secondary origin server, which indicates that Anti-DDoS Pro or Anti-DDoS Premium forwards service traffic to the IP addresses of the secondary origin server.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'InstanceId' => ['description' => 'The ID of the instance.'."\n", 'type' => 'string', 'example' => 'ddosDip-sg-4hr2b3l****', 'title' => ''], + 'RealServer' => ['description' => 'The IP address of the primary origin server.'."\n", 'type' => 'string', 'example' => '192.0.2.1', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + 'SecRealServers' => [ + 'description' => 'An array that consists of the information about the secondary origin server, including the IP addresses, forwarding protocol, and forwarding port.'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'FrontendPort' => ['description' => 'The forwarding port.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '2020', 'title' => ''], + 'Eip' => ['description' => 'The IP address of the instance.'."\n", 'type' => 'string', 'example' => '203.107.XX.XX', 'title' => ''], + 'Protocol' => ['description' => 'The type of the protocol.'."\n", 'type' => 'string', 'example' => 'udp', 'title' => ''], + 'CurrentIndex' => ['description' => 'The origin server that is used to receive service traffic. Valid values:'."\n" + ."\n" + .'* **1**: the primary origin server, which indicates that Anti-DDoS Pro or Anti-DDoS Premium forwards service traffic to the IP addresses of the primary origin server.'."\n" + .'* **2**: the secondary origin server, which indicates that Anti-DDoS Pro or Anti-DDoS Premium forwards service traffic to the IP addresses of the secondary origin server.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'InstanceId' => ['description' => 'The ID of the instance.'."\n", 'type' => 'string', 'example' => 'ddosDip-sg-4hr2b3l****', 'title' => ''], + 'RealServer' => ['description' => 'The IP address of the secondary origin server.'."\n", 'type' => 'string', 'example' => '192.0.2.3', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"FrontendPort\\": 2020,\\n \\"BakMode\\": \\"1\\",\\n \\"RequestId\\": \\"6E46CC51-36BE-1100-B14C-DAF8381B8F73\\",\\n \\"CurrentIndex\\": 1,\\n \\"ForwardProtocol\\": \\"udp\\",\\n \\"InstanceId\\": \\"ddosDip-sg-4hr2b3l****\\",\\n \\"BackendPort\\": 2022,\\n \\"PriRealServers\\": [\\n {\\n \\"FrontendPort\\": 2020,\\n \\"Eip\\": \\"203.107.XX.XX\\",\\n \\"Protocol\\": \\"udp\\",\\n \\"CurrentIndex\\": 1,\\n \\"InstanceId\\": \\"ddosDip-sg-4hr2b3l****\\",\\n \\"RealServer\\": \\"192.0.2.1\\"\\n }\\n ],\\n \\"SecRealServers\\": [\\n {\\n \\"FrontendPort\\": 2020,\\n \\"Eip\\": \\"203.107.XX.XX\\",\\n \\"Protocol\\": \\"udp\\",\\n \\"CurrentIndex\\": 1,\\n \\"InstanceId\\": \\"ddosDip-sg-4hr2b3l****\\",\\n \\"RealServer\\": \\"192.0.2.3\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\r\\n\\r\\n\\tBB95151E-FCAD-1C3C-872F-77166555E396\\r\\n\\tddosDip-sg-4hr2b3l****\\r\\n\\t2022\\r\\n\\t2020\\r\\n\\t1\\r\\n\\t1\\r\\n\\tudp\\r\\n\\t\\r\\n\\t\\t192.0.2.1\\r\\n\\t\\tddosDip-sg-4hr2b3l****\\r\\n\\t\\t2020\\r\\n\\t\\t1\\r\\n\\t\\tudp\\r\\n\\t\\t203.107.XX.XX\\r\\n\\t\\r\\n\\t\\r\\n\\t\\t192.0.2.2\\r\\n\\t\\tddosDip-sg-4hr2b3l****\\r\\n\\t\\t2020\\r\\n\\t\\t1\\r\\n\\t\\tudp\\r\\n\\t\\t203.107.XX.XX\\r\\n\\t\\r\\n\\t\\r\\n\\t\\t192.0.2.3\\r\\n\\t\\tddosDip-sg-4hr2b3l****\\r\\n\\t\\t2020\\r\\n\\t\\t1\\r\\n\\t\\tudp\\r\\n\\t\\t203.107.XX.XX\\r\\n\\t\\r\\n\\t\\r\\n\\t\\t192.0.2.4\\r\\n\\t\\tddosDip-sg-4hr2b3l****\\r\\n\\t\\t2020\\r\\n\\t\\t1\\r\\n\\t\\tudp\\r\\n\\t\\t203.107.XX.XX\\r\\n\\t\\r\\n","errorExample":""}]', + 'title' => 'DescribeLayer4RulePolicy', + 'summary' => 'Queries the back-to-origin settings of a port forwarding rule.', + 'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see [Common parameters](~~157269~~).'."\n" + ."\n" + .'For more information about sample requests, see the **"Examples"** section of this topic.'."\n", + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:23.000Z', 'description' => 'Error codes changed'], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6D48AED0-41DB-5D9B-B484-3B6AAD312AD1\\"\\n}","type":"json"}]', - 'title' => 'DeleteWebCCRuleV2', - ], - 'DescribeWebCCRulesV2' => [ - 'summary' => 'Queries the custom frequency control rules that are created for a website.', - 'methods' => [ - 'get', - 'post', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeLayer4RulePolicy'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeLayer4RulePolicy', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'DescribeLogStoreExistStatus' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -10945,497 +10324,402 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'list', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '198809', - 'abilityTreeNodes' => [ - 'FEATUREddosOZ1QOD', - ], + 'operationType' => 'get', + 'abilityTreeCode' => '106159', + 'abilityTreeNodes' => ['FEATUREddos38XZ5J'], + 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'Domain', + 'name' => 'ResourceGroupId', 'in' => 'query', + 'schema' => ['description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n", 'type' => 'string', 'required' => false, 'example' => 'default', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'The domain name of the website that you want to add to the Anti-DDoS Proxy instance for protection.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'example.com', - 'title' => '网站业务的域名。', + 'type' => 'object', + 'properties' => [ + 'ExistStatus' => ['description' => 'Indicates whether a Logstore is created for Anti-DDoS Pro or Anti-DDoS Premium. Valid values:'."\n" + ."\n" + .'* **true**: yes'."\n" + .'* **false**: no'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"ExistStatus\\": true,\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\"\\n}","errorExample":""},{"type":"xml","example":"\\r\\nCF33B4C3-196E-4015-AADD-5CAD00057B80\\r\\n\\ttrue\\r\\n 'DescribeLogStoreExistStatus', + 'summary' => 'Checks whether a Logstore is created for Anti-DDoS Proxy.', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:23.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeLogStoreExistStatus'], + ], + ], + 'ramActions' => [ [ - 'name' => 'PageSize', - 'in' => 'query', - 'schema' => [ - 'description' => 'The number of entries per page. Maximum value: **20**. Default value: **20**.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '20', - 'title' => '页面显示的记录数量。', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeLogStoreExistStatus', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], + ], + ], + 'DescribeNetworkRegionBlock' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'Offset', - 'in' => 'query', - 'schema' => [ - 'description' => 'The number of entries that you want the system to skip before the system returns entries. Default value: **0**.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '0', - 'title' => '开始索引位置,即从第几条结果开始显示。默认从**0**开始。 ', - ], + 'AK' => [], ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '106160', + 'abilityTreeNodes' => ['FEATUREddosOZ1QOD'], + ], + 'parameters' => [ [ - 'name' => 'Owner', + 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The method used to create the rule. Valid values:'."\n" - ."\n" - .'* **manual** (default): manually created.'."\n" - .'* **clover**: automatically created.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'manual', - 'title' => '筛选规则来源。取值:'."\n" - .'- **manual**(默认):手动添加'."\n" - .'- **clover**:自动生成', - ], + 'schema' => ['description' => 'The ID of the instance.'."\n" + ."\n" + .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.'."\n", 'type' => 'string', 'required' => true, 'example' => 'ddoscoo-cn-mp91j1ao****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'The response parameters.'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80', - ], - 'TotalCount' => [ - 'description' => 'The total number of returned custom frequency control rules.'."\n", - 'type' => 'string', - 'example' => '12', - 'title' => '频率控制规则总数。', - ], - 'Domain' => [ - 'description' => 'The domain name of the website.'."\n", - 'type' => 'string', - 'example' => 'www.aliyun.com', - 'title' => '网站业务的域名。', + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E', 'title' => ''], + 'Config' => [ + 'description' => 'The configuration of blocked locations.'."\n", + 'type' => 'object', + 'properties' => [ + 'RegionBlockSwitch' => ['description' => 'The status of the Location Blacklist policy. Valid values:'."\n" + ."\n" + .'* **on**: enabled'."\n" + .'* **off**: disabled'."\n", 'type' => 'string', 'example' => 'on', 'title' => ''], + 'Countries' => [ + 'description' => 'The codes of the countries or areas from which the requests are blocked.'."\n", + 'type' => 'array', + 'items' => ['description' => 'The code of the country or area from which the requests are blocked.'."\n" + ."\n" + .'> For more information about the codes of countries and areas, see [Location parameters](~~167926~~).'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '2', 'title' => ''], + 'title' => '', + 'example' => '', + ], + 'Provinces' => [ + 'description' => 'The codes of the administrative regions in China from which the requests are blocked.'."\n", + 'type' => 'array', + 'items' => ['description' => 'The code of the administrative region in China from which the requests are blocked. For example, **11** indicates Beijing, and **12** indicates Tianjin.'."\n" + ."\n" + .'> For more information about the codes of administrative regions in China, see [Location parameters](~~167926~~).'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '11', 'title' => ''], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', ], - 'WebCCRules' => [ - 'description' => 'The custom frequency control rules.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The custom frequency control rule.'."\n", - 'type' => 'object', - 'properties' => [ - 'Owner' => [ - 'description' => 'The method used to create the rule. Valid values:'."\n" - ."\n" - .'* **manual** (default): manually created.'."\n" - .'* **clover**: automatically created.'."\n", - 'type' => 'string', - 'example' => 'manual', - 'title' => '规则来源。取值:'."\n" - .'- **manual**(默认):手动添加'."\n" - .'- **clover**:自动生成', - ], - 'Expires' => [ - 'description' => 'The validity period of the rule. Unit: seconds. If the Action parameter is set to block, the system blocks the requests that match the rule within the validity period of the rule. The value 0 indicates that the rule is permanently valid.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - 'title' => '规则有效期。单位:秒。规则的匹配动作为阻断时(action为block)生效,在规则有效期内阻断访问请求。0表示永久生效。', - ], - 'Name' => [ - 'description' => 'The name of the rule.'."\n", - 'type' => 'string', - 'example' => 'wq', - 'title' => '规则名称。', - ], - 'RuleDetail' => [ - 'description' => 'The details of the rule.'."\n", + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E\\",\\n \\"Config\\": {\\n \\"RegionBlockSwitch\\": \\"on\\",\\n \\"Countries\\": [\\n 2\\n ],\\n \\"Provinces\\": [\\n 11\\n ]\\n }\\n}","type":"json"}]', + 'title' => 'DescribeNetworkRegionBlock', + 'summary' => 'Queries the blocked locations that are configured for an Anti-DDoS Pro or Anti-DDoS Premium instance.', + 'changeSet' => [ + ['createdAt' => '2024-06-24T06:54:48.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2022-09-08T03:34:23.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeNetworkRegionBlock'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeNetworkRegionBlock', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + ], + 'DescribeNetworkRuleAttributes' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '106161', + 'abilityTreeNodes' => ['FEATUREddosRTUJBH'], + ], + 'parameters' => [ + [ + 'name' => 'NetworkRules', + 'in' => 'query', + 'schema' => ['description' => 'The port forwarding rules to query, expressed as a JSON string with the following structure.'."\n" + ."\n" + .'- **InstanceId**: String type, required, the Anti-DDoS instance ID.'."\n" + ."\n" + .'- **Protocol**: String type, required, the forwarding protocol type. Valid values: **tcp**, **udp**.'."\n" + ."\n" + .'- **FrontendPort**: Integer type, required, the redirection port.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => '[{"InstanceId":"ddoscoo-cn-mp91j1ao****","Protocol":"tcp","FrontendPort":8080}]'], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => 'The ID of this request.', 'type' => 'string', 'title' => '', 'example' => 'F9F2F77D-307C-4F15-8D02-AB5957EEBF97'], + 'NetworkRuleAttributes' => [ + 'description' => 'The mitigation settings of port forwarding rules for non-website services, including session persistence and DDoS mitigation policies.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'FrontendPort' => ['description' => 'The redirection port.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '8080'], + 'InstanceId' => ['description' => 'The Anti-DDoS Proxy instance ID.', 'type' => 'string', 'title' => '', 'example' => 'ddoscoo-cn-mp91j1ao****'], + 'Protocol' => ['description' => 'The forwarding protocol. Valid values:'."\n" + ."\n" + .'- **tcp**'."\n" + ."\n" + .'- **udp**', 'type' => 'string', 'title' => '', 'example' => 'tcp'], + 'Config' => [ + 'description' => 'The mitigation settings of the port forwarding rule.', 'type' => 'object', 'properties' => [ - 'Mode' => [ - 'description' => 'The parameter is deprecated.'."\n", - 'type' => 'string', - 'example' => '废弃', - 'title' => '老规则格式,已废弃。', - ], - 'Count' => [ - 'description' => 'The parameter is deprecated.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '废弃', - 'title' => '老规则格式,已废弃。', - ], - 'Name' => [ - 'description' => 'The name of the rule.'."\n", - 'type' => 'string', - 'example' => 'ccauto14', - 'title' => '规则名称。', - ], - 'Action' => [ - 'description' => 'The action triggered if the rule is matched. Valid values:'."\n" - ."\n" - .'* **accept**: The requests that match the rule are allowed.'."\n" - .'* **block**: The requests that match the rule are blocked.'."\n" - .'* **challenge**: Completely Automated Public Turing test to tell Computers and Humans Apart (CAPTCHA) verification for the requests that match the rule is implemented.'."\n" - .'* **watch**: The requests that match the rule are recorded in logs and allowed.'."\n", - 'type' => 'string', - 'example' => 'block', - 'title' => '匹配动作。取值:'."\n" - .'- **accept**:放行'."\n" - .'- **block**:封禁'."\n" - .'- **challenge**:挑战'."\n" - .'- **watch**:观察', - ], - 'Interval' => [ - 'description' => 'The parameter is deprecated.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '60', - 'title' => '老规则格式,已废弃。', - ], - 'Ttl' => [ - 'description' => 'The parameter is deprecated.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '300', - 'title' => '老规则格式,已废弃。', - ], - 'Uri' => [ - 'description' => 'The parameter is deprecated.'."\n", - 'type' => 'string', - 'example' => '/p3shijihao', - 'title' => '老规则格式,已废弃。', - ], - 'RateLimit' => [ - 'description' => 'The frequency statistics.'."\n", + 'NodataConn' => ['description' => 'The status of the empty connection filter. Valid values:'."\n" + ."\n" + .'- **on**: enabled'."\n" + ."\n" + .'- **off**: disabled', 'type' => 'string', 'title' => '', 'example' => 'off'], + 'Synproxy' => ['description' => 'The status of the false source filter. Valid values:'."\n" + ."\n" + .'- **on**: enabled'."\n" + ."\n" + .'- **off**: disabled', 'type' => 'string', 'title' => '', 'example' => 'off'], + 'PersistenceTimeout' => ['description' => 'The timeout period for session persistence. Valid values: **30** to **3600**, in seconds. Default value: **0**, which indicates that session persistence is disabled.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '0'], + 'Sla' => [ + 'description' => 'The speed limit for destination configuration.', 'type' => 'object', 'properties' => [ - 'SubKey' => [ - 'description' => 'The name of the field. This parameter is required only when the Target parameter is set to header.'."\n", - 'type' => 'string', - 'example' => 'action', - 'title' => '字段名称(仅当统计源为header时设置)。', - ], - 'Interval' => [ - 'description' => 'The statistical period. Unit: seconds.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '60', - 'title' => '统计周期。单位:秒。', - ], - 'Threshold' => [ - 'description' => 'The trigger threshold.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - 'title' => '触发阈值。', - ], - 'Ttl' => [ - 'description' => 'The blocking duration. Unit: seconds.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '15', - 'title' => '封禁时长。单位:秒。', - ], - 'Target' => [ - 'description' => 'The statistical method. Valid values:'."\n" - ."\n" - .'* **ip**'."\n" - .'* **header**'."\n", - 'type' => 'string', - 'example' => 'ip', - 'title' => '统计源。取值:'."\n" - .'- **ip**:按照IP统计'."\n" - .'- **header**:按照Header统计', - ], + 'MaxconnEnable' => ['description' => 'The status of the maximum number of concurrent connections to a destination IP address. Valid values:'."\n" + ."\n" + .'- **0**: disabled'."\n" + ."\n" + .'- **1**: enabled', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '0'], + 'CpsEnable' => ['description' => 'The status of the maximum number of new connections to a destination IP address. Valid values:'."\n" + ."\n" + .'- **0**: disabled'."\n" + ."\n" + .'- **1**: enabled', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '1'], + 'Cps' => ['description' => 'The maximum number of new connections to a destination IP address. Valid values: **100** to **100000**.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '100000'], + 'Maxconn' => ['description' => 'The maximum number of concurrent connections to a destination IP address. Valid values: **1000** to **1000000**.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '1000000'], ], - 'title' => '频率统计。', + 'title' => '', + 'example' => '', ], - 'Condition' => [ - 'description' => 'The match conditions.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The match condition.'."\n", - 'type' => 'object', - 'properties' => [ - 'MatchMethod' => [ - 'description' => 'The match method.'."\n", - 'type' => 'string', - 'example' => 'belong', - 'title' => '匹配方法。', - ], - 'Field' => [ - 'description' => 'The match field.'."\n", - 'type' => 'string', - 'example' => 'ip', - 'title' => '匹配字段。', - ], - 'HeaderName' => [ - 'description' => 'The custom HTTP request header.'."\n" - ."\n" - .'> This parameter takes effect only when **Field** is set to **header**.'."\n", - 'type' => 'string', - 'example' => 'null', - 'title' => '自定义HTTP头部字段名称。'."\n" - ."\n" - .'> 仅在**Field**为**header**时有效。', - ], - 'Content' => [ - 'description' => 'The match content.'."\n", - 'type' => 'string', - 'example' => '192.0.XX.XX', - 'title' => '匹配内容。', - ], - 'ContentList' => [ - 'description' => 'The match content when the match method is Equals to One of Multiple Values.'."\n", - 'type' => 'array', - 'example' => '["2","3","ad"]', - 'title' => '匹配方法为等于多值之一时的匹配内容。', - 'items' => [ - 'title' => '匹配方法为等于多值之一时的匹配内容。', - 'type' => 'string', - 'example' => '["2","3","ad"]', - ], - ], - ], - 'title' => '匹配条件。', + 'Slimit' => [ + 'description' => 'The source rate limiting configuration.', + 'type' => 'object', + 'properties' => [ + 'MaxconnEnable' => ['description' => 'The status of the maximum number of concurrent connections from a source IP address. Valid values:'."\n" + ."\n" + .'- **0**: disabled'."\n" + ."\n" + .'- **1**: enabled', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '0'], + 'CpsEnable' => ['description' => 'The status of the maximum number of new connections from a source IP address. Valid values:'."\n" + ."\n" + .'- **0**: disabled'."\n" + ."\n" + .'- **1**: enabled', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '0'], + 'Cps' => ['description' => 'The maximum number of new connections from a source IP address. Valid values: **1** to **500000**, in connections.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '0'], + 'Pps' => ['description' => 'The source PPS throttling. Valid values: **1** to **100000**, in Packet/s. Default value: **0**, which indicates that source PPS throttling is disabled.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '0'], + 'Bps' => ['description' => 'The source bandwidth throttling. Valid values: **1024** to **268435456**, in Byte/s. Default value: **0**, which indicates that source bandwidth throttling is disabled.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '0'], + 'Maxconn' => ['description' => 'The maximum number of concurrent connections from a source IP address. Valid values: **1** to **500000**, in connections.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '0'], + 'CpsMode' => ['description' => 'The mode of the maximum number of new connections from a source IP address. Valid values:'."\n" + ."\n" + .'- **1**: manual'."\n" + ."\n" + .'- **2**: automatic', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '1'], ], - 'title' => '匹配条件。', + 'title' => '', + 'example' => '', ], - 'Statistics' => [ - 'description' => 'The statistics after deduplication. By default, the system collects statistics before deduplication.'."\n", + 'PayloadLen' => [ + 'description' => 'The packet length limit configuration.', 'type' => 'object', 'properties' => [ - 'Mode' => [ - 'description' => 'Indicates whether the system collects statistics after deduplication. Valid values:'."\n" - ."\n" - .'* **count**: The system collects statistics before deduplication.'."\n" - .'* **distinct**: The system collects statistics after deduplication.'."\n", - 'type' => 'string', - 'example' => 'count', - 'title' => '去重模式。取值:'."\n" - .'- **count**:不去重统计'."\n" - .'- **distinct**:去重统计', - ], - 'Field' => [ - 'description' => 'The statistical method. Valid values:'."\n" - ."\n" - .'* **ip**'."\n" - .'* **header**'."\n" - .'* **uri**'."\n", - 'type' => 'string', - 'example' => 'uri', - 'title' => '统计源。取值:'."\n" - .'- **ip**:按照IP统计'."\n" - .'- **header**:按照Header统计 '."\n" - .'- **uri**:按照uri统计', - ], - 'HeaderName' => [ - 'description' => 'The name of the header. This parameter is required only when the Field parameter is set to header.'."\n", - 'type' => 'string', - 'example' => 'hello', - 'title' => '仅当统计源为header时设置。', - ], + 'Min' => ['description' => 'The minimum packet length. Valid values: **0** to **6000**, in bytes.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '0'], + 'Max' => ['description' => 'The maximum packet length. Valid values: **0** to **6000**, in bytes.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '6000'], ], - 'title' => '去重统计,可缺省(缺省为不去重统计)。', + 'title' => '', + 'example' => '', ], - 'StatusCode' => [ - 'description' => 'The status codes.'."\n", + 'Cc' => [ + 'description' => 'The policy for controlling frequent source connections that exceed limits.', 'type' => 'object', 'properties' => [ - 'Enabled' => [ - 'description' => 'Indicates whether the status code is enabled. Valid values:'."\n" - ."\n" - .'* **true**'."\n" - .'* **false**'."\n", - 'type' => 'boolean', - 'example' => 'true', - 'title' => '是否可用。取值:'."\n" - ."\n" - .'- **true**:开启。'."\n" - .'- **false**:关闭。', - ], - 'Code' => [ - 'description' => 'The status code. Valid values: **100** to **599**.'."\n" - ."\n" - .'* **200**: The request was successful.'."\n" - .'* Other codes: The request failed.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - 'title' => '状态码。值范围**100**~**599**:'."\n" - ."\n" - .'- **200**:表示成功。'."\n" - .'- 其它:表示错误码。', - ], - 'UseRatio' => [ - 'description' => 'Indicates whether to use a ratio.'."\n" - ."\n" - .'* **true**'."\n" - .'* **false**'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'CountThreshold' => [ - 'description' => 'If a ratio is not used, the handling action is triggered only when the number of requests of the corresponding status code reaches the value of **CountThreshold**. Valid values: **2** to **50000**.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - 'title' => '不使用比率时,仅在对应状态码达到 **CountThreshold** 时触发处置动作,值范围**2**~**50000**。', - ], - 'RatioThreshold' => [ - 'description' => 'If a ratio is used, the handling action is triggered only when the number of requests of the corresponding status code reaches the value of **RatioThreshold**. Valid values: **1** to **100**.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - 'title' => '使用比率时,仅在对应状态码达到 **RatioThreshold** 时触发处置动作,值范围**1**~**100**。', + 'Sblack' => [ + 'description' => 'The policy for adding source IP addresses to the blacklist when source connections repeatedly exceed limits.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Type' => ['description' => 'The type of source IP blacklist configuration. Valid values:'."\n" + ."\n" + .'- **1**: source new connection throttling IP blacklist'."\n" + ."\n" + .'- **2**: source concurrent connection throttling IP blacklist'."\n" + ."\n" + .'- **3**: source PPS throttling IP blacklist'."\n" + ."\n" + .'- **4**: source bandwidth throttling IP blacklist', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '1'], + 'During' => ['description' => 'The health check interval. The value is fixed at **60**, in seconds.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '60'], + 'Expires' => ['description' => 'The validity period of the blacklist. Valid values: **60** to **604800**, in seconds.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '600'], + 'Cnt' => ['description' => 'The number of times that source connections exceed the limit. The value is fixed at **5**, which indicates that if source connections exceed the limit 5 times within the health check interval, the source IP address is added to the blacklist.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '5'], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], ], - 'title' => '状态码。', + 'title' => '', + 'example' => '', ], ], - 'title' => '规则详情。', + 'title' => '', + 'example' => '', ], ], - 'title' => '频率控制(CC防护)自定义规则。', + 'description' => '', + 'title' => '', + 'example' => '', ], - 'title' => '频率控制(CC防护)自定义规则。', + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'title' => 'DescribeNetworkRuleAttributes', + 'summary' => 'Queries the mitigation settings of port forwarding rules for non-website services, including session persistence and DDoS mitigation policies.', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:23.000Z', 'description' => 'Error codes changed'], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\",\\n \\"TotalCount\\": \\"12\\",\\n \\"Domain\\": \\"www.aliyun.com\\",\\n \\"WebCCRules\\": [\\n {\\n \\"Owner\\": \\"manual\\",\\n \\"Expires\\": 0,\\n \\"Name\\": \\"wq\\",\\n \\"RuleDetail\\": {\\n \\"Mode\\": \\"废弃\\",\\n \\"Count\\": 0,\\n \\"Name\\": \\"ccauto14\\",\\n \\"Action\\": \\"block\\",\\n \\"Interval\\": 60,\\n \\"Ttl\\": 300,\\n \\"Uri\\": \\"/p3shijihao\\",\\n \\"RateLimit\\": {\\n \\"SubKey\\": \\"action\\",\\n \\"Interval\\": 60,\\n \\"Threshold\\": 20,\\n \\"Ttl\\": 15,\\n \\"Target\\": \\"ip\\"\\n },\\n \\"Condition\\": [\\n {\\n \\"MatchMethod\\": \\"belong\\",\\n \\"Field\\": \\"ip\\",\\n \\"HeaderName\\": \\"null\\",\\n \\"Content\\": \\"192.0.XX.XX\\",\\n \\"ContentList\\": [\\n \\"[\\\\\\"2\\\\\\",\\\\\\"3\\\\\\",\\\\\\"ad\\\\\\"]\\"\\n ]\\n }\\n ],\\n \\"Statistics\\": {\\n \\"Mode\\": \\"count\\",\\n \\"Field\\": \\"uri\\",\\n \\"HeaderName\\": \\"hello\\"\\n },\\n \\"StatusCode\\": {\\n \\"Enabled\\": true,\\n \\"Code\\": 200,\\n \\"UseRatio\\": true,\\n \\"CountThreshold\\": 10,\\n \\"RatioThreshold\\": 10\\n }\\n }\\n }\\n ]\\n}","type":"json"}]', - 'title' => 'DescribeWebCCRulesV2', - ], - 'ConfigWebCCRuleV2' => [ - 'summary' => 'Creates or modifies the custom frequency control rule of a website.', - 'methods' => [ - 'post', - 'get', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeNetworkRuleAttributes'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeNetworkRuleAttributes', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F9F2F77D-307C-4F15-8D02-AB5957EEBF97\\",\\n \\"NetworkRuleAttributes\\": [\\n {\\n \\"FrontendPort\\": 8080,\\n \\"InstanceId\\": \\"ddoscoo-cn-mp91j1ao****\\",\\n \\"Protocol\\": \\"tcp\\",\\n \\"Config\\": {\\n \\"NodataConn\\": \\"off\\",\\n \\"Synproxy\\": \\"off\\",\\n \\"PersistenceTimeout\\": 0,\\n \\"Sla\\": {\\n \\"MaxconnEnable\\": 0,\\n \\"CpsEnable\\": 1,\\n \\"Cps\\": 100000,\\n \\"Maxconn\\": 1000000\\n },\\n \\"Slimit\\": {\\n \\"MaxconnEnable\\": 0,\\n \\"CpsEnable\\": 0,\\n \\"Cps\\": 0,\\n \\"Pps\\": 0,\\n \\"Bps\\": 0,\\n \\"Maxconn\\": 0,\\n \\"CpsMode\\": 1\\n },\\n \\"PayloadLen\\": {\\n \\"Min\\": 0,\\n \\"Max\\": 6000\\n },\\n \\"Cc\\": {\\n \\"Sblack\\": [\\n {\\n \\"Type\\": 1,\\n \\"During\\": 60,\\n \\"Expires\\": 600,\\n \\"Cnt\\": 5\\n }\\n ]\\n }\\n }\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeNetworkRules' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', - 'chargeType' => 'free', - 'abilityTreeCode' => '198715', - 'abilityTreeNodes' => [ - 'FEATUREddosOZ1QOD', - ], + 'operationType' => 'get', + 'abilityTreeCode' => '106162', + 'abilityTreeNodes' => ['FEATUREddosN7DYCX'], ], 'parameters' => [ [ - 'name' => 'Domain', + 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'www.example.com', - ], + 'schema' => ['description' => 'The ID of the instance.'."\n" + ."\n" + .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.', 'type' => 'string', 'required' => true, 'example' => 'ddoscoo-cn-mp91j1ao****', 'title' => ''], ], [ - 'name' => 'RuleList', + 'name' => 'ForwardProtocol', 'in' => 'query', - 'schema' => [ - 'description' => 'The frequency control rule. This parameter is a JSON string that contains the following fields:'."\n" - ."\n" - .'* **action**: the action that is performed if the rule is matched. This field is required and must be of the string type. Valid values:'."\n" - ."\n" - .' * **block**: The requests that match the rule are blocked.'."\n" - .' * **challenge**: Completely Automated Public Turing test to tell Computers and Humans Apart (CAPTCHA) verification for the requests that match the rule is implemented.'."\n" - .' * **watch**: The requests that match the rule are recorded in logs and allowed.'."\n" - ."\n" - .'* **name**: the name of the rule. This field is required and must be of the string type.'."\n" - ."\n" - .'* **condition**: the match conditions. This field is required and must be of the map type. This field contains the following parameters:'."\n" - ."\n" - .' **'."\n" - ."\n" - .' **Note** The AND logical operator is used to evaluate multiple match conditions.'."\n" - ."\n" - .' * **field**: the match field. This field is required and must be of the string type.'."\n" - ."\n" - .' * **match_method**: the logical relation. This field is required and must be of the string type.'."\n" - ."\n" - .' **'."\n" - ."\n" - .' **Note** For information about the mappings between the **field** and **match_method** parameters, see the "Mappings between the field and match_method parameters" section of this topic.'."\n" - ."\n" - .' * **header_name**: the name of the custom HTTP header. This field is optional and must be of the string type.'."\n" - ."\n" - .' **'."\n" - ."\n" - .' **Note** This field is required only when **field** is set to **header**.'."\n" - ."\n" - .' * **content**: the match content. This field is required and must be of the string type.'."\n" - ."\n" - .'* **ratelimit**: the frequency control field. This field is optional and must be of the string type. The frequency can be measured based on IP addresses or custom headers. This field contains the following parameters:'."\n" - ."\n" - .' * **interval**: the statistical duration. Unit: seconds. This field is required and must be of the integer type.'."\n" - .' * **ttl**: the period during which the specified action is performed. Unit: seconds. This field is required and must be of the integer type.'."\n" - .' * **threshold**: the threshold. This field is required and must be of the integer type.'."\n" - .' * **subkey**: the name of the field. This field is optional and must be of the string type. This field is required only when target is set to header.'."\n" - .' * **target**: the statistical source. This field is required and must be of the string type. Valid values: ip and header.'."\n" - ."\n" - .'* **status_code**: the frequency control field. This field is optional and must be of the string type. Frequency control can be performed based on the quantity or percentage of status codes. This field contains the following parameters:'."\n" - ."\n" - .' * **enabled**: specifies whether to enable status code statistics. This field is required and must be of the Boolean type.'."\n" - .' * **code**: the status code. This field is required and must be of the integer type. Valid values: **100** to **599**.'."\n" - .' * **use_ratio**: specifies whether to use a ratio. This field is required and must be of the Boolean type. To use a ratio, set this field to true.'."\n" - .' * **ratio_threshold**: the ratio of the status code. This field is optional and must be of the integer type. If a ratio is used, the action specified in the rule is performed only when the ratio of the status code reaches **ratio_threshold**. Valid values: **1** to **100**.'."\n" - .' * **count_threshold**: the quantity of the status code. This field is optional and must be of the integer type. If a ratio is not used, the action specified in the rule is performed only when the quantity of the status code reaches **count_threshold**. Valid values: **2** to **50000**.'."\n" - ."\n" - .'* **statistics**: specifies whether deduplication is used for statistics. This field is optional and must be of the string type. By default, deduplication is not used for statistics. This field contains the following parameters:'."\n" - ."\n" - .' * **mode**: specifies whether deduplication is used for status code statistics. This field is required and must be of the string type. Valid values:'."\n" - ."\n" - .' * **count**: Deduplication is not used for statistics.'."\n" - .' * **distinct**: Deduplication is used for statistics.'."\n" - ."\n" - .' * **field**: the statistical source. This field is required and must be of the string type. Valid values: ip, header, and uri.'."\n" - ."\n" - .' * **header_name**: the name of the header. This field is optional and must be of the string type. This field is required only when field is set to header.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '[{"action":"block","name":"trdsss","ratelimit":{"interval":60,"ttl":300,"threshold":70,"target":"ip"},"condition":[{"field":"ip","match_method":"belong","content":"1.1.1.1"}]}]', - ], + 'schema' => ['description' => 'The forwarding protocol. Valid values:'."\n" + ."\n" + .'- **tcp**'."\n" + ."\n" + .'- **udp**', 'type' => 'string', 'required' => false, 'example' => 'tcp', 'title' => ''], ], [ - 'name' => 'Expires', + 'name' => 'FrontendPort', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '600', - ], + 'schema' => ['description' => 'The forwarding port.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '80', 'title' => ''], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => ['description' => 'The number of the page to return. For example, to query the returned results on the first page, set the value to **1**.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1', 'title' => ''], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['description' => 'The number of entries to return on each page.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '10', 'title' => ''], ], ], 'responses' => [ @@ -11443,280 +10727,415 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc', + 'TotalCount' => ['description' => 'The total number of returned port forwarding rules.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], + 'RequestId' => ['description' => 'The ID of the request, which is used to locate and troubleshoot issues.', 'type' => 'string', 'example' => '8597F235-FA5E-4FC7-BAD9-E4C0B01BC771', 'title' => ''], + 'NetworkRules' => [ + 'description' => 'The details of the port forwarding rules.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'FrontendPort' => ['description' => 'The forwarding port.', 'type' => 'integer', 'format' => 'int32', 'example' => '80', 'title' => ''], + 'IsAutoCreate' => ['description' => 'Indicates whether the port forwarding rule is automatically created. Valid values:'."\n" + ."\n" + .'- **true**'."\n" + ."\n" + .'- **false**', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'InstanceId' => ['description' => 'The ID of the instance.', 'type' => 'string', 'example' => 'ddoscoo-cn-mp91j1ao****', 'title' => ''], + 'Protocol' => ['description' => 'The forwarding protocol. Valid values:'."\n" + ."\n" + .'- **tcp**'."\n" + ."\n" + .'- **udp**', 'type' => 'string', 'example' => 'tcp', 'title' => ''], + 'BackendPort' => ['description' => 'The port of the origin server.', 'type' => 'integer', 'format' => 'int32', 'example' => '80', 'title' => ''], + 'RealServers' => [ + 'description' => 'The IP addresses of origin servers.', + 'type' => 'array', + 'items' => ['description' => 'The IP address of the origin server.', 'type' => 'string', 'example' => '112.139.XX.XX', 'title' => ''], + 'title' => '', + 'example' => '', + ], + 'Remark' => ['description' => 'The remarks of the port forwarding rule.', 'type' => 'string', 'example' => '测试', 'title' => ''], + 'ProxyEnable' => ['description' => 'Indicates whether the traffic diversion switch is on. Valid values:'."\n" + ."\n" + .'- 0: on.'."\n" + ."\n" + .'- 1: off.', 'type' => 'integer', 'format' => 'int64', 'example' => '0', 'title' => ''], + 'ProxyStatus' => ['description' => 'The status of traffic diversion. Valid values:'."\n" + ."\n" + .'- on: Traffic diversion takes effect.'."\n" + ."\n" + .'- off: Traffic diversion does not take effect.', 'type' => 'string', 'example' => 'on', 'title' => ''], + 'PayloadRuleEnable' => ['description' => 'Indicates whether the payload filtering rule is enabled. Valid values:'."\n" + ."\n" + .'- 1: enabled.'."\n" + ."\n" + .'- 0: disabled.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}","type":"json"}]', - 'title' => 'ConfigWebCCRuleV2', - ], - 'ModifyWebCCGlobalSwitch' => [ - 'summary' => 'Enables or disables the HTTP flood mitigation feature for a website.', - 'methods' => [ - 'post', - 'get', + 'title' => 'DescribeNetworkRules', + 'summary' => 'Queries port forwarding rules.', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2025-08-14T03:28:22.000Z', 'description' => 'OpenAPI offline'], + ['createdAt' => '2025-08-14T01:39:31.000Z', 'description' => 'OpenAPI offline'], + ['createdAt' => '2025-08-14T01:39:28.000Z', 'description' => 'OpenAPI offline'], + ['createdAt' => '2024-08-29T05:59:47.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2024-01-23T11:23:45.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2022-09-08T03:34:23.000Z', 'description' => 'Error codes changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeNetworkRules'], + ], ], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 1,\\n \\"RequestId\\": \\"8597F235-FA5E-4FC7-BAD9-E4C0B01BC771\\",\\n \\"NetworkRules\\": [\\n {\\n \\"FrontendPort\\": 80,\\n \\"IsAutoCreate\\": true,\\n \\"InstanceId\\": \\"ddoscoo-cn-mp91j1ao****\\",\\n \\"Protocol\\": \\"tcp\\",\\n \\"BackendPort\\": 80,\\n \\"RealServers\\": [\\n \\"112.139.XX.XX\\"\\n ],\\n \\"Remark\\": \\"测试\\",\\n \\"ProxyEnable\\": 0,\\n \\"ProxyStatus\\": \\"on\\",\\n \\"PayloadRuleEnable\\": 1\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeOpEntities' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '201506', - 'abilityTreeNodes' => [ - 'FEATUREddosOZ1QOD', - ], + 'operationType' => 'get', + 'abilityTreeCode' => '106163', + 'abilityTreeNodes' => ['FEATUREddosHFA00W'], ], 'parameters' => [ [ - 'name' => 'Domain', + 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => 'The domain name of the website.'."\n" - ."\n" - .'> A forwarding rule must be configured for the domain name. You can call the [DescribeDomains](~~91724~~) operation to query all domain names.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'example.aliyundoc.com'."\n", - ], + 'schema' => ['description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n", 'type' => 'string', 'required' => false, 'example' => 'default', 'title' => ''], ], [ - 'name' => 'CcGlobalSwitch', + 'name' => 'EntityType', 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether the HTTP flood mitigation feature is enabled. Valid values:'."\n" - ."\n" - .'* **open**'."\n" - .'* **close**'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'open', - ], + 'schema' => ['description' => 'The type of the operation object that you want to query. Valid values:'."\n" + ."\n" + .'* **1**: the IP address of the Anti-DDoS Pro or Anti-DDoS Premium instance'."\n" + .'* **2**: Anti-DDoS plans'."\n" + .'* **3**: ECS instances'."\n" + .'* **4**: all logs'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '5AE2FC86-C840-41AE-9F1A-3A2747C7C1DF', - ], - ], - 'description' => '', - ], + [ + 'name' => 'EntityObject', + 'in' => 'query', + 'schema' => ['description' => 'The operation object that you want to query.'."\n", 'type' => 'string', 'required' => false, 'example' => '203.***.***.132', 'title' => ''], ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"5AE2FC86-C840-41AE-9F1A-3A2747C7C1DF\\"\\n}","type":"json"}]', - 'title' => 'ModifyWebCCGlobalSwitch', - ], - 'ConfigL7GlobalRule' => [ - 'summary' => 'Configures an Anti-DDoS global mitigation policy.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'https', - ], - 'security' => [ [ - 'AK' => [], + 'name' => 'StartTime', + 'in' => 'query', + 'schema' => ['description' => 'The beginning of the time range to query. The value is a UNIX timestamp. Unit: milliseconds.'."\n" + ."\n" + .'> The time must be in the latest 30 days.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1582992000000', 'title' => ''], ], - ], - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'none', - 'abilityTreeCode' => '254166', - 'abilityTreeNodes' => [ - 'FEATUREddosOZ1QOD', + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => ['description' => 'The end of the time range to query. The value is a UNIX timestamp. Unit: milliseconds.'."\n" + ."\n" + .'> The time must be in the latest 30 days.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1583683200000', 'title' => ''], ], - ], - 'parameters' => [ [ - 'name' => 'Domain', + 'name' => 'PageNumber', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'example.com', - ], + 'schema' => ['description' => 'The number of the page to return. For example, to query the returned results on the first page, set the value to **1**.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1', 'title' => ''], ], [ - 'name' => 'RuleAttr', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '[{\\"RuleId\\":\\"global_01\\",\\"Action\\":\\"block\\",\\"Enabled\\":0}]', - ], + 'schema' => ['description' => 'The number of entries to return on each page. Maximum value: **50**.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '10', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '', - 'type' => 'string', - 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80', + 'TotalCount' => ['description' => 'The total number of returned operation records.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'FB24D70C-71F5-4000-8CD8-22CDA0C53CD1', 'title' => ''], + 'OpEntities' => [ + 'description' => 'The operation records.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The operation record.'."\n", + 'type' => 'object', + 'properties' => [ + 'EntityType' => ['description' => 'The type of the operation object. Valid values:'."\n" + ."\n" + .'* **1**: the IP address of the Anti-DDoS Proxy instance.'."\n" + .'* **2**: Anti-DDoS plans.'."\n" + .'* **3**: ECS instances.'."\n" + .'* **4**: all logs.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'EntityObject' => ['description' => 'The operation object.'."\n", 'type' => 'string', 'example' => '203.***.***.132', 'title' => ''], + 'GmtCreate' => ['description' => 'The time when the operation was performed. The value is a UNIX timestamp. Units: milliseconds.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1584451769000', 'title' => ''], + 'OpAction' => ['description' => 'The type of the operation. Valid values:'."\n" + ."\n" + .'* **1**: configuring burstable protection bandwidth.'."\n" + .'* **5**: using Anti-DDoS plans.'."\n" + .'* **8**: changing the IP addresses of ECS instances.'."\n" + .'* **9**: deactivating blackhole filtering.'."\n" + .'* **10**: configuring the near-origin traffic diversion feature.'."\n" + .'* **11**: clearing all logs.'."\n" + .'* **12**: downgrading the specifications of the Anti-DDoS Proxy instance. If the instance expires or the account has overdue payments, this operation is performed to downgrade the burstable protection bandwidth.'."\n" + .'* **13**: restoring the specifications of the Anti-DDoS Proxy instance. If the instance is renewed or you have paid the overdue payments within your account, this operation is performed to restore the burstable protection bandwidth.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '9', 'title' => ''], + 'OpAccount' => ['description' => 'The ID of the Alibaba Cloud account that is used to perform the operation.'."\n", 'type' => 'string', 'example' => '128965410602****', 'title' => ''], + 'OpDesc' => ['description' => 'The details of the operation. This parameter is a JSON string. The string contains the following fields:'."\n" + ."\n" + .'* **newEntity**: the values of the parameters after the operation. This field is of the string type.'."\n" + .'* **oldEntity**: the values of the parameters before the operation. This field is of the string type.'."\n" + ."\n" + .'Both **newEntity** and **oldEntity** are JSON strings. The returned parameters vary based on **OpAction**.'."\n" + ."\n" + .'If the value of **OpAction** is **1**, **12**, or **13**, the following parameter is returned:'."\n" + ."\n" + .'* **elasticBandwidth**: the burstable protection bandwidth. This parameter is of the integer type. Unit: Gbit/s.'."\n" + ."\n" + .' Example: `{"newEntity":{"elasticBandwidth":300},"oldEntity":{"elasticBandwidth":300}}`'."\n" + ."\n" + .'If the value of **OpAction** is **5**, the following parameters are returned:'."\n" + ."\n" + .'* **bandwidth**: the burstable protection bandwidth. The parameter is of the integer type. Unit: Gbit/s.'."\n" + ."\n" + .'* **count**: the number of Anti-DDoS plans. This parameter is of the integer type.'."\n" + ."\n" + .'* **deductCount**: the number of used Anti-DDoS plans. This parameter is of the integer type.'."\n" + ."\n" + .'* **expireTime**: the expiration time of the Anti-DDoS plans. This parameter is of the long type. The value is a UNIX timestamp. Units: milliseconds.'."\n" + ."\n" + .'* **instanceId**: the ID of the Anti-DDoS Proxy instance. This parameter is of the string type.'."\n" + ."\n" + .'* **peakFlow**: the peak throughput on the Anti-DDoS Proxy instance. This parameter is of the integer type. Unit: bit/s.'."\n" + ."\n" + .' Example: `{"newEntity":{"bandwidth":100,"count":4,"deductCount":1,"expireTime":1616299196000,"instanceId":"ddoscoo-cn-v641kpmq****","peakFlow":751427000}}`'."\n" + ."\n" + .'If the value of **OpAction** is **8**, the following parameter is returned:'."\n" + ."\n" + .'* **instanceId**: the IDs of the ECS instances whose IP addresses are changed. This parameter is of the string type.'."\n" + ."\n" + .' Example: `{"newEntity":{"instanceId":"i-wz9h6nc313zptbqn****"}}`'."\n" + ."\n" + .'If the value of **OpAction** is **9**, the following parameter is returned:'."\n" + ."\n" + .'* **actionMethod**: the operation method. This parameter is of the string type. Valid value: **undo**, which indicates that you deactivated blackhole filtering.'."\n" + ."\n" + .' Example: `{"newEntity":{"actionMethod":"undo"}}`'."\n" + ."\n" + .'If the value of **OpAction** is **10**, the following parameters are returned:'."\n" + ."\n" + .'* **actionMethod**: the operation method. This parameter is of the string type. Valid values:'."\n" + ."\n" + .' * **do**: The near-origin traffic diversion feature is enabled.'."\n" + .' * **undo**: The near-origin traffic diversion feature is disabled.'."\n" + ."\n" + .'* **lines**: the Internet service provider (ISP) line from which the traffic is blocked. This parameter is of the array type. Valid values:'."\n" + ."\n" + .' * **ct**: China Telecom (International).'."\n" + .' * **cut**: China Unicom (International).'."\n" + ."\n" + .' Example: `{"newEntity":{"actionMethod":"undo","lines":["ct"]}}`'."\n" + ."\n" + .'If the value of **OpAction** is **11**, no parameter is returned, and the description is empty.'."\n", 'type' => 'string', 'example' => '{"newEntity":{"actionMethod":"undo"}}', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"TotalCount\\": 1,\\n \\"RequestId\\": \\"FB24D70C-71F5-4000-8CD8-22CDA0C53CD1\\",\\n \\"OpEntities\\": [\\n {\\n \\"EntityType\\": 1,\\n \\"EntityObject\\": \\"203.***.***.132\\",\\n \\"GmtCreate\\": 1584451769000,\\n \\"OpAction\\": 9,\\n \\"OpAccount\\": \\"128965410602****\\",\\n \\"OpDesc\\": \\"{\\\\\\"newEntity\\\\\\":{\\\\\\"actionMethod\\\\\\":\\\\\\"undo\\\\\\"}}\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\r\\n\\r\\n\\t1\\r\\n\\tFB24D70C-71F5-4000-8CD8-22CDA0C53CD1\\r\\n\\t\\r\\n\\t\\t1\\r\\n\\t\\t1584451769000\\r\\n\\t\\t128965410602****\\r\\n\\t\\t\\r\\n\\t\\t\\t\\r\\n\\t\\t\\t\\tundo\\r\\n\\t\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t9\\r\\n\\t\\t203.***.***.132\\r\\n\\t\\r\\n","errorExample":""}]', + 'title' => 'DescribeOpEntities', + 'summary' => 'Queries the operation logs of Anti-DDoS Proxy (Chinese Mainland).', + 'description' => '> This operation is suitable only for Anti-DDoS Proxy (Chinese Mainland).'."\n" + ."\n" + .'You can query operations performed on Anti-DDoS Proxy (Chinese Mainland), such as configuring the burstable protection bandwidth, deactivating blackhole filtering, configuring the near-origin traffic diversion feature, using Anti-DDoS plans, changing the IP addresses of Elastic Compute Service (ECS) instances, and clearing all logs.'."\n", + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:23.000Z', 'description' => 'Error codes changed'], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\"\\n}","type":"json"}]', - 'title' => 'ConfigL7GlobalRule', - ], - 'DescribeL7GlobalRule' => [ - 'summary' => 'Queries an Anti-DDoS global mitigation policy.', - 'methods' => [ - 'post', - 'get', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeOpEntities'], + ], ], - 'schemes' => [ - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeOpEntities', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'DescribePort' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'none', - 'abilityTreeCode' => '254169', - 'abilityTreeNodes' => [ - 'FEATUREddosOZ1QOD', - ], + 'operationType' => 'get', + 'abilityTreeCode' => '106164', + 'abilityTreeNodes' => ['FEATUREddosN7DYCX'], ], 'parameters' => [ [ - 'name' => 'Domain', + 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'example.com', - ], + 'schema' => ['description' => 'The ID of the instance to query.'."\n" + ."\n" + .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.'."\n", 'type' => 'string', 'required' => true, 'example' => 'ddoscoo-cn-7e225i41****', 'title' => ''], ], [ - 'name' => 'Lang', + 'name' => 'FrontendProtocol', 'in' => 'query', 'schema' => [ - 'description' => '', + 'description' => 'The type of the forwarding protocol to query. Valid values:'."\n" + ."\n" + .'* **tcp**'."\n" + .'* **udp**'."\n", 'type' => 'string', 'required' => false, - 'example' => 'zh', + 'example' => 'tcp', + 'enum' => ['tcp', 'udp'], + 'title' => '', ], ], + [ + 'name' => 'FrontendPort', + 'in' => 'query', + 'schema' => ['description' => 'The forwarding port to query. Valid values: **0** to **65535**.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '55', 'title' => ''], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => ['description' => 'The page number. For example, if you want to obtain results on the first page, set the value to **1**.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['description' => 'The number of entries per page.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10', 'title' => ''], + ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '', - 'type' => 'string', - 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80', - ], - 'GlobalRules' => [ - 'description' => '', + 'TotalCount' => ['description' => 'The number of port forwarding rules returned.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], + 'RequestId' => ['description' => 'The ID of the request, which is used to locate and troubleshoot issues.'."\n", 'type' => 'string', 'example' => '39499F01-19D9-4EA4-A0E9-C6014BA5CDBE', 'title' => ''], + 'NetworkRules' => [ + 'description' => 'An array that consists of port forwarding rules.'."\n", 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'Action' => [ - 'description' => '', - 'type' => 'string', - 'enumValueTitles' => [], - 'example' => 'watch', - ], - 'ActionDefault' => [ - 'description' => '', - 'type' => 'string', - 'enumValueTitles' => [], - 'example' => 'watch', - ], - 'Enabled' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'RuleId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'global_1', - ], - 'Description' => [ - 'description' => '', - 'type' => 'string', - 'example' => '', - ], - 'RuleName' => [ - 'description' => '', - 'type' => 'string', + 'FrontendPort' => ['description' => 'The forwarding port.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '55', 'title' => ''], + 'IsAutoCreate' => ['description' => 'Indicates whether the port forwarding rule is automatically created by the instance. Valid values:'."\n" + ."\n" + .'* **true**: yes'."\n" + .'* **false**: no'."\n", 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'InstanceId' => ['description' => 'The ID of the instance to which the port forwarding rule is applied.'."\n", 'type' => 'string', 'example' => 'ddoscoo-cn-7e225i41****', 'title' => ''], + 'FrontendProtocol' => ['description' => 'The type of the protocol. Valid values:'."\n" + ."\n" + .'* **tcp**'."\n" + .'* **udp**'."\n", 'type' => 'string', 'example' => 'tcp', 'title' => ''], + 'BackendPort' => ['description' => 'The port of the origin server.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '55', 'title' => ''], + 'RealServers' => [ + 'description' => 'An array that consists of IP addresses of origin servers.'."\n", + 'type' => 'array', + 'items' => ['description' => 'The IP address of the origin server.'."\n", 'type' => 'string', 'example' => '1.XX.XX.1', 'title' => ''], + 'title' => '', 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 1,\\n \\"RequestId\\": \\"39499F01-19D9-4EA4-A0E9-C6014BA5CDBE\\",\\n \\"NetworkRules\\": [\\n {\\n \\"FrontendPort\\": 55,\\n \\"IsAutoCreate\\": false,\\n \\"InstanceId\\": \\"ddoscoo-cn-7e225i41****\\",\\n \\"FrontendProtocol\\": \\"tcp\\",\\n \\"BackendPort\\": 55,\\n \\"RealServers\\": [\\n \\"1.XX.XX.1\\"\\n ]\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'DescribePort', + 'summary' => 'Queries the port forwarding rules that are created for an Anti-DDoS Pro or Anti-DDoS Premium instance.', + 'description' => 'You can call this operation by using Terraform. For more information about Terraform, see [What is Terraform?](~~95820~~).'."\n", + 'changeSet' => [ + ['createdAt' => '2025-08-14T03:28:22.000Z', 'description' => 'OpenAPI offline'], + ['createdAt' => '2025-08-14T01:39:28.000Z', 'description' => 'OpenAPI offline'], + ['createdAt' => '2025-08-14T01:39:28.000Z', 'description' => 'OpenAPI offline'], + ['createdAt' => '2024-08-30T07:13:07.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2022-09-08T03:34:23.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribePort'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribePort', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\",\\n \\"GlobalRules\\": [\\n {\\n \\"Action\\": \\"watch\\",\\n \\"ActionDefault\\": \\"watch\\",\\n \\"Enabled\\": 1,\\n \\"RuleId\\": \\"global_1\\",\\n \\"Description\\": \\"HTTP请求疑似模拟浏览器,校验浏览器Header等组合特征#4\\",\\n \\"RuleName\\": \\"模拟浏览器请求\\"\\n }\\n ]\\n}","type":"json"}]', - 'title' => 'DescribeL7GlobalRule', ], - 'DescribeDomainCcProtectSwitch' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DescribePortAttackMaxFlow' => [ + 'summary' => 'Queries the peak attack traffic bandwidth and peak attack traffic packet rates of one or more Anti-DDoS Pro or Anti-DDoS Premium instances within a specified period of time.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -11725,40 +11144,48 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '106122', - 'abilityTreeNodes' => [ - 'FEATUREddosRTUJBH', - ], + 'abilityTreeCode' => '106165', + 'abilityTreeNodes' => ['FEATUREddosRTUJBH'], ], 'parameters' => [ [ 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'rg-acfm2pz25js****', - ], + 'schema' => ['description' => 'The ID of the resource group to which the instance belongs in Resource Management.'."\n" + ."\n" + .'If you do not configure this parameter, the instance belongs to the default resource group.', 'type' => 'string', 'required' => false, 'example' => 'rg-acfm2pz25js****', 'title' => ''], ], [ - 'name' => 'Domains', + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => ['description' => 'The end of the time range to query. This value is a UNIX timestamp. Unit: seconds.'."\n" + ."\n" + .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1583683200', 'title' => ''], + ], + [ + 'name' => 'StartTime', + 'in' => 'query', + 'schema' => ['description' => 'The beginning of the time range to query. This value is a UNIX timestamp. Unit: seconds.'."\n" + ."\n" + .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1582992000', 'title' => ''], + ], + [ + 'name' => 'InstanceIds', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ - 'description' => '', + 'description' => 'The IDs of the Anti-DDoS Proxy instances to query.', 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'www.aliyundoc.com', - ], + 'items' => ['description' => 'The ID of the Anti-DDoS Proxy instance to query.'."\n" + ."\n" + .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all Anti-DDoS Proxy instances.', 'type' => 'string', 'required' => false, 'example' => 'ddoscoo-cn-zvp2eibz****', 'title' => ''], 'required' => true, - 'maxItems' => 5, + 'example' => 'ddoscoo-cn-mp91j1ao****', + 'maxItems' => 100, + 'title' => '', ], ], ], @@ -11767,184 +11194,160 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80', - ], - 'ProtectSwitchList' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'BlackWhiteListEnable' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'AiTemplate' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'level60', - ], - 'PreciseRuleEnable' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'Domain' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'www.aliyundoc.com', - ], - 'AiMode' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'defense', - ], - 'AiRuleEnable' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'RegionBlockEnable' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'CcTemplate' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'default', - ], - 'CcCustomRuleEnable' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'CcEnable' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'CcGlobalSwitch' => [ - 'type' => 'string', - ], - ], - ], - ], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E', 'title' => ''], + 'Bps' => ['description' => 'The peak bandwidth of attack traffic. Unit: bit/s.', 'type' => 'integer', 'format' => 'int64', 'example' => '149559', 'title' => ''], + 'Pps' => ['description' => 'The peak packet rate of attack traffic . Unit: packets per second (pps).', 'type' => 'integer', 'format' => 'int64', 'example' => '23', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\",\\n \\"ProtectSwitchList\\": [\\n {\\n \\"BlackWhiteListEnable\\": 1,\\n \\"AiTemplate\\": \\"level60\\",\\n \\"PreciseRuleEnable\\": 0,\\n \\"Domain\\": \\"www.aliyundoc.com\\",\\n \\"AiMode\\": \\"defense\\",\\n \\"AiRuleEnable\\": 1,\\n \\"RegionBlockEnable\\": 0,\\n \\"CcTemplate\\": \\"default\\",\\n \\"CcCustomRuleEnable\\": 0,\\n \\"CcEnable\\": 1,\\n \\"CcGlobalSwitch\\": \\"close\\"\\n }\\n ]\\n}","type":"json"}]', - ], - 'ConfigDomainSecurityProfile' => [ - 'summary' => 'Configures the global mitigation policy feature, including the feature status and settings.', - 'methods' => [ - 'get', - 'post', + 'title' => 'DescribePortAttackMaxFlow', + 'description' => 'You can call this operation to query the peak bandwidth and peak packet rate of attack traffic on one or more Anti-DDoS Pro or Anti-DDoS Premium instances within a specific period of time.'."\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.', + 'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see [Common parameters](~~157269~~).'."\n" + ."\n" + .'For more information about sample requests, see the **"Examples"** section of this topic.', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:22.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribePortAttackMaxFlow'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribePortAttackMaxFlow', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E\\",\\n \\"Bps\\": 149559,\\n \\"Pps\\": 23\\n}","type":"json"}]', + ], + 'DescribePortAutoCcStatus' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', - 'abilityTreeCode' => '106289', - 'abilityTreeNodes' => [ - 'FEATUREddos64TBV6', - ], + 'operationType' => 'get', + 'abilityTreeCode' => '106166', + 'abilityTreeNodes' => ['FEATUREddosI8LHMA'], ], 'parameters' => [ [ - 'name' => 'Domain', - 'in' => 'query', - 'schema' => [ - 'description' => 'The domain name of the website.'."\n" - ."\n" - .'> A forwarding rule must be configured for the domain name. You can call the [DescribeDomains](~~91724~~) operation to query all domain names.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'live.abcde.com', - ], - ], - [ - 'name' => 'Config', + 'name' => 'InstanceIds', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => 'The configurations for the global mitigation policy feature. The configurations include the following fields:'."\n" - ."\n" - .'* **global_rule_mode**: optional. The mode for the global mitigation policy feature. Data type: string. Valid values:'."\n" - ."\n" - .' * **weak**: loose.'."\n" - .' * **default**: normal.'."\n" - .' * **hard**: strict.'."\n" - ."\n" - .'* **global_rule_enable**: optional. Specifies whether to enable the global mitigation policy feature. Data type: string. Valid values:'."\n" + 'description' => 'The ID of the instance.'."\n" ."\n" - .' * **0**: disabled.'."\n" - .' * **1**: enabled.'."\n", - 'type' => 'string', + .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.'."\n", + 'type' => 'array', + 'items' => ['description' => 'The ID of the instance.'."\n", 'type' => 'string', 'required' => false, 'example' => 'ddoscoo-cn-mp91j1ao****', 'title' => ''], 'required' => true, - 'example' => '{\\"global_rule_mode\\":\\"hard\\"}', - ], - ], - [ - 'name' => 'Cluster', - 'in' => 'query', - 'schema' => [ - 'description' => 'This parameter is unavailable.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '', + 'example' => 'ddoscoo-cn-mp91j1ao****', + 'maxItems' => 100, + 'title' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'The response parameters.'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '9728769F-9466-534E-BE12-CAB29A675828', + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'BC3C6403-F248-4125-B2C9-8733ED94EA85', 'title' => ''], + 'PortAutoCcStatus' => [ + 'description' => 'An array that consists of the configurations of the Intelligent Protection policy.'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Switch' => ['description' => 'The status of the Intelligent Protection policy. Valid values:'."\n" + ."\n" + .'* **on**: enabled'."\n" + .'* **off**: disabled'."\n", 'type' => 'string', 'example' => 'on', 'title' => ''], + 'Mode' => ['description' => 'The mode of the Intelligent Protection policy. Valid values:'."\n" + ."\n" + .'* **normal**'."\n" + .'* **loose**'."\n" + .'* **strict**'."\n", 'type' => 'string', 'example' => 'normal', 'title' => ''], + 'WebSwitch' => ['description' => 'The status of the Intelligent Protection policy for ports 80 and 443. Valid values:'."\n" + ."\n" + .'* **on**: enabled'."\n" + .'* **off**: disabled'."\n", 'type' => 'string', 'example' => 'off', 'title' => ''], + 'WebMode' => ['description' => 'The protection mode for ports 80 and 443. Valid values:'."\n" + ."\n" + .'* **normal**'."\n" + .'* **loose**'."\n" + .'* **strict**'."\n", 'type' => 'string', 'example' => 'normal', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"9728769F-9466-534E-BE12-CAB29A675828\\"\\n}","type":"json"}]', - 'title' => 'ConfigDomainSecurityProfile', - ], - 'ModifyPortAutoCcStatus' => [ - 'methods' => [ - 'post', - 'get', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"BC3C6403-F248-4125-B2C9-8733ED94EA85\\",\\n \\"PortAutoCcStatus\\": [\\n {\\n \\"Switch\\": \\"on\\",\\n \\"Mode\\": \\"normal\\",\\n \\"WebSwitch\\": \\"off\\",\\n \\"WebMode\\": \\"normal\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\r\\n\\r\\n\\tBC3C6403-F248-4125-B2C9-8733ED94EA85\\r\\n\\t\\r\\n\\t\\toff\\r\\n\\t\\ton\\r\\n\\t\\tnormal\\r\\n\\t\\tnormal\\r\\n\\t\\r\\n","errorExample":""}]', + 'title' => 'DescribePortAutoCcStatus', + 'summary' => 'Queries the configurations of the Intelligent Protection policy for non-website services.', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:22.000Z', 'description' => 'Error codes changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribePortAutoCcStatus'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribePortAutoCcStatus', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'DescribePortConnsCount' => [ + 'summary' => 'The statistics on the connections established over the ports of one or more Anti-DDoS Pro or Anti-DDoS Premium instances are queried.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -11953,50 +11356,51 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', - 'abilityTreeCode' => '106254', - 'abilityTreeNodes' => [ - 'FEATUREddosN7DYCX', - ], + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '106173', + 'abilityTreeNodes' => ['FEATUREddosRTUJBH'], ], 'parameters' => [ [ - 'name' => 'InstanceId', + 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the instance.'."\n" - ."\n" - .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'ddoscoo-cn-mp91j1ao****', - ], + 'schema' => ['description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.', 'type' => 'string', 'required' => false, 'example' => 'default', 'title' => ''], ], [ - 'name' => 'Switch', + 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies the status of the Intelligent Protection policy. Valid values:'."\n" - ."\n" - .'* **on**: enables the policy.'."\n" - .'* **off**: disables the policy.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'on', - ], + 'schema' => ['description' => 'The end of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n" + ."\n" + .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1583683200', 'title' => ''], ], [ - 'name' => 'Mode', + 'name' => 'StartTime', + 'in' => 'query', + 'schema' => ['description' => 'The beginning of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n" + ."\n" + .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1582992000', 'title' => ''], + ], + [ + 'name' => 'Port', + 'in' => 'query', + 'schema' => ['description' => 'The number of port that you want to query. If you do not specify this parameter, all ports are queried.', 'type' => 'string', 'required' => false, 'example' => '80', 'title' => ''], + ], + [ + 'name' => 'InstanceIds', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => 'The mode of the Intelligent Protection policy. Valid values:'."\n" + 'description' => 'An array that consists of the IDs of instances.'."\n" ."\n" - .'* **normal**'."\n" - .'* **loose**'."\n" - .'* **strict**'."\n", - 'type' => 'string', + .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.', + 'type' => 'array', + 'items' => ['description' => 'The ID of the Anti-DDoS Pro or Anti-DDoS Premium instance.', 'type' => 'string', 'required' => false, 'example' => 'ddoscoo-cn-mp91j1ao****', 'title' => ''], 'required' => true, - 'example' => 'normal', + 'example' => 'ddoscoo-cn-mp91j1ao****', + 'maxItems' => 100, + 'title' => '', ], ], ], @@ -12005,33 +11409,48 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc', - ], + 'InActConns' => ['description' => 'The number of inactive connections.', 'type' => 'integer', 'format' => 'int64', 'example' => '121', 'title' => ''], + 'ActConns' => ['description' => 'The number of active connections.', 'type' => 'integer', 'format' => 'int64', 'example' => '159', 'title' => ''], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '48859E14-A9FB-4100-99FF-AAB75CA46776', 'title' => ''], + 'Cps' => ['description' => 'The number of new connections.', 'type' => 'integer', 'format' => 'int64', 'example' => '0', 'title' => ''], + 'Conns' => ['description' => 'The number of concurrent connections.', 'type' => 'integer', 'format' => 'int64', 'example' => '46340', 'title' => ''], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}","errorExample":""},{"type":"xml","example":"\\r\\n 0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\r\\n","errorExample":""}]', - 'title' => 'ModifyPortAutoCcStatus', - 'summary' => 'Modifies the Intelligent Protection configuration of a non-website service.', - 'requestParamsDescription' => ' ', + 'title' => 'DescribePortConnsCount', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'ModifyNetworkRuleAttribute' => [ - 'summary' => 'Modifies the session persistence and DDoS mitigation policy settings of a port forwarding rule.', - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:22.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribePortConnsCount'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribePortConnsCount', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"InActConns\\": 121,\\n \\"ActConns\\": 159,\\n \\"RequestId\\": \\"48859E14-A9FB-4100-99FF-AAB75CA46776\\",\\n \\"Cps\\": 0,\\n \\"Conns\\": 46340\\n}","type":"json"}]', + ], + 'DescribePortConnsList' => [ + 'summary' => 'Queries the connections established over the ports of one or more Anti-DDoS Proxy instances.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -12040,97 +11459,58 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '106251', - 'abilityTreeNodes' => [ - 'FEATUREddosOZ1QOD', - ], + 'abilityTreeCode' => '106174', + 'abilityTreeNodes' => ['FEATUREddosRTUJBH'], ], 'parameters' => [ [ - 'name' => 'InstanceId', + 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the instance.'."\n" - ."\n" - .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'ddoscoo-cn-mp91j1ao****', - ], + 'schema' => ['description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.', 'type' => 'string', 'required' => false, 'example' => 'default', 'title' => ''], ], [ - 'name' => 'ForwardProtocol', + 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => 'The forwarding protocol. Valid values:'."\n" - ."\n" - .'* **tcp**'."\n" - .'* **udp**'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'tcp', - ], + 'schema' => ['description' => 'The end of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n" + ."\n" + .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1583683200', 'title' => ''], ], [ - 'name' => 'FrontendPort', + 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => 'The forwarding port.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '8080', - ], + 'schema' => ['description' => 'The beginning of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n" + ."\n" + .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1582992000', 'title' => ''], ], [ - 'name' => 'Config', + 'name' => 'Interval', 'in' => 'query', - 'schema' => [ - 'description' => 'The detailed settings of the port forwarding rule. This parameter is a JSON string and contains the following fields. The detailed settings of a TCP port forwarding rule contain the following fields.'."\n" - ."\n" - .'* **PersistenceTimeout**: the timeout period of session persistence. This field is required and of the integer type. Valid values: **30** to **3600**. Unit: seconds. Default value: **0**, which indicates that session persistence is disabled.'."\n" - .'* **Synproxy**: specifies whether to enable the false source feature in the DDoS mitigation policy. This field is required and of the string type. Valid values: off and on.'."\n" - .'* **NodataConn**: specifies whether to enable the empty connection feature in the DDoS mitigation policy. This field is required and of the string type. Valid values: off and on.'."\n" - .'* **Sla**: the settings of the speed limit for destination feature. This field is required and of the struct type. For more information, see the following description about Sla.'."\n" - .'* **Slimit**: the settings of the rate limit for source feature. This field is required and of the struct type. For more information, see the following description about Slimit.'."\n" - .'* **PayloadLen**: the settings of the packet length limit feature. This field is required and of the struct type. For more information, see the following description about PayloadLen.'."\n" - ."\n" - .'Sla contains the following fields:'."\n" - ."\n" - .'* **Cps**: the destination rate limit on new connections in the DDoS mitigation policy. This field is required and of the integer type. Valid values: 100 to 100000.'."\n" - .'* **Maxconn**: the destination rate limit on concurrent connections in the DDoS mitigation policy. This field is required and of the integer type. Valid values: 1000 to 1000000.'."\n" - .'* **CpsEnable**: specifies whether to enable Cps. This field is required and of the integer type. Valid values: 0 and 1. Default value: 1. The value 0 indicates that Cps is disabled, and the value 1 indicates that Cps is enabled.'."\n" - .'* **MaxconnEnable**: specifies whether to enable Maxconn. This field is required and of the integer type. Valid values: 0 and 1. Default value: 1. The value 0 indicates that Maxconn is disabled, and the value 1 indicates that Maxconn is enabled.'."\n" - ."\n" - .'Slimit contains the following fields:'."\n" - ."\n" - .'* **Cps**: the source rate limit on new connections in the DDoS mitigation policy. This field is required and of the integer type. Valid values: 1 to 50000.'."\n" - .'* **Maxconn**: the source rate limit on concurrent connections in the DDoS mitigation policy. This field is required and of the integer type. Valid values: 1 to 50000.'."\n" - .'* **CpsEnable**: specifies whether to enable Cps. This field is required and of the integer type. Valid values: 0 and 1. Default value: 1. The value 0 indicates that Cps is disabled, and the value 1 indicates that Cps is enabled.'."\n" - .'* **MaxconnEnable**: specifies whether to enable Maxconn. This field is required and of the integer type. Valid values: 0 and 1. Default value: 1. The value 0 indicates that Maxconn is disabled, and the value 1 indicates that Maxconn is enabled.'."\n" - .'* **CpsMode**: specifies whether to enable the source rate limit on new connections. This field is required and of the integer type. Valid values: 1 and 2. The value 1 indicates that the source rate limit is disabled. The value 2 indicates that the system determines whether to enable the source rate limit.'."\n" - ."\n" - .'PayloadLen contains the following fields:'."\n" - ."\n" - .'* **Min**: the minimum packet length in the DDoS mitigation policy. This field is required and of the integer type. Valid values: 0 to 1500.'."\n" - .'* **Max**: the maximum packet length in the DDoS mitigation policy. This field is required and of the integer type. Valid values: 0 to 1500.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '{"PersistenceTimeout":900}', - ], + 'schema' => ['description' => 'The interval for returning data. Unit: seconds.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1000', 'title' => ''], ], [ - 'name' => 'Module', + 'name' => 'Port', + 'in' => 'query', + 'schema' => ['description' => 'The number of port that you want to query. If you do not specify this parameter, all ports are queried.', 'type' => 'string', 'required' => false, 'example' => '80', 'title' => ''], + ], + [ + 'name' => 'InstanceIds', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'type' => 'string', - 'required' => false, - 'enum' => [ - 'sla', - ], + 'description' => 'The ID of the instance.'."\n" + ."\n" + .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.', + 'type' => 'array', + 'items' => ['description' => 'The ID of the instance.'."\n" + ."\n" + .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.', 'type' => 'string', 'required' => false, 'example' => 'ddoscoo-cn-mp91j1ao****', 'title' => ''], + 'required' => true, + 'example' => 'ddoscoo-cn-mp91j1ao****', + 'maxItems' => 100, + 'title' => '', ], ], ], @@ -12139,31 +11519,65 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc', + 'RequestId' => ['description' => 'The ID of the request, which is used to locate and troubleshoot issues.', 'type' => 'string', 'example' => '6D48AED0-41DB-5D9B-B484-3B6AAD312AD1', 'title' => ''], + 'ConnsList' => [ + 'description' => 'Details about the connections established over the port.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'ActConns' => ['description' => 'The number of active connections.', 'type' => 'integer', 'format' => 'int64', 'example' => '3', 'title' => ''], + 'InActConns' => ['description' => 'The number of inactive connections.', 'type' => 'integer', 'format' => 'int64', 'example' => '2', 'title' => ''], + 'Index' => ['description' => 'The index number of the returned data.', 'type' => 'integer', 'format' => 'int64', 'example' => '16506', 'title' => ''], + 'Cps' => ['description' => 'The number of new connections.', 'type' => 'integer', 'format' => 'int64', 'example' => '0', 'title' => ''], + 'Conns' => ['description' => '> This parameter is in internal preview. Do not use this parameter.', 'type' => 'integer', 'format' => 'int64', 'example' => '8', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}","errorExample":""},{"type":"xml","example":"\\r\\n\\r\\n\\t0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\r\\n","errorExample":""}]', - 'title' => 'ModifyNetworkRuleAttribute', - 'requestParamsDescription' => ' ', + 'title' => 'DescribePortConnsList', + 'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see [Common parameters](~~157269~~).'."\n" + ."\n" + .'For more information about sample requests, see the **"Examples"** section of this topic.', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribePortAutoCcStatus' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2022-04-27T09:19:38.000Z', 'description' => 'Response parameters changed, Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribePortConnsList'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribePortConnsList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6D48AED0-41DB-5D9B-B484-3B6AAD312AD1\\",\\n \\"ConnsList\\": [\\n {\\n \\"ActConns\\": 3,\\n \\"InActConns\\": 2,\\n \\"Index\\": 16506,\\n \\"Cps\\": 0,\\n \\"Conns\\": 8\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribePortFlowList' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -12173,30 +11587,62 @@ 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', - 'abilityTreeCode' => '106166', - 'abilityTreeNodes' => [ - 'FEATUREddosI8LHMA', - ], + 'abilityTreeCode' => '106175', + 'abilityTreeNodes' => ['FEATUREddosRTUJBH'], ], 'parameters' => [ + [ + 'name' => 'ResourceGroupId', + 'in' => 'query', + 'schema' => ['description' => 'The resource group ID of the Anti-DDoS Proxy instance in Resource Management. The default value is empty, which indicates that the instance belongs to the default resource group.'."\n" + ."\n" + .'For more information about resource groups, see [Create a resource group](~~94485~~).', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'rg-acfm2pz25js****'], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => ['description' => 'The end time of the query. This value is a UNIX timestamp in seconds.'."\n" + ."\n" + .'> You must set this parameter to a time that is accurate to the minute.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'title' => '', 'example' => '1583683200'], + ], + [ + 'name' => 'StartTime', + 'in' => 'query', + 'schema' => ['description' => 'The start time of the query. This value is a UNIX timestamp in seconds.'."\n" + ."\n" + .'> You must set this parameter to a time that is accurate to the minute.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'title' => '', 'example' => '1582992000'], + ], + [ + 'name' => 'Interval', + 'in' => 'query', + 'schema' => ['description' => 'The step size of the returned data, in seconds. This parameter specifies the interval at which a result is returned. The valid values of the step size vary based on the query time range (specified by **StartTime** and **EndTime**). The following step sizes are recommended:'."\n" + ."\n" + .'- If the query time range is less than or equal to 1 hour, we recommend that you set the step size to a minimum of 60 seconds. The maximum step size cannot exceed the query time range.'."\n" + ."\n" + .'- If the query time range is greater than 1 hour but less than or equal to 6 hours, we recommend that you set the step size to a minimum of 600 seconds. The maximum step size cannot exceed the query time range.'."\n" + ."\n" + .'- If the query time range is greater than 6 hours but less than or equal to 24 hours, we recommend that you set the step size to a minimum of 1800 seconds. The maximum step size cannot exceed the query time range.'."\n" + ."\n" + .'- If the query time range is greater than 24 hours but less than or equal to 7 days, we recommend that you set the step size to a minimum of 3600 seconds. The maximum step size cannot exceed the query time range.'."\n" + ."\n" + .'- If the query time range is greater than 7 days but less than or equal to 15 days, we recommend that you set the step size to a minimum of 14400 seconds. The maximum step size cannot exceed the query time range.'."\n" + ."\n" + .'- If the query time range is greater than 15 days, we recommend that you set the step size to a minimum of 43200 seconds. The maximum step size cannot exceed the query time range.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'title' => '', 'example' => '1000'], + ], [ 'name' => 'InstanceIds', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ - 'description' => 'The ID of the instance.'."\n" - ."\n" - .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.'."\n", + 'description' => 'The ID of the Anti-DDoS instance.', 'type' => 'array', - 'items' => [ - 'description' => 'The ID of the instance.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'ddoscoo-cn-mp91j1ao****', - ], + 'items' => ['description' => 'The ID of the Anti-DDoS Proxy instance.'."\n" + ."\n" + .'> You can call [DescribeInstanceIds](~~157459~~) to query the IDs of all Anti-DDoS Proxy instances.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'ddoscoo-cn-zz120cjv****'], 'required' => true, 'example' => 'ddoscoo-cn-mp91j1ao****', 'maxItems' => 100, + 'title' => '', ], ], ], @@ -12205,74 +11651,89 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'BC3C6403-F248-4125-B2C9-8733ED94EA85', - ], - 'PortAutoCcStatus' => [ - 'description' => 'An array that consists of the configurations of the Intelligent Protection policy.'."\n", + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'title' => '', 'example' => 'FFC77501-BDF8-4BC8-9BF5-B295FBC3189B'], + 'PortFlowList' => [ + 'description' => 'The traffic data that is queried.', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'Switch' => [ - 'description' => 'The status of the Intelligent Protection policy. Valid values:'."\n" - ."\n" - .'* **on**: enabled'."\n" - .'* **off**: disabled'."\n", - 'type' => 'string', - 'example' => 'on', - ], - 'Mode' => [ - 'description' => 'The mode of the Intelligent Protection policy. Valid values:'."\n" - ."\n" - .'* **normal**'."\n" - .'* **loose**'."\n" - .'* **strict**'."\n", - 'type' => 'string', - 'example' => 'normal', - ], - 'WebSwitch' => [ - 'description' => 'The status of the Intelligent Protection policy for ports 80 and 443. Valid values:'."\n" - ."\n" - .'* **on**: enabled'."\n" - .'* **off**: disabled'."\n", - 'type' => 'string', - 'example' => 'off', - ], - 'WebMode' => [ - 'description' => 'The protection mode for ports 80 and 443. Valid values:'."\n" - ."\n" - .'* **normal**'."\n" - .'* **loose**'."\n" - .'* **strict**'."\n", - 'type' => 'string', - 'example' => 'normal', - ], + 'Index' => ['description' => 'The index number of the returned data.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '0'], + 'Time' => ['description' => 'The time when the statistics were collected. This value is a UNIX timestamp in seconds.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '1582992000'], + 'InPps' => ['description' => 'The inbound packet forwarding rate, in packets per second (pps).', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '2934'], + 'InBps' => ['description' => 'The inbound bandwidth, in bits per second (bps).', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '2176000'], + 'Region' => ['description' => 'The source location of the traffic. Valid values:'."\n" + ."\n" + .'- **cn**: the Chinese mainland.'."\n" + ."\n" + .'- **alb-ap-northeast-1-gf-x**: Japan.'."\n" + ."\n" + .'- **alb-ap-southeast-gf-x**: Singapore.'."\n" + ."\n" + .'- **alb-cn-hongkong-gf-x**: Hong Kong (China).'."\n" + ."\n" + .'- **alb-eu-central-1-gf-x**: Germany.'."\n" + ."\n" + .'- **alb-us-west-1-gf-x**: US (West).'."\n" + ."\n" + .'> Values other than **cn** are available only for Anti-DDoS Proxy (Outside Chinese Mainland) (**RegionId** is **ap-southeast-1**).', 'type' => 'string', 'title' => '', 'example' => 'cn'], + 'OutPps' => ['description' => 'The outbound packet forwarding rate, in pps.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '5'], + 'AttackPps' => ['description' => 'The attack packet forwarding rate, in pps.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '0'], + 'OutBps' => ['description' => 'The outbound bandwidth, in bps.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '4389'], + 'AttackBps' => ['description' => 'The attack bandwidth, in bps.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '0'], + 'SlaBpsDropBps' => ['type' => 'integer', 'format' => 'int64', 'description' => 'The destination bandwidth, in bps.', 'title' => '', 'example' => '0'], + 'SlaPpsDropBps' => ['type' => 'integer', 'format' => 'int64', 'description' => 'The destination message, in bps.', 'title' => '', 'example' => '0'], + 'SlaCpsDropBps' => ['type' => 'integer', 'format' => 'int64', 'description' => 'The destination new connections, in bps.', 'title' => '', 'example' => '0'], + 'SlaConnDropBps' => ['type' => 'integer', 'format' => 'int64', 'description' => 'The destination concurrent connections, in bps.', 'title' => '', 'example' => '0'], + 'SlaBpsDropPps' => ['type' => 'integer', 'format' => 'int64', 'description' => 'The destination bandwidth packet forwarding rate, in pps.', 'title' => '', 'example' => '0'], + 'SlaPpsDropPps' => ['type' => 'integer', 'format' => 'int64', 'description' => 'The destination message packet forwarding rate, in pps.', 'title' => '', 'example' => '0'], + 'SlaCpsDropPps' => ['type' => 'integer', 'format' => 'int64', 'description' => 'The destination new connections packet forwarding rate, in pps.', 'title' => '', 'example' => '0'], + 'SlaConnDropPps' => ['type' => 'integer', 'format' => 'int64', 'description' => 'The destination concurrent connections packet forwarding rate, in pps.', 'title' => '', 'example' => '0'], ], + 'description' => '', + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"BC3C6403-F248-4125-B2C9-8733ED94EA85\\",\\n \\"PortAutoCcStatus\\": [\\n {\\n \\"Switch\\": \\"on\\",\\n \\"Mode\\": \\"normal\\",\\n \\"WebSwitch\\": \\"off\\",\\n \\"WebMode\\": \\"normal\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\r\\n\\r\\n\\tBC3C6403-F248-4125-B2C9-8733ED94EA85\\r\\n\\t\\r\\n\\t\\toff\\r\\n\\t\\ton\\r\\n\\t\\tnormal\\r\\n\\t\\tnormal\\r\\n\\t\\r\\n","errorExample":""}]', - 'title' => 'DescribePortAutoCcStatus', - 'summary' => 'Queries the configurations of the Intelligent Protection policy for non-website services.', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'DescribeDomains' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"FFC77501-BDF8-4BC8-9BF5-B295FBC3189B\\",\\n \\"PortFlowList\\": [\\n {\\n \\"Index\\": 0,\\n \\"Time\\": 1582992000,\\n \\"InPps\\": 2934,\\n \\"InBps\\": 2176000,\\n \\"Region\\": \\"cn\\",\\n \\"OutPps\\": 5,\\n \\"AttackPps\\": 0,\\n \\"OutBps\\": 4389,\\n \\"AttackBps\\": 0,\\n \\"SlaBpsDropBps\\": 0,\\n \\"SlaPpsDropBps\\": 0,\\n \\"SlaCpsDropBps\\": 0,\\n \\"SlaConnDropBps\\": 0,\\n \\"SlaBpsDropPps\\": 0,\\n \\"SlaPpsDropPps\\": 0,\\n \\"SlaCpsDropPps\\": 0,\\n \\"SlaConnDropPps\\": 0\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'DescribePortFlowList', + 'summary' => 'Queries the traffic data list of an Anti-DDoS Proxy instance.', + 'changeSet' => [ + ['createdAt' => '2023-05-24T06:10:01.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-04-18T10:15:59.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2022-09-08T03:34:15.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribePortFlowList'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribePortFlowList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'DescribePortMaxConns' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -12282,43 +11743,43 @@ 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', - 'abilityTreeCode' => '106131', - 'abilityTreeNodes' => [ - 'FEATUREddos64TBV6', - ], - 'tenantRelevance' => 'publicInformation', + 'abilityTreeCode' => '106176', + 'abilityTreeNodes' => ['FEATUREddosRTUJBH'], ], 'parameters' => [ [ 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n" - ."\n" - .'For more information about resource groups, see [Create a resource group](~~94485~~).'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'rg-acfm2pz25js****', - ], + 'schema' => ['description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n", 'type' => 'string', 'required' => false, 'example' => 'default', 'title' => ''], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => ['description' => 'The end of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n" + ."\n" + .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1583683200', 'title' => ''], + ], + [ + 'name' => 'StartTime', + 'in' => 'query', + 'schema' => ['description' => 'The beginning of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n" + ."\n" + .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1582992000', 'title' => ''], ], [ 'name' => 'InstanceIds', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ - 'description' => 'The ID of the instance that you want to query.'."\n" + 'description' => 'The IDs of the Anti-DDoS Proxy instances.'."\n" ."\n" - .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.'."\n", + .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all Anti-DDoS Proxy instances.'."\n", 'type' => 'array', - 'items' => [ - 'description' => 'The ID of the instance.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'ddoscoo-cn-mp91j1ao****', - ], - 'required' => false, - 'example' => 'ddoscoo-cn-mp91j1ao****', + 'items' => ['description' => 'The ID of the Anti-DDoS Proxy instance.'."\n", 'type' => 'string', 'required' => false, 'example' => ' ddoscoo-cn-mp91j1ao****', 'title' => ''], + 'required' => true, + 'example' => ' ddoscoo-cn-mp91j1ao****', 'maxItems' => 100, + 'title' => '', ], ], ], @@ -12327,40 +11788,61 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'F908E959-ADA8-4D7B-8A05-FF2F67F50964', - ], - 'Domains' => [ - 'description' => 'An array consisting of details of the domain name for which the forwarding rules are configured.'."\n", + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '08F79110-2AF5-4FA7-998E-7C5E75EACF9C', 'title' => ''], + 'PortMaxConns' => [ + 'description' => 'The details of the maximum number of connections that can be established over a port of the instance.'."\n", 'type' => 'array', 'items' => [ - 'description' => 'The domain name for which forwarding rules are configured.'."\n", - 'type' => 'string', - 'example' => 'www.aliyun***.com', + 'type' => 'object', + 'properties' => [ + 'Ip' => ['description' => 'The IP address of the instance.'."\n", 'type' => 'string', 'example' => '203.***.***.117', 'title' => ''], + 'Port' => ['description' => 'The port of the instance.'."\n", 'type' => 'string', 'example' => '80', 'title' => ''], + 'Cps' => ['description' => 'The maximum number of connections per second (CPS).'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '100', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"F908E959-ADA8-4D7B-8A05-FF2F67F50964\\",\\n \\"Domains\\": [\\n \\"www.aliyun***.com\\"\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\r\\n\\r\\n\\twww.aliyun.com\\r\\n\\tF908E959-ADA8-4D7B-8A05-FF2F67F50964\\r\\n","errorExample":""}]', - 'title' => 'DescribeDomains', - 'summary' => 'Queries domain names for which forwarding rules are created.', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"08F79110-2AF5-4FA7-998E-7C5E75EACF9C\\",\\n \\"PortMaxConns\\": [\\n {\\n \\"Ip\\": \\"203.***.***.117\\",\\n \\"Port\\": \\"80\\",\\n \\"Cps\\": 100\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\r\\n\\r\\n\\t\\r\\n\\t\\t80\\r\\n\\t\\t203.***.***.117\\r\\n\\t\\t0\\r\\n\\t\\r\\n\\t\\r\\n\\t\\t443\\r\\n\\t\\t203.***.***.117\\r\\n\\t\\t0\\r\\n\\t\\r\\n\\t08F79110-2AF5-4FA7-998E-7C5E75EACF9C\\r\\n","errorExample":""}]', + 'title' => 'DescribePortMaxConns', + 'summary' => 'Queries the maximum number of connections that can be established over the ports of one or more Anti-DDoS Proxy instances.', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeHealthCheckList' => [ - 'summary' => 'Queries the Layer 4 or Layer 7 health check configurations of a port forwarding rule.', - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:15.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribePortMaxConns'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribePortMaxConns', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'DescribePortViewSourceCountries' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -12370,26 +11852,45 @@ 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '106147', - 'abilityTreeNodes' => [ - 'FEATUREddosN7DYCX', - ], + 'abilityTreeCode' => '106178', + 'abilityTreeNodes' => ['FEATUREddosRTUJBH'], ], 'parameters' => [ [ - 'name' => 'NetworkRules', + 'name' => 'ResourceGroupId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the resource group to which the Anti-DDoS Proxy instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n" + ."\n" + .'For information about resource groups, see [Create a resource group](~~94485~~).'."\n", 'type' => 'string', 'required' => false, 'example' => 'rg-acfm2pz25js****', 'title' => ''], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => ['description' => 'The end of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n" + ."\n" + .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1583683200', 'title' => ''], + ], + [ + 'name' => 'StartTime', + 'in' => 'query', + 'schema' => ['description' => 'The beginning of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n" + ."\n" + .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1582992000', 'title' => ''], + ], + [ + 'name' => 'InstanceIds', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => 'The information about the port forwarding rule. This parameter is a JSON string. The string contains the following fields:'."\n" + 'description' => 'The IDs of the Anti-DDoS Proxy instances to query.'."\n", + 'type' => 'array', + 'items' => ['description' => 'The ID of the Anti-DDoS Proxy instance to query.'."\n" ."\n" - .'* **InstanceId**: the ID of the instance. This field is required and must be of the STRING type.'."\n" - .'* **Protocol**: the forwarding protocol. This field is required and must be of the STRING type. Valid values: **tcp** and **udp**.'."\n" - .'* **FrontendPort**: the forwarding port. This field is required and must be of the INTEGER type.'."\n", - 'type' => 'string', + .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all Anti-DDoS Proxy instances.'."\n", 'type' => 'string', 'required' => false, 'example' => 'ddoscoo-cn-mp91j1ao****', 'title' => ''], 'required' => true, - 'example' => '[{"InstanceId":"ddoscoo-cn-mp91j1ao****","Protocol":"tcp","FrontendPort":8080}]', + 'example' => 'ddoscoo-cn-mp91j1ao****', + 'maxItems' => 100, + 'title' => '', ], ], ], @@ -12398,118 +11899,60 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '83B4AF42-E8EE-4DC9-BD73-87B7733A36F9', - ], - 'HealthCheckList' => [ - 'description' => 'An array that consists of information about the health check configuration.'."\n", + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E', 'title' => ''], + 'SourceCountrys' => [ + 'description' => 'The details about the country or area from which the requests are sent.'."\n", 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'FrontendPort' => [ - 'description' => 'The forwarding port.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '8080', - ], - 'InstanceId' => [ - 'description' => 'The ID of the instance.'."\n", - 'type' => 'string', - 'example' => 'ddoscoo-cn-mp91j1ao****', - ], - 'Protocol' => [ - 'description' => 'The forwarding protocol. Valid values:'."\n" - ."\n" - .'* **tcp**'."\n" - .'* **udp**'."\n", - 'type' => 'string', - 'example' => 'tcp', - ], - 'HealthCheck' => [ - 'description' => 'The health check configuration.'."\n", - 'type' => 'object', - 'properties' => [ - 'Timeout' => [ - 'description' => 'The response timeout period. Valid values: **1** to **30**. Unit: seconds.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '5', - ], - 'Type' => [ - 'description' => 'The type of the protocol. Valid values:'."\n" - ."\n" - .'* **tcp**: The Layer 4 health check configuration was queried.'."\n" - .'* **http**: The Layer 7 health check configuration was queried.'."\n", - 'type' => 'string', - 'example' => 'tcp', - ], - 'Domain' => [ - 'description' => 'The domain name.'."\n" - ."\n" - .'> This parameter is returned only when the Layer 7 health check configuration is queried.'."\n", - 'type' => 'string', - 'example' => 'www.aliyun.com', - ], - 'Interval' => [ - 'description' => 'The interval at which checks are performed. Valid values: **1** to **30**. Unit: seconds.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '15', - ], - 'Up' => [ - 'description' => 'The number of consecutive successful health checks that must occur before a port is declared healthy. Valid values: **1** to **10**.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '3', - ], - 'Down' => [ - 'description' => 'The number of consecutive failed health checks that must occur before a port is declared unhealthy. Valid values: **1** to **10**.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '3', - ], - 'Port' => [ - 'description' => 'The port that was checked.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '8080', - ], - 'Uri' => [ - 'description' => 'The check path.'."\n" - ."\n" - .'> This parameter is returned only when the Layer 7 health check configuration is queried.'."\n", - 'type' => 'string', - 'example' => '/abc', - ], - ], - ], + 'Count' => ['description' => 'The number of requests.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '3390671', 'title' => ''], + 'CountryId' => ['description' => 'The abbreviation of the country or area. For example, **cn** indicates China and **us** indicates the United States.'."\n" + ."\n" + .'> For more information, see [Location parameters](~~167926~~).'."\n", 'type' => 'string', 'example' => 'cn', 'title' => ''], ], 'description' => '', + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"83B4AF42-E8EE-4DC9-BD73-87B7733A36F9\\",\\n \\"HealthCheckList\\": [\\n {\\n \\"FrontendPort\\": 8080,\\n \\"InstanceId\\": \\"ddoscoo-cn-mp91j1ao****\\",\\n \\"Protocol\\": \\"tcp\\",\\n \\"HealthCheck\\": {\\n \\"Timeout\\": 5,\\n \\"Type\\": \\"tcp\\",\\n \\"Domain\\": \\"www.aliyun.com\\",\\n \\"Interval\\": 15,\\n \\"Up\\": 3,\\n \\"Down\\": 3,\\n \\"Port\\": 8080,\\n \\"Uri\\": \\"/abc\\"\\n }\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\r\\n\\r\\n\\t83B4AF42-E8EE-4DC9-BD73-87B7733A36F9\\r\\n\\t\\r\\n\\t\\tddoscoo-cn-mp91j1ao****\\r\\n\\t\\t8080\\r\\n\\t\\t\\r\\n\\t\\t\\ttcp\\r\\n\\t\\t\\t3\\r\\n\\t\\t\\t5\\r\\n\\t\\t\\t8080\\r\\n\\t\\t\\t3\\r\\n\\t\\t\\t15\\r\\n\\t\\t\\r\\n\\t\\ttcp\\r\\n\\t\\r\\n 1\\r\\n","errorExample":""}]', - 'title' => 'DescribeHealthCheckList', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'DescribeNetworkRuleAttributes' => [ - 'methods' => [ - 'post', - 'get', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E\\",\\n \\"SourceCountrys\\": [\\n {\\n \\"Count\\": 3390671,\\n \\"CountryId\\": \\"cn\\"\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'DescribePortViewSourceCountries', + 'summary' => 'Queries the areas and countries from which requests are sent to one or more Anti-DDoS Pro or Anti-DDoS Premium instances within the specified period of time.', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:15.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribePortViewSourceCountries'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribePortViewSourceCountries', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'DescribePortViewSourceIsps' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -12519,24 +11962,45 @@ 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', - 'abilityTreeCode' => '106161', - 'abilityTreeNodes' => [ - 'FEATUREddosRTUJBH', - ], + 'abilityTreeCode' => '106179', + 'abilityTreeNodes' => ['FEATUREddosRTUJBH'], ], 'parameters' => [ [ - 'name' => 'NetworkRules', + 'name' => 'ResourceGroupId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the resource group to which the Anti-DDoS Proxy instance belongs in Resource Management.'."\n" + ."\n" + .'If you do not specify this parameter, the instance belongs to the default resource group.'."\n", 'type' => 'string', 'required' => false, 'example' => 'rg-acfm2pz25js****', 'title' => ''], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => ['description' => 'The end of the time range to query. This value is a UNIX timestamp. Unit: seconds.'."\n" + ."\n" + .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1583683200', 'title' => ''], + ], + [ + 'name' => 'StartTime', + 'in' => 'query', + 'schema' => ['description' => 'The beginning of the time range to query. This value is a UNIX timestamp. Unit: seconds.'."\n" + ."\n" + .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1582992000', 'title' => ''], + ], + [ + 'name' => 'InstanceIds', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => 'The details of the port forwarding rule. This parameter is a JSON string. The string contains the following fields:'."\n" + 'description' => 'The IDs of the Anti-DDoS Proxy instances to query.'."\n", + 'type' => 'array', + 'items' => ['description' => 'The ID of the Anti-DDoS Proxy instance to query.'."\n" ."\n" - .'* **InstanceId**: the ID of the instance. This field is required and must be of the STRING type.'."\n" - .'* **Protocol**: the forwarding protocol. This field is required and must be of the STRING type. Valid values: **tcp** and **udp**.'."\n" - .'* **FrontendPort**: the forwarding port. This field is required and must be of the INTEGER type.'."\n", - 'type' => 'string', + .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all Anti-DDoS Proxy instances.'."\n", 'type' => 'string', 'required' => false, 'example' => 'ddoscoo-cn-zvp2eibz****', 'title' => ''], 'required' => true, - 'example' => '[{"InstanceId":"ddoscoo-cn-mp91j1ao****","Protocol":"tcp","FrontendPort":8080}]', + 'example' => 'ddoscoo-cn-mp91j1ao****', + 'maxItems' => 100, + 'title' => '', ], ], ], @@ -12545,241 +12009,94 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'F9F2F77D-307C-4F15-8D02-AB5957EEBF97', - ], - 'NetworkRuleAttributes' => [ - 'description' => 'An array that consists of the mitigation settings of the port forwarding rule for a non-website service. The mitigation settings include session persistence and DDoS mitigation policies.'."\n", + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E', 'title' => ''], + 'Isps' => [ + 'description' => 'An array that consists of the details of the ISP.'."\n", 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'FrontendPort' => [ - 'description' => 'The forwarding port.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '8080', - ], - 'InstanceId' => [ - 'description' => 'The ID of the instance.'."\n", - 'type' => 'string', - 'example' => 'ddoscoo-cn-mp91j1ao****', - ], - 'Protocol' => [ - 'description' => 'The forwarding protocol. Valid values:'."\n" - ."\n" - .'* **tcp**'."\n" - .'* **udp**'."\n", - 'type' => 'string', - 'example' => 'tcp', - ], - 'Config' => [ - 'description' => 'The mitigation settings of the port forwarding rule.'."\n", - 'type' => 'object', - 'properties' => [ - 'NodataConn' => [ - 'description' => 'The status of the Empty Connection switch. Valid values:'."\n" - ."\n" - .'* **on**: The switch is turned on.'."\n" - .'* **off**: The switch is turned off.'."\n", - 'type' => 'string', - 'example' => 'off', - ], - 'Synproxy' => [ - 'description' => 'The status of the False Source switch. Valid values:'."\n" - ."\n" - .'* **on**: The switch is turned on.'."\n" - .'* **off**: The switch is turned off.'."\n", - 'type' => 'string', - 'example' => 'off', - ], - 'PersistenceTimeout' => [ - 'description' => 'The timeout period of session persistence. Valid values: **30** to **3600**. Unit: seconds. Default value: **0**, which indicates that session persistence is disabled.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'Sla' => [ - 'description' => 'The settings of the Speed Limit for Destination policy.'."\n", - 'type' => 'object', - 'properties' => [ - 'MaxconnEnable' => [ - 'description' => 'The status of the Destination Concurrent Connection Rate Limit switch. Valid values:'."\n" - ."\n" - .'* **0**: The switch is turned off.'."\n" - .'* **1**: The switch is turned on.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'CpsEnable' => [ - 'description' => 'The status of the Destination New Connection Rate Limit switch. Valid values:'."\n" - ."\n" - .'* **0**: The switch is turned off.'."\n" - .'* **1**: The switch is turned on.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'Cps' => [ - 'description' => 'The maximum number of new connections per second that can be established over the port of the destination instance. Valid values: **100** to **100000**.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '100000', - ], - 'Maxconn' => [ - 'description' => 'The maximum number of concurrent connections that can be established over the port of the destination instance. Valid values: **1000** to **1000000**.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1000000', - ], - ], - ], - 'Slimit' => [ - 'description' => 'The settings of the Speed Limit for Source policy.'."\n", - 'type' => 'object', - 'properties' => [ - 'MaxconnEnable' => [ - 'description' => 'The status of the Source Concurrent Connection Rate Limit switch. Valid values:'."\n" - ."\n" - .'* **0**: The switch is turned off.'."\n" - .'* **1**: The switch is turned on.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'CpsEnable' => [ - 'description' => 'The status of the Source New Connection Rate Limit switch. Valid values:'."\n" - ."\n" - .'* **0**: The switch is turned off.'."\n" - .'* **1**: The switch is turned on.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'Cps' => [ - 'description' => 'The maximum number of new connections per second that can be initiated from a source IP address. Valid values: **1** to **500000**.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'Pps' => [ - 'description' => 'The packets per second (pps) limit for a source IP address. Valid values: **1** to **100000**. Unit: packets/s. Default value: **0**, which indicates that the pps for a source IP address is unlimited.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'Bps' => [ - 'description' => 'The bandwidth limit for a source IP address. Valid values: **1024** to **268435456**. Unit: bytes/s. Default value: **0**, which indicates that the bandwidth for a source IP address is unlimited.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'Maxconn' => [ - 'description' => 'The maximum number of concurrent connections initiated from a source IP address. Valid values: **1** to **500000**.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'CpsMode' => [ - 'description' => 'The mode of the Source New Connection Rate Limit switch. Valid values:'."\n" - ."\n" - .'* **1**: the manual mode'."\n" - .'* **2**: the automatic mode'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - ], - ], - 'PayloadLen' => [ - 'description' => 'The settings of the Packet Length Limit policy.'."\n", - 'type' => 'object', - 'properties' => [ - 'Min' => [ - 'description' => 'The minimum length of a packet. Valid values: **0** to **6000**. Unit: bytes.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'Max' => [ - 'description' => 'The maximum length of a packet. Valid values: **0** to **6000**. Unit: bytes.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '6000', - ], - ], - ], - 'Cc' => [ - 'description' => 'The protection policy applied when the number of connections initiated from a source IP address frequently exceeds the limit.'."\n", - 'type' => 'object', - 'properties' => [ - 'Sblack' => [ - 'description' => 'The protection policy that a source IP address is added to the blacklist when the number of connections initiated from the IP address frequently exceeds the limit.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Type' => [ - 'description' => 'The type of the limit that causes a source IP address to be added to the blacklist. Valid values:'."\n" - ."\n" - .'* **1**: Source New Connection Rate Limit'."\n" - .'* **2**: Source Concurrent Connection Rate Limit'."\n" - .'* **3**: PPS Limit for Source'."\n" - .'* **4**: Bandwidth Limit for Source'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'During' => [ - 'description' => 'The interval at which checks are performed. Set the value to **60**. Unit: seconds.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '60', - ], - 'Expires' => [ - 'description' => 'The validity period of the IP address in the blacklist. Valid values: **60** to **604800**. Unit: seconds.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '600', - ], - 'Cnt' => [ - 'description' => 'The threshold that the number of connections initiated from a source IP address can exceed the limit. Set the value to **5**. If the number of connections initiated from a source IP address exceeds the limit five times during the check, the source IP address is added to the blacklist.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '5', - ], - ], - ], - ], - ], - ], - ], - ], + 'Count' => ['description' => 'The total number of requests that are sent from the ISP.'."\n" + ."\n" + .'> This parameter does not indicate the accurate number of requests. You can use this parameter to calculate the proportion of requests from different ISPs.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '3390671', 'title' => ''], + 'IspId' => ['description' => 'The ID of the ISP. For more information, see the ISP codes table.'."\n", 'type' => 'string', 'example' => '100017', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"F9F2F77D-307C-4F15-8D02-AB5957EEBF97\\",\\n \\"NetworkRuleAttributes\\": [\\n {\\n \\"FrontendPort\\": 8080,\\n \\"InstanceId\\": \\"ddoscoo-cn-mp91j1ao****\\",\\n \\"Protocol\\": \\"tcp\\",\\n \\"Config\\": {\\n \\"NodataConn\\": \\"off\\",\\n \\"Synproxy\\": \\"off\\",\\n \\"PersistenceTimeout\\": 0,\\n \\"Sla\\": {\\n \\"MaxconnEnable\\": 0,\\n \\"CpsEnable\\": 1,\\n \\"Cps\\": 100000,\\n \\"Maxconn\\": 1000000\\n },\\n \\"Slimit\\": {\\n \\"MaxconnEnable\\": 0,\\n \\"CpsEnable\\": 0,\\n \\"Cps\\": 0,\\n \\"Pps\\": 0,\\n \\"Bps\\": 0,\\n \\"Maxconn\\": 0,\\n \\"CpsMode\\": 1\\n },\\n \\"PayloadLen\\": {\\n \\"Min\\": 0,\\n \\"Max\\": 6000\\n },\\n \\"Cc\\": {\\n \\"Sblack\\": [\\n {\\n \\"Type\\": 1,\\n \\"During\\": 60,\\n \\"Expires\\": 600,\\n \\"Cnt\\": 5\\n }\\n ]\\n }\\n }\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\r\\n\\r\\n\\t\\r\\n\\t\\tddoscoo-cn-mp91j1ao****\\r\\n\\t\\t\\r\\n\\t\\t\\toff\\r\\n\\t\\t\\t\\r\\n\\t\\t\\t0\\r\\n\\t\\t\\t\\r\\n\\t\\t\\t\\t0\\r\\n\\t\\t\\t\\t6000\\r\\n\\t\\t\\t\\r\\n\\t\\t\\t\\r\\n\\t\\t\\t\\t100000\\r\\n\\t\\t\\t\\t1\\r\\n\\t\\t\\t\\t0\\r\\n\\t\\t\\t\\t1000000\\r\\n\\t\\t\\t\\r\\n\\t\\t\\t\\r\\n\\t\\t\\t\\t1\\r\\n\\t\\t\\t\\t0\\r\\n\\t\\t\\t\\t0\\r\\n\\t\\t\\t\\t0\\r\\n\\t\\t\\t\\t0\\r\\n\\t\\t\\t\\t0\\r\\n\\t\\t\\t\\t0\\r\\n\\t\\t\\t\\r\\n\\t\\t\\ton\\r\\n\\t\\t\\r\\n\\t\\t8080\\r\\n\\t\\ttcp\\r\\n\\t\\r\\n\\tF9F2F77D-307C-4F15-8D02-AB5957EEBF97\\r\\n\\r\\n","errorExample":""}]', - 'summary' => 'Queries the mitigation settings of the port forwarding rule for a non-website service. The mitigation settings include session persistence and DDoS mitigation policies.', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E\\",\\n \\"Isps\\": [\\n {\\n \\"Count\\": 3390671,\\n \\"IspId\\": \\"100017\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\n C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E\\n \\n 3390671\\n 100017\\n \\n","errorExample":""}]', + 'title' => 'DescribePortViewSourceIsps', + 'summary' => 'Queries the Internet service providers (ISPs) from which requests are sent to one or more Anti-DDoS Pro or Anti-DDoS Premium instances within the specified period of time.', + 'description' => 'You can call the DescribePortViewSourceIsps operation to query the ISPs from which requests are sent to one or more Anti-DDoS Pro or Anti-DDoS Premium instances within a specific period of time.'."\n" + ."\n" + .'> The data returned for this operation cannot reflect the actual traffic volume because Layer 4 identity authentication algorithms are updated for Anti-DDoS Pro and Anti-DDoS Premium. You can call this operation to calculate only the proportion of requests sent from different ISPs. If you want to query the request traffic volume, we recommend that you call the [DescribePortFlowList](~~157460~~) operation.'."\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", + 'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see [Common parameters](~~157269~~).'."\n" + ."\n" + .'For more information about sample requests, see the **"Examples"** section of this topic.'."\n", + 'responseParamsDescription' => '**ISP codes**'."\n" + ."\n" + .'|Code|ISP|'."\n" + .'|---|---|'."\n" + .'|100017|China Telecom|'."\n" + .'|100026|China Unicom|'."\n" + .'|100025|China Mobile|'."\n" + .'|100027|China Education and Research Network (CERNET)|'."\n" + .'|100020|China Mobile Tietong|'."\n" + .'|1000143|Dr.Peng Group|'."\n" + .'|100080|Beijing Gehua CATV|'."\n" + .'|1000139|National Radio and Television Administration (NRTA)|'."\n" + .'|100023|Oriental Cable Network|'."\n" + .'|100063|Founder Broadband|'."\n" + .'|1000337|China Internet Exchange (CNIX)|'."\n" + .'|100021|21Vianet Group|'."\n" + .'|1000333|Wasu Media Holding|'."\n" + .'|100093|Wangsu Science & Technology|'."\n" + .'|1000401|Tencent|'."\n" + .'|100099|Baidu|'."\n" + .'|1000323|Alibaba Cloud|'."\n" + .'|100098|Alibaba Group|'."\n" + .'|1000120|KNET|', 'extraInfo' => ' ', - ], - 'CreateSceneDefensePolicy' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:15.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribePortViewSourceIsps'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribePortViewSourceIsps', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'DescribePortViewSourceProvinces' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -12788,59 +12105,46 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'create', - 'abilityTreeCode' => '106071', - 'abilityTreeNodes' => [ - 'FEATUREddosM9SQC1', - ], + 'operationType' => 'get', + 'abilityTreeCode' => '106180', + 'abilityTreeNodes' => ['FEATUREddosRTUJBH'], ], 'parameters' => [ [ - 'name' => 'Name', + 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the policy.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'testpolicy', - ], + 'schema' => ['description' => 'The ID of the resource group to which the Anti-DDoS Proxy instance belongs in Resource Management. This parameter is empty by default, which indicates that the Anti-DDoS Origin instance belongs to the default resource group.'."\n" + ."\n" + .'For information about resource groups, see [Create a resource group](~~94485~~).'."\n", 'type' => 'string', 'required' => false, 'example' => 'rg-acfm2pz25js****', 'title' => ''], ], [ - 'name' => 'Template', + 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => 'The template of the policy. Valid values:'."\n" - ."\n" - .'* **promotion**: important activity.'."\n" - .'* **bypass**: all traffic forwarded.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'promotion', - 'enum' => [ - 'promotion', - ], - ], + 'schema' => ['description' => 'The end of the time range to query. The value is a UNIX timestamp. Unit: seconds. If you do not configure this parameter, the current system time is used as the end time.'."\n" + ."\n" + .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1583683200', 'title' => ''], ], [ 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => 'The start time of the policy. This value is a UNIX timestamp. Units: milliseconds.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1585670400000', - ], + 'schema' => ['description' => 'The beginning of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n" + ."\n" + .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1582992000', 'title' => ''], ], [ - 'name' => 'EndTime', + 'name' => 'InstanceIds', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => 'The end time of the policy. This value is a UNIX timestamp. Units: milliseconds.'."\n", - 'type' => 'integer', - 'format' => 'int64', + 'description' => 'The IDs of the Anti-DDoS Proxy instances to query.'."\n", + 'type' => 'array', + 'items' => ['description' => 'The ID of the Anti-DDoS Proxy instance to query.'."\n" + ."\n" + .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all Anti-DDoS Proxy instances.'."\n", 'type' => 'string', 'required' => false, 'example' => 'ddoscoo-cn-mp91j1ao****', 'title' => ''], 'required' => true, - 'example' => '1586016000000', + 'example' => 'ddoscoo-cn-mp91j1ao****', + 'maxItems' => 100, + 'title' => '', ], ], ], @@ -12849,39 +12153,62 @@ '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' => 'F65DF043-E0EB-4796-9467-23DDCDF92C1D', + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E', 'title' => ''], + 'SourceProvinces' => [ + 'description' => 'The details of the administrative region in China from which the requests are sent.'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'ProvinceId' => ['description' => 'The ID of the administrative region in China from which the requests are sent. For example, **110000** indicates Beijing, and **120000** indicates Tianjin.'."\n" + ."\n" + .'> For more information, see [Location parameters](~~167926~~).'."\n", 'type' => 'string', 'example' => '440000', 'title' => ''], + 'Count' => ['description' => 'The total number of requests that are sent from the ISP.'."\n" + ."\n" + .'> This parameter does not indicate the accurate number of requests. You can use this parameter to calculate the proportion of requests from different administrative regions in China.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '3390671', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Success\\": true,\\n \\"RequestId\\": \\"F65DF043-E0EB-4796-9467-23DDCDF92C1D\\"\\n}","errorExample":""},{"type":"xml","example":"\\r\\n\\r\\n\\tF65DF043-E0EB-4796-9467-23DDCDF92C1D\\r\\n\\ttrue\\r\\n","errorExample":""}]', - 'title' => 'CreateSceneDefensePolicy', - 'summary' => 'Creates a scenario-specific custom policy.', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'DeleteSceneDefensePolicy' => [ - 'methods' => [ - 'post', - 'get', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E\\",\\n \\"SourceProvinces\\": [\\n {\\n \\"ProvinceId\\": \\"440000\\",\\n \\"Count\\": 3390671\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'DescribePortViewSourceProvinces', + 'summary' => 'Queries the administrative regions in China from which requests are sent to one or more Anti-DDoS Pro or Anti-DDoS Premium instances within a specified period of time.', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:15.000Z', 'description' => 'Error codes changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribePortViewSourceProvinces'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribePortViewSourceProvinces', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'DescribeSceneDefenseObjects' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -12890,25 +12217,24 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'delete', - 'abilityTreeCode' => '106085', - 'abilityTreeNodes' => [ - 'FEATUREddosM9SQC1', - ], - 'tenantRelevance' => 'publicInformation', + 'operationType' => 'get', + 'abilityTreeCode' => '106182', + 'abilityTreeNodes' => ['FEATUREddosM9SQC1'], ], 'parameters' => [ [ 'name' => 'PolicyId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the policy that you want to delete.'."\n" - ."\n" - .'> You can call the [DescribeSceneDefensePolicies](~~159382~~) operation to query the IDs of all policies.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '321a-fd31-df51-****', - ], + 'schema' => ['description' => 'The ID of the policy that you want to query.'."\n" + ."\n" + .'> You can call the [DescribeSceneDefensePolicies](~~159382~~) operation to query the IDs of all policies.'."\n", 'type' => 'string', 'required' => true, 'example' => '47e07ebd-0ba5-4afc-957b-59d15b90****', 'title' => ''], + ], + [ + 'name' => 'ResourceGroupId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the resource group to which the instance belongs in Resource Management.'."\n" + ."\n" + .'If you do not configure this parameter, the instance belongs to the default resource group.'."\n", 'type' => 'string', 'required' => false, 'example' => 'rg-acfm2pz25js****', 'title' => ''], ], ], 'responses' => [ @@ -12916,40 +12242,75 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**'."\n" - .'* **false**'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'F65DF043-E0EB-4796-9467-23DDCDF92C1D', + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true**: yes'."\n" + .'* **false**: no'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'FE07E73F-F19E-4A51-B62F-AC59E3B962D8', 'title' => ''], + 'Objects' => [ + 'description' => 'The information about the protected assets.'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Domain' => ['description' => 'The domain name that is protected by the policy.'."\n", 'type' => 'string', 'example' => 'www.aliyundoc.com', 'title' => ''], + 'PolicyId' => ['description' => 'The ID of the policy.'."\n", 'type' => 'string', 'example' => '47e07ebd-0ba5-4afc-957b-59d15b90****', 'title' => ''], + 'Vip' => ['description' => 'The IP address of the Anti-DDoS Pro or Anti-DDoS Premium instance that is protected by the policy.'."\n", 'type' => 'string', 'example' => '203.XX.XX.119', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Success\\": true,\\n \\"RequestId\\": \\"F65DF043-E0EB-4796-9467-23DDCDF92C1D\\"\\n}","errorExample":""},{"type":"xml","example":"\\r\\n\\r\\n\\tF65DF043-E0EB-4796-9467-23DDCDF92C1D\\r\\n\\ttrue\\r\\n","errorExample":""}]', - 'title' => 'DeleteSceneDefensePolicy', - 'summary' => 'Deletes a scenario-specific custom policy.', - 'requestParamsDescription' => ' ', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Success\\": true,\\n \\"RequestId\\": \\"FE07E73F-F19E-4A51-B62F-AC59E3B962D8\\",\\n \\"Objects\\": [\\n {\\n \\"Domain\\": \\"www.aliyundoc.com\\",\\n \\"PolicyId\\": \\"47e07ebd-0ba5-4afc-957b-59d15b90****\\",\\n \\"Vip\\": \\"203.XX.XX.119\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\n true\\n FE07E73F-F19E-4A51-B62F-AC59E3B962D8\\n \\n www.aliyundoc.com\\n 47e07ebd-0ba5-4afc-957b-59d15b90****\\n \\n","errorExample":""}]', + 'title' => 'DescribeSceneDefenseObjects', + 'summary' => 'Queries the protected objects of a scenario-specific custom policy.', + 'description' => 'You can call the DescribeSceneDefenseObjects operation to query the protected objects of a scenario-specific custom policy.'."\n" + ."\n" + .'Before you call this operation, make sure that you have created a scenario-specific custom policy by calling the [CreateSceneDefensePolicy](~~159779~~) operation.'."\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", + 'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see [Common parameters](~~157269~~).'."\n" + ."\n" + .'For more information about sample requests, see the **"Examples"** section of this topic.'."\n", 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'ModifySceneDefensePolicy' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:15.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeSceneDefenseObjects'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeSceneDefenseObjects', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'DescribeSceneDefensePolicies' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -12958,112 +12319,164 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', - 'abilityTreeCode' => '106256', - 'abilityTreeNodes' => [ - 'FEATUREddosM9SQC1', - ], + 'operationType' => 'get', + 'abilityTreeCode' => '106183', + 'abilityTreeNodes' => ['FEATUREddosM9SQC1'], + 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'PolicyId', + 'name' => 'Template', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the policy that you want to modify.'."\n" - ."\n" - .'> You can call the [DescribeSceneDefensePolicies](~~159382~~) operation to query the IDs of all policies.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '321a-fd31-df51-****', - ], + 'schema' => ['description' => 'The type of the template that is used to create the policy. Valid values:'."\n" + ."\n" + .'* **promotion**: the Important Activity template'."\n" + .'* **bypass**: the Forward All template'."\n", 'type' => 'string', 'required' => false, 'example' => 'promotion', 'title' => ''], ], [ - 'name' => 'Name', + 'name' => 'Status', 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the policy.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'testpolicy', - ], + 'schema' => ['description' => 'The status of the policy. Valid values:'."\n" + ."\n" + .'* **0**: disabled'."\n" + .'* **1**: pending enabling'."\n" + .'* **2**: enabled'."\n" + .'* **3**: expired'."\n", 'type' => 'string', 'required' => false, 'example' => '1', 'title' => ''], ], [ - 'name' => 'Template', + 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => 'The template of the policy. Valid values:'."\n" - ."\n" - .'* **promotion**: important activity.'."\n" - .'* **bypass**: all traffic forwarded.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'promotion', - 'enum' => [ - 'promotion', - ], - ], + 'schema' => ['description' => 'The ID of the resource group to which the instance belongs in Resource Management.'."\n" + ."\n" + .'If you do not configure this parameter, the instance belongs to the default resource group.'."\n", 'type' => 'string', 'required' => false, 'example' => 'rg-acfm2pz25js****', 'title' => ''], ], - [ - 'name' => 'StartTime', - 'in' => 'query', - 'schema' => [ - 'description' => 'The start time of the policy. The value is a UNIX timestamp. Unit: milliseconds.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1585670400000', - ], - ], - [ - 'name' => 'EndTime', - 'in' => 'query', - 'schema' => [ - 'description' => 'The end time of the policy. The value is a UNIX timestamp. Unit: milliseconds.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1586016000000', - ], - ], - ], - 'responses' => [ - 200 => [ + ], + 'responses' => [ + 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Success' => [ - 'description' => 'Indicates whether the request is 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' => 'F65DF043-E0EB-4796-9467-23DDCDF92C1D', + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true**: yes'."\n" + .'* **false**: no'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'F65DF043-E0EB-4796-9467-23DDCDF92C1D', 'title' => ''], + 'Policies' => [ + 'description' => 'An array that consists of the configurations of the scenario-specific custom policy.'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Done' => ['description' => 'The execution status of the policy. Valid values:'."\n" + ."\n" + .'* **1**: not executed or execution completed'."\n" + .'* **0**: being executed'."\n" + .'* **-1**: execution failed'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'EndTime' => ['description' => 'The time at which the policy expires. The value is a UNIX timestamp. Unit: milliseconds.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1586016000000', 'title' => ''], + 'Status' => ['description' => 'The status of the policy. Valid values:'."\n" + ."\n" + .'* **0**: disabled'."\n" + .'* **1**: pending enabling'."\n" + .'* **2**: enabled'."\n" + .'* **3**: expired'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'StartTime' => ['description' => 'The time at which the policy takes effect. The value is a UNIX timestamp. Unit: milliseconds.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1585670400000', 'title' => ''], + 'ObjectCount' => ['description' => 'The number of objects that are protected by the policy.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'Template' => ['description' => 'The type of the template that is used to create the policy. Valid values:'."\n" + ."\n" + .'* **promotion**: the Important Activity template'."\n" + .'* **bypass**: the Forward All template'."\n", 'type' => 'string', 'example' => 'promotion', 'title' => ''], + 'PolicyId' => ['description' => 'The ID of the policy.'."\n", 'type' => 'string', 'example' => '321a-fd31-df51-****', 'title' => ''], + 'Name' => ['description' => 'The name of the policy.'."\n", 'type' => 'string', 'example' => 'testpolicy', 'title' => ''], + 'RuntimePolicies' => [ + 'description' => 'The running rules of the policy.'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Status' => ['description' => 'The running status of the policy. Valid values:'."\n" + ."\n" + .'* **0**: The policy has not been issued or is restored.'."\n" + .'* **1**: The policy is pending.'."\n" + .'* **2**: The policy is being restored.'."\n" + .'* **3**: The policy takes effect.'."\n" + .'* **4**: The policy fails to take effect.'."\n" + .'* **5**:The policy fails to be restored.'."\n" + .'* **6**: The configurations of the protected objects for the policy does not exist because the configurations may be deleted.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '3', 'title' => ''], + 'oldValue' => ['description' => 'The protection rule that is applied before the policy takes effect.'."\n" + ."\n" + .'If you set **PolicyType** to **1**, the value is **{"cc_rule_enable": true}**. The value indicates that the Frequency Control policy is enabled.'."\n" + ."\n" + .'If you set **PolicyType** to **2**, the value is **{"ai_rule_enable": 1}**. The value indicates that the Intelligent Protection policy is enabled.'."\n", 'type' => 'string', 'example' => '{"cc_rule_enable": true}', 'title' => ''], + 'NewValue' => ['description' => 'The protection rule that is applied when the policy takes effect.'."\n" + ."\n" + .'If you set **PolicyType** to **1**, the value is **{"cc_rule_enable": false }**. The value indicates that the Frequency Control policy is disabled.'."\n" + ."\n" + .'If you set **PolicyType** to **2**, the value is **{"ai_rule_enable": 0}**. The value indicates that the Intelligent Protection policy is disabled.'."\n", 'type' => 'string', 'example' => '{"cc_rule_enable": false }', 'title' => ''], + 'PolicyType' => ['description' => 'The protection policy whose status is changed when the policy takes effect. Valid values:'."\n" + ."\n" + .'* **1**: indicates that the Frequency Control policy is changed.'."\n" + .'* **2**: indicates that the Intelligent Protection policy is changed.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Success\\": true,\\n \\"RequestId\\": \\"F65DF043-E0EB-4796-9467-23DDCDF92C1D\\"\\n}","errorExample":""},{"type":"xml","example":"\\r\\n\\r\\n\\tF65DF043-E0EB-4796-9467-23DDCDF92C1D\\r\\n\\ttrue\\r\\n","errorExample":""}]', - 'title' => 'ModifySceneDefensePolicy', - 'summary' => 'Modifies a scenario-specific custom policy.', - 'requestParamsDescription' => ' ', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Success\\": true,\\n \\"RequestId\\": \\"F65DF043-E0EB-4796-9467-23DDCDF92C1D\\",\\n \\"Policies\\": [\\n {\\n \\"Done\\": 1,\\n \\"EndTime\\": 1586016000000,\\n \\"Status\\": 1,\\n \\"StartTime\\": 1585670400000,\\n \\"ObjectCount\\": 1,\\n \\"Template\\": \\"promotion\\",\\n \\"PolicyId\\": \\"321a-fd31-df51-****\\",\\n \\"Name\\": \\"testpolicy\\",\\n \\"RuntimePolicies\\": [\\n {\\n \\"Status\\": 3,\\n \\"oldValue\\": \\"{\\\\\\"cc_rule_enable\\\\\\": true}\\",\\n \\"NewValue\\": \\"{\\\\\\"cc_rule_enable\\\\\\": false }\\",\\n \\"PolicyType\\": 1\\n }\\n ]\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\n true\\n F65DF043-E0EB-4796-9467-23DDCDF92C1D\\n \\n 1\\n 1586016000000\\n 1\\n 1585670400000\\n 1\\n \\n 321a-fd31-df51-****\\n testpolicy\\n \\n 3\\n {\\"cc_rule_enable\\": true}\\n {\\"cc_rule_enable\\": false }\\n 1\\n \\n \\n","errorExample":""}]', + 'title' => 'DescribeSceneDefensePolicies', + 'summary' => 'Queries the configurations of a scenario-specific custom policy.', + 'description' => 'You can call the DescribeSceneDefensePolicies operation to query the configurations of a scenario-specific custom policy that is created. For example, you can query the status, protected objects, and protection rules of the policy.'."\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", + 'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see [Common parameters](~~157269~~).'."\n" + ."\n" + .'For more information about sample requests, see the **"Examples"** section of this topic.'."\n", 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'AttachSceneDefenseObject' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:15.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeSceneDefensePolicies'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeSceneDefensePolicies', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'DescribeSchedulerRules' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -13072,44 +12485,30 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', - 'abilityTreeCode' => '106050', - 'abilityTreeNodes' => [ - 'FEATUREddosI8LHMA', - ], + 'operationType' => 'get', + 'abilityTreeCode' => '106184', + 'abilityTreeNodes' => ['FEATUREddosZIK01A'], ], 'parameters' => [ [ - 'name' => 'PolicyId', + 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the policy.'."\n" - ."\n" - .'> You can call the [DescribeSceneDefensePolicies](~~159382~~) operation to query the IDs of all policies.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '321a-fd31-df51-****', - ], + 'schema' => ['description' => 'The resource group ID of the Anti-DDoS Proxy instance in Resource Management. The default value is empty, which indicates that the instance belongs to the default resource group.', 'type' => 'string', 'required' => false, 'example' => 'default', 'title' => ''], ], [ - 'name' => 'ObjectType', + 'name' => 'RuleName', 'in' => 'query', - 'schema' => [ - 'description' => 'The type of the object. Set the value to **Domain**, which indicates a domain name.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'Domain', - ], + 'schema' => ['description' => 'The rule name.', 'type' => 'string', 'required' => false, 'example' => 'testrule', 'title' => ''], ], [ - 'name' => 'Objects', + 'name' => 'PageNumber', 'in' => 'query', - 'schema' => [ - 'description' => 'The object that you want to add to the policy. Separate multiple objects with commas (,).'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'www.aliyun.com', - ], + 'schema' => ['description' => 'The page number of the returned page. For example, to query the results on the first page, enter **1**.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['description' => 'The number of records displayed on each page.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '10', 'title' => ''], ], ], 'responses' => [ @@ -13117,40 +12516,137 @@ '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' => 'F65DF043-E0EB-4796-9467-23DDCDF92C1D', + 'TotalCount' => ['description' => 'The total number of traffic scheduling rules.', 'type' => 'string', 'example' => '1', 'title' => ''], + 'RequestId' => ['description' => 'The ID of the request, which is a unique identifier generated by Alibaba Cloud for the request and can be used for troubleshooting and problem locating.', 'type' => 'string', 'example' => '11C55595-1757-4B17-9ACE-4ACB68C2D989', 'title' => ''], + 'SchedulerRules' => [ + 'description' => 'The traffic scheduling rule information.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'RuleType' => ['description' => 'The rule type. Valid values:'."\n" + ."\n" + .'- **2**: tiered protection'."\n" + ."\n" + .'- **3**: network acceleration'."\n" + ."\n" + .'- **5**: CDN filter interaction'."\n" + ."\n" + .'- **6**: cloud service interaction'."\n" + ."\n" + .'- **8**: secure acceleration', 'type' => 'string', 'example' => '2', 'title' => ''], + 'Cname' => ['description' => 'The canonical name value.', 'type' => 'string', 'example' => '4eru5229a843****.aliyunddos0001.com', 'title' => ''], + 'RuleName' => ['description' => 'The rule name.', 'type' => 'string', 'example' => 'doctest', 'title' => ''], + 'Rules' => [ + 'description' => 'The rule list.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Type' => ['description' => 'The format of the resource address. Valid values:'."\n" + ."\n" + .'- **A**: IPv4 address'."\n" + ."\n" + .'- **CNAME**: canonical name address', 'type' => 'string', 'example' => 'A', 'title' => ''], + 'Status' => ['description' => 'The rule status. Valid values:'."\n" + ."\n" + .'- **0**: inactive'."\n" + ."\n" + .'- **1**: active', 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''], + 'Value' => ['description' => 'The resource address.', 'type' => 'string', 'example' => '203.***.***.39', 'title' => ''], + 'ValueType' => ['description' => 'The resource address type. Valid values:'."\n" + ."\n" + .'- **1**: Anti-DDoS Proxy IP'."\n" + ."\n" + .'- **2**: (tiered protection) cloud resource IP'."\n" + ."\n" + .'- **3**: (network acceleration) MCA IP'."\n" + ."\n" + .'- **5**: (CDN filter interaction) accelerated domain name'."\n" + ."\n" + .'- **6**: (cloud service interaction) cloud resource IP'."\n" + ."\n" + .'- **8**: (CMA) secure acceleration P', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'Priority' => ['description' => 'The rule priority.', 'type' => 'integer', 'format' => 'int32', 'example' => '100', 'title' => ''], + 'RestoreDelay' => ['description' => 'The Waiting Time of Switchback, in minutes.', 'type' => 'integer', 'format' => 'int32', 'example' => '60', 'title' => ''], + 'RegionId' => ['description' => 'The region ID.'."\n" + ."\n" + .'> This parameter is returned only when RuleType is set to 2 (tiered protection rule).', 'type' => 'string', 'example' => '1', 'title' => ''], + 'Line' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + 'Param' => [ + 'description' => 'The rule for Global Accelerator instance interaction with Anti-DDoS Proxy.', + 'type' => 'object', + 'properties' => [ + 'ParamType' => ['description' => 'The type of Resource for Interaction. Valid value: **GA**, which indicates a Global Accelerator instance.', 'type' => 'string', 'example' => 'GA', 'title' => ''], + 'ParamData' => [ + 'description' => 'The Resource for Interaction.', + 'type' => 'object', + 'properties' => [ + 'CloudInstanceId' => ['description' => 'The ID of the Global Accelerator instance.', 'type' => 'string', 'example' => 'ga-bp1htlajy5509rc99****', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Success\\": true,\\n \\"RequestId\\": \\"F65DF043-E0EB-4796-9467-23DDCDF92C1D\\"\\n}","errorExample":""},{"type":"xml","example":"\\r\\n\\r\\n\\tF65DF043-E0EB-4796-9467-23DDCDF92C1D\\r\\n\\ttrue\\r\\n","errorExample":""}]', - 'title' => 'AttachSceneDefenseObject', - 'summary' => 'Adds an object to a scenario-specific custom policy for protection.', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": \\"1\\",\\n \\"RequestId\\": \\"11C55595-1757-4B17-9ACE-4ACB68C2D989\\",\\n \\"SchedulerRules\\": [\\n {\\n \\"RuleType\\": \\"2\\",\\n \\"Cname\\": \\"4eru5229a843****.aliyunddos0001.com\\",\\n \\"RuleName\\": \\"doctest\\",\\n \\"Rules\\": [\\n {\\n \\"Type\\": \\"A\\",\\n \\"Status\\": 0,\\n \\"Value\\": \\"203.***.***.39\\",\\n \\"ValueType\\": 1,\\n \\"Priority\\": 100,\\n \\"RestoreDelay\\": 60,\\n \\"RegionId\\": \\"1\\",\\n \\"Line\\": \\"\\"\\n }\\n ],\\n \\"Param\\": {\\n \\"ParamType\\": \\"GA\\",\\n \\"ParamData\\": {\\n \\"CloudInstanceId\\": \\"ga-bp1htlajy5509rc99****\\"\\n }\\n }\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'DescribeSchedulerRules', + 'summary' => 'Queries the scheduling rules of Sec-Traffic Manager.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DetachSceneDefenseObject' => [ - 'summary' => 'Removes a protected object from a scenario-specific custom policy.', - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2025-09-04T06:34:56.000Z', 'description' => 'OpenAPI offline'], + ['createdAt' => '2022-09-08T03:34:14.000Z', 'description' => 'Error codes changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeSchedulerRules'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeSchedulerRules', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'DescribeSlaEventList' => [ + 'summary' => 'Queries the destination rate limit events.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -13159,47 +12655,50 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', + 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '106212', - 'abilityTreeNodes' => [ - 'FEATUREddosI8LHMA', - ], + 'abilityTreeCode' => '175662', + 'abilityTreeNodes' => ['FEATUREddosRTUJBH'], ], 'parameters' => [ [ - 'name' => 'PolicyId', + 'name' => 'Region', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the policy.'."\n" - ."\n" - .'> You can call the [DescribeSceneDefensePolicies](~~159382~~) operation to query the IDs of all policies.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '321a-fd31-df51-****', - ], + 'schema' => ['description' => 'The type of the service Valid values:'."\n" + ."\n" + .'- **cn**: Anti-DDoS Pro'."\n" + ."\n" + .'- **cn-hongkong**: Anti-DDoS Premium', 'type' => 'string', 'required' => true, 'example' => 'cn', 'title' => ''], ], [ - 'name' => 'ObjectType', + 'name' => 'Ip', 'in' => 'query', - 'schema' => [ - 'description' => 'The type of the object. Set the value to **Domain**, which indicates a domain name.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'Domain', - 'default' => 'Domain', - ], + 'schema' => ['description' => 'The IP address of the Anti-DDoS Pro or Anti-DDoS Premium instance.', 'type' => 'string', 'required' => false, 'example' => '203.107.XX.XX', 'title' => ''], ], [ - 'name' => 'Objects', + 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => 'The protection asset that you want to remove from a policy. Separate multiple protection assets with commas (,).'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'www.aliyun.com', - ], + 'schema' => ['description' => 'The beginning of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n" + ."\n" + .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1678080840', 'title' => ''], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => ['description' => 'The end of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n" + ."\n" + .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1671886740', 'title' => ''], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['description' => 'The number of entries per page.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'default' => '10', 'example' => '10', 'title' => ''], + ], + [ + 'name' => 'Page', + 'in' => 'query', + 'schema' => ['description' => 'The page number.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'default' => '1', 'example' => '1', 'title' => ''], ], ], 'responses' => [ @@ -13207,38 +12706,65 @@ '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' => 'F65DF043-E0EB-4796-9467-23DDCDF92C1D', + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80', 'title' => ''], + 'SlaEvent' => [ + 'description' => 'The destination rate limit events.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'StartTime' => ['description' => 'The beginning of the time range. Unit: seconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1678080840', 'title' => ''], + 'EndTime' => ['description' => 'The end of the time range. Unit: seconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1671886740', 'title' => ''], + 'Ip' => ['description' => 'The IP address of the instance.', 'type' => 'string', 'example' => '203.107.XX.XX', 'title' => ''], + 'Region' => ['description' => 'The region to which the destination IP address belongs. Valid values:'."\n" + ."\n" + .'- **cn**: a region in the Chinese mainland'."\n" + ."\n" + .'- **cn-hongkong**: China (Hong Kong)', 'type' => 'string', 'example' => 'cn', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], + 'Total' => ['description' => 'The total number of entries returned.', 'type' => 'integer', 'format' => 'int64', 'example' => '10', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Success\\": true,\\n \\"RequestId\\": \\"F65DF043-E0EB-4796-9467-23DDCDF92C1D\\"\\n}","errorExample":""},{"type":"xml","example":"\\r\\n\\r\\n\\tF65DF043-E0EB-4796-9467-23DDCDF92C1D\\r\\n\\ttrue\\r\\n","errorExample":""}]', - 'title' => 'DetachSceneDefenseObject', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'EnableSceneDefensePolicy' => [ - 'methods' => [ - 'post', - 'get', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'DescribeSlaEventList', + 'changeSet' => [ + ['createdAt' => '2024-03-19T07:44:46.000Z', 'description' => 'Request parameters changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeSlaEventList'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeSlaEventList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\",\\n \\"SlaEvent\\": [\\n {\\n \\"StartTime\\": 1678080840,\\n \\"EndTime\\": 1671886740,\\n \\"Ip\\": \\"203.107.XX.XX\\",\\n \\"Region\\": \\"cn\\"\\n }\\n ],\\n \\"Total\\": 10\\n}","type":"json"}]', + ], + 'DescribeSlsAuthStatus' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -13247,24 +12773,16 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', - 'abilityTreeCode' => '106220', - 'abilityTreeNodes' => [ - 'FEATUREddosRTUJBH', - ], + 'operationType' => 'get', + 'abilityTreeCode' => '106185', + 'abilityTreeNodes' => ['FEATUREddosRTUJBH'], + 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'PolicyId', + 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the policy that you want to enable.'."\n" - ."\n" - .'> You can call the [DescribeSceneDefensePolicies](~~159382~~) operation to query the IDs of all policies.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '321a-fd31-df51-****', - ], + 'schema' => ['description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n", 'type' => 'string', 'required' => false, 'example' => 'default', 'title' => ''], ], ], 'responses' => [ @@ -13272,39 +12790,49 @@ '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' => 'F65DF043-E0EB-4796-9467-23DDCDF92C1D', - ], + 'SlsAuthStatus' => ['description' => 'Indicates whether Anti-DDoS Pro or Anti-DDoS Premium is authorized to access Log Service. Valid values:'."\n" + ."\n" + .'* **true**: yes'."\n" + .'* **false**: no'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Success\\": true,\\n \\"RequestId\\": \\"F65DF043-E0EB-4796-9467-23DDCDF92C1D\\"\\n}","errorExample":""},{"type":"xml","example":"\\r\\n\\r\\n\\tF65DF043-E0EB-4796-9467-23DDCDF92C1D\\r\\n\\ttrue\\r\\n","errorExample":""}]', - 'title' => 'EnableSceneDefensePolicy', - 'summary' => 'Enables a scenario-specific custom policy.', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"SlsAuthStatus\\": true,\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\"\\n}","errorExample":""},{"type":"xml","example":"\\r\\n\\r\\n\\tCF33B4C3-196E-4015-AADD-5CAD00057B80\\r\\n\\ttrue\\r\\n","errorExample":""}]', + 'title' => 'DescribeSlsAuthStatus', + 'summary' => 'Queries whether Anti-DDoS Proxy is authorized to access Simple Log Service.', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DisableSceneDefensePolicy' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:14.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeSlsAuthStatus'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeSlsAuthStatus', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'DescribeSlsLogstoreInfo' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -13313,24 +12841,18 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', - 'abilityTreeCode' => '106213', - 'abilityTreeNodes' => [ - 'FEATUREddosM9SQC1', - ], + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '106186', + 'abilityTreeNodes' => ['FEATUREddosVFFSV8'], + 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'PolicyId', + 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the policy that you want to disable.'."\n" - ."\n" - .'> You can call the [DescribeSceneDefensePolicies](~~159382~~) operation to query the IDs of all policies.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '321a-fd31-df51-****', - ], + 'schema' => ['description' => 'The ID of the resource group to which the Anti-DDoS Pro or Anti-DDoS Premium instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.', 'type' => 'string', 'required' => false, 'example' => 'default', 'title' => ''], ], ], 'responses' => [ @@ -13338,39 +12860,52 @@ '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' => 'F65DF043-E0EB-4796-9467-23DDCDF92C1D', - ], + 'Ttl' => ['description' => 'The storage duration of logs. Unit: days.', 'type' => 'integer', 'format' => 'int32', 'example' => '180', 'title' => ''], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80', 'title' => ''], + 'Quota' => ['description' => 'The available log storage capacity. Unit: bytes.', 'type' => 'integer', 'format' => 'int64', 'example' => '3298534883328', 'title' => ''], + 'LogStore' => ['description' => 'The log store that is associated with Anti-DDoS Pro and Anti-DDoS Premium.', 'type' => 'string', 'example' => 'ddoscoo-logstore', 'title' => ''], + 'Used' => ['description' => 'The used storage capacity. Unit: bytes.'."\n" + ."\n" + .'> The statistics from Simple Log Service have a delay of approximately two hours.', 'type' => 'integer', 'format' => 'int64', 'example' => '0', 'title' => ''], + 'Project' => ['description' => 'The log project that is associated with Anti-DDoS Pro and Anti-DDoS Premium.', 'type' => 'string', 'example' => 'ddoscoo-project-181071506993****-cn-hangzhou', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Success\\": true,\\n \\"RequestId\\": \\"F65DF043-E0EB-4796-9467-23DDCDF92C1D\\"\\n}","errorExample":""},{"type":"xml","example":"\\r\\n\\r\\n\\tF65DF043-E0EB-4796-9467-23DDCDF92C1D\\r\\n\\ttrue\\r\\n","errorExample":""}]', - 'title' => 'DisableSceneDefensePolicy', - 'summary' => 'Disables a scenario-specific custom policy.', + 'title' => 'Query log store information of Anti-DDoS Pro and Anti-DDoS Premium', + 'summary' => 'Queries the log store information of Anti-DDoS Pro or Anti-DDoS Premium, such as log storage capacity and storage duration of logs.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeSceneDefensePolicies' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:14.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeSlsLogstoreInfo'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeSlsLogstoreInfo', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Ttl\\": 180,\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\",\\n \\"Quota\\": 3298534883328,\\n \\"LogStore\\": \\"ddoscoo-logstore\\",\\n \\"Used\\": 0,\\n \\"Project\\": \\"ddoscoo-project-181071506993****-cn-hangzhou\\"\\n}","type":"json"}]', + ], + 'DescribeSlsOpenStatus' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -13380,52 +12915,91 @@ 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', - 'abilityTreeCode' => '106183', - 'abilityTreeNodes' => [ - 'FEATUREddosM9SQC1', - ], + 'abilityTreeCode' => '106187', + 'abilityTreeNodes' => ['FEATUREddosVFFSV8'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'Template', + 'name' => 'ResourceGroupId', 'in' => 'query', + 'schema' => ['description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n", 'type' => 'string', 'required' => false, 'example' => 'default', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'The type of the template that is used to create the policy. Valid values:'."\n" - ."\n" - .'* **promotion**: the Important Activity template'."\n" - .'* **bypass**: the Forward All template'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'promotion', + 'type' => 'object', + 'properties' => [ + 'SlsOpenStatus' => ['description' => 'Indicates whether Log Service is activated. Valid values:'."\n" + ."\n" + .'* **true**: yes'."\n" + .'* **false**: no'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"SlsOpenStatus\\": true,\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\"\\n}","errorExample":""},{"type":"xml","example":"\\r\\n\\r\\n\\tCF33B4C3-196E-4015-AADD-5CAD00057B80\\r\\n\\ttrue\\r\\n","errorExample":""}]', + 'title' => 'DescribeSlsOpenStatus', + 'summary' => 'Checks whether Simple Log Service is activated.', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:14.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeSlsOpenStatus'], + ], + ], + 'ramActions' => [ [ - 'name' => 'Status', - 'in' => 'query', - 'schema' => [ - 'description' => 'The status of the policy. Valid values:'."\n" - ."\n" - .'* **0**: disabled'."\n" - .'* **1**: pending enabling'."\n" - .'* **2**: enabled'."\n" - .'* **3**: expired'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '1', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeSlsOpenStatus', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], + ], + ], + 'DescribeStsGrantStatus' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '106188', + 'abilityTreeNodes' => ['FEATUREddosRTUJBH'], + ], + 'parameters' => [ [ 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the resource group to which the instance belongs in Resource Management.'."\n" - ."\n" - .'If you do not configure this parameter, the instance belongs to the default resource group.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'rg-acfm2pz25js****', - ], + 'schema' => ['description' => 'The ID of the resource group to which the Anti-DDoS Proxy instance belongs in Resource Management.'."\n" + ."\n" + .'If you do not specify this parameter, the default resource group is used.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'rg-acfm2pz25js****'], + ], + [ + 'name' => 'Role', + 'in' => 'query', + 'schema' => ['description' => 'The name of the RAM role that you want to query. The value is fixed as **AliyunDDoSCOODefaultRole**, which indicates the default role of Anti-DDoS Proxy.'."\n" + ."\n" + .'> Anti-DDoS Proxy use this role by default to access your resources in other cloud services.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'AliyunDDoSCOODefaultRole'], ], ], 'responses' => [ @@ -13433,200 +13007,111 @@ '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' => 'F65DF043-E0EB-4796-9467-23DDCDF92C1D', - ], - 'Policies' => [ - 'description' => 'An array that consists of the configurations of the scenario-specific custom policy.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Done' => [ - 'description' => 'The execution status of the policy. Valid values:'."\n" - ."\n" - .'* **1**: not executed or execution completed'."\n" - .'* **0**: being executed'."\n" - .'* **-1**: execution failed'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'EndTime' => [ - 'description' => 'The time at which the policy expires. The value is a UNIX timestamp. Unit: milliseconds.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1586016000000', - ], - 'Status' => [ - 'description' => 'The status of the policy. Valid values:'."\n" - ."\n" - .'* **0**: disabled'."\n" - .'* **1**: pending enabling'."\n" - .'* **2**: enabled'."\n" - .'* **3**: expired'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'StartTime' => [ - 'description' => 'The time at which the policy takes effect. The value is a UNIX timestamp. Unit: milliseconds.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1585670400000', - ], - 'ObjectCount' => [ - 'description' => 'The number of objects that are protected by the policy.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'Template' => [ - 'description' => 'The type of the template that is used to create the policy. Valid values:'."\n" - ."\n" - .'* **promotion**: the Important Activity template'."\n" - .'* **bypass**: the Forward All template'."\n", - 'type' => 'string', - 'example' => 'promotion', - ], - 'PolicyId' => [ - 'description' => 'The ID of the policy.'."\n", - 'type' => 'string', - 'example' => '321a-fd31-df51-****', - ], - 'Name' => [ - 'description' => 'The name of the policy.'."\n", - 'type' => 'string', - 'example' => 'testpolicy', - ], - 'RuntimePolicies' => [ - 'description' => 'The running rules of the policy.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Status' => [ - 'description' => 'The running status of the policy. Valid values:'."\n" - ."\n" - .'* **0**: The policy has not been issued or is restored.'."\n" - .'* **1**: The policy is pending.'."\n" - .'* **2**: The policy is being restored.'."\n" - .'* **3**: The policy takes effect.'."\n" - .'* **4**: The policy fails to take effect.'."\n" - .'* **5**:The policy fails to be restored.'."\n" - .'* **6**: The configurations of the protected objects for the policy does not exist because the configurations may be deleted.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '3', - ], - 'oldValue' => [ - 'description' => 'The protection rule that is applied before the policy takes effect.'."\n" - ."\n" - .'If you set **PolicyType** to **1**, the value is **{"cc_rule_enable": true}**. The value indicates that the Frequency Control policy is enabled.'."\n" - ."\n" - .'If you set **PolicyType** to **2**, the value is **{"ai_rule_enable": 1}**. The value indicates that the Intelligent Protection policy is enabled.'."\n", - 'type' => 'string', - 'example' => '{"cc_rule_enable": true}', - ], - 'NewValue' => [ - 'description' => 'The protection rule that is applied when the policy takes effect.'."\n" - ."\n" - .'If you set **PolicyType** to **1**, the value is **{"cc_rule_enable": false }**. The value indicates that the Frequency Control policy is disabled.'."\n" - ."\n" - .'If you set **PolicyType** to **2**, the value is **{"ai_rule_enable": 0}**. The value indicates that the Intelligent Protection policy is disabled.'."\n", - 'type' => 'string', - 'example' => '{"cc_rule_enable": false }', - ], - 'PolicyType' => [ - 'description' => 'The protection policy whose status is changed when the policy takes effect. Valid values:'."\n" - ."\n" - .'* **1**: indicates that the Frequency Control policy is changed.'."\n" - .'* **2**: indicates that the Intelligent Protection policy is changed.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - ], - ], - ], - ], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'title' => '', 'example' => '6623EA1F-30FB-5BC8-BEC9-74D55F6F08F1'], + 'StsGrant' => [ + 'description' => 'The authorization status of Anti-DDoS Pro and Anti-DDoS Premium.', + 'type' => 'object', + 'properties' => [ + 'Status' => ['description' => 'The authorization status. Valid values:'."\n" + ."\n" + .'- **0**: Anti-DDoS Proxy are not authorized to access resources of other cloud services.'."\n" + ."\n" + .'- **1**: Anti-DDoS Proxy are authorized to access resources of other cloud services.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '1'], ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Success\\": true,\\n \\"RequestId\\": \\"F65DF043-E0EB-4796-9467-23DDCDF92C1D\\",\\n \\"Policies\\": [\\n {\\n \\"Done\\": 1,\\n \\"EndTime\\": 1586016000000,\\n \\"Status\\": 1,\\n \\"StartTime\\": 1585670400000,\\n \\"ObjectCount\\": 1,\\n \\"Template\\": \\"promotion\\",\\n \\"PolicyId\\": \\"321a-fd31-df51-****\\",\\n \\"Name\\": \\"testpolicy\\",\\n \\"RuntimePolicies\\": [\\n {\\n \\"Status\\": 3,\\n \\"oldValue\\": \\"{\\\\\\"cc_rule_enable\\\\\\": true}\\",\\n \\"NewValue\\": \\"{\\\\\\"cc_rule_enable\\\\\\": false }\\",\\n \\"PolicyType\\": 1\\n }\\n ]\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\n true\\n F65DF043-E0EB-4796-9467-23DDCDF92C1D\\n \\n 1\\n 1586016000000\\n 1\\n 1585670400000\\n 1\\n \\n 321a-fd31-df51-****\\n testpolicy\\n \\n 3\\n {\\"cc_rule_enable\\": true}\\n {\\"cc_rule_enable\\": false }\\n 1\\n \\n \\n","errorExample":""}]', - 'title' => 'DescribeSceneDefensePolicies', - 'summary' => 'Queries the configurations of a scenario-specific custom policy.', - 'description' => 'You can call the DescribeSceneDefensePolicies operation to query the configurations of a scenario-specific custom policy that is created. For example, you can query the status, protected objects, and protection rules of the policy.'."\n" + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6623EA1F-30FB-5BC8-BEC9-74D55F6F08F1\\",\\n \\"StsGrant\\": {\\n \\"Status\\": 1\\n }\\n}","type":"json"}]', + 'title' => 'DescribeStsGrantStatus', + 'summary' => 'Queries whether Anti-DDoS Proxy are authorized to access other cloud services.', + 'description' => 'This operation queries whether your Alibaba Cloud account has authorized Anti-DDoS Pro and Anti-DDoS Premium to access other cloud services.'."\n" ."\n" - .'### 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", - 'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see [Common parameters](~~157269~~).'."\n" + .'The maximum number of queries per second (QPS) for this operation is 10 per user. If the number of API calls exceeds this limit, throttling is triggered. This may affect your business operations. Ensure that you call this operation at an appropriate rate.', + 'requestParamsDescription' => 'When you call this operation, in addition to the request parameters described in this topic, you must also specify the common request parameters of Alibaba Cloud API. For more information, see [Common parameters](~~157269~~).'."\n" ."\n" - .'For more information about sample requests, see the **"Examples"** section of this topic.'."\n", + .'For the request format, see the "Examples" section of this topic.', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeSceneDefenseObjects' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:14.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeStsGrantStatus'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeStsGrantStatus', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'DescribeSystemLog' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', - 'abilityTreeCode' => '106182', - 'abilityTreeNodes' => [ - 'FEATUREddosM9SQC1', - ], + 'abilityTreeCode' => '106190', + 'abilityTreeNodes' => ['FEATUREddosIJFWZ1'], + 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'PolicyId', + 'name' => 'EntityType', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the policy that you want to query.'."\n" - ."\n" - .'> You can call the [DescribeSceneDefensePolicies](~~159382~~) operation to query the IDs of all policies.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '47e07ebd-0ba5-4afc-957b-59d15b90****', - ], + 'schema' => ['description' => 'The type of system logs to query. The value is fixed at **20**, which indicates the billing logs of burstable clean bandwidth.'."\n" + ."\n" + .'> You must set this parameter. Otherwise, the call fails.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20', 'title' => ''], ], [ - 'name' => 'ResourceGroupId', + 'name' => 'EntityObject', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the resource group to which the instance belongs in Resource Management.'."\n" - ."\n" - .'If you do not configure this parameter, the instance belongs to the default resource group.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'rg-acfm2pz25js****', - ], + 'schema' => ['description' => 'The IP address of the Anti-DDoS instance to query.'."\n" + ."\n" + .'> You can call [DescribeInstanceDetails](~~91490~~) to query the IP addresses of Anti-DDoS instances.', 'type' => 'string', 'required' => false, 'example' => '203.107.XX.XX', 'title' => ''], + ], + [ + 'name' => 'StartTime', + 'in' => 'query', + 'schema' => ['description' => 'The start time to query bills of burstable clean bandwidth that are generated after the specified time. This value is a timestamp in milliseconds.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1609430400000', 'title' => ''], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => ['description' => 'The end time to query bills of burstable clean bandwidth that are generated before the specified time. This value is a timestamp in milliseconds.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1640966400000', 'title' => ''], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => ['description' => 'The page number of the returned page.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1', 'title' => ''], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['description' => 'The number of logs to return on each page.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '10', 'title' => ''], ], ], 'responses' => [ @@ -13634,73 +13119,96 @@ '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' => 'FE07E73F-F19E-4A51-B62F-AC59E3B962D8', - ], - 'Objects' => [ - 'description' => 'The information about the protected assets.'."\n", + 'Total' => ['description' => 'The total number of billing logs for burstable clean bandwidth that are queried.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '8BC3A33A-F832-58DB-952F-7682A25AD14C', 'title' => ''], + 'SystemLog' => [ + 'description' => 'The details of the billing logs for burstable clean bandwidth.', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'Domain' => [ - 'description' => 'The domain name that is protected by the policy.'."\n", - 'type' => 'string', - 'example' => 'www.aliyundoc.com', - ], - 'PolicyId' => [ - 'description' => 'The ID of the policy.'."\n", - 'type' => 'string', - 'example' => '47e07ebd-0ba5-4afc-957b-59d15b90****', - ], - 'Vip' => [ - 'description' => 'The IP address of the Anti-DDoS Pro or Anti-DDoS Premium instance that is protected by the policy.'."\n", - 'type' => 'string', - 'example' => '203.XX.XX.119', - ], + 'Status' => ['description' => 'The status of the bill. Valid values:'."\n" + ."\n" + .'- **0**: indicates that the bill is pending.'."\n" + .'- **1**: indicates that the bill is generated.'."\n" + .'- **2**: indicates that the bill is terminated.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'EntityType' => ['description' => 'The type of the system log. The value is fixed at **20**, which indicates the billing log of burstable clean bandwidth.', 'type' => 'integer', 'format' => 'int32', 'example' => '20', 'title' => ''], + 'EntityObject' => ['description' => 'The IP address of the Anti-DDoS instance.', 'type' => 'string', 'example' => '203.107.XX.XX', 'title' => ''], + 'GmtCreate' => ['description' => 'The time when the bill was created. This value is a timestamp in milliseconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1631793531000', 'title' => ''], + 'OpAction' => ['description' => 'The operation type. The value is fixed at **100**, which indicates that a billing record for burstable clean bandwidth is added.', 'type' => 'integer', 'format' => 'int32', 'example' => '100', 'title' => ''], + 'GmtModified' => ['description' => 'The time when the bill was last modified. This value is a timestamp in milliseconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1635425407000', 'title' => ''], + 'OpAccount' => ['description' => 'The ID of the Alibaba Cloud account to which the bill belongs.', 'type' => 'string', 'example' => '171986973287****', 'title' => ''], + 'OpDesc' => ['description' => 'The details of the bill. This value is a string that is converted from a JSON struct. The JSON struct contains the following fields:'."\n" + ."\n" + .'- **newEntity**: Object type, which indicates the bill record and contains the following fields:'."\n" + ."\n" + .' - **billValue**: Integer type | The usage of burstable clean bandwidth in the billing month. Unit: Mbit/s.'."\n" + .' - **instanceId**: String type | The ID of the Anti-DDoS instance.'."\n" + .' - **ip**: String type | The IP address of the Anti-DDoS instance.'."\n" + .' - **maxBw**: String type | The actual peak value of service traffic in the billing month (monthly 95th percentile). Unit: Mbit/s.'."\n" + .' - **month**: Long type | The month when the bill is generated (the billing month is the calendar month before the month when the bill is generated). This value is a timestamp in milliseconds.'."\n" + .' - **overBandwidth**: Integer type | The bandwidth that exceeds the clean bandwidth specification of the instance. Unit: Mbit/s.'."\n" + .' - **peakTime**: Long type | The time when the actual peak value of service traffic is measured. This value is a timestamp in seconds.'."\n" + .' - **startTimestamp**: Long type | The start time of the period when the peak value of instance service traffic is measured. This value is a timestamp in seconds.', 'type' => 'string', 'example' => '{"newEntity":{"billValue":"60","instanceId":"ddoscoo-cn-zz121ogz****","ip":"203.107.XX.XX","maxBw":"300","month":1627747200000,"overBandwidth":"120","peakTime":1629871200,"startTimestamp":1629871200}}', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Success\\": true,\\n \\"RequestId\\": \\"FE07E73F-F19E-4A51-B62F-AC59E3B962D8\\",\\n \\"Objects\\": [\\n {\\n \\"Domain\\": \\"www.aliyundoc.com\\",\\n \\"PolicyId\\": \\"47e07ebd-0ba5-4afc-957b-59d15b90****\\",\\n \\"Vip\\": \\"203.XX.XX.119\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\n true\\n FE07E73F-F19E-4A51-B62F-AC59E3B962D8\\n \\n www.aliyundoc.com\\n 47e07ebd-0ba5-4afc-957b-59d15b90****\\n \\n","errorExample":""}]', - 'title' => 'DescribeSceneDefenseObjects', - 'summary' => 'Queries the protected objects of a scenario-specific custom policy.', - 'description' => 'You can call the DescribeSceneDefenseObjects operation to query the protected objects of a scenario-specific custom policy.'."\n" + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Total\\": 1,\\n \\"RequestId\\": \\"8BC3A33A-F832-58DB-952F-7682A25AD14C\\",\\n \\"SystemLog\\": [\\n {\\n \\"Status\\": 1,\\n \\"EntityType\\": 20,\\n \\"EntityObject\\": \\"203.107.XX.XX\\",\\n \\"GmtCreate\\": 1631793531000,\\n \\"OpAction\\": 100,\\n \\"GmtModified\\": 1635425407000,\\n \\"OpAccount\\": \\"171986973287****\\",\\n \\"OpDesc\\": \\"{\\\\\\"newEntity\\\\\\":{\\\\\\"billValue\\\\\\":\\\\\\"60\\\\\\",\\\\\\"instanceId\\\\\\":\\\\\\"ddoscoo-cn-zz121ogz****\\\\\\",\\\\\\"ip\\\\\\":\\\\\\"203.107.XX.XX\\\\\\",\\\\\\"maxBw\\\\\\":\\\\\\"300\\\\\\",\\\\\\"month\\\\\\":1627747200000,\\\\\\"overBandwidth\\\\\\":\\\\\\"120\\\\\\",\\\\\\"peakTime\\\\\\":1629871200,\\\\\\"startTimestamp\\\\\\":1629871200}}\\"\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'DescribeSystemLog', + 'summary' => 'Queries the billing details of burstable clean bandwidth.', + 'description' => 'This operation lets you query the system logs of Anti-DDoS Pro. System logs currently include only the billing logs of burstable clean bandwidth.'."\n" ."\n" - .'Before you call this operation, make sure that you have created a scenario-specific custom policy by calling the [CreateSceneDefensePolicy](~~159779~~) operation.'."\n" + .'If you have enabled burstable clean bandwidth, you can call this operation to query the billing details of burstable clean bandwidth.'."\n" ."\n" - .'### 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", - 'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see [Common parameters](~~157269~~).'."\n" + .'The QPS limit for this operation is 10 per second per user. If the number of calls per second exceeds this limit, throttling is triggered. This may affect your business operations. Therefore, call this operation at an appropriate frequency.', + 'requestParamsDescription' => 'When you call this operation, in addition to the preceding operation-specific request parameters, you must also specify common request parameters. For more information, see [Common parameters](~~157269~~).'."\n" ."\n" - .'For more information about sample requests, see the **"Examples"** section of this topic.'."\n", + .'For the request format, see the "Examples" section of this topic.', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DeleteWebCacheCustomRule' => [ - 'summary' => 'Deletes the custom rules of the Static Page Caching policy for a website.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'changeSet' => [ + ['createdAt' => '2025-07-01T09:48:51.000Z', 'description' => 'OpenAPI offline'], + ['createdAt' => '2025-05-30T05:57:31.000Z', 'description' => 'OpenAPI offline'], + ['createdAt' => '2025-05-30T04:02:40.000Z', 'description' => 'OpenAPI offline'], + ['createdAt' => '2025-05-30T04:01:32.000Z', 'description' => 'OpenAPI offline'], + ['createdAt' => '2022-09-08T03:34:14.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeSystemLog'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeSystemLog', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'DescribeTagKeys' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -13709,56 +13217,37 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'delete', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '106088', - 'abilityTreeNodes' => [ - 'FEATUREddosOZ1QOD', - ], + 'operationType' => 'get', + 'abilityTreeCode' => '106191', + 'abilityTreeNodes' => ['FEATUREddos64TBV6', 'FEATUREddosMHU3MF'], ], 'parameters' => [ [ - 'name' => 'ResourceGroupId', + 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the resource group to which the instance belongs in Resource Management.'."\n" - ."\n" - .'If you do not configure this parameter, the instance belongs to the default resource group.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'rg-acfm2pz25js****', - ], + 'schema' => ['description' => 'The region ID of the instance. Set the value to **cn-hangzhou**, which indicates an Anti-DDoS Proxy (Chinese Mainland) instance.'."\n", 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ - 'name' => 'Domain', + 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => 'The domain name for which you want to delete the custom rules of the Static Page Caching policy.'."\n" - ."\n" - .'> You can call the [DescribeDomains](~~91724~~) operation to query all the domain names that are added to Anti-DDoS Pro or Anti-DDoS Premium.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'www.aliyundoc.com', - ], + 'schema' => ['description' => 'The ID of the resource group to which the instance belongs in Resource Management.'."\n" + ."\n" + .'If you do not configure this parameter, the instance belongs to the default resource group.'."\n", 'type' => 'string', 'required' => false, 'example' => 'rg-acfm2pz25js****', 'title' => ''], ], [ - 'name' => 'RuleNames', + 'name' => 'ResourceType', 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => 'An array consisting of the names of the rules that you want to delete.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The name of the rule that you want to delete.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'doc-test-rule', - ], - 'required' => true, - 'example' => 'test', - 'maxItems' => 10, - ], + 'schema' => ['description' => 'The type of the resource to which the tag belongs. Set the value to **INSTANCE**, which indicates an Anti-DDoS Pro instance.'."\n", 'type' => 'string', 'required' => true, 'example' => 'INSTANCE', '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, 'example' => '10', 'title' => ''], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => ['description' => 'The number of the page to return. Default value: **1**.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], ], ], 'responses' => [ @@ -13766,37 +13255,73 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '6623EA1F-30FB-5BC8-BEC9-74D55F6F08F1', + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '6623EA1F-30FB-5BC8-BEC9-74D55F6F08F1', 'title' => ''], + 'PageNumber' => ['description' => 'The page number of the returned page.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'PageSize' => ['description' => 'The number of entries returned on each page.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], + 'TotalCount' => ['description' => 'The total number of entries returned.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'TagKeys' => [ + 'description' => 'The details about the tag keys.'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'TagCount' => ['description' => 'The number of Anti-DDoS Proxy (Chinese Mainland) instances to which the tag key is added.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '2', 'title' => ''], + 'TagKey' => ['description' => 'The tag key.'."\n", 'type' => 'string', 'example' => 'aa1', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6623EA1F-30FB-5BC8-BEC9-74D55F6F08F1\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 6623EA1F-30FB-5BC8-BEC9-74D55F6F08F1\\n","errorExample":""}]', - 'title' => 'DeleteWebCacheCustomRule', - 'description' => 'You can call the DeleteWebCacheCustomRule operation to delete the custom rules of the Static Page Caching policy for a website.'."\n" + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6623EA1F-30FB-5BC8-BEC9-74D55F6F08F1\\",\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 1,\\n \\"TagKeys\\": [\\n {\\n \\"TagCount\\": 2,\\n \\"TagKey\\": \\"aa1\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\n 6623EA1F-30FB-5BC8-BEC9-74D55F6F08F1\\n 1\\n 10\\n 1\\n \\n 2\\n aa1\\n \\n","errorExample":""}]', + 'title' => 'DescribeTagKeys', + 'summary' => 'Queries all tag keys and the number of Anti-DDoS Proxy (Chinese Mainland) instances to which each tag key is added.', + 'description' => 'You can call this operation to query all tag keys and the number of Anti-DDoS Proxy (Chinese Mainland) instances to which each tag key is added by page.'."\n" ."\n" - .'### Limits'."\n" + .'> Only Anti-DDoS Proxy (Chinese Mainland) supports tags.'."\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", + .'### [](#qps-)QPS limits'."\n" + ."\n" + .'You can call this operation up to 10 times per second per account. If the number of 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", 'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see [Common parameters](~~157269~~).'."\n" ."\n" .'For more information about sample requests, see the **"Examples"** section of this topic.'."\n", 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'ModifyWebCacheSwitch' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:14.000Z', 'description' => 'Error codes changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeTagKeys'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeTagKeys', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'DescribeTagResources' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -13805,49 +13330,83 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', - 'abilityTreeCode' => '106266', - 'abilityTreeNodes' => [ - 'FEATUREddosOZ1QOD', - ], + 'operationType' => 'get', + 'abilityTreeCode' => '106192', + 'abilityTreeNodes' => ['FEATUREddos64TBV6', 'FEATUREddosMHU3MF'], ], 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => ['description' => 'The region ID of the instance. Set the value to **cn-hangzhou**, which indicates an Anti-DDoS Proxy (Chinese Mainland) instance.'."\n", 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], + ], [ 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the resource group to which the instance belongs in Resource Management.'."\n" - ."\n" - .'If you do not configure this parameter, the instance belongs to the default resource group.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'rg-acfm2pz25js****', - ], + 'schema' => ['description' => 'The ID of the resource group to which the instance belongs in Resource Management.'."\n" + ."\n" + .'If you do not configure this parameter, the instance belongs to the default resource group.'."\n", 'type' => 'string', 'required' => false, 'example' => 'rg-acfm2pz25js****', 'title' => ''], ], [ - 'name' => 'Domain', + 'name' => 'ResourceType', 'in' => 'query', + 'schema' => ['description' => 'The type of the resource to which the tag belongs. Set the value to **INSTANCE**, which indicates an Anti-DDoS Pro instance.'."\n", 'type' => 'string', 'required' => true, 'example' => 'INSTANCE', 'title' => ''], + ], + [ + 'name' => 'NextToken', + 'in' => 'query', + 'schema' => ['description' => 'The query token. Set the value to the value of **NextToken** that is returned in the last call.'."\n" + ."\n" + .'> You do not need to configure this parameter if you call this operation for the first time.'."\n", 'type' => 'string', 'required' => false, 'example' => 'RGuYpqDdKhzXb8C3.D1BwQgc1tMBsoxdGiEKHHUUCf****', 'title' => ''], + ], + [ + 'name' => 'ResourceIds', + 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => 'The domain name for which you want to configure the Static Page Caching policy.'."\n" + 'description' => 'The IDs of the Anti-DDoS Proxy (Chinese Mainland) instances that you want to query.'."\n", + 'type' => 'array', + 'items' => ['description' => 'The ID of the Anti-DDoS Proxy (Chinese Mainland) instance that you want to query.'."\n" ."\n" - .'> You can call the [DescribeDomains](~~91724~~) operation to query all the domain names that are added to Anti-DDoS Pro or Anti-DDoS Premium.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'www.aliyundoc.com', + .'> '."\n" + ."\n" + .'* You must specify at least one of the **ResourceIds.N** and **Tags.N.Key** parameters.'."\n" + ."\n" + .'* You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of instances.'."\n", 'type' => 'string', 'required' => false, 'example' => 'ddoscoo-cn-zz121ogz****', 'title' => ''], + 'required' => false, + 'example' => 'ddoscoo-cn-mp91j1ao****', + 'maxItems' => 51, + 'title' => '', ], ], [ - 'name' => 'Enable', + 'name' => 'Tags', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => 'Specifies whether to enable or disable the Static Page Caching policy for a website. Valid values:'."\n" - ."\n" - .'* **1**: enables the policy.'."\n" - .'* **0**: disables the policy.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '1', + 'description' => 'An array consisting of tags that you want to query. Each tag consists of a tag **key** and a tag **value**.'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Key' => ['description' => 'The key of the tag that you want to query.'."\n" + ."\n" + .'> '."\n" + ."\n" + .'* You must specify at least one of the **ResourceIds.N** and **Tags.N.Key** parameters.'."\n" + ."\n" + .'* You can call the [DescribeTagKeys](~~159785~~) operation to query all tag keys.'."\n", 'type' => 'string', 'required' => false, 'example' => 'testkey', 'title' => ''], + 'Value' => ['description' => 'The value of the tag that you want to query.'."\n", 'type' => 'string', 'required' => false, 'example' => 'testvalue', 'title' => ''], + ], + 'required' => false, + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'required' => false, + 'maxItems' => 21, + 'title' => '', + 'example' => '', ], ], ], @@ -13856,38 +13415,82 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '6623EA1F-30FB-5BC8-BEC9-74D55F6F08F1', + 'NextToken' => ['description' => 'The query token that is returned in this call.'."\n", 'type' => 'string', 'example' => 'RGuYpqDdKhzXb8C3.D1BwQgc1tMBsoxdGiEKHHUUCf****', 'title' => ''], + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '36E698F7-48A4-48D0-9554-0BB4BAAB99B3', 'title' => ''], + 'TagResources' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'TagResource' => [ + 'description' => 'The tags that are added to the Anti-DDoS Proxy (Chinese Mainland) instance.'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'TagValue' => ['description' => 'The value of the tag that is added to the Anti-DDoS Proxy (Chinese Mainland) instance.'."\n", 'type' => 'string', 'example' => 'testkey', 'title' => ''], + 'ResourceType' => ['description' => 'The resource type. The value is fixed as **INSTANCE**, which indicates an Anti-DDoS Proxy instance.'."\n", 'type' => 'string', 'example' => 'INSTANCE', 'title' => ''], + 'ResourceId' => ['description' => 'The ID of the Anti-DDoS Proxy (Chinese Mainland) instance.'."\n", 'type' => 'string', 'example' => 'ddoscoo-cn-zz121ogz****', 'title' => ''], + 'TagKey' => ['description' => 'The key of the tag that is added to the Anti-DDoS Proxy (Chinese Mainland) instance.'."\n", 'type' => 'string', 'example' => 'testvalue', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6623EA1F-30FB-5BC8-BEC9-74D55F6F08F1\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 6623EA1F-30FB-5BC8-BEC9-74D55F6F08F1\\n","errorExample":""}]', - 'title' => 'ModifyWebCacheSwitch', - 'summary' => 'Enables or disables the Static Page Caching policy for a website.', - 'description' => 'You can call the ModifyWebCacheSwitch operation to enable or disable the Static Page Caching policy for a website.'."\n" + 'responseDemo' => '[{"type":"json","example":"{\\n \\"NextToken\\": \\"RGuYpqDdKhzXb8C3.D1BwQgc1tMBsoxdGiEKHHUUCf****\\",\\n \\"RequestId\\": \\"36E698F7-48A4-48D0-9554-0BB4BAAB99B3\\",\\n \\"TagResources\\": {\\n \\"TagResource\\": [\\n {\\n \\"TagValue\\": \\"testkey\\",\\n \\"ResourceType\\": \\"INSTANCE\\",\\n \\"ResourceId\\": \\"ddoscoo-cn-zz121ogz****\\",\\n \\"TagKey\\": \\"testvalue\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"\\n RGuYpqDdKhzXb8C3.D1BwQgc1tMBsoxdGiEKHHUUCf****\\n 36E698F7-48A4-48D0-9554-0BB4BAAB99B3\\n \\n testkey\\n INSTANCE\\n ddoscoo-cn-zz121ogz****\\n testvalue\\n \\n","errorExample":""}]', + 'title' => 'DescribeTagResources', + 'summary' => 'Queries the information about the tags that are added to an Anti-DDoS Proxy (Chinese Mainland) instance.', + 'description' => 'You can call the DescribeTagResources operation to query the information about the tags that are added to an Anti-DDoS Proxy (Chinese Mainland) instance.'."\n" ."\n" - .'### Limits'."\n" + .'> Only Anti-DDoS Proxy (Chinese Mainland) supports tags.'."\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", + .'### [](#qps-)QPS limits'."\n" + ."\n" + .'You can call this operation up to 10 times per second per account. If the number of 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", 'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see [Common parameters](~~157269~~).'."\n" ."\n" .'For more information about sample requests, see the **"Examples"** section of this topic.'."\n", 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'ModifyWebCacheMode' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:14.000Z', 'description' => 'Error codes changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeTagResources'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeTagResources', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'DescribeUdpReflect' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -13896,48 +13499,25 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', - 'abilityTreeCode' => '106265', - 'abilityTreeNodes' => [ - 'FEATUREddosM9SQC1', - ], + 'operationType' => 'get', + 'abilityTreeCode' => '106193', + 'abilityTreeNodes' => ['FEATUREddosRTUJBH'], ], 'parameters' => [ [ - 'name' => 'ResourceGroupId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'default', - ], - ], - [ - 'name' => 'Domain', + 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The domain name of the website.'."\n" - ."\n" - .'> A forwarding rule must be configured for the domain name, and the domain name must be associated with an instance that uses the Enhanced function plan. You can call the [DescribeDomains](~~91724~~) operation to query all domain names.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'www.aliyun.com', - ], + 'schema' => ['description' => 'The ID of the instance to query.'."\n" + ."\n" + .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.'."\n", 'type' => 'string', 'required' => true, 'example' => 'ddoscoo-cn-i7m25564****', 'title' => ''], ], [ - 'name' => 'Mode', + 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => 'The cache mode of the Static Page Caching policy. Valid values:'."\n" - ."\n" - .'* **standard**: uses the standard cache mode.'."\n" - .'* **aggressive**: uses the enhanced cache mode.'."\n" - .'* **bypass**: caches no data.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'standard', - ], + 'schema' => ['description' => 'The region ID of the instance. Valid values:'."\n" + ."\n" + .'* **cn-hangzhou**: indicates an Anti-DDoS Proxy (Chinese Mainland) instance. This is the default value.'."\n" + .'* **ap-southeast-1**: indicates an Anti-DDoS Proxy (Outside Chinese Mainland) instance.'."\n", 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], ], ], 'responses' => [ @@ -13945,31 +13525,54 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc', + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'F97A8766-FB4D-411A-9CD5-2CFF701B592F', 'title' => ''], + 'UdpSports' => [ + 'description' => 'An array consisting of the source ports of the UDP traffic that are filtered out by the filtering policies for UDP reflection attacks.'."\n", + 'type' => 'array', + 'items' => ['description' => 'The source port of the UDP traffic that is filtered out by the filtering policies for UDP reflection attacks.'."\n", 'type' => 'string', 'example' => '17', 'title' => ''], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}","errorExample":""},{"type":"xml","example":"\\r\\n\\r\\n\\t0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\r\\n","errorExample":""}]', - 'title' => 'ModifyWebCacheMode', - 'summary' => 'Changes the cache mode of the Static Page Caching policy for a website.', - 'requestParamsDescription' => ' ', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"F97A8766-FB4D-411A-9CD5-2CFF701B592F\\",\\n \\"UdpSports\\": [\\n \\"17\\"\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\r\\n\\r\\n\\tF97A8766-FB4D-411A-9CD5-2CFF701B592F\\r\\n\\t17\\r\\n\\t19\\r\\n\\t69\\r\\n\\t111\\r\\n\\t123\\r\\n\\t137\\r\\n\\t161\\r\\n\\t389\\r\\n\\t1194\\r\\n\\t1900\\r\\n\\t3389\\r\\n\\t11211\\r\\n\\t11212\\r\\n","errorExample":""}]', + 'title' => 'DescribeUdpReflect', + 'summary' => 'Queries the source ports of UDP traffic that are filtered out by the filtering policies for UDP reflection attacks on an Anti-DDoS Pro or Anti-DDoS Premium instance.', + 'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see [Common parameters](~~157269~~).'."\n" + ."\n" + .'For more information about sample requests, see the **"Examples"** section of this topic.'."\n", 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'ModifyWebCacheCustomRule' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:14.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeUdpReflect'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeUdpReflect', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'DescribeUnBlackholeCount' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -13978,56 +13581,16 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', - 'abilityTreeCode' => '106264', - 'abilityTreeNodes' => [ - 'FEATUREddosOZ1QOD', - ], + 'operationType' => 'get', + 'abilityTreeCode' => '106194', + 'abilityTreeNodes' => ['FEATUREddosRTUJBH'], + 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'default', - ], - ], - [ - 'name' => 'Domain', - 'in' => 'query', - 'schema' => [ - 'description' => 'The domain name of the website.'."\n" - ."\n" - .'> A forwarding rule must be configured for the domain name, and the domain name must be associated with an instance that uses the Enhanced function plan. You can call the [DescribeDomains](~~91724~~) operation to query all domain names.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'www.aliyun.com', - ], - ], - [ - 'name' => 'Rules', - 'in' => 'query', - 'schema' => [ - 'description' => 'The details of the custom rule. This parameter is a JSON string. The string contains the following fields:'."\n" - ."\n" - .'* **Name**: the name of the rule. This field is required and must be of the string type.'."\n" - ."\n" - .'* **Uri**: the path to the cached page. This field is required and must be of the STRING type.'."\n" - ."\n" - .'* **Mode**: the cache mode. This field is required and must be of the STRING type. Valid values:'."\n" - ."\n" - .' * **standard**: uses the standard mode.'."\n" - .' * **aggressive**: uses the enhanced mode.'."\n" - .' * **bypass**: No data is cached.'."\n" - ."\n" - .'* **CacheTtl**: the expiration time of the page cache. This field is required and must be of the INTEGER type. Unit: seconds.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '[{"Name": "test","Uri": "/a","Mode": "standard","CacheTtl": 3600}]', - ], + 'schema' => ['description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n", 'type' => 'string', 'required' => false, 'example' => 'default', 'title' => ''], ], ], 'responses' => [ @@ -14035,31 +13598,48 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc', - ], + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '232929FA-40B6-4C53-9476-EE335ABA44CD', 'title' => ''], + 'TotalCount' => ['description' => 'The total quota that you can deactivate blackhole filtering.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '5', 'title' => ''], + 'RemainCount' => ['description' => 'The remaining quota that you can deactivate blackhole filtering.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '5', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}","errorExample":""},{"type":"xml","example":"\\r\\n\\r\\n\\t0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\r\\n","errorExample":""}]', - 'title' => 'ModifyWebCacheCustomRule', - 'summary' => 'Modifies the custom rule of the Static Page Caching policy for a website.', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"232929FA-40B6-4C53-9476-EE335ABA44CD\\",\\n \\"TotalCount\\": 5,\\n \\"RemainCount\\": 5\\n}","errorExample":""},{"type":"xml","example":"\\r\\n\\r\\n\\t5\\r\\n\\t232929FA-40B6-4C53-9476-EE335ABA44CD\\r\\n\\t5\\r\\n","errorExample":""}]', + 'title' => 'DescribeUnBlackholeCount', + 'summary' => 'Queries the total quota and remaining quota for blackhole filtering deactivation.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeWebCacheConfigs' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:14.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeUnBlackholeCount'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeUnBlackholeCount', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'DescribeUnBlockCount' => [ + 'summary' => 'Queries the available near-origin traffic diversion quota.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -14069,43 +13649,17 @@ 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', - 'abilityTreeCode' => '106203', - 'abilityTreeNodes' => [ - 'FEATUREddosOZ1QOD', - ], + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '106195', + 'abilityTreeNodes' => ['FEATUREddosRTUJBH'], + 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the resource group to which the instance belongs in Resource Management.'."\n" - ."\n" - .'If you do not configure this parameter, the instance belongs to the default resource group.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'rg-acfm2pz25js****', - ], - ], - [ - 'name' => 'Domains', - 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => 'An array consisting of domain names for which you want to query the Static Page Caching configurations.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The domain name for which you want to query the Static Page Caching configurations.'."\n" - ."\n" - .'> You can call the [DescribeDomains](~~91724~~) operation to query all the domain names that are added to Anti-DDoS Pro or Anti-DDoS Premium.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'www.aliyundoc.com', - ], - 'required' => true, - 'example' => 'www.aliyun.com', - 'maxItems' => 5, - ], + 'schema' => ['description' => 'The ID of the resource group to which the Anti-DDoS Pro or Anti-DDoS Premium instance belongs in Resource Management. By default, this parameter is empty, which indicates that the instance belongs to the default resource group.', 'type' => 'string', 'required' => false, 'example' => 'default', 'title' => ''], ], ], 'responses' => [ @@ -14113,104 +13667,48 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '6623EA1F-30FB-5BC8-BEC9-74D55F6F08F1', - ], - 'DomainCacheConfigs' => [ - 'description' => 'An array that consists of Static Page Caching configurations.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Domain' => [ - 'description' => 'The domain name of the website.'."\n", - 'type' => 'string', - 'example' => 'www.aliyundoc.com', - ], - 'Mode' => [ - 'description' => 'The cache mode. Valid values:'."\n" - ."\n" - .'* **standard**: The standard cache mode is used.'."\n" - .'* **aggressive**: The enhanced cache mode is used.'."\n" - .'* **bypass**: No data is cached.'."\n", - 'type' => 'string', - 'example' => 'bypass', - ], - 'Enable' => [ - 'description' => 'The status of the Static Page Caching policy. Valid values:'."\n" - ."\n" - .'* **1**: enabled'."\n" - .'* **0**: disabled'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'CustomRules' => [ - 'description' => 'An array that consists of custom caching rules.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Mode' => [ - 'description' => 'The cache mode. Valid values:'."\n" - ."\n" - .'* **standard**: The standard cache mode is used.'."\n" - .'* **aggressive**: The enhanced cache mode is used.'."\n" - .'* **bypass**: No data is cached.'."\n", - 'type' => 'string', - 'example' => 'standard', - ], - 'CacheTtl' => [ - 'description' => 'The expiration time of the page cache. Unit: seconds.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '86400', - ], - 'Name' => [ - 'description' => 'The name of the rule.'."\n", - 'type' => 'string', - 'example' => 'c1', - ], - 'Uri' => [ - 'description' => 'The path to the cached page.'."\n", - 'type' => 'string', - 'example' => '/blog/', - ], - ], - ], - ], - ], - ], - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E', 'title' => ''], + 'TotalCount' => ['description' => 'The total number of available near-origin traffic diversion sessions.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], + 'RemainCount' => ['description' => 'The remaining number of available near-origin traffic diversion sessions.', 'type' => 'integer', 'format' => 'int32', 'example' => '7', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6623EA1F-30FB-5BC8-BEC9-74D55F6F08F1\\",\\n \\"DomainCacheConfigs\\": [\\n {\\n \\"Domain\\": \\"www.aliyundoc.com\\",\\n \\"Mode\\": \\"bypass\\",\\n \\"Enable\\": 1,\\n \\"CustomRules\\": [\\n {\\n \\"Mode\\": \\"standard\\",\\n \\"CacheTtl\\": 86400,\\n \\"Name\\": \\"c1\\",\\n \\"Uri\\": \\"/blog/\\"\\n }\\n ]\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\n 6623EA1F-30FB-5BC8-BEC9-74D55F6F08F1\\n \\n www.aliyundoc.com\\n bypass\\n 1\\n \\n standard\\n 86400\\n c1\\n /blog/\\n \\n \\n","errorExample":""}]', - 'title' => 'DescribeWebCacheConfigs', - 'summary' => 'Queries the Static Page Caching configuration of websites.', - 'description' => 'You can call the DescribeWebCacheConfigs operation to query the Static Page Caching configurations of websites. The configurations include cache modes and custom caching rules.'."\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", - 'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see [Common parameters](~~157269~~).'."\n" - ."\n" - .'For more information about sample requests, see the **"Examples"** section of this topic.'."\n", + 'title' => 'Query available near-origin traffic diversion quota', + 'description' => '> This operation is applicable only to Anti-DDoS Pro and Anti-DDoS Premium (the Chinese mainland) service.', + 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeDDosEventMax' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:14.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeUnBlockCount'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeUnBlockCount', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E\\",\\n \\"TotalCount\\": 10,\\n \\"RemainCount\\": 7\\n}","type":"json"}]', + ], + 'DescribeWebAccessLogDispatchStatus' => [ + 'summary' => 'Queries the full log switch status of all domain names.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -14220,40 +13718,28 @@ 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', - 'abilityTreeCode' => '106113', - 'abilityTreeNodes' => [ - 'FEATUREddosRTUJBH', - ], + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '106197', + 'abilityTreeNodes' => ['FEATUREddosRTUJBH'], ], 'parameters' => [ [ - 'name' => 'StartTime', + 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => 'The beginning of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1598889600', - ], + 'schema' => ['description' => 'The ID of the resource group to which the Anti-DDoS Pro instance belongs in Resource Management.'."\n" + ."\n" + .'If you do not set this parameter, the default resource group is used.', 'type' => 'string', 'required' => false, 'example' => 'rg-acfm2pz25js****', 'title' => ''], ], [ - 'name' => 'EndTime', + 'name' => 'PageNumber', 'in' => 'query', - 'schema' => [ - 'description' => 'The end of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1604073600', - ], + 'schema' => ['description' => 'The page number of the current page in a paginated query. Default value: **1**.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '50', 'minimum' => '1', 'example' => '1', 'default' => '1', 'title' => ''], ], [ - 'name' => 'Ip', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - ], + 'schema' => ['description' => 'The number of domain names on each page in a paginated query. Default value: **10**.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '500', 'minimum' => '1', 'example' => '10', 'default' => '10', 'title' => ''], ], ], 'responses' => [ @@ -14261,51 +13747,70 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Qps' => [ - 'description' => 'The peak of resource exhaustion attacks. Unit: queries per second (QPS).'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '26314', - ], - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '5AE2FC86-C840-41AE-9F1A-3A2747C7C1DF', - ], - 'Cps' => [ - 'description' => 'The peak of connection flood attacks. Unit: connections per seconds (CPS).'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1302', - ], - 'Mbps' => [ - 'description' => 'The peak of volumetric attacks. Unit: Mbit/s.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '6809', + 'TotalCount' => ['description' => 'The total number of domain names queried.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80', 'title' => ''], + 'SlsConfigStatus' => [ + 'description' => 'The full log switch status of the domain names.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Domain' => ['description' => 'The domain name.', 'type' => 'string', 'example' => 'www.aliyundoc.com', 'title' => ''], + 'Enable' => ['description' => 'Indicates whether full log collection is enabled. Valid values:'."\n" + .'- **true**: enabled.'."\n" + .'- **false**: disabled.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Qps\\": 26314,\\n \\"RequestId\\": \\"5AE2FC86-C840-41AE-9F1A-3A2747C7C1DF\\",\\n \\"Cps\\": 1302,\\n \\"Mbps\\": 6809\\n}","errorExample":""},{"type":"xml","example":"\\r\\n\\r\\n\\t5AE2FC86-C840-41AE-9F1A-3A2747C7C1DF\\r\\n\\t26314\\r\\n\\t1302\\r\\n\\t6809\\r\\n ","errorExample":""}]', - 'title' => 'DescribeDDosEventMax', - 'summary' => 'Queries the peaks of volumetric attacks (bit/s), connection flood attacks (CPS), and resource exhaustion attacks on websites (QPS).', - 'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see [Common parameters](~~157269~~).'."\n" + 'title' => 'Query the full log switch status of all domain names', + 'description' => 'This operation is used to query the full log switch status of all domain names that are added to Anti-DDoS Pro for protection.'."\n" ."\n" - .'For more information about sample requests, see the **"Examples"** section of this topic.'."\n", + .'### QPS limit'."\n" + ."\n" + .'The QPS limit on this operation is 10 calls per second per user. If the limit is exceeded, API calls are throttled, which may affect your business. We recommend that you call this operation at a proper frequency.', + 'requestParamsDescription' => 'When you call this operation, in addition to the request parameters described in this topic, you must also include the Alibaba Cloud common request parameters. For more information about common request parameters, see [Common parameters](~~157269~~).'."\n" + ."\n" + .'For the request format of this operation, see the request examples in this topic.', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeDDosEventArea' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2022-06-09T04:19:33.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeWebAccessLogDispatchStatus'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeWebAccessLogDispatchStatus', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 1,\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\",\\n \\"SlsConfigStatus\\": [\\n {\\n \\"Domain\\": \\"www.aliyundoc.com\\",\\n \\"Enable\\": true\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeWebAccessLogEmptyCount' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -14314,56 +13819,87 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'list', - 'abilityTreeCode' => '106110', - 'abilityTreeNodes' => [ - 'FEATUREddosRTUJBH', - ], + 'operationType' => 'get', + 'abilityTreeCode' => '106198', + 'abilityTreeNodes' => ['FEATUREddosOZ1QOD'], + 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'EventType', + 'name' => 'ResourceGroupId', 'in' => 'query', + 'schema' => ['description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n", 'type' => 'string', 'required' => false, 'example' => 'default', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'The type of the attack event that you want to query. Valid values:'."\n" - ."\n" - .'* **defense**: attack events that trigger traffic scrubbing'."\n" - .'* **blackhole**: attack events that trigger blackhole filtering'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'defense', + 'type' => 'object', + 'properties' => [ + 'AvailableCount' => ['description' => 'The remaining quota that you can clear the Logstore.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"AvailableCount\\": 10,\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\"\\n}","errorExample":""},{"type":"xml","example":"\\r\\n\\r\\n\\tCF33B4C3-196E-4015-AADD-5CAD00057B80\\r\\n\\t10\\r\\n","errorExample":""}]', + 'title' => 'DescribeWebAccessLogEmptyCount', + 'summary' => 'Queries the remaining quota that allows you to clear the Logstore.', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:14.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeWebAccessLogEmptyCount'], + ], + ], + 'ramActions' => [ [ - 'name' => 'StartTime', - 'in' => 'query', - 'schema' => [ - 'description' => 'The UNIX timestamp when the query starts. Unit: seconds.'."\n" - ."\n" - .'> You can call the [DescribeDDosAllEventList](~~188604~~) operation to query the beginning time of all attack events.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1598948471', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeWebAccessLogEmptyCount', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], + ], + ], + 'DescribeWebAccessLogStatus' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'Ip', + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '106199', + 'abilityTreeNodes' => ['FEATUREddosOZ1QOD'], + ], + 'parameters' => [ + [ + 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => 'The IP address of the attacked Anti-DDoS Pro or Anti-DDoS Premium instance.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '203.***.***.199', - ], + 'schema' => ['description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n", 'type' => 'string', 'required' => false, 'example' => 'default', 'title' => ''], ], [ - 'name' => 'Range', + 'name' => 'Domain', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - ], + 'schema' => ['description' => 'The domain name of the website.'."\n" + ."\n" + .'> A forwarding rule must be configured for the domain name. You can call the [DescribeDomains](~~91724~~) operation to query all domain names.'."\n", 'type' => 'string', 'required' => true, 'example' => 'www.aliyun.com', 'title' => ''], ], ], 'responses' => [ @@ -14371,54 +13907,51 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '11710C9F-BC5E-481A-BEC5-C6D8FBFCA827', - ], - 'Areas' => [ - 'description' => 'The information about the source region from which the volumetric attack was initiated.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'InPkts' => [ - 'description' => 'The number of request packets that were sent from the source region.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '228', - ], - 'Area' => [ - 'description' => 'The code or ID of the source region. For more information, see [Codes of administrative regions in China and codes of countries and areas](~~167926~~). For example, **110000** indicates Beijing, China, and **us** indicates the United States.'."\n", - 'type' => 'string', - 'example' => '110000', - ], - ], - ], - ], + 'SlsLogstore' => ['description' => 'The Logstore of the instance.'."\n", 'type' => 'string', 'example' => 'ddoscoo-logstore', 'title' => ''], + 'SlsStatus' => ['description' => 'Indicates whether the Log Analysis feature is enabled for the website. Valid values:'."\n" + ."\n" + .'* **true**: enabled'."\n" + .'* **false**: disabled'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'SlsProject' => ['description' => 'The Log Service project of the instance.'."\n", 'type' => 'string', 'example' => 'ddoscoo-project-128965410602****-cn-hangzhou', 'title' => ''], + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"11710C9F-BC5E-481A-BEC5-C6D8FBFCA827\\",\\n \\"Areas\\": [\\n {\\n \\"InPkts\\": 228,\\n \\"Area\\": \\"110000\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\n 11710C9F-BC5E-481A-BEC5-C6D8FBFCA827\\n \\n 228\\n 110000\\n \\n","errorExample":""}]', - 'title' => 'DescribeDDosEventArea', - 'summary' => 'Queries the source region from which a volumetric attack is initiated.', - 'description' => '> This operation is suitable only for volumetric attacks.'."\n", - 'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see [Common parameters](~~157269~~).'."\n" - ."\n" - .'For more information about sample requests, see the **"Examples"** section of this topic.'."\n", + 'responseDemo' => '[{"type":"json","example":"{\\n \\"SlsLogstore\\": \\"ddoscoo-logstore\\",\\n \\"SlsStatus\\": true,\\n \\"SlsProject\\": \\"ddoscoo-project-128965410602****-cn-hangzhou\\",\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\"\\n}","errorExample":""},{"type":"xml","example":"\\r\\n\\r\\n\\tCF33B4C3-196E-4015-AADD-5CAD00057B80\\r\\n\\ttrue\\r\\n\\tddoscoo-project-128965410602****-cn-hangzhou\\r\\n\\tddoscoo-logstore\\r\\n","errorExample":""}]', + 'title' => 'DescribeWebAccessLogStatus', + 'summary' => 'Queries the information about the log analysis feature for a website, such as the feature status and the Simple Log Service project and Logstore that are used.', + 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeDDosEventAttackType' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2022-06-09T04:19:33.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeWebAccessLogStatus'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeWebAccessLogStatus', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'DescribeWebAccessMode' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -14428,46 +13961,24 @@ 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', - 'abilityTreeCode' => '106111', - 'abilityTreeNodes' => [ - 'FEATUREddosRTUJBH', - ], + 'abilityTreeCode' => '106201', + 'abilityTreeNodes' => ['FEATUREddosOZ1QOD'], ], 'parameters' => [ [ - 'name' => 'EventType', + 'name' => 'Domains', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => 'The type of the attack event that you want to query. Valid values:'."\n" + 'description' => 'The domain names of website businesses.'."\n" ."\n" - .'* **defense**: attack events that trigger traffic scrubbing'."\n" - .'* **blackhole**: attack events that trigger blackhole filtering'."\n", - 'type' => 'string', + .'> The domain names must have website forwarding rules configured. You can call [DescribeDomains](~~91724~~) to query all domain names.', + 'type' => 'array', + 'items' => ['description' => 'The domain name of a website business.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'www.test****.com'], 'required' => true, - 'example' => 'defense', - ], - ], - [ - 'name' => 'StartTime', - 'in' => 'query', - 'schema' => [ - 'description' => 'The UNIX timestamp when the query starts. Unit: seconds.'."\n" - ."\n" - .'> You can call the [DescribeDDosAllEventList](~~188604~~) operation to query the beginning time of all attack events.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1598948471', - ], - ], - [ - 'name' => 'Ip', - 'in' => 'query', - 'schema' => [ - 'description' => 'The IP address of the attacked Anti-DDoS Pro or Anti-DDoS Premium instance.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '203.***.***.199', + 'example' => 'www.aliyun.com', + 'maxItems' => 20, + 'title' => '', ], ], ], @@ -14476,96 +13987,67 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '6F644A6E-40E7-483F-9DBB-CC27E16BB555', - ], - 'AttackTypes' => [ - 'description' => 'The information about the attack types.'."\n", + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'title' => '', 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc'], + 'DomainModes' => [ + 'description' => 'The access mode information of website businesses.', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'InPkts' => [ - 'description' => 'The number of request packets of the attack type.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '145902', - ], - 'AttackType' => [ - 'description' => 'The type of the attack Valid values:'."\n" - ."\n" - .'* **QOTD-Reflect-Flood**: QOTD reflection attacks'."\n" - .'* **CharGEN-Reflect-Flood**: CHARGEN reflection attacks'."\n" - .'* **DNS-Reflect-Flood**: DNS reflection attacks'."\n" - .'* **TFTP-Reflect-Flood**: TFTP reflection attacks'."\n" - .'* **Portmap-Reflect-Flood**: Portmap reflection attacks'."\n" - .'* **NTP-Reflect-Flood**: NTP reflection attacks'."\n" - .'* **NetBIOS-Reflect-Flood**: NetBIOS reflection attacks'."\n" - .'* **SNMPv2-Reflect-Flood**: SNMPv2 reflection attacks'."\n" - .'* **CLDAP-Reflect-Flood**: CLDAP reflection attacks'."\n" - .'* **Ripv1-Reflect-Flood**: RIPv1 reflection attacks'."\n" - .'* **OpenVPN-Reflect-Flood**: OpenVPN reflection attacks'."\n" - .'* **SSDP-Reflect-Flood**: SSDP reflection attacks'."\n" - .'* **NetAssistant-Reflect-Flood**: NetAssistant reflection attacks'."\n" - .'* **WSDiscovery-Reflect-Flood**: WS-Discovery reflection attacks'."\n" - .'* **Kad-Reflect-Flood**: Kad reflection attacks'."\n" - .'* **mDNS-Reflect-Flood**: mDNS reflection attacks'."\n" - .'* **10001-Reflect-Flood**: reflection attacks over port 10001'."\n" - .'* **Memcached-Reflect-Flood**: Memcached reflection attacks'."\n" - .'* **QNP-Reflect-Flood**: QNP reflection attacks'."\n" - .'* **DVR-Reflect-Flood**: DVR reflection attacks'."\n" - .'* **CoAP-Reflect-Flood**: CoAP reflection attacks'."\n" - .'* **ADDP-Reflect-Flood**: ADDP reflection attacks'."\n" - .'* **Tcp-Syn**: TCP SYN flood attacks'."\n" - .'* **Tcp-Fin**: TCP FIN flood attacks'."\n" - .'* **Tcp-Ack**: TCP ACK flood attacks'."\n" - .'* **Tcp-Rst**: TCP RST flood attacks'."\n" - .'* **Tcp-Pushack**: TCP PSH-ACK flood attacks'."\n" - .'* **Tcp-Synack**: TCP SYN-ACK flood attacks'."\n" - .'* **Udp-None**: UDP attacks'."\n" - .'* **Udp-Ssh**: UDP-based SSH attacks'."\n" - .'* **Udp-Dns**: UDP-based DNS attacks'."\n" - .'* **Udp-Http**: UDP-based HTTP attacks'."\n" - .'* **Udp-Https**: UDP-based HTTPS attacks'."\n" - .'* **Udp-Ntp**: UDP-based NTP attacks'."\n" - .'* **Udp-Ldap**: UDP-based LDAP attacks'."\n" - .'* **Udp-Ssdp**: UDP-based SSDP attacks'."\n" - .'* **Udp-Memcached**: Memcached UDP reflection attacks'."\n" - .'* **Tcp-Other**: other TCP attacks'."\n" - .'* **Icmp**: ICMP flood attacks'."\n" - .'* **Igmp**: IGMP flood attacks'."\n" - .'* **Ipv6**: IPv6 attacks'."\n", - 'type' => 'string', - 'example' => 'Tcp-Syn', - ], + 'AccessMode' => ['description' => 'The access mode. Valid values:'."\n" + ."\n" + .'- **0**: A record access'."\n" + ."\n" + .'- **1**: Anti-DDoS Proxy mode'."\n" + ."\n" + .'- **2**: Back-to-origin mode', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '0'], + 'Domain' => ['description' => 'The domain name of the website.', 'type' => 'string', 'title' => '', 'example' => 'www.aliyun.com'], ], + 'description' => '', + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6F644A6E-40E7-483F-9DBB-CC27E16BB555\\",\\n \\"AttackTypes\\": [\\n {\\n \\"InPkts\\": 145902,\\n \\"AttackType\\": \\"Tcp-Syn\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\r\\n\\r\\n\\t6F644A6E-40E7-483F-9DBB-CC27E16BB555\\r\\n\\t\\r\\n\\t\\tTcp-Syn\\r\\n\\t\\t145902\\r\\n\\t\\r\\n\\t\\r\\n\\t\\tTcp-Other\\r\\n\\t\\t3\\r\\n\\t\\r\\n ","errorExample":""}]', - 'title' => 'DescribeDDosEventAttackType', - 'summary' => 'Queries the attack type details of a volumetric attack.', - 'description' => '> This operation is suitable only for volumetric attacks.'."\n", - 'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see [Common parameters](~~157269~~).'."\n" - ."\n" - .'For more information about sample requests, see the **"Examples"** section of this topic.'."\n", + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\",\\n \\"DomainModes\\": [\\n {\\n \\"AccessMode\\": 0,\\n \\"Domain\\": \\"www.aliyun.com\\"\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'DescribeWebAccessMode', + 'summary' => 'Queries the access mode of website businesses.', + 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeDDosEventIsp' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:14.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeWebAccessMode'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeWebAccessMode', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'DescribeWebAreaBlockConfigs' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -14575,56 +14057,29 @@ 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', - 'abilityTreeCode' => '106112', - 'abilityTreeNodes' => [ - 'FEATUREddosY2OCST', - ], + 'abilityTreeCode' => '106202', + 'abilityTreeNodes' => ['FEATUREddosOZ1QOD'], ], 'parameters' => [ [ - 'name' => 'EventType', + 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => 'The type of the attack event that you want to query. Valid values:'."\n" - ."\n" - .'* **defense**: attack events that trigger traffic scrubbing'."\n" - .'* **blackhole**: attack events that trigger blackhole filtering'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'defense', - ], + 'schema' => ['description' => 'The resource group ID of the Anti-DDoS Proxy instance in Resource Management. The default value is empty, which indicates that the instance belongs to the default resource group.', 'type' => 'string', 'required' => false, 'example' => 'default', 'title' => ''], ], [ - 'name' => 'StartTime', + 'name' => 'Domains', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => 'The UNIX timestamp when the query starts. Unit: seconds.'."\n" + 'description' => 'The domain names of the website services.'."\n" ."\n" - .'> You can call the [DescribeDDosAllEventList](~~188604~~) operation to query the beginning time of all attack events.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1598948471', - ], - ], - [ - 'name' => 'Ip', - 'in' => 'query', - 'schema' => [ - 'description' => 'The IP address of the attacked Anti-DDoS Pro or Anti-DDoS Premium instance.'."\n", - 'type' => 'string', + .'> The domain names must have forwarding rules configured for website services. You can call [DescribeDomains](~~91724~~) to query all domain names.', + 'type' => 'array', + 'items' => ['description' => 'The domain name of the website service.', 'type' => 'string', 'required' => false, 'example' => 'www.aliyun**.com', 'title' => ''], 'required' => true, - 'example' => '203.***.***.199', - ], - ], - [ - 'name' => 'Range', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'default' => '50', + 'example' => 'www.aliyun.com', + 'maxItems' => 10, + 'title' => '', ], ], ], @@ -14633,135 +14088,114 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'C4A3BCD1-4A32-4342-941A-4745AE69508C', - ], - 'Isps' => [ - 'description' => 'The ISPs for the volumetric attack.'."\n", + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc', 'title' => ''], + 'AreaBlockConfigs' => [ + 'description' => 'The configuration information of the Location Blacklist feature (for domain names).', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'InPkts' => [ - 'description' => 'The number of request packets that were sent from the ISP.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '230', - ], - 'Isp' => [ - 'description' => 'The code of the ISP. Valid values:'."\n" - ."\n" - .'* **100017**: China Telecom'."\n" - .'* **100026**: China Unicom'."\n" - .'* **100025**: China Mobile'."\n" - .'* **100027**: China Education and Research Network'."\n" - .'* **100020**: China Mobile Tietong'."\n" - .'* **1000143**: Dr.Peng Telecom & Media Group'."\n" - .'* **100080**: Beijing Gehua CATV Network'."\n" - .'* **1000139**: National Radio and Television Administration'."\n" - .'* **100023**: Oriental Cable Network'."\n" - .'* **100063**: Founder Broadband'."\n" - .'* **1000337**: China Internet Exchange'."\n" - .'* **100021**: 21Vianet Group'."\n" - .'* **1000333**: Wasu Media Holding'."\n" - .'* **100093**: Wangsu Science & Technology'."\n" - .'* **1000401**: Tencent'."\n" - .'* **100099**: Baidu'."\n" - .'* **1000323**: Alibaba Cloud'."\n" - .'* **100098**: Alibaba'."\n", - 'type' => 'string', - 'example' => '1000323', + 'Domain' => ['description' => 'The domain name of the website.', 'type' => 'string', 'example' => 'www.aliyun.com', 'title' => ''], + 'RegionList' => [ + 'description' => 'The information about the blocked regions.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Region' => ['description' => 'The region.', 'type' => 'string', 'example' => 'CN-SHANGHAI', 'title' => ''], + 'Block' => ['description' => 'The blocking status. Valid values:'."\n" + ."\n" + .'- **0**: not blocked'."\n" + ."\n" + .'- **1**: blocked', 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"C4A3BCD1-4A32-4342-941A-4745AE69508C\\",\\n \\"Isps\\": [\\n {\\n \\"InPkts\\": 230,\\n \\"Isp\\": \\"1000323\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\r\\n\\r\\n\\tC4A3BCD1-4A32-4342-941A-4745AE69508C\\r\\n\\t\\r\\n\\t\\t230\\r\\n\\t\\t1000323\\r\\n\\t\\r\\n\\t\\r\\n\\t\\t24\\r\\n\\t\\t100098\\r\\n\\t\\r\\n ","errorExample":""}]', - 'title' => 'DescribeDDosEventIsp', - 'summary' => 'Queries the Internet service provider (ISP) information about a volumetric attack.', - 'description' => '> This operation is suitable only for volumetric attacks.'."\n", - 'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see [Common parameters](~~157269~~).'."\n" - ."\n" - .'For more information about sample requests, see the **"Examples"** section of this topic.'."\n", + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\",\\n \\"AreaBlockConfigs\\": [\\n {\\n \\"Domain\\": \\"www.aliyun.com\\",\\n \\"RegionList\\": [\\n {\\n \\"Region\\": \\"CN-SHANGHAI\\",\\n \\"Block\\": 0\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'DescribeWebAreaBlockConfigs', + 'summary' => 'Queries the configuration information of the Location Blacklist feature (for domain names) in website services.', + 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeDDosEventSrcIp' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:14.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeWebAreaBlockConfigs'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeWebAreaBlockConfigs', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'DescribeWebCCRules' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'deprecated' => false, + 'deprecated' => true, 'systemTags' => [ 'operationType' => 'get', - 'abilityTreeCode' => '106115', - 'abilityTreeNodes' => [ - 'FEATUREddosY2OCST', - ], + 'abilityTreeCode' => '106205', + 'abilityTreeNodes' => ['FEATUREddosOZ1QOD'], ], 'parameters' => [ [ - 'name' => 'EventType', + 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => 'The type of the attack event that you want to query. Valid values:'."\n" - ."\n" - .'* **defense**: attack events that trigger traffic scrubbing'."\n" - .'* **blackhole**: attack events that trigger blackhole filtering'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'defense', - ], + 'schema' => ['description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n", 'type' => 'string', 'required' => false, 'example' => 'default', 'title' => ''], ], [ - 'name' => 'StartTime', + 'name' => 'Domain', 'in' => 'query', - 'schema' => [ - 'description' => 'The UNIX timestamp when the query starts. Unit: seconds.'."\n" - ."\n" - .'> You can call the [DescribeDDosAllEventList](~~188604~~) operation to query the beginning time of all attack events.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1598948471', - ], + 'schema' => ['description' => 'The domain name of the website.'."\n" + ."\n" + .'> A forwarding rule must be configured for the domain name. You can call the [DescribeDomains](~~91724~~) operation to query all domain names.'."\n", 'type' => 'string', 'required' => true, 'example' => 'www.aliyun.com', 'title' => ''], ], [ - 'name' => 'Ip', + 'name' => 'PageNumber', 'in' => 'query', - 'schema' => [ - 'description' => 'The IP address of the attacked Anti-DDoS Pro or Anti-DDoS Premium instance.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '203.***.***.199', - ], + 'schema' => ['description' => 'The number of the page to return. For example, to query the returned results on the first page, set the value to **1**.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], ], [ - 'name' => 'Range', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of source IP addresses that you want to return. The source IP addresses are returned in descending order of attack traffic. By default, the top **five** source IP addresses are returned.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '2', - ], + 'schema' => ['description' => 'The number of entries to return on each page.'."\n", 'type' => 'string', 'required' => true, 'example' => '10', 'title' => ''], ], ], 'responses' => [ @@ -14769,77 +14203,76 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '38A0224E-FDBC-4733-A362-B391827FC1E9', - ], - 'Ips' => [ - 'description' => 'An array that consists of information about the source IP address of the volumetric attack.'."\n", + 'TotalCount' => ['description' => 'The total number of custom frequency control rules.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'EAED912D-909E-45F0-AF74-AC0CCDCAE314', 'title' => ''], + 'WebCCRules' => [ + 'description' => 'The custom frequency control rule.'."\n", 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'SrcIp' => [ - 'description' => 'The source IP address of the volumetric attack.'."\n", - 'type' => 'string', - 'example' => '218.***.***.24', - ], - 'AreaId' => [ - 'description' => 'The code or ID of the source region. For more information, see [Codes of administrative regions in China and codes of countries and areas](~~167926~~). For example, **110000** indicates Beijing, China, and **us** indicates the United States.'."\n", - 'type' => 'string', - 'example' => '110000', - ], - 'Isp' => [ - 'description' => 'The Internet service provider (ISP) for the volumetric attack. Valid values:'."\n" - ."\n" - .'* **100017**: China Telecom'."\n" - .'* **100026**: China Unicom'."\n" - .'* **100025**: China Mobile'."\n" - .'* **100027**: China Education and Research Network'."\n" - .'* **100020**: China Mobile Tietong'."\n" - .'* **1000143**: Dr.Peng Telecom & Media Group'."\n" - .'* **100080**: Beijing Gehua CATV Network'."\n" - .'* **1000139**: National Radio and Television Administration'."\n" - .'* **100023**: Oriental Cable Network'."\n" - .'* **100063**: Founder Broadband'."\n" - .'* **1000337**: China Internet Exchange'."\n" - .'* **100021**: 21Vianet Group'."\n" - .'* **1000333**: Wasu Media Holding'."\n" - .'* **100093**: Wangsu Science & Technology'."\n" - .'* **1000401**: Tencent'."\n" - .'* **100099**: Baidu'."\n" - .'* **1000323**: Alibaba Cloud'."\n" - .'* **100098**: Alibaba'."\n", - 'type' => 'string', - 'example' => '100026', - ], + 'Ttl' => ['description' => 'The validity period. Valid values: **1** to **1440**. Unit: minutes.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '60', 'title' => ''], + 'Act' => ['description' => 'The action triggered if the rule is matched. Valid values:'."\n" + ."\n" + .'* **close**: The requests that match the rule are blocked.'."\n" + .'* **captcha**: Completely Automated Public Turing test to tell Computers and Humans Apart (CAPTCHA) verification for the requests that match the rule is implemented.'."\n", 'type' => 'string', 'example' => 'close', 'title' => ''], + 'Interval' => ['description' => 'The check interval. Valid values: **5** to **10800**. Unit: seconds.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '5', 'title' => ''], + 'Mode' => ['description' => 'The match mode. Valid values:'."\n" + ."\n" + .'* **prefix**: prefix match.'."\n" + .'* **match**: exact match.'."\n", 'type' => 'string', 'example' => 'prefix', 'title' => ''], + 'Name' => ['description' => 'The name of the rule.'."\n", 'type' => 'string', 'example' => 'wq', 'title' => ''], + 'Uri' => ['description' => 'The check path.'."\n", 'type' => 'string', 'example' => '/hello', 'title' => ''], + 'Count' => ['description' => 'The number of requests that are allowed from a single IP address. Valid values: **2** to **2000**.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '3', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"38A0224E-FDBC-4733-A362-B391827FC1E9\\",\\n \\"Ips\\": [\\n {\\n \\"SrcIp\\": \\"218.***.***.24\\",\\n \\"AreaId\\": \\"110000\\",\\n \\"Isp\\": \\"100026\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\r\\n\\r\\n\\t38A0224E-FDBC-4733-A362-B391827FC1E9\\r\\n\\t\\r\\n\\t\\t100026\\r\\n\\t\\t110000\\r\\n\\t\\t218.***.***.24\\r\\n\\t\\r\\n\\t\\r\\n\\t\\t\\r\\n\\t\\tus\\r\\n\\t\\t193.***.***.174\\r\\n\\t\\r\\n\\r\\n","errorExample":""}]', - 'title' => 'DescribeDDosEventSrcIp', - 'summary' => 'Queries the source IP address from which a volumetric attack is initiated.', - 'description' => '> This operation is suitable only for volumetric attacks.'."\n", - 'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see [Common parameters](~~157269~~).'."\n" - ."\n" - .'For more information about sample requests, see the **"Examples"** section of this topic.'."\n", + 'staticInfo' => [ + 'substitutions' => ['ddoscoo::2020-01-01::ConfigWebCCRuleV2'], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"TotalCount\\": 1,\\n \\"RequestId\\": \\"EAED912D-909E-45F0-AF74-AC0CCDCAE314\\",\\n \\"WebCCRules\\": [\\n {\\n \\"Ttl\\": 60,\\n \\"Act\\": \\"close\\",\\n \\"Interval\\": 5,\\n \\"Mode\\": \\"prefix\\",\\n \\"Name\\": \\"wq\\",\\n \\"Uri\\": \\"/hello\\",\\n \\"Count\\": 3\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\r\\n\\r\\n\\t1\\r\\n\\tEAED912D-909E-45F0-AF74-AC0CCDCAE314\\r\\n\\t\\r\\n\\t\\tclose\\r\\n\\t\\tprefix\\r\\n\\t\\t3\\r\\n\\t\\t60\\r\\n\\t\\t/hello\\r\\n\\t\\twq\\r\\n\\t\\t5\\r\\n\\t\\r\\n","errorExample":""}]', + 'title' => 'DescribeWebCCRules', + 'summary' => 'Queries the custom frequency control rules that are created for a website.', + 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeBackSourceCidr' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:14.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeWebCCRules'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeWebCCRules', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'DescribeWebCCRulesV2' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -14848,170 +14281,236 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeCode' => '106098', - 'abilityTreeNodes' => [ - 'FEATUREddos64TBV6', - ], - 'tenantRelevance' => 'publicInformation', + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '198809', + 'abilityTreeNodes' => ['FEATUREddosOZ1QOD'], ], 'parameters' => [ [ - 'name' => 'ResourceGroupId', + 'name' => 'Domain', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'rg-acfm2pz25js****', - ], + 'schema' => ['description' => 'The domain name of the website protected by Alibaba Cloud Anti-DDoS Pro or Anti-DDoS Premium.', 'type' => 'string', 'required' => false, 'example' => 'example.com', 'title' => ''], ], [ - 'name' => 'Line', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => 'The Internet service provider (ISP) line that you want to query.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'coop-line-001', - ], + 'schema' => ['description' => 'The number of entries to return on each page. Maximum value: **20**. Default value: **20**.', 'type' => 'string', 'required' => false, 'example' => '20', 'title' => ''], ], [ - 'name' => 'IpVersion', + 'name' => 'Offset', 'in' => 'query', - 'schema' => [ - 'description' => 'The IP version of the back-to-origin CIDR blocks.'."\n" - ."\n" - .'* **Ipv4**'."\n" - .'* **Ipv6**'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'IPv4', - ], + 'schema' => ['description' => 'The starting index of the results to return. Default value: **0**.', 'type' => 'string', 'required' => false, 'example' => '0', 'title' => ''], + ], + [ + 'name' => 'Owner', + 'in' => 'query', + 'schema' => ['description' => 'The source of the rule. Valid values:'."\n" + ."\n" + .'- **manual** (default): manually added'."\n" + ."\n" + .'- **clover**: automatically generated', 'type' => 'string', 'example' => 'manual', 'required' => false, 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request, which is used to locate and troubleshoot issues.'."\n", - 'type' => 'string', - 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc', - ], - 'Cidrs' => [ - 'description' => 'An array that consists of the back-to-origin CIDR blocks of the instance.'."\n", + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The ID of the request. Alibaba Cloud generates a unique identifier for each request. Use this ID to troubleshoot issues.', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'], + 'TotalCount' => ['description' => 'The total number of frequency control rules.', 'type' => 'string', 'example' => '12', 'title' => ''], + 'Domain' => ['description' => 'The domain name of the website.', 'type' => 'string', 'example' => 'www.aliyun.com', 'title' => ''], + 'WebCCRules' => [ + 'description' => 'Custom HTTP flood protection (CC protection) rules.', 'type' => 'array', 'items' => [ - 'description' => 'The back-to-origin CIDR block of the instance.'."\n", - 'type' => 'string', - 'example' => '47.0.XX.XX/25', - ], - ], - ], - ], - ], - ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\",\\n \\"Cidrs\\": [\\n \\"47.0.XX.XX/25\\"\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\n 0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\n [ \\"47.0.XX.XX/25\\",\\"47.128.XX.XX/25\\" ]\\n","errorExample":""}]', - 'title' => 'DescribeBackSourceCidr', - 'summary' => 'Queries the back-to-origin CIDR blocks of Anti-DDoS Proxy.', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'DescribeDDosAllEventList' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeCode' => '106109', - 'abilityTreeNodes' => [ - 'FEATUREddosRTUJBH', - ], - ], - 'parameters' => [ - [ - 'name' => 'EventType', - 'in' => 'query', - 'schema' => [ - 'description' => 'The type of the DDoS attack events you want to query. Valid values:'."\n" - ."\n" - .'* **web-cc**: resource exhaustion attacks'."\n" - .'* **cc**: connection flood attacks'."\n" - .'* **defense**: DDoS attacks that trigger traffic scrubbing'."\n" - .'* **blackhole**: DDoS attacks that trigger blackhole filtering'."\n" - ."\n" - .'If you want to query multiple types of DDoS attack events, separate them with commas (,).'."\n" - ."\n" - .'If you do not configure this parameter, DDoS attack events of all types are queried.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'defense', - ], - ], - [ - 'name' => 'StartTime', - 'in' => 'query', - 'schema' => [ - 'description' => 'The beginning of the time range to query. The DDoS attack events occur after **StartTime** are queried. This value is a UNIX timestamp. Unit: seconds.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1609430400', + 'description' => 'Custom HTTP flood protection (CC protection) rules.', + 'type' => 'object', + 'properties' => [ + 'Owner' => ['description' => 'The source of the rule. Valid values:'."\n" + ."\n" + .'- **manual** (default): manually added'."\n" + ."\n" + .'- **clover**: automatically generated', 'type' => 'string', 'example' => 'manual', 'title' => ''], + 'Expires' => ['description' => 'The validity period of the rule, in seconds. This parameter takes effect only when the action is set to block. During the validity period, access requests are blocked. A value of 0 means the rule is permanently valid.', 'type' => 'integer', 'format' => 'int64', 'example' => '0', 'title' => ''], + 'Name' => ['description' => 'The name of the rule.', 'type' => 'string', 'example' => 'wq', 'title' => ''], + 'RuleDetail' => [ + 'description' => 'Details of the rule.', + 'type' => 'object', + 'properties' => [ + 'Mode' => ['description' => 'Legacy rule format. Deprecated.', 'type' => 'string', 'example' => '废弃', 'title' => ''], + 'Count' => ['description' => 'Legacy rule format. Deprecated.', 'type' => 'integer', 'format' => 'int32', 'example' => '废弃', 'title' => ''], + 'Name' => ['description' => 'The name of the rule.', 'type' => 'string', 'example' => 'ccauto14', 'title' => ''], + 'Action' => ['description' => 'The action to take when the rule matches. Valid values:'."\n" + ."\n" + .'- **accept**: allow'."\n" + ."\n" + .'- **block**: block'."\n" + ."\n" + .'- **challenge**: JavaScript Challenge'."\n" + ."\n" + .'- **watch**: monitor', 'type' => 'string', 'example' => 'block', 'title' => ''], + 'Interval' => ['description' => 'Legacy rule format. Deprecated.', 'type' => 'integer', 'format' => 'int32', 'example' => '60', 'title' => ''], + 'Ttl' => ['description' => 'Legacy rule format. Deprecated.', 'type' => 'integer', 'format' => 'int32', 'example' => '300', 'title' => ''], + 'Uri' => ['description' => 'Legacy rule format. Deprecated.', 'type' => 'string', 'example' => '/p3shijihao', 'title' => ''], + 'RateLimit' => [ + 'description' => 'Rate limiting settings.', + 'type' => 'object', + 'properties' => [ + 'SubKey' => ['description' => 'The header field name. Set this parameter only when Target is set to header.', 'type' => 'string', 'example' => 'action', 'title' => ''], + 'Interval' => ['description' => 'The statistical period, in seconds.', 'type' => 'integer', 'format' => 'int32', 'example' => '60', 'title' => ''], + 'Threshold' => ['description' => 'The threshold that triggers the action.', 'type' => 'integer', 'format' => 'int32', 'example' => '20', 'title' => ''], + 'Ttl' => ['description' => 'The blocking duration, in seconds.', 'type' => 'integer', 'format' => 'int32', 'example' => '15', 'title' => ''], + 'Target' => ['description' => 'The source for statistics. Valid values:'."\n" + ."\n" + .'- **ip**: count by IP address'."\n" + ."\n" + .'- **header**: count by HTTP header', 'type' => 'string', 'example' => 'ip', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'Condition' => [ + 'description' => 'A list of matching conditions.', + 'type' => 'array', + 'items' => [ + 'description' => 'A matching condition.', + 'type' => 'object', + 'properties' => [ + 'MatchMethod' => ['description' => 'The matching method.', 'type' => 'string', 'example' => 'belong', 'title' => ''], + 'Field' => ['description' => 'The field to match.', 'type' => 'string', 'example' => 'ip', 'title' => ''], + 'HeaderName' => ['description' => 'The custom HTTP header field name.'."\n" + ."\n" + .'> This parameter takes effect only when **Field** is set to **header**.', 'type' => 'string', 'example' => 'null', 'title' => ''], + 'Content' => ['description' => 'The content to match.', 'type' => 'string', 'example' => '192.0.XX.XX', 'title' => ''], + 'ContentList' => [ + 'description' => 'The content to match when MatchMethod is set to match one of multiple values.', + 'items' => ['type' => 'string', 'example' => '["2","3","ad"]', 'description' => '', 'title' => ''], + 'type' => 'array', + 'example' => '["2","3","ad"]', + 'title' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + 'Statistics' => [ + 'description' => 'Deduplication settings. This parameter is optional. If not specified, deduplication is disabled.', + 'type' => 'object', + 'properties' => [ + 'Mode' => ['description' => 'The deduplication mode. Valid values:'."\n" + ."\n" + .'- **count**: no deduplication'."\n" + ."\n" + .'- **distinct**: deduplication enabled', 'type' => 'string', 'example' => 'count', 'title' => ''], + 'Field' => ['description' => 'The source for statistics. Valid values:'."\n" + ."\n" + .'- **ip**: count by IP address'."\n" + ."\n" + .'- **header**: count by HTTP header'."\n" + ."\n" + .'- **uri**: count by URI', 'type' => 'string', 'example' => 'uri', 'title' => ''], + 'HeaderName' => ['description' => 'Set this parameter only when Field is set to header.', 'type' => 'string', 'example' => 'hello', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'StatusCode' => [ + 'description' => 'The status code of the rule.', + 'type' => 'object', + 'properties' => [ + 'Enabled' => ['description' => 'Whether the status code check is enabled. Valid values:'."\n" + ."\n" + .'- **true**: enabled'."\n" + ."\n" + .'- **false**: disabled', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'Code' => ['description' => 'The HTTP status code. Valid values: **100** to **599**.'."\n" + ."\n" + .'- **200**: success'."\n" + ."\n" + .'- Others: error codes', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'UseRatio' => ['description' => 'Whether to use a ratio threshold:'."\n" + ."\n" + .'- **true**: use ratio'."\n" + ."\n" + .'- **false**: do not use ratio', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'CountThreshold' => ['description' => 'If UseRatio is false, the action is triggered only when the number of requests with the specified status code reaches **CountThreshold**. Valid values: **2** to **50000**.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], + 'RatioThreshold' => ['description' => 'If UseRatio is true, the action is triggered only when the percentage of requests with the specified status code reaches **RatioThreshold**. Valid values: **1** to **100**.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'example' => '', ], ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'DescribeWebCCRulesV2', + 'summary' => 'Queries the custom HTTP flood protection (CC protection) rules for website traffic.', + 'changeSet' => [ + ['createdAt' => '2024-07-30T03:50:36.000Z', 'description' => 'Response parameters changed'], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\",\\n \\"TotalCount\\": \\"12\\",\\n \\"Domain\\": \\"www.aliyun.com\\",\\n \\"WebCCRules\\": [\\n {\\n \\"Owner\\": \\"manual\\",\\n \\"Expires\\": 0,\\n \\"Name\\": \\"wq\\",\\n \\"RuleDetail\\": {\\n \\"Mode\\": \\"废弃\\",\\n \\"Count\\": 0,\\n \\"Name\\": \\"ccauto14\\",\\n \\"Action\\": \\"block\\",\\n \\"Interval\\": 60,\\n \\"Ttl\\": 300,\\n \\"Uri\\": \\"/p3shijihao\\",\\n \\"RateLimit\\": {\\n \\"SubKey\\": \\"action\\",\\n \\"Interval\\": 60,\\n \\"Threshold\\": 20,\\n \\"Ttl\\": 15,\\n \\"Target\\": \\"ip\\"\\n },\\n \\"Condition\\": [\\n {\\n \\"MatchMethod\\": \\"belong\\",\\n \\"Field\\": \\"ip\\",\\n \\"HeaderName\\": \\"null\\",\\n \\"Content\\": \\"192.0.XX.XX\\",\\n \\"ContentList\\": [\\n \\"[\\\\\\"2\\\\\\",\\\\\\"3\\\\\\",\\\\\\"ad\\\\\\"]\\"\\n ]\\n }\\n ],\\n \\"Statistics\\": {\\n \\"Mode\\": \\"count\\",\\n \\"Field\\": \\"uri\\",\\n \\"HeaderName\\": \\"hello\\"\\n },\\n \\"StatusCode\\": {\\n \\"Enabled\\": true,\\n \\"Code\\": 200,\\n \\"UseRatio\\": true,\\n \\"CountThreshold\\": 10,\\n \\"RatioThreshold\\": 10\\n }\\n }\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeWebCacheConfigs' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'EndTime', - 'in' => 'query', - 'schema' => [ - 'description' => 'The end of the time range to query. The DDoS attack events occur before **EndTime** are queried. This value is a UNIX timestamp. Unit: seconds.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1640966399', - ], + 'AK' => [], ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '106203', + 'abilityTreeNodes' => ['FEATUREddosOZ1QOD'], + ], + 'parameters' => [ [ - 'name' => 'PageNumber', + 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of the page to return.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '1', - ], + 'schema' => ['description' => 'The ID of the resource group to which the instance belongs in Resource Management.'."\n" + ."\n" + .'If you do not configure this parameter, the instance belongs to the default resource group.'."\n", 'type' => 'string', 'required' => false, 'example' => 'rg-acfm2pz25js****', 'title' => ''], ], [ - 'name' => 'PageSize', + 'name' => 'Domains', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => 'The number of entries to return on each page.'."\n", - 'type' => 'integer', - 'format' => 'int32', + 'description' => 'An array consisting of domain names for which you want to query the Static Page Caching configurations.'."\n", + 'type' => 'array', + 'items' => ['description' => 'The domain name for which you want to query the Static Page Caching configurations.'."\n" + ."\n" + .'> You can call the [DescribeDomains](~~91724~~) operation to query all the domain names that are added to Anti-DDoS Pro or Anti-DDoS Premium.'."\n", 'type' => 'string', 'required' => false, 'example' => 'www.aliyundoc.com', 'title' => ''], 'required' => true, - 'example' => '10', - ], - ], - [ - 'name' => 'Ip', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', + 'example' => 'www.aliyun.com', + 'maxItems' => 5, + 'title' => '', ], ], ], @@ -15020,100 +14519,64 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Total' => [ - 'description' => 'The total number of DDoS attack events.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '25D83ED5-28CB-5683-9CF7-AECE521F3005', - ], - 'AttackEvents' => [ - 'description' => 'The DDoS attack events.'."\n", + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '6623EA1F-30FB-5BC8-BEC9-74D55F6F08F1', 'title' => ''], + 'DomainCacheConfigs' => [ + 'description' => 'An array that consists of Static Page Caching configurations.'."\n", 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'EndTime' => [ - 'description' => 'The time when the DDoS attack stopped. This value is a UNIX timestamp. Unit: seconds.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1634546030', - ], - 'StartTime' => [ - 'description' => 'The time when the DDoS attack started. This value is a UNIX timestamp. Unit: seconds.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1634543764', - ], - 'EventType' => [ - 'description' => 'The type of the DDoS attack event. Valid values:'."\n" - ."\n" - .'* **web-cc**: resource exhaustion attacks'."\n" - .'* **cc**: connection flood attacks'."\n" - .'* **defense**: DDoS attacks that trigger traffic scrubbing'."\n" - .'* **blackhole**: DDoS attacks that trigger blackhole filtering'."\n", - 'type' => 'string', - 'example' => 'cc', - ], - 'Mbps' => [ - 'description' => 'The peak bandwidth of the attack traffic. Unit: Mbit/s.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '101899', - ], - 'Ip' => [ - 'description' => 'The attacked object. The attacked object varies based on the attack event type. The following list describes different attacked objects of different attack event types:'."\n" - ."\n" - .'* If **EventType** is set to **web-cc**, the value of this parameter indicates the domain name of the attacked website.'."\n" - .'* If **EventType** is set to **cc**, the value of this parameter indicates the IP address of the attacked Anti-DDoS Pro or Anti-DDoS Premium instance.'."\n" - .'* If **EventType** is set to **defense** or **blackhole**, the value of this parameter indicates the IP address of the attacked Anti-DDoS Pro or Anti-DDoS Premium instance.'."\n", - 'type' => 'string', - 'example' => '203.107.XX.XX', - ], - 'Area' => [ - 'description' => 'The source location or region from which the attack was initiated. Valid values:'."\n" - ."\n" - .'* **cn**: Chinese mainland'."\n" - .'* **alb-cn-hongkong-gf-2**: China (Hongkong)'."\n" - .'* **alb-us-west-1-gf-2**: US (Silicon Valley)'."\n" - .'* **alb-ap-northeast-1-gf-1**: Japan (Tokyo)'."\n" - .'* **alb-ap-southeast-gf-1**: Singapore'."\n" - .'* **alb-eu-central-1-gf-1**: Germany (Frankfurt)'."\n" - .'* **alb-eu-central-1-gf-1** or **selb-eu-west-1-gf-1a**: UK (London)'."\n" - .'* **alb-us-east-gf-1**: US (Virginia)'."\n" - .'* **CT-yundi**: China (Hongkong) This value is returned only for Anti-DDoS Premium instances of the Secure Chinese Mainland Acceleration (Sec-CMA) mitigation plan.'."\n", - 'type' => 'string', - 'example' => 'cn', - ], - 'Port' => [ - 'description' => 'The attacked port.'."\n" - ."\n" - .'> If **EventType** is set to **web-cc**, this parameter is not returned.'."\n", - 'type' => 'string', - 'example' => '80', - ], - 'Pps' => [ - 'description' => 'The peak packet forwarding rate of attack traffic. Unit: packets per second (pps).'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '9664270', + 'Domain' => ['description' => 'The domain name of the website.'."\n", 'type' => 'string', 'example' => 'www.aliyundoc.com', 'title' => ''], + 'Mode' => ['description' => 'The cache mode. Valid values:'."\n" + ."\n" + .'* **standard**: The standard cache mode is used.'."\n" + .'* **aggressive**: The enhanced cache mode is used.'."\n" + .'* **bypass**: No data is cached.'."\n", 'type' => 'string', 'example' => 'bypass', 'title' => ''], + 'Enable' => ['description' => 'The status of the Static Page Caching policy. Valid values:'."\n" + ."\n" + .'* **1**: enabled'."\n" + .'* **0**: disabled'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'CustomRules' => [ + 'description' => 'An array that consists of custom caching rules.'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Mode' => ['description' => 'The cache mode. Valid values:'."\n" + ."\n" + .'* **standard**: The standard cache mode is used.'."\n" + .'* **aggressive**: The enhanced cache mode is used.'."\n" + .'* **bypass**: No data is cached.'."\n", 'type' => 'string', 'example' => 'standard', 'title' => ''], + 'CacheTtl' => ['description' => 'The expiration time of the page cache. Unit: seconds.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '86400', 'title' => ''], + 'Name' => ['description' => 'The name of the rule.'."\n", 'type' => 'string', 'example' => 'c1', 'title' => ''], + 'Uri' => ['description' => 'The path to the cached page.'."\n", 'type' => 'string', 'example' => '/blog/', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Total\\": 1,\\n \\"RequestId\\": \\"25D83ED5-28CB-5683-9CF7-AECE521F3005\\",\\n \\"AttackEvents\\": [\\n {\\n \\"EndTime\\": 1634546030,\\n \\"StartTime\\": 1634543764,\\n \\"EventType\\": \\"cc\\",\\n \\"Mbps\\": 101899,\\n \\"Ip\\": \\"203.107.XX.XX\\",\\n \\"Area\\": \\"cn\\",\\n \\"Port\\": \\"80\\",\\n \\"Pps\\": 9664270\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\n 1\\n 25D83ED5-28CB-5683-9CF7-AECE521F3005\\n \\n 1634546030\\n 1634543764\\n cc\\n 101899\\n 203.107.XX.XX\\n cn\\n 80\\n 9664270\\n \\n","errorExample":""}]', - 'title' => 'DescribeDDosAllEventList', - 'summary' => 'Queries DDoS attack events.', - 'description' => 'You can call the DescribeDDosAllEventList operation to query DDoS attack events within a specific time range by page. The information about a DDoS attack event includes the start time and end time of the attack, attack event type, attacked object, peak bandwidth of attack traffic, and peak packet forwarding rate.'."\n" + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6623EA1F-30FB-5BC8-BEC9-74D55F6F08F1\\",\\n \\"DomainCacheConfigs\\": [\\n {\\n \\"Domain\\": \\"www.aliyundoc.com\\",\\n \\"Mode\\": \\"bypass\\",\\n \\"Enable\\": 1,\\n \\"CustomRules\\": [\\n {\\n \\"Mode\\": \\"standard\\",\\n \\"CacheTtl\\": 86400,\\n \\"Name\\": \\"c1\\",\\n \\"Uri\\": \\"/blog/\\"\\n }\\n ]\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\n 6623EA1F-30FB-5BC8-BEC9-74D55F6F08F1\\n \\n www.aliyundoc.com\\n bypass\\n 1\\n \\n standard\\n 86400\\n c1\\n /blog/\\n \\n \\n","errorExample":""}]', + 'title' => 'DescribeWebCacheConfigs', + 'summary' => 'Queries the Static Page Caching configuration of websites.', + 'description' => 'You can call the DescribeWebCacheConfigs operation to query the Static Page Caching configurations of websites. The configurations include cache modes and custom caching rules.'."\n" ."\n" .'### Limits'."\n" ."\n" @@ -15123,17 +14586,31 @@ .'For more information about sample requests, see the **"Examples"** section of this topic.'."\n", 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeDDoSEvents' => [ - 'summary' => 'Queries the attack events launched against one or more Anti-DDoS Proxy instances.', - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:14.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeWebCacheConfigs'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeWebCacheConfigs', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'DescribeWebCcProtectSwitch' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -15143,90 +14620,29 @@ 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '106114', - 'abilityTreeNodes' => [ - 'FEATUREddosRTUJBH', - ], + 'abilityTreeCode' => '106204', + 'abilityTreeNodes' => ['FEATUREddosCRC1QI'], ], 'parameters' => [ [ 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'default', - ], - ], - [ - 'name' => 'EndTime', - 'in' => 'query', - 'schema' => [ - 'description' => 'The end of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n" - ."\n" - .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1583683200', - ], - ], - [ - 'name' => 'StartTime', - 'in' => 'query', - 'schema' => [ - 'description' => 'The beginning of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n" - ."\n" - .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1582992000', - ], - ], - [ - 'name' => 'PageSize', - 'in' => 'query', - 'schema' => [ - 'description' => 'The number of entries to return on each page.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '10', - ], - ], - [ - 'name' => 'PageNumber', - 'in' => 'query', - 'schema' => [ - 'description' => 'The number of the page to return. For example, to query the returned results on the first page, set the value to **1**.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '1', - ], + 'schema' => ['description' => 'The ID of the resource group to which the Anti-DDoS Pro or Anti-DDoS Premium instance belongs in Resource Management. This parameter is empty by default. This means the instance belongs to the default resource group.', 'type' => 'string', 'required' => false, 'example' => 'default', 'title' => ''], ], [ - 'name' => 'InstanceIds', + 'name' => 'Domains', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ - 'description' => 'The ID of the instance.'."\n" + 'description' => 'The domain names of your web services. You can query up to five domain names at a time.'."\n" ."\n" - .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.'."\n", + .'> The domain names must have forwarding rules configured. You can call [DescribeDomains](~~91724~~) to query all domain names.', 'type' => 'array', - 'items' => [ - 'description' => 'The ID of the instance.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'ddoscoo-cn-mp91j1ao****', - ], + 'items' => ['description' => 'The domain name of the web service.', 'type' => 'string', 'required' => false, 'example' => 'www.aliyun**.com', 'title' => ''], 'required' => true, - 'example' => 'ddoscoo-cn-mp91j1ao****', - 'maxItems' => 100, + 'example' => 'www.aliyun.com', + 'maxItems' => 5, + 'title' => '', ], ], ], @@ -15235,101 +14651,113 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Total' => [ - 'description' => 'The total number of returned attack events.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '0CA72AF5-1795-4350-8C77-50A448A2F334', - ], - 'DDoSEvents' => [ - 'description' => 'The DDoS attack events.'."\n", + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '3ADD9EED-CA4B-488C-BC82-01B0B899363D', 'title' => ''], + 'ProtectSwitchList' => [ + 'description' => 'The status of each protection feature for the web services.', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'EndTime' => [ - 'description' => 'The time when the DDoS attack stopped. The value is a UNIX timestamp. Unit: seconds.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1583933330', - ], - 'StartTime' => [ - 'description' => 'The time when the DDoS attack started. The value is a UNIX timestamp. Unit: seconds.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1583933277', - ], - 'EventType' => [ - 'description' => 'The type of the attack event. Valid values:'."\n" - ."\n" - .'* **defense**: traffic scrubbing events'."\n" - .'* **blackhole**: blackhole filtering events'."\n", - 'type' => 'string', - 'example' => 'blackhole', - ], - 'Region' => [ - 'description' => 'The region from which the attack was launched. Valid values:'."\n" - ."\n" - .'* **cn**: a region in the Chinese mainland'."\n" - .'* **alb-ap-northeast-1-gf-x**: Japan (Tokyo)'."\n" - .'* **alb-ap-southeast-gf-x**: Singapore'."\n" - .'* **alb-cn-hongkong-gf-x**: Hong Kong (China)'."\n" - .'* **alb-eu-central-1-gf-x**: Germany (Frankfurt)'."\n" - .'* **alb-us-west-1-gf-x**: US (Silicon Valley)'."\n" - ."\n" - .'> The values except **cn** are returned only when **RegionId** is set to **ap-southeast-1**.'."\n", - 'type' => 'string', - 'example' => 'cn', - ], - 'Ip' => [ - 'description' => 'The attacked IP address.'."\n", - 'type' => 'string', - 'example' => '203.***.***.132', - ], - 'Port' => [ - 'description' => 'The attacked port.'."\n", - 'type' => 'string', - 'example' => '80', - ], - 'Bps' => [ - 'description' => 'The bandwidth of attack traffic. Unit: bit/s.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'Pps' => [ - 'description' => 'The packet forwarding rate of attack traffic. Unit: packets per second (pps).'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - ], - ], - ], - ], - ], - ], + 'BlackWhiteListEnable' => ['description' => 'The status of the blacklist and whitelist feature for the domain name. Valid values:'."\n" + ."\n" + .'- **0**: Disabled'."\n" + ."\n" + .'- **1**: Enabled', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'AiTemplate' => ['description' => 'The protection level of the AI-powered protection feature. Valid values:'."\n" + ."\n" + .'- **level30**: Loose'."\n" + ."\n" + .'- **level60**: Normal'."\n" + ."\n" + .'- **level90**: Strict', 'type' => 'string', 'example' => 'level60', 'title' => ''], + 'PreciseRuleEnable' => ['description' => 'The status of the accurate access control feature. Valid values:'."\n" + ."\n" + .'- **0**: Disabled'."\n" + ."\n" + .'- **1**: Enabled', 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''], + 'Domain' => ['description' => 'The website domain name.', 'type' => 'string', 'example' => 'www.aliyun.com', 'title' => ''], + 'AiMode' => ['description' => 'The mode of the AI-powered protection feature. Valid values:'."\n" + ."\n" + .'- **watch**: Warning mode'."\n" + ."\n" + .'- **defense**: Defense mode', 'type' => 'string', 'example' => 'defense', 'title' => ''], + 'AiRuleEnable' => ['description' => 'The status of the AI-powered protection feature. Valid values:'."\n" + ."\n" + .'- **0**: Disabled'."\n" + ."\n" + .'- **1**: Enabled', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'RegionBlockEnable' => ['description' => 'The status of the Location Blacklist feature for the domain name. Valid values:'."\n" + ."\n" + .'- **0**: Disabled'."\n" + ."\n" + .'- **1**: Enabled', 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''], + 'CcTemplate' => ['description' => 'The mode of the Frequency Control (CC protection) feature. Valid values:'."\n" + ."\n" + .'- **default**: Normal'."\n" + ."\n" + .'- **gf\\_under\\_attack**: Emergency'."\n" + ."\n" + .'- **gf\\_sos\\_verify**: Strict'."\n" + ."\n" + .'- **gf\\_sos\\_enhance**: Super Strict', 'type' => 'string', 'example' => 'default', 'title' => ''], + 'CcCustomRuleEnable' => ['description' => 'The status of the custom Frequency Control (CC protection) feature. Valid values:'."\n" + ."\n" + .'- **0**: Disabled'."\n" + ."\n" + .'- **1**: Enabled', 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''], + 'CcEnable' => ['description' => 'The status of the Frequency Control (CC protection) feature. Valid values:'."\n" + ."\n" + .'- **0**: Disabled'."\n" + ."\n" + .'- **1**: Enabled', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'CcGlobalSwitch' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Total\\": 1,\\n \\"RequestId\\": \\"0CA72AF5-1795-4350-8C77-50A448A2F334\\",\\n \\"DDoSEvents\\": [\\n {\\n \\"EndTime\\": 1583933330,\\n \\"StartTime\\": 1583933277,\\n \\"EventType\\": \\"blackhole\\",\\n \\"Region\\": \\"cn\\",\\n \\"Ip\\": \\"203.***.***.132\\",\\n \\"Port\\": \\"80\\",\\n \\"Bps\\": 0,\\n \\"Pps\\": 0\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\r\\n\\r\\n\\t0CA72AF5-1795-4350-8C77-50A448A2F334\\r\\n\\t1\\r\\n\\t\\r\\n\\t\\t0\\r\\n\\t\\t0\\r\\n\\t\\t1583933330\\r\\n\\t\\tblackhole\\r\\n\\t\\t203.***.***.132\\r\\n\\t\\t\\r\\n\\t\\t1583933277\\r\\n\\t\\r\\n","errorExample":""}]', - 'title' => 'DescribeDDoSEvents', + 'title' => 'DescribeWebCcProtectSwitch', + 'summary' => 'Queries the status of protection features for your web services.', + 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeSlaEventList' => [ - 'summary' => 'Queries the destination rate limit events.', - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2025-09-04T06:34:53.000Z', 'description' => 'OpenAPI offline'], + ['createdAt' => '2022-09-08T03:34:14.000Z', 'description' => 'Error codes changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeWebCcProtectSwitch'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeWebCcProtectSwitch', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"3ADD9EED-CA4B-488C-BC82-01B0B899363D\\",\\n \\"ProtectSwitchList\\": [\\n {\\n \\"BlackWhiteListEnable\\": 1,\\n \\"AiTemplate\\": \\"level60\\",\\n \\"PreciseRuleEnable\\": 0,\\n \\"Domain\\": \\"www.aliyun.com\\",\\n \\"AiMode\\": \\"defense\\",\\n \\"AiRuleEnable\\": 1,\\n \\"RegionBlockEnable\\": 0,\\n \\"CcTemplate\\": \\"default\\",\\n \\"CcCustomRuleEnable\\": 0,\\n \\"CcEnable\\": 1,\\n \\"CcGlobalSwitch\\": \\"\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeWebCustomPorts' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -15338,87 +14766,16 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'list', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '175662', - 'abilityTreeNodes' => [ - 'FEATUREddosRTUJBH', - ], + 'operationType' => 'get', + 'abilityTreeCode' => '106206', + 'abilityTreeNodes' => ['FEATUREddosRTUJBH'], + 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'Region', - 'in' => 'query', - 'schema' => [ - 'description' => 'The type of the service Valid values:'."\n" - ."\n" - .'* **cn**: Anti-DDoS Pro'."\n" - .'* **cn-hongkong**: Anti-DDoS Premium'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'cn', - ], - ], - [ - 'name' => 'Ip', - 'in' => 'query', - 'schema' => [ - 'description' => 'The IP address of the Anti-DDoS Pro or Anti-DDoS Premium instance.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '203.107.XX.XX', - ], - ], - [ - 'name' => 'StartTime', - 'in' => 'query', - 'schema' => [ - 'description' => 'The beginning of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n" - ."\n" - .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '3289457398', - ], - ], - [ - 'name' => 'EndTime', - 'in' => 'query', - 'schema' => [ - 'description' => 'The end of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n" - ."\n" - .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '3289457398', - ], - ], - [ - 'name' => 'PageSize', - 'in' => 'query', - 'schema' => [ - 'description' => 'The number of entries per page.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '10', - 'default' => '10', - ], - ], - [ - 'name' => 'Page', + 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => 'The page number.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1', - 'default' => '1', - ], + 'schema' => ['description' => 'The resource group ID of the Anti-DDoS Proxy instance in Resource Management. The default value is empty, which indicates that the instance belongs to the default resource group.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'default'], ], ], 'responses' => [ @@ -15426,71 +14783,71 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80', - ], - 'SlaEvent' => [ - 'description' => 'The destination rate limit events.'."\n", + 'RequestId' => ['description' => 'The ID of this request.', 'type' => 'string', 'title' => '', 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc'], + 'WebCustomPorts' => [ + 'description' => 'The custom port information for website services.', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'StartTime' => [ - 'description' => 'The beginning of the time range. Unit: seconds.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1678080840', - ], - 'EndTime' => [ - 'description' => 'The end of the time range. Unit: seconds.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1671886740', - ], - 'Ip' => [ - 'description' => 'The IP address of the instance.'."\n", - 'type' => 'string', - 'example' => '203.107.XX.XX', - ], - 'Region' => [ - 'description' => 'The region to which the destination IP address belongs. Valid values:'."\n" - ."\n" - .'* **cn**: a region in the Chinese mainland'."\n" - .'* **cn-hongkong**: China (Hong Kong)'."\n", - 'type' => 'string', - 'example' => 'cn', + 'ProxyType' => ['description' => 'The Protocol Type. Valid values:'."\n" + ."\n" + .'- **http**'."\n" + ."\n" + .'- **https**', 'type' => 'string', 'title' => '', 'example' => 'http'], + 'ProxyPorts' => [ + 'description' => 'The available port range.', + 'type' => 'array', + 'items' => ['description' => 'The available port.', 'type' => 'string', 'title' => '', 'example' => '8080'], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], - ], - 'Total' => [ - 'description' => 'The total number of entries returned.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', + 'title' => '', + 'example' => '', ], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\",\\n \\"WebCustomPorts\\": [\\n {\\n \\"ProxyType\\": \\"http\\",\\n \\"ProxyPorts\\": [\\n \\"8080\\"\\n ]\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'DescribeWebCustomPorts', + 'summary' => 'Queries the range of custom ports supported by Anti-DDoS Proxy for website services.', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:14.000Z', 'description' => 'Error codes changed'], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\",\\n \\"SlaEvent\\": [\\n {\\n \\"StartTime\\": 1678080840,\\n \\"EndTime\\": 1671886740,\\n \\"Ip\\": \\"203.107.XX.XX\\",\\n \\"Region\\": \\"cn\\"\\n }\\n ],\\n \\"Total\\": 10\\n}","type":"json"}]', - 'title' => 'DescribeSlaEventList', - ], - 'DescribeDomainAttackEvents' => [ - 'methods' => [ - 'post', - 'get', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeWebCustomPorts'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeWebCustomPorts', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'DescribeWebInstanceRelations' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -15500,80 +14857,31 @@ 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', - 'abilityTreeCode' => '106121', - 'abilityTreeNodes' => [ - 'FEATUREddosRTUJBH', - ], + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '106207', + 'abilityTreeNodes' => ['FEATUREddosOZ1QOD'], ], 'parameters' => [ [ 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'default', - ], - ], - [ - 'name' => 'StartTime', - 'in' => 'query', - 'schema' => [ - 'description' => 'The beginning of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n" - ."\n" - .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1582992000', - ], + 'schema' => ['description' => 'The ID of the resource group to which the Anti-DDoS Pro or Anti-DDoS Premium instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.', 'type' => 'string', 'required' => false, 'example' => 'default', 'title' => ''], ], [ - 'name' => 'EndTime', + 'name' => 'Domains', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => 'The end of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n" + 'description' => 'The domain names of the website services.'."\n" ."\n" - .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n", - 'type' => 'integer', - 'format' => 'int64', + .'> The domain names must have website service forwarding rules configured. You can call [DescribeDomains](~~91724~~) to query all domain names.', + 'type' => 'array', + 'items' => ['description' => 'The domain name of the website service.', 'type' => 'string', 'required' => false, 'example' => 'www.aliyun**.com', 'title' => ''], 'required' => true, - 'example' => '1583683200', - ], - ], - [ - 'name' => 'Domain', - 'in' => 'query', - 'schema' => [ - 'description' => 'The domain name of the website.'."\n" - ."\n" - .'> A forwarding rule must be configured for the domain name. You can call the [DescribeDomains](~~91724~~) operation to query all domain names.'."\n", - 'type' => 'string', - 'required' => false, 'example' => 'www.aliyun.com', - ], - ], - [ - 'name' => 'PageNumber', - 'in' => 'query', - 'schema' => [ - 'description' => 'The number of the page to return. For example, to query the returned results on the first page, set the value to **1**.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '1', - ], - ], - [ - 'name' => 'PageSize', - 'in' => 'query', - 'schema' => [ - 'description' => 'The number of entries to return on each page.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '10', + 'maxItems' => 20, + 'title' => '', ], ], ], @@ -15582,71 +14890,86 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'TotalCount' => [ - 'description' => 'The total number of returned DDoS attack events.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E', - ], - 'DomainAttackEvents' => [ - 'description' => 'An array that consists of the details of the DDoS attack event.'."\n", + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '0222382B-5FE5-4FF7-BC9B-97EE31D58818', 'title' => ''], + 'WebInstanceRelations' => [ + 'description' => 'The information about Anti-DDoS Pro or Anti-DDoS Premium instances associated with website services.', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'EndTime' => [ - 'description' => 'The time when the DDoS attack stopped. The value is a UNIX timestamp. Unit: seconds.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1560320160', - ], - 'StartTime' => [ - 'description' => 'The time when the DDoS attack started. The value is a UNIX timestamp. Unit: seconds.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1560312900', - ], - 'Domain' => [ - 'description' => 'The attacked domain name.'."\n", - 'type' => 'string', - 'example' => 'www.aliyun.com', - ], - 'MaxQps' => [ - 'description' => 'The peak attack QPS.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', + 'Domain' => ['description' => 'The domain name of the website.', 'type' => 'string', 'example' => 'www.aliyun.com', 'title' => ''], + 'InstanceDetails' => [ + 'description' => 'The information about the associated Anti-DDoS Pro or Anti-DDoS Premium instances.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'FunctionVersion' => ['description' => 'The function plan type. Valid values:'."\n" + .'- **default**: Standard function.'."\n" + .'- **enhance**: Enhanced function.', 'type' => 'string', 'example' => 'enhance', 'title' => ''], + 'InstanceId' => ['description' => 'The Anti-DDoS Pro or Anti-DDoS Premium instance ID.', 'type' => 'string', 'example' => 'ddoscoo-cn-0pp163pd****', 'title' => ''], + 'EipList' => [ + 'description' => 'The list of IP addresses of the Anti-DDoS Pro or Anti-DDoS Premium instance.', + 'type' => 'array', + 'items' => ['description' => 'The IP address of the Anti-DDoS Pro or Anti-DDoS Premium instance.', 'type' => 'string', 'example' => '203.***.***.158', 'title' => ''], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"TotalCount\\": 1,\\n \\"RequestId\\": \\"C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E\\",\\n \\"DomainAttackEvents\\": [\\n {\\n \\"EndTime\\": 1560320160,\\n \\"StartTime\\": 1560312900,\\n \\"Domain\\": \\"www.aliyun.com\\",\\n \\"MaxQps\\": 1000\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\r\\n\\r\\n\\tC33EB3D5-AF96-43CA-9C7E-37A81BC06A1E\\r\\n\\t1\\r\\n\\t\\r\\n\\t\\twww.aliyun.com\\r\\n\\t\\t1000\\r\\n\\t\\t1560312900\\r\\n\\t\\t1560320160\\r\\n\\t\\r\\n","errorExample":""}]', - 'title' => 'DescribeDomainAttackEvents', - 'summary' => 'Queries the attack events launched against a website.', - 'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see [Common parameters](~~157269~~).'."\n" - ."\n" - .'For more information about sample requests, see the **"Examples"** section of this topic.'."\n", + 'title' => 'Query Anti-DDoS Pro or Anti-DDoS Premium instance information associated with website services', + 'summary' => 'Queries the information about Anti-DDoS Pro or Anti-DDoS Premium instances associated with website services.', + 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeDefenseCountStatistics' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:14.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeWebInstanceRelations'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeWebInstanceRelations', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0222382B-5FE5-4FF7-BC9B-97EE31D58818\\",\\n \\"WebInstanceRelations\\": [\\n {\\n \\"Domain\\": \\"www.aliyun.com\\",\\n \\"InstanceDetails\\": [\\n {\\n \\"FunctionVersion\\": \\"enhance\\",\\n \\"InstanceId\\": \\"ddoscoo-cn-0pp163pd****\\",\\n \\"EipList\\": [\\n \\"203.***.***.158\\"\\n ]\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeWebPreciseAccessRule' => [ + 'summary' => 'Queries the precise access control rules configured for a website.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -15656,23 +14979,47 @@ 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', - 'abilityTreeCode' => '106118', - 'abilityTreeNodes' => [ - 'FEATUREddosMHU3MF', - ], - 'tenantRelevance' => 'publicInformation', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '106208', + 'abilityTreeNodes' => ['FEATUREddosOZ1QOD'], ], 'parameters' => [ [ 'name' => 'ResourceGroupId', 'in' => 'query', + 'schema' => ['description' => 'The ID of the resource group to which the Anti-DDoS Pro instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.', 'type' => 'string', 'required' => false, 'example' => 'default', 'title' => ''], + ], + [ + 'name' => 'Domains', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'description' => 'The domain name of the website.'."\n" + ."\n" + .'> A forwarding rule must be configured for the domain name. You can call [DescribeDomains](~~91724~~) to query all domain names.', + 'type' => 'array', + 'items' => ['description' => 'The domain name of the website.', 'type' => 'string', 'required' => false, 'example' => 'www.test****.com', 'title' => ''], + 'required' => true, + 'example' => 'www.aliyun.com', + 'maxItems' => 5, + 'title' => '', + ], + ], + [ + 'name' => 'Owner', + 'in' => 'query', 'schema' => [ - 'description' => 'The ID of the resource group to which the instance belongs in Resource Management.'."\n" + 'description' => 'The source of the rule. Valid values:'."\n" ."\n" - .'If you do not configure this parameter, the instance belongs to the default resource group.'."\n", + .'- **manual** (default): The rule is manually created.'."\n" + ."\n" + .'- **clover**: The rule is automatically generated.', 'type' => 'string', 'required' => false, - 'example' => 'rg-acfm2pz25js****', + 'enum' => ['manual', 'clover'], + 'example' => 'manual', + 'title' => '', ], ], ], @@ -15681,148 +15028,143 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '310A41FD-0990-5610-92E0-A6A55D7C6444', - ], - 'DefenseCountStatistics' => [ - 'description' => 'The statistics on the number of advanced mitigation sessions.'."\n", - 'type' => 'object', - 'properties' => [ - 'FlowPackCountRemain' => [ - 'description' => 'The number of available global advanced mitigation sessions for the Insurance mitigation plan.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'MaxUsableDefenseCountCurrentMonth' => [ - 'description' => 'The maximum number of advanced mitigation sessions available for the current calendar month. The advanced mitigation sessions include the advanced mitigation sessions that are provided free of charge and the global advanced mitigation sessions that you purchase.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], - 'DefenseCountTotalUsageOfCurrentMonth' => [ - 'description' => 'The number of advanced mitigation sessions that are used within the current calendar month.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'SecHighSpeedCountRemain' => [ - 'description' => 'The number of available global advanced mitigation sessions for the Secure Chinese Mainland Acceleration (Sec-CMA) mitigation plan.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '209EEFBF-B0C7-441E-8C28-D0945A57A638', 'title' => ''], + 'PreciseAccessConfigList' => [ + 'description' => 'The precise access control rules for the website.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Domain' => ['description' => 'The domain name of the website.', 'type' => 'string', 'example' => 'www.aliyun.com', 'title' => ''], + 'RuleList' => [ + 'description' => 'The list of rules.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Action' => ['description' => 'The action that is performed on requests that match the rule. Valid values:'."\n" + ."\n" + .'- **accept**: allows the requests.'."\n" + ."\n" + .'- **block**: blocks the requests.'."\n" + ."\n" + .'- **challenge**: triggers a JavaScript Challenge for the requests.', 'type' => 'string', 'example' => 'accept', 'title' => ''], + 'Owner' => ['description' => 'The source of the rule. Valid values:'."\n" + ."\n" + .'- **manual** (default): The rule is manually created.'."\n" + ."\n" + .'- **clover**: The rule is automatically generated.', 'type' => 'string', 'example' => 'manual', 'title' => ''], + 'ExpirePeriod' => ['description' => 'The validity period of the rule. This value is a UNIX timestamp. Unit: seconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1598889600', 'title' => ''], + 'Name' => ['description' => 'The name of the rule.', 'type' => 'string', 'example' => 'testrule', 'title' => ''], + 'ConditionList' => [ + 'description' => 'The list of match conditions.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'MatchMethod' => ['description' => 'The logical operator.', 'type' => 'string', 'example' => 'belong', 'title' => ''], + 'Field' => ['description' => 'The match field.', 'type' => 'string', 'example' => 'ip', 'title' => ''], + 'Content' => ['description' => 'The match content.', 'type' => 'string', 'example' => '1.1.1.1', 'title' => ''], + 'HeaderName' => ['description' => 'The name of the custom HTTP header field.'."\n" + ."\n" + .'> This parameter is required only when **Field** is set to **header**.', 'type' => 'string', 'example' => 'null', 'title' => ''], + 'ContentList' => [ + 'type' => 'array', + 'items' => ['description' => 'The match condition.', 'type' => 'string', 'example' => '{"field":"uri","match_method":"contain","content":"/test/123"}', 'title' => ''], + 'description' => 'The match conditions of the rule. The value is a JSON string. The value contains the following fields:'."\n" + ."\n" + .'> If you specify multiple match conditions, the logical relation between these conditions is AND.'."\n" + ."\n" + .'- **field**: The match field. This parameter is of the string type.'."\n" + ."\n" + .'- **match\\_method**: The match method. This parameter is of the string type.'."\n" + ."\n" + .' > For more information about the valid values of **field** and **match\\_method**, see the "Additional information about field and match\\_method" section in this topic.'."\n" + ."\n" + .'- **content**: The match content. This parameter is of the string type.'."\n" + ."\n" + .'- **header\\_name**: The name of the header field. This parameter is of the string type. This parameter is required only when **field** is set to **header**.', + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + 'Expires' => ['description' => 'The validity period of the rule. Unit: seconds. This parameter is required only when the **action** of the rule is **block**. Requests that match the rule are blocked within the validity period. A value of **0** indicates that the rule is permanently valid.', 'type' => 'integer', 'format' => 'int64', 'example' => '0', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"310A41FD-0990-5610-92E0-A6A55D7C6444\\",\\n \\"DefenseCountStatistics\\": {\\n \\"FlowPackCountRemain\\": 0,\\n \\"MaxUsableDefenseCountCurrentMonth\\": 20,\\n \\"DefenseCountTotalUsageOfCurrentMonth\\": 0,\\n \\"SecHighSpeedCountRemain\\": 0\\n }\\n}","errorExample":""},{"type":"xml","example":"\\n 310A41FD-0990-5610-92E0-A6A55D7C6444\\n \\n 0\\n 20\\n 0\\n 0\\n \\n","errorExample":""}]', - 'title' => 'DescribeDefenseCountStatistics', - 'summary' => 'Queries the statistics on advanced mitigation sessions of an Anti-DDoS Proxy (Outside Chinese Mainland) instance.', - 'description' => 'You can call the DescribeDefenseCountStatistics operation to query the information about advanced mitigation sessions of an Anti-DDoS Proxy (Outside Chinese Mainland) instance. For example, you can query the number of advanced mitigation sessions that are used within the current calendar month and the number of remaining advanced mitigation sessions.'."\n" - ."\n" - .'> This operation is suitable only for Anti-DDoS Proxy (Outside Chinese Mainland).'."\n" - ."\n" - .'### [](#qps-)QPS limits'."\n" - ."\n" - .'You can call this operation up to 10 times per second per account. If the number of 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", - 'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see [Common parameters](~~157269~~).'."\n" + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"209EEFBF-B0C7-441E-8C28-D0945A57A638\\",\\n \\"PreciseAccessConfigList\\": [\\n {\\n \\"Domain\\": \\"www.aliyun.com\\",\\n \\"RuleList\\": [\\n {\\n \\"Action\\": \\"accept\\",\\n \\"Owner\\": \\"manual\\",\\n \\"ExpirePeriod\\": 1598889600,\\n \\"Name\\": \\"testrule\\",\\n \\"ConditionList\\": [\\n {\\n \\"MatchMethod\\": \\"belong\\",\\n \\"Field\\": \\"ip\\",\\n \\"Content\\": \\"1.1.1.1\\",\\n \\"HeaderName\\": \\"null\\",\\n \\"ContentList\\": [\\n \\"{\\\\\\"field\\\\\\":\\\\\\"uri\\\\\\",\\\\\\"match_method\\\\\\":\\\\\\"contain\\\\\\",\\\\\\"content\\\\\\":\\\\\\"/test/123\\\\\\"}\\"\\n ]\\n }\\n ],\\n \\"Expires\\": 0\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'DescribeWebPreciseAccessRule', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => '**Additional information about field and match\\_method**'."\n" ."\n" - .'For more information about sample requests, see the "Examples" section of this topic.'."\n", - ], - 'DescribeAttackAnalysisMaxQps' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], + .'| Match field (field) | Description | Applicable logical operator (match_method) |'."\n" + .'| ------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |'."\n" + .'| **ip** | The source IP address of the request. | **belong**: belongs to
**nbelong**: does not belong to |'."\n" + .'| **uri** | The URI of the request. | **contain**: contains
**ncontain**: does not contain
**equal**: equals
**nequal**: does not equal
**lless**: length is less than
**lequal**: length equals
**lgreat**: length is greater than
**regular**: matches a regular expression |'."\n" + .'| **referer** | The Referer header of the request, which indicates the source from which the request is redirected. | **contain**: contains
**ncontain**: does not contain
**equal**: equals
**nequal**: does not equal
**lless**: length is less than
**lequal**: length equals
**lgreat**: length is greater than
**nexist**: does not exist
**regular**: matches a regular expression |'."\n" + .'| **user-agent** | The User-Agent header of the request, which includes information such as the browser identifier, rendering engine, and version. | **contain**: contains
**ncontain**: does not contain
**equal**: equals
**nequal**: does not equal
**lless**: length is less than
**lequal**: length equals
**lgreat**: length is greater than
**regular**: matches a regular expression |'."\n" + .'| **params** | The parameters in the URL of the request. This refers to the part of the URL that follows the question mark (?). For example, in `demo.aliyundoc.com/index.html?action=login`, `action=login` is the parameter part. | **contain**: contains
**ncontain**: does not contain
**equal**: equals
**nequal**: does not equal
**lless**: length is less than
**lequal**: length equals
**lgreat**: length is greater than |'."\n" + .'| **cookie** | The Cookie header of the request. | **contain**: contains
**ncontain**: does not contain
**equal**: equals
**nequal**: does not equal
**lless**: length is less than
**lequal**: length equals
**lgreat**: length is greater than
**nexist**: does not exist |'."\n" + .'| **content-type** | The Content-Type header of the request, which specifies the Multipurpose Internet Mail Extensions (MIME) type of the HTTP content. | **contain**: contains
**ncontain**: does not contain
**equal**: equals
**nequal**: does not equal
**lless**: length is less than
**lequal**: length equals
**lgreat**: length is greater than |'."\n" + .'| **x-forwarded-for** | The real IP address of the client that initiated the request. The X-Forwarded-For (XFF) header field is used to identify the original IP address of a client that connects to a web server through an HTTP proxy or a Server Load Balancer (SLB) instance. This header is included only in requests that are forwarded by an HTTP proxy or an SLB instance. | **contain**: contains
**ncontain**: does not contain
**equal**: equals
**nequal**: does not equal
**lless**: length is less than
**lequal**: length equals
**lgreat**: length is greater than
**nexist**: does not exist
**regular**: matches a regular expression |'."\n" + .'| **content-length** | The number of bytes in the request body. | **vless**: value is less than
**vequal**: value equals
**vgreat**: value is greater than |'."\n" + .'| **post-body** | The content of the request body. | **contain**: contains
**ncontain**: does not contain
**equal**: equals
**nequal**: does not equal
**regular**: matches a regular expression |'."\n" + .'| **http-method** | The HTTP method of the request, such as GET or POST. | **equal**: equals
**nequal**: does not equal |'."\n" + .'| **header** | The header of the request. You can specify a custom HTTP header field. | **contain**: contains
**ncontain**: does not contain
**equal**: equals
**nequal**: does not equal
**lless**: length is less than
**lequal**: length equals
**lgreat**: length is greater than
**nexist**: does not exist |', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:14.000Z', 'description' => 'Error codes changed'], ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeCode' => '106093', - 'abilityTreeNodes' => [ - 'FEATUREddosRTUJBH', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeWebPreciseAccessRule'], ], ], - 'parameters' => [ - [ - 'name' => 'StartTime', - 'in' => 'query', - 'schema' => [ - 'description' => 'The beginning of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1622476799', - ], - ], - [ - 'name' => 'EndTime', - 'in' => 'query', - 'schema' => [ - 'description' => 'The end of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1619798400', - ], - ], + 'ramActions' => [ [ - 'name' => 'Ip', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'Qps' => [ - 'description' => 'The peak queries per second (QPS) of DDoS attacks. Units: QPS.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '41652', - ], - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '8DFB602D-1AAC-46C4-90F2-C84086E7A6E4', - ], + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeWebPreciseAccessRule', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Qps\\": 41652,\\n \\"RequestId\\": \\"8DFB602D-1AAC-46C4-90F2-C84086E7A6E4\\"\\n}","errorExample":""},{"type":"xml","example":"\\n\\n\\t8DFB602D-1AAC-46C4-90F2-C84086E7A6E4\\n\\t41652\\n","errorExample":""}]', - 'summary' => 'Queries the peak QPS of DDoS attacks within the specific period of time.', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', ], - 'DescribeDestinationPortEvent' => [ - 'summary' => 'Queries the number of request packets received by the destination ports of the attacked IP address that is protected by Anti-DDoS Proxy.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DescribeWebRules' => [ + 'summary' => 'This topic describes how to configure web forwarding rules.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -15834,217 +15176,63 @@ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '187278', - 'abilityTreeNodes' => [ - 'FEATUREddosRTUJBH', - ], + 'abilityTreeCode' => '106211', + 'abilityTreeNodes' => ['FEATUREddos64TBV6'], + 'autoTest' => true, ], 'parameters' => [ [ - 'name' => 'Region', - 'in' => 'query', - 'schema' => [ - 'description' => 'The region in which your service is deployed. Valid values:'."\n" - ."\n" - .'* **cn**: a region in the Chinese mainland.'."\n" - .'* **cn-hongkong**: a region outside the Chinese mainland.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'cn', - ], - ], - [ - 'name' => 'EventType', - 'in' => 'query', - 'schema' => [ - 'description' => 'The type of the attack event that you want to query. Valid values:'."\n" - ."\n" - .'* **defense**: attack events that trigger traffic scrubbing.'."\n" - .'* **blackhole**: attack events that trigger blackhole filtering.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'defense', - ], - ], - [ - 'name' => 'StartTime', - 'in' => 'query', - 'schema' => [ - 'description' => 'The beginning of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n" - ."\n" - .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1720059000', - ], - ], - [ - 'name' => 'Ip', + 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => 'The IP address of the attacker.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '203.107.XX.XX'."\n", - ], + 'schema' => ['description' => 'The ID of the resource group to which the Anti-DDoS Pro instance belongs in Resource Management.'."\n" + ."\n" + .'If you omit this parameter, the system uses the default resource group.', 'type' => 'string', 'required' => false, 'example' => 'rg-acfm2pz25js****', 'title' => ''], ], [ - 'name' => 'Range', + 'name' => 'Domain', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of destination ports to return. The ports are sorted in descending order of the number of received request packets. By default, the first **10** ports are returned.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '2', - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '9E7F6B2C-03F2-462F-9076-B782CF0DD502', - ], - 'PortList' => [ - 'description' => 'The ports.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The information about the port.'."\n", - 'type' => 'object', - 'properties' => [ - 'DstPort' => [ - 'description' => 'The destination port.'."\n", - 'type' => 'string', - 'example' => '80', - ], - 'InPkts' => [ - 'description' => 'The number of request packets received by the destination port.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '8760950', - ], - ], - ], - ], - ], - 'description' => '', - ], - ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"9E7F6B2C-03F2-462F-9076-B782CF0DD502\\",\\n \\"PortList\\": [\\n {\\n \\"DstPort\\": \\"80\\",\\n \\"InPkts\\": 8760950\\n }\\n ]\\n}","type":"json"}]', - 'title' => 'DescribeDestinationPortEvent', - ], - 'DescribePortFlowList' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeCode' => '106175', - 'abilityTreeNodes' => [ - 'FEATUREddosRTUJBH', + 'schema' => ['description' => 'The domain to query.'."\n" + ."\n" + .'> The domain must have a web rule configured. You can call [DescribeDomains](~~91724~~) to query all domains that have web rules.', 'type' => 'string', 'required' => false, 'example' => 'example.com', 'title' => ''], ], - ], - 'parameters' => [ [ - 'name' => 'ResourceGroupId', + 'name' => 'Cname', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n" - ."\n" - .'For more information about resource groups, see [Create a resource group](~~94485~~).'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'rg-acfm2pz25js****', - ], + 'schema' => ['description' => 'The CNAME to query.', 'type' => 'string', 'maxLength' => 128, 'minLength' => 3, 'required' => false, 'example' => 'kzmk7b8tt351****.aliyunddos1014****', 'title' => ''], ], [ - 'name' => 'EndTime', + 'name' => 'QueryDomainPattern', 'in' => 'query', - 'schema' => [ - 'description' => 'The end of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n" - ."\n" - .'**'."\n" - ."\n" - .'**This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1583683200', - ], + 'schema' => ['description' => 'The matching mode for the query. Valid values:'."\n" + ."\n" + .'- **fuzzy** (default): Fuzzy search.'."\n" + ."\n" + .'- **exact**: Exact match.', 'type' => 'string', 'required' => false, 'example' => 'exact', 'title' => ''], ], [ - 'name' => 'StartTime', + 'name' => 'PageNumber', 'in' => 'query', - 'schema' => [ - 'description' => 'The beginning of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n" - ."\n" - .'**'."\n" - ."\n" - .'**This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1582992000', - ], + 'schema' => ['description' => 'The page number to return. Default: **1**.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'default' => '1', 'example' => '1', 'title' => ''], ], [ - 'name' => 'Interval', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => 'The interval for returning data. Unit: seconds. The interval that you can specify varies based on the time range to query. The time range to query is determined by the values of **StartTime** and **EndTime**.'."\n" - ."\n" - .'* If the time range to query is no greater than 1 hour, we recommend that you specify the interval from 60 seconds to the time range to query.'."\n" - .'* If the time range to query is greater than 1 hour but no greater than 6 hours, we recommend that you specify the interval from 600 seconds to the time range to query.'."\n" - .'* If the time range to query is greater than 6 hours but no greater than 24 hours, we recommend that you specify the interval from 1,800 seconds to the time range to query.'."\n" - .'* If the time range to query is greater than 24 hours but no greater than 7 days, we recommend that you specify the interval from 3,600 seconds to the time range to query.'."\n" - .'* If the time range to query is greater than 7 days but no greater than 15 days, we recommend that you specify the interval from 14,400 seconds to the time range to query.'."\n" - .'* If the time range to query is greater than 15 days, we recommend that you specify the interval from 43,200 seconds to the time range to query.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '1000', - ], + 'schema' => ['description' => 'The number of web rules per page. Valid values: **1** to **10**.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'default' => '10', 'example' => '10', 'title' => ''], ], [ 'name' => 'InstanceIds', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ - 'description' => 'An array that consists of the IDs of instances.'."\n", + 'description' => 'An array of Anti-DDoS Pro instance IDs to query.', 'type' => 'array', - 'items' => [ - 'description' => 'The ID of the instance.'."\n" - ."\n" - .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'ddoscoo-cn-zz120cjv****', - ], - 'required' => true, + 'items' => ['description' => 'The ID of an Anti-DDoS Pro instance. You can specify up to 200 instance IDs.'."\n" + ."\n" + .'> You can call [DescribeInstanceIds](~~157459~~) to query the IDs of all Anti-DDoS Pro instances.', 'type' => 'string', 'required' => false, 'example' => 'ddoscoo-cn-i7m27nf3****', 'title' => ''], + 'required' => false, 'example' => 'ddoscoo-cn-mp91j1ao****', 'maxItems' => 100, + 'title' => '', ], ], ], @@ -16053,132 +15241,262 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'FFC77501-BDF8-4BC8-9BF5-B295FBC3189B', - ], - 'PortFlowList' => [ - 'description' => 'The returned traffic data.'."\n", + 'TotalCount' => ['description' => 'The total number of web forwarding rules returned.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], + 'RequestId' => ['description' => 'The request ID. Alibaba Cloud generates this unique identifier for each request. You can use this ID to troubleshoot issues.', 'type' => 'string', 'example' => '0F5B72DD-96F4-423A-B12B-A5151DD746B8', 'title' => ''], + 'WebRules' => [ + 'description' => 'An array of web forwarding rules.', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'Index' => [ - 'description' => 'The index number of the returned data.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'Time' => [ - 'description' => 'The time when the data was collected. The value is a UNIX timestamp. Unit: seconds.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1582992000', - ], - 'InPps' => [ - 'description' => 'The packet forwarding rate of inbound traffic. Unit: packets per second.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '2934', - ], - 'InBps' => [ - 'description' => 'The inbound bandwidth. Unit: bit/s.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '2176000', - ], - 'Region' => [ - 'description' => 'The source region of the traffic. Valid values:'."\n" - ."\n" - .'* **cn**: mainland China'."\n" - .'* **alb-ap-northeast-1-gf-x**: Japan (Tokyo)'."\n" - .'* **alb-ap-southeast-gf-x**: Singapore'."\n" - .'* **alb-cn-hongkong-gf-x**: Hong Kong (China)'."\n" - .'* **alb-eu-central-1-gf-x**: Germany (Frankfurt)'."\n" - .'* **alb-us-west-1-gf-x**: US (Silicon Valley)'."\n" - ."\n" - .'> The values except **cn** are returned only when **RegionId** is set to **ap-southeast-1**.'."\n", - 'type' => 'string', - 'example' => 'cn', - ], - 'OutPps' => [ - 'description' => 'The packet forwarding rate of outbound traffic. Unit: packets per second (pps).'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '5', - ], - 'AttackPps' => [ - 'description' => 'The packet forwarding rate of attack traffic. Unit: pps.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'OutBps' => [ - 'description' => 'The outbound bandwidth. Unit: bit/s.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '4389', - ], - 'AttackBps' => [ - 'description' => 'The bandwidth of attack traffic. Unit: bit/s.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'SlaBpsDropBps' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'SlaPpsDropBps' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'SlaCpsDropBps' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'SlaConnDropBps' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'SlaBpsDropPps' => [ - 'type' => 'integer', - 'format' => 'int64', + 'Domain' => ['description' => 'The website domain.', 'type' => 'string', 'example' => 'example.com', 'title' => ''], + 'Http2HttpsEnable' => ['description' => 'Indicates whether forced HTTPS redirection is enabled. Valid values:'."\n" + ."\n" + .'- **true**: Enabled.'."\n" + ."\n" + .'- **false**: Disabled.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'SslProtocols' => ['description' => 'The supported TLS protocol version. Valid values:'."\n" + ."\n" + .'- **tls1.0**: TLS 1.0 and later versions are supported.'."\n" + ."\n" + .'- **tls1.1**: TLS 1.1 and later versions are supported.'."\n" + ."\n" + .'- **tls1.2**: TLS 1.2 and later versions are supported.', 'type' => 'string', 'example' => 'tls1.1', 'title' => ''], + 'PunishReason' => ['description' => 'The reason the domain is penalized for non-compliance. Valid values:'."\n" + ."\n" + .'- **1**: The domain does not have an ICP filing.'."\n" + ."\n" + .'- **2**: The service operated under the domain does not meet regulatory requirements.'."\n" + ."\n" + .'If both reasons **1** and **2** apply, this parameter returns **2**.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'CcTemplate' => ['description' => 'The CC protection mode. Valid values:'."\n" + ."\n" + .'- **default**: Normal'."\n" + ."\n" + .'- **gf\\_under\\_attack**: Emergency'."\n" + ."\n" + .'- **gf\\_sos\\_verify**: Strict'."\n" + ."\n" + .'- **gf\\_sos\\_enhance**: Super Strict', 'type' => 'string', 'example' => 'default', 'title' => ''], + 'CcEnabled' => ['description' => 'Indicates whether CC protection is enabled. Valid values:'."\n" + ."\n" + .'- **true**: Enabled.'."\n" + ."\n" + .'- **false**: Disabled.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'SslCiphers' => ['description' => 'The cipher suite type. Valid values:'."\n" + ."\n" + .'- **default**: Custom cipher suite.'."\n" + ."\n" + .'- **all**: All cipher suites, including strong and weak cipher suites.'."\n" + ."\n" + .'- **strong**: Strong cipher suite.', 'type' => 'string', 'example' => 'default', 'title' => ''], + 'Ssl13Enabled' => ['description' => 'Indicates whether TLS 1.3 is enabled. Valid values:'."\n" + ."\n" + .'- **true**: Enabled.'."\n" + ."\n" + .'- **false**: Disabled.', 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'CcRuleEnabled' => ['description' => 'Indicates whether custom CC protection is enabled. Valid values:'."\n" + ."\n" + .'- **true**: Enabled.'."\n" + ."\n" + .'- **false**: Disabled.', 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'OcspEnabled' => ['description' => 'Indicates whether OCSP is enabled. Valid values:'."\n" + ."\n" + .'- **true**: Enabled.'."\n" + ."\n" + .'- **false**: Disabled.', 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'PunishStatus' => ['description' => 'Indicates whether the domain is penalized. Valid values:'."\n" + ."\n" + .'- **true**: The domain is penalized. You can view the reason by checking the **PunishReason** parameter.'."\n" + ."\n" + .'- **false**: The domain is not penalized.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ProxyEnabled' => ['description' => 'Indicates whether the web forwarding rule is enabled. Valid values:'."\n" + ."\n" + .'- **true**: Enabled.'."\n" + ."\n" + .'- **false**: Disabled.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'CertName' => ['description' => 'The name of the certificate.', 'type' => 'string', 'example' => 'testcert', 'title' => ''], + 'PolicyMode' => ['description' => 'This parameter is deprecated. For more information, see the `DescribeL7RsPolicy` operation.', 'type' => 'string', 'example' => 'ip_hash', 'title' => ''], + 'Cname' => ['description' => 'The CNAME address assigned by Anti-DDoS for the website domain.', 'type' => 'string', 'example' => 'kzmk7b8tt351****.aliyunddos1014****', 'title' => ''], + 'Http2Enable' => ['description' => 'Indicates whether HTTP/2 support is enabled. Valid values:'."\n" + ."\n" + .'- **true**: Enabled.'."\n" + ."\n" + .'- **false**: Disabled.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'Https2HttpEnable' => ['description' => 'Indicates whether HTTP back-to-origin is enabled. Valid values:'."\n" + ."\n" + .'- **true**: Enabled.'."\n" + ."\n" + .'- **false**: Disabled.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ProxyTypes' => [ + 'description' => 'The forwarding protocol and port settings.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'ProxyType' => ['description' => 'The forwarding protocol. Valid values:'."\n" + ."\n" + .'- **http**: HTTP'."\n" + ."\n" + .'- **https**: HTTPS'."\n" + ."\n" + .'- **websocket**: WebSocket'."\n" + ."\n" + .'- **websockets**: WebSockets', 'type' => 'string', 'example' => 'https', 'title' => ''], + 'ProxyPorts' => [ + 'description' => 'A list of ports.', + 'type' => 'array', + 'items' => ['description' => 'The port number.', 'type' => 'string', 'example' => '443', 'title' => ''], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + 'RealServers' => [ + 'description' => 'Details about the origin servers.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'RsType' => ['description' => 'The type of the origin server address. Valid values:'."\n" + ."\n" + .'- **0**: The IP address of the origin server.'."\n" + ."\n" + .'- **1**: A domain name that serves as the origin server address. This value is typically used when a proxy service, such as Web Application Firewall (WAF), is deployed between the Anti-DDoS instance and the origin server. In this case, specify the CNAME address of the proxy service.', 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''], + 'RealServer' => ['description' => 'The origin server address.', 'type' => 'string', 'example' => '192.0.XX.XX', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + 'WhiteList' => [ + 'description' => 'The IP allowlist for the domain.', + 'type' => 'array', + 'items' => ['description' => 'An IP address in the allowlist.'."\n" + ."\n" + .'> This parameter is returned only if you have configured a domain-level IP allowlist. You can call the [ConfigWebIpSet](~~157469~~) operation to configure an IP allowlist or IP blocklist for a website domain.', 'type' => 'string', 'example' => '192.168.XX.XX', 'title' => ''], + 'title' => '', + 'example' => '', ], - 'SlaPpsDropPps' => [ - 'type' => 'integer', - 'format' => 'int64', + 'BlackList' => [ + 'description' => 'The IP blocklist for the domain.', + 'type' => 'array', + 'items' => ['description' => 'An IP address in the blocklist.'."\n" + ."\n" + .'> This parameter is returned only if you have configured a domain-level IP blocklist. You can call the [ConfigWebIpSet](~~157469~~) operation to configure an IP allowlist or IP blocklist for a website domain.', 'type' => 'string', 'example' => '192.0.XX.XX', 'title' => ''], + 'title' => '', + 'example' => '', + ], + 'CustomCiphers' => [ + 'description' => 'A list of custom cipher suites.', + 'type' => 'array', + 'items' => ['description' => 'A custom cipher suite.', 'type' => 'string', 'example' => 'ECDHE-ECDSA-AES128-GCM-SHA256', 'title' => ''], + 'title' => '', + 'example' => '', ], - 'SlaCpsDropPps' => [ - 'type' => 'integer', - 'format' => 'int64', + 'GmCert' => [ + 'description' => 'The GM (Guomi) settings.', + 'type' => 'object', + 'properties' => [ + 'CertId' => ['description' => 'The ID of the GM (Guomi) certificate.', 'type' => 'string', 'example' => '725****', 'title' => ''], + 'GmEnable' => ['description' => 'Indicates whether GM (Guomi) verification is enabled.'."\n" + ."\n" + .'- 0: Disabled'."\n" + ."\n" + .'- 1: Enabled', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], + 'GmOnly' => ['description' => 'Indicates whether access is allowed only from clients that support GM (Guomi) cryptography.'."\n" + ."\n" + .'- 0: Disabled'."\n" + ."\n" + .'- 1: Enabled', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], + ], + 'title' => '', + 'example' => '', ], - 'SlaConnDropPps' => [ - 'type' => 'integer', - 'format' => 'int64', + 'CertRegion' => ['description' => 'The region where the certificate is used. Valid values:'."\n" + ."\n" + .'- cn-hangzhou: Chinese mainland (default)'."\n" + ."\n" + .'- ap-southeast-1: a region outside the Chinese mainland', 'type' => 'string', 'example' => 'cn-hangzhou', 'title' => ''], + 'UserCertName' => ['description' => 'The name of the certificate that you uploaded to Certificate Management Service.', 'type' => 'string', 'example' => 'test', 'title' => ''], + 'Tls13CustomCiphers' => [ + 'type' => 'array', + 'items' => ['description' => 'A cipher suite for TLS 1.3.', 'type' => 'string', 'example' => 'ECDHE-RSA-AES128-GCM-SHA256', 'title' => ''], + 'description' => 'A list of cipher suites for TLS 1.3.', + 'title' => '', + 'example' => '', ], + 'CertExpireTime' => ['description' => 'The expiration timestamp of the associated certificate.'."\n" + ."\n" + .'> This parameter is deprecated.', 'type' => 'integer', 'format' => 'int64', 'example' => '1765959120', 'title' => ''], + 'WafProtectionEnable' => ['type' => 'boolean', 'required' => true, 'description' => '', 'title' => '', 'example' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"FFC77501-BDF8-4BC8-9BF5-B295FBC3189B\\",\\n \\"PortFlowList\\": [\\n {\\n \\"Index\\": 0,\\n \\"Time\\": 1582992000,\\n \\"InPps\\": 2934,\\n \\"InBps\\": 2176000,\\n \\"Region\\": \\"cn\\",\\n \\"OutPps\\": 5,\\n \\"AttackPps\\": 0,\\n \\"OutBps\\": 4389,\\n \\"AttackBps\\": 0,\\n \\"SlaBpsDropBps\\": 0,\\n \\"SlaPpsDropBps\\": 0,\\n \\"SlaCpsDropBps\\": 0,\\n \\"SlaConnDropBps\\": 0,\\n \\"SlaBpsDropPps\\": 0,\\n \\"SlaPpsDropPps\\": 0,\\n \\"SlaCpsDropPps\\": 0,\\n \\"SlaConnDropPps\\": 0\\n }\\n ]\\n}","type":"json"}]', - 'title' => 'DescribePortFlowList', - 'summary' => 'Queries the traffic data of one or more Anti-DDoS Proxy instances.', - ], - 'DescribePortConnsList' => [ - 'summary' => 'Queries the connections established over the ports of one or more Anti-DDoS Proxy instances.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'DescribeWebRules', + 'description' => 'This API runs a paginated query to retrieve the configurations of your web rules, such as the forwarding protocol type, origin server addresses, HTTPS settings, and IP blocklist configuration.'."\n" + ."\n" + .'Before calling this API, you must first create a web rule by calling [CreateWebRule](~~157463~~).'."\n" + ."\n" + .'### QPS limit'."\n" + ."\n" + .'The per-user QPS limit for this API is 50. Calls that exceed this limit are throttled, which can impact your services. Please plan your calls accordingly.', + 'requestParamsDescription' => 'When you call this API, you must include the Alibaba Cloud common request parameters in addition to the parameters described in this topic. For details, see [common parameters](~~157269~~).'."\n" + ."\n" + .'For the request format, see the request example in the **Examples** section.', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2025-09-19T08:52:36.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2024-08-30T07:13:07.000Z', 'description' => 'Request parameters changed, Response parameters changed'], + ['createdAt' => '2023-07-18T07:29:47.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2022-03-15T11:09:55.000Z', 'description' => 'Request parameters changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeWebRules'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeWebRules', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 1,\\n \\"RequestId\\": \\"0F5B72DD-96F4-423A-B12B-A5151DD746B8\\",\\n \\"WebRules\\": [\\n {\\n \\"Domain\\": \\"example.com\\",\\n \\"Http2HttpsEnable\\": true,\\n \\"SslProtocols\\": \\"tls1.1\\",\\n \\"PunishReason\\": 1,\\n \\"CcTemplate\\": \\"default\\",\\n \\"CcEnabled\\": true,\\n \\"SslCiphers\\": \\"default\\",\\n \\"Ssl13Enabled\\": false,\\n \\"CcRuleEnabled\\": false,\\n \\"OcspEnabled\\": false,\\n \\"PunishStatus\\": true,\\n \\"ProxyEnabled\\": true,\\n \\"CertName\\": \\"testcert\\",\\n \\"PolicyMode\\": \\"ip_hash\\",\\n \\"Cname\\": \\"kzmk7b8tt351****.aliyunddos1014****\\",\\n \\"Http2Enable\\": true,\\n \\"Https2HttpEnable\\": true,\\n \\"ProxyTypes\\": [\\n {\\n \\"ProxyType\\": \\"https\\",\\n \\"ProxyPorts\\": [\\n \\"443\\"\\n ]\\n }\\n ],\\n \\"RealServers\\": [\\n {\\n \\"RsType\\": 0,\\n \\"RealServer\\": \\"192.0.XX.XX\\"\\n }\\n ],\\n \\"WhiteList\\": [\\n \\"192.168.XX.XX\\"\\n ],\\n \\"BlackList\\": [\\n \\"192.0.XX.XX\\"\\n ],\\n \\"CustomCiphers\\": [\\n \\"ECDHE-ECDSA-AES128-GCM-SHA256\\"\\n ],\\n \\"GmCert\\": {\\n \\"CertId\\": \\"725****\\",\\n \\"GmEnable\\": 1,\\n \\"GmOnly\\": 1\\n },\\n \\"CertRegion\\": \\"cn-hangzhou\\",\\n \\"UserCertName\\": \\"test\\",\\n \\"Tls13CustomCiphers\\": [\\n \\"ECDHE-RSA-AES128-GCM-SHA256\\"\\n ],\\n \\"CertExpireTime\\": 1765959120,\\n \\"WafProtectionEnable\\": false\\n }\\n ]\\n}","type":"json"}]', + ], + 'DetachSceneDefenseObject' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -16187,93 +15505,99 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '106174', - 'abilityTreeNodes' => [ - 'FEATUREddosRTUJBH', - ], + 'abilityTreeCode' => '106212', + 'abilityTreeNodes' => ['FEATUREddosI8LHMA'], ], 'parameters' => [ [ - 'name' => 'ResourceGroupId', + 'name' => 'PolicyId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'default', - ], + 'schema' => ['description' => 'The ID of the policy.'."\n" + ."\n" + .'> You can call the [DescribeSceneDefensePolicies](~~159382~~) operation to query the IDs of all policies.', 'type' => 'string', 'required' => true, 'example' => '321a-fd31-df51-****', 'title' => ''], ], [ - 'name' => 'EndTime', + 'name' => 'ObjectType', 'in' => 'query', - 'schema' => [ - 'description' => 'The end of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n" - ."\n" - .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1583683200', - ], + 'schema' => ['description' => 'The type of the object. Set the value to **Domain**, which indicates a domain name.', 'type' => 'string', 'required' => false, 'default' => 'Domain', 'example' => 'Domain', 'title' => ''], ], [ - 'name' => 'StartTime', + 'name' => 'Objects', 'in' => 'query', + 'schema' => ['description' => 'The protection asset that you want to remove from a policy. Separate multiple protection assets with commas (,).', 'type' => 'string', 'required' => true, 'example' => 'www.aliyun.com', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'The beginning of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n" - ."\n" - .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1582992000', + 'type' => 'object', + 'properties' => [ + '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' => 'F65DF043-E0EB-4796-9467-23DDCDF92C1D', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], + ], + 'title' => 'DetachSceneDefenseObject', + 'summary' => 'Removes a protected object from a scenario-specific custom policy.', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:14.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DetachSceneDefenseObject'], + ], + ], + 'ramActions' => [ [ - 'name' => 'Interval', - 'in' => 'query', - 'schema' => [ - 'description' => 'The interval for returning data. Unit: seconds.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '1000', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DetachSceneDefenseObject', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Success\\": true,\\n \\"RequestId\\": \\"F65DF043-E0EB-4796-9467-23DDCDF92C1D\\"\\n}","type":"json"}]', + ], + 'DisableSceneDefensePolicy' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'Port', - 'in' => 'query', - 'schema' => [ - 'description' => 'The number of port that you want to query. If you do not specify this parameter, all ports are queried.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '80', - ], + 'AK' => [], ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'abilityTreeCode' => '106213', + 'abilityTreeNodes' => ['FEATUREddosM9SQC1'], + ], + 'parameters' => [ [ - 'name' => 'InstanceIds', + 'name' => 'PolicyId', 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => 'The ID of the instance.'."\n" - ."\n" - .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The ID of the instance.'."\n" - ."\n" - .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'ddoscoo-cn-mp91j1ao****', - ], - 'required' => true, - 'example' => 'ddoscoo-cn-mp91j1ao****', - 'maxItems' => 100, - ], + 'schema' => ['description' => 'The ID of the policy to disable.'."\n" + ."\n" + .'> Call [DescribeSceneDefensePolicies](~~159382~~) to query all policy IDs.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => '321a-fd31-df51-****'], ], ], 'responses' => [ @@ -16281,73 +15605,50 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request, which is used to locate and troubleshoot issues.'."\n", - 'type' => 'string', - 'example' => '6D48AED0-41DB-5D9B-B484-3B6AAD312AD1', - ], - 'ConnsList' => [ - 'description' => 'Details about the connections established over the port.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'ActConns' => [ - 'description' => 'The number of active connections.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '3', - ], - 'InActConns' => [ - 'description' => 'The number of inactive connections.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '2', - ], - 'Index' => [ - 'description' => 'The index number of the returned data.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '16506', - ], - 'Cps' => [ - 'description' => 'The number of new connections.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'Conns' => [ - 'description' => '> This parameter is in internal preview. Do not use this parameter.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '8', - ], - ], - ], - ], + 'Success' => ['description' => 'Indicates whether the API call was successful. Valid values:'."\n" + ."\n" + .'- **true**: Yes'."\n" + ."\n" + .'- **false**: No', 'type' => 'boolean', 'title' => '', 'example' => 'true'], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'title' => '', 'example' => 'F65DF043-E0EB-4796-9467-23DDCDF92C1D'], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6D48AED0-41DB-5D9B-B484-3B6AAD312AD1\\",\\n \\"ConnsList\\": [\\n {\\n \\"ActConns\\": 3,\\n \\"InActConns\\": 2,\\n \\"Index\\": 16506,\\n \\"Cps\\": 0,\\n \\"Conns\\": 8\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\n 6D48AED0-41DB-5D9B-B484-3B6AAD312AD1\\n \\n 3\\n 2\\n 16506\\n 0\\n 8\\n \\n","errorExample":""}]', - 'title' => 'DescribePortConnsList', - 'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see [Common parameters](~~157269~~).'."\n" - ."\n" - .'For more information about sample requests, see the **"Examples"** section of this topic.'."\n", + 'title' => 'DisableSceneDefensePolicy', + 'summary' => 'Disables a scenario-specific policy.', + 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribePortConnsCount' => [ - 'summary' => 'The statistics on the connections established over the ports of one or more Anti-DDoS Pro or Anti-DDoS Premium instances are queried.', - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:14.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DisableSceneDefensePolicy'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DisableSceneDefensePolicy', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Success\\": true,\\n \\"RequestId\\": \\"F65DF043-E0EB-4796-9467-23DDCDF92C1D\\"\\n}","type":"json"}]', + ], + 'DisableWebAccessLogConfig' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -16356,80 +15657,92 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '106173', - 'abilityTreeNodes' => [ - 'FEATUREddosRTUJBH', - ], + 'operationType' => 'update', + 'abilityTreeCode' => '106214', + 'abilityTreeNodes' => ['FEATUREddosOZ1QOD'], ], 'parameters' => [ [ 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'default', - ], + 'schema' => ['description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n", 'type' => 'string', 'required' => false, 'example' => 'default', 'title' => ''], ], [ - 'name' => 'EndTime', + 'name' => 'Domain', 'in' => 'query', + 'schema' => ['description' => 'The domain name of the website.'."\n" + ."\n" + .'> A forwarding rule must be configured for the domain name. You can call the [DescribeDomains](~~91724~~) operation to query all domain names.'."\n", 'type' => 'string', 'required' => true, 'example' => 'www.aliyun.com', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'The end of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n" - ."\n" - .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1583683200', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], - [ - 'name' => 'StartTime', - 'in' => 'query', - 'schema' => [ - 'description' => 'The beginning of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n" - ."\n" - .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1582992000', + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\"\\n}","errorExample":""},{"type":"xml","example":"\\r\\n\\r\\n\\tCF33B4C3-196E-4015-AADD-5CAD00057B80\\r\\n","errorExample":""}]', + 'title' => 'DisableWebAccessLogConfig', + 'summary' => 'Disables the log analysis feature for a website.', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:14.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DisableWebAccessLogConfig'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DisableWebAccessLogConfig', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], + ], + ], + 'DisableWebCC' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'abilityTreeCode' => '106215', + 'abilityTreeNodes' => ['FEATUREddosOZ1QOD'], + ], + 'parameters' => [ [ - 'name' => 'Port', + 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of port that you want to query. If you do not specify this parameter, all ports are queried.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '80', - ], + 'schema' => ['description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n", 'type' => 'string', 'required' => false, 'example' => 'default', 'title' => ''], ], [ - 'name' => 'InstanceIds', + 'name' => 'Domain', 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => 'An array that consists of the IDs of instances.'."\n" - ."\n" - .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The ID of the Anti-DDoS Pro or Anti-DDoS Premium instance.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'ddoscoo-cn-mp91j1ao****', - ], - 'required' => true, - 'example' => 'ddoscoo-cn-mp91j1ao****', - 'maxItems' => 100, - ], + 'schema' => ['description' => 'The domain name of the website.'."\n" + ."\n" + .'> A forwarding rule must be configured for a domain name. You can call the [DescribeDomains](~~91724~~) operation to query all domain names.'."\n", 'type' => 'string', 'required' => true, 'example' => 'www.aliyun.com', 'title' => ''], ], ], 'responses' => [ @@ -16437,53 +15750,45 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'InActConns' => [ - 'description' => 'The number of inactive connections.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '121', - ], - 'ActConns' => [ - 'description' => 'The number of active connections.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '159', - ], - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '48859E14-A9FB-4100-99FF-AAB75CA46776', - ], - 'Cps' => [ - 'description' => 'The number of new connections.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'Conns' => [ - 'description' => 'The number of concurrent connections.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '46340', - ], + 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"InActConns\\": 121,\\n \\"ActConns\\": 159,\\n \\"RequestId\\": \\"48859E14-A9FB-4100-99FF-AAB75CA46776\\",\\n \\"Cps\\": 0,\\n \\"Conns\\": 46340\\n}","errorExample":""},{"type":"xml","example":"\\r\\n\\r\\n\\t46340\\r\\n\\t48859E14-A9FB-4100-99FF-AAB75CA46776\\r\\n\\t0\\r\\n\\t159\\r\\n\\t121\\r\\n","errorExample":""}]', - 'title' => 'DescribePortConnsCount', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}","errorExample":""},{"type":"xml","example":"\\r\\n\\r\\n\\t0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\r\\n","errorExample":""}]', + 'title' => 'DisableWebCC', + 'summary' => 'Disables frequency control for a website.', + 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribePortMaxConns' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:14.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DisableWebCC'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DisableWebCC', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'DisableWebCCRule' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -16492,68 +15797,22 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeCode' => '106176', - 'abilityTreeNodes' => [ - 'FEATUREddosRTUJBH', - ], + 'operationType' => 'update', + 'abilityTreeCode' => '106216', + 'abilityTreeNodes' => ['FEATUREddosOZ1QOD'], ], 'parameters' => [ [ 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'default', - ], - ], - [ - 'name' => 'EndTime', - 'in' => 'query', - 'schema' => [ - 'description' => 'The end of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n" - ."\n" - .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1583683200', - ], - ], - [ - 'name' => 'StartTime', - 'in' => 'query', - 'schema' => [ - 'description' => 'The beginning of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n" - ."\n" - .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1582992000', - ], + 'schema' => ['description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n", 'type' => 'string', 'required' => false, 'example' => 'default', 'title' => ''], ], [ - 'name' => 'InstanceIds', + 'name' => 'Domain', 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => 'The IDs of the Anti-DDoS Proxy instances.'."\n" - ."\n" - .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all Anti-DDoS Proxy instances.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The ID of the Anti-DDoS Proxy instance.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => ' ddoscoo-cn-mp91j1ao****', - ], - 'required' => true, - 'example' => ' ddoscoo-cn-mp91j1ao****', - 'maxItems' => 100, - ], + 'schema' => ['description' => 'The domain name of the website.'."\n" + ."\n" + .'> A forwarding rule must be configured for a domain name. You can call the [DescribeDomains](~~91724~~) operation to query all domain names.'."\n", 'type' => 'string', 'required' => true, 'example' => 'www.aliyun.com', 'title' => ''], ], ], 'responses' => [ @@ -16561,57 +15820,45 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '08F79110-2AF5-4FA7-998E-7C5E75EACF9C', - ], - 'PortMaxConns' => [ - 'description' => 'The details of the maximum number of connections that can be established over a port of the instance.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Ip' => [ - 'description' => 'The IP address of the instance.'."\n", - 'type' => 'string', - 'example' => '203.***.***.117', - ], - 'Port' => [ - 'description' => 'The port of the instance.'."\n", - 'type' => 'string', - 'example' => '80', - ], - 'Cps' => [ - 'description' => 'The maximum number of connections per second (CPS).'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '100', - ], - ], - ], - ], + 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc', 'title' => ''], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"08F79110-2AF5-4FA7-998E-7C5E75EACF9C\\",\\n \\"PortMaxConns\\": [\\n {\\n \\"Ip\\": \\"203.***.***.117\\",\\n \\"Port\\": \\"80\\",\\n \\"Cps\\": 100\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\r\\n\\r\\n\\t\\r\\n\\t\\t80\\r\\n\\t\\t203.***.***.117\\r\\n\\t\\t0\\r\\n\\t\\r\\n\\t\\r\\n\\t\\t443\\r\\n\\t\\t203.***.***.117\\r\\n\\t\\t0\\r\\n\\t\\r\\n\\t08F79110-2AF5-4FA7-998E-7C5E75EACF9C\\r\\n","errorExample":""}]', - 'title' => 'DescribePortMaxConns', - 'summary' => 'Queries the maximum number of connections that can be established over the ports of one or more Anti-DDoS Proxy instances.', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}","errorExample":""},{"type":"xml","example":"\\r\\n\\r\\n\\t0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\r\\n","errorExample":""}]', + 'title' => 'DisableWebCCRule', + 'summary' => 'Disables custom frequency control rules for a website.', + 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribePortAttackMaxFlow' => [ - 'summary' => 'Queries the peak attack traffic bandwidth and peak attack traffic packet rates of one or more Anti-DDoS Pro or Anti-DDoS Premium instances within a specified period of time.', - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:14.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DisableWebCCRule'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DisableWebCCRule', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'EmptyAutoCcBlacklist' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -16620,72 +15867,87 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'none', + 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '106165', - 'abilityTreeNodes' => [ - 'FEATUREddosRTUJBH', - ], + 'abilityTreeCode' => '106217', + 'abilityTreeNodes' => ['FEATUREddosI8LHMA'], ], 'parameters' => [ [ - 'name' => 'ResourceGroupId', + 'name' => 'InstanceId', 'in' => 'query', + 'schema' => ['description' => 'The ID of the instance.'."\n" + ."\n" + .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.', 'type' => 'string', 'required' => true, 'example' => 'ddoscoo-cn-mp91j1ao****', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'The ID of the resource group to which the instance belongs in Resource Management.'."\n" - ."\n" - .'If you do not configure this parameter, the instance belongs to the default resource group.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'rg-acfm2pz25js****', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], + ], + 'title' => 'EmptyAutoCcBlacklist', + 'summary' => 'Clears the IP address blacklist of an Anti-DDoS Pro or Anti-DDoS Premium instance.', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:14.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'EmptyAutoCcBlacklist'], + ], + ], + 'ramActions' => [ [ - 'name' => 'EndTime', - 'in' => 'query', - 'schema' => [ - 'description' => 'The end of the time range to query. This value is a UNIX timestamp. Unit: seconds.'."\n" - ."\n" - .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1583683200', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:EmptyAutoCcBlacklist', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E\\"\\n}","type":"json"}]', + ], + 'EmptyAutoCcWhitelist' => [ + 'summary' => 'Clears the IP address whitelist of an Anti-DDoS Pro or Anti-DDoS Premium instance.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'StartTime', - 'in' => 'query', - 'schema' => [ - 'description' => 'The beginning of the time range to query. This value is a UNIX timestamp. Unit: seconds.'."\n" - ."\n" - .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1582992000', - ], + 'AK' => [], ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '106218', + 'abilityTreeNodes' => ['FEATUREddosI8LHMA'], + ], + 'parameters' => [ [ - 'name' => 'InstanceIds', + 'name' => 'InstanceId', 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => 'The IDs of the Anti-DDoS Proxy instances to query.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The ID of the Anti-DDoS Proxy instance to query.'."\n" - ."\n" - .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all Anti-DDoS Proxy instances.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'ddoscoo-cn-zvp2eibz****', - ], - 'required' => true, - 'example' => 'ddoscoo-cn-mp91j1ao****', - 'maxItems' => 100, - ], + 'schema' => ['description' => 'The ID of the instance.'."\n" + ."\n" + .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.', 'type' => 'string', 'required' => true, 'example' => 'ddoscoo-cn-mp91j1ao****', 'title' => ''], ], ], 'responses' => [ @@ -16693,50 +15955,45 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E', - ], - 'Bps' => [ - 'description' => 'The peak bandwidth of attack traffic. Unit: bit/s.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '149559', - ], - 'Pps' => [ - 'description' => 'The peak packet rate of attack traffic . Unit: packets per second (pps).'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '23', - ], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E', 'title' => ''], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E\\",\\n \\"Bps\\": 149559,\\n \\"Pps\\": 23\\n}","errorExample":""},{"type":"xml","example":"\\n C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E\\n 149559\\n 23\\n","errorExample":""}]', - 'title' => 'DescribePortAttackMaxFlow', - 'description' => 'You can call this operation to query the peak bandwidth and peak packet rate of attack traffic on one or more Anti-DDoS Pro or Anti-DDoS Premium instances within a specific period of time.'."\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", - 'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see [Common parameters](~~157269~~).'."\n" - ."\n" - .'For more information about sample requests, see the **"Examples"** section of this topic.'."\n", + 'title' => 'EmptyAutoCcWhitelist', + 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribePortViewSourceCountries' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:14.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'EmptyAutoCcWhitelist'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:EmptyAutoCcWhitelist', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E\\"\\n}","type":"json"}]', + ], + 'EmptySlsLogstore' => [ + 'summary' => 'Deletes the Logstore of Anti-DDoS Proxy.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -16745,70 +16002,82 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeCode' => '106178', - 'abilityTreeNodes' => [ - 'FEATUREddosRTUJBH', - ], + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '106219', + 'abilityTreeNodes' => ['FEATUREddosVFFSV8'], + 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the resource group to which the Anti-DDoS Proxy instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n" - ."\n" - .'For information about resource groups, see [Create a resource group](~~94485~~).'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'rg-acfm2pz25js****', - ], + 'schema' => ['description' => 'The resource group ID to which the Anti-DDoS Proxy instance belongs in Resource Management. The default value is empty, which indicates that the instance belongs to the default resource group.', 'type' => 'string', 'required' => false, 'example' => 'default', 'title' => ''], ], - [ - 'name' => 'EndTime', - 'in' => 'query', + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'The end of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n" - ."\n" - .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1583683200', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => 'The ID of this request.', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], + ], + 'title' => 'EmptySlsLogstore', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:14.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'EmptySlsLogstore'], + ], + ], + 'ramActions' => [ [ - 'name' => 'StartTime', - 'in' => 'query', - 'schema' => [ - 'description' => 'The beginning of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n" - ."\n" - .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1582992000', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:EmptySlsLogstore', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\"\\n}","type":"json"}]', + ], + 'EnableSceneDefensePolicy' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'abilityTreeCode' => '106220', + 'abilityTreeNodes' => ['FEATUREddosRTUJBH'], + ], + 'parameters' => [ [ - 'name' => 'InstanceIds', + 'name' => 'PolicyId', 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => 'The IDs of the Anti-DDoS Proxy instances to query.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The ID of the Anti-DDoS Proxy instance to query.'."\n" - ."\n" - .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all Anti-DDoS Proxy instances.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'ddoscoo-cn-mp91j1ao****', - ], - 'required' => true, - 'example' => 'ddoscoo-cn-mp91j1ao****', - 'maxItems' => 100, - ], + 'schema' => ['description' => 'The ID of the policy that you want to enable.'."\n" + ."\n" + .'> You can call the [DescribeSceneDefensePolicies](~~159382~~) operation to query the IDs of all policies.'."\n", 'type' => 'string', 'required' => true, 'example' => '321a-fd31-df51-****', 'title' => ''], ], ], 'responses' => [ @@ -16816,51 +16085,49 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E', - ], - 'SourceCountrys' => [ - 'description' => 'The details about the country or area from which the requests are sent.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Count' => [ - 'description' => 'The number of requests.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '3390671', - ], - 'CountryId' => [ - 'description' => 'The abbreviation of the country or area. For example, **cn** indicates China and **us** indicates the United States.'."\n" - ."\n" - .'> For more information, see [Location parameters](~~167926~~).'."\n", - 'type' => 'string', - 'example' => 'cn', - ], - ], - ], - ], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* **true**: yes'."\n" + .'* **false**: no'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'F65DF043-E0EB-4796-9467-23DDCDF92C1D', 'title' => ''], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E\\",\\n \\"SourceCountrys\\": [\\n {\\n \\"Count\\": 3390671,\\n \\"CountryId\\": \\"cn\\"\\n }\\n ]\\n}","type":"json"}]', - 'title' => 'DescribePortViewSourceCountries', - 'summary' => 'Queries the areas and countries from which requests are sent to one or more Anti-DDoS Pro or Anti-DDoS Premium instances within the specified period of time.', - ], - 'DescribePortViewSourceIsps' => [ - 'methods' => [ - 'post', - 'get', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Success\\": true,\\n \\"RequestId\\": \\"F65DF043-E0EB-4796-9467-23DDCDF92C1D\\"\\n}","errorExample":""},{"type":"xml","example":"\\r\\n\\r\\n\\tF65DF043-E0EB-4796-9467-23DDCDF92C1D\\r\\n\\ttrue\\r\\n","errorExample":""}]', + 'title' => 'EnableSceneDefensePolicy', + 'summary' => 'Enables a scenario-specific custom policy.', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:14.000Z', 'description' => 'Error codes changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'EnableSceneDefensePolicy'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:EnableSceneDefensePolicy', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'EnableWebAccessLogConfig' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -16869,70 +16136,92 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeCode' => '106179', - 'abilityTreeNodes' => [ - 'FEATUREddosRTUJBH', - ], + 'operationType' => 'update', + 'abilityTreeCode' => '106221', + 'abilityTreeNodes' => ['FEATUREddosI8LHMA'], ], 'parameters' => [ [ 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the resource group to which the Anti-DDoS Proxy instance belongs in Resource Management.'."\n" - ."\n" - .'If you do not specify this parameter, the instance belongs to the default resource group.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'rg-acfm2pz25js****', - ], + 'schema' => ['description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n", 'type' => 'string', 'required' => false, 'example' => 'default', 'title' => ''], ], [ - 'name' => 'EndTime', + 'name' => 'Domain', 'in' => 'query', + 'schema' => ['description' => 'The domain name of the website.'."\n" + ."\n" + .'> A forwarding rule must be configured for the domain name. You can call the [DescribeDomains](~~474212~~) operation to query all domain names.'."\n", 'type' => 'string', 'required' => true, 'example' => 'www.aliyun.com', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'The end of the time range to query. This value is a UNIX timestamp. Unit: seconds.'."\n" - ."\n" - .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1583683200', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\"\\n}","errorExample":""},{"type":"xml","example":"\\r\\n\\r\\n\\tCF33B4C3-196E-4015-AADD-5CAD00057B80\\r\\n","errorExample":""}]', + 'title' => 'EnableWebAccessLogConfig', + 'summary' => 'Enables the log analysis feature for a website.', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:14.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'EnableWebAccessLogConfig'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:EnableWebAccessLogConfig', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], + ], + ], + 'EnableWebCC' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'StartTime', + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'abilityTreeCode' => '106222', + 'abilityTreeNodes' => ['FEATUREddosOZ1QOD'], + ], + 'parameters' => [ + [ + 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => 'The beginning of the time range to query. This value is a UNIX timestamp. Unit: seconds.'."\n" - ."\n" - .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1582992000', - ], + 'schema' => ['description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n", 'type' => 'string', 'required' => false, 'example' => 'default', 'title' => ''], ], [ - 'name' => 'InstanceIds', + 'name' => 'Domain', 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => 'The IDs of the Anti-DDoS Proxy instances to query.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The ID of the Anti-DDoS Proxy instance to query.'."\n" - ."\n" - .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all Anti-DDoS Proxy instances.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'ddoscoo-cn-zvp2eibz****', - ], - 'required' => true, - 'example' => 'ddoscoo-cn-mp91j1ao****', - 'maxItems' => 100, - ], + 'schema' => ['description' => 'The domain name of the website.'."\n" + ."\n" + .'> A forwarding rule must be configured for the domain name. You can call the [DescribeDomains](~~91724~~) operation to query all domain names.'."\n", 'type' => 'string', 'required' => true, 'example' => 'www.aliyun.com', 'title' => ''], ], ], 'responses' => [ @@ -16940,85 +16229,45 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E', - ], - 'Isps' => [ - 'description' => 'An array that consists of the details of the ISP.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Count' => [ - 'description' => 'The total number of requests that are sent from the ISP.'."\n" - ."\n" - .'> This parameter does not indicate the accurate number of requests. You can use this parameter to calculate the proportion of requests from different ISPs.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '3390671', - ], - 'IspId' => [ - 'description' => 'The ID of the ISP. For more information, see the ISP codes table.'."\n", - 'type' => 'string', - 'example' => '100017', - ], - ], - ], - ], + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc', 'title' => ''], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E\\",\\n \\"Isps\\": [\\n {\\n \\"Count\\": 3390671,\\n \\"IspId\\": \\"100017\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\n C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E\\n \\n 3390671\\n 100017\\n \\n","errorExample":""}]', - 'title' => 'DescribePortViewSourceIsps', - 'summary' => 'Queries the Internet service providers (ISPs) from which requests are sent to one or more Anti-DDoS Pro or Anti-DDoS Premium instances within the specified period of time.', - 'description' => 'You can call the DescribePortViewSourceIsps operation to query the ISPs from which requests are sent to one or more Anti-DDoS Pro or Anti-DDoS Premium instances within a specific period of time.'."\n" - ."\n" - .'> The data returned for this operation cannot reflect the actual traffic volume because Layer 4 identity authentication algorithms are updated for Anti-DDoS Pro and Anti-DDoS Premium. You can call this operation to calculate only the proportion of requests sent from different ISPs. If you want to query the request traffic volume, we recommend that you call the [DescribePortFlowList](~~157460~~) operation.'."\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", - 'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see [Common parameters](~~157269~~).'."\n" - ."\n" - .'For more information about sample requests, see the **"Examples"** section of this topic.'."\n", - 'responseParamsDescription' => '**ISP codes**'."\n" - ."\n" - .'|Code|ISP|'."\n" - .'|---|---|'."\n" - .'|100017|China Telecom|'."\n" - .'|100026|China Unicom|'."\n" - .'|100025|China Mobile|'."\n" - .'|100027|China Education and Research Network (CERNET)|'."\n" - .'|100020|China Mobile Tietong|'."\n" - .'|1000143|Dr.Peng Group|'."\n" - .'|100080|Beijing Gehua CATV|'."\n" - .'|1000139|National Radio and Television Administration (NRTA)|'."\n" - .'|100023|Oriental Cable Network|'."\n" - .'|100063|Founder Broadband|'."\n" - .'|1000337|China Internet Exchange (CNIX)|'."\n" - .'|100021|21Vianet Group|'."\n" - .'|1000333|Wasu Media Holding|'."\n" - .'|100093|Wangsu Science & Technology|'."\n" - .'|1000401|Tencent|'."\n" - .'|100099|Baidu|'."\n" - .'|1000323|Alibaba Cloud|'."\n" - .'|100098|Alibaba Group|'."\n" - .'|1000120|KNET|', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}","errorExample":""},{"type":"xml","example":"\\r\\n\\r\\n\\t0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\r\\n","errorExample":""}]', + 'title' => 'EnableWebCC', + 'summary' => 'Enables the Frequency Control policy for a website.', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribePortViewSourceProvinces' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:14.000Z', 'description' => 'Error codes changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'EnableWebCC'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:EnableWebCC', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'EnableWebCCRule' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -17027,70 +16276,22 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeCode' => '106180', - 'abilityTreeNodes' => [ - 'FEATUREddosRTUJBH', - ], + 'operationType' => 'update', + 'abilityTreeCode' => '106223', + 'abilityTreeNodes' => ['FEATUREddosOZ1QOD'], ], 'parameters' => [ [ 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the resource group to which the Anti-DDoS Proxy instance belongs in Resource Management. This parameter is empty by default, which indicates that the Anti-DDoS Origin instance belongs to the default resource group.'."\n" - ."\n" - .'For information about resource groups, see [Create a resource group](~~94485~~).'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'rg-acfm2pz25js****', - ], + 'schema' => ['description' => 'The ID of the resource group to which the Anti-DDoS instance belongs in Resource Management. If you leave this parameter empty, the instance is added to the default resource group.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'default'], ], [ - 'name' => 'EndTime', + 'name' => 'Domain', 'in' => 'query', - 'schema' => [ - 'description' => 'The end of the time range to query. The value is a UNIX timestamp. Unit: seconds. If you do not configure this parameter, the current system time is used as the end time.'."\n" - ."\n" - .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1583683200', - ], - ], - [ - 'name' => 'StartTime', - 'in' => 'query', - 'schema' => [ - 'description' => 'The beginning of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n" - ."\n" - .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1582992000', - ], - ], - [ - 'name' => 'InstanceIds', - 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => 'The IDs of the Anti-DDoS Proxy instances to query.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The ID of the Anti-DDoS Proxy instance to query.'."\n" - ."\n" - .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all Anti-DDoS Proxy instances.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'ddoscoo-cn-mp91j1ao****', - ], - 'required' => true, - 'example' => 'ddoscoo-cn-mp91j1ao****', - 'maxItems' => 100, - ], + 'schema' => ['description' => 'The domain name of the website.'."\n" + ."\n" + .'> A forwarding rule must be configured for the domain name. You can call [DescribeDomains](~~91724~~) to query all domain names.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'www.aliyun.com'], ], ], 'responses' => [ @@ -17098,53 +16299,45 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E', - ], - 'SourceProvinces' => [ - 'description' => 'The details of the administrative region in China from which the requests are sent.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'ProvinceId' => [ - 'description' => 'The ID of the administrative region in China from which the requests are sent. For example, **110000** indicates Beijing, and **120000** indicates Tianjin.'."\n" - ."\n" - .'> For more information, see [Location parameters](~~167926~~).'."\n", - 'type' => 'string', - 'example' => '440000', - ], - 'Count' => [ - 'description' => 'The total number of requests that are sent from the ISP.'."\n" - ."\n" - .'> This parameter does not indicate the accurate number of requests. You can use this parameter to calculate the proportion of requests from different administrative regions in China.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '3390671', - ], - ], - ], - ], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'title' => '', 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc'], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E\\",\\n \\"SourceProvinces\\": [\\n {\\n \\"ProvinceId\\": \\"440000\\",\\n \\"Count\\": 3390671\\n }\\n ]\\n}","type":"json"}]', - 'title' => 'DescribePortViewSourceProvinces', - 'summary' => 'Queries the administrative regions in China from which requests are sent to one or more Anti-DDoS Pro or Anti-DDoS Premium instances within a specified period of time.', - ], - 'DescribeDomainQPSList' => [ - 'methods' => [ - 'post', - 'get', + 'title' => 'EnableWebCCRule', + 'summary' => 'Enables a custom HTTP flood protection rule.', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:14.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'EnableWebCCRule'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:EnableWebCCRule', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}","type":"json"}]', + ], + 'ModifyBlackholeStatus' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -17153,71 +16346,22 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeCode' => '106127', - 'abilityTreeNodes' => [ - 'FEATUREddosRTUJBH', - ], + 'operationType' => 'update', + 'abilityTreeCode' => '106227', + 'abilityTreeNodes' => ['FEATUREddosMHU3MF'], ], 'parameters' => [ [ - 'name' => 'ResourceGroupId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'default', - ], - ], - [ - 'name' => 'StartTime', - 'in' => 'query', - 'schema' => [ - 'description' => 'The beginning of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n" - ."\n" - .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1582992000', - ], - ], - [ - 'name' => 'EndTime', - 'in' => 'query', - 'schema' => [ - 'description' => 'The end of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n" - ."\n" - .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1583683200', - ], - ], - [ - 'name' => 'Interval', + 'name' => 'BlackholeStatus', 'in' => 'query', - 'schema' => [ - 'description' => 'The interval for returning data. Unit: seconds.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1000', - ], + 'schema' => ['description' => 'The action that you want to perform on the instance. Set the value to **undo**, which indicates that you want to deactivate blackhole filtering.'."\n", 'type' => 'string', 'required' => true, 'example' => 'undo', 'title' => ''], ], [ - 'name' => 'Domain', + 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The domain name of the website. If you do not specify this parameter, the statistics on the QPS of all domain names are queried.'."\n" - ."\n" - .'> A forwarding rule must be configured for the domain name. You can call the [DescribeDomains](~~91724~~) operation to query all domain names.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'www.aliyun.com', - ], + 'schema' => ['description' => 'The ID of the instance.'."\n" + ."\n" + .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.'."\n", 'type' => 'string', 'required' => true, 'example' => 'ddoscoo-cn-mp91j1ao****', 'title' => ''], ], ], 'responses' => [ @@ -17225,97 +16369,45 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '327F2ABB-104D-437A-AAB5-D633E29A8C51', - ], - 'DomainQPSList' => [ - 'description' => 'An array that consists of the statistics on the QPS of the website.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Index' => [ - 'description' => 'The index number of the returned data.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'Time' => [ - 'description' => 'The time when the data was collected. The value is a UNIX timestamp. Unit: seconds.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1582992000', - ], - 'MaxAttackQps' => [ - 'description' => 'The peak attack QPS.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '37', - ], - 'AttackQps' => [ - 'description' => 'The attack QPS.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'MaxQps' => [ - 'description' => 'The peak of total QPS.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '130', - ], - 'MaxNormalQps' => [ - 'description' => 'The peak of normal QPS.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '93', - ], - 'TotalQps' => [ - 'description' => 'The total QPS.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'TotalCount' => [ - 'description' => 'The total number of requests.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '20008', - ], - 'CacheHits' => [ - 'description' => 'The number of cache hits.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - ], - ], - ], + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"327F2ABB-104D-437A-AAB5-D633E29A8C51\\",\\n \\"DomainQPSList\\": [\\n {\\n \\"Index\\": 0,\\n \\"Time\\": 1582992000,\\n \\"MaxAttackQps\\": 37,\\n \\"AttackQps\\": 1,\\n \\"MaxQps\\": 130,\\n \\"MaxNormalQps\\": 93,\\n \\"TotalQps\\": 1,\\n \\"TotalCount\\": 20008,\\n \\"CacheHits\\": 0\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\r\\n\\r\\n\\t\\r\\n\\t\\t37\\r\\n\\t\\t1\\r\\n\\t\\t20008\\r\\n\\t\\t130\\r\\n\\t\\t93\\r\\n\\t\\t1\\r\\n\\t\\t0\\r\\n\\t\\t\\r\\n\\t\\t0\\r\\n\\t\\r\\n\\t327F2ABB-104D-437A-AAB5-D633E29A8C51\\r\\n","errorExample":""}]', - 'title' => 'DescribeDomainQPSList', - 'summary' => 'Queries the statistics on the queries per second (QPS) of a website.', - 'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see [Common parameters](~~157269~~).'."\n" - ."\n" - .'For more information about sample requests, see the **"Examples"** section of this topic.'."\n", + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E\\"\\n}","errorExample":""},{"type":"xml","example":"\\r\\n\\r\\n\\tC33EB3D5-AF96-43CA-9C7E-37A81BC06A1E\\r\\n","errorExample":""}]', + 'title' => 'ModifyBlackholeStatus', + 'summary' => 'Deactivates blackhole filtering that is triggered on an instance.', + 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeDomainStatusCodeList' => [ - 'summary' => 'Queries the statistics on HTTP status codes of a website.', - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:13.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyBlackholeStatus'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:ModifyBlackholeStatus', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'ModifyBlockStatus' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -17324,83 +16416,48 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeCode' => '106134', - 'abilityTreeNodes' => [ - 'FEATUREddos38XZ5J', - ], + 'operationType' => 'update', + 'abilityTreeCode' => '106228', + 'abilityTreeNodes' => ['FEATUREddosZIK01A'], ], 'parameters' => [ [ - 'name' => 'ResourceGroupId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'default', - ], - ], - [ - 'name' => 'StartTime', - 'in' => 'query', - 'schema' => [ - 'description' => 'The start time of the event. The value is a UNIX timestamp. Unit: seconds.'."\n" - ."\n" - .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1582992000', - ], - ], - [ - 'name' => 'EndTime', + 'name' => 'Status', 'in' => 'query', - 'schema' => [ - 'description' => 'The end of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n" - ."\n" - .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1583683200', - ], + 'schema' => ['description' => 'Specifies the status of the Diversion from Origin Server policy. Valid values:'."\n" + ."\n" + .'* **do**: enables the policy.'."\n" + .'* **undo**: disables the policy.'."\n", 'type' => 'string', 'required' => true, 'example' => 'do', 'title' => ''], ], [ - 'name' => 'Interval', + 'name' => 'Duration', 'in' => 'query', - 'schema' => [ - 'description' => 'The interval for returning data. Unit: seconds.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1000', - ], + 'schema' => ['description' => 'The blocking period. Valid values: **15** to **43200**. Unit: minutes.'."\n" + ."\n" + .'> If you set **Status** to **do**, you must also specify this parameter.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '60', 'title' => ''], ], [ - 'name' => 'Domain', + 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The domain name of the website. If you do not specify this parameter, the statistics on response status codes of all domain names are queried.'."\n" - ."\n" - .'> A forwarding rule must be configured for the domain name. You can call the [DescribeDomains](~~91724~~) operation to query all domain names.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'www.aliyun.com', - ], + 'schema' => ['description' => 'The ID of the Anti-DDoS Proxy (Chinese Mainland) instance to manage.'."\n" + ."\n" + .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all Anti-DDoS Proxy instances.'."\n", 'type' => 'string', 'required' => true, 'example' => 'ddoscoo-cn-mp91j1ao****', 'title' => ''], ], [ - 'name' => 'QueryType', + 'name' => 'Lines', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => 'The source of the statistics. Valid values:'."\n" + 'description' => 'An array consisting of the Internet service provider (ISP) lines from which traffic is blocked.'."\n", + 'type' => 'array', + 'items' => ['description' => 'The ISP line from which traffic is blocked. Valid values:'."\n" ."\n" - .'* **gf**: Anti-DDoS Pro or Anti-DDoS Premium'."\n" - .'* **upstrem**: origin server'."\n", - 'type' => 'string', + .'* **ct**: a China Telecom line intended for users outside the Chinese mainland'."\n" + .'* **cut**: a China Unicom line intended for users outside the Chinese mainland'."\n", 'type' => 'string', 'required' => false, 'example' => 'ct', 'title' => ''], 'required' => true, - 'example' => 'gf', + 'example' => 'ct', + 'maxItems' => 20, + 'title' => '', ], ], ], @@ -17409,134 +16466,48 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '3B63C0DD-8AC5-44B2-95D6-064CA9296B9C', - ], - 'StatusCodeList' => [ - 'description' => 'The statistics on response status codes.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Index' => [ - 'description' => 'The index number of the returned data.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'Status502' => [ - 'description' => 'The number of 502 status codes.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'Time' => [ - 'description' => 'The time when the data was collected. The value is a UNIX timestamp. Unit: seconds.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1582992000', - ], - 'Status405' => [ - 'description' => 'The number of 405 status codes.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'Status3XX' => [ - 'description' => 'The number of 3xx status codes.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'Status503' => [ - 'description' => 'The number of 503 status codes.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'Status4XX' => [ - 'description' => 'The number of 4xx status codes.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '4486', - ], - 'Status2XX' => [ - 'description' => 'The number of 2xx status codes.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '15520', - ], - 'Status5XX' => [ - 'description' => 'The number of 5xx status codes.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'Status504' => [ - 'description' => 'The number of 504 status codes.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'Status200' => [ - 'description' => 'The number of 200 status codes.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '15520', - ], - 'Status403' => [ - 'description' => 'The number of 403 status codes.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'Status404' => [ - 'description' => 'The number of 404 status codes.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'Status410' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'Status499' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'Status501' => [ - 'description' => 'The number of 501 status codes.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - ], - 'description' => '', - ], - ], + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E', 'title' => ''], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"3B63C0DD-8AC5-44B2-95D6-064CA9296B9C\\",\\n \\"StatusCodeList\\": [\\n {\\n \\"Index\\": 0,\\n \\"Status502\\": 0,\\n \\"Time\\": 1582992000,\\n \\"Status405\\": 0,\\n \\"Status3XX\\": 0,\\n \\"Status503\\": 0,\\n \\"Status4XX\\": 4486,\\n \\"Status2XX\\": 15520,\\n \\"Status5XX\\": 0,\\n \\"Status504\\": 0,\\n \\"Status200\\": 15520,\\n \\"Status403\\": 0,\\n \\"Status404\\": 0,\\n \\"Status410\\": 0,\\n \\"Status499\\": 0,\\n \\"Status501\\": 0\\n }\\n ]\\n}","type":"json"}]', - 'title' => 'DescribeDomainStatusCodeList', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E\\"\\n}","errorExample":""},{"type":"xml","example":"\\n C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E\\n","errorExample":""}]', + 'title' => 'ModifyBlockStatus', + 'summary' => 'Modifies the Diversion from Origin Server configuration of an Anti-DDoS Proxy (Chinese Mainland) instance.', + 'description' => '> This operation is suitable only for Anti-DDoS Proxy (Chinese Mainland).'."\n", 'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see [Common parameters](~~157269~~).'."\n" ."\n" .'For more information about sample requests, see the **"Examples"** section of this topic.'."\n", 'responseParamsDescription' => ' ', - ], - 'DescribeDomainOverview' => [ - 'methods' => [ - 'post', - 'get', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:13.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyBlockStatus'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:ModifyBlockStatus', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'ModifyCnameReuse' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -17545,62 +16516,35 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeCode' => '106125', - 'abilityTreeNodes' => [ - 'FEATUREddosRTUJBH', - ], + 'operationType' => 'update', + 'abilityTreeCode' => '106229', + 'abilityTreeNodes' => ['FEATUREddosZIK01A'], ], 'parameters' => [ [ 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n" - ."\n" - .'For more information about resource groups, see [Create a resource group](~~94485~~).'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'rg-acfm2pz25js****', - ], + 'schema' => ['description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n", 'type' => 'string', 'required' => false, 'example' => 'default', 'title' => ''], ], [ - 'name' => 'StartTime', + 'name' => 'Domain', 'in' => 'query', - 'schema' => [ - 'description' => 'The beginning of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n" - ."\n" - .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1619798400', - ], + 'schema' => ['description' => 'The domain name of the website.'."\n" + ."\n" + .'> A forwarding rule must be configured for the domain name. You can call the [DescribeDomains](~~91724~~) operation to query all domain names.'."\n", 'type' => 'string', 'required' => true, 'example' => 'www.aliyun.com', 'title' => ''], ], [ - 'name' => 'EndTime', + 'name' => 'Cname', 'in' => 'query', - 'schema' => [ - 'description' => 'The end of the time range to query. The value is a UNIX timestamp. Unit: seconds. If you leave this parameter unspecified, the current system time is used as the end time.'."\n" - ."\n" - .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1623427200', - ], + 'schema' => ['description' => 'The CNAME record that you want to reuse for the website.'."\n", 'type' => 'string', 'required' => false, 'example' => '4o6ep6q217k9****.aliyunddos0004.com', 'title' => ''], ], [ - 'name' => 'Domain', + 'name' => 'Enable', 'in' => 'query', - 'schema' => [ - 'description' => 'The domain name of the website that you want to query. If you leave this parameter unspecified, the statistics on all domain names are queried.'."\n" - ."\n" - .'> The domain name must be added to Anti-DDoS Pro or Anti-DDoS Premium. You can call the [DescribeDomains](~~91724~~) operation to query all the domain names that are added to Anti-DDoS Pro or Anti-DDoS Premium.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'example.aliyundoc.com', - ], + 'schema' => ['description' => 'Specifies whether to enable CNAME reuse. Valid values:'."\n" + ."\n" + .'* **0:** disabled'."\n" + .'* **1:** enabled'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1', 'title' => ''], ], ], 'responses' => [ @@ -17608,46 +16552,46 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request, which is used to locate and troubleshoot issues.'."\n", - 'type' => 'string', - 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E', - ], - 'MaxHttp' => [ - 'description' => 'The peak queries per second (QPS) during HTTP traffic scrubbing. Unit: QPS.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '41652', - ], - 'MaxHttps' => [ - 'description' => 'The peak QPS during HTTPS traffic scrubbing. Unit: QPS.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E\\",\\n \\"MaxHttp\\": 41652,\\n \\"MaxHttps\\": 0\\n}","errorExample":""},{"type":"xml","example":"\\n C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E\\n 41652\\n 0\\n","errorExample":""}]', - 'title' => 'DescribeDomainOverview', - 'summary' => 'Queries the attack overview of a website, such as the peak HTTP and HTTPS traffic.', - 'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see [Common parameters](~~157269~~).'."\n" - ."\n" - .'For more information about sample requests, see the **"Examples"** section of this topic.'."\n", + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}","errorExample":""},{"type":"xml","example":"\\r\\n\\r\\n\\t0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\r\\n","errorExample":""}]', + 'title' => 'ModifyCnameReuse', + 'summary' => 'Enables or disables CNAME reuse for a website.', + 'description' => '> This operation is suitable only for Anti-DDoS Premium.'."\n", + 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeDomainStatusCodeCount' => [ - 'summary' => 'Queries the statistics on HTTP status codes of a website within a specified period of time.', - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:13.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyCnameReuse'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:ModifyCnameReuse', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'ModifyDomainResource' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -17656,59 +16600,132 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeCode' => '106133', - 'abilityTreeNodes' => [ - 'FEATUREddos38XZ5J', - ], + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '106238', + 'abilityTreeNodes' => ['FEATUREddos64TBV6'], ], 'parameters' => [ [ - 'name' => 'ResourceGroupId', + 'name' => 'Domain', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'default', - ], + 'schema' => ['description' => 'The domain name that is added to the Anti-DDoS Pro or Anti-DDoS Premium instance.', 'type' => 'string', 'required' => true, 'example' => 'www.example.com', 'title' => ''], ], [ - 'name' => 'StartTime', + 'name' => 'RsType', 'in' => 'query', 'schema' => [ - 'description' => 'The beginning of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n" + 'description' => 'The address type of the origin server. Valid values:'."\n" + ."\n" + .'- **0**: IP address'."\n" ."\n" - .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n", + .'- **1**: domain name'."\n" + ."\n" + .' If you deploy proxies, such as a Web Application Firewall (WAF) instance, between the origin server and the Anti-DDoS Pro or Anti-DDoS Premium instance, set the value to 1. If you use the domain name, you must enter the address of the proxy, such as the CNAME of WAF.', 'type' => 'integer', - 'format' => 'int64', + 'format' => 'int32', 'required' => true, - 'example' => '1582992000', + 'enum' => ['0', '1'], + 'example' => '0', + 'title' => '', ], ], [ - 'name' => 'EndTime', + 'name' => 'HttpsExt', + 'in' => 'query', + 'schema' => ['description' => 'The advanced HTTPS settings. This parameter takes effect only when the value of the **ProxyType** parameter includes **https**. The value is a string that consists of a JSON struct. The JSON struct contains the following fields:'."\n" + ."\n" + .'- **Http2https**: specifies whether to turn on Enforce HTTPS Routing. This field is optional and must be an integer. Valid values: **0** and **1**. The value 0 indicates that Enforce HTTPS Routing is turned off. The value 1 indicates that Enforce HTTPS Routing is turned on. The default value is 0.'."\n" + ."\n" + .' If your website supports both HTTP and HTTPS, this feature meets your business requirements. If you enable this feature, all HTTP requests to access the website are redirected to HTTPS requests on the standard port 443.'."\n" + ."\n" + .'- **Https2http**: specifies whether to turn on Enable HTTP. This field is optional and must be an integer. Valid values: **0** and **1**. The value 0 indicates that Enable HTTP is turned off. The value 1 indicates that Enable HTTP is turned on. The default value is 0.'."\n" + ."\n" + .' If your website does not support HTTPS, this feature meets your business requirements If this feature is enabled, all HTTPS requests are redirected to HTTP requests and forwarded to origin servers. This feature can redirect WebSockets requests to WebSocket requests. Requests are redirected over the standard port 80.'."\n" + ."\n" + .'- **Http2**: specifies whether to turn on Enable HTTP/2. This field is optional. Data type: integer. Valid values: **0** and **1**. The value 0 indicates that Enable HTTP/2 is turned off. The value 1 indicates that Enable HTTP/2 is turned on. The default value is 0.'."\n" + ."\n" + .' After you turn on the switch, HTTP/2 is used.', 'type' => 'string', 'required' => false, 'example' => '{"Http2":1,"Http2https":1,"Https2http":1}', 'title' => ''], + ], + [ + 'name' => 'ProxyTypes', + 'in' => 'query', + 'style' => 'flat', + 'schema' => [ + 'description' => 'The details about the protocol type and port number.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'ProxyPorts' => [ + 'description' => 'The port numbers.', + 'type' => 'array', + 'items' => ['description' => 'The port number.'."\n" + ."\n" + .'> You must specify a port within the port range supported by the Anti-DDoS Pro or Anti-DDoS Premium instance. For more information, see [Custom non-standard ports](~~127433~~).', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '443', 'title' => ''], + 'required' => true, + 'maxItems' => 10, + 'title' => '', + 'example' => '', + ], + 'ProxyType' => [ + 'description' => 'The type of the protocol. Valid values:'."\n" + ."\n" + .'- **http**'."\n" + ."\n" + .'- **https**'."\n" + ."\n" + .'- **websocket**'."\n" + ."\n" + .'- **websockets**', + 'type' => 'string', + 'required' => false, + 'enum' => ['http', 'https', 'websocket', 'websockets'], + 'example' => 'https', + 'title' => '', + ], + ], + 'required' => false, + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'required' => true, + 'title' => '', + 'example' => '', + ], + ], + [ + 'name' => 'RealServers', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => 'The end of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n" + 'description' => 'An array that consists of the addresses of origin servers.', + 'type' => 'array', + 'items' => ['description' => 'The address of the origin server.'."\n" ."\n" - .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n", - 'type' => 'integer', - 'format' => 'int64', + .'If you set the **RsType** parameter to **0**, set the value to the IP address of the origin server. If you set the **RsType** parameter to **1**, set the value to the domain name of the origin server. For more information, see the description of the **RsType** parameter.', 'type' => 'string', 'required' => false, 'example' => '1.XX.XX.1', 'title' => ''], 'required' => true, - 'example' => '1583683200', + 'maxItems' => 20, + 'title' => '', + 'example' => '', ], ], [ - 'name' => 'Domain', + 'name' => 'InstanceIds', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => 'The domain name of the website.'."\n" + 'description' => 'An array consisting of the IDs of instances that you want to associate.', + 'type' => 'array', + 'items' => ['description' => 'The ID of instance that you want to associate. If you do not specify this parameter, only the domain name of the website is added but no instances are associated with the website.'."\n" ."\n" - .'> A forwarding rule must be configured for the domain name. You can call the [DescribeDomains](~~91724~~) operation to query all domain names.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'www.aliyun.com', + .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.', 'type' => 'string', 'required' => false, 'example' => 'ddoscoo-cn-mp91j1ao****', 'title' => ''], + 'required' => true, + 'maxItems' => 20, + 'title' => '', + 'example' => '', ], ], ], @@ -17717,112 +16734,43 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Status502' => [ - 'description' => 'The number of 502 status codes within the specified period of time.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'Status405' => [ - 'description' => 'The number of 405 status codes within the specified period of time.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'Status3XX' => [ - 'description' => 'The number of 3xx status codes within the specified period of time.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '133209', - ], - 'Status503' => [ - 'description' => 'The number of 503 status codes within the specified period of time.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'Status4XX' => [ - 'description' => 'The number of 4xx status codes within the specified period of time.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '5653', - ], - 'Status2XX' => [ - 'description' => 'The number of 2xx status codes within the specified period of time.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '951472', - ], - 'Status5XX' => [ - 'description' => 'The number of 5xx status codes within the specified period of time.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '14', - ], - 'Status504' => [ - 'description' => 'The number of 504 status codes within the specified period of time.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E', - ], - 'Status200' => [ - 'description' => 'The number of 200 status codes within the specified period of time.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '951159', - ], - 'Status403' => [ - 'description' => 'The number of 403 status codes within the specified period of time.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'Status404' => [ - 'description' => 'The number of 404 status codes within the specified period of time.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '897', - ], - 'Status410' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'Status499' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'Status501' => [ - 'description' => 'The number of 501 status codes within the specified period of time.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '39499F01-19D9-4EA4-A0E9-C6014BA5CDBE', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Status502\\": 0,\\n \\"Status405\\": 0,\\n \\"Status3XX\\": 133209,\\n \\"Status503\\": 0,\\n \\"Status4XX\\": 5653,\\n \\"Status2XX\\": 951472,\\n \\"Status5XX\\": 14,\\n \\"Status504\\": 0,\\n \\"RequestId\\": \\"C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E\\",\\n \\"Status200\\": 951159,\\n \\"Status403\\": 0,\\n \\"Status404\\": 897,\\n \\"Status410\\": 0,\\n \\"Status499\\": 0,\\n \\"Status501\\": 0\\n}","errorExample":""},{"type":"xml","example":"\\n C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E\\n 0\\n 0\\n 0\\n 0\\n 897\\n 0\\n 0\\n 951472\\n 951159\\n 133209\\n 5653\\n 14\\n","errorExample":""}]', - 'title' => 'DescribeDomainStatusCodeCount', - 'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see [Common parameters](~~157269~~).'."\n" - ."\n" - .'For more information about sample requests, see the **"Examples"** section of this topic.'."\n", - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'DescribeDomainTopAttackList' => [ - 'methods' => [ - 'post', - 'get', + 'title' => 'ModifyDomainResource', + 'summary' => 'Modifies the forwarding rule of a website.', + 'changeSet' => [ + ['createdAt' => '2023-05-26T07:22:44.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2022-09-08T03:34:13.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyDomainResource'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:ModifyDomainResource', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"39499F01-19D9-4EA4-A0E9-C6014BA5CDBE\\"\\n}","type":"json"}]', + ], + 'ModifyElasticBandWidth' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -17831,57 +16779,24 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeCode' => '106135', - 'abilityTreeNodes' => [ - 'FEATUREddosRTUJBH', - ], + 'operationType' => 'update', + 'abilityTreeCode' => '106239', + 'abilityTreeNodes' => ['FEATUREddosOZ1QOD'], ], 'parameters' => [ [ - 'name' => 'ResourceGroupId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'default', - ], - ], - [ - 'name' => 'StartTime', - 'in' => 'query', - 'schema' => [ - 'description' => 'The beginning of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n" - ."\n" - .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1582992000', - ], - ], - [ - 'name' => 'EndTime', + 'name' => 'ElasticBandwidth', 'in' => 'query', - 'schema' => [ - 'description' => 'The end of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n" - ."\n" - .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1583683200', - ], + 'schema' => ['description' => 'The new burstable protection bandwidth that you want to use. Unit: Gbit/s.'."\n" + ."\n" + .'> You can call the [DescribeElasticBandwidthSpec](~~91502~~) operation to query the available burstable protection bandwidth of the instance.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '50', 'title' => ''], ], [ - 'name' => 'Interval', + 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'default' => '3600', - ], + 'schema' => ['description' => 'The ID of the instance.'."\n" + ."\n" + .'> The instance must be in a normal state. You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.'."\n", 'type' => 'string', 'required' => true, 'example' => 'ddoscoo-cn-mp91j1ao****', 'title' => ''], ], ], 'responses' => [ @@ -17889,121 +16804,152 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E', - ], - 'AttackList' => [ - 'description' => 'The peak QPS of the website.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Attack' => [ - 'description' => 'The attack QPS. Unit: QPS'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'Domain' => [ - 'description' => 'The domain name of the website.'."\n", - 'type' => 'string', - 'example' => 'www.aliyun.com', - ], - 'Count' => [ - 'description' => 'The number of all QPS, which includes normal and attack QPS. Unit: QPS.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '294', - ], - ], - ], - ], + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E\\",\\n \\"AttackList\\": [\\n {\\n \\"Attack\\": 0,\\n \\"Domain\\": \\"www.aliyun.com\\",\\n \\"Count\\": 294\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\r\\n\\r\\n\\tC33EB3D5-AF96-43CA-9C7E-37A81BC06A1E\\r\\n\\t\\r\\n\\t\\t294\\r\\n\\t\\t0\\r\\n\\t\\twww.aliyun.com\\r\\n\\t\\r\\n","errorExample":""}]', - 'title' => 'DescribeDomainTopAttackList', - 'summary' => 'Queries the peak queries per second (QPS) information about a website, such as the attack QPS and total QPS, within a specific period of time.', - 'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see [Common parameters](~~157269~~).'."\n" - ."\n" - .'For more information about sample requests, see the **"Examples"** section of this topic.'."\n", + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}","errorExample":""},{"type":"xml","example":"\\r\\n\\r\\n\\t0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\r\\n","errorExample":""}]', + 'title' => 'ModifyElasticBandWidth', + 'summary' => 'Modifies the burstable protection bandwidth of a specified Anti-DDoS Proxy (Chinese Mainland) instance.', + 'description' => '> This operation is suitable only for Anti-DDoS Proxy (Chinese Mainland).'."\n", + 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeDomainViewSourceCountries' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:13.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyElasticBandWidth'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:ModifyElasticBandWidth', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'ModifyElasticBizQps' => [ + 'summary' => 'Configures the burstable QPS and mode of an Anti-DDoS Proxy instance.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeCode' => '106136', - 'abilityTreeNodes' => [ - 'FEATUREddosRTUJBH', - ], + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '172640', + 'abilityTreeNodes' => ['FEATUREddosMHU3MF'], ], 'parameters' => [ [ - 'name' => 'ResourceGroupId', + 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'default', - ], + 'schema' => ['description' => 'The ID of the Anti-DDoS instance.'."\n" + ."\n" + .'> You can call [DescribeInstanceIds](~~157459~~) to query the IDs of all Anti-DDoS instances.', 'type' => 'string', 'required' => true, 'example' => 'ddoscoo-cn-mp91j1ao****', 'title' => ''], ], [ - 'name' => 'StartTime', + 'name' => 'Mode', 'in' => 'query', - 'schema' => [ - 'description' => 'The beginning of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n" - ."\n" - .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1582992000', - ], + 'schema' => ['description' => 'The metering method for the burstable QPS. Valid values:'."\n" + ."\n" + .'- **month**: Monthly 95th percentile'."\n" + ."\n" + .'- **day**: Daily 95th percentile', 'type' => 'string', 'required' => true, 'example' => 'month', 'title' => ''], ], [ - 'name' => 'EndTime', + 'name' => 'OpsElasticQps', 'in' => 'query', + 'schema' => ['description' => 'The burstable QPS value. After burstable QPS is enabled, the default value is three times the basic QPS, but it cannot exceed the maximum burstable QPS:'."\n" + ."\n" + .'- **Anti-DDoS Proxy (Chinese Mainland) IPv4 instance**: The maximum value is 300,000 QPS.'."\n" + ."\n" + .'- **Anti-DDoS Proxy (Chinese Mainland) IPv6 instance**: The maximum value is 100,000 QPS.'."\n" + ."\n" + .'- **Anti-DDoS Proxy (Outside Chinese Mainland) instance**: The maximum value is 150,000 QPS.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '300000', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'The end of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n" - ."\n" - .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1583683200', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => 'The request ID, which is used to locate and troubleshoot issues.', 'type' => 'string', 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'ModifyElasticBizQps', + 'description' => 'Both IPv4 and IPv6 instances support burstable QPS.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyElasticBizQps'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:ModifyElasticBizQps', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}","type":"json"}]', + ], + 'ModifyFullLogTtl' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'Domain', + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'abilityTreeCode' => '106241', + 'abilityTreeNodes' => ['FEATUREddosVFFSV8'], + ], + 'parameters' => [ + [ + 'name' => 'Ttl', 'in' => 'query', - 'schema' => [ - 'description' => 'The domain name of the website.'."\n" - ."\n" - .'> A forwarding rule must be configured for the domain name. You can call the [DescribeDomains](~~91724~~) operation to query all domain names.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'www.aliyun.com', - ], + 'schema' => ['description' => 'The log storage duration of a website. Valid values: **7** to **180**. Unit: days.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '30', 'title' => ''], + ], + [ + 'name' => 'ResourceGroupId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n", 'type' => 'string', 'required' => false, 'example' => 'default', 'title' => ''], ], ], 'responses' => [ @@ -18011,53 +16957,46 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E', - ], - 'SourceCountrys' => [ - 'description' => 'An array consisting of the country or area from which the requests are sent.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Count' => [ - 'description' => 'The total number of requests.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '3390671', - ], - 'CountryId' => [ - 'description' => 'The abbreviation of the country or area. For more information, see the **Codes of countries and areas** section of the [Codes of administrative regions in China and codes of countries and areas](~~167926~~) topic. For example, **cn** indicates China, and **us** indicates the United States.'."\n", - 'type' => 'string', - 'example' => 'cn', - ], - ], - ], - ], + 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E\\",\\n \\"SourceCountrys\\": [\\n {\\n \\"Count\\": 3390671,\\n \\"CountryId\\": \\"cn\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\r\\n\\r\\n\\tC33EB3D5-AF96-43CA-9C7E-37A81BC06A1E\\r\\n\\t\\r\\n\\t\\t3390671\\r\\n\\t\\tcn\\r\\n\\t\\r\\n","errorExample":""}]', - 'title' => 'DescribeDomainViewSourceCountries', - 'summary' => 'Queries the areas and countries from which requests are sent to a website within a specified period of time.', - 'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see [Common parameters](~~157269~~).'."\n" - ."\n" - .'For more information about sample requests, see the **"Examples"** section of this topic.'."\n", + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}","errorExample":""},{"type":"xml","example":"\\r\\n\\r\\n\\t0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\r\\n","errorExample":""}]', + 'title' => 'ModifyFullLogTtl', + 'summary' => 'Modifies the log storage duration for Anti-DDoS Proxy.', + 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeDomainViewSourceProvinces' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:13.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyFullLogTtl'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:ModifyFullLogTtl', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'ModifyHeaders' => [ + 'summary' => 'Modifies custom headers for a domain on an Anti-DDoS Pro instance.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -18066,114 +17005,113 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeCode' => '106137', - 'abilityTreeNodes' => [ - 'FEATUREddosRTUJBH', - ], + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '106247', + 'abilityTreeNodes' => ['FEATUREddosCT2Z4D'], ], 'parameters' => [ [ 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'default', - ], + 'schema' => ['description' => 'The ID of the resource group.'."\n" + ."\n" + .'> - You can call the [ListResourceGroups](~~158855~~) operation or use the console to obtain a list of resource group IDs. For more information, see [View basic information about a resource group](~~151181~~).'."\n" + ."\n" + .'- To find the current resource group of an instance before changing it, call the [ListResources](~~158866~~) operation.', 'type' => 'string', 'required' => false, 'example' => 'rg-acfmz6jbof5****'."\n", 'title' => ''], ], [ - 'name' => 'StartTime', + 'name' => 'Domain', 'in' => 'query', - 'schema' => [ - 'description' => 'The beginning of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n" - ."\n" - .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1582992000', - ], + 'schema' => ['description' => 'The domain of the website.'."\n" + ."\n" + .'> A website service forwarding rule must be configured for the domain. You can call the [DescribeDomains](~~91724~~) operation to query all your domains.', 'type' => 'string', 'required' => true, 'example' => 'example.aliyundoc.com', 'title' => ''], ], [ - 'name' => 'EndTime', + 'name' => 'CustomHeaders', 'in' => 'query', - 'schema' => [ - 'description' => 'The end of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n" - ."\n" - .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1583683200', - ], + 'schema' => ['description' => 'The custom header, specified as a key-value pair. The key is the header name and the value is the header value. You can specify up to 5 key-value pairs. The total length cannot exceed 200 characters.'."\n" + ."\n" + .'Important:'."\n" + ."\n" + .'- - X-Forwarded-ClientSrcPort: Used by default to retrieve the client port that accesses the Layer 7 engine of Anti-DDoS Pro.'."\n" + ."\n" + .' - X-Forwarded-ProxyPort: Used by default to retrieve the listening port of the Layer 7 engine of Anti-DDoS Pro.'."\n" + ."\n" + .' - X-Forwarded-For: Used by default to retrieve the client IP address that accesses the Layer 7 engine of Anti-DDoS Pro.'."\n" + ."\n" + .'- Do not use standard HTTP header fields (such as `host`, `user-agent`, `connection`, and `upgrade`) or common custom HTTP header fields (such as `x-real-ip`, `x-true-ip`, `x-client-ip`, `web-server-type`, `wl-proxy-client-ip`, `eagleeye-rpcid`, `eagleeye-traceid`, `x-forwarded-cluster`, and `x-forwarded-proto`) as they will overwrite the original header values in requests.'."\n" + ."\n" + .'> To use the `X-Forwarded-ClientSrcPort` key to retrieve the client port that accesses the Layer 7 engine of Anti-DDoS Pro, set the value to `""`.', 'type' => 'string', 'required' => true, 'example' => '{"X-Forwarded-ClientSrcPort":""}', 'title' => ''], ], [ - 'name' => 'Domain', + 'name' => 'EmbeddedHeaders', 'in' => 'query', - 'schema' => [ - 'description' => 'The domain name of the website.'."\n" - ."\n" - .'> A forwarding rule must be configured for the domain name. You can call the [DescribeDomains](~~91724~~) operation to query all domain names.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'www.aliyun.com', - ], + 'schema' => ['description' => 'The forwarding configuration for request headers. This parameter is a JSON string of key-value pairs where the key is the header field name and the value is a boolean. Set the value to `true` to enable forwarding or `false` to disable it.'."\n" + ."\n" + .'Field description:'."\n" + ."\n" + .'`X-Client-IP`: Forwards the client\'s real IP address.'."\n" + ."\n" + .'`X-True-IP`: Forwards the client\'s connection IP address.'."\n" + ."\n" + .'`Web-Server-Type`: Informs the back-end server about the type of front-end web server or proxy that is handling the request.'."\n" + ."\n" + .'`WL-Proxy-Client-IP`: A request header specific to Oracle WebLogic Server that provides the same functionality as `X-Client-IP`.'."\n" + ."\n" + .'`X-Forwarded-Proto`: Indicates the protocol used for the connection between the client and the first proxy.'."\n" + ."\n" + .'Important:'."\n" + ."\n" + .'- **Supported Headers**: The configuration supports only the five preset header fields listed above.'."\n" + ."\n" + .'- **Default settings**: All the listed header fields are enabled by default. To make changes, you must explicitly set the corresponding value to `false`.', 'type' => 'string', 'example' => '{"X-Client-IP":true,"X-True-IP":true,"Web-Server-Type":true,"WL-Proxy-Client-IP":true,"X-Forwarded-Proto":true}', 'title' => '', 'required' => false], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'description' => 'Response parameters.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E', - ], - 'SourceProvinces' => [ - 'description' => 'An array consisting of the details of the administrative region in China from which the requests are sent.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'ProvinceId' => [ - 'description' => 'The ID of the region inside China. For more information, see the **Codes of administrative regions in China** section of the [Codes of administrative regions in China and codes of countries and areas](~~167926~~) topic. For example, **110000** indicates Beijing, and **120000** indicates Tianjin.'."\n", - 'type' => 'string', - 'example' => '440000', - ], - 'Count' => [ - 'description' => 'The total number of requests.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '3390671', - ], - ], - ], - ], + 'RequestId' => ['description' => 'The ID of the request. This is a unique identifier generated by Alibaba Cloud for the request. You can use this ID to troubleshoot and locate issues.', 'type' => 'string', 'example' => 'DC38A1D3-C042-5670-8394-8F6B1FA97B5E', 'title' => ''], ], + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E\\",\\n \\"SourceProvinces\\": [\\n {\\n \\"ProvinceId\\": \\"440000\\",\\n \\"Count\\": 3390671\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\r\\n\\r\\n\\tC33EB3D5-AF96-43CA-9C7E-37A81BC06A1E\\r\\n\\t\\r\\n\\t\\t3390671\\r\\n\\t\\t440000\\r\\n\\t\\r\\n","errorExample":""}]', - 'title' => 'DescribeDomainViewSourceProvinces', - 'summary' => 'Queries the administrative regions in China from which requests are sent to a website within a specified period of time.', - 'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see [Common parameters](~~157269~~).'."\n" - ."\n" - .'For more information about sample requests, see the **"Examples"** section of this topic.'."\n", - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'DescribeDomainViewTopCostTime' => [ - 'methods' => [ - 'post', - 'get', + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'InvalidEmbeddedHeaders', 'errorMessage' => 'EmbeddedHeaders parameter is invalid.', 'description' => 'The EmbeddedHeaders parameter passed in is invalid.'], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"DC38A1D3-C042-5670-8394-8F6B1FA97B5E\\"\\n}","type":"json"}]', + 'title' => 'ModifyHeaders', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ModifyHeaders'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:ModifyHeaders', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'ModifyHealthCheckConfig' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -18182,73 +17120,59 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeCode' => '106138', - 'abilityTreeNodes' => [ - 'FEATUREddosRTUJBH', - ], + 'operationType' => 'update', + 'abilityTreeCode' => '106248', + 'abilityTreeNodes' => ['FEATUREddosN7DYCX'], ], 'parameters' => [ [ - 'name' => 'ResourceGroupId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'default', - ], - ], - [ - 'name' => 'StartTime', + 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The beginning of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n" - ."\n" - .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1582992000', - ], + 'schema' => ['description' => 'The ID of the instance.'."\n" + ."\n" + .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.'."\n", 'type' => 'string', 'required' => true, 'example' => 'ddoscoo-cn-mp91j1ao****', 'title' => ''], ], [ - 'name' => 'EndTime', + 'name' => 'ForwardProtocol', 'in' => 'query', - 'schema' => [ - 'description' => 'The end of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n" - ."\n" - .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1583683200', - ], + 'schema' => ['description' => 'The forwarding protocol. Valid values:'."\n" + ."\n" + .'* **tcp**'."\n" + .'* **udp**'."\n", 'type' => 'string', 'required' => true, 'example' => 'tcp', 'title' => ''], ], [ - 'name' => 'Domain', + 'name' => 'FrontendPort', 'in' => 'query', - 'schema' => [ - 'description' => 'The domain name of the website.'."\n" - ."\n" - .'> A forwarding rule must be configured for the domain name. You can call the [DescribeDomains](~~91724~~) operation to query all domain names.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'www.aliyun.com', - ], + 'schema' => ['description' => 'The forwarding port.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '8080', 'title' => ''], ], [ - 'name' => 'Top', + 'name' => 'HealthCheck', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of URLs to query. Valid values: **1** to **100**.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'maximum' => '100', - 'minimum' => '1', - 'example' => '5', - ], + 'schema' => ['description' => 'The details of the health check configuration. This parameter is a JSON string. The string contains the following fields:'."\n" + ."\n" + .'* **Type**: the protocol type. This field is required and must be of the STRING type. Valid values: **tcp** (Layer 4) and **http** (Layer 7).'."\n" + ."\n" + .'* **Domain**: the domain name, which must be of the STRING type.'."\n" + ."\n" + .' **'."\n" + ."\n" + .' **Note**This parameter is returned only when the Layer 7 health check configuration is queried.'."\n" + ."\n" + .'* **Uri**: the check path, which must be of the STRING type.'."\n" + ."\n" + .' **'."\n" + ."\n" + .' **Note**This parameter is returned only when the Layer 7 health check configuration is queried.'."\n" + ."\n" + .'* **Timeout**: the response timeout period, which must be of the INTEGER type. Valid values: **1** to **30**. Unit: seconds.'."\n" + ."\n" + .'* **Port**: the port on which you want to perform the health check, which must be of the INTEGER type.'."\n" + ."\n" + .'* **Interval**: the health check interval, which must be of the INTEGER type. Valid values: **1** to **30**. Unit: seconds.'."\n" + ."\n" + .'* **Up**: the number of consecutive successful health checks that must occur before declaring a port healthy, which must be of the INTEGER type. Valid values: **1** to **10**.'."\n" + ."\n" + .'* **Down**: the number of consecutive failed health checks that must occur before declaring a port unhealthy, which must be of the INTEGER type. Valid values: **1** to **10**.'."\n", 'type' => 'string', 'required' => true, 'example' => '{"Type":"tcp","Timeout":10,"Port":8080,"Interval":10,"Up":10,"Down":40}', 'title' => ''], ], ], 'responses' => [ @@ -18256,58 +17180,45 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E', - ], - 'UrlList' => [ - 'description' => 'The URLs which require the longest time to respond to requests.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'CostTime' => [ - 'description' => 'The response duration. Unit: milliseconds.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '3000', - ], - 'Url' => [ - 'description' => 'The URL that is Base64-encoded.'."\n", - 'type' => 'string', - 'example' => 'Lw==', - ], - 'Domain' => [ - 'description' => 'The domain name of the website.'."\n", - 'type' => 'string', - 'example' => 'www.aliyun.com', - ], - ], - ], - ], + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E\\",\\n \\"UrlList\\": [\\n {\\n \\"CostTime\\": 3000,\\n \\"Url\\": \\"Lw==\\",\\n \\"Domain\\": \\"www.aliyun.com\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\r\\n\\r\\n\\tC33EB3D5-AF96-43CA-9C7E-37A81BC06A1E\\r\\n\\t\\r\\n\\t\\t3000\\r\\n\\t\\twww.aliyun.com\\r\\n\\t\\tLw==\\r\\n\\t\\r\\n","errorExample":""}]', - 'title' => 'DescribeDomainViewTopCostTime', - 'summary' => 'Queries the top N URLs that require the longest time to respond to requests within a specified period of time.', - 'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see [Common parameters](~~157269~~).'."\n" - ."\n" - .'For more information about sample requests, see the **"Examples"** section of this topic.'."\n", + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}","errorExample":""},{"type":"xml","example":"\\r\\n\\r\\n\\t0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\r\\n","errorExample":""}]', + 'title' => 'ModifyHealthCheckConfig', + 'summary' => 'Modifies the Layer 4 or Layer 7 health check configuration of a port forwarding rule.', + 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeDomainViewTopUrl' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:13.000Z', 'description' => 'Error codes changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyHealthCheckConfig'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:ModifyHealthCheckConfig', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'ModifyHttp2Enable' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -18316,209 +17227,238 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeCode' => '106139', - 'abilityTreeNodes' => [ - 'FEATUREddosRTUJBH', - ], + 'operationType' => 'update', + 'abilityTreeCode' => '106249', + 'abilityTreeNodes' => ['FEATUREddosN7DYCX'], ], 'parameters' => [ [ 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'default', - ], + 'schema' => ['description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n", 'type' => 'string', 'required' => false, 'example' => 'default', 'title' => ''], ], [ - 'name' => 'StartTime', + 'name' => 'Domain', 'in' => 'query', - 'schema' => [ - 'description' => 'The beginning of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n" - ."\n" - .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1582992000', - ], + 'schema' => ['description' => 'The domain name of the website.'."\n" + ."\n" + .'> A forwarding rule must be configured for the domain name, and the domain name must be associated with an instance that uses the Enhanced function plan. You can call the [DescribeDomains](~~91724~~) operation to query all domain names.'."\n", 'type' => 'string', 'required' => true, 'example' => 'www.aliyun.com', 'title' => ''], ], [ - 'name' => 'EndTime', + 'name' => 'Enable', 'in' => 'query', + 'schema' => ['description' => 'Specifies whether to enable HTTP/2. Valid values:'."\n" + ."\n" + .'* **0**: disables HTTP/2.'."\n" + .'* **1**: enables HTTP/2.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'The end of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n" - ."\n" - .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1583683200', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], - [ - 'name' => 'Domain', - 'in' => 'query', - 'schema' => [ - 'description' => 'The domain name of the website.'."\n" - ."\n" - .'> A forwarding rule must be configured for the domain name. You can call the [DescribeDomains](~~91724~~) operation to query all domain names.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'www.aliyun.com', - ], - ], - [ - 'name' => 'Top', - 'in' => 'query', - 'schema' => [ - 'description' => 'The number of URLs to query. Valid values: **1** to **100**.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'maximum' => '100', - 'minimum' => '1', - 'example' => '5', - ], - ], - [ - 'name' => 'Inerval', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'default' => '3600', - ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E\\"\\n}","errorExample":""},{"type":"xml","example":"\\r\\n\\r\\n\\tC33EB3D5-AF96-43CA-9C7E-37A81BC06A1E\\r\\n","errorExample":""}]', + 'title' => 'ModifyHttp2Enable', + 'summary' => 'Enables or disables HTTP/2 for the forwarding rule of a website.', + 'description' => '> This operation is suitable only for Anti-DDoS Proxy (Chinese Mainland).'."\n", + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:13.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ModifyHttp2Enable'], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E', - ], - 'UrlList' => [ - 'description' => 'An array consisting of the URLs that receive the most requests.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Url' => [ - 'description' => 'The URL that is Base64-encoded.'."\n", - 'type' => 'string', - 'example' => 'Lw==', - ], - 'Domain' => [ - 'description' => 'The domain name of the website.'."\n", - 'type' => 'string', - 'example' => 'www.aliyun.com', - ], - 'Count' => [ - 'description' => 'The total number of requests.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '3390671', - ], - ], - ], - ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:ModifyHttp2Enable', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E\\",\\n \\"UrlList\\": [\\n {\\n \\"Url\\": \\"Lw==\\",\\n \\"Domain\\": \\"www.aliyun.com\\",\\n \\"Count\\": 3390671\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\r\\n\\r\\n\\tC33EB3D5-AF96-43CA-9C7E-37A81BC06A1E\\r\\n\\t\\r\\n\\t\\t3390671\\r\\n\\t\\twww.aliyun.com\\r\\n\\t\\tLw==\\r\\n\\t\\r\\n","errorExample":""}]', - 'title' => 'DescribeDomainViewTopUrl', - 'summary' => 'Queries the top N URLs that receive the most requests within a specified period of time.', - 'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see [Common parameters](~~157269~~).'."\n" - ."\n" - .'For more information about sample requests, see the **"Examples"** section of this topic.'."\n", - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', ], - 'EnableWebAccessLogConfig' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ModifyInstance' => [ + 'summary' => 'Modifies the specifications of an Anti-DDoS Pro or Anti-DDoS Premium instance.', + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', - 'abilityTreeCode' => '106221', - 'abilityTreeNodes' => [ - 'FEATUREddosI8LHMA', - ], + 'chargeType' => 'paid', + 'abilityTreeCode' => '262914', + 'abilityTreeNodes' => ['FEATUREddosI8LHMA'], + 'autoTest' => true, ], 'parameters' => [ [ - 'name' => 'ResourceGroupId', + 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'default', - ], + 'schema' => ['description' => 'The ID of the Anti-DDoS Pro or Anti-DDoS Premium instance.'."\n" + .'> You can invoke [DescribeInstanceIds](~~157459~~) to query the IDs of all Anti-DDoS Pro or Anti-DDoS Premium instances.', 'type' => 'string', 'required' => true, 'example' => 'ddoscoo-cn-6ja1y6p5****'."\n", 'title' => ''], ], [ - 'name' => 'Domain', + 'name' => 'ModifyType', 'in' => 'query', 'schema' => [ - 'description' => 'The domain name of the website.'."\n" - ."\n" - .'> A forwarding rule must be configured for the domain name. You can call the [DescribeDomains](~~474212~~) operation to query all domain names.'."\n", + 'description' => 'The type of specification change. Valid values:'."\n" + .'- UPGRADE: Upgrade.'."\n" + .'- DOWNGRADE: Downgrade.', 'type' => 'string', 'required' => true, - 'example' => 'www.aliyun.com', + 'enum' => ['UPGRADE', 'DOWNGRADE'], + 'example' => 'Upgrade', + 'title' => '', ], ], + [ + 'name' => 'NormalBandwidth', + 'in' => 'query', + 'schema' => ['description' => 'The clean bandwidth (outside the Chinese mainland). Unit: Mbit/s.', 'type' => 'string', 'required' => false, 'example' => '200', 'title' => ''], + ], + [ + 'name' => 'ServiceBandwidth', + 'in' => 'query', + 'schema' => ['description' => 'The clean bandwidth (the Chinese mainland). Unit: Mbit/s.', 'type' => 'string', 'required' => false, 'example' => '300', 'title' => ''], + ], + [ + 'name' => 'BaseBandwidth', + 'in' => 'query', + 'schema' => ['description' => 'The basic protection bandwidth (the Chinese mainland). Unit: Gbit/s.', 'type' => 'string', 'required' => false, 'example' => '30', 'title' => ''], + ], + [ + 'name' => 'PortCount', + 'in' => 'query', + 'schema' => ['description' => 'The number of protected ports.', 'type' => 'string', 'required' => false, 'example' => '50', 'title' => ''], + ], + [ + 'name' => 'Bandwidth', + 'in' => 'query', + 'schema' => ['description' => 'The burstable protection bandwidth (the Chinese mainland). Unit: Gbit/s.', 'type' => 'string', 'required' => false, 'example' => '30', 'title' => ''], + ], + [ + 'name' => 'DomainCount', + 'in' => 'query', + 'schema' => ['description' => 'The number of protected domain names.', 'type' => 'string', 'required' => false, 'example' => '50', 'title' => ''], + ], + [ + 'name' => 'NormalQps', + 'in' => 'query', + 'schema' => ['description' => 'The clean queries per second (QPS). Unit: Mbit/s.', 'type' => 'string', 'required' => false, 'example' => '100', 'title' => ''], + ], + [ + 'name' => 'ProductType', + 'in' => 'query', + 'schema' => ['description' => 'The product type.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'- **ddoscoo**: indicates that the China site account is used for specification changes of an Anti-DDoS Pro or Anti-DDoS Premium (Chinese mainland) instance.'."\n" + .'- **ddoscoo_intl**: indicates that the international site account is used for specification changes of an Anti-DDoS Pro or Anti-DDoS Premium (Chinese mainland) instance.'."\n" + .'- **ddosDip**: indicates that the China site account or international site account is used for specification changes of an Anti-DDoS Pro or Anti-DDoS Premium (outside the Chinese mainland) instance.', 'type' => 'string', 'required' => true, 'example' => 'ddoscoo', 'title' => ''], + ], + [ + 'name' => 'AddressType', + 'in' => 'query', + 'schema' => ['description' => 'The address type. Valid values:'."\n" + .'- **Ipv4**: IPv4.'."\n" + .'- **Ipv6**: IPv6.', 'type' => 'string', 'required' => false, 'example' => 'Ipv4', 'title' => ''], + ], + [ + 'name' => 'ProductPlan', + 'in' => 'query', + 'schema' => ['description' => 'The mitigation plan (outside the Chinese mainland). Valid values:'."\n" + ."\n" + .'- **0**: Insurance mitigation plan for Anti-DDoS Pro or Anti-DDoS Premium (outside the Chinese mainland).'."\n" + .'- **1**: Unlimited mitigation plan for Anti-DDoS Pro or Anti-DDoS Premium (outside the Chinese mainland).'."\n" + .'- **2**: acceleration line for Anti-DDoS Pro or Anti-DDoS Premium (outside the Chinese mainland).'."\n" + .'- **3**: secure acceleration line for Anti-DDoS Pro or Anti-DDoS Premium (outside the Chinese mainland).', 'type' => 'string', 'required' => false, 'example' => '0', 'title' => ''], + ], + [ + 'name' => 'EditionSale', + 'in' => 'query', + 'schema' => ['description' => 'The mitigation plan (the Chinese mainland). Valid values:'."\n" + ."\n" + .'- **coop**: Professional Edition of Anti-DDoS Pro or Anti-DDoS Premium (Chinese mainland).'."\n" + .'- **advance**: Professional Edition of Anti-DDoS Pro or Anti-DDoS Premium (Chinese mainland).', 'type' => 'string', 'required' => false, 'example' => 'coop', 'title' => ''], + ], + [ + 'name' => 'ServicePartner', + 'in' => 'query', + 'schema' => ['description' => 'The line resource of the instance (the Chinese mainland). Valid values:'."\n" + ."\n" + .'- **coop-line-001**: eight-line BGP line for Anti-DDoS Pro or Anti-DDoS Premium (Chinese mainland).', 'type' => 'string', 'required' => false, 'example' => 'coop-line-001', 'title' => ''], + ], + [ + 'name' => 'FunctionVersion', + 'in' => 'query', + 'schema' => ['description' => 'The function version. Valid values:'."\n" + ."\n" + .'- **0**: standard features.'."\n" + .'- **1**: enhanced features.', 'type' => 'string', 'required' => false, 'example' => '0', 'title' => ''], + ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80', - ], + 'RequestId' => ['description' => 'The request ID. It is a unique identifier generated by Alibaba Cloud for the request and can be used to troubleshoot issues.', 'type' => 'string', 'example' => '0018DF77-7189-5D33-947B-E5B34BFCE07E', 'title' => ''], + 'OrderId' => ['description' => 'The order ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '242461444340562', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\"\\n}","errorExample":""},{"type":"xml","example":"\\r\\n\\r\\n\\tCF33B4C3-196E-4015-AADD-5CAD00057B80\\r\\n","errorExample":""}]', - 'title' => 'EnableWebAccessLogConfig', - 'summary' => 'Enables the log analysis feature for a website.', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'ModifyFullLogTtl' => [ - 'methods' => [ - 'post', - 'get', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'Upgrade/Downgrade an Anti-DDoS Pro or Anti-DDoS Premium instance', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:ModifyInstance', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0018DF77-7189-5D33-947B-E5B34BFCE07E\\",\\n \\"OrderId\\": 242461444340562\\n}","type":"json"}]', + ], + 'ModifyInstanceRemark' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -18528,32 +17468,25 @@ 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', - 'abilityTreeCode' => '106241', - 'abilityTreeNodes' => [ - 'FEATUREddosVFFSV8', - ], + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '106250', + 'abilityTreeNodes' => ['FEATUREddosMHU3MF'], ], 'parameters' => [ [ - 'name' => 'Ttl', + 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The log storage duration of a website. Valid values: **7** to **180**. Unit: days.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '30', - ], + 'schema' => ['description' => 'The ID of the Anti-DDoS Pro or Anti-DDoS Premium instance to manage.'."\n" + ."\n" + .'> You can invoke [DescribeInstanceIds](~~157459~~) to query the IDs of all Anti-DDoS Pro or Anti-DDoS Premium instances.', 'type' => 'string', 'required' => true, 'example' => 'ddoscoo-cn-mp91j1ao****', 'title' => ''], ], [ - 'name' => 'ResourceGroupId', + 'name' => 'Remark', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'default', - ], + 'schema' => ['description' => 'Settings for the remark of the Anti-DDoS Pro or Anti-DDoS Premium instance.'."\n" + ."\n" + .'The remark can contain Chinese characters, uppercase and lowercase letters, digits, and some special characters such as `,.+-*/_`. The remark can be up to 500 characters in length.', 'type' => 'string', 'required' => true, 'example' => 'new-remark', 'title' => ''], ], ], 'responses' => [ @@ -18561,32 +17494,48 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc', - ], + 'RequestId' => ['description' => 'The request ID, which is a unique identifier generated by Alibaba Cloud for this request. You can use this ID to troubleshoot issues.', 'type' => 'string', 'example' => '7EFA2BA6-9C0A-4410-B735-FC337EB634A1', 'title' => ''], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}","errorExample":""},{"type":"xml","example":"\\r\\n\\r\\n\\t0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\r\\n","errorExample":""}]', - 'title' => 'ModifyFullLogTtl', - 'summary' => 'Modifies the log storage duration for Anti-DDoS Proxy.', - 'requestParamsDescription' => ' ', + 'title' => 'Modify the remark of a specified instance', + 'summary' => 'Modifies the remark of an Anti-DDoS Pro or Anti-DDoS Premium instance.', + 'requestParamsDescription' => 'When you call this operation, you must include the common request parameters of Alibaba Cloud API in addition to the operation-specific request parameters described in this topic. For more information about common parameters, see [Common parameters](~~157269~~).'."\n" + ."\n" + .'For the request format, see the request example in the **Examples** section of this topic.', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DisableWebAccessLogConfig' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:13.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyInstanceRemark'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:ModifyInstanceRemark', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"7EFA2BA6-9C0A-4410-B735-FC337EB634A1\\"\\n}","type":"json"}]', + ], + 'ModifyNetworkRuleAttribute' => [ + 'summary' => 'Modifies the session persistence and DDoS mitigation policy settings for a port forwarding rule.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -18596,32 +17545,91 @@ 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', - 'abilityTreeCode' => '106214', - 'abilityTreeNodes' => [ - 'FEATUREddosOZ1QOD', - ], + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '106251', + 'abilityTreeNodes' => ['FEATUREddosOZ1QOD'], ], 'parameters' => [ [ - 'name' => 'ResourceGroupId', + 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'default', - ], + 'schema' => ['description' => 'The ID of the Anti-DDoS Pro or Anti-DDoS Premium instance.'."\n" + ."\n" + .'> Call [DescribeInstanceIds](~~157459~~) to query the IDs of all Anti-DDoS Pro and Anti-DDoS Premium instances.', 'type' => 'string', 'required' => true, 'example' => 'ddoscoo-cn-mp91j1ao****', 'title' => ''], ], [ - 'name' => 'Domain', + 'name' => 'ForwardProtocol', + 'in' => 'query', + 'schema' => ['description' => 'The forwarding protocol. Valid values:'."\n" + ."\n" + .'- **tcp**'."\n" + ."\n" + .'- **udp**', 'type' => 'string', 'required' => true, 'example' => 'tcp', 'title' => ''], + ], + [ + 'name' => 'FrontendPort', + 'in' => 'query', + 'schema' => ['description' => 'The forwarding port.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '8080', 'title' => ''], + ], + [ + 'name' => 'Config', + 'in' => 'query', + 'schema' => ['description' => 'The advanced settings for the port forwarding rule. Specify the settings as a JSON string. The structure is described below.'."\n" + .'The structure of \\`TcpConfig\\` is as follows:'."\n" + ."\n" + .'- **PersistenceTimeout**: An integer. This parameter is required. The timeout period for session persistence. Unit: seconds. Valid values: **30** to **3600**. The default value is **0**, which disables session persistence.'."\n" + ."\n" + .'- **Synproxy**: A string. This parameter is required. The status of the False Source setting for the DDoS mitigation policy. Valid values: \\`off\\` and \\`on\\`.'."\n" + ."\n" + .'- **NodataConn**: A string. This parameter is required. The status of the Empty Connection setting for the DDoS mitigation policy. Valid values: \\`off\\` and \\`on\\`.'."\n" + ."\n" + .'- **Sla**: A struct. This parameter is required. The configuration for destination rate limiting. For more information, see the \\`Sla\\` section below.'."\n" + ."\n" + .'- **Slimit**: A struct. This parameter is required. The configuration for source rate limiting. For more information, see the \\`Slimit\\` section below.'."\n" + ."\n" + .'- **PayloadLen**: A struct. This parameter is required. The packet length filter configuration. For more information, see the \\`PayloadLen\\` section below.'."\n" + ."\n" + .'The structure of \\`Sla\\` is as follows:'."\n" + ."\n" + .'- **Cps**: An integer. This parameter is required. The maximum number of new connections per second to a destination IP address. Valid values: 100 to 100,000.'."\n" + ."\n" + .'- **Maxconn**: An integer. This parameter is required. The maximum number of concurrent connections to a destination IP address. Valid values: 1,000 to 1,000,000.'."\n" + ."\n" + .'- **CpsEnable**: An integer. This parameter is required. Specifies whether to enable the limit on new connections. Valid values: 0 (disabled) and 1 (enabled). The default value is 1.'."\n" + ."\n" + .'- **MaxconnEnable**: An integer. This parameter is required. Specifies whether to enable the limit on concurrent connections. Valid values: 0 (disabled) and 1 (enabled). The default value is 1.'."\n" + ."\n" + .'The structure of \\`Slimit\\` is as follows:'."\n" + ."\n" + .'- **Cps**: An integer. This parameter is required. The maximum number of new connections per second from a source IP address. Valid values: 1 to 50,000.'."\n" + ."\n" + .'- **Maxconn**: An integer. This parameter is required. The maximum number of concurrent connections from a source IP address. Valid values: 1 to 50,000.'."\n" + ."\n" + .'- **CpsEnable**: An integer. This parameter is required. Specifies whether to enable the limit on new connections. Valid values: 0 (disabled) and 1 (enabled). The default value is 1.'."\n" + ."\n" + .'- **MaxconnEnable**: An integer. This parameter is required. Specifies whether to enable the limit on concurrent connections. Valid values: 0 (disabled) and 1 (enabled). The default value is 1.'."\n" + ."\n" + .'- **CpsMode**: An integer. This parameter is required. The mode for the new connection rate limit from a source IP address. Valid values: 1 (off) and 2 (auto).'."\n" + ."\n" + .'The structure of \\`PayloadLen\\` is as follows:'."\n" + ."\n" + .'- **Min**: An integer. This parameter is required. The minimum packet length. Valid values: 0 to 1,500.'."\n" + ."\n" + .'- **Max**: An integer. This parameter is required. The maximum packet length. Valid values: 0 to 1,500.', 'type' => 'string', 'required' => true, 'example' => '{"Slimit":{"CpsEnable":1,"MaxconnEnable":1,"Cps":1,"Maxconn":1},"Sla":{"CpsEnable":1,"MaxconnEnable":1,"Cps":100,"Maxconn":1000},"PayloadLen":{"Min":0,"Max":1500}}'."\n", 'title' => ''], + ], + [ + 'name' => 'Module', 'in' => 'query', 'schema' => [ - 'description' => 'The domain name of the website.'."\n" + 'description' => 'The module for Layer 7 port support. The default value is sla. Valid value:'."\n" ."\n" - .'> A forwarding rule must be configured for the domain name. You can call the [DescribeDomains](~~91724~~) operation to query all domain names.'."\n", + .'**sla**: Speed Limit for Destination', 'type' => 'string', - 'required' => true, - 'example' => 'www.aliyun.com', + 'required' => false, + 'enum' => ['sla'], + 'example' => 'sla', + 'title' => '', ], ], ], @@ -18630,31 +17638,44 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80', - ], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\"\\n}","errorExample":""},{"type":"xml","example":"\\r\\n\\r\\n\\tCF33B4C3-196E-4015-AADD-5CAD00057B80\\r\\n","errorExample":""}]', - 'title' => 'DisableWebAccessLogConfig', - 'summary' => 'Disables the log analysis feature for a website.', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}","type":"json"}]', + 'title' => 'ModifyNetworkRuleAttribute', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeWebAccessLogDispatchStatus' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:13.000Z', 'description' => 'Error codes changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyNetworkRuleAttribute'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:ModifyNetworkRuleAttribute', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'ModifyOcspStatus' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -18664,198 +17685,180 @@ 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', - 'abilityTreeCode' => '106197', - 'abilityTreeNodes' => [ - 'FEATUREddosRTUJBH', - ], + 'abilityTreeCode' => '106252', + 'abilityTreeNodes' => ['FEATUREddos64TBV6'], ], 'parameters' => [ [ - 'name' => 'ResourceGroupId', + 'name' => 'Domain', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the resource group to which the instance belongs in Resource Management.'."\n" - ."\n" - .'If you do not configure this parameter, the instance belongs to the default resource group.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'rg-acfm2pz25js****', - ], + 'schema' => ['description' => 'The domain name for which you want to configure the Static Page Caching policy.'."\n" + ."\n" + .'> You can call the [DescribeDomains](~~91724~~) operation to query all the domain names that are added to Anti-DDoS Pro or Anti-DDoS Premium.'."\n", 'type' => 'string', 'required' => true, 'example' => 'click.linktech.cn', 'title' => ''], ], [ - 'name' => 'PageNumber', + 'name' => 'Enable', 'in' => 'query', + 'schema' => ['description' => 'Specifies whether to enable the OCSP feature. Valid values:'."\n" + ."\n" + .'* **1**: yes.'."\n" + .'* **0**: no.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'The number of the page to return. Default value: **1**.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => 'The ID of the request, which is used to locate and troubleshoot issues.'."\n", 'type' => 'string', 'example' => 'D8DDBA8E-8182-5C85-AA41-F17EACFCAE0D', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], - [ - '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, - 'example' => '10', - ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D8DDBA8E-8182-5C85-AA41-F17EACFCAE0D\\"\\n}","type":"json"}]', + 'title' => 'ModifyOcspStatus', + 'summary' => 'Specifies whether to enable the Online Certificate Status Protocol (OCSP) feature.', + 'description' => 'This feature is available only for a website that supports HTTPS. If HTTPS is selected for Protocol, we recommend that you enable this feature.'."\n", + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyOcspStatus'], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'TotalCount' => [ - 'description' => 'The total number of entries returned.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80', - ], - 'SlsConfigStatus' => [ - 'description' => 'Indicates whether the log analysis feature is enabled for domain names.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Domain' => [ - 'description' => 'The domain name.'."\n", - 'type' => 'string', - 'example' => 'www.aliyundoc.com', - ], - 'Enable' => [ - 'description' => 'Indicates whether the log analysis feature is enabled. Valid values:'."\n" - ."\n" - .'* **true**: yes'."\n" - .'* **false**: no'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - ], - ], - ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:ModifyOcspStatus', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"TotalCount\\": 1,\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\",\\n \\"SlsConfigStatus\\": [\\n {\\n \\"Domain\\": \\"www.aliyundoc.com\\",\\n \\"Enable\\": true\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\n 1\\n CF33B4C3-196E-4015-AADD-5CAD00057B80\\n \\n www.aliyundoc.com\\n true\\n \\n","errorExample":""}]', - 'title' => 'DescribeWebAccessLogDispatchStatus', - 'summary' => 'Checks whether the log analysis feature is enabled for all domain names.', - 'description' => 'You can call the DescribeWebAccessLogDispatchStatus operation to check whether the log analysis feature is enabled for all domain names that are added to your Anti-DDoS Pro or Anti-DDoS Premium instance.'."\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", - 'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see [Common parameters](~~157269~~).'."\n" - ."\n" - .'For more information about sample requests, see the **"Examples"** section of this topic.'."\n", - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', ], - 'DescribeWebAccessLogStatus' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ModifyPort' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeCode' => '106199', - 'abilityTreeNodes' => [ - 'FEATUREddosOZ1QOD', - ], + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '106253', + 'abilityTreeNodes' => ['FEATUREddosN7DYCX'], ], 'parameters' => [ [ - 'name' => 'ResourceGroupId', + 'name' => 'FrontendPort', + 'in' => 'query', + 'schema' => ['description' => 'The forwarding port. Valid values: **0** to **65535**.', 'type' => 'string', 'required' => true, 'example' => '55', 'title' => ''], + ], + [ + 'name' => 'FrontendProtocol', 'in' => 'query', 'schema' => [ - 'description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n", + 'description' => 'The type of the forwarding protocol. Valid values:'."\n" + ."\n" + .'- **tcp**: TCP protocol.'."\n" + ."\n" + .'- **udp**: UDP protocol.', 'type' => 'string', - 'required' => false, - 'example' => 'default', + 'required' => true, + 'enum' => ['tcp', 'udp'], + 'example' => 'tcp', + 'title' => '', ], ], [ - 'name' => 'Domain', + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the Anti-DDoS Proxy instance to which the port forwarding rule belongs.'."\n" + ."\n" + .'> You can call [DescribeInstanceIds](~~157459~~) to query the IDs of all Anti-DDoS Proxy instances.', 'type' => 'string', 'required' => true, 'example' => 'ddoscoo-cn-st21zbyq****', 'title' => ''], + ], + [ + 'name' => 'BackendPort', 'in' => 'query', + 'schema' => ['description' => 'The origin server port. Valid values: **0** to **65535**.', 'type' => 'string', 'required' => true, 'example' => '55', 'title' => ''], + ], + [ + 'name' => 'RealServers', + 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => 'The domain name of the website.'."\n" - ."\n" - .'> A forwarding rule must be configured for the domain name. You can call the [DescribeDomains](~~91724~~) operation to query all domain names.'."\n", - 'type' => 'string', + 'description' => 'The IP addresses of origin servers.', + 'type' => 'array', + 'items' => ['description' => 'The IP address of the origin server.', 'type' => 'string', 'required' => false, 'example' => '1.XX.XX.1', 'title' => ''], 'required' => true, - 'example' => 'www.aliyun.com', + 'maxItems' => 20, + 'title' => '', + 'example' => '', ], ], + [ + 'name' => 'ProxyEnable', + 'in' => 'query', + 'schema' => ['description' => 'Indicates whether the traffic diversion switch is on. Valid values:'."\n" + ."\n" + .'- **0**: off.'."\n" + ."\n" + .'- **1**: on.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '0', 'title' => ''], + ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - 'SlsLogstore' => [ - 'description' => 'The Logstore of the instance.'."\n", - 'type' => 'string', - 'example' => 'ddoscoo-logstore', - ], - 'SlsStatus' => [ - 'description' => 'Indicates whether the Log Analysis feature is enabled for the website. Valid values:'."\n" - ."\n" - .'* **true**: enabled'."\n" - .'* **false**: disabled'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'SlsProject' => [ - 'description' => 'The Log Service project of the instance.'."\n", - 'type' => 'string', - 'example' => 'ddoscoo-project-128965410602****-cn-hangzhou', - ], - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80', - ], + 'RequestId' => ['description' => 'The request ID, which is used to locate and troubleshoot issues.', 'type' => 'string', 'example' => '39499F01-19D9-4EA4-A0E9-C6014BA5CDBE', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"SlsLogstore\\": \\"ddoscoo-logstore\\",\\n \\"SlsStatus\\": true,\\n \\"SlsProject\\": \\"ddoscoo-project-128965410602****-cn-hangzhou\\",\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\"\\n}","errorExample":""},{"type":"xml","example":"\\r\\n\\r\\n\\tCF33B4C3-196E-4015-AADD-5CAD00057B80\\r\\n\\ttrue\\r\\n\\tddoscoo-project-128965410602****-cn-hangzhou\\r\\n\\tddoscoo-logstore\\r\\n","errorExample":""}]', - 'title' => 'DescribeWebAccessLogStatus', - 'summary' => 'Queries the information about the log analysis feature for a website, such as the feature status and the Simple Log Service project and Logstore that are used.', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'DescribeLogStoreExistStatus' => [ - 'methods' => [ - 'post', - 'get', + 'title' => 'ModifyPort', + 'summary' => 'Modifies a port forwarding rule.', + 'description' => 'This operation can be used with Terraform. For more information, see [What is Terraform](~~95820~~).', + 'changeSet' => [ + ['createdAt' => '2024-08-29T05:59:47.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2022-09-08T03:34:13.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyPort'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:ModifyPort', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"39499F01-19D9-4EA4-A0E9-C6014BA5CDBE\\"\\n}","type":"json"}]', + ], + 'ModifyPortAutoCcStatus' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -18864,23 +17867,34 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeCode' => '106159', - 'abilityTreeNodes' => [ - 'FEATUREddos38XZ5J', - ], - 'tenantRelevance' => 'publicInformation', + 'operationType' => 'update', + 'abilityTreeCode' => '106254', + 'abilityTreeNodes' => ['FEATUREddosN7DYCX'], ], 'parameters' => [ [ - 'name' => 'ResourceGroupId', + 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'default', - ], + 'schema' => ['description' => 'The ID of the instance.'."\n" + ."\n" + .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.'."\n", 'type' => 'string', 'required' => true, 'example' => 'ddoscoo-cn-mp91j1ao****', 'title' => ''], + ], + [ + 'name' => 'Switch', + 'in' => 'query', + 'schema' => ['description' => 'Specifies the status of the Intelligent Protection policy. Valid values:'."\n" + ."\n" + .'* **on**: enables the policy.'."\n" + .'* **off**: disables the policy.'."\n", 'type' => 'string', 'required' => true, 'example' => 'on', 'title' => ''], + ], + [ + 'name' => 'Mode', + 'in' => 'query', + 'schema' => ['description' => 'The mode of the Intelligent Protection policy. Valid values:'."\n" + ."\n" + .'* **normal**'."\n" + .'* **loose**'."\n" + .'* **strict**'."\n", 'type' => 'string', 'required' => true, 'example' => 'normal', 'title' => ''], ], ], 'responses' => [ @@ -18888,137 +17902,167 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'ExistStatus' => [ - 'description' => 'Indicates whether a Logstore is created for Anti-DDoS Pro or Anti-DDoS Premium. 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' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80', - ], + 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"ExistStatus\\": true,\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\"\\n}","errorExample":""},{"type":"xml","example":"\\r\\nCF33B4C3-196E-4015-AADD-5CAD00057B80\\r\\n\\ttrue\\r\\n 'DescribeLogStoreExistStatus', - 'summary' => 'Checks whether a Logstore is created for Anti-DDoS Proxy.', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}","errorExample":""},{"type":"xml","example":"\\r\\n 0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\r\\n","errorExample":""}]', + 'title' => 'ModifyPortAutoCcStatus', + 'summary' => 'Modifies the Intelligent Protection configuration of a non-website service.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeOpEntities' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:13.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyPortAutoCcStatus'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:ModifyPortAutoCcStatus', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'ModifyQpsMode' => [ + 'summary' => 'Switches between the metering methods of the burstable clean bandwidth feature.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeCode' => '106163', - 'abilityTreeNodes' => [ - 'FEATUREddosHFA00W', - ], + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '169181', + 'abilityTreeNodes' => ['FEATUREddosMHU3MF'], ], 'parameters' => [ [ - 'name' => 'ResourceGroupId', + 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'default', - ], + 'schema' => ['description' => 'The region ID of the Anti-DDoS Pro instance.'."\n" + ."\n" + .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.', 'type' => 'string', 'required' => true, 'example' => 'ddoscoo-cn-7e225i41****', 'title' => ''], ], [ - 'name' => 'EntityType', + 'name' => 'Mode', 'in' => 'query', + 'schema' => ['description' => 'The metering method of QPS. Valid values:'."\n" + ."\n" + .'- **month**: monthly 95th percentile QPS.'."\n" + ."\n" + .'- **day**: daily 95th percentile QPS.', 'type' => 'string', 'required' => true, 'example' => 'month', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ + 'headers' => [], 'schema' => [ - 'description' => 'The type of the operation object that you want to query. Valid values:'."\n" - ."\n" - .'* **1**: the IP address of the Anti-DDoS Pro or Anti-DDoS Premium instance'."\n" - .'* **2**: Anti-DDoS plans'."\n" - .'* **3**: ECS instances'."\n" - .'* **4**: all logs'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => 'The request ID, which is used to locate and troubleshoot issues.', 'type' => 'string', 'example' => '48859E14-A9FB-4100-99FF-AAB75CA46776', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'ModifyQpsMode', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyQpsMode'], + ], + ], + 'ramActions' => [ [ - 'name' => 'EntityObject', - 'in' => 'query', - 'schema' => [ - 'description' => 'The operation object that you want to query.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '203.***.***.132', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:ModifyQpsMode', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"48859E14-A9FB-4100-99FF-AAB75CA46776\\"\\n}","type":"json"}]', + ], + 'ModifySceneDefensePolicy' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'StartTime', + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'abilityTreeCode' => '106256', + 'abilityTreeNodes' => ['FEATUREddosM9SQC1'], + ], + 'parameters' => [ + [ + 'name' => 'PolicyId', 'in' => 'query', - 'schema' => [ - 'description' => 'The beginning of the time range to query. The value is a UNIX timestamp. Unit: milliseconds.'."\n" - ."\n" - .'> The time must be in the latest 30 days.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1582992000000', - ], + 'schema' => ['description' => 'The ID of the policy that you want to modify.'."\n" + ."\n" + .'> You can call the [DescribeSceneDefensePolicies](~~159382~~) operation to query the IDs of all policies.'."\n", 'type' => 'string', 'required' => true, 'example' => '321a-fd31-df51-****', 'title' => ''], ], [ - 'name' => 'EndTime', + 'name' => 'Name', + 'in' => 'query', + 'schema' => ['description' => 'The name of the policy.'."\n", 'type' => 'string', 'required' => true, 'example' => 'testpolicy', 'title' => ''], + ], + [ + 'name' => 'Template', 'in' => 'query', 'schema' => [ - 'description' => 'The end of the time range to query. The value is a UNIX timestamp. Unit: milliseconds.'."\n" + 'description' => 'The template of the policy. Valid values:'."\n" ."\n" - .'> The time must be in the latest 30 days.'."\n", - 'type' => 'integer', - 'format' => 'int64', + .'* **promotion**: important activity.'."\n" + .'* **bypass**: all traffic forwarded.'."\n", + 'type' => 'string', 'required' => true, - 'example' => '1583683200000', + 'example' => 'promotion', + 'enum' => ['promotion'], + 'title' => '', ], ], [ - 'name' => 'PageNumber', + 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of the page to return. For example, to query the returned results on the first page, set the value to **1**.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '1', - ], + 'schema' => ['description' => 'The start time of the policy. The value is a UNIX timestamp. Unit: milliseconds.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1585670400000', 'title' => ''], ], [ - 'name' => 'PageSize', + 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of entries to return on each page. Maximum value: **50**.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '10', - ], + 'schema' => ['description' => 'The end time of the policy. The value is a UNIX timestamp. Unit: milliseconds.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1586016000000', 'title' => ''], ], ], 'responses' => [ @@ -19026,153 +18070,49 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'TotalCount' => [ - 'description' => 'The total number of returned operation records.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'FB24D70C-71F5-4000-8CD8-22CDA0C53CD1', - ], - 'OpEntities' => [ - 'description' => 'The operation records.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The operation record.'."\n", - 'type' => 'object', - 'properties' => [ - 'EntityType' => [ - 'description' => 'The type of the operation object. Valid values:'."\n" - ."\n" - .'* **1**: the IP address of the Anti-DDoS Proxy instance.'."\n" - .'* **2**: Anti-DDoS plans.'."\n" - .'* **3**: ECS instances.'."\n" - .'* **4**: all logs.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'EntityObject' => [ - 'description' => 'The operation object.'."\n", - 'type' => 'string', - 'example' => '203.***.***.132', - ], - 'GmtCreate' => [ - 'description' => 'The time when the operation was performed. The value is a UNIX timestamp. Units: milliseconds.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1584451769000', - ], - 'OpAction' => [ - 'description' => 'The type of the operation. Valid values:'."\n" - ."\n" - .'* **1**: configuring burstable protection bandwidth.'."\n" - .'* **5**: using Anti-DDoS plans.'."\n" - .'* **8**: changing the IP addresses of ECS instances.'."\n" - .'* **9**: deactivating blackhole filtering.'."\n" - .'* **10**: configuring the near-origin traffic diversion feature.'."\n" - .'* **11**: clearing all logs.'."\n" - .'* **12**: downgrading the specifications of the Anti-DDoS Proxy instance. If the instance expires or the account has overdue payments, this operation is performed to downgrade the burstable protection bandwidth.'."\n" - .'* **13**: restoring the specifications of the Anti-DDoS Proxy instance. If the instance is renewed or you have paid the overdue payments within your account, this operation is performed to restore the burstable protection bandwidth.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '9', - ], - 'OpAccount' => [ - 'description' => 'The ID of the Alibaba Cloud account that is used to perform the operation.'."\n", - 'type' => 'string', - 'example' => '128965410602****', - ], - 'OpDesc' => [ - 'description' => 'The details of the operation. This parameter is a JSON string. The string contains the following fields:'."\n" - ."\n" - .'* **newEntity**: the values of the parameters after the operation. This field is of the string type.'."\n" - .'* **oldEntity**: the values of the parameters before the operation. This field is of the string type.'."\n" - ."\n" - .'Both **newEntity** and **oldEntity** are JSON strings. The returned parameters vary based on **OpAction**.'."\n" - ."\n" - .'If the value of **OpAction** is **1**, **12**, or **13**, the following parameter is returned:'."\n" - ."\n" - .'* **elasticBandwidth**: the burstable protection bandwidth. This parameter is of the integer type. Unit: Gbit/s.'."\n" - ."\n" - .' Example: `{"newEntity":{"elasticBandwidth":300},"oldEntity":{"elasticBandwidth":300}}`'."\n" - ."\n" - .'If the value of **OpAction** is **5**, the following parameters are returned:'."\n" - ."\n" - .'* **bandwidth**: the burstable protection bandwidth. The parameter is of the integer type. Unit: Gbit/s.'."\n" - ."\n" - .'* **count**: the number of Anti-DDoS plans. This parameter is of the integer type.'."\n" - ."\n" - .'* **deductCount**: the number of used Anti-DDoS plans. This parameter is of the integer type.'."\n" - ."\n" - .'* **expireTime**: the expiration time of the Anti-DDoS plans. This parameter is of the long type. The value is a UNIX timestamp. Units: milliseconds.'."\n" - ."\n" - .'* **instanceId**: the ID of the Anti-DDoS Proxy instance. This parameter is of the string type.'."\n" - ."\n" - .'* **peakFlow**: the peak throughput on the Anti-DDoS Proxy instance. This parameter is of the integer type. Unit: bit/s.'."\n" - ."\n" - .' Example: `{"newEntity":{"bandwidth":100,"count":4,"deductCount":1,"expireTime":1616299196000,"instanceId":"ddoscoo-cn-v641kpmq****","peakFlow":751427000}}`'."\n" - ."\n" - .'If the value of **OpAction** is **8**, the following parameter is returned:'."\n" - ."\n" - .'* **instanceId**: the IDs of the ECS instances whose IP addresses are changed. This parameter is of the string type.'."\n" - ."\n" - .' Example: `{"newEntity":{"instanceId":"i-wz9h6nc313zptbqn****"}}`'."\n" - ."\n" - .'If the value of **OpAction** is **9**, the following parameter is returned:'."\n" - ."\n" - .'* **actionMethod**: the operation method. This parameter is of the string type. Valid value: **undo**, which indicates that you deactivated blackhole filtering.'."\n" - ."\n" - .' Example: `{"newEntity":{"actionMethod":"undo"}}`'."\n" - ."\n" - .'If the value of **OpAction** is **10**, the following parameters are returned:'."\n" - ."\n" - .'* **actionMethod**: the operation method. This parameter is of the string type. Valid values:'."\n" - ."\n" - .' * **do**: The near-origin traffic diversion feature is enabled.'."\n" - .' * **undo**: The near-origin traffic diversion feature is disabled.'."\n" - ."\n" - .'* **lines**: the Internet service provider (ISP) line from which the traffic is blocked. This parameter is of the array type. Valid values:'."\n" - ."\n" - .' * **ct**: China Telecom (International).'."\n" - .' * **cut**: China Unicom (International).'."\n" - ."\n" - .' Example: `{"newEntity":{"actionMethod":"undo","lines":["ct"]}}`'."\n" - ."\n" - .'If the value of **OpAction** is **11**, no parameter is returned, and the description is empty.'."\n", - 'type' => 'string', - 'example' => '{"newEntity":{"actionMethod":"undo"}}', - ], - ], - ], - ], + 'Success' => ['description' => 'Indicates whether the request is successful. Valid values:'."\n" + ."\n" + .'* **true**: yes'."\n" + .'* **false**: no'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'F65DF043-E0EB-4796-9467-23DDCDF92C1D', 'title' => ''], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"TotalCount\\": 1,\\n \\"RequestId\\": \\"FB24D70C-71F5-4000-8CD8-22CDA0C53CD1\\",\\n \\"OpEntities\\": [\\n {\\n \\"EntityType\\": 1,\\n \\"EntityObject\\": \\"203.***.***.132\\",\\n \\"GmtCreate\\": 1584451769000,\\n \\"OpAction\\": 9,\\n \\"OpAccount\\": \\"128965410602****\\",\\n \\"OpDesc\\": \\"{\\\\\\"newEntity\\\\\\":{\\\\\\"actionMethod\\\\\\":\\\\\\"undo\\\\\\"}}\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\r\\n\\r\\n\\t1\\r\\n\\tFB24D70C-71F5-4000-8CD8-22CDA0C53CD1\\r\\n\\t\\r\\n\\t\\t1\\r\\n\\t\\t1584451769000\\r\\n\\t\\t128965410602****\\r\\n\\t\\t\\r\\n\\t\\t\\t\\r\\n\\t\\t\\t\\tundo\\r\\n\\t\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t9\\r\\n\\t\\t203.***.***.132\\r\\n\\t\\r\\n","errorExample":""}]', - 'title' => 'DescribeOpEntities', - 'summary' => 'Queries the operation logs of Anti-DDoS Proxy (Chinese Mainland).', - 'description' => '> This operation is suitable only for Anti-DDoS Proxy (Chinese Mainland).'."\n" - ."\n" - .'You can query operations performed on Anti-DDoS Proxy (Chinese Mainland), such as configuring the burstable protection bandwidth, deactivating blackhole filtering, configuring the near-origin traffic diversion feature, using Anti-DDoS plans, changing the IP addresses of Elastic Compute Service (ECS) instances, and clearing all logs.'."\n", + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Success\\": true,\\n \\"RequestId\\": \\"F65DF043-E0EB-4796-9467-23DDCDF92C1D\\"\\n}","errorExample":""},{"type":"xml","example":"\\r\\n\\r\\n\\tF65DF043-E0EB-4796-9467-23DDCDF92C1D\\r\\n\\ttrue\\r\\n","errorExample":""}]', + 'title' => 'ModifySceneDefensePolicy', + 'summary' => 'Modifies a scenario-specific custom policy.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeSlsAuthStatus' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:13.000Z', 'description' => 'Error codes changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifySceneDefensePolicy'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:ModifySceneDefensePolicy', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'ModifySchedulerRule' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -19181,23 +18121,71 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeCode' => '106185', - 'abilityTreeNodes' => [ - 'FEATUREddosRTUJBH', - ], + 'operationType' => 'update', + 'abilityTreeCode' => '106257', + 'abilityTreeNodes' => ['FEATUREddosZIK01A'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'default', - ], + 'schema' => ['description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n", 'type' => 'string', 'required' => false, 'example' => 'default', 'title' => ''], + ], + [ + 'name' => 'Rules', + 'in' => 'query', + 'schema' => ['description' => 'The details of the scheduling rule. This parameter is a JSON string. The following list describes the fields in the value of the parameter:'."\n" + ."\n" + .'* **Type**: the address type of the interaction resource that you want to use in the scheduling rule. This field is required and must be of the string type. Valid values:'."\n" + ."\n" + .' * **A**: IP address'."\n" + .' * **CNAME**: domain name'."\n" + ."\n" + .'* **Value**: the address of the interaction resource that you want to use in the scheduling rule. This field is required and must be of the string type.'."\n" + ."\n" + .'* **Priority**: the priority of the scheduling rule. This field is required and must be of the integer type. Valid values: **0** to **100**. A larger value indicates a higher priority.'."\n" + ."\n" + .'* **ValueType**: the type of the interaction resource that you want to use in the scheduling rule. This field is required and must be of the integer type. Valid values:'."\n" + ."\n" + .' * **1**: the IP address of the Anti-DDoS Pro or Anti-DDoS Premium instance'."\n" + .' * **2**: the IP address of the interaction resource in the tiered protection scenario'."\n" + .' * **3**: the IP address that is used to accelerate access in the network acceleration scenario'."\n" + .' * **5**: the domain name that is configured in Alibaba Cloud CDN (CDN) in the CDN interaction scenario'."\n" + .' * **6** the IP address of the interaction resource in the cloud service interaction scenario'."\n" + .' * **8**: the IP address of the Secure Chinese Mainland Acceleration (Sec-CMA) instance in the secure acceleration scenario'."\n" + ."\n" + .'* **RegionId**: the region where the interaction resource is deployed. This parameter must be specified when **ValueType** is set to **2**. The value must be of the string type.'."\n", 'type' => 'string', 'required' => true, 'example' => '[{"Type":"A", "Value":"1.1.XX.XX", "Priority":80,"ValueType":2, "RegionId":"cn-hangzhou" },{"Type":"A", "Value":"203.199.XX.XX", "Priority":80,"ValueType":1}]', 'title' => ''], + ], + [ + 'name' => 'RuleName', + 'in' => 'query', + 'schema' => ['description' => 'The name of the rule that you want to modify.'."\n", 'type' => 'string', 'required' => true, 'example' => 'testrule', 'title' => ''], + ], + [ + 'name' => 'RuleType', + 'in' => 'query', + 'schema' => ['description' => 'The type of the scheduling rule. Valid values:'."\n" + ."\n" + .'* **2**: tiered protection'."\n" + .'* **3**: network acceleration'."\n" + .'* **5**: CDN interaction'."\n" + .'* **6**: cloud service interaction'."\n" + .'* **8**: secure acceleration'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '2', 'title' => ''], + ], + [ + 'name' => 'Param', + 'in' => 'query', + 'schema' => ['description' => 'The details of the CDN interaction rule. This parameter is a JSON string. The string contains the following fields:'."\n" + ."\n" + .'* **ParamType**: the type of the scheduling rule. This field is required and must be of the string type. Set the value to **cdn**. This indicates that you want to modify a CDN interaction rule.'."\n" + ."\n" + .'* **ParamData**: the values of parameters that you want to modify for the CDN interaction rule. This field is required and must be of the map type. The ParamData parameter contains the following parameters:'."\n" + ."\n" + .' * **Domain**: the accelerated domain in CDN. This parameter is required and must be of the string type.'."\n" + .' * **Cname**: the CNAME that is assigned to the accelerated domain. This parameter is required and must be of the string type.'."\n" + .' * **AccessQps**: the queries per second (QPS) threshold that is used to switch service traffic to Anti-DDoS Pro or Anti-DDoS Premium. This parameter is required and must be of the integer type.'."\n" + .' * **UpstreamQps**: the QPS threshold that is used to switch service traffic to CDN. This parameter is optional and must be of the integer type.'."\n", 'type' => 'string', 'required' => false, 'example' => '{"ParamType":"cdn","ParamData":"Domain":"example.aliyundoc.com","Cname":"demo.aliyundoc.com","AccessQps":100,"UpstreamQps":100}}', 'title' => ''], ], ], 'responses' => [ @@ -19205,39 +18193,49 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'SlsAuthStatus' => [ - 'description' => 'Indicates whether Anti-DDoS Pro or Anti-DDoS Premium is authorized to access Log Service. 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' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80', - ], + 'RequestId' => ['description' => 'The ID of the request, which is used to locate and troubleshoot issues.'."\n", 'type' => 'string', 'example' => 'FFC77501-BDF8-4BC8-9BF5-B295FBC3189B', 'title' => ''], + 'Cname' => ['description' => 'The CNAME that is assigned by Sec-Traffic Manager for the scheduling rule.'."\n" + ."\n" + .'> To enable the scheduling rule, you must map the domain name of the service to the CNAME.'."\n", 'type' => 'string', 'example' => '48k7b372gpl4****.aliyunddos0001.com', 'title' => ''], + 'RuleName' => ['description' => 'The name of the rule.'."\n", 'type' => 'string', 'example' => 'testrule', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"SlsAuthStatus\\": true,\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\"\\n}","errorExample":""},{"type":"xml","example":"\\r\\n\\r\\n\\tCF33B4C3-196E-4015-AADD-5CAD00057B80\\r\\n\\ttrue\\r\\n","errorExample":""}]', - 'title' => 'DescribeSlsAuthStatus', - 'summary' => 'Queries whether Anti-DDoS Proxy is authorized to access Simple Log Service.', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"FFC77501-BDF8-4BC8-9BF5-B295FBC3189B\\",\\n \\"Cname\\": \\"48k7b372gpl4****.aliyunddos0001.com\\",\\n \\"RuleName\\": \\"testrule\\"\\n}","errorExample":""},{"type":"xml","example":"\\n FFC77501-BDF8-4BC8-9BF5-B295FBC3189B\\n 48k7b372gpl4****.aliyunddos0001.com\\n testrule\\n","errorExample":""}]', + 'title' => 'ModifySchedulerRule', + 'summary' => 'Modifies the scheduling rule of Sec-Traffic Manager.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeSlsLogstoreInfo' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:13.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifySchedulerRule'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:ModifySchedulerRule', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'ModifyTlsConfig' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -19246,23 +18244,52 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeCode' => '106186', - 'abilityTreeNodes' => [ - 'FEATUREddosVFFSV8', - ], - 'tenantRelevance' => 'publicInformation', + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '106258', + 'abilityTreeNodes' => ['FEATUREddos64TBV6'], ], 'parameters' => [ [ 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'default', - ], + 'schema' => ['description' => 'The ID of the resource group to which the Anti-DDoS Pro or Anti-DDoS Premium instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.', 'type' => 'string', 'required' => false, 'example' => 'default', 'title' => ''], + ], + [ + 'name' => 'Domain', + 'in' => 'query', + 'schema' => ['description' => 'The domain name of the website.'."\n" + .'> The domain name must have a website forwarding rule configured. You can call [DescribeDomains](~~91724~~) to query all domain names.', 'type' => 'string', 'required' => true, 'example' => 'example.aliyundoc.com', 'title' => ''], + ], + [ + 'name' => 'Config', + 'in' => 'query', + 'schema' => ['description' => 'The details of the TLS security policy, expressed as a JSON-formatted string with the following structure.'."\n" + .'- **ssl_protocols**: String type, required. The TLS version. Valid values:'."\n" + .' - **tls1.0**: TLS 1.0 and later are supported.'."\n" + .' - **tls1.1**: TLS 1.1 and later are supported.'."\n" + .' - **tls1.2**: TLS 1.2 and later are supported.'."\n" + .'- **ssl_ciphers**: String type, required. The cipher suite type. Valid values:'."\n" + .' - **all**: all cipher suites, including strong and weak cipher suites'."\n" + .' - **improved**: enhanced cipher suites'."\n" + .' - **strong**: strong cipher suites only'."\n" + .' - **default**: default cipher suites, which include only strong cipher suites'."\n" + .'- **ssl_13_enabled**: Boolean type, optional. Specifies whether to enable TLS 1.3. Valid values:'."\n" + .' - **true**: Enables TLS 1.3.'."\n" + .' - **false**: Disables TLS 1.3.'."\n" + .'- **custom_ciphers**: Array type, optional. The list of custom cipher suites for TLS versions earlier than 1.3.'."\n" + .'- **tls_13_custom_ciphers**: Array type, optional. The list of custom cipher suites for TLS 1.3. If TLS 1.3 is enabled, select at least one cipher suite for TLS versions earlier than 1.3.', 'type' => 'string', 'required' => true, 'example' => '{'."\n" + .' "ssl_protocols": "tls1.2",'."\n" + .' "ssl_ciphers": "default",'."\n" + .' "ssl_13_enabled": true,'."\n" + .' "custom_ciphers": ['."\n" + .' "ECDHE-ECDSA-AES128-GCM-SHA256"'."\n" + .' ],'."\n" + .' "tls_13_custom_ciphers": ['."\n" + .' "TLS_AES_256_GCM_SHA384"'."\n" + .' ]'."\n" + .'}', 'title' => ''], ], ], 'responses' => [ @@ -19270,61 +18297,45 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Ttl' => [ - 'description' => 'The log storage duration. Unit: days.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '180', - ], - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80', - ], - 'Quota' => [ - 'description' => 'The available log storage capacity. Unit: bytes.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '3298534883328', - ], - 'LogStore' => [ - 'description' => 'The Logstore of the Anti-DDoS Pro or Anti-DDoS Premium instance.'."\n", - 'type' => 'string', - 'example' => 'ddoscoo-logstore', - ], - 'Used' => [ - 'description' => 'The used log storage capacity. Unit: bytes.'."\n" - ."\n" - .'> The statistics on Log Service are delayed for about two hours.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'Project' => [ - 'description' => 'The Logstore project of the Anti-DDoS Pro or Anti-DDoS Premium instance.'."\n", - 'type' => 'string', - 'example' => 'ddoscoo-project-181071506993****-cn-hangzhou', - ], + 'RequestId' => ['description' => 'The request ID, which is a unique identifier generated by Alibaba Cloud for this request. You can use this ID to troubleshoot issues.', 'type' => 'string', 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Ttl\\": 180,\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\",\\n \\"Quota\\": 3298534883328,\\n \\"LogStore\\": \\"ddoscoo-logstore\\",\\n \\"Used\\": 0,\\n \\"Project\\": \\"ddoscoo-project-181071506993****-cn-hangzhou\\"\\n}","errorExample":""},{"type":"xml","example":"\\r\\n\\r\\n\\tCF33B4C3-196E-4015-AADD-5CAD00057B80\\r\\n\\tddoscoo-logstore\\r\\n\\tddoscoo-project-181071506993****-cn-hangzhou\\r\\n\\t3298534883328\\r\\n\\t180\\r\\n\\t0\\r\\n","errorExample":""}]', - 'title' => 'DescribeSlsLogstoreInfo', - 'summary' => 'Queries information about the Logstore of the Anti-DDoS Proxy instance, such as the log storage capacity and log storage duration.', + 'title' => 'Modify the TLS security policy of a website forwarding rule', + 'summary' => 'Modifies the TLS security policy of a website forwarding rule.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeSlsOpenStatus' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:13.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyTlsConfig'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:ModifyTlsConfig', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E\\"\\n}","type":"json"}]', + ], + 'ModifyWebAIProtectMode' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -19333,23 +18344,38 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeCode' => '106187', - 'abilityTreeNodes' => [ - 'FEATUREddosVFFSV8', - ], - 'tenantRelevance' => 'publicInformation', + 'operationType' => 'update', + 'abilityTreeCode' => '106260', + 'abilityTreeNodes' => ['FEATUREddosRTUJBH'], ], 'parameters' => [ [ 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'default', - ], + 'schema' => ['description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n", 'type' => 'string', 'required' => false, 'example' => 'default', 'title' => ''], + ], + [ + 'name' => 'Domain', + 'in' => 'query', + 'schema' => ['description' => 'The domain name of the website.'."\n" + ."\n" + .'> A forwarding rule must be configured for the domain name. You can call the [DescribeDomains](~~474212~~) operation to query all domain names.'."\n", 'type' => 'string', 'required' => true, 'example' => 'www.aliyun.com', 'title' => ''], + ], + [ + 'name' => 'Config', + 'in' => 'query', + 'schema' => ['description' => 'The details of the Intelligent Protection policy. This parameter is a JSON string. The string contains the following fields:'."\n" + ."\n" + .'* **AiTemplate**: the level of the Intelligent Protection policy. This field is required and must be of the STRING type. Valid values:'."\n" + ."\n" + .' * **level30**: the Low level'."\n" + .' * **level60**: the Normal level'."\n" + .' * **level90**: the Strict level'."\n" + ."\n" + .'* **AiMode**: the mode of the Intelligent Protection policy. This field is required and must be of the string type. Valid values:'."\n" + ."\n" + .' * **watch**: the Warning mode'."\n" + .' * **defense**: the Defense mode'."\n", 'type' => 'string', 'required' => true, 'example' => '{"AiTemplate":"level60","AiMode":"defense"}', 'title' => ''], ], ], 'responses' => [ @@ -19357,39 +18383,45 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'SlsOpenStatus' => [ - 'description' => 'Indicates whether Log Service is activated. 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' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80', - ], + 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"SlsOpenStatus\\": true,\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\"\\n}","errorExample":""},{"type":"xml","example":"\\r\\n\\r\\n\\tCF33B4C3-196E-4015-AADD-5CAD00057B80\\r\\n\\ttrue\\r\\n","errorExample":""}]', - 'title' => 'DescribeSlsOpenStatus', - 'summary' => 'Checks whether Simple Log Service is activated.', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}","errorExample":""},{"type":"xml","example":"\\r\\n\\r\\n\\t0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\r\\n","errorExample":""}]', + 'title' => 'ModifyWebAIProtectMode', + 'summary' => 'Changes the mode of the intelligent protection feature for a website.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeWebAccessLogEmptyCount' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:12.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyWebAIProtectMode'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:ModifyWebAIProtectMode', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'ModifyWebAIProtectSwitch' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -19398,23 +18430,32 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeCode' => '106198', - 'abilityTreeNodes' => [ - 'FEATUREddosOZ1QOD', - ], - 'tenantRelevance' => 'publicInformation', + 'operationType' => 'update', + 'abilityTreeCode' => '106261', + 'abilityTreeNodes' => ['FEATUREddosI8LHMA'], ], 'parameters' => [ [ 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'default', - ], + 'schema' => ['description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n", 'type' => 'string', 'required' => false, 'example' => 'default', 'title' => ''], + ], + [ + 'name' => 'Domain', + 'in' => 'query', + 'schema' => ['description' => 'The domain name of the website.'."\n" + ."\n" + .'> A forwarding rule must be configured for a domain name. You can call the [DescribeDomains](~~91724~~) operation to query all domain names.'."\n", 'type' => 'string', 'required' => true, 'example' => 'www.aliyun.com', 'title' => ''], + ], + [ + 'name' => 'Config', + 'in' => 'query', + 'schema' => ['description' => 'The details of the Intelligent Protection policy. This parameter is a JSON string. The string contains the following fields:'."\n" + ."\n" + .'* **AiRuleEnable**: the status of the Intelligent Protection policy. This field is required and must be of the integer type. Valid values:'."\n" + ."\n" + .' * **0**: disabled'."\n" + .' * **1**: enabled'."\n", 'type' => 'string', 'required' => true, 'example' => '{"AiRuleEnable": 1}', 'title' => ''], ], ], 'responses' => [ @@ -19422,37 +18463,45 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'AvailableCount' => [ - 'description' => 'The remaining quota that you can clear the Logstore.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80', - ], + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"AvailableCount\\": 10,\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\"\\n}","errorExample":""},{"type":"xml","example":"\\r\\n\\r\\n\\tCF33B4C3-196E-4015-AADD-5CAD00057B80\\r\\n\\t10\\r\\n","errorExample":""}]', - 'title' => 'DescribeWebAccessLogEmptyCount', - 'summary' => 'Queries the remaining quota that allows you to clear the Logstore.', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}","errorExample":""},{"type":"xml","example":"\\r\\n\\r\\n\\t0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\r\\n","errorExample":""}]', + 'title' => 'ModifyWebAIProtectSwitch', + 'summary' => 'Enables or disables the Intelligent Protection policy for a website.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeDefenseRecords' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:12.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyWebAIProtectSwitch'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:ModifyWebAIProtectSwitch', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'ModifyWebAccessMode' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -19461,169 +18510,69 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeCode' => '106120', - 'abilityTreeNodes' => [ - 'FEATUREddosOZ1QOD', - ], + 'operationType' => 'update', + 'abilityTreeCode' => '106259', + 'abilityTreeNodes' => ['FEATUREddosOZ1QOD'], ], 'parameters' => [ [ - 'name' => 'ResourceGroupId', + 'name' => 'Domain', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'default', - ], + 'schema' => ['description' => 'The domain name of the website.'."\n" + ."\n" + .'> A forwarding rule must be configured for the domain name. You can call the [DescribeDomains](~~91724~~) operation to query all domain names.'."\n", 'type' => 'string', 'required' => true, 'example' => 'www.aliyun.com', 'title' => ''], ], [ - 'name' => 'InstanceId', + 'name' => 'AccessMode', 'in' => 'query', + 'schema' => ['description' => 'The mode in which a website service is added to Anti-DDoS Pro or Anti-DDoS Premium. Valid values:'."\n" + ."\n" + .'* **0**: A record mode'."\n" + .'* **1**: anti-DDoS mode'."\n" + .'* **2**: origin redundancy mode'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '2', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'The ID of the instance.'."\n" - ."\n" - .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'ddoscoo-cn-mp91j1ao****', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], - [ - 'name' => 'StartTime', - 'in' => 'query', - 'schema' => [ - 'description' => 'The beginning of the time range to query. This value is a UNIX timestamp. Units: miliseconds.'."\n" - ."\n" - .'> The time must be in the latest 90 days.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1582992000000', - ], - ], - [ - 'name' => 'EndTime', - 'in' => 'query', - 'schema' => [ - 'description' => 'The end of the time range to query. This value is a UNIX timestamp. Units: miliseconds.'."\n" - ."\n" - .'> The time must be in the latest 90 days.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1583683200000', - ], - ], - [ - 'name' => 'PageNumber', - 'in' => 'query', - 'schema' => [ - 'description' => 'The number of the page to return. For example, to query the returned results on the first page, set the value to **1**.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '1', - ], - ], - [ - 'name' => 'PageSize', - 'in' => 'query', - 'schema' => [ - 'description' => 'The number of entries to return on each page. Maximum value: **50**.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '10', - ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}","errorExample":""},{"type":"xml","example":"\\r\\n 0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\r\\n","errorExample":""}]', + 'title' => 'ModifyWebAccessMode', + 'summary' => 'Changes the mode in which a website service is added to Anti-DDoS Pro or Anti-DDoS Premium.', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:13.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyWebAccessMode'], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'TotalCount' => [ - 'description' => 'The total number of advanced mitigation sessions.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc', - ], - 'DefenseRecords' => [ - 'description' => 'An array that consists of details of the log of an advanced mitigation session.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'EndTime' => [ - 'description' => 'The end time of the advanced mitigation session. This value is a UNIX timestamp. Units: miliseconds.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1583683200000', - ], - 'Status' => [ - 'description' => 'The status of the advanced mitigation session. Valid values:'."\n" - ."\n" - .'* **0**: The advanced mitigation session is being used.'."\n" - .'* **1**: The advanced mitigation session is used.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'StartTime' => [ - 'description' => 'The start time of the advanced mitigation session. This value is a UNIX timestamp. Units: miliseconds.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1582992000000', - ], - 'EventCount' => [ - 'description' => 'The number of attacks.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'InstanceId' => [ - 'description' => 'The ID of the instance.'."\n", - 'type' => 'string', - 'example' => 'ddoscoo-cn-mp91j1ao****', - ], - 'AttackPeak' => [ - 'description' => 'The peak attack traffic. Unit: bit/s.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '6584186000', - ], - ], - ], - ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:ModifyWebAccessMode', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"TotalCount\\": 1,\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\",\\n \\"DefenseRecords\\": [\\n {\\n \\"EndTime\\": 1583683200000,\\n \\"Status\\": 0,\\n \\"StartTime\\": 1582992000000,\\n \\"EventCount\\": 2,\\n \\"InstanceId\\": \\"ddoscoo-cn-mp91j1ao****\\",\\n \\"AttackPeak\\": 6584186000\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\r\\n\\r\\n\\t1\\r\\n\\t0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\r\\n\\t\\r\\n\\t\\t1582992000000\\r\\n\\t\\t1583683200000\\r\\n\\t\\tddoscoo-cn-mp91j1ao****\\r\\n\\t\\t0\\r\\n\\t\\t10\\r\\n\\t\\t1\\r\\n\\t\\r\\n","errorExample":""}]', - 'title' => 'DescribeDefenseRecords', - 'summary' => 'Queries the advanced mitigation logs of an Anti-DDoS Proxy (Outside Chinese Mainland) instance.', - 'description' => '> This operation is suitable only for Anti-DDoS Premium.'."\n", - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', ], - 'EmptySlsLogstore' => [ - 'summary' => 'Clears the Logstore of Anti-DDoS Pro or Anti-DDoS Premium.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ModifyWebAreaBlock' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -19633,23 +18582,40 @@ 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '106219', - 'abilityTreeNodes' => [ - 'FEATUREddosVFFSV8', - ], - 'tenantRelevance' => 'publicInformation', + 'abilityTreeCode' => '106262', + 'abilityTreeNodes' => ['FEATUREddosOZ1QOD'], ], 'parameters' => [ [ 'name' => 'ResourceGroupId', 'in' => 'query', + 'schema' => ['description' => 'The resource group ID of the Anti-DDoS Proxy instance in the Resource Management service. The default value is empty, which means the instance belongs to the default resource group.'."\n" + ."\n" + .'For more information, see [Create a resource group](~~94485~~).', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'rg-acfm2pz25js****'], + ], + [ + 'name' => 'Domain', + 'in' => 'query', + 'schema' => ['description' => 'The domain name to operate on.'."\n" + ."\n" + .'> The domain name must have website business forwarding rules configured. You can call [DescribeDomains](~~91724~~) to query all domain names.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'www.aliyun.com'], + ], + [ + 'name' => 'Regions', + 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n", - 'type' => 'string', + 'description' => 'The list of regions to block.'."\n" + ."\n" + .'> Not setting this parameter indicates turning off the location blacklist (for domain names) feature.', + 'type' => 'array', + 'items' => ['description' => 'The list of regions to block. Supports blocking Chinese regions (province, city, district dimension) and international regions (country dimension), for example, **CN-310000** represents Shanghai, **OVERSEAS-US** represents the United States. Not setting this parameter indicates turning off the location blacklist (for domain names) feature.'."\n" + ."\n" + .'> For information about the values of this parameter, see [Region type parameter value description](~~167926~~).', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'CN-310000'], 'required' => false, - 'example' => 'default', + 'example' => 'CN-SHANGHAI', + 'maxItems' => 1000, + 'title' => '', ], ], ], @@ -19658,29 +18624,42 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80', - ], + 'RequestId' => ['description' => 'The ID of this request.', 'type' => 'string', 'title' => '', 'example' => '5AA2BD65-E289-4E91-9DD9-3E1FB2140D17'], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\"\\n}","errorExample":""},{"type":"xml","example":"\\r\\n\\r\\n\\tCF33B4C3-196E-4015-AADD-5CAD00057B80\\r\\n","errorExample":""}]', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'DescribeStsGrantStatus' => [ - 'methods' => [ - 'post', - 'get', + 'title' => 'ModifyWebAreaBlock', + 'summary' => 'Configures blocked regions for website domain name blacklists.', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:12.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyWebAreaBlock'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:ModifyWebAreaBlock', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"5AA2BD65-E289-4E91-9DD9-3E1FB2140D17\\"\\n}","type":"json"}]', + ], + 'ModifyWebAreaBlockSwitch' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -19689,36 +18668,35 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeCode' => '106188', - 'abilityTreeNodes' => [ - 'FEATUREddosRTUJBH', - ], + 'operationType' => 'update', + 'abilityTreeCode' => '106263', + 'abilityTreeNodes' => ['FEATUREddosOZ1QOD'], ], 'parameters' => [ [ 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the resource group to which the instance belongs in Resource Management.'."\n" - ."\n" - .'If you do not configure this parameter, the instance belongs to the default resource group.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'rg-acfm2pz25js****', - ], + 'schema' => ['description' => 'The ID of the resource group to which the Anti-DDoS Proxy instance belongs in Resource Management.'."\n" + ."\n" + .'If you do not set this parameter, the default resource group is used.', 'type' => 'string', 'required' => false, 'example' => 'rg-acfm2pz25js****', 'title' => ''], ], [ - 'name' => 'Role', + 'name' => 'Domain', 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the RAM role to query. Set the value to **AliyunDDoSCOODefaultRole**, which indicates the default role of Anti-DDoS Pro or Anti-DDoS Premium.'."\n" - ."\n" - .'> Anti-DDoS Pro or Anti-DDoS Premium uses the default role to access other cloud services.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'AliyunDDoSCOODefaultRole', - ], + 'schema' => ['description' => 'The domain name for which you want to set the Location Blacklist feature.'."\n" + ."\n" + .'> You can call [DescribeDomains](~~91724~~) to query all domain names that are protected by Anti-DDoS Proxy.', 'type' => 'string', 'required' => true, 'example' => 'www.aliyundoc.com', 'title' => ''], + ], + [ + 'name' => 'Config', + 'in' => 'query', + 'schema' => ['description' => 'The status of the Location Blacklist feature (for domain names). This parameter is a string that is converted from a JSON struct. The JSON struct contains the following parameter:'."\n" + ."\n" + .'- **RegionblockEnable**: An Integer value that is required. The status of the Location Blacklist feature (for domain names). Valid values:'."\n" + ."\n" + .' - **1**: enables the feature.'."\n" + ."\n" + .' - **0**: disables the feature.', 'type' => 'string', 'required' => true, 'example' => '{"RegionblockEnable": 1}', 'title' => ''], ], ], 'responses' => [ @@ -19726,101 +18704,83 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '6623EA1F-30FB-5BC8-BEC9-74D55F6F08F1', - ], - 'StsGrant' => [ - 'description' => 'The authorization status of Anti-DDoS Pro or Anti-DDoS Premium.'."\n", - 'type' => 'object', - 'properties' => [ - 'Status' => [ - 'description' => 'The authorization status. Valid values:'."\n" - ."\n" - .'* **0**: Anti-DDoS Pro or Anti-DDoS Premium is not authorized to access other cloud services.'."\n" - .'* **1**: Anti-DDoS Pro or Anti-DDoS Premium is authorized to access other cloud services.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - ], - ], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '6623EA1F-30FB-5BC8-BEC9-74D55F6F08F1', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6623EA1F-30FB-5BC8-BEC9-74D55F6F08F1\\",\\n \\"StsGrant\\": {\\n \\"Status\\": 1\\n }\\n}","errorExample":""},{"type":"xml","example":"\\n 6623EA1F-30FB-5BC8-BEC9-74D55F6F08F1\\n \\n 1\\n \\n","errorExample":""}]', - 'summary' => 'Queries whether Anti-DDoS Pro or Anti-DDoS Premium is authorized to access other cloud services.', - 'description' => 'You can call the DescribeStsGrantStatus operation to query whether Anti-DDoS Pro or Anti-DDoS Premium of the current Alibaba Cloud account is authorized to access other cloud services.'."\n" + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6623EA1F-30FB-5BC8-BEC9-74D55F6F08F1\\"\\n}","type":"json"}]', + 'title' => 'ModifyWebAreaBlockSwitch', + 'summary' => 'Sets the status of the Location Blacklist feature for website services (for domain names).', + 'description' => 'This operation sets the status of the Location Blacklist feature for website services (for domain names).'."\n" ."\n" - .'### 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", - 'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see [Common parameters](~~157269~~).'."\n" + .'The single-user queries per second (QPS) limit for this operation is 10. API calls that exceed the limit are throttled, which may affect your business. We recommend that you call this operation at an appropriate rate.', + 'requestParamsDescription' => 'When you call this operation, in addition to the preceding operation-specific request parameters, you must also specify common request parameters. For more information, see [common parameter](https://help.aliyun.com/document_detail/157269.html).'."\n" ."\n" - .'For more information about sample requests, see the **"Examples"** section of this topic.'."\n", + .'For the request syntax, see the "Request syntax" section in this topic.', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeAsyncTasks' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:12.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyWebAreaBlockSwitch'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:ModifyWebAreaBlockSwitch', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'ModifyWebCCGlobalSwitch' => [ + 'summary' => 'Enables or disables the HTTP flood mitigation feature for a website.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeCode' => '106092', - 'abilityTreeNodes' => [ - 'FEATUREddos64TBV6', - 'FEATUREddosN7DYCX', - ], + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '201506', + 'abilityTreeNodes' => ['FEATUREddosOZ1QOD'], ], 'parameters' => [ [ - 'name' => 'ResourceGroupId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the resource group to which the instance belongs in Resource Management.'."\n" - ."\n" - .'If you do not configure this parameter, the instance belongs to the default resource group.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'rg-acfm2pz25js****', - ], - ], - [ - 'name' => 'PageNumber', + 'name' => 'Domain', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of the page to return.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '1', - ], + 'schema' => ['description' => 'The domain name of the website.'."\n" + ."\n" + .'> A forwarding rule must be configured for the domain name. You can call the [DescribeDomains](~~91724~~) operation to query all domain names.', 'type' => 'string', 'required' => true, 'example' => 'example.aliyundoc.com'."\n", 'title' => ''], ], [ - 'name' => 'PageSize', + 'name' => 'CcGlobalSwitch', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of entries to return on each page.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '10', - ], + 'schema' => ['description' => 'Specifies whether the HTTP flood mitigation feature is enabled. Valid values:'."\n" + ."\n" + .'- **open**'."\n" + ."\n" + .'- **close**', 'type' => 'string', 'required' => true, 'example' => 'open', 'title' => ''], ], ], 'responses' => [ @@ -19828,206 +18788,107 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'TotalCount' => [ - 'description' => 'The total number of asynchronous export tasks that are returned.'."\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' => '6623EA1F-30FB-5BC8-BEC9-74D55F6F08F1', - ], - 'AsyncTasks' => [ - 'description' => 'An array that consists of the details of the asynchronous export tasks.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'EndTime' => [ - 'description' => 'The end time of the task. This value is a UNIX timestamp. Unit: milliseconds.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '157927362000', - ], - 'TaskType' => [ - 'description' => 'The type of the task. Valid values:'."\n" - ."\n" - .'* **1**: the task to export the port forwarding rules of an instance'."\n" - .'* **2**: the task to export the forwarding rules of a website protected by an instance'."\n" - .'* **3**: the task to export the sessions and health check settings of an instance'."\n" - .'* **4**: the task to export the mitigation policies of an instance'."\n" - .'* **5**: the task to download the blacklist for destination IP addresses of an instance'."\n" - .'* **6**: the task to download the whitelist for destination IP addresses of an instance'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '5', - ], - 'StartTime' => [ - 'description' => 'The start time of the task. The value is a UNIX timestamp. Unit: milliseconds.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '156927362000', - ], - 'TaskParams' => [ - 'description' => 'The task parameter. The value is a JSON string. The returned field in the value varies based on the value of **TaskType**.'."\n" - ."\n" - .'If **TaskType** is set to **1**, **3**, **4**, **5**, or **6**, the following filed is returned:'."\n" - ."\n" - .'* **instanceId**: the ID of the instance. Data type: string.'."\n" - ."\n" - .'If **TaskType** is set to **2**, the following field is returned:'."\n" - ."\n" - .'* **domain**: the domain name of the website. Data type: string.'."\n", - 'type' => 'string', - 'example' => '{"instanceId": "ddoscoo-cn-mp91j1ao****"}', - ], - 'TaskStatus' => [ - 'description' => 'The status of the task. Valid values:'."\n" - ."\n" - .'* **0**: indicates that the task is being initialized.'."\n" - .'* **1**: indicates that the task is in progress.'."\n" - .'* **2**: indicates that the task is successful.'."\n" - .'* **3**: indicates that the task failed.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'TaskResult' => [ - 'description' => 'The execution result of the task. The value is a JSON string. The returned fields in the value vary based on the value of **TaskType**.'."\n" - ."\n" - .'If **TaskType** is set to **1**, **3**, **4**, **5**, or **6**, the following fields are returned:'."\n" - ."\n" - .'* **instanceId**: the ID of the instance. Data type: string.'."\n" - .'* **url**: the URL to download the exported file from Object Storage Service (OSS). Data type: string.'."\n" - ."\n" - .'If **TaskType** is set to **2**, the following fields are returned:'."\n" - ."\n" - .'* **domain**: the domain name of the website. Data type: string.'."\n" - .'* **url**: the URL to download the exported file from OSS. Data type: string.'."\n", - 'type' => 'string', - 'example' => '{"instanceId": "ddoscoo-cn-mp91j1ao****","url": "https://****.oss-cn-beijing.aliyuncs.com/heap.bin?Expires=1584785140&OSSAccessKeyId=TMP.3KfzD82FyRJevJdEkRX6JEFHhbvRBBb75PZJnyJmksA2QkMm47xFAFDgMhEV8Nm6Vxr8xExMfiy9LsUFAcLcTBrN3r****&Signature=Sj8BNcsxJLE8l5qm4cjNlDt8gv****"}', - ], - 'TaskId' => [ - 'description' => 'The ID of the job.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - ], - ], - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '5AE2FC86-C840-41AE-9F1A-3A2747C7C1DF', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"TotalCount\\": 1,\\n \\"RequestId\\": \\"6623EA1F-30FB-5BC8-BEC9-74D55F6F08F1\\",\\n \\"AsyncTasks\\": [\\n {\\n \\"EndTime\\": 157927362000,\\n \\"TaskType\\": 5,\\n \\"StartTime\\": 156927362000,\\n \\"TaskParams\\": \\"{\\\\\\"instanceId\\\\\\": \\\\\\"ddoscoo-cn-mp91j1ao****\\\\\\"}\\",\\n \\"TaskStatus\\": 2,\\n \\"TaskResult\\": \\"{\\\\\\"instanceId\\\\\\": \\\\\\"ddoscoo-cn-mp91j1ao****\\\\\\",\\\\\\"url\\\\\\": \\\\\\"https://****.oss-cn-beijing.aliyuncs.com/heap.bin?Expires=1584785140&OSSAccessKeyId=TMP.3KfzD82FyRJevJdEkRX6JEFHhbvRBBb75PZJnyJmksA2QkMm47xFAFDgMhEV8Nm6Vxr8xExMfiy9LsUFAcLcTBrN3r****&Signature=Sj8BNcsxJLE8l5qm4cjNlDt8gv****\\\\\\"}\\",\\n \\"TaskId\\": 1\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\n 1\\n 6623EA1F-30FB-5BC8-BEC9-74D55F6F08F1\\n \\n 157927362000\\n 5\\n 156927362000\\n {\\"instanceId\\": \\"ddoscoo-cn-mp91j1ao****\\"}\\n 2\\n {\\"instanceId\\": \\"ddoscoo-cn-mp91j1ao****\\",\\"url\\": \\"https://****.oss-cn-beijing.aliyuncs.com/heap.bin?Expires=1584785140&OSSAccessKeyId=TMP.3KfzD82FyRJevJdEkRX6JEFHhbvRBBb75PZJnyJmksA2QkMm47xFAFDgMhEV8Nm6Vxr8xExMfiy9LsUFAcLcTBrN3r****&Signature=Sj8BNcsxJLE8l5qm4cjNlDt8gv****\\"}\\n 1\\n \\n","errorExample":""}]', - 'summary' => 'Queries the details of asynchronous export tasks, such as the IDs, start time, end time, status, parameters, and results.', - 'description' => 'You can call the DescribeAsyncTasks operation to query the details of asynchronous export tasks, such as the IDs, start time, end time, status, parameters, and results.'."\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", - 'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see [Common parameters](~~157269~~).'."\n" - ."\n" - .'For more information about sample requests, see the **"Examples"** section of this topic.'."\n", - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'DescribeSystemLog' => [ - 'summary' => 'Queries the details of the bills for the burstable clean bandwidth.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'ModifyWebCCGlobalSwitch', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:ModifyWebCCGlobalSwitch', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"5AE2FC86-C840-41AE-9F1A-3A2747C7C1DF\\"\\n}","type":"json"}]', + ], + 'ModifyWebCCRule' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', + 'deprecated' => true, 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeCode' => '106190', - 'abilityTreeNodes' => [ - 'FEATUREddosIJFWZ1', - ], - 'tenantRelevance' => 'publicInformation', + 'operationType' => 'update', + 'abilityTreeCode' => '106267', + 'abilityTreeNodes' => ['FEATUREddosOZ1QOD'], ], 'parameters' => [ [ - 'name' => 'EntityType', + 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => 'The type of the system log. Set the value to **20**, which indicates the billing logs for the burstable clean bandwidth.'."\n" - ."\n" - .'> You must specify this parameter. Otherwise, the call fails.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '20', - ], + 'schema' => ['description' => 'The resource group ID to which the Anti-DDoS Proxy instance belongs in the Resource Management product. The default value is empty, which indicates that the instance belongs to the default resource group.', 'type' => 'string', 'required' => false, 'example' => 'default', 'title' => ''], ], [ - 'name' => 'EntityObject', + 'name' => 'Domain', 'in' => 'query', - 'schema' => [ - 'description' => 'The IP address of the instance.'."\n" - ."\n" - .'> You can call the [DescribeInstanceDetails](~~91490~~) operation to query the IP addresses of all instances.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '203.107.XX.XX', - ], + 'schema' => ['description' => 'The domain name of the website business.'."\n" + ."\n" + .'> The domain name must have a configured website business forwarding rule. You can call [DescribeDomains](~~91724~~) to query all domain names.', 'type' => 'string', 'required' => true, 'example' => 'www.aliyun.com', 'title' => ''], ], [ - 'name' => 'StartTime', + 'name' => 'Name', 'in' => 'query', - 'schema' => [ - 'description' => 'The beginning of the time range to query. The bills of the burstable clean bandwidth that are issued after this point in time are queried. The value is a UNIX timestamp. Unit: milliseconds.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1609430400000', - ], + 'schema' => ['description' => 'The rule name.', 'type' => 'string', 'required' => true, 'example' => 'testrule', 'title' => ''], ], [ - 'name' => 'EndTime', + 'name' => 'Act', 'in' => 'query', - 'schema' => [ - 'description' => 'The end of the time range to query. The bills of the burstable clean bandwidth that are issued before this point in time are queried. The value is a UNIX timestamp. Unit: milliseconds.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1640966400000', - ], + 'schema' => ['description' => 'The blocking type. Valid values:'."\n" + ."\n" + .'- **close**: block'."\n" + ."\n" + .'- **captcha**: bot detection', 'type' => 'string', 'required' => true, 'example' => 'close', 'title' => ''], ], [ - 'name' => 'PageNumber', + 'name' => 'Count', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of the page to return.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '1', - ], + 'schema' => ['description' => 'The number of access attempts from a single IP address. Valid values: **2** to **2000**.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '3', 'title' => ''], ], [ - 'name' => 'PageSize', + 'name' => 'Interval', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of entries to return on each page.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '10', - ], + 'schema' => ['description' => 'The detection duration. Valid values: **5** to **10800**. Unit: seconds.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '30', 'title' => ''], + ], + [ + 'name' => 'Mode', + 'in' => 'query', + 'schema' => ['description' => 'The matching pattern. Valid values:'."\n" + ."\n" + .'- **prefix**: prefix match'."\n" + ."\n" + .'- **match**: exact match', 'type' => 'string', 'required' => true, 'example' => 'prefix', 'title' => ''], + ], + [ + 'name' => 'Ttl', + 'in' => 'query', + 'schema' => ['description' => 'The blocking duration. Valid values: **60** to **86400**. Unit: seconds.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '60', 'title' => ''], + ], + [ + 'name' => 'Uri', + 'in' => 'query', + 'schema' => ['description' => 'The detection path.'."\n" + ."\n" + .'> The URI cannot be modified. A rule is uniquely identified by the domain name of the website business, the detection path, and the rule name.', 'type' => 'string', 'required' => true, 'example' => '/abc', 'title' => ''], ], ], 'responses' => [ @@ -20035,114 +18896,48 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Total' => [ - 'description' => 'The total number of billing logs for the burstable clean bandwidth.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '8BC3A33A-F832-58DB-952F-7682A25AD14C', - ], - 'SystemLog' => [ - 'description' => 'An array that consists of details of the billing logs for the burstable clean bandwidth.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Status' => [ - 'description' => 'The status of the bill. Valid values:'."\n" - ."\n" - .'* **0**: to be billed'."\n" - .'* **1**: billed'."\n" - .'* **2**: terminated'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'EntityType' => [ - 'description' => 'The type of the system log. The value is fixed as **20**, which indicates the billing logs for burstable clean bandwidth.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], - 'EntityObject' => [ - 'description' => 'The IP address of the instance.'."\n", - 'type' => 'string', - 'example' => '203.107.XX.XX', - ], - 'GmtCreate' => [ - 'description' => 'The time when the bill was generated. The value is a UNIX timestamp. Unit: milliseconds.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1631793531000', - ], - 'OpAction' => [ - 'description' => 'The operation type. The value is fixed as **100**, which indicates the billing logs for the burstable clean bandwidth that you increased.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '100', - ], - 'GmtModified' => [ - 'description' => 'The time when the bill was last modified. The value is a UNIX timestamp. Unit: milliseconds.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1635425407000', - ], - 'OpAccount' => [ - 'description' => 'The ID of the Alibaba Cloud account to which the bill belongs.'."\n", - 'type' => 'string', - 'example' => '171986973287****', - ], - 'OpDesc' => [ - 'description' => 'The details of the bill. The value is a string that consists of a JSON struct. The JSON struct contains the following fields:'."\n" - ."\n" - .'* **newEntity**: the bill record, which contains the following fields. Data type: object.'."\n" - ."\n" - .' * **billValue**: the usage of the burstable clean bandwidth within a month. Unit: Mbit/s. Data type: integer.'."\n" - .' * **instanceId**: the ID of the instance. Data type: string.'."\n" - .' * **ip**: the IP address of the instance. Data type: string.'."\n" - .' * **maxBw**: the peak service traffic (monthly 95th percentile bandwidth) within a month. Unit: Mbit/s. Data type: string.'."\n" - .' * **month**: the month in which the bill of the previous calendar month is issued. This value is a UNIX timestamp. Unit: milliseconds. Data type: long.'."\n" - .' * **overBandwidth**: the peak service traffic minus the clean bandwidth of the instance. Unit: Mbit/s. Data type: integer.'."\n" - .' * **peakTime**: the time in point of the peak service traffic that is measured for billing. This value is a UNIX timestamp. Unit: seconds. Data type: long.'."\n" - .' * **startTimestamp**: the beginning of the time range for the peak service traffic range. This value is a UNIX timestamp. Unit: seconds. Data type: long.'."\n", - 'type' => 'string', - 'example' => '{"newEntity":{"billValue":"60","instanceId":"ddoscoo-cn-zz121ogz****","ip":"203.107.XX.XX","maxBw":"300","month":1627747200000,"overBandwidth":"120","peakTime":1629871200,"startTimestamp":1629871200}}', - ], - ], - ], - ], + 'RequestId' => ['description' => 'The ID of this request.', 'type' => 'string', 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Total\\": 1,\\n \\"RequestId\\": \\"8BC3A33A-F832-58DB-952F-7682A25AD14C\\",\\n \\"SystemLog\\": [\\n {\\n \\"Status\\": 1,\\n \\"EntityType\\": 20,\\n \\"EntityObject\\": \\"203.107.XX.XX\\",\\n \\"GmtCreate\\": 1631793531000,\\n \\"OpAction\\": 100,\\n \\"GmtModified\\": 1635425407000,\\n \\"OpAccount\\": \\"171986973287****\\",\\n \\"OpDesc\\": \\"{\\\\\\"newEntity\\\\\\":{\\\\\\"billValue\\\\\\":\\\\\\"60\\\\\\",\\\\\\"instanceId\\\\\\":\\\\\\"ddoscoo-cn-zz121ogz****\\\\\\",\\\\\\"ip\\\\\\":\\\\\\"203.107.XX.XX\\\\\\",\\\\\\"maxBw\\\\\\":\\\\\\"300\\\\\\",\\\\\\"month\\\\\\":1627747200000,\\\\\\"overBandwidth\\\\\\":\\\\\\"120\\\\\\",\\\\\\"peakTime\\\\\\":1629871200,\\\\\\"startTimestamp\\\\\\":1629871200}}\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\n 1\\n 8BC3A33A-F832-58DB-952F-7682A25AD14C\\n \\n 1\\n 20\\n 203.107.XX.XX\\n 1631793531000\\n 100\\n 1635425407000\\n 171986973287****\\n {\\"newEntity\\":{\\"billValue\\":\\"60\\",\\"instanceId\\":\\"ddoscoo-cn-zz121ogz****\\",\\"ip\\":\\"203.107.XX.XX\\",\\"maxBw\\":\\"300\\",\\"month\\":1627747200000,\\"overBandwidth\\":\\"120\\",\\"peakTime\\":1629871200,\\"startTimestamp\\":1629871200}}\\n \\n","errorExample":""}]', - 'description' => 'You can call the DescribeSystemLog operation to query the system logs of Anti-DDoS Pro or Anti-DDoS Premium. The system logs contain only billing logs for the burstable clean bandwidth.'."\n" - ."\n" - .'If you have enabled the burstable clean bandwidth feature, you can call this operation to query the details of the bills of the burstable clean bandwidth.'."\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", - 'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see [Common parameters](~~157269~~).'."\n" - ."\n" - .'For more information about sample requests, see the **"Examples"** section of this topic.'."\n", + 'staticInfo' => [ + 'substitutions' => ['ddoscoo::2020-01-01::ConfigWebCCRuleV2'], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}","type":"json"}]', + 'title' => 'ModifyWebCCRule', + 'summary' => 'Modifies a custom rule for website business frequency control protection (HTTP flood protection).', + 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeElasticQps' => [ - 'summary' => 'Queries the line chart of the bills for the burstable QPS of an Anti-DDoS Proxy instance.', - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:12.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyWebCCRule'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:ModifyWebCCRule', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'ModifyWebCacheCustomRule' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -20151,74 +18946,39 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '172965', - 'abilityTreeNodes' => [ - 'FEATUREddosIJFWZ1', - ], + 'operationType' => 'update', + 'abilityTreeCode' => '106264', + 'abilityTreeNodes' => ['FEATUREddosOZ1QOD'], ], 'parameters' => [ [ - 'name' => 'Region', - 'in' => 'query', - 'schema' => [ - 'description' => 'The type of the service. Valid values:'."\n" - ."\n" - .'* **cn**: Anti-DDoS Proxy (Chinese Mainland)'."\n" - .'* **cn-hongkong**: Anti-DDoS Proxy (Outside Chinese Mainland)'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'cn', - ], - ], - [ - 'name' => 'Ip', - 'in' => 'query', - 'schema' => [ - 'description' => 'The IP address of the Anti-DDoS Proxy instance to query.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '203.107.XX.XX'."\n", - ], - ], - [ - 'name' => 'StartTime', + 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => 'The beginning of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n" - ."\n" - .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1684252800', - ], + 'schema' => ['description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n", 'type' => 'string', 'required' => false, 'example' => 'default', 'title' => ''], ], [ - 'name' => 'EndTime', + 'name' => 'Domain', 'in' => 'query', - 'schema' => [ - 'description' => 'The end of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n" - ."\n" - .'> This UNIX timestamp must indicate a point in time that is accurate to the minute.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1684339200', - ], + 'schema' => ['description' => 'The domain name of the website.'."\n" + ."\n" + .'> A forwarding rule must be configured for the domain name, and the domain name must be associated with an instance that uses the Enhanced function plan. You can call the [DescribeDomains](~~91724~~) operation to query all domain names.'."\n", 'type' => 'string', 'required' => true, 'example' => 'www.aliyun.com', 'title' => ''], ], [ - 'name' => 'Interval', + 'name' => 'Rules', 'in' => 'query', - 'schema' => [ - 'description' => 'The sampling interval. Unit: seconds. The value must be a multiple of 60. Default value: 60. Unit: seconds. The query result varies depending on the sampling interval.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '60', - 'default' => '3600', - ], + 'schema' => ['description' => 'The details of the custom rule. This parameter is a JSON string. The string contains the following fields:'."\n" + ."\n" + .'* **Name**: the name of the rule. This field is required and must be of the string type.'."\n" + ."\n" + .'* **Uri**: the path to the cached page. This field is required and must be of the STRING type.'."\n" + ."\n" + .'* **Mode**: the cache mode. This field is required and must be of the STRING type. Valid values:'."\n" + ."\n" + .' * **standard**: uses the standard mode.'."\n" + .' * **aggressive**: uses the enhanced mode.'."\n" + .' * **bypass**: No data is cached.'."\n" + ."\n" + .'* **CacheTtl**: the expiration time of the page cache. This field is required and must be of the INTEGER type. Unit: seconds.'."\n", 'type' => 'string', 'required' => true, 'example' => '[{"Name": "test","Uri": "/a","Mode": "standard","CacheTtl": 3600}]', 'title' => ''], ], ], 'responses' => [ @@ -20226,143 +18986,78 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID, which is used to locate and troubleshoot issues.'."\n", - 'type' => 'string', - 'example' => '2E7F7F7B-39A8-5D92-BAB4-D89D9DCE7D4F', - ], - 'ElasticQps' => [ - 'description' => 'The information about the burstable QPS.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'MaxNormalQps' => [ - 'description' => 'The peak QPS of the normal service.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '23', - ], - 'Index' => [ - 'description' => 'The index number of the returned data.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'MaxQps' => [ - 'description' => 'The peak inbound QPS.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '100', - ], - 'Pv' => [ - 'description' => 'The total number of requests during the step size period.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '15104', - ], - 'Ups' => [ - 'description' => 'The total number of origin requests during the step size period.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1223', - ], - 'Status2' => [ - 'description' => 'The total number of HTTP 2xx status codes during the step size period.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '455', - ], - 'Status3' => [ - 'description' => 'The total number of HTTP 3xx status codes during the step size period.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '100', - ], - 'Status4' => [ - 'description' => 'The total number of HTTP 4xx status codes during the step size period.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '34', - ], - 'Status5' => [ - 'description' => 'The total number of HTTP 5xx status codes during the step size period.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - ], - ], - ], + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc', 'title' => ''], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}","errorExample":""},{"type":"xml","example":"\\r\\n\\r\\n\\t0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\r\\n","errorExample":""}]', + 'title' => 'ModifyWebCacheCustomRule', + 'summary' => 'Modifies the custom rule of the Static Page Caching policy for a website.', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:12.000Z', 'description' => 'Error codes changed'], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"2E7F7F7B-39A8-5D92-BAB4-D89D9DCE7D4F\\",\\n \\"ElasticQps\\": [\\n {\\n \\"MaxNormalQps\\": 23,\\n \\"Index\\": 1,\\n \\"MaxQps\\": 100,\\n \\"Pv\\": 15104,\\n \\"Ups\\": 1223,\\n \\"Status2\\": 455,\\n \\"Status3\\": 100,\\n \\"Status4\\": 34,\\n \\"Status5\\": 0\\n }\\n ]\\n}","type":"json"}]', - 'title' => 'DescribeElasticQps', - ], - 'DescribeElasticQpsRecord' => [ - 'summary' => 'Queries the burstable QPS details of an Anti-DDoS Proxy instance.', - 'methods' => [ - 'post', - 'get', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyWebCacheCustomRule'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:ModifyWebCacheCustomRule', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'ModifyWebCacheMode' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'list', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '173053', - 'abilityTreeNodes' => [ - 'FEATUREddosIJFWZ1', - ], + 'operationType' => 'update', + 'abilityTreeCode' => '106265', + 'abilityTreeNodes' => ['FEATUREddosM9SQC1'], ], 'parameters' => [ [ - 'name' => 'StartTime', + 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => 'The beginning of the time range to query. The value is a timestamp. Unit: milliseconds.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1684252800000', - ], + 'schema' => ['description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n", 'type' => 'string', 'required' => false, 'example' => 'default', 'title' => ''], ], [ - 'name' => 'EndTime', + 'name' => 'Domain', 'in' => 'query', - 'schema' => [ - 'description' => 'The end of the time range to query. The value is a timestamp. Unit: milliseconds.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1688140799999', - ], + 'schema' => ['description' => 'The domain name of the website.'."\n" + ."\n" + .'> A forwarding rule must be configured for the domain name, and the domain name must be associated with an instance that uses the Enhanced function plan. You can call the [DescribeDomains](~~91724~~) operation to query all domain names.'."\n", 'type' => 'string', 'required' => true, 'example' => 'www.aliyun.com', 'title' => ''], ], [ - 'name' => 'Ip', + 'name' => 'Mode', 'in' => 'query', - 'schema' => [ - 'description' => 'The IP address of the Anti-DDoS Proxy instance to query.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '203.107.XX.XX'."\n", - ], + 'schema' => ['description' => 'The cache mode of the Static Page Caching policy. Valid values:'."\n" + ."\n" + .'* **standard**: uses the standard cache mode.'."\n" + .'* **aggressive**: uses the enhanced cache mode.'."\n" + .'* **bypass**: caches no data.'."\n", 'type' => 'string', 'required' => true, 'example' => 'standard', 'title' => ''], ], ], 'responses' => [ @@ -20370,96 +19065,45 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID, which is used to locate and troubleshoot issues.'."\n", - 'type' => 'string', - 'example' => 'F68B34E2-570C-508D-95FD-DFB6611D518F', - ], - 'ElasticQpsList' => [ - 'description' => 'The QPS information about the instance.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'OpsElasticQps' => [ - 'description' => 'The burstable QPS value. A value of 0 indicates that the burstable QPS feature is not enabled.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '300000', - ], - 'Ip' => [ - 'description' => 'The IP address of the Anti-DDoS Proxy instance.'."\n", - 'type' => 'string', - 'example' => '203.***.***.199', - ], - 'OriginQps' => [ - 'description' => 'The service QPS (purchased).'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1345', - ], - 'Date' => [ - 'description' => 'The timestamp. Unit: milliseconds.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1688140799999'."\n", - ], - 'InstanceId' => [ - 'description' => 'The ID of the Anti-DDoS Proxy instance.'."\n", - 'type' => 'string', - 'example' => 'ddoscoo-cn-7e225i41****'."\n", - ], - 'Qps' => [ - 'description' => 'The daily peak 95th percentile QPS.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '4367', - ], - 'QpsPeak' => [ - 'description' => 'The daily peak traffic.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '122', - ], - 'Status' => [ - 'description' => 'Indicates whether the instance has expired or is released. Valid values:'."\n" - ."\n" - .'* **1**: The instance runs as expected.'."\n" - .'* **2**: The instance has expired.'."\n" - .'* **4**: The instance is released.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'OpsQps' => [ - 'description' => 'The service QPS (active).'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1345', - ], - ], - ], - ], + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc', 'title' => ''], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}","errorExample":""},{"type":"xml","example":"\\r\\n\\r\\n\\t0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\r\\n","errorExample":""}]', + 'title' => 'ModifyWebCacheMode', + 'summary' => 'Changes the cache mode of the Static Page Caching policy for a website.', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:12.000Z', 'description' => 'Error codes changed'], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F68B34E2-570C-508D-95FD-DFB6611D518F\\",\\n \\"ElasticQpsList\\": [\\n {\\n \\"OpsElasticQps\\": 300000,\\n \\"Ip\\": \\"203.***.***.199\\",\\n \\"OriginQps\\": 1345,\\n \\"Date\\": 1688140799999,\\n \\"InstanceId\\": \\"ddoscoo-cn-7e225i41****\\\\n\\",\\n \\"Qps\\": 4367,\\n \\"QpsPeak\\": 122,\\n \\"Status\\": 1,\\n \\"OpsQps\\": 1345\\n }\\n ]\\n}","type":"json"}]', - 'title' => 'DescribeElasticQpsRecord', - ], - 'CreateTagResources' => [ - 'methods' => [ - 'post', - 'get', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyWebCacheMode'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:ModifyWebCacheMode', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'ModifyWebCacheSwitch' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -20468,93 +19112,32 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'create', - 'abilityTreeCode' => '106073', - 'abilityTreeNodes' => [ - 'FEATUREddosMHU3MF', - ], + 'operationType' => 'update', + 'abilityTreeCode' => '106266', + 'abilityTreeNodes' => ['FEATUREddosOZ1QOD'], ], 'parameters' => [ [ - 'name' => 'RegionId', + 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => 'The region ID of the Anti-DDoS Proxy instance.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The ID of the resource group to which the instance belongs in Resource Management.'."\n" + ."\n" + .'If you do not configure this parameter, the instance belongs to the default resource group.'."\n", 'type' => 'string', 'required' => false, 'example' => 'rg-acfm2pz25js****', 'title' => ''], ], [ - 'name' => 'ResourceGroupId', + 'name' => 'Domain', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the resource group to which the instance belongs in Resource Management.'."\n" - ."\n" - .'If you do not specify this parameter, the instance belongs to the default resource group.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'rg-acfm2pz25js****', - ], + 'schema' => ['description' => 'The domain name for which you want to configure the Static Page Caching policy.'."\n" + ."\n" + .'> You can call the [DescribeDomains](~~91724~~) operation to query all the domain names that are added to Anti-DDoS Pro or Anti-DDoS Premium.'."\n", 'type' => 'string', 'required' => true, 'example' => 'www.aliyundoc.com', 'title' => ''], ], [ - 'name' => 'ResourceType', + 'name' => 'Enable', 'in' => 'query', - 'schema' => [ - 'description' => 'The type of the resource to which the tag belongs. Set the value to **INSTANCE**, which indicates an Anti-DDoS Pro instance.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'INSTANCE', - ], - ], - [ - 'name' => 'ResourceIds', - 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => 'The IDs of the Anti-DDoS Proxy instances to which you want to add tags.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The ID of the Anti-DDoS Proxy instance to which you want to add tags.'."\n" - ."\n" - .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all Anti-DDoS Proxy instances.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'ddoscoo-cn-mp91j1ao****', - ], - 'required' => true, - 'example' => 'ddoscoo-cn-mp91j1ao****', - 'maxItems' => 51, - ], - ], - [ - 'name' => 'Tags', - 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => 'An array that consists of the tags to add.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Key' => [ - 'description' => 'The key of the tag to add.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'testkey', - ], - 'Value' => [ - 'description' => 'The value of the tag to add.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'testvalue', - ], - ], - 'required' => false, - ], - 'required' => false, - 'maxItems' => 21, - ], + 'schema' => ['description' => 'Specifies whether to enable or disable the Static Page Caching policy for a website. Valid values:'."\n" + ."\n" + .'* **1**: enables the policy.'."\n" + .'* **0**: disables the policy.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1', 'title' => ''], ], ], 'responses' => [ @@ -20562,21 +19145,20 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E', - ], + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '6623EA1F-30FB-5BC8-BEC9-74D55F6F08F1', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E\\"\\n}","errorExample":""},{"type":"xml","example":"\\r\\n\\r\\n\\tC33EB3D5-AF96-43CA-9C7E-37A81BC06A1E\\r\\n","errorExample":""}]', - 'title' => 'CreateTagResources', - 'summary' => 'Adds tags to multiple Anti-DDoS Proxy instances at a time.', - 'description' => 'You can call the CreateTagResources operation to add tags to multiple Anti-DDoS Proxy instances at a time.'."\n" + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6623EA1F-30FB-5BC8-BEC9-74D55F6F08F1\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 6623EA1F-30FB-5BC8-BEC9-74D55F6F08F1\\n","errorExample":""}]', + 'title' => 'ModifyWebCacheSwitch', + 'summary' => 'Enables or disables the Static Page Caching policy for a website.', + 'description' => 'You can call the ModifyWebCacheSwitch operation to enable or disable the Static Page Caching policy for a website.'."\n" ."\n" - .'### [](#qps-)Limits'."\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", 'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see [Common parameters](~~157269~~).'."\n" @@ -20584,16 +19166,31 @@ .'For more information about sample requests, see the **"Examples"** section of this topic.'."\n", 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DeleteTagResources' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:12.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyWebCacheSwitch'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:ModifyWebCacheSwitch', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'ModifyWebIpSetSwitch' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -20602,95 +19199,32 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'delete', - 'abilityTreeCode' => '106087', - 'abilityTreeNodes' => [ - 'FEATUREddosMHU3MF', - ], + 'operationType' => 'update', + 'abilityTreeCode' => '106268', + 'abilityTreeNodes' => ['FEATUREddosI8LHMA'], ], 'parameters' => [ - [ - 'name' => 'RegionId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The region ID of the instance. Set the value to **cn-hangzhou**, which indicates an Anti-DDoS Proxy (Chinese Mainland) instance.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], - ], [ 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the resource group to which the instance belongs in Resource Management.'."\n" - ."\n" - .'If you do not configure this parameter, the instance belongs to the default resource group.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'rg-acfm2pz25js****', - ], - ], - [ - 'name' => 'ResourceType', - 'in' => 'query', - 'schema' => [ - 'description' => 'The type of the resource to which the tag belongs. Set the value to **INSTANCE**, which indicates an Anti-DDoS Pro instance.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'INSTANCE', - ], - ], - [ - 'name' => 'All', - 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether to remove all tags from the specified resource. Valid values:'."\n" - ."\n" - .'* **true**: yes.'."\n" - .'* **false** no. This is the default value.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n", 'type' => 'string', 'required' => false, 'example' => 'default', 'title' => ''], ], [ - 'name' => 'ResourceIds', + 'name' => 'Domain', 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => 'An array consisting of the IDs of instances from which you want to remove tags.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The ID of the instance from which you want to remove tags.'."\n" - ."\n" - .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'ddoscoo-cn-zvp2eibz****', - ], - 'required' => true, - 'example' => 'ddoscoo-cn-mp91j1ao****', - 'maxItems' => 51, - ], + 'schema' => ['description' => 'The domain name of the website.'."\n" + ."\n" + .'> A forwarding rule must be configured for the domain name. You can call the [DescribeDomains](~~91724~~) operation to query all domain names.'."\n", 'type' => 'string', 'required' => true, 'example' => 'www.aliyun.com', 'title' => ''], ], [ - 'name' => 'TagKey', + 'name' => 'Config', 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => 'An array consisting of the keys of the tags that you want to remove.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The key of the tag that you want to remove.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'doc-test-key', - ], - 'required' => false, - 'example' => 'testkey', - 'maxItems' => 21, - ], + 'schema' => ['description' => 'The details of the Blacklist/Whitelist (Domain Names) feature. This parameter is a JSON string. The value consists of the following fields:'."\n" + ."\n" + .'**bwlist_enable**: the status of the Blacklist/Whitelist (Domain Names) feature. This field is required and must be of the integer type. Valid values:'."\n" + ."\n" + .'* 0: turned off'."\n" + .'* 1: turned on'."\n", 'type' => 'string', 'required' => true, 'example' => '{"bwlist_enable":1}', 'title' => ''], ], ], 'responses' => [ @@ -20698,40 +19232,45 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '6623EA1F-30FB-5BC8-BEC9-74D55F6F08F1', - ], + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6623EA1F-30FB-5BC8-BEC9-74D55F6F08F1\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 6623EA1F-30FB-5BC8-BEC9-74D55F6F08F1\\n","errorExample":""}]', - 'title' => 'DeleteTagResources', - 'summary' => 'Removes tags from Anti-DDoS Proxy (Chinese Mainland) instances.', - 'description' => 'You can call the DeleteTagResources operation to remove tags from Anti-DDoS Proxy (Chinese Mainland) instances.'."\n" - ."\n" - .'> Only Anti-DDoS Proxy (Chinese Mainland) supports tags.'."\n" - ."\n" - .'### [](#qps-)QPS limits'."\n" - ."\n" - .'You can call this operation up to 10 times per second per account. If the number of 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", - 'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see [Common parameters](~~157269~~).'."\n" - ."\n" - .'For more information about sample requests, see the **"Examples"** section of this topic.'."\n", + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}","errorExample":""},{"type":"xml","example":"\\r\\n\\r\\n\\t0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\r\\n","errorExample":""}]', + 'title' => 'ModifyWebIpSetSwitch', + 'summary' => 'Enables or disables the Black Lists and White Lists (Domain Names) policy for a domain name.', + 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeTagKeys' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:12.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyWebIpSetSwitch'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:ModifyWebIpSetSwitch', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'ModifyWebPreciseAccessRule' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -20740,67 +19279,68 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeCode' => '106191', - 'abilityTreeNodes' => [ - 'FEATUREddos64TBV6', - 'FEATUREddosMHU3MF', - ], + 'operationType' => 'update', + 'abilityTreeCode' => '106269', + 'abilityTreeNodes' => ['FEATUREddosCRC1QI'], ], 'parameters' => [ - [ - 'name' => 'RegionId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The region ID of the instance. Set the value to **cn-hangzhou**, which indicates an Anti-DDoS Proxy (Chinese Mainland) instance.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], - ], [ 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the resource group to which the instance belongs in Resource Management.'."\n" - ."\n" - .'If you do not configure this parameter, the instance belongs to the default resource group.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'rg-acfm2pz25js****', - ], + 'schema' => ['description' => 'The ID of the resource group to which the Anti-DDoS Pro instance belongs. If you do not specify this parameter, the instance belongs to the default resource group.', 'type' => 'string', 'required' => false, 'example' => 'rg-acfm2pz25js****', 'title' => ''], ], [ - 'name' => 'ResourceType', + 'name' => 'Domain', 'in' => 'query', - 'schema' => [ - 'description' => 'The type of the resource to which the tag belongs. Set the value to **INSTANCE**, which indicates an Anti-DDoS Pro instance.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'INSTANCE', - ], + 'schema' => ['description' => 'The domain of the website.'."\n" + ."\n" + .'> You must configure a forwarding rule for the domain. You can call the [DescribeDomains](~~91724~~) operation to query all domains.', 'type' => 'string', 'required' => true, 'example' => 'example.aliyundoc.com', 'title' => ''], ], [ - 'name' => 'PageSize', + 'name' => 'Rules', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of entries to return on each page. Default value: **10**.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '10', - ], + 'schema' => ['description' => 'The configuration of the precise access control rule, specified as a JSON-formatted string. The string has the following structure:'."\n" + ."\n" + .'- **action**: String. Required. The action to perform on matching requests. Valid values:'."\n" + ."\n" + .' - **accept**: Allows the request.'."\n" + ."\n" + .' - **block**: Blocks the request.'."\n" + ."\n" + .' - **challenge**: Initiates a challenge to verify the request.'."\n" + ."\n" + .' - **watch**: Monitors the request.'."\n" + ."\n" + .'- **name**: String. Required. The name of the rule.'."\n" + ."\n" + .'- **condition**: Map. Required. The match conditions. The structure is as follows:'."\n" + ."\n" + .' > If you specify multiple match conditions, they are evaluated with a logical AND.'."\n" + ."\n" + .' - **field**: String. Required. The match field.'."\n" + ."\n" + .' - **match\\_method**: String. Required. The match method.'."\n" + ."\n" + .' > For information about the valid values for **field** and **match\\_method**, see the "Additional information about request parameters" section.'."\n" + ."\n" + .' - **content**: String. The value to match. You can specify either this parameter or `content_list`.'."\n" + ."\n" + .' - **content\\_list**: String. A list of values to match. You can specify either this parameter or `content`.'."\n" + ."\n" + .' > For information about the valid values for **match\\_method** and **content/content\\_list**, see the "Additional information about request parameters" section.'."\n" + ."\n" + .'- **header\\_name**: String. Optional. The name of the request header. This parameter applies only when **field** is set to **header**.'."\n" + ."\n" + .'- **case\\_insensitive**: Boolean. Optional. The default value is false. Valid values:'."\n" + ."\n" + .' - **false**: case-sensitive'."\n" + ."\n" + .' - **true**: case-insensitive', 'type' => 'string', 'required' => true, 'example' => '[{"action":"block","name":"testrule","condition":[{"field":"uri","match_method":"contain","content":"/test/123"}]}]', 'title' => ''], ], [ - 'name' => 'PageNumber', + 'name' => 'Expires', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of the page to return. Default value: **1**.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => 'The validity period of the rule, in seconds. This parameter applies only when **action** is set to **block**. Requests that match the rule are blocked for the specified duration. If you do not specify this parameter, the rule is permanently effective.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '600', 'title' => ''], ], ], 'responses' => [ @@ -20808,79 +19348,80 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '6623EA1F-30FB-5BC8-BEC9-74D55F6F08F1', - ], - 'PageNumber' => [ - 'description' => 'The page number of the returned page.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'PageSize' => [ - 'description' => 'The number of entries returned on each page.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'TotalCount' => [ - 'description' => 'The total number of entries returned.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'TagKeys' => [ - 'description' => 'The details about the tag keys.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'TagCount' => [ - 'description' => 'The number of Anti-DDoS Proxy (Chinese Mainland) instances to which the tag key is added.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'TagKey' => [ - 'description' => 'The tag key.'."\n", - 'type' => 'string', - 'example' => 'aa1', - ], - ], - ], - ], + 'RequestId' => ['description' => 'The unique ID of the request. You can use this ID to locate and troubleshoot issues.', 'type' => 'string', 'example' => 'F908E959-ADA8-4D7B-8A05-FF2F67F50964', 'title' => ''], ], - 'description' => '', + 'description' => 'The response object.', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6623EA1F-30FB-5BC8-BEC9-74D55F6F08F1\\",\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 1,\\n \\"TagKeys\\": [\\n {\\n \\"TagCount\\": 2,\\n \\"TagKey\\": \\"aa1\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\n 6623EA1F-30FB-5BC8-BEC9-74D55F6F08F1\\n 1\\n 10\\n 1\\n \\n 2\\n aa1\\n \\n","errorExample":""}]', - 'title' => 'DescribeTagKeys', - 'summary' => 'Queries all tag keys and the number of Anti-DDoS Proxy (Chinese Mainland) instances to which each tag key is added.', - 'description' => 'You can call this operation to query all tag keys and the number of Anti-DDoS Proxy (Chinese Mainland) instances to which each tag key is added by page.'."\n" - ."\n" - .'> Only Anti-DDoS Proxy (Chinese Mainland) supports tags.'."\n" + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F908E959-ADA8-4D7B-8A05-FF2F67F50964\\"\\n}","type":"json"}]', + 'title' => 'ModifyWebPreciseAccessRule', + 'summary' => 'Creates or edits a precise access control rule for a website.', + 'requestParamsDescription' => '**Field and match method**'."\n" ."\n" - .'### [](#qps-)QPS limits'."\n" + .'| Match field | Description | Match method |'."\n" + .'| --------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |'."\n" + .'| **ip** | The source IP address of the request. | **belong**: Belongs to
**nbelong**: Does not belong to
**ipinlist**: In list
**ipninlist**: Not in list |'."\n" + .'| **uri** | The URI of the request. | **contain**: Contains
**ncontain**: Does not contain
**equal**: Equals
**nequal**: Does not equal
**lless**: Length is less than
**lequal**: Length equals
**lgreat**: Length is greater than
**prefix**: Matches prefix
**inlist**: Equals one of multiple values
**ninlist**: Does not equal any of multiple values |'."\n" + .'| **referer** | The referer of the request. This indicates the webpage from which the request is initiated. | **contain**: Contains
**ncontain**: Does not contain
**equal**: Equals
**nequal**: Does not equal
**lless**: Length is less than
**lequal**: Length equals
**lgreat**: Length is greater than
**nexist**: Does not exist
**inlist**: Equals one of multiple values
**ninlist**: Does not equal any of multiple values |'."\n" + .'| **user-agent** | The user agent of the client that initiated the request. This includes information such as the browser identity, rendering engine, and version. | **contain**: Contains
**ncontain**: Does not contain
**equal**: Equals
**nequal**: Does not equal
**lless**: Length is less than
**lequal**: Length equals
**lgreat**: Length is greater than
**inlist**: Equals one of multiple values
**ninlist**: Does not equal any of multiple values |'."\n" + .'| **params** | The parameters in the request URL, which typically refer to the part after the question mark (?). For example, in `demo.aliyundoc.com/index.html?action=login`, `action=login` is the parameter part. | **contain**: Contains
**ncontain**: Does not contain
**equal**: Equals
**nequal**: Does not equal
**lless**: Length is less than
**lequal**: Length equals
**lgreat**: Length is greater than
**inlist**: Equals one of multiple values
**ninlist**: Does not equal any of multiple values |'."\n" + .'| **cookie** | The cookie information in the request. | **contain**: Contains
**ncontain**: Does not contain
**equal**: Equals
**nequal**: Does not equal
**lless**: Length is less than
**lequal**: Length equals
**lgreat**: Length is greater than
**nexist**: Does not exist
**inlist**: Equals one of multiple values
**ninlist**: Does not equal any of multiple values |'."\n" + .'| **content-type** | The HTTP content type (MIME type) specified in the request. | **contain**: Contains
**ncontain**: Does not contain
**equal**: Equals
**nequal**: Does not equal
**lless**: Length is less than
**lequal**: Length equals
**lgreat**: Length is greater than
**inlist**: Equals one of multiple values
**ninlist**: Does not equal any of multiple values |'."\n" + .'| **x-forwarded-for** | The original IP address of the client. X-Forwarded-For (XFF) is an HTTP request header used to identify the originating IP address of a client connecting to a web server through an HTTP proxy or a load balancer. This field is included only in requests forwarded by an HTTP proxy or a load balancer. | **contain**: Contains
**ncontain**: Does not contain
**equal**: Equals
**nequal**: Does not equal
**lless**: Length is less than
**lequal**: Length equals
**lgreat**: Length is greater than
**nexist**: Does not exist
**inlist**: Equals one of multiple values
**ninlist**: Does not equal any of multiple values |'."\n" + .'| **content-length** | The size of the request body in bytes. | **vless**: Value is less than
**vequal**: Value equals
**vgreat**: Value is greater than |'."\n" + .'| **post-body** | The request body. | **contain**: Contains
**ncontain**: Does not contain
**equal**: Equals
**nequal**: Does not equal
**inlist**: Equals one of multiple values
**ninlist**: Does not equal any of multiple values |'."\n" + .'| **http-method** | The HTTP method, such as GET or POST. | **equal**: Equals
**nequal**: Does not equal
**inlist**: Equals one of multiple values
**ninlist**: Does not equal any of multiple values |'."\n" + .'| **header** | The request header. This is used for custom HTTP header fields. | **contain**: Contains
**ncontain**: Does not contain
**equal**: Equals
**nequal**: Does not equal
**lless**: Length is less than
**lequal**: Length equals
**lgreat**: Length is greater than
**nexist**: Does not exist
**inlist**: Equals one of multiple values
**ninlist**: Does not equal any of multiple values |'."\n" + .'| **ja3-fingerprint** | The JA3 fingerprint. | **equal**: Equals
**nequal**: Does not equal
**inlist**: Equals one of multiple values
**ninlist**: Does not equal any of multiple values |'."\n" + .'| **ja4-fingerprint** | The JA4 fingerprint. | **equal**: Equals
**nequal**: Does not equal
**inlist**: Equals one of multiple values
**ninlist**: Does not equal any of multiple values |'."\n" + .'| **tls-fingerprint** | The client TLS fingerprint. | **equal**: Equals
**nequal**: Does not equal
**inlist**: Equals one of multiple values
**ninlist**: Does not equal any of multiple values |'."\n" + .'| **http2-fingerprint** | The HTTP/2.0 fingerprint. | **equal**: Equals
**nequal**: Does not equal
**inlist**: Equals one of multiple values
**ninlist**: Does not equal any of multiple values |'."\n" + .'| **scheme** | The HTTP or HTTPS scheme. | **equal**: Equals
**nequal**: Does not equal |'."\n" + .'| **protocol** | The HTTP version. | **equal**: Equals
**nequal**: Does not equal
**inlist**: Equals one of multiple values
**ninlist**: Does not equal any of multiple values |'."\n" ."\n" - .'You can call this operation up to 10 times per second per account. If the number of 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", - 'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see [Common parameters](~~157269~~).'."\n" + .'**Match method and content**'."\n" ."\n" - .'For more information about sample requests, see the **"Examples"** section of this topic.'."\n", + .'| Match method | Description | Match content |'."\n" + .'| ------------ | -------------------------------------- | ------------------------------------------- |'."\n" + .'| **inlist** | Equals one of multiple values. | **content_list**: A list of values to match |'."\n" + .'| **ninlist** | Does not equal any of multiple values. | **content_list**: A list of values to match |'."\n" + .'| **equal** | Equals. | **content**: The value to match |'."\n" + .'| **nequal** | Does not equal. | **content**: The value to match |'."\n" + .'| **contain** | Contains. | **content**: The value to match |'."\n" + .'| **ncontain** | Does not contain. | **content**: The value to match |'."\n" + .'| **lless** | Length is less than. | **content**: The value to match |'."\n" + .'| **lequal** | Length equals. | **content**: The value to match |'."\n" + .'| **lgreat** | Length is greater than. | **content**: The value to match |', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeTagResources' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:12.000Z', 'description' => 'Error codes changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyWebPreciseAccessRule'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:ModifyWebPreciseAccessRule', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'ModifyWebPreciseAccessSwitch' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -20889,198 +19430,79 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeCode' => '106192', - 'abilityTreeNodes' => [ - 'FEATUREddos64TBV6', - 'FEATUREddosMHU3MF', - ], + 'operationType' => 'update', + 'abilityTreeCode' => '106270', + 'abilityTreeNodes' => ['FEATUREddosOZ1QOD'], ], 'parameters' => [ [ - 'name' => 'RegionId', + 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => 'The region ID of the instance. Set the value to **cn-hangzhou**, which indicates an Anti-DDoS Proxy (Chinese Mainland) instance.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.'."\n", 'type' => 'string', 'required' => false, 'example' => 'default', 'title' => ''], ], [ - 'name' => 'ResourceGroupId', + 'name' => 'Domain', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the resource group to which the instance belongs in Resource Management.'."\n" - ."\n" - .'If you do not configure this parameter, the instance belongs to the default resource group.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'rg-acfm2pz25js****', - ], + 'schema' => ['description' => 'The domain name of the website.'."\n" + ."\n" + .'> A forwarding rule must be configured for a domain name. You can call the [DescribeDomains](~~91724~~) operation to query all domain names.'."\n", 'type' => 'string', 'required' => true, 'example' => 'www.aliyun.com', 'title' => ''], ], [ - 'name' => 'ResourceType', + 'name' => 'Config', 'in' => 'query', + 'schema' => ['description' => 'The configuration of the Accurate Access Control policy. This parameter is a JSON string. The string contains the following fields:'."\n" + ."\n" + .'* **PreciseRuleEnable**: the status of the Accurate Access Control policy. This field is required and must be of the INTEGER type. Valid values:'."\n" + ."\n" + .' * **0**: disables the policy.'."\n" + .' * **1**: enables the policy.'."\n", 'type' => 'string', 'required' => true, 'example' => '{"PreciseRuleEnable":0}', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'The type of the resource to which the tag belongs. Set the value to **INSTANCE**, which indicates an Anti-DDoS Pro instance.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'INSTANCE', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], - [ - 'name' => 'NextToken', - 'in' => 'query', - 'schema' => [ - 'description' => 'The query token. Set the value to the value of **NextToken** that is returned in the last call.'."\n" - ."\n" - .'> You do not need to configure this parameter if you call this operation for the first time.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'RGuYpqDdKhzXb8C3.D1BwQgc1tMBsoxdGiEKHHUUCf****', - ], - ], - [ - 'name' => 'ResourceIds', - 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => 'The IDs of the Anti-DDoS Proxy (Chinese Mainland) instances that you want to query.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The ID of the Anti-DDoS Proxy (Chinese Mainland) instance that you want to query.'."\n" - ."\n" - .'> '."\n" - ."\n" - .'* You must specify at least one of the **ResourceIds.N** and **Tags.N.Key** parameters.'."\n" - ."\n" - .'* You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of instances.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'ddoscoo-cn-zz121ogz****', - ], - 'required' => false, - 'example' => 'ddoscoo-cn-mp91j1ao****', - 'maxItems' => 51, - ], - ], - [ - 'name' => 'Tags', - 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => 'An array consisting of tags that you want to query. Each tag consists of a tag **key** and a tag **value**.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Key' => [ - 'description' => 'The key of the tag that you want to query.'."\n" - ."\n" - .'> '."\n" - ."\n" - .'* You must specify at least one of the **ResourceIds.N** and **Tags.N.Key** parameters.'."\n" - ."\n" - .'* You can call the [DescribeTagKeys](~~159785~~) operation to query all tag keys.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'testkey', - ], - 'Value' => [ - 'description' => 'The value of the tag that you want to query.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'testvalue', - ], - ], - 'required' => false, - ], - 'required' => false, - 'maxItems' => 21, - ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}","errorExample":""},{"type":"xml","example":"\\r\\n\\r\\n\\t0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\r\\n","errorExample":""}]', + 'title' => 'ModifyWebPreciseAccessSwitch', + 'summary' => 'Enables or disables accurate access control for a website.', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:12.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyWebPreciseAccessSwitch'], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'NextToken' => [ - 'description' => 'The query token that is returned in this call.'."\n", - 'type' => 'string', - 'example' => 'RGuYpqDdKhzXb8C3.D1BwQgc1tMBsoxdGiEKHHUUCf****', - ], - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '36E698F7-48A4-48D0-9554-0BB4BAAB99B3', - ], - 'TagResources' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'TagResource' => [ - 'description' => 'The tags that are added to the Anti-DDoS Proxy (Chinese Mainland) instance.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'TagValue' => [ - 'description' => 'The value of the tag that is added to the Anti-DDoS Proxy (Chinese Mainland) instance.'."\n", - 'type' => 'string', - 'example' => 'testkey', - ], - 'ResourceType' => [ - 'description' => 'The resource type. The value is fixed as **INSTANCE**, which indicates an Anti-DDoS Proxy instance.'."\n", - 'type' => 'string', - 'example' => 'INSTANCE', - ], - 'ResourceId' => [ - 'description' => 'The ID of the Anti-DDoS Proxy (Chinese Mainland) instance.'."\n", - 'type' => 'string', - 'example' => 'ddoscoo-cn-zz121ogz****', - ], - 'TagKey' => [ - 'description' => 'The key of the tag that is added to the Anti-DDoS Proxy (Chinese Mainland) instance.'."\n", - 'type' => 'string', - 'example' => 'testvalue', - ], - ], - ], - ], - ], - ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:ModifyWebPreciseAccessSwitch', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], ], - 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"NextToken\\": \\"RGuYpqDdKhzXb8C3.D1BwQgc1tMBsoxdGiEKHHUUCf****\\",\\n \\"RequestId\\": \\"36E698F7-48A4-48D0-9554-0BB4BAAB99B3\\",\\n \\"TagResources\\": {\\n \\"TagResource\\": [\\n {\\n \\"TagValue\\": \\"testkey\\",\\n \\"ResourceType\\": \\"INSTANCE\\",\\n \\"ResourceId\\": \\"ddoscoo-cn-zz121ogz****\\",\\n \\"TagKey\\": \\"testvalue\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"\\n RGuYpqDdKhzXb8C3.D1BwQgc1tMBsoxdGiEKHHUUCf****\\n 36E698F7-48A4-48D0-9554-0BB4BAAB99B3\\n \\n testkey\\n INSTANCE\\n ddoscoo-cn-zz121ogz****\\n testvalue\\n \\n","errorExample":""}]', - 'title' => 'DescribeTagResources', - 'summary' => 'Queries the information about the tags that are added to an Anti-DDoS Proxy (Chinese Mainland) instance.', - 'description' => 'You can call the DescribeTagResources operation to query the information about the tags that are added to an Anti-DDoS Proxy (Chinese Mainland) instance.'."\n" - ."\n" - .'> Only Anti-DDoS Proxy (Chinese Mainland) supports tags.'."\n" - ."\n" - .'### [](#qps-)QPS limits'."\n" - ."\n" - .'You can call this operation up to 10 times per second per account. If the number of 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", - 'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see [Common parameters](~~157269~~).'."\n" - ."\n" - .'For more information about sample requests, see the **"Examples"** section of this topic.'."\n", - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', ], - 'CreatePort' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ModifyWebRule' => [ + 'summary' => 'Modifies an existing website forwarding rule.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -21089,86 +19511,90 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'create', - 'abilityTreeCode' => '106070', - 'abilityTreeNodes' => [ - 'FEATUREddosN7DYCX', - ], + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '106271', + 'abilityTreeNodes' => ['FEATUREddosN7DYCX'], ], 'parameters' => [ [ - 'name' => 'FrontendPort', + 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => 'The forwarding port. Valid values: **0** to **65535**.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '55', - ], + 'schema' => ['description' => 'The resource group ID of the Anti-DDoS Proxy instance in Resource Management. Default value: empty, which indicates that the instance belongs to the default resource group.'."\n" + ."\n" + .'For more information, see [Create a resource group](~~94485~~).', 'type' => 'string', 'required' => false, 'example' => 'rg-acfm2pz25js****', 'title' => ''], ], [ - 'name' => 'FrontendProtocol', + 'name' => 'Domain', 'in' => 'query', - 'schema' => [ - 'description' => 'The type of the forwarding protocol. Valid values:'."\n" - ."\n" - .'* **tcp**'."\n" - .'* **udp**'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'tcp', - 'enum' => [ - 'tcp', - 'udp', - ], - ], + 'schema' => ['description' => 'The domain name of the website business to operate.'."\n" + ."\n" + .'> The domain name must have a website forwarding rule configured. You can call [DescribeDomains](~~91724~~) to query all domain names that have website forwarding rules configured.', 'type' => 'string', 'required' => true, 'example' => 'www.aliyun.com', 'title' => ''], ], [ - 'name' => 'InstanceId', + 'name' => 'ProxyTypes', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the Anti-DDoS Pro or Anti-DDoS Premium instance to which the port forwarding rule belongs.'."\n" - ."\n" - .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'ddoscoo-cn-st21zbyq****', - ], + 'schema' => ['description' => 'The protocol information of the website forwarding rule. This parameter is a string converted from a JSON array. Each element in the JSON array is a JSON struct that contains the following fields:'."\n" + ."\n" + .'- **ProxyType**: String type | Required | The website protocol type. Valid values: **http** | **https** | **websocket** | **websockets**.'."\n" + ."\n" + .'- **ProxyPorts**: array type | Required | The port numbers corresponding to the protocol.', 'type' => 'string', 'required' => true, 'example' => '[{"ProxyType":"https","ProxyPorts":[443]}]', 'title' => ''], ], [ - 'name' => 'BackendPort', + 'name' => 'RsType', 'in' => 'query', - 'schema' => [ - 'description' => 'The port of the origin server. Valid values: **0** to **65535**.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '55', - ], + 'schema' => ['description' => 'The address type of the origin server. Valid values:'."\n" + ."\n" + .'- **0**: indicates the IP address of the origin server.'."\n" + ."\n" + .'- **1**: indicates the domain name of the origin server. This is typically applicable to scenarios where other proxy services (such as WAF) are deployed between the origin server and Anti-DDoS Proxy, specifically referring to the redirect address of the proxy service (such as the WAF CNAME address).', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '0', 'title' => ''], + ], + [ + 'name' => 'HttpsExt', + 'in' => 'query', + 'schema' => ['description' => 'The HTTPS advanced settings, which take effect only when the website protocol type supports HTTPS (**ProxyType** includes **https**). This parameter is a string converted from a JSON struct that contains the following fields:'."\n" + ."\n" + .'- **Http2https**: Integer type | Optional | Specifies whether to enable the HTTPS force redirect feature. Valid values: **0** (disabled) | **1** (enabled). Default value: 0 (disabled).'."\n" + ."\n" + .' This is applicable when your website supports both HTTP and HTTPS protocols. After this setting is enabled, all HTTP requests will be forcibly converted to HTTPS requests and redirected to port 443 by default.'."\n" + ."\n" + .'- **Https2http**: Integer type | Optional | Specifies whether to enable the HTTP back-to-origin feature. Valid values: **0** (disabled) | **1** (enabled). Default value: 0 (disabled).'."\n" + ."\n" + .' This is applicable when your website does not support HTTPS back-to-origin. After this setting is enabled, all HTTPS protocol requests will be forwarded to the origin through HTTP (Websockets protocol requests will be forwarded through Websocket), and the default back-to-origin port is 80.'."\n" + ."\n" + .'- **Http2**: Integer type | Optional | Specifies whether to enable the HTTP2.0 protocol type. Valid values: **0** (disabled) | **1** (enabled). Default value: 0 (disabled).'."\n" + ."\n" + .' After this setting is enabled, the protocol version is HTTP2.0.', 'type' => 'string', 'required' => false, 'example' => '{"Http2":1,"Http2https":1,"Https2http":1}', 'title' => ''], ], [ 'name' => 'RealServers', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ - 'description' => 'An array that consists of the IP addresses of origin servers.'."\n", + 'description' => 'The list of origin server addresses.', 'type' => 'array', - 'items' => [ - 'description' => 'The IP address of the origin server.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '1.XX.XX.1', - ], + 'items' => ['description' => 'The origin server address.', 'type' => 'string', 'required' => false, 'example' => '192.XX.XX.2', 'title' => ''], 'required' => true, + 'example' => '1.xxx.xxx.1', 'maxItems' => 20, + 'title' => '', ], ], [ - 'name' => 'ProxyEnable', + 'name' => 'InstanceIds', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', + 'description' => 'The list of Anti-DDoS Proxy instance IDs to associate. You can associate up to 100 instances.', + 'type' => 'array', + 'items' => ['description' => 'The ID of the Anti-DDoS Proxy instance to associate.'."\n" + ."\n" + .'> You can call [DescribeInstanceIds](~~157459~~) to query the IDs of all Anti-DDoS Proxy instances.', 'type' => 'string', 'required' => false, 'example' => 'ddoscoo-cn-i7m27nf3****', 'title' => ''], 'required' => false, + 'example' => 'ddoscoo-cn-mp91j1ao****', + 'maxItems' => 20, + 'title' => '', ], ], ], @@ -21177,29 +19603,46 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request, which is used to locate and troubleshoot issues.'."\n", - 'type' => 'string', - 'example' => '4787A9A6-8230-4B4A-8211-AFBF7C416B4D', - ], + 'RequestId' => ['description' => 'The ID of this request.', 'type' => 'string', 'example' => 'CB3261D2-7D1B-4ADA-9E98-A200B2CDA2DC', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4787A9A6-8230-4B4A-8211-AFBF7C416B4D\\"\\n}","type":"json"}]', - 'title' => 'CreatePort', - 'summary' => 'Creates a port forwarding rule.', - 'description' => 'You can call this operation by using Terraform. For more information about Terraform, see [What is Terraform?](~~95820~~).'."\n", - ], - 'DeletePort' => [ - 'methods' => [ - 'post', - 'get', + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'UpStreamConfigConflict', 'errorMessage' => 'HTTP upstream and HTTP2.0 upstream conflict.', 'description' => 'HTTP upstream and HTTP2.0 upstream conflict.'], + ], + ], + 'title' => 'ModifyWebRule', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:33:59.000Z', 'description' => 'Error codes changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '200', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ModifyWebRule'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:ModifyWebRule', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CB3261D2-7D1B-4ADA-9E98-A200B2CDA2DC\\"\\n}","type":"json"}]', + ], + 'ReleaseInstance' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -21208,78 +19651,124 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'delete', - 'abilityTreeCode' => '106084', - 'abilityTreeNodes' => [ - 'FEATUREddosN7DYCX', - ], + 'operationType' => 'update', + 'abilityTreeCode' => '106274', + 'abilityTreeNodes' => ['FEATUREddosMHU3MF'], ], 'parameters' => [ [ - 'name' => 'FrontendPort', + 'name' => 'InstanceId', 'in' => 'query', + 'schema' => ['description' => 'The ID of the instance to be released.'."\n" + ."\n" + .'> Only expired instances can be released. You can call [DescribeInstances](~~91478~~) to query the IDs and expiration status of all Anti-DDoS Proxy instances.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'ddoscoo-cn-mp91j1ao****'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'The forwarding port. Valid values: **0** to **65535**.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '55', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => 'The ID of the request. This is a unique identifier generated by Alibaba Cloud for the request. You can use it to troubleshoot and locate issues.', 'type' => 'string', 'title' => '', 'example' => '06FFAF5F-CD3E-4886-A849-AAB40DFF6515'], + ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"06FFAF5F-CD3E-4886-A849-AAB40DFF6515\\"\\n}","type":"json"}]', + 'title' => 'ReleaseInstance', + 'summary' => 'Release an expired Anti-DDoS Proxy instance.', + 'description' => 'After an Anti-DDoS instance expires, it stops providing DDoS attack protection services. Seven days after expiration, it stops forwarding service traffic.'."\n" + ."\n" + .'- We recommend that you renew your instance before it expires to avoid impacts on service protection and forwarding. You can call [DescribeInstances](~~91478~~) to query the expiration time of an instance. To renew the instance, go to the [Anti-DDoS console](https://yundun.console.aliyun.com/?p=ddoscoo) to perform the operation.'."\n" + ."\n" + .'- If you do not plan to renew the instance, we recommend that you restore the protected service IP (no longer use the Anti-DDoS IP as the service IP) or service DNS parsing (no longer parse service traffic to the CNAME address of Anti-DDoS) before the Anti-DDoS instance expires. This prevents service traffic from being forwarded to the Anti-DDoS instance and avoids disruption to normal service forwarding when the instance expires.'."\n" + ."\n" + .'After the instance expires, you can call this operation to release the specified Anti-DDoS instance.'."\n" + ."\n" + .'> Before releasing the specified instance, ensure that you have restored the protected service IP or service DNS parsing.', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:33:59.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ReleaseInstance'], + ], + ], + 'ramActions' => [ [ - 'name' => 'FrontendProtocol', - 'in' => 'query', - 'schema' => [ - 'description' => 'The type of the forwarding protocol. Valid values:'."\n" - ."\n" - .'* **tcp**'."\n" - .'* **udp**'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'tcp', - 'enum' => [ - 'tcp', - 'udp', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:ReleaseInstance', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], + ], + ], + 'SwitchSchedulerRule' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'InstanceId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the Anti-DDoS Pro or Anti-DDoS Premium instance to which the port forwarding rule belongs.'."\n" - ."\n" - .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'ddoscoo-cn-st21zbyq****', - ], + 'AK' => [], ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '106277', + 'abilityTreeNodes' => ['FEATUREddosZIK01A'], + ], + 'parameters' => [ [ - 'name' => 'BackendPort', + 'name' => 'RuleName', 'in' => 'query', - 'schema' => [ - 'description' => 'The port of the origin server. Valid values: **0** to **65535**.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '55', - ], + 'schema' => ['description' => 'The name of the scheduling rule to manage.'."\n" + ."\n" + .'> You can call the [DescribeSchedulerRules](~~157481~~) operation to query the names of all scheduling rules.', 'type' => 'string', 'required' => true, 'example' => 'testrule', 'title' => ''], ], [ - 'name' => 'RealServers', + 'name' => 'RuleType', 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => 'An array that consists of the IP addresses of origin servers.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The IP address of the origin server.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '1.XX.XX.1', - ], - 'required' => false, - 'maxItems' => 20, - ], + 'schema' => ['description' => 'The type of the scheduling rule. Valid values:'."\n" + ."\n" + .'- **2**: tiered protection rule'."\n" + ."\n" + .'- **3**: network acceleration rule'."\n" + ."\n" + .'- **5**: Alibaba Cloud CDN (CDN) interaction rule'."\n" + ."\n" + .'- **6**: cloud service interaction rule', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '6', 'title' => ''], + ], + [ + 'name' => 'SwitchData', + 'in' => 'query', + 'schema' => ['description' => 'The configuration that is used to switch service traffic. This parameter is a string that consists of JSON arrays. Each element in a JSON array is a JSON struct that includes the following parameters:'."\n" + ."\n" + .'- **Value**: required. The IP address of the associated resource. Data type: string.'."\n" + ."\n" + .'- **State**: required. The operation type. Data type: integer. Valid values:'."\n" + ."\n" + .' - **0**: switches service traffic from the associated resource to your Anti-DDoS Pro or Anti-DDoS Premium instance for scrubbing.'."\n" + ."\n" + .' - **1**: switches service traffic back to the associated cloud resource.'."\n" + ."\n" + .'- **Interval**: optional. The waiting time that is required before the service traffic is switched back. Unit: minutes. Data type: integer. Usage notes:'."\n" + ."\n" + .' - If the **State** parameter is set to **0**, you must set this parameter to \\*\\*-1\\*\\*. Otherwise, the call fails.'."\n" + ."\n" + .' - If the **State** parameter is set to **1**, you do not need to set this parameter.', 'type' => 'string', 'required' => true, 'example' => '[{"Value":"39.104.XX.XX","State":0,"Interval":-1}]', 'title' => ''], ], ], 'responses' => [ @@ -21287,1773 +19776,3159 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request, which is used to locate and troubleshoot issues.'."\n", - 'type' => 'string', - 'example' => '39499F01-19D9-4EA4-A0E9-C6014BA5CDBE', - ], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '7E3C301F-84BB-50E4-9DB9-2937B2429C1E', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"39499F01-19D9-4EA4-A0E9-C6014BA5CDBE\\"\\n}","type":"json"}]', - 'title' => 'DeletePort', - 'summary' => 'Deletes the specified port forwarding rule.', - 'description' => 'After you delete a port forwarding rule, the Anti-DDoS Pro or Anti-DDoS Premium instance no longer forwards service traffic on the Layer 4 port. Before you delete a specific port forwarding rule, make sure that the service traffic destined for the Layer 4 port is redirected to the origin server. This can prevent negative impacts on your services.'."\n" + 'title' => 'SwitchSchedulerRule', + 'summary' => 'Switches service traffic to an Anti-DDoS Pro or Anti-DDoS Premium instance for scrubbing or switches service traffic back to the associated cloud resources.', + 'description' => 'You can call the SwitchSchedulerRule operation to modify the resources to which service traffic is switched for a scheduling rule. For example, you can switch service traffic to an Anti-DDoS Pro or Anti-DDoS Premium instance for scrubbing or switch the service traffic back to the associated cloud resources.'."\n" ."\n" - .'> You can call this operation by using Terraform. For more information about Terraform, see [What is Terraform?](~~95820~~).'."\n", - ], - 'ModifyPort' => [ - 'summary' => 'Modifies a port forwarding rule.', - 'methods' => [ - 'post', - 'get', + .'Before you call this operation, you must have created a scheduling rule by calling the [CreateSchedulerRule](~~157479~~) operation.'."\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.', + 'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see [Common parameters](~~157269~~).'."\n" + ."\n" + .'For more information about sample requests, see the **"Examples"** section of this topic.', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:33:59.000Z', 'description' => 'Error codes changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SwitchSchedulerRule'], + ], ], - 'security' => [ + 'ramActions' => [ [ - 'AK' => [], + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:SwitchSchedulerRule', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], ], - 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'update', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '106253', - 'abilityTreeNodes' => [ - 'FEATUREddosN7DYCX', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"7E3C301F-84BB-50E4-9DB9-2937B2429C1E\\"\\n}","type":"json"}]', + ], + ], + 'endpoints' => [ + ['regionId' => 'ap-southeast-1', 'regionName' => 'Singapore', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'ddoscoo.ap-southeast-1.aliyuncs.com', 'endpoint' => 'ddoscoo.ap-southeast-1.aliyuncs.com', 'vpc' => 'ddoscoo-intl.vpc-proxy.aliyuncs.com'], + ['regionId' => 'cn-hangzhou', 'regionName' => 'China (Hangzhou)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'ddoscoo.cn-hangzhou.aliyuncs.com', 'endpoint' => 'ddoscoo.cn-hangzhou.aliyuncs.com', 'vpc' => 'ddoscoo.vpc-proxy.aliyuncs.com'], + ], + 'errorCodes' => [ + ['code' => 'CAS.NameRepeat', 'message' => 'Cert Name Repeat.', 'http_code' => 400, 'description' => 'Duplicate certificate name.'], + ['code' => 'CcRuleExist', 'message' => 'The rule already exists.', 'http_code' => 400, 'description' => 'The cc rule already exists.'], + ['code' => 'CDNDomainExist', 'message' => 'cdn domain is exist.', 'http_code' => 400, 'description' => 'The cdn domain name already exists.'], + ['code' => 'CheckGmSwitch', 'message' => 'Before enabling only, you need to enable the national secret certificate', 'http_code' => 400, 'description' => 'You must turn on the switch that enables SM certificate-based verification before you can turn on the switch that allows access only from SM certificate-based clients.'], + ['code' => 'CheckOnlySwitch', 'message' => 'Before disabling the certificate switch, you need to disable only', 'http_code' => 400, 'description' => 'You must turn off the switch that allows access only from SM certificate-based clients before you can turn off the switch that enables SM certificate-based verification.'], + ['code' => 'DomainDoesNotMatchCert', 'message' => 'Domain Does Not Match Cert.', 'http_code' => 400, 'description' => 'The certificate uploaded by the domain name does not match the certificate in the certificate center.'], + ['code' => 'DomainExist', 'message' => 'domain is already exist.', 'http_code' => 400, 'description' => 'Domain name already exists.'], + ['code' => 'DomainLimitExceeded', 'message' => 'reach domain limit in spec.', 'http_code' => 400, 'description' => 'Number of domain names exceeds limit'], + ['code' => 'DomainNotExist', 'message' => 'domain not exist.', 'http_code' => 400, 'description' => 'Domain name does not exist'], + ['code' => 'DomainNotExist', 'message' => 'Domain does not exist.', 'http_code' => 400, 'description' => 'Domain name does not exist'], + ['code' => 'DomainOwnerError', 'message' => 'domain belong to other user.', 'http_code' => 400, 'description' => 'Domain name belongs to another user'], + ['code' => 'DomainUnregister', 'message' => 'Domain Unregister. you must put on record for you domain.', 'http_code' => 400, 'description' => 'The domain name is not filed.'], + ['code' => 'ElasticBizBandwidthOutRange', 'message' => 'Elastic business bandwidth is out of range.', 'http_code' => 400, 'description' => 'Invalid Elastic Clean Bandwidth'], + ['code' => 'EngineParamError', 'message' => 'The same CC rules exist.', 'http_code' => 400, 'description' => 'The same CC rules exist.'], + ['code' => 'ErrDdosOverseasSpecLimit', 'message' => 'Error DDoS spec limit.', 'http_code' => 400, 'description' => 'Specifications exceeded'."\n"], + ['code' => 'ErrDdosSpecLimit', 'message' => 'Error ddos spec limit.', 'http_code' => 400, 'description' => 'Specifications exceeded'], + ['code' => 'ErrNoProcessAuthority', 'message' => 'Err No Process Authority.', 'http_code' => 400, 'description' => 'No operation permission.'], + ['code' => 'ErrorNoProcessAuthority', 'message' => 'Error No Process Authority.', 'http_code' => 400, 'description' => 'No resource operation permission.'], + ['code' => 'ErrorUnknown', 'message' => 'ERR UNKNOWN.', 'http_code' => 400, 'description' => 'Unknown error.'], + ['code' => 'ExceedElasticSpec', 'message' => 'reach elastic limit in spec', 'http_code' => 400, 'description' => ''], + ['code' => 'ExceedWebRuleLimit', 'message' => 'reach site limit in spec.', 'http_code' => 400, 'description' => 'The number of protected domain names exceeds the specification.'."\n"], + ['code' => 'FuncSpecNotEnhanced', 'message' => 'The Anti-DDoS Proxy instance is not the enhanced version.', 'http_code' => 400, 'description' => 'The Anti-DDoS Proxy instance is not the enhanced version.'], + ['code' => 'GaElasticBizBandwidthOutRange', 'message' => 'Elastic business bandwidth is out of range.', 'http_code' => 400, 'description' => 'Invalid Elastic Clean Bandwidth for MCA 2.0'], + ['code' => 'GlobalDomainNotExist', 'message' => 'domain not exist.', 'http_code' => 400, 'description' => 'The domain name does not exist.'], + ['code' => 'HTTP/2ListenerNotEnabled', 'message' => 'HTTP/2 listener is not enabled when HTTP/2.0 back-to-origin is enabled.', 'http_code' => 400, 'description' => 'HTTP/2.0 listener is not enabled when HTTP/2 back-to-origin is enabled.'], + ['code' => 'HTTP2ListenerNotEnabled', 'message' => 'HTTP2 listener is not enabled when HTTP2.0 back-to-origin is enabled.', 'http_code' => 400, 'description' => 'HTTP2 listener is not enabled when HTTP2.0 back-to-origin is enabled.'], + ['code' => 'InputParamsNotValid', 'message' => 'input params not valid.', 'http_code' => 400, 'description' => 'Incorrect input parameter'], + ['code' => 'InstanceNotExist', 'message' => 'Instance not exist.', 'http_code' => 400, 'description' => 'Instance does not exist'], + ['code' => 'InstanceNotExist', 'message' => 'no instance for process in db.', 'http_code' => 400, 'description' => 'Instance does not exist.'], + ['code' => 'InstanceNotExpire', 'message' => 'Intance not expire.', 'http_code' => 400, 'description' => 'The instance does not expire and cannot be released.'], + ['code' => 'IntegratedDomainNotExist', 'message' => 'integrated domain not exist.', 'http_code' => 400, 'description' => 'Domain name does not exist'], + ['code' => 'InternalError', 'message' => 'An error occurred.', 'http_code' => 400, 'description' => 'Internal Error'], + ['code' => 'InternalParamError', 'message' => 'out of range.', 'http_code' => 400, 'description' => 'Illegal parameter'], + ['code' => 'InvalidDomain', 'message' => 'invalid domain.', 'http_code' => 400, 'description' => 'Invalid Domain Name'], + ['code' => 'InvalidEmbeddedHeaders', 'message' => 'EmbeddedHeaders parameter is invalid.', 'http_code' => 400, 'description' => 'The EmbeddedHeaders parameter passed in is invalid.'], + ['code' => 'InvalidInstanceId', 'message' => 'Invalid Instance Id. instanceId does not exist.', 'http_code' => 400, 'description' => 'Invalid instance ID'], + ['code' => 'InvalidInternalElasticBandwidth', 'message' => 'params out of range.', 'http_code' => 400, 'description' => 'The international high-security on/off elastic business parameters are incorrect.'], + ['code' => 'InvalidIpAddress', 'message' => 'Failed to find the anti-DDoS IP address or origin IP address.', 'http_code' => 400, 'description' => 'Failed to find Anti-DDoS Pro IP address or origin IP address'."\n"], + ['code' => 'InvalidIPV4Network', 'message' => 'Invalid ipv4 IP or Network.', 'http_code' => 400, 'description' => 'illegal ipv4 network segment'], + ['code' => 'InvalidIpv4Param', 'message' => 'invalid ipv4 param.', 'http_code' => 400, 'description' => 'Invalid ipv4 parameter'], + ['code' => 'InvalidIPV6Network', 'message' => 'Invalid Ipv6 IP or Network.', 'http_code' => 400, 'description' => 'Illegal IPV6 CIDR block'], + ['code' => 'InvalidJsonParam', 'message' => 'decoding json failed.', 'http_code' => 400, 'description' => 'Invalid JSON parameter'], + ['code' => 'InvalidL4RuleFrontPort', 'message' => 'Invalid l4rule front port.', 'http_code' => 400, 'description' => 'Invalid Layer 4 forwarding port.'], + ['code' => 'InvalidLayer4AclMask', 'message' => 'Layer4 IP ACL mask set failed.', 'http_code' => 400, 'description' => 'The network segment format of the 4-layer black and white list is incorrect.'], + ['code' => 'InvalidMaxConcurrentStreams', 'message' => 'Invalid MaxConcurrentStreams value.', 'http_code' => 400, 'description' => 'The MaxConcurrentStreams parameter passed in is invalid.'], + ['code' => 'InvalidOverseasIPV4Network', 'message' => 'Invalid ipv4 IP or Network.', 'http_code' => 400, 'description' => 'illegal ipv4 network segment.'."\n"], + ['code' => 'InvalidOverseasIPV6Network', 'message' => 'Invalid IPV6 IP or Network.', 'http_code' => 400, 'description' => 'Illegal IPV6 CIDR block'."\n"], + ['code' => 'InvalidOverseasLayer4AclMask', 'message' => 'Layer4 IP ACL mask set failed.', 'http_code' => 400, 'description' => 'The network segment format of the 4-layer black and white list is incorrect.'."\n"], + ['code' => 'InvalidPageSize', 'message' => 'Invalid Page Size.', 'http_code' => 400, 'description' => 'Paging parameter exceeds limit.'], + ['code' => 'InvalidParameter.TagValue', 'message' => 'Invalid Parameter TagValue.', 'http_code' => 400, 'description' => 'Invalid tag value'], + ['code' => 'InvalidParams', 'message' => 'invalid params.', 'http_code' => 400, 'description' => 'Invalid parameter'], + ['code' => 'InvalidRealServer', 'message' => 'Invalid Real Server. invalid format. sourceIps can not be empty.', 'http_code' => 400, 'description' => 'invalid origin ip address'], + ['code' => 'InvalidSchedulerRule', 'message' => 'Invalid Scheduler Rule. Mainland China Acceleration rule does not exist.', 'http_code' => 400, 'description' => 'Failed to create traffic scheduler scheduling rule'], + ['code' => 'InvalidSchedulerRuleValueType', 'message' => 'Invalid Scheduler Rule Value Types.', 'http_code' => 400, 'description' => 'Invalid scheduler rule.'], + ['code' => 'InvalidSourceIp', 'message' => 'Invalid Source Ip.', 'http_code' => 400, 'description' => 'Invalid origin IP address.'], + ['code' => 'InvalidSwitch', 'message' => 'record is the last in default line, invalid to switch to inactive.', 'http_code' => 400, 'description' => 'Failed to switch scheduling rules.'], + ['code' => 'InvalidWebRule', 'message' => 'invalid Web rule.', 'http_code' => 400, 'description' => 'Invalid forwarding rule.'], + ['code' => 'Layer4AclMaskConflict', 'message' => 'Layer4 IP ACL mask conflict.', 'http_code' => 400, 'description' => 'Network segment conflict'], + ['code' => 'Layer4NetworkError', 'message' => 'Layer4 IP ACL mask set faile.', 'http_code' => 400, 'description' => 'Failed to set the black and white list of layer 4 network segments.'], + ['code' => 'Layer4PortRuleExist', 'message' => 'l4 rule port is exist.', 'http_code' => 400, 'description' => 'Create port rule already exists'], + ['code' => 'Layer4ProxyNotEnabled', 'message' => 'l4 proxy not enabled', 'http_code' => 400, 'description' => 'Application layer protection is not enabled'], + ['code' => 'Layer4ProxyPayloadRuleConflict', 'message' => 'l4 proxy payload rule conflict.', 'http_code' => 400, 'description' => 'Payload policy rule conflict'], + ['code' => 'Layer4ProxyPayloadRuleOverLimit', 'message' => 'l4 proxy payload rules reached limit.', 'http_code' => 400, 'description' => 'Payload policy rule overrun'], + ['code' => 'ModifyDomainMissParam', 'message' => 'domain http2https config without http proxy.', 'http_code' => 400, 'description' => 'Modify Domain Name Missing http2https Configuration'], + ['code' => 'NetworkCountExceedLimit', 'message' => 'Layer4 IP ACL mask count reached limit.', 'http_code' => 400, 'description' => 'The number of network segments exceeds the specification.'."\n"], + ['code' => 'NetworkRuleExist', 'message' => 'network rule port is exist.', 'http_code' => 400, 'description' => 'The rule already exists.'], + ['code' => 'NoSupportNetwork', 'message' => 'Ip not support for ACL masks.', 'http_code' => 400, 'description' => 'Unsupported network segment'], + ['code' => 'NoSupportOverseasNetwork', 'message' => 'Ip not support for ACL masks.', 'http_code' => 400, 'description' => 'The current IP address does not support black and white list network segment configuration.'], + ['code' => 'NotAllowDelCDNDomain', 'message' => 'domain can\'t delete while cdn/dcdn cname exist.', 'http_code' => 400, 'description' => 'CDN/DCDN linkage configuration exists. Please delete the linkage configuration before deleting the domain name.'], + ['code' => 'NotEffectLayer4Proxy', 'message' => 'l4 proxy not effect.', 'http_code' => 400, 'description' => 'Application layer protection does not take effect'], + ['code' => 'NotSupportLayer4AclMask', 'message' => 'Layer4 IP ACL mask not support.', 'http_code' => 400, 'description' => 'Black and white list of unsupported 4-layer network segments.'], + ['code' => 'NotSupportLayer4Proxy', 'message' => 'eip not support for l4 proxy.', 'http_code' => 400, 'description' => 'Application layer protection is not supported'], + ['code' => 'OldRuleDeprecated', 'message' => 'ERR OLD CC RULE DEPRECATED.', 'http_code' => 400, 'description' => 'The old cc rule has been deprecated.'], + ['code' => 'OverseasFuncSpecNotEnhanced', 'message' => 'The Anti-DDoS Proxy instance is not the enhanced version.', 'http_code' => 400, 'description' => 'The Anti-DDoS Proxy instance is not the enhanced version.'], + ['code' => 'OverseasLayer4AclMaskConflict', 'message' => 'Layer4 IP ACL mask conflict.', 'http_code' => 400, 'description' => 'Network segment conflict'], + ['code' => 'OverseasLayer4NetworkError', 'message' => 'Layer4 IP ACL mask set failed.', 'http_code' => 400, 'description' => 'Failed to set the black and white list of layer 4 network segments.'."\n"], + ['code' => 'OverseasNetworkCountExceedLimit', 'message' => 'Layer4 IP ACL mask count reached limit.', 'http_code' => 400, 'description' => 'The number of network segments exceeds the specification.'], + ['code' => 'OverseasNotSupportLayer4AclMask', 'message' => 'Layer4 IP ACL mask not support.', 'http_code' => 400, 'description' => 'Black and white list of unsupported 4-layer network segments.'."\n"], + ['code' => 'ParamError', 'message' => 'out of range.', 'http_code' => 400, 'description' => 'Illegal parameter'], + ['code' => 'ParamError', 'message' => 'param error.', 'http_code' => 400, 'description' => 'Parameter error'], + ['code' => 'ParamsNotValid', 'message' => 'input params not valid.', 'http_code' => 400, 'description' => 'Incorrect input parameter'], + ['code' => 'QueryDbFailed', 'message' => 'query db failed.', 'http_code' => 400, 'description' => 'Data does not exist.'], + ['code' => 'QueryResourceFailed', 'message' => 'failed to query current resource.', 'http_code' => 400, 'description' => 'The corresponding resource could not be found.'], + ['code' => 'ResourceNotValid', 'message' => 'resource not valid.', 'http_code' => 400, 'description' => 'Invalid resource'], + ['code' => 'ReuseCnameError', 'message' => 'ERR REUSE CNAME NOT BELONGTO TO YOU.', 'http_code' => 400, 'description' => 'Incorrect reuse of cname.'], + ['code' => 'SchedulerRuleError', 'message' => 'record priority conflict by different type.', 'http_code' => 400, 'description' => 'Scheduler different types of priority conflict.'], + ['code' => 'SchedulerRuleParamError', 'message' => 'Scheduler rule param error.', 'http_code' => 400, 'description' => 'Scheduler parameter error.'], + ['code' => 'SelbCallFailed', 'message' => 'selb central remote call failed.', 'http_code' => 400, 'description' => 'Failed to call Selb'], + ['code' => 'ServerError', 'message' => 'server error.', 'http_code' => 400, 'description' => 'Server-side exception'], + ['code' => 'SourceIpContainsOthersEcs', 'message' => 'Source ip contains others ecs.', 'http_code' => 400, 'description' => 'The origin IP address or domain name does not exist or the verification fails.'], + ['code' => 'SubmitCertToCertCenterFailed', 'message' => 'Submit Cert To Cert Center Failed.', 'http_code' => 400, 'description' => 'Failed to upload the certificate to the certificate center.'], + ['code' => 'UnknownError', 'message' => 'Unknown Error.', 'http_code' => 400, 'description' => 'Unknown error.'], + ['code' => 'UnkownError', 'message' => 'unkown error.', 'http_code' => 400, 'description' => 'Not knowing the error.'], + ['code' => 'UpStreamConfigConflict', 'message' => 'HTTP upstream and HTTP2.0 upstream conflict.', 'http_code' => 400, 'description' => 'HTTP upstream and HTTP2.0 upstream conflict.'], + ], + 'changeSet' => [ + [ + 'apis' => [ + ['description' => 'OpenAPI offline', 'api' => 'DescribeInstances'], + ['description' => 'OpenAPI offline', 'api' => 'DescribeInstances'], + ], + 'createdAt' => '2025-10-24T05:22:52.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'OpenAPI offline', 'api' => 'DescribeInstances'], + ['description' => 'OpenAPI offline', 'api' => 'DescribeInstances'], + ], + 'createdAt' => '2025-10-24T03:33:36.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'OpenAPI offline', 'api' => 'DescribeInstances'], + ['description' => 'OpenAPI offline', 'api' => 'DescribeInstances'], + ], + 'createdAt' => '2025-10-24T03:31:09.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'OpenAPI offline', 'api' => 'DescribeInstances'], + ['description' => 'OpenAPI offline', 'api' => 'DescribeInstances'], + ], + 'createdAt' => '2025-10-23T11:12:56.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'OpenAPI offline', 'api' => 'DescribeInstances'], + ['description' => 'OpenAPI offline', 'api' => 'DescribeInstances'], + ], + 'createdAt' => '2025-10-23T11:10:22.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'OpenAPI offline', 'api' => 'DescribeInstances'], + ], + 'createdAt' => '2025-10-23T11:06:58.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'OpenAPI offline', 'api' => 'DescribeInstances'], + ], + 'createdAt' => '2025-10-23T10:53:47.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'OpenAPI offline', 'api' => 'DescribeInstances'], + ], + 'createdAt' => '2025-10-23T10:53:41.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'OpenAPI offline', 'api' => 'DescribeInstances'], + ], + 'createdAt' => '2025-10-23T10:44:47.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'ConfigL7UsKeepalive'], + ['description' => 'Response parameters changed', 'api' => 'DescribeL7UsKeepalive'], + ['description' => 'Response parameters changed', 'api' => 'DescribeWebRules'], + ], + 'createdAt' => '2025-09-19T08:52:35.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'OpenAPI offline', 'api' => 'DescribeInstanceDetails'], + ['description' => 'OpenAPI offline', 'api' => 'DescribeWebCcProtectSwitch'], + ['description' => 'OpenAPI offline', 'api' => 'DescribeSchedulerRules'], + ], + 'createdAt' => '2025-09-04T06:34:49.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'OpenAPI offline', 'api' => 'CreatePort'], + ['description' => 'OpenAPI offline', 'api' => 'DescribePort'], + ['description' => 'OpenAPI offline', 'api' => 'DescribeNetworkRules'], + ['description' => 'OpenAPI offline', 'api' => 'CreateNetworkRules'], + ], + 'createdAt' => '2025-08-14T03:28:22.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'OpenAPI offline', 'api' => 'DescribeNetworkRules'], + ['description' => 'OpenAPI offline', 'api' => 'DescribePort'], + ['description' => 'OpenAPI offline', 'api' => 'DescribePort'], + ['description' => 'OpenAPI offline', 'api' => 'CreateNetworkRules'], + ['description' => 'OpenAPI offline', 'api' => 'CreatePort'], + ['description' => 'OpenAPI offline', 'api' => 'CreateNetworkRules'], + ['description' => 'OpenAPI offline', 'api' => 'CreatePort'], + ['description' => 'OpenAPI offline', 'api' => 'DescribeNetworkRules'], + ], + 'createdAt' => '2025-08-14T01:39:28.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'OpenAPI offline', 'api' => 'DescribeDDosAllEventList'], + ['description' => 'OpenAPI offline', 'api' => 'DescribeDDosAllEventList'], + ['description' => 'OpenAPI offline', 'api' => 'DescribeDDosAllEventList'], + ['description' => 'OpenAPI offline', 'api' => 'DescribeDDosEventMax'], + ['description' => 'OpenAPI offline', 'api' => 'DescribeAttackAnalysisMaxQps'], + ['description' => 'OpenAPI offline', 'api' => 'DescribeDDosAllEventList'], + ['description' => 'OpenAPI offline', 'api' => 'DescribeDDosEventMax'], + ['description' => 'OpenAPI offline', 'api' => 'DescribeAttackAnalysisMaxQps'], + ['description' => 'OpenAPI offline', 'api' => 'DescribeDDosAllEventList'], + ], + 'createdAt' => '2025-08-06T10:48:20.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'OpenAPI offline', 'api' => 'DescribeSystemLog'], + ], + 'createdAt' => '2025-07-01T09:48:51.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'OpenAPI offline', 'api' => 'DescribeDomainTopAttackList'], + ['description' => 'OpenAPI offline', 'api' => 'DescribeDomainTopAttackList'], + ], + 'createdAt' => '2025-06-18T03:05:18.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'OpenAPI offline', 'api' => 'DescribeSystemLog'], + ['description' => 'OpenAPI offline', 'api' => 'DescribeSystemLog'], + ['description' => 'OpenAPI offline', 'api' => 'DescribeSystemLog'], + ], + 'createdAt' => '2025-05-30T04:01:32.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'CreateWebRule'], + ], + 'createdAt' => '2025-03-17T06:07:23.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'DescribeDomainViewTopUrl'], + ], + 'createdAt' => '2025-03-17T02:34:34.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'DeleteAutoCcBlacklist'], + ['description' => 'Request parameters changed', 'api' => 'DescribeAutoCcBlacklist'], + ], + 'createdAt' => '2024-12-12T05:42:14.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'DescribeDomainStatusCodeCount'], + ['description' => 'Response parameters changed', 'api' => 'DescribeDomainStatusCodeList'], + ], + 'createdAt' => '2024-11-26T02:16:00.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'DescribeL7RsPolicy'], + ], + 'createdAt' => '2024-09-18T09:20:15.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'AssociateWebCert'], + ['description' => 'Request parameters changed', 'api' => 'DescribeDomainResource'], + ['description' => 'Request parameters changed', 'api' => 'DescribePort'], + ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'DescribeWebRules'], + ], + 'createdAt' => '2024-08-30T07:13:40.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreatePort'], + ['description' => 'Response parameters changed', 'api' => 'DescribeNetworkRules'], + ['description' => 'Request parameters changed', 'api' => 'ModifyPort'], + ], + 'createdAt' => '2024-08-29T06:00:15.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'DescribeWebCCRulesV2'], + ], + 'createdAt' => '2024-07-30T03:51:00.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'DescribeDDosEventArea'], + ['description' => 'Request parameters changed', 'api' => 'DescribeDDosEventIsp'], + ], + 'createdAt' => '2024-07-01T08:59:35.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'DescribeNetworkRegionBlock'], + ], + 'createdAt' => '2024-06-24T06:55:13.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'DescribeInstanceDetails'], + ], + 'createdAt' => '2024-06-06T11:19:55.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'AssociateWebCert'], + ], + 'createdAt' => '2024-05-29T02:26:42.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'ConfigL7RsPolicy'], + ['description' => 'Response parameters changed', 'api' => 'DescribeL7RsPolicy'], + ], + 'createdAt' => '2024-05-09T09:53:43.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'DescribeSlaEventList'], + ], + 'createdAt' => '2024-03-19T07:44:55.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'ConfigWebIpSet'], + ], + 'createdAt' => '2024-02-20T08:09:49.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'DescribeNetworkRules'], + ], + 'createdAt' => '2024-01-23T11:24:09.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'AssociateWebCert'], + ['description' => 'Response parameters changed', 'api' => 'DescribeCerts'], + ['description' => 'Response parameters changed', 'api' => 'DescribeWebRules'], + ], + 'createdAt' => '2023-07-18T07:31:08.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'DescribeDomainResource'], + ['description' => 'Response parameters changed', 'api' => 'DescribeInstances'], + ], + 'createdAt' => '2023-06-30T06:51:19.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateDomainResource'], + ['description' => 'Request parameters changed', 'api' => 'ModifyDomainResource'], + ], + 'createdAt' => '2023-05-26T07:23:03.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'DescribePortFlowList'], + ], + 'createdAt' => '2023-05-24T06:10:21.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'DescribeInstances'], + ['description' => 'Response parameters changed', 'api' => 'DescribeInstanceSpecs'], + ], + 'createdAt' => '2023-05-17T08:15:59.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'DescribePortFlowList'], + ], + 'createdAt' => '2023-04-18T10:16:18.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'DescribeInstanceSpecs'], + ], + 'createdAt' => '2023-04-04T05:59:17.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'DescribeInstanceSpecs'], + ], + 'createdAt' => '2022-11-24T09:32:59.000Z', + 'description' => '实例规格新增并发和新建连接数', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'DescribeBackSourceCidr'], + ], + 'createdAt' => '2022-11-02T07:07:21.000Z', + 'description' => '回源网段更新', + ], + [ + 'apis' => [ + ['description' => 'Error codes changed', 'api' => 'AddAutoCcBlacklist'], + ['description' => 'Error codes changed', 'api' => 'AddAutoCcWhitelist'], + ['description' => 'Error codes changed', 'api' => 'AssociateWebCert'], + ['description' => 'Error codes changed', 'api' => 'AttachSceneDefenseObject'], + ['description' => 'Error codes changed', 'api' => 'ConfigL7RsPolicy'], + ['description' => 'Error codes changed', 'api' => 'ConfigLayer4Remark'], + ['description' => 'Error codes changed', 'api' => 'ConfigLayer4RuleBakMode'], + ['description' => 'Error codes changed', 'api' => 'ConfigLayer4RulePolicy'], + ['description' => 'Error codes changed', 'api' => 'ConfigNetworkRegionBlock'], + ['description' => 'Error codes changed', 'api' => 'ConfigNetworkRules'], + ], + 'createdAt' => '2022-09-08T03:35:05.000Z', + 'description' => 'api战役', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'DescribeInstances'], + ], + 'createdAt' => '2022-07-13T08:52:55.000Z', + 'description' => '95计费发布', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed, Error codes changed', 'api' => 'DescribeInstanceSpecs'], + ], + 'createdAt' => '2022-07-13T07:30:48.000Z', + 'description' => '95计费功能发布', + ], + [ + 'apis' => [ + ['description' => 'Error codes changed', 'api' => 'DescribeWebAccessLogDispatchStatus'], + ['description' => 'Error codes changed', 'api' => 'DescribeWebAccessLogStatus'], + ], + 'createdAt' => '2022-06-09T04:20:30.000Z', + 'description' => 'rosetta api迁移', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'DescribeWebRules'], + ], + 'createdAt' => '2022-05-24T06:43:16.000Z', + 'description' => '根据cname和实例模糊查询', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed, Error codes changed', 'api' => 'DescribePortConnsList'], + ], + 'createdAt' => '2022-04-27T09:20:43.000Z', + 'description' => '删除返回值time字段', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed, Error codes changed', 'api' => 'DescribeDefenseCountStatistics'], + ], + 'createdAt' => '2021-12-28T04:36:14.000Z', + 'description' => '安全加速线路 资源包查询api发布', + ], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SwitchSchedulerRule'], + ['threshold' => '-1', 'countWindow' => 1, 'regionId' => '*'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDDosEventAttackType'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeOpEntities'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeSlsLogstoreInfo'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDomainAttackEvents'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeHealthCheckStatus'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DisableWebCCRule'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'EmptyAutoCcBlacklist'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateAsyncTask'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribePortMaxConns'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeletePort'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribePortAttackMaxFlow'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifySchedulerRule'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeNetworkRules'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'EnableWebCC'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyBlackholeStatus'], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteDomainResource'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateWebCCRule'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeAutoCcBlacklist'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ReleaseInstance'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeWebAccessLogDispatchStatus'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'EmptyAutoCcWhitelist'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteAutoCcBlacklist'], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDomainResource'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDDosEventSrcIp'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyWebCacheSwitch'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'AddAutoCcWhitelist'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeAutoCcWhitelist'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDomainViewSourceProvinces'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeWebAreaBlockConfigs'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribePortFlowList'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribePortViewSourceProvinces'], + ['threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeDomainQPSList'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyInstanceRemark'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyWebAccessMode'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeInstances'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateNetworkRules'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyElasticBandWidth'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeWebAccessMode'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeSchedulerRules'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeWebCacheConfigs'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyElasticBizQps'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteSceneDefensePolicy'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteAutoCcWhitelist'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeL7RsPolicy'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyFullLogTtl'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeSlsAuthStatus'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDomainOverview'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeElasticQps'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteWebPreciseAccessRule'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DisableWebCC'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyWebAreaBlock'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyWebPreciseAccessSwitch'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDomainViewSourceCountries'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ConfigNetworkRules'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteWebCCRule'], + ['threshold' => '20', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeInstanceStatus'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ConfigLayer4RuleBakMode'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeUnBlackholeCount'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeBlockStatus'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyWebCCRule'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeBackSourceCidr'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribePortViewSourceCountries'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyCnameReuse'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeInstanceIds'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeUdpReflect'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDomainViewTopCostTime'], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteWebRule'], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyDomainResource'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeTagKeys'], + ['threshold' => '10', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ModifyHeaders'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyWebIpSetSwitch'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribePortConnsList'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeWebInstanceRelations'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyPort'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ConfigUdpReflect'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ConfigWebCCTemplate'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyNetworkRuleAttribute'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyOcspStatus'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeWebPreciseAccessRule'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeElasticBandwidthSpec'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeStsGrantStatus'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyWebPreciseAccessRule'], + ['threshold' => '200', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ModifyWebRule'], + ['threshold' => '15', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ConfigWebIpSet'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeTagResources'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DisableWebAccessLogConfig'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribePort'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteNetworkRule'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'EnableSceneDefensePolicy'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeCnameReuses'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDomainViewTopUrl'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeSystemLog'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeCerts'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDDosEventIsp'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ConfigLayer4Remark'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateTagResources'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeSceneDefenseObjects'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeElasticQpsRecord'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeLogStoreExistStatus'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifySceneDefensePolicy'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'EnableWebCCRule'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyHealthCheckConfig'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'EnableWebAccessLogConfig'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDomainTopAttackList'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribePortConnsCount'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeHealthCheckList'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeSlsOpenStatus'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteWebCacheCustomRule'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeSlaEventList'], + ['threshold' => '10', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeInstanceSpecs'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'AddAutoCcBlacklist'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDefenseRecords'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeWebAccessLogEmptyCount'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeSceneDefensePolicies'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DisableSceneDefensePolicy'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeWebCCRules'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyQpsMode'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeUnBlockCount'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDDosEventMax'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeBlackholeStatus'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeLayer4RulePolicy'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeWebCcProtectSwitch'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyWebCacheMode'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeAttackAnalysisMaxQps'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyWebCacheCustomRule'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyWebAIProtectMode'], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateWebRule'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDomainStatusCodeCount'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeWebCustomPorts'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateDomainResource'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeInstanceDetails'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreatePort'], + ['threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ModifyHttp2Enable'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ConfigL7RsPolicy'], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDomains'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDDosAllEventList'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeNetworkRegionBlock'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeAutoCcListCount'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ConfigLayer4RulePolicy'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteTagResources'], + ['threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeDomainStatusCodeList'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteSchedulerRule'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDefenseCountStatistics'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyWebAIProtectSwitch'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeAsyncTasks'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ConfigNetworkRegionBlock'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeWebAccessLogStatus'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribePortViewSourceIsps'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DetachSceneDefenseObject'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'AttachSceneDefenseObject'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyBlockStatus'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateSceneDefensePolicy'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDDosEventArea'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyTlsConfig'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDDoSEvents'], + ['threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'AssociateWebCert'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribePortAutoCcStatus'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyWebAreaBlockSwitch'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyPortAutoCcStatus'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeNetworkRuleAttributes'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateSchedulerRule'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'EmptySlsLogstore'], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeWebRules'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteAsyncTask'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeInstanceStatistics'], + ], + ], + 'ram' => [ + 'productCode' => 'DdosCoo', + 'productName' => 'Anti-DDoS', + 'ramCodes' => ['yundun-high', 'yundun-ddoscoo'], + 'ramLevel' => 'OPERATION', + 'ramConditions' => [], + 'ramActions' => [ + [ + 'apiName' => 'DescribeInstanceExt', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeInstanceExt', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], - 'parameters' => [ - [ - 'name' => 'FrontendPort', - 'in' => 'query', - 'schema' => [ - 'description' => 'The forwarding port. Valid values: **0** to **65535**.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '55', + [ + 'apiName' => 'DescribeDomainBps', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeDomainBps', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'FrontendProtocol', - 'in' => 'query', - 'schema' => [ - 'description' => 'The type of the forwarding protocol. Valid values:'."\n" - ."\n" - .'* **tcp**'."\n" - .'* **udp**'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'tcp', - 'enum' => [ - 'tcp', - 'udp', - ], + ], + [ + 'apiName' => 'CreatePort', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:CreatePort', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'InstanceId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the Anti-DDoS Pro or Anti-DDoS Premium instance to which the port forwarding rule belongs.'."\n" - ."\n" - .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'ddoscoo-cn-st21zbyq****', + ], + [ + 'apiName' => 'DescribePortViewSourceProvinces', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribePortViewSourceProvinces', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'BackendPort', - 'in' => 'query', - 'schema' => [ - 'description' => 'The port of the origin server. Valid values: **0** to **65535**.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '55', + ], + [ + 'apiName' => 'DescribePortAttackMaxFlow', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribePortAttackMaxFlow', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'RealServers', - 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => 'An array that consists of the IP addresses of origin servers.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The IP address of the origin server.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '1.XX.XX.1', - ], - 'required' => true, - 'maxItems' => 20, + ], + [ + 'apiName' => 'DescribeCerts', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeCerts', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'ProxyEnable', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, + ], + [ + 'apiName' => 'CreateTagResources', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:CreateTagResources', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', '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' => '39499F01-19D9-4EA4-A0E9-C6014BA5CDBE', - ], - ], + [ + 'apiName' => 'DescribeAutoCcListCount', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeAutoCcListCount', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DeleteDomainResource', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DeleteDomainResource', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'EmptySlsLogstore', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:EmptySlsLogstore', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeDomainViewSourceProvinces', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeDomainViewSourceProvinces', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ConfigLayer4RulePolicy', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:ConfigLayer4RulePolicy', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ModifyPort', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:ModifyPort', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeAutoCcWhitelist', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeAutoCcWhitelist', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ModifyBlockStatus', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:ModifyBlockStatus', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'AttachSceneDefenseObject', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:AttachSceneDefenseObject', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribePortConnsList', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribePortConnsList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ModifyWebRule', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:ModifyWebRule', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DeleteAsyncTask', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DeleteAsyncTask', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeStsGrantStatus', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeStsGrantStatus', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ConfigDomainSecurityProfile', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:ConfigDomainSecurityProfile', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeElasticQps', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeElasticQps', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ModifyWebPreciseAccessSwitch', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:ModifyWebPreciseAccessSwitch', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeDomainTopFingerprint', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeDomainTopFingerprint', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeDDosAllEventList', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeDDosAllEventList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'EnableWebAccessLogConfig', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:EnableWebAccessLogConfig', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ReleaseInstance', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:ReleaseInstance', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DeleteNetworkRule', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DeleteNetworkRule', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeOpEntities', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeOpEntities', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'EnableSceneDefensePolicy', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:EnableSceneDefensePolicy', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ModifyNetworkRuleAttribute', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:ModifyNetworkRuleAttribute', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeDomainTopHttpMethod', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeDomainTopHttpMethod', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeDomainOverview', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeDomainOverview', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeL7GlobalRule', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeL7GlobalRule', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ConfigNetworkRules', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:ConfigNetworkRules', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeDomainH2Fingerprint', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeDomainTopFingerprint', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeTagKeys', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeTagKeys', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeCdnLinkageRules', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeCdnLinkageRules', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DeleteAutoCcBlacklist', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DeleteAutoCcBlacklist', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeDomainTopReferer', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeDomainTopReferer', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeSlsAuthStatus', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeSlsAuthStatus', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeUnBlockCount', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeUnBlockCount', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ModifyWebCCGlobalSwitch', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:ModifyWebCCGlobalSwitch', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ModifyHttp2Enable', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:ModifyHttp2Enable', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeInstanceDetails', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeInstanceDetails', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeSlsLogstoreInfo', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeSlsLogstoreInfo', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ConfigWebCCTemplate', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:ConfigWebCCTemplate', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DeleteWebRule', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DeleteWebRule', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeHeaders', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeHeaders', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribePortConnsCount', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribePortConnsCount', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'CreateAsyncTask', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:CreateAsyncTask', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DeleteWebCCRuleV2', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DeleteWebCCRuleV2', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeBlockStatus', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeBlockStatus', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeSlsOpenStatus', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeSlsOpenStatus', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ModifyDomainResource', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:ModifyDomainResource', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ModifyInstance', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:ModifyInstance', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'CreateDomainResource', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:CreateDomainResource', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeDomainStatusCodeList', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeDomainStatusCodeList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ConfigLayer4RuleBakMode', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:ConfigLayer4RuleBakMode', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DeleteAutoCcWhitelist', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DeleteAutoCcWhitelist', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DeleteWebPreciseAccessRule', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DeleteWebPreciseAccessRule', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribePort', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribePort', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeDestinationPortEvent', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeDestinationPortEvent', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeInstances', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeInstances', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ModifyOcspStatus', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:ModifyOcspStatus', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeInstanceIds', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeInstanceIds', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeBackSourceCidr', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeBackSourceCidr', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ModifyWebAIProtectSwitch', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:ModifyWebAIProtectSwitch', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'AddAutoCcBlacklist', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:AddAutoCcBlacklist', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeDomainQPSList', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeDomainQPSList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DeleteSchedulerRule', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DeleteSchedulerRule', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribePortViewSourceIsps', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribePortViewSourceIsps', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeSceneDefenseObjects', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeSceneDefenseObjects', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeDefenseCountStatistics', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeDefenseCountStatistics', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'CreateWebCCRule', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:CreateWebCCRule', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeDomainViewTopCostTime', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeDomainViewTopCostTime', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ModifyWebAreaBlockSwitch', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:ModifyWebAreaBlockSwitch', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeDomainStatusCodeCount', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeDomainStatusCodeCount', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ModifySceneDefensePolicy', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:ModifySceneDefensePolicy', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ModifyElasticBizQps', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:ModifyElasticBizQps', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeWebCCRules', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeWebCCRules', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeAttackAnalysisMaxQps', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeAttackAnalysisMaxQps', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribePortViewSourceCountries', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribePortViewSourceCountries', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeDDosEventSrcIp', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeDDosEventSrcIp', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeUnBlackholeCount', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeUnBlackholeCount', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeNetworkRules', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeNetworkRules', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeLogStoreExistStatus', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeLogStoreExistStatus', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ModifyFullLogTtl', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:ModifyFullLogTtl', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ModifyWebAccessMode', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:ModifyWebAccessMode', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeDDosEventArea', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeDDosEventArea', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"39499F01-19D9-4EA4-A0E9-C6014BA5CDBE\\"\\n}","type":"json"}]', - 'title' => 'ModifyPort', - 'description' => 'You can call the ModifyPort operation by using Terraform. For more information about Terraform, see [What is Terraform?](~~95820~~).'."\n", - ], - 'DescribePort' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + [ + 'apiName' => 'ModifyWebCacheSwitch', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:ModifyWebCacheSwitch', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'ConfigNetworkRegionBlock', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:ConfigNetworkRegionBlock', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ + [ + 'apiName' => 'DescribeWebCacheConfigs', + 'description' => '', 'operationType' => 'get', - 'abilityTreeCode' => '106164', - 'abilityTreeNodes' => [ - 'FEATUREddosN7DYCX', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeWebCacheConfigs', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], - 'parameters' => [ - [ - 'name' => 'InstanceId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the instance to query.'."\n" - ."\n" - .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'ddoscoo-cn-7e225i41****', + [ + 'apiName' => 'ModifyWebAIProtectMode', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:ModifyWebAIProtectMode', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'FrontendProtocol', - 'in' => 'query', - 'schema' => [ - 'description' => 'The type of the forwarding protocol to query. Valid values:'."\n" - ."\n" - .'* **tcp**'."\n" - .'* **udp**'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'tcp', - 'enum' => [ - 'tcp', - 'udp', - ], + ], + [ + 'apiName' => 'ModifyPortAutoCcStatus', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:ModifyPortAutoCcStatus', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'FrontendPort', - 'in' => 'query', - 'schema' => [ - 'description' => 'The forwarding port to query. Valid values: **0** to **65535**.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '55', + ], + [ + 'apiName' => 'DescribeWebAccessLogStatus', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeWebAccessLogStatus', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'PageNumber', - 'in' => 'query', - 'schema' => [ - 'description' => 'The page number. For example, if you want to obtain results on the first page, set the value to **1**.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', + ], + [ + 'apiName' => 'ModifyWebAreaBlock', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:ModifyWebAreaBlock', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'PageSize', - 'in' => 'query', - 'schema' => [ - 'description' => 'The number of entries per page.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '10', + ], + [ + 'apiName' => 'ConfigUdpReflect', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:ConfigUdpReflect', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'TotalCount' => [ - 'description' => 'The number of port forwarding rules returned.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'RequestId' => [ - 'description' => 'The ID of the request, which is used to locate and troubleshoot issues.'."\n", - 'type' => 'string', - 'example' => '39499F01-19D9-4EA4-A0E9-C6014BA5CDBE', - ], - 'NetworkRules' => [ - 'description' => 'An array that consists of port forwarding rules.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'FrontendPort' => [ - 'description' => 'The forwarding port.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '55', - ], - 'IsAutoCreate' => [ - 'description' => 'Indicates whether the port forwarding rule is automatically created by the instance. Valid values:'."\n" - ."\n" - .'* **true**: yes'."\n" - .'* **false**: no'."\n", - 'type' => 'boolean', - 'example' => 'false', - ], - 'InstanceId' => [ - 'description' => 'The ID of the instance to which the port forwarding rule is applied.'."\n", - 'type' => 'string', - 'example' => 'ddoscoo-cn-7e225i41****', - ], - 'FrontendProtocol' => [ - 'description' => 'The type of the protocol. Valid values:'."\n" - ."\n" - .'* **tcp**'."\n" - .'* **udp**'."\n", - 'type' => 'string', - 'example' => 'tcp', - ], - 'BackendPort' => [ - 'description' => 'The port of the origin server.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '55', - ], - 'RealServers' => [ - 'description' => 'An array that consists of IP addresses of origin servers.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The IP address of the origin server.'."\n", - 'type' => 'string', - 'example' => '1.XX.XX.1', - ], - ], - ], - ], - ], - ], + [ + 'apiName' => 'DescribeWebAccessLogDispatchStatus', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeWebAccessLogDispatchStatus', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 1,\\n \\"RequestId\\": \\"39499F01-19D9-4EA4-A0E9-C6014BA5CDBE\\",\\n \\"NetworkRules\\": [\\n {\\n \\"FrontendPort\\": 55,\\n \\"IsAutoCreate\\": false,\\n \\"InstanceId\\": \\"ddoscoo-cn-7e225i41****\\",\\n \\"FrontendProtocol\\": \\"tcp\\",\\n \\"BackendPort\\": 55,\\n \\"RealServers\\": [\\n \\"1.XX.XX.1\\"\\n ]\\n }\\n ]\\n}","type":"json"}]', - 'title' => 'DescribePort', - 'summary' => 'Queries the port forwarding rules that are created for an Anti-DDoS Pro or Anti-DDoS Premium instance.', - 'description' => 'You can call this operation by using Terraform. For more information about Terraform, see [What is Terraform?](~~95820~~).'."\n", - ], - 'CreateDomainResource' => [ - 'summary' => 'Creates a forwarding rule for a website.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'DescribeDDosEventIsp', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeDDosEventIsp', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'create', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '106066', - 'abilityTreeNodes' => [ - 'FEATUREddos64TBV6', + [ + 'apiName' => 'DescribeL7RsPolicy', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeL7RsPolicy', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], - 'parameters' => [ - [ - 'name' => 'Domain', - 'in' => 'query', - 'schema' => [ - 'description' => 'The domain name of the website that you want to add to the Anti-DDoS Pro or Anti-DDoS Premium instance.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'www.example.com', + [ + 'apiName' => 'DescribeDomainCcProtectSwitch', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeDomainCcProtectSwitch', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'RsType', - 'in' => 'query', - 'schema' => [ - 'description' => 'The address type of the origin server. Valid values:'."\n" - ."\n" - .'* **0**: IP address.'."\n" - ."\n" - .'* **1**: domain name.'."\n" - ."\n" - .' This parameter is suitable for scenarios in which another proxy service, such as Web Application Firewall (WAF), is deployed between the origin server and Anti-DDoS Proxy. The address is the redirection address of the proxy service, such as the CNAME of WAF.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '0', - 'enum' => [ - '0', - '1', - ], + ], + [ + 'apiName' => 'DescribeUdpReflect', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeUdpReflect', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'HttpsExt', - 'in' => 'query', - 'schema' => [ - 'description' => 'The advanced HTTPS settings. This parameter takes effect only when the value of the **ProxyType** parameter includes **https**. The value is a string that consists of a JSON struct. The JSON struct contains the following fields:'."\n" - ."\n" - .'* **Http2https**: specifies whether to turn on Enforce HTTPS Routing. This field is optional and must be an integer. Valid values: **0** and **1**. The value 0 indicates that Enforce HTTPS Routing is turned off. The value 1 indicates that Enforce HTTPS Routing is turned on. The default value is 0.'."\n" - ."\n" - .' If your website supports both HTTP and HTTPS, this feature meets your business requirements. If you enable this feature, all HTTP requests to access the website are redirected to HTTPS requests on the standard port 443.'."\n" - ."\n" - .'* **Https2http**: specifies whether to turn on Enable HTTP. This field is optional and must be an integer. Valid values: **0** and **1**. The value 0 indicates that Enable HTTP is turned off. The value 1 indicates that Enable HTTP is turned on. The default value is 0.'."\n" - ."\n" - .' If your website does not support HTTPS, this feature meets your business requirements If this feature is enabled, all HTTPS requests are redirected to HTTP requests and forwarded to origin servers. This feature can redirect WebSockets requests to WebSocket requests. Requests are redirected over the standard port 80.'."\n" - ."\n" - .'* **Http2**: specifies whether to turn on Enable HTTP/2. This field is optional. Data type: integer. Valid values: **0** and **1**. The value 0 indicates that Enable HTTP/2 is turned off. The value 1 indicates that Enable HTTP/2 is turned on. The default value is 0.'."\n" - ."\n" - .' After you turn on the switch, HTTP/2 is used.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '{"Http2":1,"Http2https":1,"Https2http":1}', + ], + [ + 'apiName' => 'DisableWebCCRule', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DisableWebCCRule', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'InstanceIds', - 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => 'An array consisting of the IDs of instances that you want to associate.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The ID of instance that you want to associate. If you do not specify this parameter, only the domain name of the website is added but no instances are associated with the website.'."\n" - ."\n" - .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'ddoscoo-cn-mp91j1ao****', - ], - 'required' => true, - 'maxItems' => 100, + ], + [ + 'apiName' => 'ModifyWebCacheCustomRule', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:ModifyWebCacheCustomRule', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'RealServers', - 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => 'An array that consists of the addresses of origin servers.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The address of the origin server.'."\n" - ."\n" - .'If you set the **RsType** parameter to **0**, set the value to the IP address of the origin server. If you set the **RsType** parameter to **1**, set the value to the domain name of the origin server. For more information, see the description of the **RsType** parameter.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '1.XX.XX.1', - ], - 'required' => true, - 'maxItems' => 100, + ], + [ + 'apiName' => 'DescribeInstanceSpecs', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeInstanceSpecs', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'ProxyTypes', - 'in' => 'query', - 'style' => 'flat', - 'schema' => [ - 'description' => 'The details about the protocol type and port number.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'ProxyPorts' => [ - 'description' => 'The port numbers.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The port number.'."\n" - ."\n" - .'> You must specify a port within the port range supported by the Anti-DDoS Proxy instance. For more information, see [Custom non-standard ports](~~127433~~).'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '80', - ], - 'required' => true, - 'maxItems' => 10, - ], - 'ProxyType' => [ - 'description' => 'The type of the protocol. Valid values:'."\n" - ."\n" - .'* **http**'."\n" - .'* **https**'."\n" - .'* **websocket**'."\n" - .'* **websockets**'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'http', - 'enum' => [ - 'http', - 'https', - 'websocket', - 'websockets', - ], - ], - ], - 'required' => false, - 'description' => '', - ], - 'required' => true, + ], + [ + 'apiName' => 'DescribeL7UsKeepalive', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeL7RsKeepalive', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'description' => 'The data body that is returned for the request.'."\n", - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '39499F01-19D9-4EA4-A0E9-C6014BA5CDBE', - ], - ], + [ + 'apiName' => 'DescribeAutoCcBlacklist', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeAutoCcBlacklist', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"39499F01-19D9-4EA4-A0E9-C6014BA5CDBE\\"\\n}","type":"json"}]', - 'title' => 'CreateDomainResource', - ], - 'DeleteDomainResource' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + [ + 'apiName' => 'CreateSceneDefensePolicy', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:CreateSceneDefensePolicy', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'DeleteWebCCRule', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DeleteWebCCRule', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'list', - 'abilityTreeCode' => '106081', - 'abilityTreeNodes' => [ - 'FEATUREddos64TBV6', + [ + 'apiName' => 'ConfigLayer4Remark', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:ConfigLayer4Remark', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], - 'parameters' => [ - [ - 'name' => 'Domain', - 'in' => 'query', - 'schema' => [ - 'description' => 'The domain name for which the forwarding rule is configured.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'www.example.com', + [ + 'apiName' => 'DisableSceneDefensePolicy', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DisableSceneDefensePolicy', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '39499F01-19D9-4EA4-A0E9-C6014BA5CDBE', - ], - ], + [ + 'apiName' => 'DisableWebCC', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DisableWebCC', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"39499F01-19D9-4EA4-A0E9-C6014BA5CDBE\\"\\n}","type":"json"}]', - 'summary' => 'Deletes a specified forwarding rule of a website.', - ], - 'DescribeDomainResource' => [ - 'methods' => [ - 'post', - 'get', + [ + 'apiName' => 'DescribeSystemLog', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeSystemLog', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'schemes' => [ - 'http', - 'https', + [ + 'apiName' => 'DeleteTagResources', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DeleteTagResources', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'DescribeDomainResource', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeDomainResource', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], - 'operationType' => 'read', - 'systemTags' => [ + [ + 'apiName' => 'DescribeElasticQpsRecord', + 'description' => '', 'operationType' => 'list', - 'abilityTreeCode' => '106130', - 'abilityTreeNodes' => [ - 'FEATUREddos64TBV6', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeElasticQpsRecord', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], - 'autoTest' => true, ], - 'parameters' => [ - [ - 'name' => 'Domain', - 'in' => 'query', - 'schema' => [ - 'description' => 'The domain name of the website that you want to query.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'www.example.com', + [ + 'apiName' => 'DescribeDomains', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeDomains', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'QueryDomainPattern', - 'in' => 'query', - 'schema' => [ - 'description' => 'The match mode. Valid values:'."\n" - ."\n" - .'* **fuzzy**: fuzzy match. This is the default value.'."\n" - .'* **exact**: exact match.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'fuzzy', - 'enum' => [ - 'fuzzy', - 'exact', - ], + ], + [ + 'apiName' => 'ModifyWebPreciseAccessRule', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:ModifyWebPreciseAccessRule', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'PageNumber', - 'in' => 'query', - 'schema' => [ - 'description' => 'The page number. Default value: **1**.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - 'default' => '1', + ], + [ + 'apiName' => 'ModifyWebCacheMode', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:ModifyWebCacheMode', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'PageSize', - 'in' => 'query', - 'schema' => [ - 'description' => 'The number of entries per page.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '10', - 'default' => '10', + ], + [ + 'apiName' => 'DescribePortAutoCcStatus', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribePortAutoCcStatus', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'InstanceIds', - 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => 'An array that consists of the IDs of instances to query.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The ID of the instance to query.'."\n" - ."\n" - .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'ddoscoo-cn-mp91j1ao****', - ], - 'required' => false, - 'maxItems' => 10, + ], + [ + 'apiName' => 'DeletePort', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DeletePort', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'TotalCount' => [ - 'description' => 'The total number of forwarding rules.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '39499F01-19D9-4EA4-A0E9-C6014BA5CDBE', - ], - 'WebRules' => [ - 'description' => 'The configurations of the forwarding rule.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Domain' => [ - 'description' => 'The domain name of the website.'."\n", - 'type' => 'string', - 'example' => 'www.example.com', - ], - 'Http2HttpsEnable' => [ - 'description' => 'Indicates whether Enable HTTPS Redirection is turned on. Valid values:'."\n" - ."\n" - .'* **true**'."\n" - .'* **false**'."\n", - 'type' => 'boolean', - 'example' => 'false', - ], - 'SslProtocols' => [ - 'description' => 'The version of the TLS protocol. Valid values:'."\n" - ."\n" - .'* **tls1.0**: TLS 1.0 or later'."\n" - .'* **tls1.1**: TLS 1.1 or later'."\n" - .'* **tls1.2**: TLS 1.2 or later'."\n", - 'type' => 'string', - 'example' => 'tls1.0', - ], - 'PunishReason' => [ - 'description' => 'The reason why the domain name is invalid. Valid values:'."\n" - ."\n" - .'* **1**: No Content Provider (ICP) filing is completed for the domain name.'."\n" - .'* **2**: The business for which you registered the domain name does not meet regulatory requirements.'."\n" - ."\n" - .'If the two reasons are both involved, the value **2** is returned.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'CcTemplate' => [ - 'description' => 'The mode of Frequency Control. Valid values:'."\n" - ."\n" - .'* **default**: the Normal mode'."\n" - .'* **gf_under_attack**: the Emergency mode'."\n" - .'* **gf_sos_verify**: the Strict mode'."\n" - .'* **gf_sos_verify**: the Super Strict mode'."\n", - 'type' => 'string', - 'example' => 'default', - ], - 'HttpsExt' => [ - 'description' => 'The advanced HTTPS settings. This parameter takes effect only when the value of the **ProxyType** parameter includes **https**. The value is a string that consists of a JSON struct. The JSON struct contains the following fields:'."\n" - ."\n" - .'* **Http2https**: indicates whether Enable HTTPS Redirection is turned on. Data type: integer. Valid values: **0** and **1**. The value 0 indicates that Enable HTTPS Redirection is turned on. The value 1 indicates that Enable HTTPS Redirection is turned off.'."\n" - .'* **Https2http**: indicates whether Enable HTTP Redirection of Back-to-origin Requests is turned on. Data type: integer. Valid values: **0** and **1**. The value 0 indicates that the feature is turned on. The value 1 indicates that the feature is turned off.'."\n" - .'* **Http2**: indicates whether Enable HTTP/2 is turned on. Data type: integer. Valid values: **0** and **1**. The value 0 indicates that Enable HTTP/2 is turned off. The value 1 indicates that Enable HTTP/2 is turned on.'."\n", - 'type' => 'string', - 'example' => '{"Https2http":0,"Http2":0,"Http2https":0}', - ], - 'CcEnabled' => [ - 'description' => 'Indicates whether Frequency Control is enabled. Valid values:'."\n" - ."\n" - .'* **true**'."\n" - .'* **false**'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'SslCiphers' => [ - 'description' => 'The type of the cipher suite. Valid values:'."\n" - ."\n" - .'* **default**: custom cipher suite'."\n" - .'* **all**: all cipher suites'."\n" - .'* **strong**: strong cipher suites'."\n", - 'type' => 'string', - 'example' => 'default', - ], - 'CcRuleEnabled' => [ - 'description' => 'Indicates whether the Custom Rules switch of Frequency Control is turned on. Valid values:'."\n" - ."\n" - .'* **true**'."\n" - .'* **false**'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'Ssl13Enabled' => [ - 'description' => 'Indicates whether TLS 1.3 is supported. Valid values:'."\n" - ."\n" - .'* **true**'."\n" - .'* **false**'."\n", - 'type' => 'boolean', - 'example' => 'false', - ], - 'RsType' => [ - 'description' => 'The address type of the origin server. Valid values:'."\n" - ."\n" - .'* **0**: IP address'."\n" - .'* **1**: domain name'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'PunishStatus' => [ - 'description' => 'Indicates whether the domain name is invalid. Valid values:'."\n" - ."\n" - .'* **true**: The domain name is invalid. You can view the specific reasons from the **PunishReason** parameter.'."\n" - .'* **false**: The domain name is valid.'."\n", - 'type' => 'boolean', - 'example' => 'false', - ], - 'ProxyEnabled' => [ - 'description' => 'Indicates whether the instance forwards the traffic that is destined for the website. Valid values:'."\n" - ."\n" - .'* **true**'."\n" - .'* **false**'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'CertName' => [ - 'description' => 'The name of the SSL certificate used by the domain name.'."\n", - 'type' => 'string', - 'example' => '49944XX.pem', - ], - 'PolicyMode' => [ - 'description' => 'The scheduling algorithm for back-to-origin traffic. Valid values:'."\n" - ."\n" - .'* **ip_hash**: the IP hash algorithm. This algorithm is used to redirect the requests from the same IP address to the same origin server.'."\n" - .'* **rr**: the round-robin algorithm. This algorithm is used to redirect requests to origin servers in turn.'."\n" - .'* **least_time**: the least response time algorithm. This algorithm is used to minimize the latency when requests are forwarded from the instance to origin servers based on the intelligent DNS resolution feature.'."\n", - 'type' => 'string', - 'example' => 'ip_hash', - ], - 'Cname' => [ - 'description' => 'The CNAME provided by the instance to which the domain name is added.'."\n", - 'type' => 'string', - 'example' => '0ekb69x3j9wvXXXX.aliyunddosXXXX.com', - ], - 'OcspEnabled' => [ - 'description' => 'Indicates whether the Online Certificate Status Protocol (OCSP) feature is turned on. Valid values:'."\n" - ."\n" - .'* **true**'."\n" - .'* **false**'."\n", - 'type' => 'boolean', - 'example' => 'false', - ], - 'Http2Enable' => [ - 'description' => 'Indicates whether Enable HTTP/2 is turned on. Valid values:'."\n" - ."\n" - .'* **true**'."\n" - .'* **false**'."\n", - 'type' => 'boolean', - 'example' => 'false', - ], - 'Https2HttpEnable' => [ - 'description' => 'Indicates whether Enable HTTP Redirection of Back-to-origin Requests is turned on. Valid values:'."\n" - ."\n" - .'* **true**'."\n" - .'* **false**'."\n", - 'type' => 'boolean', - 'example' => 'false', - ], - 'ProxyTypes' => [ - 'description' => 'The details about the protocol type and port number.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'ProxyType' => [ - 'description' => 'The type of the protocol. Valid values:'."\n" - ."\n" - .'* **http**'."\n" - .'* **https**'."\n" - .'* **websocket**'."\n" - .'* **websockets**'."\n", - 'type' => 'string', - 'example' => 'http', - ], - 'ProxyPorts' => [ - 'description' => 'The port numbers.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The port number.'."\n", - 'type' => 'string', - 'example' => '80', - ], - ], - ], - ], - ], - 'InstanceIds' => [ - 'description' => 'The IDs of the instances to which the domain name is added.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The ID of the instance to which the domain name is added.'."\n", - 'type' => 'string', - 'example' => 'ddoscoo-cn-st21zbyq****', - ], - ], - 'CustomCiphers' => [ - 'description' => 'The custom cipher suites.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The custom cipher suite.'."\n", - 'type' => 'string', - 'example' => 'ECDHE-RSA-AES256-SHA384', - ], - ], - 'WhiteList' => [ - 'description' => 'The IP addresses that are included in the whitelist of the domain name.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The IP address that is included in the whitelist of the domain name.'."\n" - ."\n" - .'> This parameter is returned only when the IP address whitelist is configured for the domain name. You can call the [ConfigWebIpSet](~~157469~~) operation to configure the IP address whitelist and the IP address blacklist for the domain name.'."\n", - 'type' => 'string', - 'example' => '3.XX.XX.3', - ], - ], - 'BlackList' => [ - 'description' => 'The IP addresses that are included in the blacklist of the domain name.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The IP address that is included in the blacklist of the domain name.'."\n" - ."\n" - .'> This parameter is returned only when the **IP address blacklist is configured for the domain name**. You can call the [ConfigWebIpSet](~~157469~~) operation to configure the IP address whitelist and the IP address blacklist for the domain name.'."\n", - 'type' => 'string', - 'example' => '2.XX.XX.2', - ], - ], - 'RealServers' => [ - 'description' => 'The addresses of origin servers.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The address of the origin server.'."\n", - 'type' => 'string', - 'example' => '1.XX.XX.1', - ], - ], - ], - ], - ], - ], - 'description' => '', + [ + 'apiName' => 'DescribeNetworkRuleAttributes', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeNetworkRuleAttributes', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + [ + 'apiName' => 'DescribeDomainViewSourceCountries', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeDomainViewSourceCountries', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"TotalCount\\": 1,\\n \\"RequestId\\": \\"39499F01-19D9-4EA4-A0E9-C6014BA5CDBE\\",\\n \\"WebRules\\": [\\n {\\n \\"Domain\\": \\"www.example.com\\",\\n \\"Http2HttpsEnable\\": false,\\n \\"SslProtocols\\": \\"tls1.0\\",\\n \\"PunishReason\\": 1,\\n \\"CcTemplate\\": \\"default\\",\\n \\"HttpsExt\\": \\"{\\\\\\"Https2http\\\\\\":0,\\\\\\"Http2\\\\\\":0,\\\\\\"Http2https\\\\\\":0}\\",\\n \\"CcEnabled\\": true,\\n \\"SslCiphers\\": \\"default\\",\\n \\"CcRuleEnabled\\": true,\\n \\"Ssl13Enabled\\": false,\\n \\"RsType\\": 0,\\n \\"PunishStatus\\": false,\\n \\"ProxyEnabled\\": true,\\n \\"CertName\\": \\"49944XX.pem\\",\\n \\"PolicyMode\\": \\"ip_hash\\",\\n \\"Cname\\": \\"0ekb69x3j9wvXXXX.aliyunddosXXXX.com\\",\\n \\"OcspEnabled\\": false,\\n \\"Http2Enable\\": false,\\n \\"Https2HttpEnable\\": false,\\n \\"ProxyTypes\\": [\\n {\\n \\"ProxyType\\": \\"http\\",\\n \\"ProxyPorts\\": [\\n \\"80\\"\\n ]\\n }\\n ],\\n \\"InstanceIds\\": [\\n \\"ddoscoo-cn-st21zbyq****\\"\\n ],\\n \\"CustomCiphers\\": [\\n \\"ECDHE-RSA-AES256-SHA384\\"\\n ],\\n \\"WhiteList\\": [\\n \\"3.XX.XX.3\\"\\n ],\\n \\"BlackList\\": [\\n \\"2.XX.XX.2\\"\\n ],\\n \\"RealServers\\": [\\n \\"1.XX.XX.1\\"\\n ]\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\n 1\\n \\n www.example.com\\n false\\n 2.XX.XX.2\\n 3.XX.XX.3\\n ECDHE-RSA-AES256-SHA384\\n 1.XX.XX.1\\n \\n 80\\n http\\n \\n tls1.0\\n 1\\n default\\n true\\n default\\n false\\n true\\n false\\n 0\\n true\\n 49944XX.pem\\n ip_hash\\n 0ekb69x3j9wvXXXX.aliyunddosXXXX.com\\n false\\n false\\n ddoscoo-cn-st21zbyq****\\n {\\"Https2http\\":0,\\"Http2\\":0,\\"Http2https\\":0}\\n \\n 39499F01-19D9-4EA4-A0E9-C6014BA5CDBE\\n","errorExample":""}]', - 'title' => 'DescribeDomainResource', - 'summary' => 'Queries the configurations of a forwarding rule.', - 'description' => 'You can call the DescribeDomainResource operation to query the configurations of the forwarding rules that you create for a website by page. The configurations include the domain name-related configurations, protocol-related configurations, HTTPS-related configurations, and configurations that are used to mitigate HTTP flood attacks.'."\n" - ."\n" - .'You can call this operation by using Terraform. For more information about Terraform, see [What is Terraform?](~~95820~~).'."\n" - ."\n" - .'### Limits'."\n" - ."\n" - .'You can call this operation up to 50 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", - 'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see [Common parameters](~~157269~~).'."\n" - ."\n" - .'For more information about sample requests, see the **"Examples"** section of this topic.'."\n", - ], - 'ModifyDomainResource' => [ - 'summary' => 'Modifies the forwarding rule of a website.', - 'methods' => [ - 'post', - 'get', + [ + 'apiName' => 'DescribeDomainTopAttackList', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeDomainTopAttackList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'schemes' => [ - 'http', - 'https', + [ + 'apiName' => 'DescribePortFlowList', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribePortFlowList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'DeleteSceneDefensePolicy', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DeleteSceneDefensePolicy', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '106238', - 'abilityTreeNodes' => [ - 'FEATUREddos64TBV6', + [ + 'apiName' => 'DescribeDDosEventAttackType', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeDDosEventAttackType', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], - 'parameters' => [ - [ - 'name' => 'Domain', - 'in' => 'query', - 'schema' => [ - 'description' => 'The domain name that is added to the Anti-DDoS Pro or Anti-DDoS Premium instance.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'www.example.com', + [ + 'apiName' => 'EmptyAutoCcWhitelist', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:EmptyAutoCcWhitelist', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'RsType', - 'in' => 'query', - 'schema' => [ - 'description' => 'The address type of the origin server. Valid values:'."\n" - ."\n" - .'* **0**: IP address'."\n" - ."\n" - .'* **1**: domain name'."\n" - ."\n" - .' If you deploy proxies, such as a Web Application Firewall (WAF) instance, between the origin server and the Anti-DDoS Pro or Anti-DDoS Premium instance, set the value to 1. If you use the domain name, you must enter the address of the proxy, such as the CNAME of WAF.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '0', - 'enum' => [ - '0', - '1', - ], + ], + [ + 'apiName' => 'ModifyCnameReuse', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:ModifyCnameReuse', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'HttpsExt', - 'in' => 'query', - 'schema' => [ - 'description' => 'The advanced HTTPS settings. This parameter takes effect only when the value of the **ProxyType** parameter includes **https**. The value is a string that consists of a JSON struct. The JSON struct contains the following fields:'."\n" - ."\n" - .'* **Http2https**: specifies whether to turn on Enforce HTTPS Routing. This field is optional and must be an integer. Valid values: **0** and **1**. The value 0 indicates that Enforce HTTPS Routing is turned off. The value 1 indicates that Enforce HTTPS Routing is turned on. The default value is 0.'."\n" - ."\n" - .' If your website supports both HTTP and HTTPS, this feature meets your business requirements. If you enable this feature, all HTTP requests to access the website are redirected to HTTPS requests on the standard port 443.'."\n" - ."\n" - .'* **Https2http**: specifies whether to turn on Enable HTTP. This field is optional and must be an integer. Valid values: **0** and **1**. The value 0 indicates that Enable HTTP is turned off. The value 1 indicates that Enable HTTP is turned on. The default value is 0.'."\n" - ."\n" - .' If your website does not support HTTPS, this feature meets your business requirements If this feature is enabled, all HTTPS requests are redirected to HTTP requests and forwarded to origin servers. This feature can redirect WebSockets requests to WebSocket requests. Requests are redirected over the standard port 80.'."\n" - ."\n" - .'* **Http2**: specifies whether to turn on Enable HTTP/2. This field is optional. Data type: integer. Valid values: **0** and **1**. The value 0 indicates that Enable HTTP/2 is turned off. The value 1 indicates that Enable HTTP/2 is turned on. The default value is 0.'."\n" - ."\n" - .' After you turn on the switch, HTTP/2 is used.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '{"Http2":1,"Http2https":1,"Https2http":1}', + ], + [ + 'apiName' => 'DescribeNetworkRegionBlock', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeNetworkRegionBlock', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ModifyBlackholeStatus', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:ModifyBlackholeStatus', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'ProxyTypes', - 'in' => 'query', - 'style' => 'flat', - 'schema' => [ - 'description' => 'The details about the protocol type and port number.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'ProxyPorts' => [ - 'description' => 'The port numbers.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The port number.'."\n" - ."\n" - .'> You must specify a port within the port range supported by the Anti-DDoS Pro or Anti-DDoS Premium instance. For more information, see [Custom non-standard ports](~~127433~~).'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '443', - ], - 'required' => true, - 'maxItems' => 10, - ], - 'ProxyType' => [ - 'description' => 'The type of the protocol. Valid values:'."\n" - ."\n" - .'* **http**'."\n" - .'* **https**'."\n" - .'* **websocket**'."\n" - .'* **websockets**'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'https', - 'enum' => [ - 'http', - 'https', - 'websocket', - 'websockets', - ], - ], - ], - 'required' => false, - ], - 'required' => true, + ], + [ + 'apiName' => 'DescribeWebInstanceRelations', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeWebInstanceRelations', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'RealServers', - 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => 'An array that consists of the addresses of origin servers.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The address of the origin server.'."\n" - ."\n" - .'If you set the **RsType** parameter to **0**, set the value to the IP address of the origin server. If you set the **RsType** parameter to **1**, set the value to the domain name of the origin server. For more information, see the description of the **RsType** parameter.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '1.XX.XX.1', - ], - 'required' => true, - 'maxItems' => 20, + ], + [ + 'apiName' => 'DescribeWebCcProtectSwitch', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeWebCcProtectSwitch', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'InstanceIds', - 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => 'An array consisting of the IDs of instances that you want to associate.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The ID of instance that you want to associate. If you do not specify this parameter, only the domain name of the website is added but no instances are associated with the website.'."\n" - ."\n" - .'> You can call the [DescribeInstanceIds](~~157459~~) operation to query the IDs of all instances.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'ddoscoo-cn-mp91j1ao****', - ], - 'required' => true, - 'maxItems' => 20, + ], + [ + 'apiName' => 'ModifyHealthCheckConfig', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:ModifyHealthCheckConfig', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '39499F01-19D9-4EA4-A0E9-C6014BA5CDBE', - ], - ], + [ + 'apiName' => 'DescribeDefenseRecords', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeDefenseRecords', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"39499F01-19D9-4EA4-A0E9-C6014BA5CDBE\\"\\n}","type":"json"}]', - 'title' => 'ModifyDomainResource', - ], - 'ConfigLayer4Remark' => [ - 'methods' => [ - 'post', - 'get', + [ + 'apiName' => 'DescribeElasticBandwidthSpec', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeElasticBandwidthSpec', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'schemes' => [ - 'http', - 'https', + [ + 'apiName' => 'EnableWebCC', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:EnableWebCC', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'DescribeSchedulerRules', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeSchedulerRules', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], - 'operationType' => 'write', - 'deprecated' => false, - 'systemTags' => [ + [ + 'apiName' => 'DescribeHealthCheckStatus', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeHealthCheckStatus', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ModifyInstanceRemark', + 'description' => '', 'operationType' => 'update', - 'abilityTreeCode' => '106053', - 'abilityTreeNodes' => [ - 'FEATUREddosN7DYCX', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:ModifyInstanceRemark', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], - 'parameters' => [ - [ - 'name' => 'Listeners', - 'in' => 'query', - 'schema' => [ - 'description' => 'The port forwarding rule that you want to manage.'."\n" - ."\n" - .'This parameter is a string that consists of JSON arrays. Each element in a JSON array indicates a port forwarding rule. You can perform this operation only on one port forwarding rule at a time.'."\n" - ."\n" - .'> You can call the [DescribeNetworkRules](~~157484~~) to query existing port forwarding rules.'."\n" - ."\n" - .'Each port forwarding rule contains the following fields:'."\n" - ."\n" - .'* **InstanceId**: the ID of the instance. This field is required and must be of the STRING type.'."\n" - .'* **Protocol**: the forwarding protocol. This field is required and must be of the STRING type. Valid values: **tcp** and **udp**.'."\n" - .'* **FrontendPort**: the forwarding port. This field is required and must be of the INTEGER type.'."\n" - .'* **Remark**: the remarks of the port forwarding rule. This field is required and must be of the STRING type. The value can contain letters, digits, and some special characters, such as `, . + - * / _`. The value can be up to 200 characters in length.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '[{\\"InstanceId\\":\\"ddosDip-sg-4hr2b3l****\\",\\"FrontendPort\\":2020,\\"Protocol\\":\\"udp\\",\\"Remark\\":\\"test\\"}]', + [ + 'apiName' => 'DescribeTagResources', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeTagResources', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '6E46CC51-36BE-1100-B14C-DAF8381B8F73', - ], - ], + [ + 'apiName' => 'DescribePortMaxConns', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribePortMaxConns', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6E46CC51-36BE-1100-B14C-DAF8381B8F73\\"\\n}","errorExample":""},{"type":"xml","example":"\\r\\n\\r\\n\\t6E46CC51-36BE-1100-B14C-DAF8381B8F73\\r\\n","errorExample":""}]', - 'title' => 'ConfigLayer4Remark', - 'summary' => 'Adds a description to a port forwarding rule.', - 'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see [Common parameters](~~157269~~).'."\n" - ."\n" - .'For more information about sample requests, see the **"Examples"** section of this topic.'."\n", - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'ConfigLayer4RuleBakMode' => [ - 'methods' => [ - 'post', - 'get', + [ + 'apiName' => 'DescribeDomainViewTopUrl', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeDomainViewTopUrl', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'schemes' => [ - 'http', - 'https', + [ + 'apiName' => 'DescribeDomainAttackEvents', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeDomainAttackEvents', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'DescribeLayer4RulePolicy', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeLayer4RulePolicy', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], - 'operationType' => 'write', - 'deprecated' => false, - 'systemTags' => [ + [ + 'apiName' => 'ConfigL7GlobalRule', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:ConfigL7GlobalRule', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ModifyTlsConfig', + 'description' => '', 'operationType' => 'update', - 'abilityTreeCode' => '106054', - 'abilityTreeNodes' => [ - 'FEATUREddosCRC1QI', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:ModifyTlsConfig', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], - 'parameters' => [ - [ - 'name' => 'BakMode', - 'in' => 'query', - 'schema' => [ - 'description' => 'The mode that you want to use to forward service traffic. Valid values:'."\n" - ."\n" - .'* **0**: the default mode. In this mode, Anti-DDoS Pro or Anti-DDoS Premium forwards service traffic to the origin IP address that you specified when you created the port forwarding rule. You can call the [CreateNetworkRules](~~157482~~) operation to create a port forwarding rule.'."\n" - .'* **1**: the origin redundancy mode. In this mode, Anti-DDoS Pro or Anti-DDoS Premium forwards service traffic to the IP addresses of the primary or secondary origin servers. You can call the [ConfigLayer4RulePolicy](~~312684~~) operation to configure IP addresses.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '1', + [ + 'apiName' => 'DescribeWebAccessLogEmptyCount', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeWebAccessLogEmptyCount', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'Listeners', - 'in' => 'query', - 'schema' => [ - 'description' => 'The port forwarding rule that you want to manage.'."\n" - ."\n" - .'This parameter is a string that consists of JSON arrays. Each element in a JSON array indicates a port forwarding rule. You can perform this operation only on one port forwarding rule at a time.'."\n" - ."\n" - .'> You can call the [DescribeNetworkRules](~~157484~~) to query existing port forwarding rules.'."\n" - ."\n" - .'Each port forwarding rule contains the following fields:'."\n" - ."\n" - .'* **InstanceId**: the ID of the instance. This field is required and must be of the STRING type.'."\n" - .'* **Protocol**: the forwarding protocol. This field is required and must be of the STRING type. Valid values: **tcp** and **udp**.'."\n" - .'* **FrontendPort**: the forwarding port. This field is required and must be of the INTEGER type.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '[{\\"InstanceId\\":\\"ddosDip-sg-4hr2b3l****\\",\\"FrontendPort\\":2020,\\"Protocol\\":\\"udp\\"}]', + ], + [ + 'apiName' => 'DetachSceneDefenseObject', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DetachSceneDefenseObject', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'CC042262-15A3-4A49-ADF0-130968EA47BC', - ], - ], + [ + 'apiName' => 'ModifySchedulerRule', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:ModifySchedulerRule', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"CC042262-15A3-4A49-ADF0-130968EA47BC\\"\\n}","errorExample":""},{"type":"xml","example":"\\r\\n\\r\\n\\tCC042262-15A3-4A49-ADF0-130968EA47BC\\r\\n","errorExample":""}]', - 'title' => 'ConfigLayer4RuleBakMode', - 'summary' => 'Enables or disables the origin redundancy mode for a port forwarding rule.', - 'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see [Common parameters](~~157269~~).'."\n" - ."\n" - .'For more information about sample requests, see the **"Examples"** section of this topic.'."\n", - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'ConfigLayer4RulePolicy' => [ - 'methods' => [ - 'post', - 'get', + [ + 'apiName' => 'DescribeInstanceStatistics', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeInstanceStatistics', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'schemes' => [ - 'http', - 'https', + [ + 'apiName' => 'DescribeDomainTopUserAgent', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeDomainTopUserAgent', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'EnableWebCCRule', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:EnableWebCCRule', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], - 'operationType' => 'write', - 'deprecated' => false, - 'systemTags' => [ + [ + 'apiName' => 'CreateSchedulerRule', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:CreateSchedulerRule', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ModifyHeaders', + 'description' => '', 'operationType' => 'update', - 'abilityTreeCode' => '106055', - 'abilityTreeNodes' => [ - 'FEATUREddosCRC1QI', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:ModifyHeaders', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], - 'parameters' => [ - [ - 'name' => 'Listeners', - 'in' => 'query', - 'schema' => [ - 'description' => 'The port forwarding rule that you want to manage.'."\n" - ."\n" - .'This parameter is a string that consists of JSON arrays. Each element in a JSON array indicates a port forwarding rule. You can perform this operation only on one port forwarding rule at a time.'."\n" - ."\n" - .'> You can call the [DescribeNetworkRules](~~157484~~) to query existing port forwarding rules.'."\n" - ."\n" - .'Each port forwarding rule contains the following fields:'."\n" - ."\n" - .'* **InstanceId**: the ID of the instance. This field is required and must be of the STRING type.'."\n" - ."\n" - .'* **Protocol**: the forwarding protocol. This field is required and must be of the STRING type. Valid values: **tcp** and **udp**.'."\n" - ."\n" - .'* **FrontendPort**: the forwarding port. This field is required and must be of the INTEGER type.'."\n" - ."\n" - .'* **BackendPort**: the port of the origin server. This field is required and must be of the INTEGER type.'."\n" - ."\n" - .'* **PriRealServers**: the IP addresses of the primary origin server. This field is required and must be a JSON array. Each element in a JSON array indicates an IP address of the primary origin server. You can configure a maximum of 20 IP addresses.'."\n" - ."\n" - .' Each element in the JSON array contains the following field:'."\n" - ."\n" - .' * **RealServer**: the IP address of the primary origin server. This field is required and must be of the STRING type.'."\n" - ."\n" - .'* **SecRealServers**: the IP addresses of the secondary origin server. This field is required and must be a JSON array. Each element in a JSON array indicates an IP address of the secondary origin server. You can configure a maximum of 20 IP addresses.'."\n" - ."\n" - .' Each element in the JSON array contains the following field:'."\n" - ."\n" - .' * **RealServer**: the IP address of the secondary origin server. This field is required and must be of the STRING type.'."\n" - ."\n" - .'* **CurrentRsIndex**: the origin server that you want to use to receive service traffic. This field is required and must be of the INTEGER type. Valid values:'."\n" - ."\n" - .' * **1**: the primary origin server, which indicates that Anti-DDoS Pro or Anti-DDoS Premium forwards service traffic to the IP addresses of the primary origin server.'."\n" - .' * **2**: the secondary origin server, which indicates that Anti-DDoS Pro or Anti-DDoS Premium forwards service traffic to the IP addresses of the secondary origin server.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '[{\\"InstanceId\\":\\"ddosDip-sg-4hr2b3l****\\",\\"Protocol\\":\\"udp\\",\\"FrontendPort\\":2020,\\"BackendPort\\":2022,\\"PriRealServers\\":[{\\"RealServer\\":\\"192.0.2.1\\"},{\\"RealServer\\":\\"192.0.2.2\\"}],\\"SecRealServers\\":[{\\"RealServer\\":\\"192.0.2.3\\"},{\\"RealServer\\":\\"192.0.2.4\\"}],\\"CurrentRsIndex\\":1}]', + [ + 'apiName' => 'DescribeBlackholeStatus', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeBlackholeStatus', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'CC042262-15A3-4A49-ADF0-130968EA47BC', - ], - ], + [ + 'apiName' => 'DescribeAsyncTasks', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeAsyncTasks', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"CC042262-15A3-4A49-ADF0-130968EA47BC\\"\\n}","errorExample":""},{"type":"xml","example":"\\r\\n\\r\\n\\tCC042262-15A3-4A49-ADF0-130968EA47BC\\r\\n","errorExample":""}]', - 'title' => 'ConfigLayer4RulePolicy', - 'summary' => 'Configures the IP addresses of the primary and secondary origin servers for a port forwarding rule.', - 'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see [Common parameters](~~157269~~).'."\n" - ."\n" - .'For more information about sample requests, see the **"Examples"** section of this topic.'."\n", - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'DescribeLayer4RulePolicy' => [ - 'methods' => [ - 'post', - 'get', + [ + 'apiName' => 'DescribeInstanceStatus', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeInstanceStatus', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'schemes' => [ - 'http', - 'https', + [ + 'apiName' => 'DescribeWebPreciseAccessRule', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeWebPreciseAccessRule', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'AssociateWebCert', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:AssociateWebCert', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeWebRules', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeWebRules', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ConfigWebIpSet', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:ConfigWebIpSet', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ + [ + 'apiName' => 'DescribeWebCustomPorts', + 'description' => '', 'operationType' => 'get', - 'abilityTreeCode' => '106158', - 'abilityTreeNodes' => [ - 'FEATUREddosI8LHMA', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeWebCustomPorts', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], - 'parameters' => [ - [ - 'name' => 'Listeners', - 'in' => 'query', - 'schema' => [ - 'description' => 'The port forwarding rule that you want to query.'."\n" - ."\n" - .'This parameter is a string that consists of JSON arrays. Each element in a JSON array indicates a port forwarding rule. You can query only one port forwarding rule at a time.'."\n" - ."\n" - .'> You can call the [DescribeNetworkRules](~~157484~~) to query existing port forwarding rules.'."\n" - ."\n" - .'Each port forwarding rule contains the following fields:'."\n" - ."\n" - .'* **InstanceId**: the ID of the instance. This field is required and must be of the string type.'."\n" - .'* **Protocol**: the forwarding protocol. This field is required and must be of the string type. Valid values: **tcp** and **udp**.'."\n" - .'* **FrontendPort**: the forwarding port. This field is required and must be of the integer type.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '[{\\"InstanceId\\":\\"ddosDip-sg-4hr2b3l****\\",\\"FrontendPort\\":2020,\\"Protocol\\":\\"udp\\"}]', + [ + 'apiName' => 'CreateWebRule', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:CreateWebRule', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'FrontendPort' => [ - 'description' => 'The forwarding port.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2020', - ], - 'BakMode' => [ - 'description' => 'The mode that is used to forward service traffic. Valid values:'."\n" - ."\n" - .'* 0: the default mode. In this mode, Anti-DDoS Pro or Anti-DDoS Premium forwards service traffic to the origin IP address that you specified when you created the port forwarding rule. You can call the [CreateNetworkRules](~~157482~~) operation to create a port forwarding rule.'."\n" - .'* 1: the origin redundancy mode. In this mode, Anti-DDoS Pro or Anti-DDoS Premium forwards service traffic to the IP addresses of the primary or secondary origin servers. You can call the [ConfigLayer4RulePolicy](~~312684~~) operation to configure IP addresses.'."\n", - 'type' => 'string', - 'example' => '1', - ], - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '6E46CC51-36BE-1100-B14C-DAF8381B8F73', - ], - 'CurrentIndex' => [ - 'description' => 'The origin server that is used to receive service traffic. Valid values:'."\n" - ."\n" - .'* **1**: the primary origin server, which indicates that Anti-DDoS Pro or Anti-DDoS Premium forwards service traffic to the IP addresses of the primary origin server.'."\n" - .'* **2**: the secondary origin server, which indicates that Anti-DDoS Pro or Anti-DDoS Premium forwards service traffic to the IP addresses of the secondary origin server.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'ForwardProtocol' => [ - 'description' => 'The type of the protocol.'."\n", - 'type' => 'string', - 'example' => 'udp', - ], - 'InstanceId' => [ - 'description' => 'The ID of the instance.'."\n", - 'type' => 'string', - 'example' => 'ddosDip-sg-4hr2b3l****', - ], - 'BackendPort' => [ - 'description' => 'The port of the origin server.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2022', - ], - 'PriRealServers' => [ - 'description' => 'An array that consists of the information about the primary origin server, including the IP addresses, forwarding protocol, and forwarding port.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'FrontendPort' => [ - 'description' => 'The forwarding port.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2020', - ], - 'Eip' => [ - 'description' => 'The IP address of the instance.'."\n", - 'type' => 'string', - 'example' => '203.107.XX.XX', - ], - 'Protocol' => [ - 'description' => 'The type of the protocol.'."\n", - 'type' => 'string', - 'example' => 'udp', - ], - 'CurrentIndex' => [ - 'description' => 'The origin server that is used to receive service traffic. Valid values:'."\n" - ."\n" - .'* **1**: the primary origin server, which indicates that Anti-DDoS Pro or Anti-DDoS Premium forwards service traffic to the IP addresses of the primary origin server.'."\n" - .'* **2**: the secondary origin server, which indicates that Anti-DDoS Pro or Anti-DDoS Premium forwards service traffic to the IP addresses of the secondary origin server.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'InstanceId' => [ - 'description' => 'The ID of the instance.'."\n", - 'type' => 'string', - 'example' => 'ddosDip-sg-4hr2b3l****', - ], - 'RealServer' => [ - 'description' => 'The IP address of the primary origin server.'."\n", - 'type' => 'string', - 'example' => '192.0.2.1', - ], - ], - ], - ], - 'SecRealServers' => [ - 'description' => 'An array that consists of the information about the secondary origin server, including the IP addresses, forwarding protocol, and forwarding port.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'FrontendPort' => [ - 'description' => 'The forwarding port.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2020', - ], - 'Eip' => [ - 'description' => 'The IP address of the instance.'."\n", - 'type' => 'string', - 'example' => '203.107.XX.XX', - ], - 'Protocol' => [ - 'description' => 'The type of the protocol.'."\n", - 'type' => 'string', - 'example' => 'udp', - ], - 'CurrentIndex' => [ - 'description' => 'The origin server that is used to receive service traffic. Valid values:'."\n" - ."\n" - .'* **1**: the primary origin server, which indicates that Anti-DDoS Pro or Anti-DDoS Premium forwards service traffic to the IP addresses of the primary origin server.'."\n" - .'* **2**: the secondary origin server, which indicates that Anti-DDoS Pro or Anti-DDoS Premium forwards service traffic to the IP addresses of the secondary origin server.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'InstanceId' => [ - 'description' => 'The ID of the instance.'."\n", - 'type' => 'string', - 'example' => 'ddosDip-sg-4hr2b3l****', - ], - 'RealServer' => [ - 'description' => 'The IP address of the secondary origin server.'."\n", - 'type' => 'string', - 'example' => '192.0.2.3', - ], - ], - ], - ], - ], + [ + 'apiName' => 'DisableWebAccessLogConfig', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DisableWebAccessLogConfig', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"FrontendPort\\": 2020,\\n \\"BakMode\\": \\"1\\",\\n \\"RequestId\\": \\"6E46CC51-36BE-1100-B14C-DAF8381B8F73\\",\\n \\"CurrentIndex\\": 1,\\n \\"ForwardProtocol\\": \\"udp\\",\\n \\"InstanceId\\": \\"ddosDip-sg-4hr2b3l****\\",\\n \\"BackendPort\\": 2022,\\n \\"PriRealServers\\": [\\n {\\n \\"FrontendPort\\": 2020,\\n \\"Eip\\": \\"203.107.XX.XX\\",\\n \\"Protocol\\": \\"udp\\",\\n \\"CurrentIndex\\": 1,\\n \\"InstanceId\\": \\"ddosDip-sg-4hr2b3l****\\",\\n \\"RealServer\\": \\"192.0.2.1\\"\\n }\\n ],\\n \\"SecRealServers\\": [\\n {\\n \\"FrontendPort\\": 2020,\\n \\"Eip\\": \\"203.107.XX.XX\\",\\n \\"Protocol\\": \\"udp\\",\\n \\"CurrentIndex\\": 1,\\n \\"InstanceId\\": \\"ddosDip-sg-4hr2b3l****\\",\\n \\"RealServer\\": \\"192.0.2.3\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\r\\n\\r\\n\\tBB95151E-FCAD-1C3C-872F-77166555E396\\r\\n\\tddosDip-sg-4hr2b3l****\\r\\n\\t2022\\r\\n\\t2020\\r\\n\\t1\\r\\n\\t1\\r\\n\\tudp\\r\\n\\t\\r\\n\\t\\t192.0.2.1\\r\\n\\t\\tddosDip-sg-4hr2b3l****\\r\\n\\t\\t2020\\r\\n\\t\\t1\\r\\n\\t\\tudp\\r\\n\\t\\t203.107.XX.XX\\r\\n\\t\\r\\n\\t\\r\\n\\t\\t192.0.2.2\\r\\n\\t\\tddosDip-sg-4hr2b3l****\\r\\n\\t\\t2020\\r\\n\\t\\t1\\r\\n\\t\\tudp\\r\\n\\t\\t203.107.XX.XX\\r\\n\\t\\r\\n\\t\\r\\n\\t\\t192.0.2.3\\r\\n\\t\\tddosDip-sg-4hr2b3l****\\r\\n\\t\\t2020\\r\\n\\t\\t1\\r\\n\\t\\tudp\\r\\n\\t\\t203.107.XX.XX\\r\\n\\t\\r\\n\\t\\r\\n\\t\\t192.0.2.4\\r\\n\\t\\tddosDip-sg-4hr2b3l****\\r\\n\\t\\t2020\\r\\n\\t\\t1\\r\\n\\t\\tudp\\r\\n\\t\\t203.107.XX.XX\\r\\n\\t\\r\\n","errorExample":""}]', - 'title' => 'DescribeLayer4RulePolicy', - 'summary' => 'Queries the back-to-origin settings of a port forwarding rule.', - 'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see [Common parameters](~~157269~~).'."\n" - ."\n" - .'For more information about sample requests, see the **"Examples"** section of this topic.'."\n", - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'ModifyInstance' => [ - 'summary' => 'Instance adjustment, similar to BSS adjustment', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'https', + [ + 'apiName' => 'DescribeHealthCheckList', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeHealthCheckList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'ConfigWebCCRuleV2', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:ConfigWebCCRuleV2', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], - 'operationType' => 'readAndWrite', - 'deprecated' => false, - 'systemTags' => [ + [ + 'apiName' => 'ModifyWebCCRule', + 'description' => '', 'operationType' => 'update', - 'chargeType' => 'paid', - 'abilityTreeCode' => '262914', - 'abilityTreeNodes' => [ - 'FEATUREddosI8LHMA', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:ModifyWebCCRule', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], - 'autoTest' => true, ], - 'parameters' => [ - [ - 'name' => 'InstanceId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the DDoS High Defense instance.'."\n" - .'> You can call [DescribeInstanceIds](~~157459~~) to query the ID information of all DDoS High Defense instances.', - 'type' => 'string', - 'required' => true, - 'example' => 'ddoscoo-cn-6ja1y6p5****'."\n", + [ + 'apiName' => 'ConfigL7UsKeepalive', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:ConfigL7RsKeepalive', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'ModifyType', - 'in' => 'query', - 'schema' => [ - 'description' => 'Adjustment type, with values'."\n" - .'- UPGRADE: Upgrade.'."\n" - .'- DOWNGRADE: Downgrade.', - 'type' => 'string', - 'required' => true, - 'example' => 'Upgrade', - 'enum' => [ - 'UPGRADE', - 'DOWNGRADE', - ], + ], + [ + 'apiName' => 'DescribeWebAccessMode', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeWebAccessMode', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'NormalBandwidth', - 'in' => 'query', - 'schema' => [ - 'description' => 'Business bandwidth (outside Mainland China). Unit: Mbps.', - 'type' => 'string', - 'required' => false, - 'example' => '200', + ], + [ + 'apiName' => 'CreateNetworkRules', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:CreateNetworkRules', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'ServiceBandwidth', - 'in' => 'query', - 'schema' => [ - 'description' => 'Business bandwidth (Mainland China). Unit: Mbps.', - 'type' => 'string', - 'required' => false, - 'example' => '300', + ], + [ + 'apiName' => 'ModifyWebIpSetSwitch', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:ModifyWebIpSetSwitch', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'BaseBandwidth', - 'in' => 'query', - 'schema' => [ - 'description' => 'Guaranteed protection bandwidth (Mainland China). Unit: Gbps.', - 'type' => 'string', - 'required' => false, - 'example' => '30', + ], + [ + 'apiName' => 'DescribeDDoSEvents', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeDDoSEvents', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'PortCount', - 'in' => 'query', - 'schema' => [ - 'description' => 'Number of protected ports.', - 'type' => 'string', - 'required' => false, - 'example' => '50', + ], + [ + 'apiName' => 'DeleteWebCacheCustomRule', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DeleteWebCacheCustomRule', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'Bandwidth', - 'in' => 'query', - 'schema' => [ - 'description' => 'Elastic protection bandwidth (Mainland China). Unit: Gbps.', - 'type' => 'string', - 'required' => false, - 'example' => '30', + ], + [ + 'apiName' => 'DescribeDDosEventMax', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeDDosEventMax', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'DomainCount', - 'in' => 'query', - 'schema' => [ - 'description' => 'Number of protected domains.', - 'type' => 'string', - 'required' => false, - 'example' => '50', + ], + [ + 'apiName' => 'AddAutoCcWhitelist', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:AddAutoCcWhitelist', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'NormalQps', - 'in' => 'query', - 'schema' => [ - 'description' => 'Business QPS. Unit: Mbps.', - 'type' => 'string', - 'required' => false, - 'example' => '100', + ], + [ + 'apiName' => 'DescribeWebCCRulesV2', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeWebCCRulesV2', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'ProductType', - 'in' => 'query', - 'schema' => [ - 'description' => 'Product type.'."\n" - .'Values:'."\n" - ."\n" - .'- **ddoscoo**: Indicates that the DDoS High Defense (Mainland China) instance is being adjusted for a China site account.'."\n" - .'- **ddoscoo_intl**: Indicates that the DDoS High Defense (Mainland China) instance is being adjusted for an international site account.'."\n" - .'- **ddosDip**: Indicates that the DDoS High Defense (outside Mainland China) instance is being adjusted for either a China or international site account.', - 'type' => 'string', - 'required' => true, - 'example' => 'ddoscoo', + ], + [ + 'apiName' => 'DescribeSlaEventList', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeSlaEventList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'AddressType', - 'in' => 'query', - 'schema' => [ - 'description' => 'Address type. Values:'."\n" - .'- **Ipv4**: IPv4.'."\n" - .'- **Ipv6**: IPv6.', - 'type' => 'string', - 'required' => false, - 'example' => 'Ipv4', + ], + [ + 'apiName' => 'SwitchSchedulerRule', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:SwitchSchedulerRule', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'ProductPlan', - 'in' => 'query', - 'schema' => [ - 'description' => 'Protection package (outside Mainland China). Values:'."\n" - ."\n" - .'- **0**: Indicates the DDoS High Defense (outside Mainland China) Insurance Edition.'."\n" - .'- **1**: Indicates the DDoS High Defense (outside Mainland China) Worry-Free Edition.'."\n" - .'- **2**: Indicates the DDoS High Defense (outside Mainland China) Acceleration Line.'."\n" - .'- **3**: Indicates the DDoS High Defense (outside Mainland China) Secure Acceleration Line.', - 'type' => 'string', - 'required' => false, - 'example' => '0', + ], + [ + 'apiName' => 'DescribeSceneDefensePolicies', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeSceneDefensePolicies', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'EditionSale', - 'in' => 'query', - 'schema' => [ - 'description' => 'Protection package (Mainland China). Values:'."\n" - ."\n" - .'- **coop**: Indicates the DDoS High Defense (Mainland China) Professional Edition.'."\n" - .'- **advance**: Indicates the DDoS High Defense (Mainland China) Professional Edition.', - 'type' => 'string', - 'required' => false, - 'example' => 'coop', + ], + [ + 'apiName' => 'DescribeCnameReuses', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeCnameReuses', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'ServicePartner', - 'in' => 'query', - 'schema' => [ - 'description' => 'Line resources of the instance (Mainland China). Values:'."\n" - ."\n" - .'- **coop-line-001**: Indicates the DDoS High Defense (Mainland China) 8-line BGP line.', - 'type' => 'string', - 'required' => false, - 'example' => 'coop-line-001', + ], + [ + 'apiName' => 'ModifyQpsMode', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:ModifyQpsMode', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'FunctionVersion', - 'in' => 'query', - 'schema' => [ - 'description' => 'Function version, with values:'."\n" - ."\n" - .'- **0**: Standard function.'."\n" - .'- **1**: Enhanced function.', - 'type' => 'string', - 'required' => false, - 'example' => '0', + ], + [ + 'apiName' => 'DescribeWebAreaBlockConfigs', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeWebAreaBlockConfigs', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of this request, which is a unique identifier generated by Alibaba Cloud for this request and can be used for troubleshooting and problem localization.', - 'type' => 'string', - 'example' => '0018DF77-7189-5D33-947B-E5B34BFCE07E', - ], - 'OrderId' => [ - 'description' => 'Order ID.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '242461444340562', - ], - ], + [ + 'apiName' => 'EmptyAutoCcBlacklist', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:EmptyAutoCcBlacklist', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + [ + 'apiName' => 'ModifyElasticBandWidth', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:ModifyElasticBandWidth', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ConfigL7RsPolicy', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:ConfigL7RsPolicy', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0018DF77-7189-5D33-947B-E5B34BFCE07E\\",\\n \\"OrderId\\": 242461444340562\\n}","type":"json"}]', - 'title' => 'ModifyInstance', - 'translator' => 'machine', - ], - ], - 'endpoints' => [ - [ - 'regionId' => 'cn-hangzhou', - 'endpoint' => 'ddoscoo.cn-hangzhou.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-1', - 'endpoint' => 'ddoscoo.ap-southeast-1.aliyuncs.com', ], + 'resourceTypes' => [], ], ]; -- cgit v1.2.3