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/zh_cn/ddoscoo/2020-01-01/api-docs.php | 31758 +++++++++++++-------------- 1 file changed, 15040 insertions(+), 16718 deletions(-) (limited to 'data/zh_cn/ddoscoo/2020-01-01') diff --git a/data/zh_cn/ddoscoo/2020-01-01/api-docs.php b/data/zh_cn/ddoscoo/2020-01-01/api-docs.php index 3475d7a..b751825 100644 --- a/data/zh_cn/ddoscoo/2020-01-01/api-docs.php +++ b/data/zh_cn/ddoscoo/2020-01-01/api-docs.php @@ -1,331 +1,123 @@ '1.0', - 'info' => [ - 'style' => 'RPC', - 'product' => 'ddoscoo', - 'version' => '2020-01-01', - ], + 'info' => ['style' => 'RPC', 'product' => 'ddoscoo', 'version' => '2020-01-01'], 'directories' => [ [ - 'id' => 362006, - 'title' => '实例', + 'children' => ['ModifyInstanceRemark', 'ModifyElasticBandWidth', 'DescribeInstanceIds', 'DescribeElasticBandwidthSpec', 'DescribeInstanceSpecs', 'DescribeInstanceDetails', 'ModifyElasticBizQps', 'ModifyQpsMode', 'DescribeInstanceExt'], 'type' => 'directory', - 'children' => [ - 'ReleaseInstance', - 'ModifyInstanceRemark', - 'ModifyElasticBandWidth', - 'DescribeInstanceIds', - 'DescribeInstanceStatus', - 'DescribeElasticBandwidthSpec', - 'DescribeInstanceStatistics', - 'DescribeInstances', - 'DescribeInstanceSpecs', - 'DescribeInstanceDetails', - 'ModifyElasticBizQps', - 'ModifyQpsMode', - 'DescribeInstanceExt', - ], + 'title' => '实例', + 'id' => 18787, ], [ - 'id' => 362020, - 'title' => '域名', - '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', - 'DescribeDomainTopHttpMethod', + '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', 'DescribeDomainTopHttpMethod', ], + 'type' => 'directory', + 'title' => '域名', + 'id' => 18801, ], [ - 'id' => 362048, - 'title' => '任务', + 'children' => ['CreateAsyncTask'], 'type' => 'directory', - 'children' => [ - 'CreateAsyncTask', - 'DeleteAsyncTask', - ], + 'title' => '任务', + 'id' => 18828, ], [ - 'id' => 362051, - 'title' => '网络转发规则', + 'children' => ['CreateNetworkRules', 'ModifyHealthCheckConfig', 'DescribeNetworkRules', 'DescribeHealthCheckStatus', 'ConfigNetworkRules'], 'type' => 'directory', - 'children' => [ - 'CreateNetworkRules', - 'DeleteNetworkRule', - 'ModifyHealthCheckConfig', - 'DescribeNetworkRules', - 'DescribeHealthCheckStatus', - 'ConfigNetworkRules', - ], + 'title' => '网络转发规则', + 'id' => 18831, ], [ - 'id' => 362058, - 'title' => '流量调度器', + 'children' => ['CreateSchedulerRule', 'DeleteSchedulerRule', 'ModifySchedulerRule', 'DescribeSchedulerRules', 'SwitchSchedulerRule', 'DescribeCdnLinkageRules'], 'type' => 'directory', - 'children' => [ - 'CreateSchedulerRule', - 'DeleteSchedulerRule', - 'ModifySchedulerRule', - 'DescribeSchedulerRules', - 'SwitchSchedulerRule', - 'DescribeCdnLinkageRules', - ], + 'title' => '流量调度器', + 'id' => 18838, ], [ - 'id' => 362065, - 'title' => '基础设施防护策略', + 'children' => ['AddAutoCcBlacklist', 'AddAutoCcWhitelist', 'DeleteAutoCcBlacklist', 'DeleteAutoCcWhitelist', 'ModifyBlackholeStatus', 'ModifyBlockStatus', 'DescribeAutoCcListCount', 'DescribeAutoCcBlacklist', 'DescribeAutoCcWhitelist', 'DescribeUnBlackholeCount', 'DescribeBlackholeStatus', 'DescribeNetworkRegionBlock', 'DescribeBlockStatus', 'DescribeUnBlockCount', 'EmptyAutoCcBlacklist', 'EmptyAutoCcWhitelist', 'ConfigNetworkRegionBlock', 'DescribeUdpReflect', 'ConfigUdpReflect'], 'type' => 'directory', - 'children' => [ - 'AddAutoCcBlacklist', - 'AddAutoCcWhitelist', - 'DeleteAutoCcBlacklist', - 'DeleteAutoCcWhitelist', - 'ModifyBlackholeStatus', - 'ModifyBlockStatus', - 'DescribeAutoCcListCount', - 'DescribeAutoCcBlacklist', - 'DescribeAutoCcWhitelist', - 'DescribeUnBlackholeCount', - 'DescribeBlackholeStatus', - 'DescribeNetworkRegionBlock', - 'DescribeBlockStatus', - 'DescribeUnBlockCount', - 'EmptyAutoCcBlacklist', - 'EmptyAutoCcWhitelist', - 'ConfigNetworkRegionBlock', - 'DescribeUdpReflect', - 'ConfigUdpReflect', - ], + 'title' => '基础设施防护策略', + 'id' => 18844, ], [ - 'id' => 362085, - 'title' => '网站业务防护策略', - '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', + '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', ], + 'type' => 'directory', + 'title' => '网站业务防护策略', + 'id' => 18864, ], [ - 'id' => 362115, - 'title' => '非网站业务防护策略', + 'children' => ['ModifyPortAutoCcStatus', 'ModifyNetworkRuleAttribute', 'DescribePortAutoCcStatus', 'DescribeDomains', 'DescribeHealthCheckList', 'DescribeNetworkRuleAttributes'], 'type' => 'directory', - 'children' => [ - 'ModifyPortAutoCcStatus', - 'ModifyNetworkRuleAttribute', - 'DescribePortAutoCcStatus', - 'DescribeDomains', - 'DescribeHealthCheckList', - 'DescribeNetworkRuleAttributes', - ], + 'title' => '非网站业务防护策略', + 'id' => 18892, ], [ - 'id' => 362122, - 'title' => '定制场景策略', + 'children' => ['CreateSceneDefensePolicy', 'DeleteSceneDefensePolicy', 'ModifySceneDefensePolicy', 'AttachSceneDefenseObject', 'DetachSceneDefenseObject', 'EnableSceneDefensePolicy', 'DisableSceneDefensePolicy', 'DescribeSceneDefensePolicies', 'DescribeSceneDefenseObjects'], 'type' => 'directory', - 'children' => [ - 'CreateSceneDefensePolicy', - 'DeleteSceneDefensePolicy', - 'ModifySceneDefensePolicy', - 'AttachSceneDefenseObject', - 'DetachSceneDefenseObject', - 'EnableSceneDefensePolicy', - 'DisableSceneDefensePolicy', - 'DescribeSceneDefensePolicies', - 'DescribeSceneDefenseObjects', - ], + 'title' => '定制场景策略', + 'id' => 18899, ], [ - 'id' => 362132, - 'title' => '静态页面缓存', + 'children' => ['DeleteWebCacheCustomRule', 'ModifyWebCacheSwitch', 'ModifyWebCacheMode', 'ModifyWebCacheCustomRule', 'DescribeWebCacheConfigs'], 'type' => 'directory', - 'children' => [ - 'DeleteWebCacheCustomRule', - 'ModifyWebCacheSwitch', - 'ModifyWebCacheMode', - 'ModifyWebCacheCustomRule', - 'DescribeWebCacheConfigs', - ], + 'title' => '静态页面缓存', + 'id' => 18909, ], [ - 'id' => 362138, - 'title' => '攻击分析', + 'children' => ['DescribeDDosEventArea', 'DescribeDDosEventAttackType', 'DescribeDDosEventIsp', 'DescribeDDosEventSrcIp', 'DescribeBackSourceCidr', 'DescribeDDoSEvents', 'DescribeSlaEventList', 'DescribeDomainAttackEvents', 'DescribeDefenseCountStatistics', 'DescribeAttackAnalysisMaxQps', 'DescribeDestinationPortEvent'], 'type' => 'directory', - 'children' => [ - 'DescribeDDosEventMax', - 'DescribeDDosEventArea', - 'DescribeDDosEventAttackType', - 'DescribeDDosEventIsp', - 'DescribeDDosEventSrcIp', - 'DescribeBackSourceCidr', - 'DescribeDDosAllEventList', - 'DescribeDDoSEvents', - 'DescribeSlaEventList', - 'DescribeDomainAttackEvents', - 'DescribeDefenseCountStatistics', - 'DescribeAttackAnalysisMaxQps', - 'DescribeDestinationPortEvent', - ], + 'title' => '攻击分析', + 'id' => 18915, ], [ - 'id' => 362152, - 'title' => '监控报表', + 'children' => ['DescribePortFlowList', 'DescribePortConnsList', 'DescribePortConnsCount', 'DescribePortMaxConns', 'DescribePortAttackMaxFlow', 'DescribePortViewSourceCountries', 'DescribePortViewSourceIsps', 'DescribePortViewSourceProvinces', 'DescribeDomainQPSList', 'DescribeDomainStatusCodeList', 'DescribeDomainOverview', 'DescribeDomainStatusCodeCount', 'DescribeDomainTopAttackList', 'DescribeDomainViewSourceCountries', 'DescribeDomainViewSourceProvinces', 'DescribeDomainViewTopCostTime', 'DescribeDomainViewTopUrl'], 'type' => 'directory', - 'children' => [ - 'DescribePortFlowList', - 'DescribePortConnsList', - 'DescribePortConnsCount', - 'DescribePortMaxConns', - 'DescribePortAttackMaxFlow', - 'DescribePortViewSourceCountries', - 'DescribePortViewSourceIsps', - 'DescribePortViewSourceProvinces', - 'DescribeDomainQPSList', - 'DescribeDomainStatusCodeList', - 'DescribeDomainOverview', - 'DescribeDomainStatusCodeCount', - 'DescribeDomainTopAttackList', - 'DescribeDomainViewSourceCountries', - 'DescribeDomainViewSourceProvinces', - 'DescribeDomainViewTopCostTime', - 'DescribeDomainViewTopUrl', - ], + 'title' => '监控报表', + 'id' => 18929, ], [ - 'id' => 362170, - 'title' => '日志', + 'children' => ['EnableWebAccessLogConfig', 'ModifyFullLogTtl', 'DisableWebAccessLogConfig', 'DescribeWebAccessLogDispatchStatus', 'DescribeWebAccessLogStatus', 'DescribeLogStoreExistStatus', 'DescribeOpEntities', 'DescribeSlsAuthStatus', 'DescribeSlsLogstoreInfo', 'DescribeSlsOpenStatus', 'DescribeWebAccessLogEmptyCount', 'DescribeDefenseRecords', 'EmptySlsLogstore'], 'type' => 'directory', - 'children' => [ - 'EnableWebAccessLogConfig', - 'ModifyFullLogTtl', - 'DisableWebAccessLogConfig', - 'DescribeWebAccessLogDispatchStatus', - 'DescribeWebAccessLogStatus', - 'DescribeLogStoreExistStatus', - 'DescribeOpEntities', - 'DescribeSlsAuthStatus', - 'DescribeSlsLogstoreInfo', - 'DescribeSlsOpenStatus', - 'DescribeWebAccessLogEmptyCount', - 'DescribeDefenseRecords', - 'EmptySlsLogstore', - ], + 'title' => '日志', + 'id' => 18947, ], [ - 'id' => 362184, - 'title' => '系统配置与日志', + 'children' => ['DescribeStsGrantStatus', 'DescribeAsyncTasks', 'DescribeSystemLog', 'DescribeElasticQps', 'DescribeElasticQpsRecord'], 'type' => 'directory', - 'children' => [ - 'DescribeStsGrantStatus', - 'DescribeAsyncTasks', - 'DescribeSystemLog', - 'DescribeElasticQps', - 'DescribeElasticQpsRecord', - ], + 'title' => '系统配置与日志', + 'id' => 18961, ], [ - 'id' => 362190, - 'title' => '标签', + 'children' => ['CreateTagResources', 'DeleteTagResources', 'DescribeTagResources'], 'type' => 'directory', - 'children' => [ - 'CreateTagResources', - 'DeleteTagResources', - 'DescribeTagKeys', - 'DescribeTagResources', - ], + 'title' => '标签', + 'id' => 18967, ], [ - 'id' => 362195, - 'title' => '端口', + 'children' => ['CreatePort', 'DeletePort', 'ModifyPort', 'DescribePort'], 'type' => 'directory', - 'children' => [ - 'CreatePort', - 'DeletePort', - 'ModifyPort', - 'DescribePort', - ], + 'title' => '端口', + 'id' => 18972, ], [ - 'id' => 362200, - 'title' => '其他', + 'children' => ['CreateDomainResource', 'DeleteDomainResource', 'DescribeDomainResource', 'ModifyDomainResource', 'ConfigLayer4Remark', 'ConfigLayer4RuleBakMode', 'ConfigLayer4RulePolicy', 'DescribeLayer4RulePolicy', 'ModifyInstance', 'DeleteAsyncTask', 'DeleteNetworkRule', 'DescribeDDosAllEventList', 'DescribeDDosEventMax', 'DescribeInstanceStatistics', 'DescribeInstanceStatus', 'DescribeInstances', 'DescribeTagKeys', 'ReleaseInstance'], 'type' => 'directory', - 'children' => [ - 'CreateDomainResource', - 'DeleteDomainResource', - 'DescribeDomainResource', - 'ModifyDomainResource', - 'ConfigLayer4Remark', - 'ConfigLayer4RuleBakMode', - 'ConfigLayer4RulePolicy', - 'DescribeLayer4RulePolicy', - 'ModifyInstance', - ], + 'title' => '其他', + 'id' => 18977, ], ], 'components' => [ 'schemas' => [], ], 'apis' => [ - 'ReleaseInstance' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'AddAutoCcBlacklist' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -334,24 +126,28 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', - 'abilityTreeCode' => '106274', - 'abilityTreeNodes' => [ - 'FEATUREddosMHU3MF', - ], + 'operationType' => 'create', + 'abilityTreeCode' => '106046', + 'abilityTreeNodes' => ['FEATUREddosRTUJBH'], ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => '要释放的实例ID。'."\n" - ."\n" - .'> 只允许释放已到期的实例。您可以调用[DescribeInstances](~~91478~~)查询所有DDoS高防实例的ID和到期状态信息。', - 'type' => 'string', - 'required' => true, - 'example' => 'ddoscoo-cn-mp91j1ao****', - ], + 'schema' => ['description' => 'DDoS高防实例的ID。'."\n" + .'> 您可以调用**DescribeInstanceIds**查询所有DDoS高防实例的ID信息。', 'type' => 'string', 'required' => true, 'example' => 'ddoscoo-cn-mp91j1ao****'], + ], + [ + 'name' => 'Blacklist', + 'in' => 'query', + 'schema' => ['description' => '黑名单IP的详细信息,使用JSON格式的字符串表述,具体结构如下。'."\n" + .'- **src**:String类型,必选,黑名单IP。'."\n" + .'> 黑名单中最多支持手动添加2000个IP。多个IP地址间使用空格或换行方式分割。', 'type' => 'string', 'required' => true, 'example' => '[{"src":"198.51.XX.XX"},{"src":"198.52.XX.XX"}]'], + ], + [ + 'name' => 'ExpireTime', + 'in' => 'query', + 'schema' => ['description' => '过期时间,可自定义。取值范围:**300**~**604800**,单位:秒。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '300'], ], ], 'responses' => [ @@ -359,37 +155,46 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。', - 'type' => 'string', - 'example' => '06FFAF5F-CD3E-4886-A849-AAB40DFF6515', - ], + 'RequestId' => ['description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。', 'type' => 'string', 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E'], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"06FFAF5F-CD3E-4886-A849-AAB40DFF6515\\"\\n}","type":"json"}]', - 'title' => '释放已经到期的DDoS高防实例', - 'summary' => '释放已经到期的DDoS高防实例。', - 'description' => 'DDoS高防实例到期后,将停止提供DDoS攻击防御服务,且实例到期7天后,将停止业务流量转发。'."\n" - .'- 建议您在实例到期前及时续费,避免实例到期对业务防护和转发带来影响。您可以调用[DescribeInstances](~~91478~~)查询实例的到期时间。如果需要续费,请前往[DDoS高防控制台](https://yundun.console.aliyun.com/?p=ddoscoo)进行操作。'."\n" - .'- 如果您不计划续费实例,建议您在DDoS高防实例到期前恢复已接入防护的业务IP(不再使用DDoS高防IP作为业务IP)或业务DNS解析(不再将业务流量解析到DDoS高防的CNAME地址),停止将业务转发到DDoS高防实例,避免实例到期对正常业务转发带来影响。'."\n" - ."\n" - .'实例到期后,您可以调用本接口释放指定的DDoS高防实例。'."\n" + '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' => '添加针对DDoS高防实例的黑名单IP', + 'summary' => '添加针对DDoS高防实例的黑名单IP。', + 'description' => '### QPS限制'."\n" ."\n" - .'> 释放指定实例前,请务必确认您已经恢复接入防护的业务IP或业务DNS解析。', + .'本接口的单用户QPS限制为6次/秒。超过限制,API调用将会被限流,这可能影响您的业务,请合理调用。', + 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'ModifyInstanceRemark' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:36.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'AddAutoCcBlacklist'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:AddAutoCcBlacklist', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'AddAutoCcWhitelist' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -398,36 +203,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' => '要操作的DDoS高防实例的ID。'."\n" - ."\n" - .'> 您可以调用[DescribeInstanceIds](~~157459~~)查询所有DDoS高防实例的ID信息。', - 'type' => 'string', - 'required' => true, - 'example' => 'ddoscoo-cn-mp91j1ao****', - ], + 'schema' => ['description' => '要添加白名单IP的DDoS高防实例的ID。'."\n" + ."\n" + .'> 您可以调用[DescribeInstanceIds](~~157459~~)查询所有DDoS高防实例的ID。', 'type' => 'string', 'required' => true, 'example' => 'ddoscoo-cn-mp91j1ao****'], ], [ - 'name' => 'Remark', + 'name' => 'Whitelist', 'in' => 'query', - 'schema' => [ - 'description' => '为DDoS高防实例设置备注。'."\n" - ."\n" - .'支持使用中文字符、英文大小写字符、数字及部分特殊字符,例如:`,.+-*/_`。最长不允许超过500个字符。', - 'type' => 'string', - 'required' => true, - 'example' => 'new-remark', - ], + 'schema' => ['description' => '要添加的白名单IP的配置。使用JSON数组转化的字符串表示。JSON数组的每个元素是一个白名单IP结构体,具体包含以下参数:'."\n" + ."\n" + .'- **src**:String类型 | 必选 | 要添加到白名单的IP地址。', 'type' => 'string', 'required' => true, 'example' => '[{"src":"192.XX.XX.1"},{"src":"192.XX.XX.2"}]'], + ], + [ + 'name' => 'ExpireTime', + 'in' => 'query', + 'schema' => ['description' => '该参数已废弃。'."\n" + ."\n" + .'> 该参数表示黑名单IP的有效期。白名单IP默认永久有效,无需设置该参数。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '0'], ], ], 'responses' => [ @@ -435,70 +235,109 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。', - 'type' => 'string', - 'example' => '7EFA2BA6-9C0A-4410-B735-FC337EB634A1', - ], + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'AB5025DA-5C52-5207-B6AC-3F198758B678'], ], ], ], ], - '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' => '修改指定实例的备注信息', - 'summary' => '编辑DDoS高防实例的备注。', + 'title' => '添加针对DDoS高防实例的白名单IP', + 'summary' => '添加针对DDoS高防实例的白名单IP。', + 'description' => '本接口用于为单个DDoS高防实例添加白名单IP,使DDoS高防实例直接放行指定IP的请求流量。'."\n" + ."\n" + .'白名单IP经添加后,默认永久有效。如果后续不再需要白名单IP,您可以调用[EmptyAutoCcWhitelist](~~157505~~)清空已添加的白名单IP列表。'."\n" + ."\n" + .'### QPS限制'."\n" + ."\n" + .'本接口的单用户QPS限制为10次/秒。超过限制,API调用将会被限流,这可能影响您的业务,请合理调用。', 'requestParamsDescription' => '调用API时,除了本文中该API的请求参数,还需加入阿里云API公共请求参数。公共请求参数的详细介绍,请参见[公共参数](~~157269~~)。'."\n" ."\n" .'调用API的请求格式,请参见本文**示例**中的请求示例。', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'ModifyElasticBandWidth' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:36.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'AddAutoCcWhitelist'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:AddAutoCcWhitelist', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"AB5025DA-5C52-5207-B6AC-3F198758B678\\"\\n}","errorExample":""},{"type":"xml","example":"\\n AB5025DA-5C52-5207-B6AC-3F198758B678\\n","errorExample":""}]', + ], + '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' => '要设置的弹性防护带宽,单位:Gbps。'."\n" - .'> 您可以调用[DescribeElasticBandwidthSpec](~~91502~~)查询可选的弹性防护带宽规格。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '50', - ], + 'name' => 'Domain', + 'in' => 'formData', + 'schema' => ['description' => '网站业务的域名。'."\n" + .'> 域名必须已配置网站业务转发规则。您可以调用[DescribeDomains](~~91724~~)查询所有域名。', 'type' => 'string', 'required' => true, 'example' => 'www.aliyun.com'], ], [ - 'name' => 'InstanceId', - 'in' => 'query', - 'schema' => [ - 'description' => 'DDoS高防实例的ID。'."\n" - .'> 实例必须处于正常状态。您可以调用[DescribeInstanceIds](~~157459~~)查询所有DDoS高防实例的ID信息。', - 'type' => 'string', - 'required' => true, - 'example' => 'ddoscoo-cn-mp91j1ao****', - ], + 'name' => 'CertId', + 'in' => 'formData', + 'schema' => ['description' => '证书ID。'."\n" + .'> 传入证书ID后,无需传入CertName、Cert和Key。不能与CertIdentifier同时传入。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '2404693'], + ], + [ + 'name' => 'CertName', + 'in' => 'formData', + 'schema' => ['description' => '证书名称。 '."\n" + ."\n" + .'> 要关联的证书名称。该参数必须与Cert和Key一同使用。', 'type' => 'string', 'required' => false, 'example' => 'example-cert'."\n"], + ], + [ + 'name' => 'Cert', + 'in' => 'formData', + 'schema' => ['description' => '要关联的证书公钥。该参数必须与CertName和Key一同使用。 '."\n" + ."\n" + .'> 传入CertName、Cert和Key后,无需传入CertId。', 'type' => 'string', 'required' => false, 'example' => '-----BEGIN CERTIFICATE----- 62EcYPWd2Oy1vs6MTXcJSf*************************************************************************************************************************************************************************ZIo2ZUhl02SIDNggIEeg== -----END CERTIFICATE-----'."\n"], + ], + [ + 'name' => 'Key', + 'in' => 'formData', + 'schema' => ['description' => '要关联的证书私钥。该参数必须与CertName和Cert一同使用。 '."\n" + ."\n" + .'> 传入CertName、Cert和Key后,无需传入CertId。', 'type' => 'string', 'required' => false, 'example' => '-----BEGIN RSA PRIVATE KEY----- DADTPZoOHd9WtZ3UKHJT**************************************************************************************************************************************************************************qf0YF8bv5UK5G04RtKadOw== -----END RSA PRIVATE KEY-----'."\n"], + ], + [ + 'name' => 'CertIdentifier', + 'in' => 'formData', + 'schema' => ['description' => '全局证书ID,证书ID+"-cn-hangzhou"。如果证书ID=123,则CertIdentifier=“123-cn-hangzhou”。'."\n" + .'> 不能与CertId同时传入。', 'type' => 'string', 'required' => false, 'example' => '9430680-cn-hangzhou'."\n"], + ], + [ + 'name' => 'CertRegion', + 'in' => 'formData', + 'schema' => ['description' => '证书所在地域。支持**cn-hangzhou**和**ap-southeast-1**,默认**cn-hangzhou** .', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'], ], ], 'responses' => [ @@ -506,32 +345,35 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc', - ], + 'RequestId' => ['description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。', 'type' => 'string', 'example' => '40F11005-A75C-4644-95F2-52A4E7D43E91'], ], + 'description' => '', ], ], ], - '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' => '修改指定实例的弹性防护带宽', - 'summary' => '修改DDoS高防(中国内地)实例的弹性防护带宽。', - 'description' => '> 该接口仅适用于DDoS高防(中国内地)服务。', + 'title' => '为网站业务转发规则关联SSL证书', + 'summary' => '为网站业务转发规则关联SSL证书。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeInstanceIds' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2024-08-30T07:13:07.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2024-05-29T02:26:20.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2023-07-18T07:29:47.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2022-09-08T03:34:36.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'AssociateWebCert'], + ], ], + 'ramActions' => [], + '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":""}]', + ], + 'AttachSceneDefenseObject' => [ + 'summary' => '为定制场景策略添加防护对象。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -540,302 +382,204 @@ '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' => 'DDoS高防实例在资源管理服务中所属的资源组ID。'."\n" - ."\n" - .'不设置该参数表示默认资源组。', - 'type' => 'string', - 'required' => false, - 'example' => 'rg-acfm2pz25js****', - ], + 'schema' => ['description' => '策略ID。'."\n" + ."\n" + .'> 您可以调用[DescribeSceneDefensePolicies](~~159382~~)查询所有策略ID。', 'type' => 'string', 'required' => true, 'example' => '321a-fd31-df51-****'], ], [ - 'name' => 'Edition', + 'name' => 'ObjectType', 'in' => 'query', - 'schema' => [ - 'description' => '要查询的DDoS高防实例的类型。取值:'."\n" - ."\n" - .'- **0**:表示DDoS高防(非中国内地)保险版。'."\n" - .'- **1**:表示DDoS高防(非中国内地)无忧版。'."\n" - .'- **2**:表示DDoS高防(非中国内地)加速线路。'."\n" - .'- **3**:表示DDoS高防(非中国内地)安全加速线路。'."\n" - .'- **9**:表示DDoS高防(中国内地)专业版。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '9', - ], + 'schema' => ['description' => '对象类型。取值:**Domain**,表示域名。', 'type' => 'string', 'required' => true, 'example' => 'Domain'], ], [ - 'name' => 'InstanceIds', + 'name' => 'Objects', 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => '要查询的DDoS高防实例的ID列表。N的最大值:200。', - 'type' => 'array', - 'items' => [ - 'description' => '要查询的DDoS高防实例的ID。'."\n" - ."\n" - .'不设置该参数表示查询所有DDoS高防实例。', - 'type' => 'string', - 'required' => false, - 'example' => 'ddoscoo-cn-zvp2eibz****', - ], - 'required' => false, - 'example' => 'ddoscoo-cn-mp91j1ao****', - 'maxItems' => 100, - ], - ], - ], - 'responses' => [ - 200 => [ + 'schema' => ['description' => '要添加的防护对象。多个对象间使用英文逗号(,)分隔。', 'type' => 'string', 'required' => true, 'example' => 'www.aliyun.com'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => '310A41FD-0990-5610-92E0-A6A55D7C6444', - ], - 'InstanceIds' => [ - 'description' => 'DDoS高防实例的ID、版本、备注、IP类型信息。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'IpMode' => [ - 'description' => '实例的IP转发模式。取值:'."\n" - ."\n" - .'- **fnat**:表示源站和客户端的IP版本一致,即IPv4地址客户端请求转发到IPv4地址源站、IPv6地址客户端请求转发到IPv6地址源站。'."\n" - .'- **v6tov4**:表示IPv6和IPv4地址客户端请求都转发到IPv4地址源站。', - 'type' => 'string', - 'example' => 'fnat', - ], - 'Edition' => [ - 'description' => '实例的类型。取值:'."\n" - ."\n" - .'- **0**:表示DDoS高防(非中国内地)保险版。'."\n" - .'- **1**:表示DDoS高防(非中国内地)无忧版。'."\n" - .'- **2**:表示DDoS高防(非中国内地)加速线路。'."\n" - .'- **3**:表示DDoS高防(非中国内地)安全加速线路。'."\n" - .'- **9**:表示DDoS高防(中国内地)专业版。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '9', - ], - 'InstanceId' => [ - 'description' => '实例ID。', - 'type' => 'string', - 'example' => 'ddoscoo-cn-zvp2eibz****', - ], - 'IpVersion' => [ - 'description' => '实例的IP协议版本。取值:'."\n" - ."\n" - .'- **Ipv4**:表示 IPv4版本。'."\n" - .'- **Ipv6**:表示 IPv6版本。', - 'type' => 'string', - 'example' => 'Ipv4', - ], - 'Remark' => [ - 'description' => '实例的备注。', - 'type' => 'string', - 'example' => 'test', - ], - ], - ], - ], + 'Success' => ['description' => '是否成功调用。取值:'."\n" + .'- **true**:是'."\n" + .'- **false**:否', 'type' => 'boolean', 'example' => 'true'], + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'F65DF043-E0EB-4796-9467-23DDCDF92C1D'], ], + 'description' => '', ], ], ], - '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' => '查询DDoS高防实例的ID信息', - 'summary' => '查询DDoS高防实例的ID、版本、备注、IP类型信息。', - 'description' => '本接口用于查询所有DDoS高防实例的ID、版本、备注、IP类型信息。'."\n" - ."\n" - .'### QPS限制'."\n" - ."\n" - .'本接口的单用户QPS限制为10次/秒。超过限制,API调用将会被限流,这可能影响您的业务,请合理调用。', - 'requestParamsDescription' => '调用API时,除了本文中该API的请求参数,还需加入阿里云API公共请求参数。公共请求参数的详细介绍,请参见[公共参数](~~157269~~)。'."\n" - ."\n" - .'调用API的请求格式,请参见本文**示例**中的请求示例。', + 'title' => '为定制场景策略添加防护对象', + 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeInstanceStatus' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:36.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'AttachSceneDefenseObject'], + ], ], + 'ramActions' => [], + '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":""}]', + ], + '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' => '要查询的DDoS高防实例的ID。'."\n" - ."\n" - .'> 您可以调用[DescribeInstanceIds](~~157459~~)查询所有DDoS高防(中国内地)或DDoS高防(非中国内地)实例的ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'ddoscoo-cn-6ja1y6p5****', - ], + 'schema' => ['description' => '网站业务的域名。'."\n" + .'> 域名必须已配置网站业务转发规则。您可以调用[DescribeDomains](~~91724~~)查询所有域名。', 'type' => 'string', 'required' => true, 'example' => 'example.aliyundoc.com'], ], [ - 'name' => 'ProductType', + 'name' => 'Config', 'in' => 'query', - 'schema' => [ - 'description' => '要查询的DDoS高防实例的类型。取值:'."\n" - ."\n" - .'- **1**:表示DDoS高防(中国内地)实例。'."\n" - .'- **2**:表示DDoS高防(非中国内地)实例。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '1', - ], + 'schema' => ['description' => '配置网站业务DDoS全局防护策略,具体结构如下。'."\n" + .'- **global_rule_mode**:String类型,可选,DDoS全局防护功能的防护等级。取值:'."\n" + .' - **weak**:宽松'."\n" + .' - **default**:正常'."\n" + .' - **hard**:严格'."\n" + .'- **global_rule_enable**:integer类型,可选,DDoS全局防护功能的开关。取值:'."\n" + .' - **0**:关闭'."\n" + .' - **1**:开启'."\n" + ."\n" + .'配置网站业务DDoS防护自定义防护策略黑/白名单防护策略功能,具体结构如下。'."\n" + .'- **bwlist_enable**:integer类型,可选,自定义防护策略黑/白名单开关。取值:'."\n" + .' - **0**:关闭'."\n" + .' - **1**:开启', 'type' => 'string', 'required' => true, 'example' => '{"global_rule_mode":"hard"}'], + ], + [ + 'name' => 'Cluster', + 'in' => 'query', + 'schema' => ['description' => '暂无使用', 'type' => 'string', 'required' => false, 'example' => 'default'], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'InstanceStatus' => [ - 'description' => 'DDoS高防实例的状态。取值:'."\n" - ."\n" - .'- **1**:表示正常。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => '112777CC-2AD6-46FC-A263-00B931406FCD', - ], - 'InstanceId' => [ - 'description' => 'DDoS高防实例的ID。', - 'type' => 'string', - 'example' => 'ddoscoo-cn-6ja1y6p5****', - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。', 'type' => 'string', 'example' => '9728769F-9466-534E-BE12-CAB29A675828'], ], ], ], ], - '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' => '查询指定的正常状态的DDoS高防实例', - 'summary' => '查询指定的DDoS高防实例的状态。', - 'requestParamsDescription' => '调用API时,除了本文中该API的请求参数,还需加入阿里云API公共请求参数。公共请求参数的详细介绍,请参见[公共参数](~~157269~~)。'."\n" - ."\n" - .'调用API的请求格式,请参见本文**示例**中的请求示例。', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'DescribeElasticBandwidthSpec' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'title' => '配置网站业务DDoS防护', + 'summary' => '配置DDoS全局防护策略的开关和等级。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"9728769F-9466-534E-BE12-CAB29A675828\\"\\n}","type":"json"}]', + ], + 'ConfigL7GlobalRule' => [ + 'summary' => '配置DDoS全局防护策略。', + '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' => 'DDoS高防实例的ID。'."\n" - .'> 您可以调用[DescribeInstanceIds](~~157459~~)查询所有DDoS高防实例的ID信息。', - 'type' => 'string', - 'required' => true, - 'example' => 'ddoscoo-cn-mp91j1ao****', - ], + 'schema' => ['description' => '要操作的网站业务的域名。', 'type' => 'string', 'required' => true, 'example' => 'example.com'], + ], + [ + 'name' => 'RuleAttr', + 'in' => 'query', + 'schema' => ['description' => '配置全局模板规则动作和开关。使用JSON结构体数组转化的字符串格式表示,JSON结构体包含以下字段:'."\n" + ."\n" + .' - **RuleId**:String类型 | 必选 | 规则ID。'."\n" + .' - **Action**:String类型 | 必选 | 规则动作。取值:'."\n" + .' - **block**:拦截。'."\n" + .' - **watch**:观察。'."\n" + .' - **challenge**:挑战。'."\n" + .' - **Enabled**:Integer类型 | 必选 | 规则开关。取值:'."\n" + .' - **1**:开启规则。'."\n" + .' - **0**:关闭规则。', 'type' => 'string', 'required' => true, 'example' => '[{\\"RuleId\\":\\"global_01\\",\\"Action\\":\\"block\\",\\"Enabled\\":0}]'], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc', - ], - 'ElasticBandwidthSpec' => [ - 'description' => '可选的弹性防护带宽规格列表。单位:Gbps。', - 'type' => 'array', - 'items' => [ - 'description' => '弹性防护带宽规格。', - 'type' => 'string', - 'example' => '5', - ], - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'], ], ], ], ], - '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' => '查询指定实例的弹性带宽规格', - 'summary' => '查询DDoS高防(中国内地)实例的可选弹性防护带宽规格。', - 'description' => '> 该接口仅适用于DDoS高防(中国内地)服务。', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'DescribeInstanceStatistics' => [ - 'methods' => [ - 'post', - 'get', + 'staticInfo' => ['returnType' => 'synchronous'], + 'gatewayOptions' => [ + 'gatewayProtocols' => [], ], - 'schemes' => [ - 'http', - 'https', + 'title' => '配置DDoS全局防护策略', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:ConfigL7GlobalRule', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\"\\n}","type":"json"}]', + ], + 'ConfigL7RsPolicy' => [ + 'summary' => '为已经创建的网站业务转发规则设置回源策略。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -844,32 +588,54 @@ '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' => '要查询的DDoS高防实例的ID。'."\n" - .'> 您可以调用[DescribeInstanceIds](~~157459~~)查询所有DDoS高防实例的ID信息。', - 'type' => 'array', - 'items' => [ - 'description' => '要查询的DDoS高防实例的ID。N的最大值:200,即最多可配置200个DDoS高防实例,实例ID之间用半角逗号(,)隔开。'."\n" - .'> 您可以调用[DescribeInstanceIds](~~157459~~)查询所有DDoS高防实例的ID信息。', - 'type' => 'string', - 'required' => false, - 'example' => 'ddoscoo-cn-mp91j1ao****', - ], - 'required' => true, - 'example' => 'ddoscoo-cn-mp91j1ao****', - 'maxItems' => 100, - ], + 'schema' => ['description' => 'DDoS高防实例在资源管理产品中所属的资源组ID。默认为空,即属于默认资源组。'."\n" + ."\n" + .'关于资源组的更多信息,请参见[创建资源组](~~94485~~)。', 'type' => 'string', 'required' => false, 'example' => 'rg-acfm2pz25js****'], + ], + [ + 'name' => 'Domain', + 'in' => 'query', + 'schema' => ['description' => '要操作的网站业务的域名。'."\n" + ."\n" + .'> 域名必须已经配置过网站业务转发规则。您可以调用[DescribeDomains](~~91724~~)查询所有已经配置过网站业务转发规则的域名。'."\n", 'type' => 'string', 'required' => true, 'example' => 'www.aliyun.com'], + ], + [ + 'name' => 'Policy', + 'in' => 'query', + 'schema' => ['description' => '回源策略。使用JSON结构体转化的字符串格式表示,JSON结构体包含以下字段:'."\n" + ."\n" + .' - **ProxyMode**:String类型 | 必选 | 回源负载均衡算法。取值:'."\n" + .' - **ip_hash**:表示IP Hash算法。根据请求来源IP进行HASH映射,将同一个IP的所有请求定向到一个源站服务器。'."\n" + .' - **rr**:表示轮询算法。将所有请求轮流分配给不同源站服务器。使用该算法时,您可以根据不同服务器的性能为服务器设置权重。'."\n" + .' - **least_time**:表示Least Time算法。该算法通过智能DNS解析能力,保证业务流量从接入防护节点到转发回源站服务器整个链路的时延最短。'."\n" + .'- **Attributes**:JSONArray类型 | 可选 | 回源参数信息。数组中每个元素包含以下字段:'."\n" + .' - **RealServer**:String类型 | 可选 | 源站服务器地址。'."\n" + .' - **Attribute**:JSONObject类型 | 可选 | 回源参数。包含以下字段:'."\n" + .' - **Weight**:Integer类型 | 可选 | 服务器的权重。仅在使用轮询算法(**ProxyMode**为**rr**)时生效。权重取值范围:**1**~**100**,默认值为**100**。权重越高的服务器分配到的请求越多。'."\n" + .' - **ConnectTimeout**:Integer类型 | 可选 | 新建连接超时时间。值范围**1**~**10**秒,默认值为**5**。'."\n" + .' - **FailTimeout**:Integer类型 | 可选 | 失效时间,单位秒。值范围**1**~**3600**秒,默认值为**10**。'."\n" + .' - **MaxFails**:Integer类型 | 可选 | 最大失败次数,健康检查相关。值范围**1**~**10**秒,默认值为**3**。'."\n" + .' - **Mode**:String类型 | 可选 | 主备属性标志。取值:**active**为主。**backup**为备。'."\n" + .' - **ReadTimeout**:Integer类型 | 可选 | 读超时时间。值范围**10**~**300**秒,默认值为**120**。'."\n" + .' - **SendTimeout**:Integer类型 | 可选 | 写超时时间。值范围**10**~**300**秒,默认值为**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}}]}'], + ], + [ + 'name' => 'UpstreamRetry', + 'in' => 'query', + 'schema' => ['description' => '回源重试开关。取值:'."\n" + ."\n" + .'- **1**:回源重试开。'."\n" + .'- **0**:回源重试关。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'default' => '1'], ], ], 'responses' => [ @@ -877,267 +643,137 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。', - 'type' => 'string', - 'example' => '642319A9-D1F2-4459-A447-E57CFC599FDE', - ], - 'InstanceStatistics' => [ - 'description' => 'DDoS高防实例的统计信息。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'DomainUsage' => [ - 'description' => '已防护的域名数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'DefenseCountUsage' => [ - 'description' => '本月已用高级防护次数。'."\n" - ."\n" - .'> 只有DDoS高防(非中国内地)实例拥有该属性。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'InstanceId' => [ - 'description' => 'DDoS高防实例ID。', - 'type' => 'string', - 'example' => 'ddoscoo-cn-mp91j1ao****', - ], - 'SiteUsage' => [ - 'description' => '已防护的站点数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'PortUsage' => [ - 'description' => '已防护的端口数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - ], - ], - ], + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc'], ], + 'description' => '', ], ], ], - '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' => '查询指定实例的统计信息', - 'summary' => '查询DDoS高防实例的统计信息,例如已防护的域名、端口数量等。', - 'requestParamsDescription' => ' ', + 'title' => '为转发规则设置回源策略', + 'description' => '如果接入DDoS高防的网站配置了多个源站服务器,您可以通过回源策略修改回源负载算法。默认使用IP Hash算法,支持修改为轮询或Leaset Time算法。具体说明请参见请求参数**Policy**的描述。', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeInstances' => [ - 'summary' => '查询DDoS高防实例的详情列表。', - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2024-05-09T09:53:17.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2022-09-08T03:34:35.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ConfigL7RsPolicy'], + ], ], + 'ramActions' => [], + '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":""}]', + ], + 'ConfigL7UsKeepalive' => [ + 'summary' => '配置域名回源长连接设置。', + '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' => 'DDoS高防实例在资源管理服务中所属的资源组ID。'."\n" - ."\n" - .'不设置该参数表示默认资源组。', - 'type' => 'string', - 'required' => false, - 'example' => 'rg-acfm2pz25js****', - ], + 'schema' => ['description' => '网站业务的域名。'."\n" + .'> 域名必须已配置网站业务转发规则。您可以调用[DescribeDomains](~~91724~~)查询所有域名。', 'type' => 'string', 'required' => false, 'example' => 'www.aliyun.com'], ], [ - 'name' => 'PageNumber', + 'name' => 'UpstreamKeepalive', 'in' => 'query', - 'schema' => [ - 'description' => '分页查询时,设置当前页面的页码。', - 'type' => 'string', - 'required' => true, - 'example' => '1', - ], + 'schema' => ['description' => '高防回源长连接设置参数,使用JSON结构体转化的字符串格式表示,JSON结构体包含以下字段:'."\n" + ."\n" + .'- **enabled**:Boolean类型 | 必选 | 回源长连接配置开关。'."\n" + .'- **keepalive_requests**:Integer类型 | 必选 | 长连接复用的请求数量。'."\n" + .'- **keepalive_timeout**:Integer类型 | 必选 | 长连接的空闲超时时间。', 'type' => 'string', 'required' => true, 'example' => '{"enabled": true, "keepalive_requests": 1000,"keepalive_timeout": 30}'], ], [ - 'name' => 'PageSize', + 'name' => 'DownstreamKeepalive', 'in' => 'query', - 'schema' => [ - 'description' => '分页查询时,设置每页包含实例的数量。取值范围:1~50。', - 'type' => 'string', - 'required' => true, - 'example' => '10', - ], + 'schema' => ['description' => '客户端跟高防长连接的空闲超时时间', 'type' => 'string', 'required' => false, 'example' => '60'], ], - [ - 'name' => 'Ip', - 'in' => 'query', + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '要查询的DDoS高防实例的IP地址。', - 'type' => 'string', - 'required' => false, - 'example' => '203.107.XX.XX', - ], - ], - [ - 'name' => 'Remark', - 'in' => 'query', - 'schema' => [ - 'description' => '要查询的DDoS高防实例的备注。支持模糊查询。', - 'type' => 'string', - 'required' => false, - 'example' => 'doc-test', - ], - ], - [ - 'name' => 'Edition', - 'in' => 'query', - 'schema' => [ - 'description' => '要查询的DDoS高防实例的防护套餐版本。取值:'."\n" - ."\n" - .'- **0**:表示DDoS高防(非中国内地)保险版。'."\n" - .'- **1**:表示DDoS高防(非中国内地)无忧版。'."\n" - .'- **2**: 表示DDoS高防(非中国内地)加速线路。'."\n" - .'- **9**:表示DDoS高防(中国内地)专业版。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '9', - ], - ], - [ - 'name' => 'Enabled', - 'in' => 'query', - 'schema' => [ - 'description' => '要查询的DDoS高防实例的业务流量转发状态。取值:'."\n" - ."\n" - .'- **0**:表示已停止转发业务流量。'."\n" - .'- **1**:表示正常转发业务流量。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], - ], - [ - 'name' => 'ExpireStartTime', - 'in' => 'query', - 'schema' => [ - 'description' => '要查询的DDoS高防实例的最早到期时间(即查询到期时间在**ExpireStartTime**之后的DDoS高防实例)。使用时间戳表示,单位:毫秒。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1640361500000', - ], - ], - [ - 'name' => 'ExpireEndTime', - 'in' => 'query', - 'schema' => [ - 'description' => '要查询的DDoS高防实例的最晚到期时间(即查询到期时间在**ExpireEndTime**之前的DDoS高防实例)。使用时间戳表示,单位:毫秒。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1640361700000', + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。', 'type' => 'string', 'example' => '6D48AED0-41DB-5D9B-B484-3B6AAD312AW2'], + ], ], ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '配置域名回源长连接设置', + 'changeSet' => [ + ['createdAt' => '2025-09-19T08:52:35.000Z', 'description' => '请求参数发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ [ - 'name' => 'InstanceIds', - 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => '要查询的DDoS高防实例的ID列表。最多可配置200个DDoS高防实例。', - 'type' => 'array', - 'items' => [ - 'description' => '要查询的DDoS高防实例的ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'ddoscoo-cn-7pp2g9ed****', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:ConfigL7RsKeepalive', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], ], - 'required' => false, - 'maxItems' => 100, ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6D48AED0-41DB-5D9B-B484-3B6AAD312AW2\\"\\n}","type":"json"}]', + ], + 'ConfigLayer4Remark' => [ + 'summary' => '为端口转发规则添加备注。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'Status', - 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => '要查询的DDoS高防实例的状态列表。最多可配置2个DDoS高防实例状态。', - 'type' => 'array', - 'items' => [ - 'description' => '要查询的DDoS高防实例的状态。取值:'."\n" - ."\n" - .'- **1**:表示正常。'."\n" - .'- **2**:表示已过期。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], - 'required' => false, - 'maxItems' => 10, - ], + 'AK' => [], ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '106053', + 'abilityTreeNodes' => ['FEATUREddosN7DYCX'], + ], + 'parameters' => [ [ - 'name' => 'Tag', + 'name' => 'Listeners', 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => '要查询的DDoS高防实例绑定的标签列表。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Key' => [ - 'description' => '要查询的DDoS高防实例绑定的标签键。N的最大值:200,即最多可配置200个标签键。配置规则如下:'."\n" - ."\n" - .'- 每个标签包含一个标签键(**Key**)和一个标签值(**Value**),中间用半角逗号(,)隔开。'."\n" - .'- 标签之间用半角逗号(,)隔开。'."\n" - ."\n" - .'> 标签键(**Key**)和标签值(**Value**)必须成对出现。', - 'type' => 'string', - 'required' => false, - 'example' => 'test-key', - ], - 'Value' => [ - 'description' => '要查询的DDoS高防实例绑定的标签值。N的最大值:200,即最多可配置200个标签值。配置规则如下:'."\n" - ."\n" - .'- 每个标签包含一个标签键(**Key**)和一个标签值(**Value**),中间用半角逗号(,)隔开。'."\n" - .'- 标签之间用半角逗号(,)隔开。'."\n" - ."\n" - .'> 标签键(**Key**)和标签值(**Value**)必须成对出现。', - 'type' => 'string', - 'required' => false, - 'example' => 'test-value', - ], - ], - 'required' => false, - ], - 'required' => false, - 'maxItems' => 20, - ], + 'schema' => ['description' => '要设置的端口转发规则。'."\n" + ."\n" + .'该参数使用JSON数组转换的字符串表示。JSON数组的每个元素表示一个已创建的端口转发规则。一次最多可以设置1个端口转发规则。'."\n" + ."\n" + .'> 您可以调用[DescribeNetworkRules](~~157484~~)查询所有已创建的端口转发规则。'."\n" + ."\n" + .'每个端口转发规则包含以下字段:'."\n" + ."\n" + .'- **InstanceId**:String类型,必选,DDoS高防实例的ID。'."\n" + .'- **Protocol**:String类型,必选,端口转发协议类型。取值:**tcp**、**udp**。'."\n" + .'- **FrontendPort**:Integer类型,必选,转发端口。'."\n" + .'- **Remark**:String类型,必选,备注。支持使用中文字符、英文大小写字符、数字及部分特殊字符,例如:`,.+-*/_`。最长不允许超过200个字符。', 'type' => 'string', 'required' => true, 'example' => '[{\\"InstanceId\\":\\"ddosDip-sg-4hr2b3l****\\",\\"FrontendPort\\":2020,\\"Protocol\\":\\"udp\\",\\"Remark\\":\\"test\\"}]'], ], ], 'responses' => [ @@ -1145,179 +781,69 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'TotalCount' => [ - 'description' => '查询到的DDoS高防实例的总数量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'RequestId' => [ - 'description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。', - 'type' => 'string', - 'example' => 'A0AF40CC-814A-5A86-AEAA-6F19E88B8A39', - ], - 'Instances' => [ - 'description' => 'DDoS高防实例的详情列表。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Status' => [ - 'description' => '实例的状态。取值:'."\n" - ."\n" - .'- **1**:表示正常。'."\n" - .'- **2**:表示已过期。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'IpMode' => [ - 'description' => '实例的IP转发模式。取值:'."\n" - ."\n" - .'- **fnat**:表示源站和客户端的IP版本一致,即IPv4地址客户端请求转发到IPv4地址源站、IPv6地址客户端请求转发到IPv6地址源站。'."\n" - .'- **v6tov4**:表示IPv6地址客户端请求转发到IPv4地址源站。', - 'type' => 'string', - 'example' => 'fnat', - ], - 'DebtStatus' => [ - 'description' => '实例的欠费状态。取值固定为**0**,表示不欠费,因为DDoS高防服务目前只支持包年包月的预付费计费方式。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'Edition' => [ - 'description' => '实例的防护套餐版本。取值:'."\n" - ."\n" - .'- **0**:表示DDoS高防(非中国内地)保险版。'."\n" - .'- **1**:表示DDoS高防(非中国内地)无忧版。'."\n" - .'- **2**: 表示DDoS高防(非中国内地)加速线路。'."\n" - .'- **9**:表示DDoS高防(中国内地)专业版。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '9', - ], - 'IpVersion' => [ - 'description' => '实例的IP协议版本。取值:'."\n" - ."\n" - .'- **Ipv4**:表示IPv4协议。'."\n" - .'- **Ipv6**:表示IPv6协议。', - 'type' => 'string', - 'example' => 'Ipv4', - ], - 'ExpireTime' => [ - 'description' => '实例的到期时间。使用时间戳表示,单位:毫秒。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1640361600000', - ], - 'Remark' => [ - 'description' => '实例的备注。', - 'type' => 'string', - 'example' => 'doc-test', - ], - 'CreateTime' => [ - 'description' => '实例的创建时间。使用时间戳表示,单位:毫秒。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1637751953000', - ], - 'Enabled' => [ - 'description' => '实例的业务流量转发状态。取值:'."\n" - ."\n" - .'- **0**:表示已停止转发业务流量。'."\n" - .'- **1**:表示正常转发业务流量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'InstanceId' => [ - 'description' => '实例的ID。', - 'type' => 'string', - 'example' => 'ddoscoo-cn-7pp2g9ed****', - ], - 'IsFirstOpenBw' => [ - 'description' => '实例是否开启过95弹性业务带宽计费模式。取值:'."\n" - ."\n" - .'- 0:表示未开启过。'."\n" - .'- 1:表示开启过。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'IsFirstOpenQps' => [ - 'description' => '实例是否开启过95弹性QPS计费模式。取值:'."\n" - ."\n" - .'- 0:表示未开启过。'."\n" - .'- 1:表示开启过。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'Ip' => [ - 'description' => 'DDoS高防实例的IP。', - 'type' => 'string', - 'example' => '203.199.XX.XX', - ], - ], - ], - ], + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => '6E46CC51-36BE-1100-B14C-DAF8381B8F73'], ], + 'description' => '', ], ], ], - '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' => '分页查询DDoS高防(中国内地)实例信息列表', - 'description' => '本接口用于分页查询当前阿里云账号拥有的DDoS高防实例的详情,例如,实例的ID、版本、到期时间、业务转发状态等。'."\n" - ."\n" - .'### QPS限制'."\n" - ."\n" - .'本接口的单用户QPS限制为10次/秒。超过限制,API调用将会被限流,这可能影响您的业务,请合理调用。', + 'title' => '为端口转发规则添加备注', 'requestParamsDescription' => '调用API时,除了本文中该API的请求参数,还需加入阿里云API公共请求参数。公共请求参数的详细介绍,请参见[公共参数](~~157269~~)。'."\n" ."\n" .'调用API的请求格式,请参见本文**示例**中的请求示例。', - ], - 'DescribeInstanceSpecs' => [ - 'methods' => [ - 'post', - 'get', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:35.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ConfigLayer4Remark'], + ], ], + 'ramActions' => [], + '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":""}]', + ], + 'ConfigLayer4RuleBakMode' => [ + 'summary' => '修改端口转发规则的回源模式(启用或关闭主备回源)。', + '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' => '106054', + 'abilityTreeNodes' => ['FEATUREddosCRC1QI'], ], 'parameters' => [ [ - 'name' => 'InstanceIds', + 'name' => 'BakMode', 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => '要查询的DDoS高防实例的ID列表。', - 'type' => 'array', - 'items' => [ - 'description' => '要查询的DDoS高防实例的ID。'."\n" - ."\n" - .'> 您可以调用[DescribeInstanceIds](~~157459~~)查询所有DDoS高防实例的ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'ddoscoo-cn-zvp2eibz****', - ], - 'required' => true, - 'maxItems' => 100, - ], + 'schema' => ['description' => '设置回源模式。取值:'."\n" + .'- **0**:表示默认回源模式,即DDoS高防将业务流量转发到您调用[CreateNetworkRules](~~157482~~)创建该端口转发规则时指定的源站IP地址。'."\n" + .'- **1**:表示主备回源模式,即DDoS高防将业务流量转发到您调用[ConfigLayer4RulePolicy](~~312684~~)设置的主源站IP地址或备源站IP地址。', 'type' => 'string', 'required' => true, 'example' => '1'], + ], + [ + 'name' => 'Listeners', + 'in' => 'query', + 'schema' => ['description' => '要设置的端口转发规则。'."\n" + ."\n" + .'该参数使用JSON数组转换的字符串表示。JSON数组的每个元素表示一个已创建的端口转发规则。一次最多可以设置1个端口转发规则。'."\n" + ."\n" + .'> 您可以调用[DescribeNetworkRules](~~157484~~)查询所有已创建的端口转发规则。'."\n" + ."\n" + .'每个端口转发规则包含以下字段:'."\n" + ."\n" + .'- **InstanceId**:String类型,必选,DDoS高防实例的ID。'."\n" + .'- **Protocol**:String类型,必选,端口转发协议类型。取值:**tcp**、**udp**。'."\n" + .'- **FrontendPort**:Integer类型,必选,转发端口。', 'type' => 'string', 'required' => true, 'example' => '[{\\"InstanceId\\":\\"ddosDip-sg-4hr2b3l****\\",\\"FrontendPort\\":2020,\\"Protocol\\":\\"udp\\"}]'], ], ], 'responses' => [ @@ -1325,190 +851,78 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。', - 'type' => 'string', - 'example' => '4E3A9B5F-5DDB-593D-A1E6-F1F451DB5E0B', - ], - 'InstanceSpecs' => [ - 'description' => 'DDoS高防实例的规格配置列表。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'BaseBandwidth' => [ - 'description' => '基础防护带宽。单位:Gbps。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '30', - ], - 'QpsLimit' => [ - 'description' => '正常业务QPS。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '3000', - ], - 'BandwidthMbps' => [ - 'description' => '正常业务带宽。单位:Mbps。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '100', - ], - 'ElasticBw' => [ - 'description' => '弹性业务带宽。单位:Mbps。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '300', - ], - 'DefenseCount' => [ - 'description' => '本月可用高级防护的次数。**-1**表示无限次。'."\n" - ."\n\n" - .'> 只有当请求参数**RegionId**为**ap-southeast-1**(表示查询DDoS高防非中国内地实例)时,才会返回该参数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'SiteLimit' => [ - 'description' => '实例可防护站点的数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '5', - ], - 'PortLimit' => [ - 'description' => '实例可防护端口的数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '50', - ], - 'ElasticBandwidth' => [ - 'description' => '弹性防护带宽。单位:Gbps。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '30', - ], - 'FunctionVersion' => [ - 'description' => '实例的功能套餐类型。取值:'."\n" - ."\n" - .'- **default**:表示标准功能套餐。'."\n" - .'- **enhance**:表示增强功能套餐。'."\n" - .'- **cnhk**:表示加速线路。'."\n" - .'- **cnhk_default**:表示安全加速线路标准功能。'."\n" - .'- **cnhk_enhance**:表示安全加速线路增强功能。'."\n", - 'type' => 'string', - 'example' => 'default', - ], - 'InstanceId' => [ - 'description' => '实例ID。', - 'type' => 'string', - 'example' => 'ddoscoo-cn-zvp2eibz****', - ], - 'DomainLimit' => [ - 'description' => '实例可防护域名的数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '50', - ], - 'ElasticBwModel' => [ - 'description' => '实例的弹性业务带宽的计费模式。取值:'."\n" - ."\n" - .'- **day**:表示日95计费模式。'."\n" - .'- **month**:表示月95计费模式。', - 'type' => 'string', - 'example' => 'day', - ], - 'CpsLimit' => [ - 'description' => '实例的新建连接数规格。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '5000', - ], - 'ConnLimit' => [ - 'description' => '实例的并发连接数规格。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '100000', - ], - 'RealLimitBw' => [ - 'description' => '实例业务带宽限速值。取值:0~15360,0表示不限速。单位:mbps。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'ElasticQpsMode' => [ - 'description' => '实例的弹性QPS的计费模式。取值:'."\n" - ."\n" - .'- **day**:表示日95计费模式。'."\n" - .'- **month**:表示月95计费模式。', - 'type' => 'string', - 'example' => 'day', - ], - 'ElasticQps' => [ - 'description' => '弹性QPS。单位:Qps。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', - ], - ], - ], - ], + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'CC042262-15A3-4A49-ADF0-130968EA47BC'], ], + 'description' => '', ], ], ], - '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' => '查询DDoS高防实例的规格信息', - 'summary' => '查询DDoS高防实例的规格配置。', - 'description' => '本接口用于批量查询DDoS高防实例的规格配置,例如,实例的业务带宽、防护带宽、功能套餐版本、支持防护的域名和端口数量等。'."\n" - ."\n" - .'### QPS限制'."\n" - ."\n" - .'本接口的单用户QPS限制为10次/秒。超过限制,API调用将会被限流,这可能影响您的业务,请合理调用。', + 'title' => '修改端口转发规则的回源模式', 'requestParamsDescription' => '调用API时,除了本文中该API的请求参数,还需加入阿里云API公共请求参数。公共请求参数的详细介绍,请参见[公共参数](~~157269~~)。'."\n" ."\n" .'调用API的请求格式,请参见本文**示例**中的请求示例。', - ], - 'DescribeInstanceDetails' => [ - 'methods' => [ - 'post', - 'get', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:35.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ConfigLayer4RuleBakMode'], + ], ], + 'ramActions' => [], + '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":""}]', + ], + 'ConfigLayer4RulePolicy' => [ + 'summary' => '为端口转发规则设置主、备源站IP地址。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeCode' => '106149', - 'abilityTreeNodes' => [ - 'FEATUREddosMHU3MF', - ], + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '106055', + 'abilityTreeNodes' => ['FEATUREddosCRC1QI'], ], 'parameters' => [ [ - 'name' => 'InstanceIds', + 'name' => 'Listeners', 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => '要查询的DDoS高防实例的ID列表。', - 'type' => 'array', - 'items' => [ - 'description' => '要查询的DDoS高防实例的ID。'."\n" - ."\n" - .'> 您可以调用[DescribeInstanceIds](~~157459~~)查询所有DDoS高防实例的ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'ddoscoo-cn-zvp2eibz****', - ], - 'required' => true, - 'maxItems' => 100, - ], + 'schema' => ['description' => '设置端口转发规则。'."\n" + ."\n" + .'该参数使用JSON数组转换的字符串表示。JSON数组的每个元素表示一个已创建的端口转发规则。一次最多可以设置1个端口转发规则。'."\n" + ."\n" + .'> 您可以调用[DescribeNetworkRules](~~157484~~)查询所有已创建的端口转发规则。'."\n" + ."\n" + .'每个端口转发规则包含以下字段:'."\n" + ."\n" + .'- **InstanceId**:String类型,必选,DDoS高防实例的ID。'."\n" + .'- **Protocol**:String类型,必选,转发协议类型。取值:**tcp**、**udp**。'."\n" + .'- **FrontendPort**:Integer类型,必选,转发端口。'."\n" + .'- **BackendPort**:Integer类型,必选,源站端口。'."\n" + .'- **PriRealServers**:JSON数组类型,必选,主源站IP地址列表。JSON数组的每个元素表示一个主源站IP地址。最多支持设置20个主源站IP地址。'."\n" + ."\n" + .' 每个主源站IP地址包含以下字段:'."\n" + ."\n" + .' - **RealServer**:String类型,必选,主源站IP地址。'."\n" + ."\n" + .'- **SecRealServers**:JSON数组类型,必选,备源站IP地址列表。JSON数组的每个元素表示一个备源站IP地址。最多支持设置20个备源站IP地址。'."\n" + ."\n" + .' 每个备源站IP地址包含以下字段:'."\n" + .' '."\n" + .' - **RealServer**:String类型,必选,备源站IP地址。'."\n" + .' '."\n" + .'- **CurrentRsIndex**:Integer类型,必选,要生效的源站类型。取值:'."\n" + .' - **1**:表示主源站设置生效(DDoS高防将业务流量转发到主源站IP地址)。'."\n" + .' - **2**:表示备源站设置生效(DDoS高防将业务流量转发到备源站IP地址)。', '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}]'], ], ], 'responses' => [ @@ -1516,117 +930,33 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。', - 'type' => 'string', - 'example' => '3C814429-21A5-4673-827E-FDD19DC75681', - ], - 'InstanceDetails' => [ - 'description' => 'DDoS高防实例的IP和线路信息。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Line' => [ - 'description' => 'DDoS高防实例的防护线路。', - 'type' => 'string', - 'example' => 'coop-line-001', - ], - 'InstanceId' => [ - 'description' => 'DDoS高防实例ID。', - 'type' => 'string', - 'example' => 'ddoscoo-cn-zvp2eibz****', - ], - 'EipInfos' => [ - 'description' => 'DDoS高防实例的IP信息。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Status' => [ - 'description' => 'DDoS高防IP的状态。取值:'."\n" - ."\n" - .'- **normal**:表示正常。'."\n" - .'- **expired**:表示已过期。'."\n" - .'- **defense**:表示清洗中。'."\n" - .'- **blackhole**:表示黑洞中。'."\n" - .'- **punished**:表示处罚中。', - 'type' => 'string', - 'example' => 'normal', - ], - 'IpMode' => [ - 'description' => 'IP转发模式。取值:'."\n" - ."\n" - .'- **fnat**:表示源站和客户端的IP版本一致,即IPv4地址客户端请求转发到IPv4地址源站、IPv6地址客户端请求转发到IPv6地址源站。'."\n" - .'- **v6tov4**:表示IPv6地址客户端请求转发到IPv4地址源站。'."\n", - 'type' => 'string', - 'example' => 'fnat', - ], - 'Eip' => [ - 'description' => 'DDoS高防IP地址。', - 'type' => 'string', - 'example' => '203.117.XX.XX', - ], - 'IpVersion' => [ - 'description' => 'IP协议版本。取值:'."\n" - ."\n" - .'- **Ipv4**:表示IPv4协议。'."\n" - .'- **Ipv6**:表示IPv6协议。'."\n", - 'type' => 'string', - 'example' => 'Ipv4', - ], - 'CertConfigured' => [ - 'description' => '是否配置了自定义证书。', - 'type' => 'boolean', - 'example' => 'true', - ], - 'TlsVersion' => [ - 'description' => '自定义配置的TLS版本。', - 'type' => 'string', - 'example' => 'tls1.2', - ], - 'Ssl13Enabled' => [ - 'description' => '是否支持TLS1.3版本。', - 'type' => 'boolean', - 'example' => 'false', - ], - 'FunctionVersion' => [ - 'description' => '实例类型。', - 'type' => 'string', - 'example' => 'default', - ], - ], - ], - ], - ], - ], - ], + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'CC042262-15A3-4A49-ADF0-130968EA47BC'], ], + 'description' => '', ], ], ], - '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' => '查询DDoS高防实例的IP和线路信息', - 'summary' => '查询DDoS高防实例的IP和线路信息。', - 'description' => '本接口用于查询DDoS高防实例的IP和线路信息,例如,实例的IP地址、状态、防护线路等。'."\n" - ."\n" - .'### QPS限制'."\n" - ."\n" - .'本接口的单用户QPS限制为10次/秒。超过限制,API调用将会被限流,这可能影响您的业务,请合理调用。', + 'title' => '配置4层规则策略', 'requestParamsDescription' => '调用API时,除了本文中该API的请求参数,还需加入阿里云API公共请求参数。公共请求参数的详细介绍,请参见[公共参数](~~157269~~)。'."\n" ."\n" .'调用API的请求格式,请参见本文**示例**中的请求示例。', - ], - 'ModifyElasticBizQps' => [ - 'summary' => '设置DDoS高防实例的弹性QPS和模式。', - 'methods' => [ - 'post', - 'get', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:35.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ConfigLayer4RulePolicy'], + ], ], + 'ramActions' => [], + '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":""}]', + ], + 'ConfigNetworkRegionBlock' => [ + 'summary' => '设置针对DDoS高防实例的区域封禁。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1638,48 +968,32 @@ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '172640', - 'abilityTreeNodes' => [ - 'FEATUREddosMHU3MF', - ], + 'abilityTreeCode' => '106056', + 'abilityTreeNodes' => ['FEATUREddosOZ1QOD'], ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'DDoS高防实例的ID。'."\n" - .'> 您可以调用[DescribeInstanceIds](~~157459~~)查询所有DDoS高防实例的ID信息。', - 'type' => 'string', - 'required' => true, - 'example' => 'ddoscoo-cn-mp91j1ao****', - ], - ], - [ - 'name' => 'Mode', - 'in' => 'query', - 'schema' => [ - 'description' => '弹性QPS的计费模式。取值:'."\n" - .'- **month**:月95模式'."\n" - .'- **day**:日95模式', - 'type' => 'string', - 'required' => true, - 'example' => 'month', - ], + 'schema' => ['description' => 'DDoS高防实例的ID。'."\n" + .'> 您可以调用[DescribeInstanceIds](~~157459~~)查询所有DDoS高防实例的ID信息。', 'type' => 'string', 'required' => true, 'example' => 'ddoscoo-cn-mp91j1ao****'], ], [ - 'name' => 'OpsElasticQps', + 'name' => 'Config', 'in' => 'query', - 'schema' => [ - 'description' => '弹性QPS值。开启后弹性QPS默认为保底QPS的三倍,但不能超过弹性QPS最大值:'."\n" - .'- **DDoS高防(中国内地)IPv4实例**:最大为300,000 QPS 。'."\n" - .'- **DDoS高防(中国内地)IPv6实例**:最大为100,000 QPS 。'."\n" - .'- **DDoS高防(非中国内地)实例**:最大为150,000 QPS 。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '300000', - ], + 'schema' => ['description' => '区域封禁的配置信息,使用JSON格式的字符串表述,具体结构如下。'."\n" + .'- **RegionBlockSwitch**:String类型,必选,区域封禁的开关状态。取值:'."\n" + .' - **on**:开启'."\n" + .' - **off**:关闭'."\n" + .'- **Countries**:Array类型,可选,要封禁的国际地域代码列表。'."\n" + .' > 关于国际地域代码的详细信息,请参见[地域类型参数取值说明](~~167926~~)。'."\n" + .'。'."\n" + ."\n" + .'- **Provinces**:Array类型,可选,要封禁的中国地域代码列表。'."\n" + ."\n" + .' > 关于中国地域代码的详细信息,请参见[地域类型参数取值说明](~~167926~~)。'."\n" + ."\n" + .' 例如,`[11,12]`表示北京市和天津市。', '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]}'], ], ], 'responses' => [ @@ -1687,393 +1001,313 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。', - 'type' => 'string', - 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc', - ], + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E'], ], + 'description' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}","type":"json"}]', - 'title' => '修改指定实例的弹性QPS', - 'description' => '支持IPV4和IPV6实例开启弹性QPS。', - ], - 'ModifyQpsMode' => [ - 'summary' => '切换弹性业务带宽的95计费模式。', - 'methods' => [ - 'post', - 'get', + 'title' => '设置针对DDoS高防实例的区域封禁', + 'requestParamsDescription' => '调用API时,除了本文中该API的请求参数,还需加入阿里云API公共请求参数。公共请求参数的详细介绍,请参见[公共参数](~~157269~~)。'."\n" + ."\n" + .'调用API的请求格式,请参见本文**示例**中的请求示例。', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:35.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ConfigNetworkRegionBlock'], + ], ], + 'ramActions' => [], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E\\"\\n}","errorExample":""},{"type":"xml","example":"\\n C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E\\n","errorExample":""}]', + ], + 'ConfigNetworkRules' => [ + 'summary' => '修改源站IP地址。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '169181', - 'abilityTreeNodes' => [ - 'FEATUREddosMHU3MF', - ], + 'abilityTreeCode' => '106057', + 'abilityTreeNodes' => ['FEATUREddos64TBV6'], ], 'parameters' => [ [ - 'name' => 'InstanceId', - 'in' => 'query', - 'schema' => [ - 'description' => 'DDoS高防实例的ID。'."\n" - .'> 您可以调用[DescribeInstanceIds](~~157459~~)查询所有DDoS高防实例的ID信息。', - 'type' => 'string', - 'required' => true, - 'example' => 'ddoscoo-cn-7e225i41****', - ], - ], - [ - 'name' => 'Mode', + 'name' => 'NetworkRules', 'in' => 'query', - 'schema' => [ - 'description' => 'QPS计费模式。取值:'."\n" - .'- **month**:月95模式'."\n" - .'- **day**:日95模式', - 'type' => 'string', - 'required' => true, - 'example' => 'month', - ], + 'schema' => ['description' => '端口转发规则的详细信息,使用JSON格式的字符串表述,具体结构如下。'."\n" + .'- **InstanceId**:String类型,必选,DDoS高防实例ID。'."\n" + .'- **Protocol**:String类型,必选,转发协议类型。取值:**tcp**、**udp**。'."\n" + .'- **FrontendPort**:Integer类型,必选,转发端口。'."\n" + .'- **BackendPort**:Integer类型,必选,源站端口。'."\n" + .'- **RealServers**:JSON数组类型,必选,源站IP地址列表。最多支持20个IP地址。'."\n" + ."\n" + .'> 编辑端口转发规则时,只可以修改**RealServers**,即源站IP地址。', '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"]}]'], ], ], 'responses' => [ 200 => [ - 'headers' => [], 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。', - 'type' => 'string', - 'example' => '48859E14-A9FB-4100-99FF-AAB75CA46776', - ], + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'CC042262-15A3-4A49-ADF0-130968EA47BC'], ], + 'description' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"48859E14-A9FB-4100-99FF-AAB75CA46776\\"\\n}","type":"json"}]', - 'title' => '切换弹性QPS计费模式', - ], - 'DescribeInstanceExt' => [ - 'summary' => '查询DDoS高防实例的扩展信息。', - 'methods' => [ - 'post', - 'get', + 'title' => '编辑端口转发规则', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:35.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ConfigNetworkRules'], + ], ], + 'ramActions' => [], + '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":""}]', + ], + 'ConfigUdpReflect' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREddosMHU3MF', - ], + 'abilityTreeCode' => '106059', + 'abilityTreeNodes' => ['FEATUREddosN7DYCX'], ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'DDoS高防实例的ID。'."\n" - .'> 您可以调用[DescribeInstanceIds](~~157459~~)查询所有DDoS高防实例的ID信息。', - 'type' => 'string', - 'required' => false, - 'example' => 'ddoscoo-cn-i7m25564****', - ], + 'schema' => ['description' => '要操作的DDoS高防实例的ID。'."\n" + ."\n" + .'> 您可以调用[DescribeInstanceIds](~~157459~~)查询所有DDoS高防实例的ID。', 'type' => 'string', 'required' => true, 'example' => 'ddoscoo-cn-i7m25564****'], ], [ - 'name' => 'PageNumber', + 'name' => 'Config', 'in' => 'query', - 'schema' => [ - 'description' => '分页查询请求时返回的页码。例如,查询第一页的返回结果,则填写**1**。', - 'type' => 'string', - 'required' => false, - 'example' => '1', - 'default' => '1', - ], + 'schema' => ['description' => '要添加的UDP反射攻击防护策略的配置。'."\n" + ."\n" + .'该参数使用JSON结构体转换的字符串表示。JSON结构体包含以下字段:'."\n" + ."\n" + .'- **UdpSports**:Array类型,必选,要封禁的UDP反射源端口,示例:`[17,19]`。'."\n" + ."\n" + .' 推荐您封禁以下常见的UDP反射攻击的源端口:'."\n" + ."\n" + .' - UDP 17:QOTD反射攻击'."\n" + .' - UDP 19:CharGEN反射攻击'."\n" + .' - UDP 69:TFTP反射攻击'."\n" + .' - UDP 111:Portmap反射攻击'."\n" + .' - UDP 123:NTP反射攻击'."\n" + .' - UDP 137:NetBIOS反射攻击'."\n" + .' - UDP 161:SNMPv2反射攻击'."\n" + .' - UDP 389:CLDAP反射攻击'."\n" + .' - UDP 1194:OpenVPN反射攻击'."\n" + .' - UDP 1900:SSDP反射攻击'."\n" + .' - UDP 3389:RDP反射攻击'."\n" + .' - UDP 11211:Memcached反射攻击', 'type' => 'string', 'required' => true, 'example' => '{\\"UdpSports\\":[17,19]}'], ], [ - 'name' => 'PageSize', + 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '分页查询时,设置每页包含实例的数量。', - 'type' => 'string', - 'required' => false, - 'example' => '10', - 'default' => '10', - ], + 'schema' => ['description' => 'DDoS高防实例所属地域ID。取值:'."\n" + ."\n" + .'- **cn-hangzhou**(默认):表示中国内地,即DDoS高防(中国内地)实例。'."\n" + .'- **ap-southeast-1**:表示非中国内地,即DDoS高防(非中国内地)实例。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。', - 'type' => 'string', - 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80', - ], - 'InstanceExtSpecs' => [ - 'description' => 'DDoS高防实例的扩展信息。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'InstanceId' => [ - 'description' => '实例ID。', - 'type' => 'string', - 'example' => 'ddoscoo-cn-i7m25564****'."\n", - ], - 'NormalBandwidth' => [ - 'description' => '业务带宽。单位:Mbps。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '100', - ], - 'FunctionVersion' => [ - 'description' => '功能版本,取值:'."\n" - ."\n" - .'- **0**:标准版'."\n" - .'- **1**:增强版', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'ServicePartner' => [ - 'description' => '中国内地实例的线路资源。', - 'type' => 'string', - 'example' => 'coop-line-001', - ], - 'ProductPlan' => [ - 'description' => '要查询的DDoS高防实例的类型。取值:'."\n" - ."\n" - .'- **0**:表示DDoS高防(非中国内地)保险版。'."\n" - .'- **1**:表示DDoS高防(非中国内地)无忧版。'."\n" - .'- **2**:表示DDoS高防(非中国内地)加速线路。'."\n" - .'- **3**:表示DDoS高防(非中国内地)安全加速线路。'."\n" - .'- **9**:表示DDoS高防(中国内地)专业版。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - ], - ], - ], - 'TotalCount' => [ - 'description' => '实例总个数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', - ], + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => '9EC62E89-BD30-4FCD-9CB8-FA53865FF0D7'], ], + 'description' => '', ], ], ], - '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' => '查询DDoS高防实例的扩展信息', - ], - 'CreateWebRule' => [ - 'methods' => [ - 'post', - 'get', + 'title' => '配置 UDP 反射攻击防护策略', + 'summary' => '添加UDP反射攻击防护策略,过滤指定的反射源端口。', + 'description' => '本接口用于为DDoS高防实例添加UDP反射攻击防护策略,过滤指定的反射源端口。'."\n" + ."\n" + .'### QPS限制'."\n" + ."\n" + .'本接口的单用户QPS限制为10次/秒。超过限制,API调用将会被限流,这可能影响您的业务,请合理调用。', + 'requestParamsDescription' => '调用API时,除了本文中该API的请求参数,还需加入阿里云API公共请求参数。公共请求参数的详细介绍,请参见[公共参数](~~157269~~)。'."\n" + ."\n" + .'调用API的请求格式,请参见本文**示例**中的请求示例。', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:35.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ConfigUdpReflect'], + ], ], + 'ramActions' => [], + '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":""}]', + ], + 'ConfigWebCCRuleV2' => [ + 'summary' => '创建或编辑网站业务频率控制防护(CC防护)的自定义规则。', + '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' => '198715', + 'abilityTreeNodes' => ['FEATUREddosOZ1QOD'], ], 'parameters' => [ [ - 'name' => 'ResourceGroupId', + 'name' => 'Domain', 'in' => 'query', - 'schema' => [ - 'description' => 'DDoS高防实例在资源管理服务中所属的资源组ID。默认为空,即属于默认资源组。'."\n" - ."\n" - .'关于资源组的更多信息,请参见[创建资源组](~~94485~~)。', - 'type' => 'string', - 'required' => false, - 'example' => 'rg-acfm2pz25js****', - ], + 'schema' => ['description' => '网站业务的域名。'."\n" + .'> 域名必须已配置网站业务转发规则。您可以调用[DescribeDomains](~~91724~~)查询所有域名。', 'type' => 'string', 'required' => true, 'example' => 'www.example.com'], ], [ - 'name' => 'Domain', + 'name' => 'RuleList', 'in' => 'query', - 'schema' => [ - 'description' => '要接入DDoS高防进行防护的网站域名。', - 'type' => 'string', - 'required' => true, - 'example' => 'example.aliyundoc.com', - ], + 'schema' => ['description' => '频率控制规则的配置,使用JSON格式的字符串表述,具体结构如下。'."\n" + .'- **action**:String类型,必选,匹配动作。取值:'."\n" + .' - **block**:封禁'."\n" + .' - **challenge**:挑战'."\n" + .' - **watch**:观察'."\n" + .'- **name**:String类型,必选,规则名称。'."\n" + .'- **condition**:Map类型,必选,匹配条件。具体结构如下。'."\n" + ."\n" + .' > 如果设置了多个匹配条件,则多个条件间是且的关系。'."\n" + ."\n" + .' - **field**:String类型,必选,匹配字段。'."\n" + .' - **match_method**:String类型,必选,匹配方法。'."\n" + .' '."\n" + .' > 关于**field**和**match_method**的取值,请参见请求参数表下的补充描述。'."\n" + ."\n" + .' - **header_name**:String类型,可选,自定义HTTP头部字段名称。'."\n" + ."\n" + .' > 仅在**field**为**header**时有效。'."\n" + ."\n" + .' - **content**:String类型,必选,匹配内容。'."\n" + .'- **ratelimit**:String类型,必选,频率控制字段,可以按照IP或者自定义Header进行频率统计。具体结构如下。'."\n" + .' - **interval**:Integer类型,必选,统计时长(秒)。'."\n" + .' - **ttl**:Integer类型,必选,处置时长(秒)。'."\n" + .' - **threshold**:Integer类型,必选,阈值(次)。'."\n" + .' - **subkey**:String类型,可选,字段名称(仅当统计源为header时设置)。'."\n" + .' - **target**:String类型,必选,统计源,支持ip和header。'."\n" + .'- **status_code**:String类型,可选,频率控制字段,可以根据状态码出现数量或频率进行统计。具体结构如下。'."\n" + .' - **enabled**:Boolean类型,必选,是否开启状态码统计。'."\n" + .' - **code**:Integer类型,必选,状态码,值范围**100**~**599**。'."\n" + .' - **use_ratio**:Boolean类型,必选,为true时使用比率。'."\n" + .' - **ratio_threshold**:Integer类型,可选,状态码出现比率,使用比率时,仅在对应状态码达到 **ratio_threshold** 时触发处置动作,值范围**1**~**100**。'."\n" + .' - **count_threshold**:Integer类型,可选,状态码出现数量,不使用比率时,仅在对应状态码达到 **count_threshold** 时触发处置动作,值范围**2**~**50000**。'."\n" + .'- **statistics**:String类型,可选,去重统计,可缺省(缺省为不去重统计)。具体结构如下。'."\n" + .' - **mode**:String类型,必选,是否开启状态码统计。取值:'."\n" + .' - **count**:不去重统计'."\n" + .' - **distinct**:去重统计'."\n" + .' - **field**:String类型,必选,统计源,去重统计,仅支持ip、header和uri。'."\n" + .' - **header_name**:String类型,可选,字段名称,仅当统计源为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"}]}]'], ], [ - 'name' => 'RsType', + 'name' => 'Expires', 'in' => 'query', + 'schema' => ['description' => '规则有效期。单位:秒。 默认0表示永久生效。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '0'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '源站服务器的地址类型。取值:'."\n" - .'- **0**:表示源站服务器的IP地址。'."\n" - .'- **1**:表示源站服务器的域名地址。通常适用于源站和高防之间还部署有其他代理服务(例如WAF)的场景,具体指代理服务的跳转地址(例如WAF CNAME地址)。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '0', - ], - ], - [ - 'name' => 'Rules', - 'in' => 'query', - 'schema' => [ - 'description' => '网站业务转发规则的详细配置。使用JSON数组转化的字符串格式表示。JSON数组中的每个元素是一个JSON结构体,包含以下字段:'."\n" - ."\n" - .'- **ProxyRules**:JSONArray类型 | 必选 | 源站服务器信息,包括端口号和服务器地址。数组中每个元素是一个JSON结构体,包含以下字段:'."\n" - .' - **ProxyPort**:Integer类型 | 必选 | 协议对应的端口号。'."\n" - .' - **RealServers**:StringArray类型 | 必选 | 服务器地址。'."\n" - ."\n" - .'- **ProxyType**:String类型 | 必选 | 网站协议类型。取值:**http** | **https** | **websocket** | **websockets**。', - 'type' => 'string', - 'required' => true, - 'example' => '[{"ProxyRules":[{"ProxyPort":443,"RealServers":["192.1.XX.XX"]}],"ProxyType":"https"}]', - ], - ], - [ - 'name' => 'HttpsExt', - 'in' => 'query', - 'schema' => [ - 'description' => 'HTTPS高级设置,仅在网站协议类型支持HTTPS(**ProxyType**包含**https**)时生效。使用JSON结构体转化的字符串格式表示,JSON结构体包含以下字段:'."\n" - ."\n" - .'- **Http2https**:Integer类型 | 可选 | 是否开启HTTPS的强制跳转功能,取值:**0**(表示关闭) | **1**(表示开启),默认关闭。'."\n" - ."\n" - .' 适用于您的网站同时支持HTTP和HTTPS协议。开启该设置后,所有HTTP请求将强制转换为HTTPS请求,且默认跳转到443端口。'."\n" - ."\n" - .'- **Https2http**:Integer类型 | 可选 | 是否开启HTTP回源功能,取值:**0**(表示关闭) | **1**(表示开启),默认关闭。'."\n" - ."\n" - .' 适用于您的网站不支持HTTPS回源。开启该设置后,所有HTTPS协议请求将通过HTTP回源(Websockets协议会通过Websocket回源),且默认回源端口为80。'."\n" - ."\n" - .'- **Http2**:Integer类型 | 可选 | 是否启用HTTP2.0协议类型,取值:**0**(表示关闭) | **1**(表示开启),默认关闭。'."\n" - ."\n" - .' 开启该设置后,协议版本为HTTP2.0。', - 'type' => 'string', - 'required' => false, - 'example' => '{"Http2":1,"Http2https":1,"Https2http":1}', - ], - ], - [ - 'name' => 'DefenseId', - 'in' => 'query', - 'schema' => [ - 'description' => '要关联的防护ID。该参数适用于其他云服务(例如对象存储OSS)集成了DDoS高防的场景。'."\n" - ."\n" - .'> 该参数在内部测试中,暂时请勿使用。'."\n" - ."\n" - .'示例:如果您的OSS服务集成了DDoS高防,则高防会为OSS生产账号分配一组IP资源池,每一个IP资源对应唯一的防护ID。防护ID是一个CNAME地址,该CNAME默认解析到对应的高防IP。防护ID(即CNAME)可以通过解析复用同一个IP,便于灵活调度。'."\n" - ."\n" - .'> 不允许同时填写**InstanceIds**和**DefenseId**。', - 'type' => 'string', - 'required' => false, - 'example' => 'testid', - ], - ], - [ - 'name' => 'InstanceIds', - 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => '要关联的DDoS高防实例的ID列表。', - 'type' => 'array', - 'items' => [ - 'description' => '要关联的DDoS高防实例的ID。该参数和DefenseId必须填写一个。'."\n" - ."\n" - .'> 您可以调用[DescribeInstanceIds](~~157459~~)查询所有DDoS高防实例的ID信息。', - 'type' => 'string', - 'required' => false, - 'example' => 'ddoscoo-cn-i7m27nf3****', - ], - 'required' => false, - 'example' => 'ddoscoo-cn-mp91j1ao****', - 'maxItems' => 100, + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => '本次调用请求的 ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。', 'type' => 'string', 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc'], + ], + 'description' => '', ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。', - 'type' => 'string', - 'example' => '9EC62E89-BD30-4FCD-9CB8-FA53865FF0D7', - ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '创建或编辑网站业务频率控制防护(CC防护)的自定义规则', + 'requestParamsDescription' => '**field和match_method的取值及对应关系**'."\n" + ."\n" + .'| 匹配字段(field) | 描述 | 适用的逻辑符(match_method) |'."\n" + .'|-----------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------|'."\n" + .'| **ip** | 访问请求的来源IP。 | **belong** :属于
**nbelong** :不属于
**ipinlist** :在列表中
**ipninlist** :不在列表中 |'."\n" + .'| **uri** | 访问请求的URI地址。 | **contain** :包含
**ncontain** :不包含
**equal** :等于
**nequal** :不等于
**lless** :长度小于
**lequal** :长度等于
**lgreat** :长度大于
**prefix** :前缀匹配
**inlist** :等于多值之一
**ninlist** :不等于多值之一 |'."\n" + .'| **referer** | 访问请求的来源网址,即该访问请求是从哪个页面跳转产生的。 | **contain** :包含
**ncontain** :不包含
**equal** :等于
**nequal** :不等于
**lless** :长度小于
**lequal** :长度等于
**lgreat** :长度大于
**nexist** :不存在
**inlist** :等于多值之一
**ninlist** :不等于多值之一 |'."\n" + .'| **user-agent** | 发起访问请求的客户端的浏览器标识、渲染引擎标识和版本信息等浏览器相关信息。 | **contain** :包含
**ncontain** :不包含
**equal** :等于
**nequal** :不等于
**lless** :长度小于
**lequal** :长度等于
**lgreat** :长度大于
**inlist** :等于多值之一
**ninlist** :不等于多值之一|'."\n" + .'| **params** | 访问请求的URL地址中的参数部分,通常指URL中”?”后面的部分。例如,`demo.aliyundoc.com/index.html?action=login`中的`action=login`就是参数部分。 | **contain** :包含
**ncontain** :不包含
**equal** :等于
**nequal** :不等于
**lless** :长度小于
**lequal** :长度等于
**lgreat** :长度大于
**inlist** :等于多值之一
**ninlist** :不等于多值之一 |'."\n" + .'| **cookie** | 访问请求中的Cookie信息。 | **contain** :包含
**ncontain** :不包含
**equal** :等于
**nequal** :不等于
**lless** :长度小于
**lequal** :长度等于
**lgreat** :长度大于
**nexist** :不存在
**inlist** :等于多值之一
**ninlist** :不等于多值之一|'."\n" + .'| **content-type** | 访问请求指定的响应HTTP内容类型,即MIME类型信息。 | **contain** :包含
**ncontain** :不包含
**equal** :等于
**nequal** :不等于
**lless** :长度小于
**lequal** :长度等于
**lgreat** :长度大于
**inlist** :等于多值之一
**ninlist** :不等于多值之一|'."\n" + .'| **x-forwarded-for** | 访问请求的客户端真实IP。X-Forwarded-For(XFF)用来识别通过HTTP代理或负载均衡方式转发的访问请求的客户端最原始的IP地址的HTTP请求头字段,只有通过HTTP代理或者负载均衡服务器转发的访问请求才会包含该项。 | **contain** :包含
**ncontain** :不包含
**equal** :等于
**nequal** :不等于
**lless** :长度小于
**lequal** :长度等于
**lgreat** :长度大于
**nexist** :不存在
**inlist** :等于多值之一
**ninlist** :不等于多值之一|'."\n" + .'| **content-length** | 访问请求的所包含的字节数。 | **vless** :值小于
**vequal** :值等于
**vgreat** :值大于 |'."\n" + .'| **post-body** | 访问请求的内容信息。 | **contain** :包含
**ncontain** :不包含
**equal** :等于
**nequal** :不等于
**inlist** :等于多值之一
**ninlist** :不等于多值之一|'."\n" + .'| **http-method** | 访问请求的方法,如GET、POST等。 | **equal** :等于
**nequal** :不等于
**inlist** :等于多值之一
**ninlist** :不等于多值之一|'."\n" + .'| **header** | 访问请求的头部信息,用于自定义HTTP头部字段。 | **contain** :包含
**ncontain** :不包含
**equal** :等于
**nequal** :不等于
**lless** :长度小于
**lequal** :长度等于
**lgreat** :长度大于
**nexist** :不存在
**inlist** :等于多值之一
**ninlist** :不等于多值之一|'."\n" + .'| **scheme** | 访问请求协议,如HTTP、HTTPS等。 | **equal** :等于
**nequal** :不等于|'."\n" + .'| **protocol** | 访问请求的HTTP版本,如HTTP/1.0、HTTP/1.1、HTTP/2.0。 |
**equal** :等于
**nequal** :不等于
**inlist** :等于多值之一
**ninlist** :不等于多值之一|'."\n" + .'| **http2-fingerprint** | 访问请求HTTP2.0指纹。 |
**equal** :等于
**nequal** :不等于
**inlist** :等于多值之一
**ninlist** :不等于多值之一|'."\n" + .'| **ja3-fingerprint** | 访问请求JA3指纹 。 |
**equal** :等于
**nequal** :不等于
**inlist** :等于多值之一
**ninlist** :不等于多值之一|'."\n" + .'| **ja4-fingerprint** | 访问请求JA4指纹 。 |
**equal** :等于
**nequal** :不等于
**inlist** :等于多值之一
**ninlist** :不等于多值之一|'."\n" + .'| **area** | 请求大洲/国家 。 |
**areainlist** :区域封禁选择|'."\n" + .'| **uri-path** | 请求URI-Path。 | **contain** :包含
**ncontain** :不包含
**equal** :等于
**nequal** :不等于
**lless** :长度小于
**lequal** :长度等于
**lgreat** :长度大于
**prefix** :前缀匹配
**inlist** :等于多值之一
**ninlist** :不等于多值之一|'."\n" + .'| **cookie-name** | 自定义Cookie。 | **contain** :包含
**ncontain** :不包含
**equal** :等于
**nequal** :不等于
**lless** :长度小于
**lequal** :长度等于
**lgreat** :长度大于
**prefix** :前缀匹配
**inlist** :等于多值之一
**ninlist** :不等于多值之一|'."\n" + .'| **query-parameter** | 自定义请求参数。 | **contain** :包含
**ncontain** :不包含
**equal** :等于
**nequal** :不等于
**lless** :长度小于
**lequal** :长度等于
**lgreat** :长度大于
**prefix** :前缀匹配
**inlist** :等于多值之一
**ninlist** :不等于多值之一|'."\n" + .'| **server-port** | 请求Server-Port。 | **vless** :值小于
**vequal** :值等于
**vgreat** :值大于|', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:ConfigWebCCRuleV2', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"9EC62E89-BD30-4FCD-9CB8-FA53865FF0D7\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 9EC62E89-BD30-4FCD-9CB8-FA53865FF0D7\\n","errorExample":""}]', - 'title' => '创建一条网站业务转发规则', - 'summary' => '创建一条网站业务转发规则。', - 'requestParamsDescription' => '调用API时,除了本文中该API的请求参数,还需加入阿里云API公共请求参数。公共请求参数的详细介绍,请参见[公共参数](~~157269~~)。'."\n" - ."\n" - .'调用API的请求格式,请参见本文**示例**中的请求示例。', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}","type":"json"}]', ], - 'DeleteWebRule' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ConfigWebCCTemplate' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -2082,37 +1316,32 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'delete', - 'abilityTreeCode' => '106091', - 'abilityTreeNodes' => [ - 'FEATUREddos64TBV6', - ], - 'tenantRelevance' => 'publicInformation', + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '106060', + 'abilityTreeNodes' => ['FEATUREddosM9SQC1'], ], 'parameters' => [ [ 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => 'DDoS高防实例在资源管理服务中所属的资源组ID。默认为空,即属于默认资源组。'."\n" - ."\n" - .'关于资源组的更多信息,请参见[创建资源组](~~94485~~)。', - 'type' => 'string', - 'required' => false, - 'example' => 'rg-acfm2pz25js****', - ], + 'schema' => ['description' => 'DDoS高防实例在资源管理产品中所属的资源组ID。默认为空,即属于默认资源组。', 'type' => 'string', 'required' => false, 'example' => 'default'], ], [ 'name' => 'Domain', 'in' => 'query', - 'schema' => [ - 'description' => '要删除的网站业务的域名。'."\n" - ."\n" - .'> 域名必须已配置网站业务转发规则。您可以调用[DescribeDomains](~~91724~~)查询所有已配置网站业务转发规则的域名。', - 'type' => 'string', - 'required' => true, - 'example' => 'www.aliyun.com', - ], + 'schema' => ['description' => '网站业务的域名。'."\n" + .'> 域名必须已配置网站业务转发规则。您可以调用[DescribeDomains](~~91724~~)查询所有域名。', 'type' => 'string', 'required' => true, 'example' => 'www.aliyun.com'], + ], + [ + 'name' => 'Template', + 'in' => 'query', + 'schema' => ['description' => '频率控制防护(CC防护)的防护模式。取值:'."\n" + .'- **default**:正常'."\n" + .'- **gf_under_attack**:攻击紧急'."\n" + .'- **gf_sos_verify**:严格'."\n" + .'- **gf_sos_enhance**:超级严格', 'type' => 'string', 'required' => true, 'example' => 'default'], ], ], 'responses' => [ @@ -2120,155 +1349,82 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => '9EC62E89-BD30-4FCD-9CB8-FA53865FF0D7', - ], + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc'], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"9EC62E89-BD30-4FCD-9CB8-FA53865FF0D7\\"\\n}","type":"json"}]', - 'title' => '删除网站业务转发规则', - 'summary' => '删除网站业务转发规则。', - ], - 'ModifyWebRule' => [ - 'summary' => '修改已经创建的网站业务转发规则。', - 'methods' => [ - 'post', - 'get', + 'title' => '设置网站CC防护的防护模式', + 'summary' => '设置网站业务频率控制防护(CC防护)的防护模式。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:35.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ConfigWebCCTemplate'], + ], ], + 'ramActions' => [], + '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":""}]', + ], + 'ConfigWebIpSet' => [ + 'summary' => '设置针对网站业务的黑名单和白名单IP。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '106271', - 'abilityTreeNodes' => [ - 'FEATUREddosN7DYCX', - ], + 'abilityTreeCode' => '106061', + 'abilityTreeNodes' => ['FEATUREddos64TBV6'], ], 'parameters' => [ [ 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => 'DDoS高防实例在资源管理服务中所属的资源组ID。默认为空,即属于默认资源组。'."\n" - ."\n" - .'关于资源组的更多信息,请参见[创建资源组](~~94485~~)。', - 'type' => 'string', - 'required' => false, - 'example' => 'rg-acfm2pz25js****', - ], + 'schema' => ['description' => 'DDoS高防实例在资源管理产品中所属的资源组ID。默认为空,即属于默认资源组。', 'type' => 'string', 'required' => false, 'example' => 'default'], ], [ 'name' => 'Domain', 'in' => 'query', - 'schema' => [ - 'description' => '要操作的网站业务的域名。'."\n" - ."\n" - .'> 域名必须已经配置过网站业务转发规则。您可以调用[DescribeDomains](~~91724~~)查询所有已经配置过网站业务转发规则的域名。', - 'type' => 'string', - 'required' => true, - 'example' => 'www.aliyun.com', - ], - ], - [ - 'name' => 'ProxyTypes', - 'in' => 'query', - 'schema' => [ - 'description' => '网站业务转发规则的协议信息。使用JSON数组转化的字符串格式表示。JSON数组中的每个元素是一个JSON结构体,包含以下字段:'."\n" - ."\n" - .'- **ProxyType**:String类型 | 必选 | 网站协议类型。取值:**http** | **https** | **websocket** | **websockets**。'."\n" - .'- **ProxyPorts**:array类型 | 必选 | 协议对应的端口号。', - 'type' => 'string', - 'required' => true, - 'example' => '[{"ProxyType":"https","ProxyPorts":[443]}]', - ], - ], - [ - 'name' => 'RsType', - 'in' => 'query', - 'schema' => [ - 'description' => '源站服务器的地址类型。取值:'."\n" - ."\n" - .'- **0**:表示源站服务器的IP地址。'."\n" - .'- **1**:表示源站服务器的域名地址。通常适用于源站和高防之间还部署有其他代理服务(例如WAF)的场景,具体指代理服务的跳转地址(例如WAF CNAME地址)。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '0', - ], - ], - [ - 'name' => 'HttpsExt', - 'in' => 'query', - 'schema' => [ - 'description' => 'HTTPS高级设置,仅在网站协议类型支持HTTPS(**ProxyType**包含**https**)时生效。使用JSON结构体转化的字符串格式表示,JSON结构体包含以下字段:'."\n" - ."\n" - .'- **Http2https**:Integer类型 | 可选 | 是否开启HTTPS的强制跳转功能,取值:**0**(表示关闭) | **1**(表示开启),默认关闭。'."\n" - ."\n" - .' 适用于您的网站同时支持HTTP和HTTPS协议。开启该设置后,所有HTTP请求将强制转换为HTTPS请求,且默认跳转到443端口。'."\n" - ."\n" - .'- **Https2http**:Integer类型 | 可选 | 是否开启HTTP回源功能,取值:**0**(表示关闭) | **1**(表示开启),默认关闭。'."\n" - ."\n" - .' 适用于您的网站不支持HTTPS回源。开启该设置后,所有HTTPS协议请求将通过HTTP回源(Websockets协议会通过Websocket回源),且默认回源端口为80。'."\n" - ."\n" - .'- **Http2**:Integer类型 | 可选 | 是否启用HTTP2.0协议类型,取值:**0**(表示关闭) | **1**(表示开启),默认关闭。'."\n" - ."\n" - .' 开启该设置后,协议版本为HTTP2.0。', - 'type' => 'string', - 'required' => false, - 'example' => '{"Http2":1,"Http2https":1,"Https2http":1}', - ], + 'schema' => ['description' => '网站业务的域名。'."\n" + .'> 域名必须已配置网站业务转发规则。您可以调用[DescribeDomains](~~91724~~)查询所有域名。', 'type' => 'string', 'required' => true, 'example' => 'www.aliyun.com'], ], [ - 'name' => 'RealServers', + 'name' => 'BlackList', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ - 'description' => '源站服务器地址列表。', + 'description' => '黑名单IP地址/地址段列表。N的最大值:200,即最多可配置200个黑名单IP地址/地址段。', 'type' => 'array', - 'items' => [ - 'description' => '源站服务器地址。', - 'type' => 'string', - 'required' => false, - 'example' => '192.XX.XX.2', - ], - 'required' => true, - 'example' => '1.xxx.xxx.1', - 'maxItems' => 20, + 'items' => ['description' => '黑名单IP地址/地址段。', 'type' => 'string', 'required' => false, 'example' => '59.49.*.*'], + 'required' => false, + 'example' => '1.1.1.1', + 'maxItems' => 2000, ], ], [ - 'name' => 'InstanceIds', + 'name' => 'WhiteList', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ - 'description' => '要关联的DDoS高防实例的ID列表。最多支持关联100个实例。', + 'description' => '白名单IP地址/地址段列表。N的最大值:200,即最多可配置200个白名单IP地址/地址段。', 'type' => 'array', - 'items' => [ - 'description' => '要关联的DDoS高防实例的ID。'."\n" - ."\n" - .'> 您可以调用[DescribeInstanceIds](~~157459~~)查询所有DDoS高防实例的ID信息。', - 'type' => 'string', - 'required' => false, - 'example' => 'ddoscoo-cn-i7m27nf3****', - ], + 'items' => ['description' => '白名单IP地址/地址段。', 'type' => 'string', 'required' => false, 'example' => '2.2.*.*/24'], 'required' => false, - 'example' => 'ddoscoo-cn-mp91j1ao****', - 'maxItems' => 20, + 'example' => '2.2.2.2/24', + 'maxItems' => 2000, ], ], ], @@ -2277,35 +1433,31 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => 'CB3261D2-7D1B-4ADA-9E98-A200B2CDA2DC', - ], + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc'], ], + 'description' => '', ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'UpStreamConfigConflict', - 'errorMessage' => 'HTTP upstream and HTTP2.0 upstream conflict.', - ], + 'title' => '设置针对网站业务的黑名单和白名单IP', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2024-02-20T08:09:24.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2022-09-08T03:34:35.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '15', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ConfigWebIpSet'], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CB3261D2-7D1B-4ADA-9E98-A200B2CDA2DC\\"\\n}","type":"json"}]', - 'title' => '修改已经创建的网站业务转发规则', + 'ramActions' => [], + '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":""}]', ], - 'ModifyTlsConfig' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'CreateAsyncTask' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -2314,52 +1466,38 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', - 'abilityTreeCode' => '106258', - 'abilityTreeNodes' => [ - 'FEATUREddos64TBV6', - ], + 'operationType' => 'create', + 'abilityTreeCode' => '106062', + 'abilityTreeNodes' => ['FEATUREddos64TBV6'], + 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => 'DDoS高防实例在资源管理产品中所属的资源组ID。默认为空,即属于默认资源组。', - 'type' => 'string', - 'required' => false, - 'example' => 'default', - ], + 'schema' => ['description' => 'DDoS高防实例在资源管理产品中所属的资源组ID。默认为空,即属于默认资源组。', 'type' => 'string', 'required' => false, 'example' => 'default'], ], [ - 'name' => 'Domain', + 'name' => 'TaskType', 'in' => 'query', - 'schema' => [ - 'description' => '网站业务的域名。'."\n" - .'> 域名必须已配置网站业务转发规则。您可以调用[DescribeDomains](~~91724~~)查询所有域名。', - 'type' => 'string', - 'required' => true, - 'example' => 'example.aliyundoc.com', - ], + 'schema' => ['description' => '要创建的任务类型。取值:'."\n" + .'- **1**:四层导出任务,导出DDoS高防实例的端口转发规则'."\n" + .'- **2**:七层导出任务,导出网站业务转发规则'."\n" + .'- **3**:会话、健康检查导出任务,导出DDoS高防实例的会话、健康检查配置'."\n" + .'- **4**:DDoS防护策略导出任务,导出DDoS高防实例的DDoS防护策略配置'."\n" + .'- **5**:黑名单(针对目的IP)下载任务,导出针对DDoS高防实例的黑名单IP'."\n" + .'- **6**:白名单(针对目的IP)下载任务,导出针对DDoS高防实例的白名单IP', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '5'], ], [ - 'name' => 'Config', + 'name' => 'TaskParams', 'in' => 'query', - 'schema' => [ - 'description' => 'TLS安全策略的详细信息,使用JSON格式的字符串表达,具体结构如下。'."\n" - .'- **ssl_protocols**:String类型,必选,TLS版本。取值:'."\n" - .' - **tls1.0**:支持TLS1.0及以上'."\n" - .' - **tls1.1**:支持TLS1.1及以上'."\n" - .' - **tls1.2**:支持TLS1.2及以上'."\n" - .'- **ssl_ciphers**:String类型,必选,加密套件类型。取值:'."\n" - .' - **all**:全部加密套件,包含强加密套件和弱加密套件'."\n" - .' - **improved**:增强加密套件'."\n" - .' - **strong**:强加密套件'."\n" - .' - **default**:默认,仅包含强加密套件', - 'type' => 'string', - 'required' => true, - 'example' => '{"ssl_protocols":"tls1.0","ssl_ciphers":"all"}', - ], + 'schema' => ['description' => '任务参数信息。使用JSON格式的字符串表达。不同**TaskType**需要传入的任务参数不完全相同。'."\n" + ."\n" + .'**TaskType**为**1**、**3**、**4**、**5**、**6**时,任务参数的结构如下。'."\n" + .'- **instanceId**:String类型,必选,DDoS高防实例的ID。'."\n" + ."\n" + .'**TaskType**为**2**时,任务参数的结构如下。'."\n" + .'- **domain**:String类型,可选,网站业务的域名。不传入表示导出所有网站业务的转发规则。', 'type' => 'string', 'required' => true, 'example' => '{"instanceId": "ddoscoo-cn-mp91j1ao****"}'], ], ], 'responses' => [ @@ -2367,32 +1505,43 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。', - 'type' => 'string', - 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E', - ], + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc'], ], ], ], ], - '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' => '编辑网站业务转发规则的TLS安全策略', - 'summary' => '编辑网站业务转发规则的TLS安全策略。', + 'title' => '创建异步导出任务', + 'summary' => '创建异步导出任务,例如导出网站业务转发规则、端口转发规则、会话保持和健康检查配置、DDoS防护策略、IP黑白名单。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'ModifyHttp2Enable' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:35.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateAsyncTask'], + ], ], - 'security' => [ + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:CreateAsyncTask', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + '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":""}]', + ], + 'CreateDomainResource' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ 'AK' => [], ], @@ -2400,79 +1549,159 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', - 'abilityTreeCode' => '106249', - 'abilityTreeNodes' => [ - 'FEATUREddosN7DYCX', - ], + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '106066', + 'abilityTreeNodes' => ['FEATUREddos64TBV6'], ], 'parameters' => [ [ - 'name' => 'ResourceGroupId', + 'name' => 'Domain', + 'in' => 'query', + 'schema' => ['description' => '要接入DDoS高防防护的网站业务的域名。', 'type' => 'string', 'required' => true, 'example' => 'www.example.com'], + ], + [ + 'name' => 'RsType', 'in' => 'query', 'schema' => [ - 'description' => 'DDoS高防实例在资源管理产品中所属的资源组ID。默认为空,即属于默认资源组。', - 'type' => 'string', - 'required' => false, - 'example' => 'default', + 'description' => '要设置的源站服务器的地址类型。取值:'."\n" + ."\n" + .'- **0**:表示设置源站服务器的IP地址。'."\n" + .'- **1**:表示设置源站服务器的域名地址。'."\n" + ."\n" + .' 适用于源站和DDoS高防之间还部署有其他代理服务(例如WAF)的场景,具体指代理服务的跳转地址(例如WAF的CNAME地址)。', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'example' => '0', + 'enum' => ['0', '1'], ], ], [ - 'name' => 'Domain', + 'name' => 'HttpsExt', + 'in' => 'query', + 'schema' => ['description' => 'HTTPS高级设置,仅在网站协议类型支持HTTPS(**ProxyType**包含**https**)时生效。使用JSON结构体转化的字符串格式表示,JSON结构体包含以下字段:'."\n" + ."\n" + .'- **Http2https**:Integer类型 | 可选 | 是否开启HTTPS的强制跳转功能,取值:**0**(表示关闭) | **1**(表示开启),默认关闭。'."\n" + ."\n" + .' 适用于您的网站同时支持HTTP和HTTPS协议。开启该设置后,所有HTTP请求将强制转换为HTTPS请求,且默认跳转到443端口。'."\n" + ."\n" + .'- **Https2http**:Integer类型 | 可选 | 是否开启HTTP回源功能,取值:**0**(表示关闭) | **1**(表示开启),默认关闭。'."\n" + ."\n" + .' 适用于您的网站不支持HTTPS回源。开启该设置后,所有HTTPS协议请求将通过HTTP回源(Websockets协议会通过Websocket回源),且默认回源端口为80。'."\n" + ."\n" + .'- **Http2**:Integer类型 | 可选 | 是否开启HTTP 2.0协议支持,取值:**0**(表示关闭) | **1**(表示开启),默认关闭。'."\n" + ."\n" + .' 开启该设置后,协议版本为HTTP 2.0。', 'type' => 'string', 'required' => false, 'example' => '{"Http2":1,"Http2https":1,"Https2http":1}'], + ], + [ + 'name' => 'InstanceIds', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => '网站业务的域名。'."\n" - .'> 域名必须已配置网站业务转发规则且关联了增强功能套餐的DDoS高防实例。您可以调用[DescribeDomains](~~91724~~)查询所有域名。', - 'type' => 'string', + 'description' => '要关联的DDoS高防实例的ID列表。', + 'type' => 'array', + 'items' => ['description' => '要关联的DDoS高防实例的ID。不设置该参数表示只添加网站域名,不关联高防实例。'."\n" + ."\n" + .'> 您可以调用[DescribeInstanceIds](~~157459~~)查询所有DDoS高防实例的ID。', 'type' => 'string', 'required' => false, 'example' => 'ddoscoo-cn-mp91j1ao****'], 'required' => true, - 'example' => 'www.aliyun.com', + 'maxItems' => 100, ], ], [ - 'name' => 'Enable', + 'name' => 'RealServers', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => 'HTTP2.0的开关状态。取值:'."\n" - .'- **0**:关闭'."\n" - .'- **1**:开启', - 'type' => 'integer', - 'format' => 'int32', + 'description' => '源站服务器地址列表。', + 'type' => 'array', + 'items' => ['description' => '源站服务器地址。'."\n" + ."\n" + .'如果**RsType**为**0**,该参数使用IP地址格式;如果**RsType**为**1**,该参数使用域名格式。更多信息,请参见**RsType**参数的说明。', 'type' => 'string', 'required' => false, 'example' => '1.XX.XX.1'], + 'required' => true, + 'maxItems' => 100, + ], + ], + [ + 'name' => 'ProxyTypes', + 'in' => 'query', + 'style' => 'flat', + 'schema' => [ + 'description' => '网站的协议及端口配置。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'ProxyPorts' => [ + 'description' => '网站对外服务使用的端口列表。', + 'type' => 'array', + 'items' => ['description' => '网站对外服务使用的端口。'."\n" + ."\n" + .'> 此处设置的端口必须在DDoS高防支持的端口范围内。更多信息,请参见[自定义非标端口](~~127433~~)。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '80'], + 'required' => true, + 'maxItems' => 10, + ], + 'ProxyType' => [ + 'description' => '网站对外服务使用的协议类型。取值:'."\n" + ."\n" + .'- **http**:表示HTTP协议。'."\n" + .'- **https**:表示HTTPS协议。'."\n" + .'- **websocket**:表示WebSocket协议。'."\n" + .'- **websockets**:表示WebSockets协议。', + 'type' => 'string', + 'required' => false, + 'example' => 'http', + 'enum' => ['http', 'https', 'websocket', 'websockets'], + ], + ], + 'required' => false, + 'description' => '', + ], 'required' => true, - 'example' => '1', ], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'description' => '本次请求返回的数据体。', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E', - ], + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => '39499F01-19D9-4EA4-A0E9-C6014BA5CDBE'], ], ], ], ], - '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' => '设置网站业务转发规则的HTTP2.0开关状态', - 'summary' => '设置网站业务转发规则的HTTP2.0开关状态。', - 'description' => '> 该接口仅适用于DDoS高防(中国内地)服务。', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'ModifyWebAccessMode' => [ - 'methods' => [ - 'post', - 'get', + 'title' => '创建一条网站业务转发规则', + 'summary' => '创建一条网站业务转发规则。', + 'changeSet' => [ + ['createdAt' => '2023-05-26T07:22:44.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2022-09-08T03:34:35.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + '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' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"39499F01-19D9-4EA4-A0E9-C6014BA5CDBE\\"\\n}","type":"json"}]', + ], + 'CreateNetworkRules' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -2481,37 +1710,22 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', - 'abilityTreeCode' => '106259', - 'abilityTreeNodes' => [ - 'FEATUREddosOZ1QOD', - ], + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '106069', + 'abilityTreeNodes' => ['FEATUREddos64TBV6'], ], 'parameters' => [ [ - 'name' => 'Domain', - 'in' => 'query', - 'schema' => [ - 'description' => '网站业务的域名。'."\n" - .'> 域名必须已配置网站业务转发规则。您可以调用[DescribeDomains](~~91724~~)查询所有域名。', - 'type' => 'string', - 'required' => true, - 'example' => 'www.aliyun.com', - ], - ], - [ - 'name' => 'AccessMode', + 'name' => 'NetworkRules', 'in' => 'query', - 'schema' => [ - 'description' => '网站业务的接入模式。取值:'."\n" - .'- **0**:A记录'."\n" - .'- **1**:高防模式'."\n" - .'- **2**:回源模式', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '2', - ], + 'schema' => ['description' => '端口转发规则的详细信息,使用JSON格式的字符串表述,具体结构如下。'."\n" + .'- **InstanceId**:String类型,必选,DDoS高防实例ID。'."\n" + .'- **Protocol**:String类型,必选,转发协议类型。取值:**tcp**、**udp**。'."\n" + .'- **FrontendPort**:Integer类型,必选,转发端口。'."\n" + .'- **BackendPort**:Integer类型,必选,源站端口。'."\n" + .'- **RealServers**:JSON数组类型,必选,源站IP地址列表。最多支持20个IP地址。', 'type' => 'string', 'required' => true, 'example' => '[{"InstanceId":"ddoscoo-cn-mp91j1ao****","Protocol":"tcp","FrontendPort":8080,"BackendPort":8080,"RealServers":["1.1.1.1","2.2.2.2"]}]'], ], ], 'responses' => [ @@ -2519,28 +1733,34 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。', - 'type' => 'string', - 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc', - ], + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'ADCA45A5-D15C-4B7D-9F81-138B0B36D0BD'], ], + 'description' => '', ], ], ], - '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' => '设置网站业务的接入模式', - 'summary' => '设置网站业务的接入模式。', - ], - 'ModifyCnameReuse' => [ - 'methods' => [ - 'post', - 'get', + 'title' => '创建端口转发规则', + 'summary' => '创建端口转发规则。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2025-08-14T03:28:22.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2025-08-14T01:39:28.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2025-08-14T01:39:28.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2022-09-08T03:34:35.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateNetworkRules'], + ], ], + 'ramActions' => [], + '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":""}]', + ], + 'CreatePort' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -2549,90 +1769,94 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', - 'abilityTreeCode' => '106229', - 'abilityTreeNodes' => [ - 'FEATUREddosZIK01A', - ], + 'operationType' => 'create', + 'abilityTreeCode' => '106070', + 'abilityTreeNodes' => ['FEATUREddosN7DYCX'], ], 'parameters' => [ [ - 'name' => 'ResourceGroupId', + 'name' => 'FrontendPort', 'in' => 'query', - 'schema' => [ - 'description' => 'DDoS高防实例在资源管理产品中所属的资源组ID。默认为空,即属于默认资源组。', - 'type' => 'string', - 'required' => false, - 'example' => 'default', - ], + 'schema' => ['description' => '转发端口。取值范围:**0**~**65535**。', 'type' => 'string', 'required' => true, 'example' => '55'], ], [ - 'name' => 'Domain', + 'name' => 'FrontendProtocol', 'in' => 'query', 'schema' => [ - 'description' => '网站业务的域名。'."\n" - .'> 域名必须已配置网站业务转发规则。您可以调用[DescribeDomains](~~91724~~)查询所有域名。'."\n", + 'description' => '转发协议类型。取值:'."\n" + ."\n" + .'- **tcp**:表示TCP协议。'."\n" + .'- **udp**:表示UDP协议。', 'type' => 'string', 'required' => true, - 'example' => 'www.aliyun.com', + 'example' => 'tcp', + 'enum' => ['tcp', 'udp'], ], ], [ - 'name' => 'Cname', + 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => '要复用的CNAME值。', - 'type' => 'string', - 'required' => false, - 'example' => '4o6ep6q217k9****.aliyunddos0004.com', - ], + 'schema' => ['description' => '端口转发规则所属的DDoS高防实例的ID。'."\n" + ."\n" + .'> 您可以调用[DescribeInstanceIds](~~157459~~)查询所有DDoS高防实例的ID。', 'type' => 'string', 'required' => true, 'example' => 'ddoscoo-cn-st21zbyq****'], ], [ - 'name' => 'Enable', + 'name' => 'BackendPort', + 'in' => 'query', + 'schema' => ['description' => '源站端口。取值范围:**0**~**65535**。', 'type' => 'string', 'required' => false, 'example' => '55'], + ], + [ + 'name' => 'RealServers', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => '是否开启CNAME复用。取值:'."\n" - .'- **0**:关闭'."\n" - .'- **1**:开启', - 'type' => 'integer', - 'format' => 'int32', + 'description' => '源站IP地址列表。', + 'type' => 'array', + 'items' => ['description' => '源站IP地址。', 'type' => 'string', 'required' => false, 'example' => '1.XX.XX.1'], 'required' => true, - 'example' => '1', + 'maxItems' => 20, ], ], + [ + 'name' => 'ProxyEnable', + 'in' => 'query', + 'schema' => ['description' => '引流开关。取值:'."\n" + .'- **0** 关闭。'."\n" + .'- **1** 开启。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '0'], + ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc', - ], + 'RequestId' => ['description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。', 'type' => 'string', 'example' => '4787A9A6-8230-4B4A-8211-AFBF7C416B4D'], ], + 'description' => '', ], ], ], - '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' => '为网站业务开启或关闭CNAME复用', - 'summary' => '为网站业务开启或关闭CNAME复用。', - 'description' => '> 该接口仅适用于DDoS高防(非中国内地)服务。', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'DescribeWebRules' => [ - 'summary' => '查询网站业务转发规则的配置。', - 'methods' => [ - 'post', - 'get', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4787A9A6-8230-4B4A-8211-AFBF7C416B4D\\"\\n}","type":"json"}]', + 'title' => '创建一条端口转发规则', + 'summary' => '创建一条端口转发规则。', + 'description' => '本接口支持与Terraform工具对接。关于Terraform的更多信息,请参见[什么是Terraform](~~95820~~)。', + 'changeSet' => [ + ['createdAt' => '2025-08-14T03:28:22.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2025-08-14T01:39:31.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2025-08-14T01:39:28.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2024-08-29T05:59:47.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2022-09-08T03:34:35.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreatePort'], + ], ], + 'ramActions' => [], + ], + 'CreateSceneDefensePolicy' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -2641,107 +1865,144 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'list', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '106211', - 'abilityTreeNodes' => [ - 'FEATUREddos64TBV6', - ], - 'autoTest' => true, + 'operationType' => 'create', + 'abilityTreeCode' => '106071', + 'abilityTreeNodes' => ['FEATUREddosM9SQC1'], ], 'parameters' => [ [ - 'name' => 'ResourceGroupId', + 'name' => 'Name', 'in' => 'query', - 'schema' => [ - 'description' => 'DDoS高防实例在资源管理服务中所属的资源组ID。'."\n" - ."\n" - .'不设置该参数表示默认资源组。', - 'type' => 'string', - 'required' => false, - 'example' => 'rg-acfm2pz25js****', - ], + 'schema' => ['description' => '策略名称。', 'type' => 'string', 'required' => true, 'example' => 'testpolicy'], ], [ - 'name' => 'Domain', + 'name' => 'Template', 'in' => 'query', 'schema' => [ - 'description' => '要查询的网站域名。'."\n" - ."\n" - .'> 域名必须已经配置过网站业务转发规则。您可以调用[DescribeDomains](~~91724~~)查询所有已经配置过网站业务转发规则的域名。', + 'description' => '策略模板。取值:'."\n" + .'- **promotion**:重大活动'."\n" + .'- **bypass**:全量转发', 'type' => 'string', - 'required' => false, - 'example' => 'example.com', + 'required' => true, + 'example' => 'promotion', + 'enum' => ['promotion'], ], ], [ - 'name' => 'Cname', + 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => '要查询的CNAME地址。', - 'type' => 'string', - 'required' => false, - 'example' => 'kzmk7b8tt351****.aliyunddos1014****', - 'maxLength' => 128, - 'minLength' => 3, - ], + 'schema' => ['description' => '生效开始时间。时间戳格式,单位:毫秒。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1585670400000'], ], [ - 'name' => 'QueryDomainPattern', + 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => '查询匹配模式。取值:'."\n" - .'- **fuzzy**(默认):表示模糊查询。'."\n" - .'- **exact**:表示精确查询。', - 'type' => 'string', - 'required' => false, - 'example' => 'exact', - ], + 'schema' => ['description' => '生效结束时间。时间戳格式,单位:毫秒。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1586016000000'], ], - [ - 'name' => 'PageNumber', - 'in' => 'query', + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '分页查询时,设置当前页面的页码。默认值为**1**。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - 'default' => '1', + 'type' => 'object', + 'properties' => [ + 'Success' => ['description' => '是否成功创建策略。取值:'."\n" + .'- **true**:是'."\n" + .'- **false**:否', 'type' => 'boolean', 'example' => 'true'], + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'F65DF043-E0EB-4796-9467-23DDCDF92C1D'], + ], ], ], + ], + 'title' => '创建定制场景策略', + 'summary' => '创建定制场景策略。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:35.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateSceneDefensePolicy'], + ], + ], + 'ramActions' => [ [ - 'name' => 'PageSize', - 'in' => 'query', - 'schema' => [ - 'description' => '分页查询时,设置每页包含转发规则的数量。取值范围:**1**~**10**。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '10', - 'default' => '10', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:CreateSceneDefensePolicy', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], + ], + '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":""}]', + ], + 'CreateSchedulerRule' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'InstanceIds', + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'abilityTreeCode' => '106072', + 'abilityTreeNodes' => ['FEATUREddosZIK01A'], + ], + 'parameters' => [ + [ + 'name' => 'ResourceGroupId', 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => '要查询的DDoS高防实例的ID列表。', - 'type' => 'array', - 'items' => [ - 'description' => '要查询的DDoS高防实例的ID。N的最大值:200,即最多可配置200个DDoS高防实例,实例ID之间用半角逗号(,)隔开。'."\n" - ."\n" - .'> 您可以调用[DescribeInstanceIds](~~157459~~)查询所有DDoS高防实例的ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'ddoscoo-cn-i7m27nf3****', - ], - 'required' => false, - 'example' => 'ddoscoo-cn-mp91j1ao****', - 'maxItems' => 100, - ], + 'schema' => ['description' => 'DDoS高防实例在资源管理产品中所属的资源组ID。默认为空,即属于默认资源组。', 'type' => 'string', 'required' => false, 'example' => 'default'], + ], + [ + 'name' => 'Rules', + 'in' => 'query', + 'schema' => ['description' => '通用联动规则的详细信息,使用JSON格式的字符串表述,具体结构如下。'."\n" + .'- **Type**:String类型,必选,联动资源的地址格式。取值:'."\n" + .' - **A**:IP地址'."\n" + .' - **CNAME**:域名'."\n" + .'- **Value**:String类型,必选,联动资源的地址。'."\n" + .'- **Priority**:Integer类型,必选,规则优先级。取值范围:**0**~**100**,取值越大,优先级越高。'."\n" + .'- **ValueType**:Integer类型,必选,联动资源的类型。取值:'."\n" + .' - **1**:DDoS高防IP '."\n" + .' - **2**:(阶梯防护)云资源IP'."\n" + .' - **3**:(出海加速)加速线路IP'."\n" + .' - **5**:(CDN联动)加速域名'."\n" + .' - **6**:(云产品联动)云资源IP'."\n" + .'- **RegionId**:String类型,可选(**ValueType**为**2**时必选),地域ID。', '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}]'], + ], + [ + 'name' => 'RuleName', + 'in' => 'query', + 'schema' => ['description' => '规则名称。', 'type' => 'string', 'required' => true, 'example' => 'testrule'], + ], + [ + 'name' => 'RuleType', + 'in' => 'query', + 'schema' => ['description' => '规则类型。取值:'."\n" + .'- **2**:阶梯防护'."\n" + .'- **3**:出海加速'."\n" + .'- **5**:CDN联动'."\n" + .'- **6**:云产品联动'."\n" + .'- **8**:安全加速', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '2'], + ], + [ + 'name' => 'Param', + 'in' => 'query', + 'schema' => ['description' => 'CDN联动规则的详细信息,使用JSON格式的字符串表达,具体结构如下。'."\n" + .'- **ParamType**:必选,String类型,CDN联动类型。取值:**cdn**,表示CDN联动。'."\n" + .'- **ParamData**:必选,Map类型,CDN联动参数。具体结构如下。'."\n" + .' - **Domain**:必选,String类型,CDN加速域名。'."\n" + .' - **Cname**:必选,String类型,加速域名CNAME地址。'."\n" + .' - **AccessQps**:必选,Integer类型,访问QPS阈值。超过阈值切换到DDoS高防。'."\n" + .' - **UpstreamQps**:可选,Integer类型,回源QPS阈值。低于阈值切换到CDN。', 'type' => 'string', 'required' => false, 'example' => '{"ParamType":"cdn","ParamData":{"Domain":"example.aliyundoc.com","Cname":"demo.aliyundoc.com","AccessQps":100,"UpstreamQps":100}}'], ], ], 'responses' => [ @@ -2749,318 +2010,47 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'TotalCount' => [ - 'description' => '查询到的网站业务转发规则的总数量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'RequestId' => [ - 'description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。', - 'type' => 'string', - 'example' => '0F5B72DD-96F4-423A-B12B-A5151DD746B8', - ], - 'WebRules' => [ - 'description' => '网站业务转发规则的配置。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Domain' => [ - 'description' => '网站域名。', - 'type' => 'string', - 'example' => 'example.com', - ], - 'Http2HttpsEnable' => [ - 'description' => '是否开启了HTTPS强制跳转功能。取值:'."\n" - ."\n" - .'- **true**:表示已开启。'."\n" - .'- **false**:表示未开启。', - 'type' => 'boolean', - 'example' => 'true', - ], - 'SslProtocols' => [ - 'description' => '支持的TLS协议版本。取值:'."\n" - ."\n" - .'- **tls1.0**:表示支持TLS 1.0及以上版本。'."\n" - .'- **tls1.1**:表示支持TLS 1.1及以上版本。'."\n" - .'- **tls1.2**:表示支持TLS 1.2及以上版本。', - 'type' => 'string', - 'example' => 'tls1.1', - ], - 'PunishReason' => [ - 'description' => '域名受到违规处罚的原因。取值:'."\n" - .'- **1**:表示域名未履行ICP备案。'."\n" - .'- **2**:表示域名经营的业务不符合监管要求。'."\n" - ."\n" - .'如果同时包含原因**1**和**2**,该参数返回**2**。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'CcTemplate' => [ - 'description' => '频率控制防护(CC防护)的模式。取值:'."\n" - .'- **default**:表示正常模式。'."\n" - .'- **gf_under_attack**:表示攻击紧急模式。'."\n" - .'- **gf_sos_verify**:表示严格模式。'."\n" - .'- **gf_sos_enhance**:表示超级严格模式。', - 'type' => 'string', - 'example' => 'default', - ], - 'CcEnabled' => [ - 'description' => '是否开启了频率控制防护(CC防护)。取值:'."\n" - .'- **true**:表示已开启。'."\n" - .'- **false**:表示未开启。', - 'type' => 'boolean', - 'example' => 'true', - ], - 'SslCiphers' => [ - 'description' => '加密套件的类型。取值:'."\n" - ."\n" - .'- **default**:表示自定义加密套件。'."\n" - .'- **all**:表示全部加密套件,包含强加密套件和弱加密套件。'."\n" - .'- **strong**:表示强加密套件。', - 'type' => 'string', - 'example' => 'default', - ], - 'Ssl13Enabled' => [ - 'description' => '是否开启了TLS 1.3协议支持。取值:'."\n" - .'- **true**:表示已开启。'."\n" - .'- **false**:表示未开启。', - 'type' => 'boolean', - 'example' => 'false', - ], - 'CcRuleEnabled' => [ - 'description' => '是否开启了自定义频率控制防护(CC防护)。取值:'."\n" - .'- **true**:表示已开启。'."\n" - .'- **false**:表示未开启。', - 'type' => 'boolean', - 'example' => 'false', - ], - 'OcspEnabled' => [ - 'description' => '是否启用了OCSP(Online Certificate Status Protocol)功能。取值:'."\n" - .'- **true**:表示已开启。'."\n" - .'- **false**:表示未开启。', - 'type' => 'boolean', - 'example' => 'false', - ], - 'PunishStatus' => [ - 'description' => '域名是否受到违规处罚。取值:'."\n" - ."\n" - .'- **true**:表示已受到违规处罚。您可以通过**PunishReason**查看受到违规处罚的具体原因。'."\n" - .'- **false**:表示未受到违规处罚。', - 'type' => 'boolean', - 'example' => 'true', - ], - 'ProxyEnabled' => [ - 'description' => '网站业务转发是否开启。取值:'."\n" - ."\n" - .'- **true**:表示已开启。'."\n" - .'- **false**:表示未开启。', - 'type' => 'boolean', - 'example' => 'true', - ], - 'CertName' => [ - 'description' => '证书名称。', - 'type' => 'string', - 'example' => 'testcert', - ], - 'PolicyMode' => [ - 'description' => '回源负载算法的类型。取值:'."\n" - ."\n" - .'- **ip_hash**:表示IP Hash算法。根据请求来源IP进行HASH映射,将同一个IP的所有请求定向到一个源站服务器。'."\n" - .'- **rr**:表示轮转算法。将所有请求轮流分配给不同源站服务器。'."\n" - .'- **least_time**:表示Least Time算法。该算法通过智能DNS解析能力,保证业务流量从接入防护节点到转发回源站服务器整个链路的时延最短。'."\n" - ."\n", - 'type' => 'string', - 'example' => 'ip_hash', - ], - 'Cname' => [ - 'description' => '网站域名对应的DDoS高防CNAME地址。', - 'type' => 'string', - 'example' => 'kzmk7b8tt351****.aliyunddos1014****', - ], - 'Http2Enable' => [ - 'description' => '是否开启了HTTP 2.0协议支持。取值:'."\n" - .'- **true**:表示已开启。'."\n" - .'- **false**:表示未开启。', - 'type' => 'boolean', - 'example' => 'true', - ], - 'Https2HttpEnable' => [ - 'description' => '是否开启了HTTP回源功能。取值:'."\n" - ."\n" - .'- **true**:表示已开启。'."\n" - .'- **false**:表示未开启。', - 'type' => 'boolean', - 'example' => 'true', - ], - 'ProxyTypes' => [ - 'description' => '转发协议和端口配置。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'ProxyType' => [ - 'description' => '转发协议类型。取值:'."\n" - .'- **http**:表示HTTP协议。'."\n" - .'- **https**:表示HTTPS协议。'."\n" - .'- **websocket**:表示WebSocket协议。'."\n" - .'- **websockets**:表示WebSockets协议。', - 'type' => 'string', - 'example' => 'https', - ], - 'ProxyPorts' => [ - 'description' => '端口列表。', - 'type' => 'array', - 'items' => [ - 'description' => '端口。', - 'type' => 'string', - 'example' => '443', - ], - ], - ], - ], - ], - 'RealServers' => [ - 'description' => '源站服务器地址信息。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'RsType' => [ - 'description' => '源站服务器地址的类型。取值:'."\n" - ."\n" - .'- **0**:表示源站服务器的IP地址。'."\n" - .'- **1**:表示源站服务器的域名地址。通常适用于源站和高防之间还部署有其他代理服务(例如WAF)的场景,具体指代理服务的跳转地址(例如WAF CNAME地址)。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'RealServer' => [ - 'description' => '源站服务器地址。', - 'type' => 'string', - 'example' => '192.0.XX.XX', - ], - ], - ], - ], - 'WhiteList' => [ - 'description' => 'IP白名单(针对域名)列表。', - 'type' => 'array', - 'items' => [ - 'description' => '针对该域名的白名单IP。'."\n" - ."\n" - .'> 仅在您已经为该域名配置了IP白名单(针对域名)时返回该结果。您可以调用[ConfigWebIpSet](~~157469~~)为网站域名配置IP黑白名单。', - 'type' => 'string', - 'example' => '192.168.XX.XX', - ], - ], - 'BlackList' => [ - 'description' => 'IP黑名单(针对域名)列表。', - 'type' => 'array', - 'items' => [ - 'description' => '针对该域名的黑名单IP。'."\n" - ."\n" - .'> 仅在您已经为该域名配置了IP黑名单(针对域名)时返回该结果。您可以调用[ConfigWebIpSet](~~157469~~)为网站域名配置IP黑白名单。', - 'type' => 'string', - 'example' => '192.0.XX.XX', - ], - ], - 'CustomCiphers' => [ - 'description' => '自定义加密套件列表。', - 'type' => 'array', - 'items' => [ - 'description' => '自定义加密套件。', - 'type' => 'string', - 'example' => 'ECDHE-ECDSA-AES128-GCM-SHA256', - ], - ], - 'GmCert' => [ - 'description' => '国密相关配置。', - 'type' => 'object', - 'properties' => [ - 'CertId' => [ - 'description' => '国密标准证书的ID。', - 'type' => 'string', - 'example' => '725****', - ], - 'GmEnable' => [ - 'description' => '是否启用了国密验证功能。'."\n" - ."\n" - .'- 0:关闭'."\n" - .'- 1:开启', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'GmOnly' => [ - 'description' => '是否开启了仅支持国密客户端访问。'."\n" - ."\n" - .'- 0:关闭'."\n" - .'- 1:开启', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - ], - ], - 'CertRegion' => [ - 'description' => '证书区域。取值:'."\n" - .'- cn-hangzhou:中国大陆地区(默认)'."\n" - .'- ap-southeast-1:非中国大陆地区。', - 'type' => 'string', - 'example' => 'cn-hangzhou', - ], - 'UserCertName' => [ - 'description' => '用户上传到证书中心的证书名称。', - 'type' => 'string', - 'example' => 'test', - ], - 'Tls13CustomCiphers' => [ - 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], - ], - 'CertExpireTime' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - ], - ], - ], + 'RequestId' => ['description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。', 'type' => 'string', 'example' => '8DFB602D-1AAC-46C4-90F2-C84086E7A6E4'], + 'Cname' => ['description' => '规则对应的流量调度器CNAME值。'."\n" + ."\n" + .'> 您必须将业务解析到流量调度器的CNAME,才能启用规则。', 'type' => 'string', 'example' => '48k7b372gpl4****.aliyunddos0001.com'], + 'RuleName' => ['description' => '规则名称。', 'type' => 'string', 'example' => 'testrule'], ], ], ], ], - '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' => '查询已经创建的网站业务转发规则', - 'description' => '本接口用于分页查询您已创建的网站业务转发规则的配置,例如,转发协议类型、源站服务器地址、HTTPS配置、IP黑名单配置等。'."\n" - ."\n" - .'调用本接口前,您必须已经调用[CreateWebRule](~~157463~~)创建了网站业务转发规则。'."\n" - ."\n" - .'### QPS限制'."\n" - ."\n" - .'本接口的单用户QPS限制为50次/秒。超过限制,API调用将会被限流,这可能影响您的业务,请合理调用。', - 'requestParamsDescription' => '调用API时,除了本文中该API的请求参数,还需加入阿里云API公共请求参数。公共请求参数的详细介绍,请参见[公共参数](~~157269~~)。'."\n" - ."\n" - .'调用API的请求格式,请参见本文**示例**中的请求示例。', + 'title' => '创建流量调度器调度规则', + 'summary' => '创建流量调度器调度规则。', + 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeWebInstanceRelations' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:35.000Z', 'description' => '错误码发生变更'], + ], + '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' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + '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":""}]', + ], + 'CreateTagResources' => [ + 'summary' => '为DDoS高防实例绑定标签。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -3069,41 +2059,63 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeCode' => '106207', - 'abilityTreeNodes' => [ - 'FEATUREddosOZ1QOD', - ], + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '106073', + 'abilityTreeNodes' => ['FEATUREddosMHU3MF'], ], 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => ['description' => 'DDoS高防实例所属地域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], + ], [ 'name' => 'ResourceGroupId', 'in' => 'query', + 'schema' => ['description' => 'DDoS高防实例在资源管理服务中所属的资源组ID。'."\n" + ."\n" + .'不设置该参数表示默认资源组。', 'type' => 'string', 'required' => false, 'example' => 'rg-acfm2pz25js****'], + ], + [ + 'name' => 'ResourceType', + 'in' => 'query', + 'schema' => ['description' => '资源类型。取值固定为**INSTANCE**,表示DDoS高防实例。', 'type' => 'string', 'required' => true, 'example' => 'INSTANCE'], + ], + [ + 'name' => 'ResourceIds', + 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => 'DDoS高防实例在资源管理产品中所属的资源组ID。默认为空,即属于默认资源组。', - 'type' => 'string', - 'required' => false, - 'example' => 'default', + 'description' => '要绑定标签的DDoS高防实例的ID列表。', + 'type' => 'array', + 'items' => ['description' => '要绑定标签的DDoS高防实例的ID。'."\n" + ."\n" + .'> 您可以调用[DescribeInstanceIds](~~157459~~)查询所有DDoS高防实例的ID。', 'type' => 'string', 'required' => false, 'example' => 'ddoscoo-cn-mp91j1ao****'], + 'required' => true, + 'example' => 'ddoscoo-cn-mp91j1ao****', + 'maxItems' => 51, ], ], [ - 'name' => 'Domains', + 'name' => 'Tags', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ - 'description' => '网站业务的域名列表。'."\n" - ."\n" - .'> 域名必须已配置网站业务转发规则。您可以调用[DescribeDomains](~~91724~~)查询所有域名。', + 'description' => '要绑定的标签列表。', 'type' => 'array', 'items' => [ - 'description' => '网站业务的域名。', - 'type' => 'string', + 'type' => 'object', + 'properties' => [ + 'Key' => ['description' => '要绑定的标签键。', 'type' => 'string', 'required' => false, 'example' => 'testkey'], + 'Value' => ['description' => '要绑定的标签值。', 'type' => 'string', 'required' => false, 'example' => 'testvalue'], + ], 'required' => false, - 'example' => 'www.aliyun**.com', + 'description' => '', ], - 'required' => true, - 'example' => 'www.aliyun.com', - 'maxItems' => 20, + 'required' => false, + 'maxItems' => 21, ], ], ], @@ -3112,220 +2124,233 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => '0222382B-5FE5-4FF7-BC9B-97EE31D58818', - ], - 'WebInstanceRelations' => [ - 'description' => '网站业务关联的DDoS高防实例信息。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Domain' => [ - 'description' => '网站域名。', - 'type' => 'string', - 'example' => 'www.aliyun.com', - ], - 'InstanceDetails' => [ - 'description' => '关联的DDoS高防实例信息。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'FunctionVersion' => [ - 'description' => '功能套餐类型。取值:'."\n" - .'- **default**:标准功能'."\n" - .'- **enhance**:增强功能'."\n", - 'type' => 'string', - 'example' => 'enhance', - ], - 'InstanceId' => [ - 'description' => 'DDoS高防实例ID。', - 'type' => 'string', - 'example' => 'ddoscoo-cn-0pp163pd****', - ], - 'EipList' => [ - 'description' => 'DDoS高防IP列表。', - 'type' => 'array', - 'items' => [ - 'description' => 'DDoS高防IP。', - 'type' => 'string', - 'example' => '203.***.***.158', - ], - ], - ], - ], - ], - ], - ], - ], + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E'], ], + 'description' => '', ], ], ], - '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' => '查询网站业务关联的DDoS高防实例信息', - 'summary' => '查询网站业务关联的DDoS高防实例信息。', - 'requestParamsDescription' => ' ', + 'title' => '为资源关联标签', + 'description' => '本接口用于批量为DDoS高防实例绑定标签。'."\n" + ."\n" + .'### QPS限制'."\n" + ."\n" + .'本接口的单用户QPS限制为10次/秒。超过限制,API调用将会被限流,这可能影响您的业务,请合理调用。', + 'requestParamsDescription' => '调用API时,除了本文中该API的请求参数,还需加入阿里云API公共请求参数。公共请求参数的详细介绍,请参见[公共参数](~~157269~~)。'."\n" + ."\n" + .'调用API的请求格式,请参见本文**示例**中的请求示例。', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeCerts' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:34.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateTagResources'], + ], ], + 'ramActions' => [], + '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":""}]', + ], + 'CreateWebCCRule' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'deprecated' => false, + 'deprecated' => true, 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeCode' => '106106', - 'abilityTreeNodes' => [ - 'FEATUREddos64TBV6', - ], + 'operationType' => 'create', + 'abilityTreeCode' => '106074', + 'abilityTreeNodes' => ['FEATUREddosOZ1QOD'], ], 'parameters' => [ [ 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => 'DDoS高防实例在资源管理产品中所属的资源组ID。默认为空,即属于默认资源组。', - 'type' => 'string', - 'required' => false, - 'example' => 'default', - ], + 'schema' => ['description' => 'DDoS高防实例在资源管理服务中所属的资源组ID。默认为空,即属于默认资源组。'."\n" + ."\n" + .'关于资源组的更多信息,请参见[创建资源组](~~94485~~)。', 'type' => 'string', 'required' => false, 'example' => 'rg-acfm2pz25js****'], ], [ 'name' => 'Domain', 'in' => 'query', - 'schema' => [ - 'description' => '网站业务的域名。'."\n" - .'> 域名必须已配置网站业务转发规则。您可以调用[DescribeDomains](~~91724~~)查询所有域名。', - 'type' => 'string', - 'required' => false, - 'example' => 'www.aliyun.com', - ], + 'schema' => ['description' => '网站业务的域名。'."\n" + ."\n" + .'> 域名必须已配置网站业务转发规则。您可以调用[DescribeDomains](~~91724~~)查询所有域名。', 'type' => 'string', 'required' => true, 'example' => 'www.aliyun.com'], + ], + [ + 'name' => 'Name', + 'in' => 'query', + 'schema' => ['description' => '规则名称。支持使用英文字母、数字或下划线(_),且长度不能超过128个字符。', 'type' => 'string', 'required' => true, 'example' => 'testrule'], + ], + [ + 'name' => 'Act', + 'in' => 'query', + 'schema' => ['description' => '对命中防护规则的请求执行的动作。取值:'."\n" + ."\n" + .'- **close**:表示封禁该请求。'."\n" + .'- **captcha**:表示发起人机识别验证。', 'type' => 'string', 'required' => true, 'example' => 'close'], + ], + [ + 'name' => 'Count', + 'in' => 'query', + 'schema' => ['description' => '单一IP访问次数。取值范围:**2**~**2000**。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '60'], + ], + [ + 'name' => 'Interval', + 'in' => 'query', + 'schema' => ['description' => '检测时长。取值范围:**5**~**10800**,单位:秒。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '20'], + ], + [ + 'name' => 'Mode', + 'in' => 'query', + 'schema' => ['description' => '匹配模式。取值:'."\n" + .'- **prefix**:表示前缀匹配。'."\n" + .'- **match**:表示完全匹配。'."\n" + ."\n" + .'> 检测路径**URI**中包含参数时,请选择前缀匹配(**prefix**)。', 'type' => 'string', 'required' => true, 'example' => 'prefix'], + ], + [ + 'name' => 'Ttl', + 'in' => 'query', + 'schema' => ['description' => '封禁时长。取值范围:**60**~**86400**,单位:秒。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '60'], + ], + [ + 'name' => 'Uri', + 'in' => 'query', + 'schema' => ['description' => '检测路径。'."\n" + .'> URI不支持修改。网站业务的域名,检测路径,规则名称唯一确定一条规则。', 'type' => 'string', 'required' => true, 'example' => '/abc/a.php'], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'description' => '返回数据的主体。', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc', - ], - 'Certs' => [ - 'description' => '网站业务的证书信息。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'EndDate' => [ - 'description' => '证书到期日期。字符串格式。', - 'type' => 'string', - 'example' => '2021-09-12', - ], - 'DomainRelated' => [ - 'description' => '证书是否关联域名。取值:'."\n" - .'- **true**:已关联'."\n" - .'- **false**:未关联', - 'type' => 'boolean', - 'example' => 'true', - ], - 'StartDate' => [ - 'description' => '证书签发日期。字符串格式。', - 'type' => 'string', - 'example' => '2019-09-12', - ], - 'Issuer' => [ - 'description' => '证书颁发机构。', - 'type' => 'string', - 'example' => 'Symantec', - ], - 'Name' => [ - 'description' => '证书名称。', - 'type' => 'string', - 'example' => 'testcert', - ], - 'Common' => [ - 'description' => '证书关联的域名。', - 'type' => 'string', - 'example' => 'www.aliyun.com', - ], - 'Id' => [ - 'description' => '证书ID。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '81', - ], - 'CertIdentifier' => [ - 'description' => '全局证书ID,证书ID+"-cn-hangzhou"。如果证书ID=123,则CertIdentifier=“123-cn-hangzhou”。', - 'type' => 'string', - 'example' => '126345-ap-southeast-1', - ], - ], - ], - ], + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc'], ], ], ], ], - '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' => '查询适用于当前域名的所有证书列表', - 'summary' => '查询用户适用于当前域名的所有证书信息,而非当前使用的证书。', - 'description' => '该接口为查询配置高防域名适用所有证书,会出现一个域名对应多个证书。例如:通过精准域名查询到精准域名证书或泛域名证书。'."\n" - .'> 如果您需要查询当前域名正在生效使用的证书您可以调用[DescribeWebRules](~~473610~~)查询获取CertName和CertRegion,然后调用证书中心的接口[ListUserCertificateOrder](~~411733~~)使用返回的CertName关联查询到对应的证书ID或其他详情。', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'DescribeWebCustomPorts' => [ - 'methods' => [ - 'post', - 'get', + 'staticInfo' => [ + 'substitutions' => ['ddoscoo::2020-01-01::ConfigWebCCRuleV2'], ], - 'schemes' => [ - 'http', - 'https', + 'title' => '创建网站CC防护自定义规则', + 'summary' => '创建网站业务频率控制防护(CC防护)的自定义规则。', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:35.000Z', 'description' => '错误码发生变更'], + ], + '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' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}","type":"json"}]', + ], + 'CreateWebRule' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeCode' => '106206', - 'abilityTreeNodes' => [ - 'FEATUREddosRTUJBH', - ], - 'tenantRelevance' => 'publicInformation', + 'operationType' => 'create', + 'abilityTreeCode' => '106075', + 'abilityTreeNodes' => ['FEATUREddos64TBV6'], ], 'parameters' => [ [ 'name' => 'ResourceGroupId', 'in' => 'query', + 'schema' => ['description' => 'DDoS高防实例在资源管理服务中所属的资源组ID。默认为空,即属于默认资源组。'."\n" + ."\n" + .'关于资源组的更多信息,请参见[创建资源组](~~94485~~)。', 'type' => 'string', 'required' => false, 'example' => 'rg-acfm2pz25js****'], + ], + [ + 'name' => 'Domain', + 'in' => 'query', + 'schema' => ['description' => '要接入DDoS高防进行防护的网站域名。', 'type' => 'string', 'required' => true, 'example' => 'example.aliyundoc.com'], + ], + [ + 'name' => 'RsType', + 'in' => 'query', + 'schema' => ['description' => '源站服务器的地址类型。取值:'."\n" + .'- **0**:表示源站服务器的IP地址。'."\n" + .'- **1**:表示源站服务器的域名地址。通常适用于源站和高防之间还部署有其他代理服务(例如WAF)的场景,具体指代理服务的跳转地址(例如WAF CNAME地址)。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '0'], + ], + [ + 'name' => 'Rules', + 'in' => 'query', + 'schema' => ['description' => '网站业务转发规则的详细配置。使用JSON数组转化的字符串格式表示。JSON数组中的每个元素是一个JSON结构体,包含以下字段:'."\n" + ."\n" + .'- **ProxyRules**:JSONArray类型 | 必选 | 源站服务器信息,包括端口号和服务器地址。数组中每个元素是一个JSON结构体,包含以下字段:'."\n" + .' - **ProxyPort**:Integer类型 | 必选 | 协议对应的端口号。'."\n" + .' - **RealServers**:StringArray类型 | 必选 | 服务器地址。'."\n" + ."\n" + .'- **ProxyType**:String类型 | 必选 | 网站协议类型。取值:**http** | **https** | **websocket** | **websockets**。', 'type' => 'string', 'required' => true, 'example' => '[{"ProxyRules":[{"ProxyPort":443,"RealServers":["192.1.XX.XX"]}],"ProxyType":"https"}]'], + ], + [ + 'name' => 'HttpsExt', + 'in' => 'query', + 'schema' => ['description' => 'HTTPS高级设置,仅在网站协议类型支持HTTPS(**ProxyType**包含**https**)时生效。使用JSON结构体转化的字符串格式表示,JSON结构体包含以下字段:'."\n" + ."\n" + .'- **Http2https**:Integer类型 | 可选 | 是否开启HTTPS的强制跳转功能,取值:**0**(表示关闭) | **1**(表示开启),默认关闭。'."\n" + ."\n" + .' 适用于您的网站同时支持HTTP和HTTPS协议。开启该设置后,所有HTTP请求将强制转换为HTTPS请求,且默认跳转到443端口。'."\n" + ."\n" + .'- **Https2http**:Integer类型 | 可选 | 是否开启HTTP回源功能,取值:**0**(表示关闭) | **1**(表示开启),默认关闭。'."\n" + ."\n" + .' 适用于您的网站不支持HTTPS回源。开启该设置后,所有HTTPS协议请求将通过HTTP回源(Websockets协议会通过Websocket回源),且默认回源端口为80。'."\n" + ."\n" + .'- **Http2**:Integer类型 | 可选 | 是否启用HTTP2.0协议类型,取值:**0**(表示关闭) | **1**(表示开启),默认关闭。'."\n" + ."\n" + .' 开启该设置后,协议版本为HTTP2.0。', 'type' => 'string', 'required' => false, 'example' => '{"Http2":1,"Http2https":1,"Https2http":1}'], + ], + [ + 'name' => 'DefenseId', + 'in' => 'query', + 'schema' => ['description' => '要关联的防护ID。该参数适用于其他云服务(例如对象存储OSS)集成了DDoS高防的场景。'."\n" + ."\n" + .'> 该参数在内部测试中,暂时请勿使用。'."\n" + ."\n" + .'示例:如果您的OSS服务集成了DDoS高防,则高防会为OSS生产账号分配一组IP资源池,每一个IP资源对应唯一的防护ID。防护ID是一个CNAME地址,该CNAME默认解析到对应的高防IP。防护ID(即CNAME)可以通过解析复用同一个IP,便于灵活调度。'."\n" + ."\n" + .'> 不允许同时填写**InstanceIds**和**DefenseId**。', 'type' => 'string', 'required' => false, 'example' => 'testid'], + ], + [ + 'name' => 'InstanceIds', + 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => 'DDoS高防实例在资源管理产品中所属的资源组ID。默认为空,即属于默认资源组。', - 'type' => 'string', + 'description' => '要关联的DDoS高防实例的ID列表。', + 'type' => 'array', + 'items' => ['description' => '要关联的DDoS高防实例的ID。该参数和DefenseId必须填写一个。'."\n" + ."\n" + .'> 您可以调用[DescribeInstanceIds](~~157459~~)查询所有DDoS高防实例的ID信息。', 'type' => 'string', 'required' => false, 'example' => 'ddoscoo-cn-i7m27nf3****'], 'required' => false, - 'example' => 'default', + 'example' => 'ddoscoo-cn-mp91j1ao****', + 'maxItems' => 100, ], ], ], @@ -3334,56 +2359,44 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc', - ], - 'WebCustomPorts' => [ - 'description' => '网站业务自定义端口信息。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'ProxyType' => [ - 'description' => '协议类型。取值:'."\n" - .'- **http**'."\n" - .'- **https**', - 'type' => 'string', - 'example' => 'http', - ], - 'ProxyPorts' => [ - 'description' => '可选端口范围。', - 'type' => 'array', - 'items' => [ - 'description' => '可选端口。', - 'type' => 'string', - 'example' => '8080', - ], - ], - ], - ], - ], + 'RequestId' => ['description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。', 'type' => 'string', 'example' => '9EC62E89-BD30-4FCD-9CB8-FA53865FF0D7'], ], ], ], ], - '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":""}]', - 'title' => '查询网站业务自定义端口范围', - 'summary' => '查询DDoS高防支持的网站业务自定义端口范围。', - 'requestParamsDescription' => ' ', + 'title' => '创建一条网站业务转发规则', + 'summary' => '创建一条网站业务转发规则。', + 'requestParamsDescription' => '调用API时,除了本文中该API的请求参数,还需加入阿里云API公共请求参数。公共请求参数的详细介绍,请参见[公共参数](~~157269~~)。'."\n" + ."\n" + .'调用API的请求格式,请参见本文**示例**中的请求示例。', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeWebAccessMode' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2025-03-17T06:06:50.000Z', 'description' => '响应参数发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateWebRule'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:CreateWebRule', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"9EC62E89-BD30-4FCD-9CB8-FA53865FF0D7\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 9EC62E89-BD30-4FCD-9CB8-FA53865FF0D7\\n","errorExample":""}]', + ], + 'DeleteAsyncTask' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -3392,31 +2405,23 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeCode' => '106201', - 'abilityTreeNodes' => [ - 'FEATUREddosOZ1QOD', - ], + 'operationType' => 'delete', + 'abilityTreeCode' => '106076', + 'abilityTreeNodes' => ['FEATUREddos64TBV6', 'FEATUREddosN7DYCX'], + 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'Domains', + 'name' => 'ResourceGroupId', 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => '网站业务的域名。'."\n" - .'> 域名必须已配置网站业务转发规则。您可以调用[DescribeDomains](~~91724~~)查询所有域名。'."\n", - 'type' => 'array', - 'items' => [ - 'description' => '网站业务的域名。', - 'type' => 'string', - 'required' => false, - 'example' => 'www.test****.com', - ], - 'required' => true, - 'example' => 'www.aliyun.com', - 'maxItems' => 20, - ], + 'schema' => ['description' => 'DDoS高防实例在资源管理产品中所属的资源组ID。默认为空,即属于默认资源组。'."\n", 'type' => 'string', 'required' => false, 'example' => 'default'], + ], + [ + 'name' => 'TaskId', + 'in' => 'query', + 'schema' => ['description' => '要删除的任务ID。'."\n" + ."\n" + .'> 您可以调用[DescribeAsyncTasks](~~DescribeAsyncTasks~~)查询所有异步导出任务ID。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1'], ], ], 'responses' => [ @@ -3424,54 +2429,42 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc', - ], - 'DomainModes' => [ - 'description' => '网站业务的接入模式信息。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'AccessMode' => [ - 'description' => '接入模式。取值:'."\n" - .'- **0**:A记录接入'."\n" - .'- **1**:高防模式'."\n" - .'- **2**:回源模式', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'Domain' => [ - 'description' => '网站域名。', - 'type' => 'string', - 'example' => 'www.aliyun.com', - ], - ], - ], - ], + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'], ], ], ], ], - '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":""}]', - 'title' => '查询网站业务的接入模式', - 'summary' => '查询网站业务的接入模式。', + 'title' => '删除指定的异步任务', + 'summary' => '删除异步导出任务。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeCnameReuses' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:35.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteAsyncTask'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DeleteAsyncTask', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + '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":""}]', + ], + 'DeleteAutoCcBlacklist' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -3480,41 +2473,27 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeCode' => '106108', - 'abilityTreeNodes' => [ - 'FEATUREddos64TBV6', - ], + 'operationType' => 'delete', + 'abilityTreeCode' => '106077', + 'abilityTreeNodes' => ['FEATUREddosI8LHMA'], ], 'parameters' => [ [ - 'name' => 'ResourceGroupId', + 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'DDoS高防实例在资源管理产品中所属的资源组ID。默认为空,即属于默认资源组。'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'default', - ], + 'schema' => ['description' => 'DDoS高防实例的ID。'."\n" + .'> 您可以调用[DescribeInstanceIds](~~157459~~)查询所有DDoS高防实例的ID信息。', 'type' => 'string', 'required' => true, 'example' => 'ddoscoo-cn-mp91j1ao****'], ], [ - 'name' => 'Domains', + 'name' => 'QueryType', 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => '网站业务的域名。N的最大值:200,即最多可查询200个网站业务的域名。'."\n" - .'> 域名必须已配置网站业务转发规则。您可以调用[DescribeDomains](~~91724~~)查询所有域名。', - 'type' => 'array', - 'items' => [ - 'description' => '网站业务的域名。', - 'type' => 'string', - 'required' => false, - 'example' => 'www.aliyun.com', - ], - 'required' => true, - 'example' => 'www.aliyun.com', - 'maxItems' => 20, - ], + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'Blacklist', + 'in' => 'query', + 'schema' => ['description' => '黑名单IP的详细信息,使用JSON格式的字符串表述,具体结构如下。'."\n" + .'- **src**:String类型,必选,黑名单IP。', 'type' => 'string', 'required' => true, 'example' => '[{"src":"198.51.XX.XX"},{"src":"198.52.XX.XX"}]'], ], ], 'responses' => [ @@ -3522,60 +2501,43 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc', - ], - 'CnameReuses' => [ - 'description' => 'CNAME复用信息。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Domain' => [ - 'description' => '网站域名。', - 'type' => 'string', - 'example' => 'www.aliyun.com', - ], - 'Cname' => [ - 'description' => '复用的CNAME值。', - 'type' => 'string', - 'example' => '4o6ep6q217k9****.aliyunddos0004.com', - ], - 'Enable' => [ - 'description' => '是否已开启CNAME复用。取值:'."\n" - .'- **0**:未开启'."\n" - .'- **1**:已开启', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - ], - ], - ], + 'RequestId' => ['description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。', 'type' => 'string', 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E'], ], ], ], ], - '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' => '查询网站业务的CNAME复用信息', - 'summary' => '查询网站业务的CNAME复用信息。', - 'description' => '该接口仅适用于DDoS高防(非中国内地)服务。', + 'title' => '删除针对DDoS高防实例的黑名单IP', + 'summary' => '删除针对DDoS高防实例的黑名单IP。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeL7RsPolicy' => [ - 'summary' => '查询网站业务转发规则的回源策略。', - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2024-12-12T05:41:48.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2022-09-08T03:34:35.000Z', 'description' => '错误码发生变更'], + ], + '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' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E\\"\\n}","errorExample":""},{"type":"xml","example":"\\n C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E\\n","errorExample":""}]', + ], + 'DeleteAutoCcWhitelist' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -3584,56 +2546,22 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '106157', - 'abilityTreeNodes' => [ - 'FEATUREddos64TBV6', - ], + 'operationType' => 'delete', + 'abilityTreeCode' => '106078', + 'abilityTreeNodes' => ['FEATUREddosRTUJBH'], ], 'parameters' => [ [ - 'name' => 'ResourceGroupId', - 'in' => 'query', - 'schema' => [ - 'description' => 'DDoS高防实例在资源管理服务中所属的资源组ID。默认为空,即属于默认资源组。'."\n" - ."\n" - .'关于资源组的更多信息,请参见[创建资源组](~~94485~~)。', - 'type' => 'string', - 'required' => false, - 'example' => 'rg-acfm2pz25js****', - ], - ], - [ - 'name' => 'Domain', + 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => '要查询的网站业务的域名。'."\n" - ."\n" - .'> 域名必须已经配置过网站业务转发规则。您可以调用[DescribeDomains](~~91724~~)查询所有已经配置过网站业务转发规则的域名。'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'example.com', - ], + 'schema' => ['description' => 'DDoS高防实例的ID。'."\n" + .'> 您可以调用[DescribeInstanceIds](~~157459~~)查询所有DDoS高防实例的ID信息。', 'type' => 'string', 'required' => true, 'example' => 'ddoscoo-cn-mp91j1ao****'], ], [ - 'name' => 'RealServers', + 'name' => 'Whitelist', 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => '要查询的源站服务器地址列表。N的最大值:200,即最多可配置200个源站服务器地址。', - 'type' => 'array', - 'items' => [ - 'description' => '要查询的源站服务器地址列表。N的最大值:200,即最多可配置200个源站服务器地址,服务器地址之间用半角逗号(,)隔开。', - 'type' => 'string', - 'required' => false, - 'example' => '1.***.***.1', - ], - 'required' => false, - 'example' => '1.***.***.1', - 'maxItems' => 20, - ], + 'schema' => ['description' => '白名单IP的详细信息,使用JSON格式的字符串表述,具体结构如下。'."\n" + .'- **src:String**类型,必选,白名单IP。', 'type' => 'string', 'required' => true, 'example' => '[{"src":"1.1.1.1"},{"src":"2.2.2.2"}]'], ], ], 'responses' => [ @@ -3641,229 +2569,62 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'ProxyMode' => [ - 'description' => '回源负载均衡算法。取值:'."\n" - ."\n" - .'- **ip_hash**:表示IP Hash算法。根据请求来源IP进行HASH映射,将同一个IP的所有请求定向到一个源站服务器。'."\n" - .'- **rr**:表示轮询算法。将所有请求轮流分配给不同源站服务器。'."\n" - .'- **least_time**:表示Least Time算法。该算法通过智能DNS解析能力,保证业务流量从接入防护节点到转发回源站服务器整个链路的时延最短。', - 'type' => 'string', - 'example' => 'rr', - ], - 'UpstreamRetry' => [ - 'description' => '回源重试开关。取值:'."\n" - ."\n" - .'- **1**:打开。'."\n" - .'- **0**:关闭。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'RsAttrRwTimeoutMax' => [ - 'description' => '当前用户读/写连接超时时间上限值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '300', - ], - 'RequestId' => [ - 'description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。', - 'type' => 'string', - 'example' => '9E7F6B2C-03F2-462F-9076-B782CF0DD502', - ], - 'Attributes' => [ - 'description' => '回源参数信息。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'RsType' => [ - 'description' => '源站服务器的地址类型。取值:'."\n" - ."\n" - .'- **0**:表示源站服务器的IP地址。'."\n" - .'- **1**:表示源站服务器的域名地址。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'RealServer' => [ - 'description' => '源站服务器地址。', - 'type' => 'string', - 'example' => '1.***.***.1', - ], - 'Attribute' => [ - 'description' => '回源参数。', - 'type' => 'object', - 'properties' => [ - 'Weight' => [ - 'description' => '服务器的权重。仅在使用轮询算法(**ProxyMode**为**rr**)和IP Hash算法(**ProxyMode**为**ip_hash**)时生效。'."\n" - ."\n" - .'权重取值范围:**1**~**100**,默认值为**100**。权重越高的服务器分配到的请求越多。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '100', - ], - 'ConnectTimeout' => [ - 'description' => '新建连接超时时间。'."\n" - .'值范围**1**~**10**秒,默认值为**5**。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '5', - ], - 'FailTimeout' => [ - 'description' => '失效时间,单位秒,当源站失败超过**MaxFails**时,则将该源站地址设置为down,时效为**FailTimeout**时间,最终取值取**ConnectTimeout**和**FailTimeout**的最大值。'."\n" - .'值范围**1**~**3600**秒,默认值为**10**。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'MaxFails' => [ - 'description' => '最大失败次数,健康检查相关。'."\n" - .'值范围**1**~**10**秒,默认值为**3**。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '3', - ], - 'Mode' => [ - 'description' => '主备属性标志。取值:'."\n" - ."\n" - .'- **active**:主。'."\n" - .'- **backup**:备。', - 'type' => 'string', - 'example' => 'active', - ], - 'ReadTimeout' => [ - 'description' => '读连接超时时间。'."\n" - .'取值范围**10**~**300**秒,默认值为**120**。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '120', - ], - 'SendTimeout' => [ - 'description' => '写连接超时时间。'."\n" - .'取值范围**10**~**300**秒,默认值为**120**。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '120', - ], - ], - ], - ], - ], - ], + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E'], ], ], ], ], - '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' => '查询网站业务转发规则的回源策略', - 'requestParamsDescription' => '调用API时,除了本文中该API的请求参数,还需加入阿里云API公共请求参数。公共请求参数的详细介绍,请参见[公共参数](~~157269~~)。'."\n" - ."\n" - .'调用API的请求格式,请参见本文**示例**中的请求示例。', + 'title' => '删除针对DDoS高防实例的白名单IP', + 'summary' => '删除针对DDoS高防实例的白名单IP。', + 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'AssociateWebCert' => [ - 'methods' => [ - 'post', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:35.000Z', 'description' => '错误码发生变更'], + ], + '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' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + '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":""}]', + ], + 'DeleteDomainResource' => [ + 'summary' => '删除指定的网站业务转发规则。', + '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' => '106081', + 'abilityTreeNodes' => ['FEATUREddos64TBV6'], ], 'parameters' => [ [ 'name' => 'Domain', - 'in' => 'formData', - 'schema' => [ - 'description' => '网站业务的域名。'."\n" - .'> 域名必须已配置网站业务转发规则。您可以调用[DescribeDomains](~~91724~~)查询所有域名。', - 'type' => 'string', - 'required' => true, - 'example' => 'www.aliyun.com', - ], - ], - [ - 'name' => 'CertId', - 'in' => 'formData', - 'schema' => [ - 'description' => '证书ID。'."\n" - .'> 传入证书ID后,无需传入CertName、Cert和Key。不能与CertIdentifier同时传入。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '2404693', - ], - ], - [ - 'name' => 'CertName', - 'in' => 'formData', - 'schema' => [ - 'description' => '证书名称。 '."\n" - ."\n" - .'> 要关联的证书名称。该参数必须与Cert和Key一同使用。', - 'type' => 'string', - 'required' => false, - 'example' => 'example-cert'."\n", - ], - ], - [ - 'name' => 'Cert', - 'in' => 'formData', - 'schema' => [ - 'description' => '要关联的证书公钥。该参数必须与CertName和Key一同使用。 '."\n" - ."\n" - .'> 传入CertName、Cert和Key后,无需传入CertId。', - 'type' => 'string', - 'required' => false, - 'example' => '-----BEGIN CERTIFICATE----- 62EcYPWd2Oy1vs6MTXcJSf*************************************************************************************************************************************************************************ZIo2ZUhl02SIDNggIEeg== -----END CERTIFICATE-----'."\n", - ], - ], - [ - 'name' => 'Key', - 'in' => 'formData', - 'schema' => [ - 'description' => '要关联的证书私钥。该参数必须与CertName和Cert一同使用。 '."\n" - ."\n" - .'> 传入CertName、Cert和Key后,无需传入CertId。', - 'type' => 'string', - 'required' => false, - 'example' => '-----BEGIN RSA PRIVATE KEY----- DADTPZoOHd9WtZ3UKHJT**************************************************************************************************************************************************************************qf0YF8bv5UK5G04RtKadOw== -----END RSA PRIVATE KEY-----'."\n", - ], - ], - [ - 'name' => 'CertIdentifier', - 'in' => 'formData', - 'schema' => [ - 'description' => '全局证书ID,证书ID+"-cn-hangzhou"。如果证书ID=123,则CertIdentifier=“123-cn-hangzhou”。'."\n" - .'> 不能与CertId同时传入。', - 'type' => 'string', - 'required' => false, - 'example' => '9430680-cn-hangzhou'."\n", - ], - ], - [ - 'name' => 'CertRegion', - 'in' => 'formData', - 'schema' => [ - 'description' => '证书所在地域。支持**cn-hangzhou**和**ap-southeast-1**,默认**cn-hangzhou** .', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou', - ], + 'in' => 'query', + 'schema' => ['description' => '要删除的网站业务转发规则对应的域名。', 'type' => 'string', 'required' => true, 'example' => 'www.example.com'], ], ], 'responses' => [ @@ -3871,31 +2632,28 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。', - 'type' => 'string', - 'example' => '40F11005-A75C-4644-95F2-52A4E7D43E91', - ], + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => '39499F01-19D9-4EA4-A0E9-C6014BA5CDBE'], ], + 'description' => '', ], ], ], - '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' => '为网站业务转发规则关联SSL证书', - 'summary' => '为网站业务转发规则关联SSL证书。', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'ConfigL7RsPolicy' => [ - 'methods' => [ - 'post', - 'get', + 'title' => '删除指定的网站业务转发规则', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:25.000Z', 'description' => '错误码发生变更'], ], - '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' => '目前不支持批量删除,每次只允许删除一个对象。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -3904,76 +2662,20 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'none', - 'abilityTreeCode' => '106052', - 'abilityTreeNodes' => [ - 'FEATUREddos64TBV6', - ], - ], - 'parameters' => [ - [ - 'name' => 'ResourceGroupId', - 'in' => 'query', - 'schema' => [ - 'description' => 'DDoS高防实例在资源管理产品中所属的资源组ID。默认为空,即属于默认资源组。'."\n" - ."\n" - .'关于资源组的更多信息,请参见[创建资源组](~~94485~~)。', - 'type' => 'string', - 'required' => false, - 'example' => 'rg-acfm2pz25js****', - ], - ], - [ - 'name' => 'Domain', - 'in' => 'query', - 'schema' => [ - 'description' => '要操作的网站业务的域名。'."\n" - ."\n" - .'> 域名必须已经配置过网站业务转发规则。您可以调用[DescribeDomains](~~91724~~)查询所有已经配置过网站业务转发规则的域名。'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'www.aliyun.com', - ], - ], - [ - 'name' => 'Policy', - 'in' => 'query', - 'schema' => [ - 'description' => '回源策略。使用JSON结构体转化的字符串格式表示,JSON结构体包含以下字段:'."\n" - ."\n" - .' - **ProxyMode**:String类型 | 必选 | 回源负载均衡算法。取值:'."\n" - .' - **ip_hash**:表示IP Hash算法。根据请求来源IP进行HASH映射,将同一个IP的所有请求定向到一个源站服务器。'."\n" - .' - **rr**:表示轮询算法。将所有请求轮流分配给不同源站服务器。使用该算法时,您可以根据不同服务器的性能为服务器设置权重。'."\n" - .' - **least_time**:表示Least Time算法。该算法通过智能DNS解析能力,保证业务流量从接入防护节点到转发回源站服务器整个链路的时延最短。'."\n" - .'- **Attributes**:JSONArray类型 | 可选 | 回源参数信息。数组中每个元素包含以下字段:'."\n" - .' - **RealServer**:String类型 | 可选 | 源站服务器地址。'."\n" - .' - **Attribute**:JSONObject类型 | 可选 | 回源参数。包含以下字段:'."\n" - .' - **Weight**:Integer类型 | 可选 | 服务器的权重。仅在使用轮询算法(**ProxyMode**为**rr**)时生效。权重取值范围:**1**~**100**,默认值为**100**。权重越高的服务器分配到的请求越多。'."\n" - .' - **ConnectTimeout**:Integer类型 | 可选 | 新建连接超时时间。值范围**1**~**10**秒,默认值为**5**。'."\n" - .' - **FailTimeout**:Integer类型 | 可选 | 失效时间,单位秒。值范围**1**~**3600**秒,默认值为**10**。'."\n" - .' - **MaxFails**:Integer类型 | 可选 | 最大失败次数,健康检查相关。值范围**1**~**10**秒,默认值为**3**。'."\n" - .' - **Mode**:String类型 | 可选 | 主备属性标志。取值:**active**为主。**backup**为备。'."\n" - .' - **ReadTimeout**:Integer类型 | 可选 | 读超时时间。值范围**10**~**300**秒,默认值为**120**。'."\n" - .' - **SendTimeout**:Integer类型 | 可选 | 写超时时间。值范围**10**~**300**秒,默认值为**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}}]}', - ], - ], + 'operationType' => 'delete', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '106083', + 'abilityTreeNodes' => ['FEATUREddos64TBV6'], + ], + 'parameters' => [ [ - 'name' => 'UpstreamRetry', + 'name' => 'NetworkRule', 'in' => 'query', - 'schema' => [ - 'description' => '回源重试开关。取值:'."\n" - ."\n" - .'- **1**:回源重试开。'."\n" - .'- **0**:回源重试关。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - 'default' => '1', - ], + 'schema' => ['description' => '要删除的端口转发规则,使用JSON格式的字符串表述,具体结构如下。'."\n" + .'- **InstanceId**:String类型,必选,DDoS高防实例ID。'."\n" + .'- **Protocol**:String类型,必选,转发协议类型。取值:**tcp**、**udp**。'."\n" + .'- **FrontendPort**:Integer类型,必选,转发端口。', 'type' => 'string', 'required' => true, 'example' => '[{"InstanceId":"ddoscoo-cn-mp91j1ao****","Protocol":"tcp","FrontendPort":8080}]'], ], ], 'responses' => [ @@ -3981,31 +2683,42 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc', - ], + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => '49AD2F34-694A-4024-9B0E-DDCFC59CCC13'], ], + 'description' => '', ], ], ], - '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' => '为转发规则设置回源策略', - 'summary' => '为已经创建的网站业务转发规则设置回源策略。', - 'description' => '如果接入DDoS高防的网站配置了多个源站服务器,您可以通过回源策略修改回源负载算法。默认使用IP Hash算法,支持修改为轮询或Leaset Time算法。具体说明请参见请求参数**Policy**的描述。', + 'title' => '删除端口转发规则', + 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'ModifyOcspStatus' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:25.000Z', 'description' => '错误码发生变更'], + ], + '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' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + '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":""}]', + ], + 'DeletePort' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -4014,36 +2727,51 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeCode' => '106252', - 'abilityTreeNodes' => [ - 'FEATUREddos64TBV6', - ], + 'operationType' => 'delete', + 'abilityTreeCode' => '106084', + 'abilityTreeNodes' => ['FEATUREddosN7DYCX'], ], 'parameters' => [ [ - 'name' => 'Domain', + 'name' => 'FrontendPort', + 'in' => 'query', + 'schema' => ['description' => '转发端口。取值范围:**0**~**65535**。', 'type' => 'string', 'required' => true, 'example' => '55'], + ], + [ + 'name' => 'FrontendProtocol', 'in' => 'query', 'schema' => [ - 'description' => '要设置静态页面缓存的域名。'."\n" - ."\n" - .'> 您可以调用[DescribeDomains](~~91724~~)查询所有已接入DDoS高防防护的域名。', + 'description' => '转发协议类型。取值:'."\n" + .'- **tcp**:表示TCP协议。'."\n" + .'- **udp**:表示UDP协议。', 'type' => 'string', 'required' => true, - 'example' => 'click.linktech.cn', + 'example' => 'tcp', + 'enum' => ['tcp', 'udp'], ], ], [ - 'name' => 'Enable', + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => ['description' => '端口转发规则所属的DDoS高防实例的ID。'."\n" + ."\n" + .'> 您可以调用[DescribeInstanceIds](~~157459~~)查询所有DDoS高防实例的ID。', 'type' => 'string', 'required' => true, 'example' => 'ddoscoo-cn-st21zbyq****'], + ], + [ + 'name' => 'BackendPort', + 'in' => 'query', + 'schema' => ['description' => '源站端口。取值范围:**0**~**65535**。', 'type' => 'string', 'required' => false, 'example' => '55'], + ], + [ + 'name' => 'RealServers', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => '是否开启OCSP功能。取值:'."\n" - .'- **1**:开启'."\n" - .'- **0**:关闭', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '1', + 'description' => '源站IP地址列表。', + 'type' => 'array', + 'items' => ['description' => '源站IP地址。', 'type' => 'string', 'required' => false, 'example' => '1.XX.XX.1'], + 'required' => false, + 'maxItems' => 20, ], ], ], @@ -4052,113 +2780,108 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。', - 'type' => 'string', - 'example' => 'D8DDBA8E-8182-5C85-AA41-F17EACFCAE0D', - ], + 'RequestId' => ['description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。', 'type' => 'string', 'example' => '39499F01-19D9-4EA4-A0E9-C6014BA5CDBE'], ], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D8DDBA8E-8182-5C85-AA41-F17EACFCAE0D\\"\\n}","type":"json"}]', - 'title' => '设置是否启用 OCSP (Online Certificate Status Protocol)功能', - 'summary' => '是否启用 OCSP (Online Certificate Status Protocol)功能。', - 'description' => '该功能适用于网站HTTPS业务。如果您已选择的协议类型包含HTTPS,推荐启用该功能。', - ], - 'ConfigL7UsKeepalive' => [ - 'summary' => '配置域名回源长连接设置。', - 'methods' => [ - 'post', - 'get', + 'title' => '删除指定的端口转发规则', + 'summary' => '删除指定的端口转发规则。', + 'description' => '删除端口转发规则后,DDoS高防实例将不会再转发该四层端口上的业务流量。请您确保已将四层端口上的业务流量切换到源站服务器,再删除对应的DDoS高防端口转发规则,避免影响您的业务访问。'."\n" + ."\n" + .'> 本接口支持与Terraform工具对接。关于Terraform的更多信息,请参见[什么是Terraform](~~95820~~)。', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:25.000Z', 'description' => '错误码发生变更'], + ], + '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' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"39499F01-19D9-4EA4-A0E9-C6014BA5CDBE\\"\\n}","type":"json"}]', + ], + 'DeleteSceneDefensePolicy' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'none', - 'abilityTreeCode' => '215883', - 'abilityTreeNodes' => [ - 'FEATUREddos64TBV6', - ], + 'operationType' => 'delete', + 'abilityTreeCode' => '106085', + 'abilityTreeNodes' => ['FEATUREddosM9SQC1'], + 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'Domain', - 'in' => 'query', - 'schema' => [ - 'description' => '网站业务的域名。'."\n" - .'> 域名必须已配置网站业务转发规则。您可以调用[DescribeDomains](~~91724~~)查询所有域名。', - 'type' => 'string', - 'required' => false, - 'example' => 'www.aliyun.com', - ], - ], - [ - 'name' => 'UpstreamKeepalive', - 'in' => 'query', - 'schema' => [ - 'description' => '高防回源长连接设置参数,使用JSON结构体转化的字符串格式表示,JSON结构体包含以下字段:'."\n" - ."\n" - .'- **enabled**:Boolean类型 | 必选 | 回源长连接配置开关。'."\n" - .'- **keepalive_requests**:Integer类型 | 必选 | 长连接复用的请求数量。'."\n" - .'- **keepalive_timeout**:Integer类型 | 必选 | 长连接的空闲超时时间。', - 'type' => 'string', - 'required' => true, - 'example' => '{"enabled": true, "keepalive_requests": 1000,"keepalive_timeout": 30}', - ], - ], - [ - 'name' => 'DownstreamKeepalive', + 'name' => 'PolicyId', 'in' => 'query', - 'schema' => [ - 'description' => '客户端跟高防长连接的空闲超时时间', - 'type' => 'string', - 'required' => false, - 'example' => '60', - ], + 'schema' => ['description' => '要删除的策略ID。'."\n" + ."\n" + .'> 您可以调用[DescribeSceneDefensePolicies](~~159382~~)查询所有策略ID。', 'type' => 'string', 'required' => true, 'example' => '321a-fd31-df51-****'], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。', - 'type' => 'string', - 'example' => '6D48AED0-41DB-5D9B-B484-3B6AAD312AW2', - ], + 'Success' => ['description' => '是否成功调用。取值:'."\n" + .'- **true**:是'."\n" + .'- **false**:否', 'type' => 'boolean', 'example' => 'true'], + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'F65DF043-E0EB-4796-9467-23DDCDF92C1D'], ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'title' => '删除定制场景策略', + 'summary' => '删除定制场景策略。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:25.000Z', 'description' => '错误码发生变更'], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6D48AED0-41DB-5D9B-B484-3B6AAD312AW2\\"\\n}","type":"json"}]', - 'title' => '配置域名回源长连接设置', - ], - 'DescribeL7UsKeepalive' => [ - 'summary' => '查询域名回源长连接设置。', - 'methods' => [ - 'post', - 'get', + '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' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + '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":""}]', + ], + 'DeleteSchedulerRule' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -4167,90 +2890,63 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'none', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '215888', - 'abilityTreeNodes' => [ - 'FEATUREddos64TBV6', - ], + 'operationType' => 'delete', + 'abilityTreeCode' => '106086', + 'abilityTreeNodes' => ['FEATUREddosZIK01A'], ], 'parameters' => [ [ - 'name' => 'Domain', + 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => '网站业务的域名。'."\n" - .'> 域名必须已配置网站业务转发规则。您可以调用[DescribeDomains](~~91724~~)查询所有域名。', - 'type' => 'string', - 'required' => false, - 'example' => 'www.aliyun.com', - ], + 'schema' => ['description' => 'DDoS高防实例在资源管理产品中所属的资源组ID。默认为空,即属于默认资源组。', 'type' => 'string', 'required' => false, 'example' => 'default'], + ], + [ + 'name' => 'RuleName', + 'in' => 'query', + 'schema' => ['description' => '要删除的规则名称。', 'type' => 'string', 'required' => true, 'example' => 'testrule'], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。', - 'type' => 'string', - 'example' => '39499F01-19D9-4EA4-A0E9-C6014BA5CDHE', - ], - 'RsKeepalive' => [ - 'description' => '配置的回源长连接参数。', - 'type' => 'object', - 'properties' => [ - 'Enabled' => [ - 'description' => '是否开启回源长连接。取值:'."\n" - ."\n" - .'- **true**:表示开启。'."\n" - .'- **false**:表示不开启。', - 'type' => 'boolean', - 'example' => 'true', - ], - 'KeepaliveRequests' => [ - 'description' => '长连接复用的请求数量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'KeepaliveTimeout' => [ - 'description' => '长连接的空闲超时时间。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '30', - ], - 'DsKeepaliveTimeout' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - ], - ], + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc'], ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'title' => '删除流量调度器调度规则', + 'summary' => '删除流量调度器调度规则。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:25.000Z', 'description' => '错误码发生变更'], ], - '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' => '查询回源长连接设置', - ], - 'ModifyHeaders' => [ - 'summary' => '修改DDoS高防实例中已创建的域名自定义Header。', - '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' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + '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":""}]', + ], + 'DeleteTagResources' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -4259,144 +2955,142 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '106247', - 'abilityTreeNodes' => [ - 'FEATUREddosCT2Z4D', - ], + 'operationType' => 'delete', + 'abilityTreeCode' => '106087', + 'abilityTreeNodes' => ['FEATUREddosMHU3MF'], ], 'parameters' => [ [ - 'name' => 'ResourceGroupId', + 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '目标资源组ID。'."\n" - .'> * 您可以通过调用[ListResourceGroups](~~158855~~)接口或通过控制台获取资源组ID列表。相关操作,请参见[查看资源组基本信息](~~151181~~)。'."\n" - .'* 修改实例所属的资源组之前,您可以调用[ListResources](~~158866~~)接口查看实例现在所属的资源组。', - 'type' => 'string', - 'required' => false, - 'example' => 'rg-acfmz6jbof5****'."\n", - ], + 'schema' => ['description' => 'DoS高防实例所属地域ID。取值固定为**cn-hangzhou**,表示中国内地,即DDoS高防(中国内地)服务。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], ], [ - 'name' => 'Domain', + 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => '网站业务的域名。'."\n" - .'> 域名必须已配置网站业务转发规则。您可以调用[DescribeDomains](~~91724~~)查询所有域名。', - 'type' => 'string', - 'required' => true, - 'example' => 'example.aliyundoc.com', - ], + 'schema' => ['description' => 'DDoS高防实例在资源管理服务中所属的资源组ID。'."\n" + ."\n" + .'不设置该参数表示默认资源组。', 'type' => 'string', 'required' => false, 'example' => 'rg-acfm2pz25js****'], ], [ - 'name' => 'CustomHeaders', + 'name' => 'ResourceType', 'in' => 'query', - 'schema' => [ - 'description' => '自定义header的键值对。 Key为Header名称,Value为对应的值,Key和Value最最多设置5对,总长度最多为200字符。'."\n" - ."\n" - .'注意事项: '."\n" - ."\n" - .'- 请不要使用以下默认字段作为自定义Header。'."\n" - .' - X-Forwarded-ClientSrcPort:默认被用于获取访问高防七层引擎的客户端端口。'."\n" - .' - X-Forwarded-ProxyPort:默认被用于获取访问高防七层引擎的监听端口。'."\n" - .' - X-Forwarded-For:默认被用于获取访问高防七层引擎的客户端IP。'."\n" - .'- 请不要使用标准HTTP头部字段(例如,host、user-agent、connection、upgrade等)或一些被广泛使用的自定义HTTP头部字段(x-real-ip、x-true-ip、x-client-ip、web-server-type、wl-proxy-client-ip、eagleeye-rpcid、eagleeye-traceid、x-forwarded-cluster、x-forwarded-proto等),否则会导致请求原始头部字段的内容被改写。'."\n" - ."\n" - .'>如果您将Key设置为X-Forwarded-ClientSrcPort,表示获取访问高防七层引擎的客户端端口,此时Value值为""。', - 'type' => 'string', - 'required' => true, - 'example' => '{"X-Forwarded-ClientSrcPort":""}', - ], + 'schema' => ['description' => '资源类型。取值固定为**INSTANCE**,表示DDoS高防实例。', 'type' => 'string', 'required' => true, 'example' => 'INSTANCE'], ], [ - 'name' => 'EmbeddedHeaders', + 'name' => 'All', 'in' => 'query', - 'schema' => [ - 'title' => '请求头字段转发配置', - 'description' => '请求头字段转发配置', - 'type' => 'string', + 'schema' => ['description' => '是否移除资源上的所有标签。取值:'."\n" + .'- **true**:表示是。'."\n" + .'- **false**(默认):表示否。', 'type' => 'boolean', 'required' => false, 'example' => 'false'], + ], + [ + 'name' => 'ResourceIds', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'description' => '要移除标签的DDoS高防实例的ID列表。', + 'type' => 'array', + 'items' => ['description' => '要移除标签的DDoS高防实例的ID。'."\n" + ."\n" + .'> 您可以调用[DescribeInstanceIds](~~157459~~)查询所有DDoS高防实例的ID。', 'type' => 'string', 'required' => false, 'example' => 'ddoscoo-cn-zvp2eibz****'], + 'required' => true, + 'example' => 'ddoscoo-cn-mp91j1ao****', + 'maxItems' => 51, + ], + ], + [ + 'name' => 'TagKey', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'description' => '要移除的标签键列表。', + 'type' => 'array', + 'items' => ['description' => '要移除的标签键。', 'type' => 'string', 'required' => false, 'example' => 'doc-test-key'], 'required' => false, - 'example' => '{"X-Client-IP":true,"X-True-IP":true,"Web-Server-Type":true,"WL-Proxy-Client-IP":true,"X-Forwarded-Proto":true}', + 'example' => 'testkey', + 'maxItems' => 21, ], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => '返回参数。', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题', - 'type' => 'string', - 'example' => 'DC38A1D3-C042-5670-8394-8F6B1FA97B5E', - ], + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => '6623EA1F-30FB-5BC8-BEC9-74D55F6F08F1'], ], ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'InvalidEmbeddedHeaders', - 'errorMessage' => 'EmbeddedHeaders parameter is invalid.', + 'title' => '为资源移除标签', + 'summary' => '为DDoS高防(中国内地)实例移除标签。', + 'description' => '本接口用于为DDoS高防(中国内地)实例移除标签。'."\n" + ."\n" + .'> 只有DDoS高防(中国内地)服务支持标签功能。'."\n" + ."\n" + .'### QPS限制'."\n" + ."\n" + .'本接口的单用户QPS限制为10次/秒。超过限制,API调用将会被限流,这可能影响您的业务,请合理调用。', + 'requestParamsDescription' => '调用API时,除了本文中该API的请求参数,还需加入阿里云API公共请求参数。公共请求参数的详细介绍,请参见[公共参数](~~157269~~)。'."\n" + ."\n" + .'调用API的请求格式,请参见本文**示例**中的请求示例。', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:25.000Z', 'description' => '错误码发生变更'], + ], + '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' => '全部资源', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"DC38A1D3-C042-5670-8394-8F6B1FA97B5E\\"\\n}","type":"json"}]', - 'title' => '修改自定义header', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6623EA1F-30FB-5BC8-BEC9-74D55F6F08F1\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 6623EA1F-30FB-5BC8-BEC9-74D55F6F08F1\\n","errorExample":""}]', ], - 'DescribeHeaders' => [ - 'summary' => '查询域名的自定义Header。', - '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' => 'DDoS高防实例在资源管理服务中所属的资源组ID。默认为空,即属于默认资源组。', - 'type' => 'string', - 'required' => false, - 'example' => 'rg-aek3cmuvpia****', - ], + 'schema' => ['description' => 'DDoS高防实例在资源管理产品中所属的资源组ID。默认为空,即属于默认资源组。', 'type' => 'string', 'required' => false, 'example' => 'default'], ], [ 'name' => 'Domain', 'in' => 'query', - 'schema' => [ - 'description' => '要查询自定义Header的域名。'."\n" - ."\n" - .'> 您可以调用[DescribeDomains](~~91724~~)查询所有已接入DDoS高防防护的域名。', - 'type' => 'string', - 'required' => true, - 'example' => 'example.aliyundoc.com', - ], + 'schema' => ['description' => '网站业务的域名。'."\n" + .'> 域名必须已配置网站业务转发规则。您可以调用[DescribeDomains](~~91724~~)查询所有域名。', 'type' => 'string', 'required' => true, 'example' => 'www.aliyun.com'], + ], + [ + 'name' => 'Name', + 'in' => 'query', + 'schema' => ['description' => '要删除的自定义频率控制(CC防护)规则的名称。', 'type' => 'string', 'required' => true, 'example' => 'wq'], ], ], 'responses' => [ @@ -4404,112 +3098,77 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。', - 'type' => 'string', - 'example' => '48BC7BA5-69BE-5C31-A080-AFF2431AE48D', - ], - 'CustomHeader' => [ - 'description' => '自定义头信息。', - 'type' => 'object', - 'properties' => [ - 'Headers' => [ - 'description' => '返回头信息。', - 'type' => 'string', - 'example' => '{"X-Forwarded-ClientSrcPort":"","header1":"hLeLele"}', - ], - 'Domain' => [ - 'description' => '网站业务的域名。', - 'type' => 'string', - 'example' => 'example.aliyundoc.com', - ], - ], - ], - 'EmbeddedHeaders' => [ - 'title' => '请求头字段转发配置', - 'description' => '请求头字段转发配置', - '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' => '本次请求的ID。', 'type' => 'string', 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc'], ], ], ], ], - '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' => '查询自定义header', - ], - 'DescribeDomainH2Fingerprint' => [ - 'summary' => '查询网站的HTTP 2.0 指纹信息。', - 'methods' => [ - 'post', - 'get', + 'staticInfo' => [ + 'substitutions' => ['ddoscoo::2020-01-01::DeleteWebCCRuleV2'], + ], + 'title' => '删除网站CC防护自定义规则', + 'summary' => '删除网站业务频率控制防护(CC防护)的自定义规则。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:25.000Z', 'description' => '错误码发生变更'], + ], + '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' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + '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":""}]', + ], + 'DeleteWebCCRuleV2' => [ + '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' => '网站业务的域名。'."\n" - ."\n" - .'> 您可以调用[DescribeDomains](~~91724~~)查询所有已接入DDoS高防防护的网站业务的域名。', - 'type' => 'string', - 'required' => false, - 'example' => 'example.aliyundoc.com'."\n", - ], - ], - [ - 'name' => 'StartTime', - 'in' => 'query', - 'schema' => [ - 'description' => '查询开始时间。时间戳格式,单位:秒。'."\n" - .'> 必须为整点分钟。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1716435180', - ], + 'schema' => ['description' => '网站业务的域名。'."\n" + .'> 域名必须已配置网站业务转发规则。您可以调用[DescribeDomains](~~91724~~)查询所有域名。', 'type' => 'string', 'required' => true, 'example' => 'www.example.com'], ], [ - 'name' => 'EndTime', + 'name' => 'RuleNames', 'in' => 'query', - 'schema' => [ - 'description' => '查询结束时间。时间戳格式,单位:秒。'."\n" - .'> 必须为整点分钟。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1726318200', - ], + 'schema' => ['description' => '要删除的规则的名称列表。', 'type' => 'string', 'required' => false, 'example' => '[\\"trdsss\\"]'], ], [ - 'name' => 'Limit', + 'name' => 'Owner', 'in' => 'query', - 'schema' => [ - 'description' => '返回数据条目。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '20', - ], + 'schema' => ['description' => '规则来源。取值:'."\n" + .'- **manual**:手动添加(默认)'."\n" + .'- **clover**:自动生成(指定删除智能规则使用)', 'type' => 'string', 'required' => false, 'example' => 'manual'], ], ], 'responses' => [ @@ -4517,56 +3176,38 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。', - 'type' => 'string', - 'example' => '112777CC-2AD6-46FC-A263-00B931406FCD', - ], - 'DomainH2Fp' => [ - 'description' => '域名Top N HTTP2.0 指纹列表。', - 'type' => 'array', - 'items' => [ - 'description' => 'HTTP2.0 指纹信息。', - 'type' => 'object', - 'properties' => [ - 'H2Fingerprint' => [ - 'description' => 'HTTP2.0 指纹。', - 'type' => 'string', - 'example' => '532501bc316d02c8b1a007db76f2c796', - ], - 'Pv' => [ - 'description' => '域名匹配HTTP2.0 指纹次数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '471755', - ], - 'Domain' => [ - 'description' => '网站业务的域名。', - 'type' => 'string', - 'example' => 'example.aliyundoc.com'."\n", - ], - ], - ], - ], + 'RequestId' => ['description' => '本次调用请求的 ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。', 'type' => 'string', 'example' => '6D48AED0-41DB-5D9B-B484-3B6AAD312AD1'], ], + 'description' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '删除网站业务频率控制防护(CC防护)的自定义规则', + 'summary' => '删除网站业务频率控制防护(CC防护)的自定义规则。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DeleteWebCCRuleV2', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', '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' => '查询网站 HTTP2.0 指纹', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6D48AED0-41DB-5D9B-B484-3B6AAD312AD1\\"\\n}","type":"json"}]', ], - 'DescribeDomainTopReferer' => [ - 'summary' => '查询网站Top N Referer。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'https', - ], + 'DeleteWebCacheCustomRule' => [ + 'summary' => '删除网站业务静态页面缓存的自定义规则。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -4575,70 +3216,38 @@ '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' => '服务地域。取值:'."\n" - .'- **cn**:中国内地。'."\n" - .'- **cn-hongkong**:非中国内地。', - 'type' => 'string', - 'required' => true, - 'example' => 'cn', - ], + 'schema' => ['description' => 'DDoS高防实例在资源管理服务中所属的资源组ID。'."\n" + ."\n" + .'不设置该参数表示默认资源组。', 'type' => 'string', 'required' => false, 'example' => 'rg-acfm2pz25js****'], ], [ 'name' => 'Domain', 'in' => 'query', - 'schema' => [ - 'description' => '网站业务的域名。'."\n" - .'> 域名必须已配置网站业务转发规则。您可以调用[DescribeDomains](~~91724~~)查询所有域名。', - 'type' => 'string', - 'required' => false, - 'example' => 'example.aliyundoc.com'."\n", - ], - ], - [ - 'name' => 'StartTime', - 'in' => 'query', - 'schema' => [ - 'description' => '查询开始时间。时间戳格式,单位:秒。'."\n" - .'> 必须为整点分钟。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1701991920', - ], - ], - [ - 'name' => 'EndTime', - 'in' => 'query', - 'schema' => [ - 'description' => '查询结束时间。时间戳格式,单位:秒。'."\n" - .'> 必须为整点分钟。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1721561100', - ], + 'schema' => ['description' => '要删除静态页面缓存自定义规则的域名。'."\n" + ."\n" + .'> 您可以调用[DescribeDomains](~~91724~~)查询所有已接入DDoS高防防护的域名。', 'type' => 'string', 'required' => true, 'example' => 'www.aliyundoc.com'], ], [ - 'name' => 'Limit', + 'name' => 'RuleNames', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => '返回数据条目。', - 'type' => 'integer', - 'format' => 'int64', + 'description' => '要删除的规则的名称列表。', + 'type' => 'array', + 'items' => ['description' => '要删除的规则的名称。', 'type' => 'string', 'required' => false, 'example' => 'doc-test-rule'], 'required' => true, - 'example' => '10', + 'example' => 'test', + 'maxItems' => 10, ], ], ], @@ -4647,56 +3256,50 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。', - 'type' => 'string', - 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80', - ], - 'DomainTopReferer' => [ - 'description' => '网站Top Referer数据。', - 'type' => 'array', - 'items' => [ - 'description' => 'Referer数据。', - 'type' => 'object', - 'properties' => [ - 'Referer' => [ - 'description' => 'Referer 经过Base64加密后的值。', - 'type' => 'string', - 'example' => 'aHR0cHM6Ly9zZXJ2aWNld2VjaGF0LmNvbS93eGY3ZDc5YWY0YzU4ZDH3NTEvNC9wYWdlLWZyYW1lLmh0bWw=', - ], - 'Pv' => [ - 'description' => '请求匹配次数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '257031', - ], - 'Domain' => [ - 'description' => '网站业务的域名。', - 'type' => 'string', - 'example' => 'example.aliyundoc.com'."\n", - ], - ], - ], - ], + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => '6623EA1F-30FB-5BC8-BEC9-74D55F6F08F1'], ], + 'description' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'title' => '删除网站业务静态页面缓存的自定义规则', + 'description' => '本接口用于批量删除网站业务静态页面缓存的自定义规则。'."\n" + ."\n" + .'### QPS限制'."\n" + ."\n" + .'本接口的单用户QPS限制为10次/秒。超过限制,API调用将会被限流,这可能影响您的业务,请合理调用。', + 'requestParamsDescription' => '调用API时,除了本文中该API的请求参数,还需加入阿里云API公共请求参数。公共请求参数的详细介绍,请参见[公共参数](~~157269~~)。'."\n" + ."\n" + .'调用API的请求格式,请参见本文**示例**中的请求示例。', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:25.000Z', 'description' => '错误码发生变更'], ], - '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' => '查询网站Top Referer', - ], - 'DescribeDomainTopUserAgent' => [ - 'summary' => '查询网站Top UserAgent。', - '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' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6623EA1F-30FB-5BC8-BEC9-74D55F6F08F1\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 6623EA1F-30FB-5BC8-BEC9-74D55F6F08F1\\n","errorExample":""}]', + ], + 'DeleteWebPreciseAccessRule' => [ + 'summary' => '删除网站业务精确访问控制规则。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -4705,70 +3308,35 @@ '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' => '服务地域。取值:'."\n" - .'- **cn**:中国内地。'."\n" - .'- **cn-hongkong**:非中国内地。', - 'type' => 'string', - 'required' => true, - 'example' => 'cn', - ], + 'schema' => ['description' => 'DDoS高防实例在资源管理产品中所属的资源组ID。默认为空,即属于默认资源组。', 'type' => 'string', 'required' => false, 'example' => 'default'], ], [ 'name' => 'Domain', 'in' => 'query', - 'schema' => [ - 'description' => '网站业务的域名。'."\n" - .'> 域名必须已配置网站业务转发规则。您可以调用[DescribeDomains](~~91724~~)查询所有域名。', - 'type' => 'string', - 'required' => false, - 'example' => 'www.example.com'."\n", - ], - ], - [ - 'name' => 'StartTime', - 'in' => 'query', - 'schema' => [ - 'description' => '查询开始时间。时间戳格式,单位:秒。'."\n" - .'> 必须为整点分钟。'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1609430400', - ], - ], - [ - 'name' => 'EndTime', - 'in' => 'query', - 'schema' => [ - 'description' => '查询结束时间。时间戳格式,单位:秒。'."\n" - .'> 必须为整点分钟。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1708352700', - ], + 'schema' => ['description' => '网站业务的域名。'."\n" + .'> 域名必须已配置网站业务转发规则。您可以调用[DescribeDomains](~~91724~~)查询所有域名。', 'type' => 'string', 'required' => true, 'example' => 'www.aliyun.com'], ], [ - 'name' => 'Limit', + 'name' => 'RuleNames', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => '返回数据条目。', - 'type' => 'integer', - 'format' => 'int64', + 'description' => '要删除的精确访问控制规则的名称。', + 'type' => 'array', + 'items' => ['description' => '访问控制规则的名称。', 'type' => 'string', 'required' => false, 'example' => 'testrule'], 'required' => true, - 'example' => '20', + 'example' => 'testrule', + 'maxItems' => 10, ], ], ], @@ -4777,56 +3345,42 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '本次调用请求的 ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。', - 'type' => 'string', - 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80', - ], - 'DomainTopUa' => [ - 'description' => 'UserAgent列表数据。', - 'type' => 'array', - 'items' => [ - 'description' => 'userAgent数据。', - 'type' => 'object', - 'properties' => [ - 'UserAgent' => [ - 'description' => 'User-Agent经过base64加密的值。', - 'type' => 'string', - 'example' => 'TW96aWxsYS81LjAgKFgxMTsgTGludXggeDg2XzY0KSBBcHBsZVdlYktpdC81MzcuMzYgKEtIVE1MLCBsaWtlIEdlY2tvKSBDaHJvbWUvOTYuMC40NjY0LjExMCACYWZhcmkvNTM3LjM2', - ], - 'Pv' => [ - 'description' => '请求匹配次数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '22121', - ], - 'Domain' => [ - 'description' => '网站域名。', - 'type' => 'string', - 'example' => 'www.example.com'."\n", - ], - ], - ], - ], + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc'], ], + 'description' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'title' => '删除网站业务精确访问控制规则', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:24.000Z', 'description' => '错误码发生变更'], ], - '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' => '查询网站Top UserAgent', - ], - 'DescribeDomainTopFingerprint' => [ - 'summary' => '查询网站Top N 客户端指纹。', - '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' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + '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":""}]', + ], + 'DeleteWebRule' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -4835,82 +3389,94 @@ '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' => '服务地域。取值:'."\n" - .'- **cn**:中国内地。'."\n" - .'- **cn-hongkong**:非中国内地。', - 'type' => 'string', - 'required' => true, - 'example' => 'cn', - ], + 'schema' => ['description' => 'DDoS高防实例在资源管理服务中所属的资源组ID。默认为空,即属于默认资源组。'."\n" + ."\n" + .'关于资源组的更多信息,请参见[创建资源组](~~94485~~)。', 'type' => 'string', 'required' => false, 'example' => 'rg-acfm2pz25js****'], ], [ 'name' => 'Domain', 'in' => 'query', + 'schema' => ['description' => '要删除的网站业务的域名。'."\n" + ."\n" + .'> 域名必须已配置网站业务转发规则。您可以调用[DescribeDomains](~~91724~~)查询所有已配置网站业务转发规则的域名。', 'type' => 'string', 'required' => true, 'example' => 'www.aliyun.com'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '网站业务的域名。'."\n" - .'> 域名必须已配置网站业务转发规则。您可以调用[DescribeDomains](~~91724~~)查询所有域名。', - 'type' => 'string', - 'required' => false, - 'example' => 'example.aliyundoc.com'."\n", + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => '9EC62E89-BD30-4FCD-9CB8-FA53865FF0D7'], + ], ], ], + ], + 'title' => '删除网站业务转发规则', + 'summary' => '删除网站业务转发规则。', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:24.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteWebRule'], + ], + ], + 'ramActions' => [ [ - 'name' => 'StartTime', - 'in' => 'query', - 'schema' => [ - 'description' => '查询开始时间。使用时间戳格式,单位:秒。'."\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' => '全部资源', 'arn' => '*'], + ], ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"9EC62E89-BD30-4FCD-9CB8-FA53865FF0D7\\"\\n}","type":"json"}]', + ], + 'DescribeAsyncTasks' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '106092', + 'abilityTreeNodes' => ['FEATUREddos64TBV6', 'FEATUREddosN7DYCX'], + ], + 'parameters' => [ [ - 'name' => 'EndTime', + 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => '查询结束时间。时间戳格式,单位:秒。'."\n" - .'> 必须为整点分钟。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1723552200', - ], + 'schema' => ['description' => 'DDoS高防实例在资源管理服务中所属的资源组ID。'."\n" + ."\n" + .'不设置该参数表示默认资源组。', 'type' => 'string', 'required' => false, 'example' => 'rg-acfm2pz25js****'], ], [ - 'name' => 'Limit', + 'name' => 'PageNumber', 'in' => 'query', - 'schema' => [ - 'description' => '返回数据条目。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '10', - ], + 'schema' => ['description' => '分页查询时,设置当前页面的页码。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1'], ], [ - 'name' => 'Interval', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => '返回数据的步长,单位为秒,即每隔多少秒返回一个结果。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '60', - ], + 'schema' => ['description' => '分页查询时,设置每页包含异步导出任务的数量。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '10'], ], ], 'responses' => [ @@ -4918,34 +3484,45 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '本次调用请求的 ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。', - 'type' => 'string', - 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E', - ], - 'DomainTopFp' => [ - 'description' => '网站客户端指纹列表。', + 'TotalCount' => ['description' => '查询到的异步导出任务的总数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'RequestId' => ['description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。', 'type' => 'string', 'example' => '6623EA1F-30FB-5BC8-BEC9-74D55F6F08F1'], + 'AsyncTasks' => [ + 'description' => '异步导出任务的详细信息。', 'type' => 'array', 'items' => [ - 'description' => '网站客户端指纹。', 'type' => 'object', 'properties' => [ - 'Fingerprinting' => [ - 'description' => '客户端指纹。', - 'type' => 'string', - 'example' => '8a374c9724582b14a4cfa58c8c9fb2bc', - ], - 'Pv' => [ - 'description' => '请求匹配次数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '22121', - ], - 'Domain' => [ - 'description' => '网站业务的域名。', - 'type' => 'string', - 'example' => 'example.aliyundoc.com'."\n", - ], + 'EndTime' => ['description' => '任务结束时间。使用时间戳表示,单位:毫秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '157927362000'], + 'TaskType' => ['description' => '任务类型。取值:'."\n" + .'- **1**:四层导出任务,表示导出DDoS高防实例的端口转发规则。'."\n" + .'- **2**:七层导出任务,表示导出网站业务转发规则。'."\n" + .'- **3**:会话、健康检查导出任务,表示导出DDoS高防实例的会话、健康检查配置。'."\n" + .'- **4**:DDoS防护策略导出任务,表示导出DDoS高防实例的DDoS防护策略配置。'."\n" + .'- **5**:黑名单(针对目的IP)下载任务,表示导出针对DDoS高防实例的黑名单IP。'."\n" + .'- **6**:白名单(针对目的IP)下载任务,表示导出针对DDoS高防实例的白名单IP。', 'type' => 'integer', 'format' => 'int32', 'example' => '5'], + 'StartTime' => ['description' => '任务开始时间。使用时间戳表示,单位:毫秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '156927362000'], + 'TaskParams' => ['description' => '任务参数。使用JSON格式的字符串表达。不同**TaskType**的任务参数不完全相同。'."\n" + ."\n" + .'**TaskType**为**1**、**3**、**4**、**5**、**6**时,任务参数的结构如下:'."\n" + .'- **instanceId**:String类型,DDoS高防实例的ID。'."\n" + ."\n" + .'**TaskType**为**2**时,任务参数的结构如下:'."\n" + .'- **domain**:String类型,网站业务的域名。', 'type' => 'string', 'example' => '{"instanceId": "ddoscoo-cn-mp91j1ao****"}'], + 'TaskStatus' => ['description' => '任务状态。取值:'."\n" + .'- **0**:表示任务初始化。'."\n" + .'- **1**:表示任务进行中。'."\n" + .'- **2**:表示任务成功。'."\n" + .'- **3**:表示任务失败。', 'type' => 'integer', 'format' => 'int32', 'example' => '2'], + 'TaskResult' => ['description' => '任务结果。使用JSON格式的字符串表达。不同**TaskType**的任务结果不完全相同。'."\n" + ."\n" + .'**TaskType**为**1**、**3**、**4**、**5**、**6**时,任务结果的结构如下:'."\n" + .'- **instanceId**:String类型,DDoS高防实例的ID。'."\n" + .'- **url**:String类型,导出文件的OSS下载地址。'."\n" + ."\n" + .'**TaskType**为**2**时,任务结果的结构如下:'."\n" + .'- **domain**:String类型,网站业务的域名。'."\n" + .'- **url**:String类型,导出文件的OSS下载地址。', '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' => '任务ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], ], ], ], @@ -4953,21 +3530,44 @@ ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'title' => '查询异步导出任务详细信息', + 'summary' => '例如任务ID、任务开始和结束时间、任务状态、任务参数、任务结果等。', + 'description' => '本接口用于查询异步导出任务的详细信息,例如,任务ID、任务开始和结束时间、任务状态、任务参数、任务结果等。'."\n" + ."\n" + .'### QPS限制'."\n" + ."\n" + .'本接口的单用户QPS限制为10次/秒。超过限制,API调用将会被限流,这可能影响您的业务,请合理调用。', + 'requestParamsDescription' => '调用API时,除了本文中该API的请求参数,还需加入阿里云API公共请求参数。公共请求参数的详细介绍,请参见[公共参数](~~157269~~)。'."\n" + ."\n" + .'调用API的请求格式,请参见本文**示例**中的请求示例。', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:24.000Z', 'description' => '错误码发生变更'], ], - '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' => '查询网站Top N客户端指纹', - ], - 'DescribeDomainBps' => [ - 'summary' => '查询网站带宽流量。', - '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' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + '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":""}]', + ], + 'DescribeAttackAnalysisMaxQps' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -4976,73 +3576,25 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'list', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREddosRTUJBH', - ], + 'operationType' => 'get', + 'abilityTreeCode' => '106093', + 'abilityTreeNodes' => ['FEATUREddosRTUJBH'], ], 'parameters' => [ - [ - 'name' => 'Region', - 'in' => 'query', - 'schema' => [ - 'description' => '服务地域。取值:'."\n" - .'- **cn**:中国内地。'."\n" - .'- **cn-hongkong**:非中国内地。', - 'type' => 'string', - 'required' => true, - 'example' => 'cn', - ], - ], - [ - 'name' => 'Domain', - 'in' => 'query', - 'schema' => [ - 'description' => '网站业务的域名。'."\n" - .'> 域名必须已配置网站业务转发规则。您可以调用[DescribeDomains](~~91724~~)查询所有域名。', - 'type' => 'string', - 'required' => false, - 'example' => 'www.example.com', - ], - ], [ 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => '要查询的请求数据的开始时间。使用时间戳表示,单位:秒。'."\n" - ."\n" - .'> 必须为整点分钟。'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1719211800', - ], + 'schema' => ['description' => '查询开始时间。使用时间戳格式,单位:秒。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1622476799'], ], [ 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => '要查询的请求数据的结束时间。使用时间戳表示,单位:秒。'."\n" - ."\n" - .'> 必须为整点分钟。'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1722339300', - ], + 'schema' => ['description' => '查询结束时间。使用时间戳格式,单位:秒。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1619798400'], ], [ - 'name' => 'Interval', + 'name' => 'Ip', 'in' => 'query', - 'schema' => [ - 'description' => '查询数据的时间粒度,支持300、 3600和86400秒。3天以内(不包含3天整)支持300、 3600、 86400。3-31天(不包含31天整)支持3600和86400。31天以上支持86400。不传和传的值不支持时,使用默认值。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '600', - ], + 'schema' => ['type' => 'string'], ], ], 'responses' => [ @@ -5050,58 +3602,44 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。', - 'type' => 'string', - 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E', - ], - 'DomainBps' => [ - 'description' => '查询的带宽列表数据。', - 'type' => 'array', - 'items' => [ - 'description' => '带宽数据。', - 'type' => 'object', - 'properties' => [ - 'Index' => [ - 'description' => '返回数据的索引号。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'InBps' => [ - 'description' => '入方向带宽,单位:bps。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'OutBps' => [ - 'description' => '出方向带宽,单位:bps。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - ], - ], - ], + 'Qps' => ['description' => 'DDoS攻击的峰值,单位:qps。', 'type' => 'integer', 'format' => 'int64', 'example' => '41652'], + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => '8DFB602D-1AAC-46C4-90F2-C84086E7A6E4'], ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'title' => '查询指攻击的峰值', + 'summary' => '查询指定时间段内DDoS攻击的峰值(qps)。', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2025-08-20T06:55:20.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2025-08-20T05:41:00.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2022-09-08T03:34:24.000Z', 'description' => '错误码发生变更'], ], - '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' => '查询网站带宽流量', - ], - 'DescribeDomainTopHttpMethod' => [ - 'summary' => '查询网站Top N的HTTP_Method。', - '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' => '全部资源', '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":""}]', + ], + 'DescribeAutoCcBlacklist' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -5110,71 +3648,38 @@ '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' => '服务地域。取值:'."\n" - .'- **cn**:中国内地。'."\n" - .'- **cn-hongkong**:非中国内地。', - 'type' => 'string', - 'required' => true, - 'example' => 'cn', - ], + 'schema' => ['description' => 'DDoS高防实例的ID。'."\n" + .'> 您可以调用[DescribeInstanceIds](~~157459~~)查询所有DDoS高防实例的ID信息。', 'type' => 'string', 'required' => true, 'example' => 'ddoscoo-cn-mp91j1ao****'], ], [ - 'name' => 'Domain', + 'name' => 'QueryType', 'in' => 'query', - 'schema' => [ - 'description' => '网站业务的域名。'."\n" - .'> 域名必须已配置网站业务转发规则。您可以调用[DescribeDomains](~~91724~~)查询所有域名。', - 'type' => 'string', - 'required' => false, - 'example' => 'example.aliyundoc.com'."\n", - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'StartTime', + 'name' => 'KeyWord', 'in' => 'query', - 'schema' => [ - 'description' => '查询开始时间。时间戳格式,单位:秒。'."\n" - .'> 必须为整点分钟。'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1712449710', - ], + 'schema' => ['description' => '使用源IP关键字查询,指定要查询的源IP的前缀。'."\n" + ."\n" + .'> 必须大于3个字符。', 'type' => 'string', 'required' => false, 'example' => '138'], ], [ - 'name' => 'EndTime', + 'name' => 'PageNumber', 'in' => 'query', - 'schema' => [ - 'description' => '查询结束时间。时间戳格式,单位:秒。'."\n" - .'> 必须为整点分钟。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1722339300', - ], + 'schema' => ['description' => '分页查询请求时返回的页码。例如,查询第一页的返回结果,则填写**1**。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1'], ], [ - 'name' => 'Limit', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => '返回数据条目。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '20', - ], + 'schema' => ['description' => '页面显示的记录数量。'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '10'], ], ], 'responses' => [ @@ -5182,34 +3687,20 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。', - 'type' => 'string', - 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80', - ], - 'DomainTopMethod' => [ - 'description' => '域名TOP请求方式列表。', + 'TotalCount' => ['description' => '黑名单IP的总数。', 'type' => 'integer', 'format' => 'int64', 'example' => '2'], + 'RequestId' => ['description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。', 'type' => 'string', 'example' => 'E78C8472-0B15-42D5-AF22-A32A78818AB2'], + 'AutoCcBlacklist' => [ + 'description' => '针对DDoS高防实例的黑名单IP列表。', 'type' => 'array', 'items' => [ - 'description' => '域名请求方式。', 'type' => 'object', 'properties' => [ - 'HttpMethod' => [ - 'description' => '域名对应的HTTP请求方法。', - 'type' => 'string', - 'example' => 'GET', - ], - 'Pv' => [ - 'description' => '请求匹配次数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '22121', - ], - 'Domain' => [ - 'description' => '网站业务的域名。', - 'type' => 'string', - 'example' => 'example.aliyundoc.com'."\n", - ], + 'Type' => ['description' => '黑名单IP的来源。取值:'."\n" + .'- **manual**:手动添加'."\n" + .'- **auto**:自动添加', 'type' => 'string', 'example' => 'manual'], + 'DestIp' => ['description' => 'DDoS高防实例的IP。', 'type' => 'string', 'example' => '192.0.XX.XX'], + 'EndTime' => ['description' => '黑名单IP的失效时间。时间戳格式,单位:秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1584093569'], + 'SourceIp' => ['description' => '黑名单IP。', 'type' => 'string', 'example' => '47.100.XX.XX'], ], ], ], @@ -5217,21 +3708,38 @@ ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'title' => '查询针对DDoS高防实例的黑名单IP', + 'summary' => '查询针对DDoS高防实例的黑名单IP。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2024-12-12T05:41:48.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2022-09-08T03:34:24.000Z', 'description' => '错误码发生变更'], ], - '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' => '查询网站Top HTTP_Method', - ], - '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' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + '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":""}]', + ], + 'DescribeAutoCcListCount' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -5240,56 +3748,23 @@ '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' => 'DDoS高防实例在资源管理产品中所属的资源组ID。默认为空,即属于默认资源组。', - 'type' => 'string', - 'required' => false, - 'example' => 'default', - ], - ], - [ - 'name' => 'TaskType', + 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => '要创建的任务类型。取值:'."\n" - .'- **1**:四层导出任务,导出DDoS高防实例的端口转发规则'."\n" - .'- **2**:七层导出任务,导出网站业务转发规则'."\n" - .'- **3**:会话、健康检查导出任务,导出DDoS高防实例的会话、健康检查配置'."\n" - .'- **4**:DDoS防护策略导出任务,导出DDoS高防实例的DDoS防护策略配置'."\n" - .'- **5**:黑名单(针对目的IP)下载任务,导出针对DDoS高防实例的黑名单IP'."\n" - .'- **6**:白名单(针对目的IP)下载任务,导出针对DDoS高防实例的白名单IP', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '5', - ], + 'schema' => ['description' => 'DDoS高防实例的ID。'."\n" + .'> 您可以调用**DescribeInstanceIds**查询所有DDoS高防实例的ID信息。', 'type' => 'string', 'required' => true, 'example' => 'ddoscoo-cn-mp91j1ao****'], ], [ - 'name' => 'TaskParams', + 'name' => 'QueryType', 'in' => 'query', - 'schema' => [ - 'description' => '任务参数信息。使用JSON格式的字符串表达。不同**TaskType**需要传入的任务参数不完全相同。'."\n" - ."\n" - .'**TaskType**为**1**、**3**、**4**、**5**、**6**时,任务参数的结构如下。'."\n" - .'- **instanceId**:String类型,必选,DDoS高防实例的ID。'."\n" - ."\n" - .'**TaskType**为**2**时,任务参数的结构如下。'."\n" - .'- **domain**:String类型,可选,网站业务的域名。不传入表示导出所有网站业务的转发规则。', - 'type' => 'string', - 'required' => true, - 'example' => '{"instanceId": "ddoscoo-cn-mp91j1ao****"}', - ], + 'schema' => ['description' => '要查询的黑白名单IP的来源。取值:'."\n" + .'- **manual**:手动添加'."\n" + .'- **auto**:自动添加', 'type' => 'string', 'required' => false, 'example' => 'manual'], ], ], 'responses' => [ @@ -5297,31 +3772,44 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc', - ], + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => '5AC3785F-C789-4622-87A4-F58BE7F6B184'], + 'WhiteCount' => ['description' => '白名单IP的数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '2'], + 'BlackCount' => ['description' => '黑名单IP的数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], ], ], ], ], - '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' => '创建异步导出任务', - 'summary' => '创建异步导出任务,例如导出网站业务转发规则、端口转发规则、会话保持和健康检查配置、DDoS防护策略、IP黑白名单。', + 'title' => '查询黑名单和白名单IP的数量', + 'summary' => '查询针对DDoS高防实例的黑名单和白名单IP的数量。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DeleteAsyncTask' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:24.000Z', 'description' => '错误码发生变更'], + ], + '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' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + '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":""}]', + ], + 'DescribeAutoCcWhitelist' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -5330,37 +3818,33 @@ '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' => 'DDoS高防实例在资源管理产品中所属的资源组ID。默认为空,即属于默认资源组。'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'default', - ], + 'schema' => ['description' => 'DDoS高防实例的ID。'."\n" + .'> 您可以调用[DescribeInstanceIds](~~157459~~)查询所有DDoS高防实例的ID信息。', 'type' => 'string', 'required' => true, 'example' => 'ddoscoo-cn-mp91j1ao****'], ], [ - 'name' => 'TaskId', + 'name' => 'KeyWord', 'in' => 'query', - 'schema' => [ - 'description' => '要删除的任务ID。'."\n" - ."\n" - .'> 您可以调用[DescribeAsyncTasks](~~DescribeAsyncTasks~~)查询所有异步导出任务ID。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '1', - ], + 'schema' => ['description' => '使用源IP关键字查询,指定要查询的源IP的前缀。'."\n" + ."\n" + .'> 必须大于3个字符。', 'type' => 'string', 'required' => false, 'example' => '138'], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => ['description' => '分页查询请求时返回的页码。例如,查询第一页的返回结果,则填写**1**。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1'], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['description' => '页面显示的记录数量。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '10'], ], ], 'responses' => [ @@ -5368,31 +3852,58 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80', + 'TotalCount' => ['description' => '白名单IP的总数。', 'type' => 'integer', 'format' => 'int64', 'example' => '2'], + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'F09D085E-5E0F-4FF2-B32E-F4A644049162'], + 'AutoCcWhitelist' => [ + 'description' => '针对DDoS高防实例的白名单IP列表。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Type' => ['description' => '白名单IP类型。取值:'."\n" + .'- **manual**:手动添加'."\n" + .'- **auto**:自动添加', 'type' => 'string', 'example' => 'manual'], + 'DestIp' => ['description' => 'DDoS高防实例的IP。', 'type' => 'string', 'example' => '203.***.***.117'], + 'EndTime' => ['description' => '白名单IP的失效时间,单位:秒。**0**表示永久生效。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'], + 'SourceIp' => ['description' => '白名单IP。', 'type' => 'string', 'example' => '2.2.2.2'], + ], + ], ], ], ], ], ], - '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' => '删除指定的异步任务', - 'summary' => '删除异步导出任务。', + 'title' => '查询针对DDoS高防实例的白名单IP', + 'summary' => '查询针对DDoS高防实例的白名单IP。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'CreateNetworkRules' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:24.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeAutoCcWhitelist'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeAutoCcWhitelist', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + '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":""}]', + ], + 'DescribeBackSourceCidr' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -5401,27 +3912,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' => '端口转发规则的详细信息,使用JSON格式的字符串表述,具体结构如下。'."\n" - .'- **InstanceId**:String类型,必选,DDoS高防实例ID。'."\n" - .'- **Protocol**:String类型,必选,转发协议类型。取值:**tcp**、**udp**。'."\n" - .'- **FrontendPort**:Integer类型,必选,转发端口。'."\n" - .'- **BackendPort**:Integer类型,必选,源站端口。'."\n" - .'- **RealServers**:JSON数组类型,必选,源站IP地址列表。最多支持20个IP地址。', - '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' => 'DDoS高防实例在资源管理产品中所属的资源组ID。默认为空,即属于默认资源组。', 'type' => 'string', 'required' => false, 'example' => 'rg-acfm2pz25js****'], + ], + [ + 'name' => 'Line', + 'in' => 'query', + 'schema' => ['description' => '要查询的线路。', 'type' => 'string', 'required' => false, 'example' => 'coop-line-001'], + ], + [ + 'name' => 'IpVersion', + 'in' => 'query', + 'schema' => ['description' => '要查询的回源IP网段的IP协议类型。'."\n" + ."\n" + .'- **Ipv4**:表示IPv4协议。'."\n" + .'- **Ipv6**:表示IPv6协议。', 'type' => 'string', 'required' => false, 'example' => 'IPv4'], ], ], 'responses' => [ @@ -5429,32 +3942,48 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => 'ADCA45A5-D15C-4B7D-9F81-138B0B36D0BD', + 'RequestId' => ['description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。', 'type' => 'string', 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc'], + 'Cidrs' => [ + 'description' => 'DDoS高防的回源IP网段列表。', + 'type' => 'array', + 'items' => ['description' => 'DDoS高防的回源IP网段。', 'type' => 'string', 'example' => '47.0.XX.XX/25'], ], ], ], ], ], - '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' => '创建端口转发规则', - 'summary' => '创建端口转发规则。', + 'title' => '查询高防回源网段地址', + 'summary' => '查询DDoS高防的回源IP网段。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DeleteNetworkRule' => [ - 'summary' => '目前不支持批量删除,每次只允许删除一个对象。', - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2022-11-02T07:06:44.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2022-09-08T03:34:24.000Z', 'description' => '错误码发生变更'], + ], + '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' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + '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":""}]', + ], + 'DescribeBlackholeStatus' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -5463,26 +3992,23 @@ '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' => '要删除的端口转发规则,使用JSON格式的字符串表述,具体结构如下。'."\n" - .'- **InstanceId**:String类型,必选,DDoS高防实例ID。'."\n" - .'- **Protocol**:String类型,必选,转发协议类型。取值:**tcp**、**udp**。'."\n" - .'- **FrontendPort**:Integer类型,必选,转发端口。', - 'type' => 'string', + 'description' => 'DDoS高防实例的ID。'."\n" + .'> 您可以调用[DescribeInstanceIds](~~157459~~)查询所有DDoS高防实例的ID信息。', + 'type' => 'array', + 'items' => ['description' => 'DDoS高防实例的ID。', 'type' => 'string', 'required' => false, 'example' => 'ddoscoo-cn-mp91j1ao****'], 'required' => true, - 'example' => '[{"InstanceId":"ddoscoo-cn-mp91j1ao****","Protocol":"tcp","FrontendPort":8080}]', + 'example' => 'ddoscoo-cn-mp91j1ao****', + 'maxItems' => 20, ], ], ], @@ -5491,30 +4017,57 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => '49AD2F34-694A-4024-9B0E-DDCFC59CCC13', + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E'], + 'BlackholeStatus' => [ + 'description' => 'DDoS高防实例的黑洞状态信息。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'EndTime' => ['description' => '黑洞结束时间。时间戳格式,单位:秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1540196323'], + 'StartTime' => ['description' => '黑洞开始时间。时间戳格式,单位:秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1540195323'], + 'Ip' => ['description' => 'DDoS高防实例的IP。', 'type' => 'string', 'example' => '203.***.***.132'], + 'BlackStatus' => ['description' => '黑洞状态。取值:'."\n" + .'- **blackhole**:黑洞中'."\n" + .'- **normal**:正常', 'type' => 'string', 'example' => 'blackhole'], + ], + ], ], ], ], ], ], - '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' => '删除端口转发规则', + 'title' => '查询DDoS高防实例的黑洞状态', + 'summary' => '查询DDoS高防实例的黑洞状态。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'ModifyHealthCheckConfig' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:24.000Z', 'description' => '错误码发生变更'], + ], + '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' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + '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":""}]', + ], + 'DescribeBlockStatus' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -5523,70 +4076,32 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', - 'abilityTreeCode' => '106248', - 'abilityTreeNodes' => [ - 'FEATUREddosN7DYCX', - ], + 'operationType' => 'get', + 'abilityTreeCode' => '106101', + 'abilityTreeNodes' => ['FEATUREddosRTUJBH'], ], 'parameters' => [ [ - 'name' => 'InstanceId', + 'name' => 'ResourceGroupId', + 'in' => 'query', + 'schema' => ['description' => 'DDoS高防实例在资源管理服务中所属的资源组ID。'."\n" + ."\n" + .'不设置该参数表示默认资源组。', 'type' => 'string', 'required' => false, 'example' => 'rg-acfm2pz25js****'], + ], + [ + 'name' => 'InstanceIds', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => 'DDoS高防实例的ID。'."\n" + 'description' => '要查询近源流量压制配置的DDoS高防实例的ID列表。'."\n" .'> 您可以调用[DescribeInstanceIds](~~157459~~)查询所有DDoS高防实例的ID信息。', - 'type' => 'string', - 'required' => true, - 'example' => 'ddoscoo-cn-mp91j1ao****', - ], - ], - [ - 'name' => 'ForwardProtocol', - 'in' => 'query', - 'schema' => [ - 'description' => '转发协议。取值:'."\n" - .'- **tcp**'."\n" - .'- **udp**', - 'type' => 'string', - 'required' => true, - 'example' => 'tcp', - ], - ], - [ - 'name' => 'FrontendPort', - 'in' => 'query', - 'schema' => [ - 'description' => '转发端口。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '8080', - ], - ], - [ - 'name' => 'HealthCheck', - 'in' => 'query', - 'schema' => [ - 'description' => '健康检查配置的详细信息,使用JSON格式的字符串表述,具体结构如下。'."\n" - ."\n" - .'- **Type**:String类型,必选,协议类型。取值:**tcp**(四层)、**http**(七层)。'."\n" - .'- **Domain**:String类型,可选,域名。'."\n" - ."\n" - .' > 仅适用于七层健康检查。'."\n" - ."\n" - .'- **Uri**:String类型,可选,检查路径。'."\n" - ."\n" - .' > 仅适用于七层健康检查。'."\n" + 'type' => 'array', + 'items' => ['description' => '要查询近源流量压制配置的DDoS高防实例的ID。'."\n" ."\n" - .'- **Timeout**:Integer类型,可选,响应超时时间。取值范围:**1**~**30**,单位:秒。'."\n" - .'- **Port**:Integer类型,可选,检查端口。'."\n" - .'- **Interval**:Integer类型,可选,检查间隔。取值范围:**1**~**30**,单位:秒。'."\n" - .'- **Up**:Integer类型,可选,健康阈值。取值范围:**1**~**10**。'."\n" - .'- **Down**:Integer类型,可选,不健康阈值。取值范围:**1**~**10**。'."\n", - 'type' => 'string', + .'> 您可以调用[DescribeInstanceIds](~~157459~~)查询所有DDoS高防实例的ID。', 'type' => 'string', 'required' => false, 'example' => 'ddoscoo-cn-zvp2eibz****'], 'required' => true, - 'example' => '{"Type":"tcp","Timeout":10,"Port":8080,"Interval":10,"Up":10,"Down":40}', + 'example' => 'ddoscoo-cn-mp91j1ao****', + 'maxItems' => 20, ], ], ], @@ -5595,31 +4110,78 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc', + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E'], + 'StatusList' => [ + 'description' => 'DDoS高防实例的近源流量压制配置。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Ip' => ['description' => 'DDoS高防实例的IP。', 'type' => 'string', 'example' => '203.XX.XX.88'], + 'BlockStatusList' => [ + 'description' => '近源流量压制配置。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'EndTime' => ['description' => '封禁结束时间。使用时间戳表示,单位:秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1540196323'], + 'StartTime' => ['description' => '封禁开始时间。使用时间戳表示,单位:秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1540195323'], + 'Line' => ['description' => '封禁线路类型。取值:'."\n" + .'- **ct**:表示电信海外线路。'."\n" + .'- **cut**:表示联通海外线路。', 'type' => 'string', 'example' => 'cut'], + 'BlockStatus' => ['description' => '流量封禁状态。取值:'."\n" + .'- **areablock**:表示封禁中。'."\n" + .'- **normal**:表示正常(未封禁)。', 'type' => 'string', 'example' => 'areablock'], + ], + ], + ], + ], + ], ], ], ], ], ], - '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' => '编辑健康检查配置', - 'summary' => '编辑端口转发规则的健康检查配置(四层或七层)。', - 'requestParamsDescription' => ' ', + 'title' => '查询实例近源流量压制配置', + 'summary' => '查询DDoS高防(中国内地)实例的近源流量压制配置。', + 'description' => '本接口用于查询DDoS高防(中国内地)实例的近源流量压制配置。'."\n" + ."\n" + .'> 本接口只适用于DDoS高防(中国内地)服务。'."\n" + ."\n" + .'### QPS限制'."\n" + ."\n" + .'本接口的单用户QPS限制为10次/秒。超过限制,API调用将会被限流,这可能影响您的业务,请合理调用。', + 'requestParamsDescription' => '调用API时,除了本文中该API的请求参数,还需加入阿里云API公共请求参数。公共请求参数的详细介绍,请参见[公共参数](~~157269~~)。'."\n" + ."\n" + .'调用API的请求格式,请参见本文**示例**中的请求示例。', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeNetworkRules' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:24.000Z', 'description' => '错误码发生变更'], + ], + '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' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + '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":""}]', + ], + 'DescribeCdnLinkageRules' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -5629,67 +4191,30 @@ 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', - 'abilityTreeCode' => '106162', - 'abilityTreeNodes' => [ - 'FEATUREddosN7DYCX', - ], + 'abilityTreeCode' => '106105', + 'abilityTreeNodes' => ['FEATUREddos64TBV6'], ], 'parameters' => [ [ - 'name' => 'InstanceId', - 'in' => 'query', - 'schema' => [ - 'description' => 'DDoS高防实例的ID。'."\n" - .'> 您可以调用[DescribeInstanceIds](~~157459~~)查询所有DDoS高防实例的ID信息。', - 'type' => 'string', - 'required' => true, - 'example' => 'ddoscoo-cn-mp91j1ao****', - ], - ], - [ - 'name' => 'ForwardProtocol', + 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => '转发协议。取值:'."\n" - .'- **tcp**'."\n" - .'- **udp**', - 'type' => 'string', - 'required' => false, - 'example' => 'tcp', - ], + 'schema' => ['description' => 'ddos高防实例在资源管理产品中所属的资源组id。默认为空,即属于默认资源组。', 'type' => 'string', 'required' => false, 'example' => 'default'], ], [ - 'name' => 'FrontendPort', + 'name' => 'Domain', 'in' => 'query', - 'schema' => [ - 'description' => '转发端口。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '80', - ], + 'schema' => ['description' => '网站业务的域名。'."\n" + .'> 域名必须已配置网站业务转发规则。您可以调用[DescribeDomains](~~91724~~)查询所有域名。', 'type' => 'string', 'required' => false, 'example' => 'example.aliyundoc.com'."\n"], ], [ 'name' => 'PageNumber', 'in' => 'query', - 'schema' => [ - 'description' => '分页查询请求时返回的页码。例如,查询第一页的返回结果,则填写**1**。', - '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' => [ @@ -5697,94 +4222,68 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'TotalCount' => [ - 'description' => '端口转发规则总数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'RequestId' => [ - 'description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。', - 'type' => 'string', - 'example' => '8597F235-FA5E-4FC7-BAD9-E4C0B01BC771', - ], - 'NetworkRules' => [ - 'description' => '端口转发规则信息。', + 'TotalCount' => ['description' => '结果中数据的总条数。', 'type' => 'string', 'example' => '12'], + 'RequestId' => ['description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。', 'type' => 'string', 'example' => '02FE96D9-C77B-5735-B36D-329E052C8047'], + 'SchedulerRules' => [ + 'description' => '流量调度规则信息。', 'type' => 'array', 'items' => [ + 'description' => '流量调度规则信息。', 'type' => 'object', 'properties' => [ - 'FrontendPort' => [ - 'description' => '转发端口。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '80', - ], - 'IsAutoCreate' => [ - 'description' => '是否自动创建。取值:'."\n" - .'- **true**:是'."\n" - .'- **false**:否', - 'type' => 'boolean', - 'example' => 'true', - ], - 'InstanceId' => [ - 'description' => 'DDoS高防实例ID。', - 'type' => 'string', - 'example' => 'ddoscoo-cn-mp91j1ao****', - ], - 'Protocol' => [ - 'description' => '转发协议。取值:'."\n" - .'- **tcp**'."\n" - .'- **udp**', - 'type' => 'string', - 'example' => 'tcp', - ], - 'BackendPort' => [ - 'description' => '源站端口。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '80', - ], - 'RealServers' => [ - 'description' => '源站IP地址列表。', - 'type' => 'array', - 'items' => [ - 'description' => '源站IP地址。', - 'type' => 'string', - 'example' => '112.139.XX.XX', + 'Domain' => ['description' => '域名。', 'type' => 'string', 'example' => 'example.aliyundoc.com'."\n"], + 'CdnLinkageEnable' => ['description' => 'CDN联动状态是否开启。取值:'."\n" + .'- **0**: 关闭'."\n" + .'- **1**:开启', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'CdnLinkageRule' => [ + 'description' => 'CDN联动规则。', + 'type' => 'object', + 'properties' => [ + 'Cname' => ['description' => '域名对应的DDoS高防CNAME地址。', 'type' => 'string', 'example' => 'example.aliyundoc.com'."\n"], + 'RuleName' => ['description' => '流量调度规则名称。', 'type' => 'string', 'example' => 'testDDos'], + 'Rules' => [ + 'description' => '规则信息。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Type' => ['description' => '资源地址的格式。取值:'."\n" + .'- **A**:IPv4地址'."\n" + .'- **AAAA**:IPv6地址'."\n" + .'- **CNAME**:CNAME地址', 'type' => 'string', 'example' => 'A'], + 'Status' => ['description' => '当前生效状态。取值:'."\n" + ."\n" + .'- **0**:表示未生效。'."\n" + .'- **1**:表示生效。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'Value' => ['description' => '资源地址。', 'type' => 'string', 'example' => '203.107.XX.XX'], + 'ValueType' => ['description' => '资源地址类型。取值:'."\n" + .'- **1**:DDoS高防IP '."\n" + .'- **5**:(CDN联动)加速域名', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'Priority' => ['description' => '规则优先级。取值范围:0~100,取值越大,优先级越高。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'RegionId' => ['description' => '地域ID(默认为空)。', 'type' => 'string', 'example' => '""'], + ], + ], + ], + 'Param' => [ + 'description' => '联动资源。', + 'type' => 'object', + 'properties' => [ + 'ParamType' => ['description' => '联动资源的类型。取值:'."\n" + ."\n" + .'- **cdn**:表示阿里云CDN。'."\n" + .'- **dcdn**:表示阿里云DCDN。', 'type' => 'string', 'example' => 'cdn'], + 'ParamData' => [ + 'description' => '联动条件。', + 'type' => 'object', + 'properties' => [ + 'AccessQps' => ['description' => '联动切换QPS阈值。', 'type' => 'integer', 'format' => 'int64', 'example' => '100'], + 'UpstreamQps' => ['description' => '保留字段,目前默认0。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'], + ], + ], + ], + ], ], ], - 'Remark' => [ - 'description' => '端口转发规则的备注信息。', - 'type' => 'string', - 'example' => '测试', - ], - 'ProxyEnable' => [ - 'description' => '引流开关。取值:'."\n" - ."\n" - .'- 0:开启'."\n" - .'- 1: 关闭', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'ProxyStatus' => [ - 'description' => '引流状态。取值:'."\n" - ."\n" - .'- on:引流生效'."\n" - .'- off:引流失效', - 'type' => 'string', - 'example' => 'on', - ], - 'PayloadRuleEnable' => [ - 'description' => 'Payload策略模块开关。取值:'."\n" - ."\n" - .'- 1:开启'."\n" - .'- 0:关闭', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], ], ], ], @@ -5792,22 +4291,30 @@ ], ], ], - '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' => '查询端口转发规则', - 'summary' => '查询端口转发规则。', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'DescribeHealthCheckStatus' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'title' => '查询CDN联动规则', + 'summary' => '此API用于查询指定域名下的CDN联动规则配置。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeCdnLinkageRules', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + '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' => [], @@ -5817,24 +4324,20 @@ 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', - 'abilityTreeCode' => '106148', - 'abilityTreeNodes' => [ - 'FEATUREddosN7DYCX', - ], + 'abilityTreeCode' => '106106', + 'abilityTreeNodes' => ['FEATUREddos64TBV6'], ], 'parameters' => [ [ - 'name' => 'NetworkRules', + 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => '要查询的端口转发规则,使用JSON格式的字符串表述,具体结构如下。'."\n" - .'- **InstanceId**:String类型,必选,DDoS高防实例ID。'."\n" - .'- **Protocol**:String类型,必选,转发协议类型。取值:**tcp**、**udp**。'."\n" - .'- **FrontendPort**:Integer类型,必选,转发端口。', - 'type' => 'string', - 'required' => true, - 'example' => '[{"InstanceId":"ddoscoo-cn-mp91j1ao****","Protocol":"tcp","FrontendPort":8080}]', - ], + 'schema' => ['description' => 'DDoS高防实例在资源管理产品中所属的资源组ID。默认为空,即属于默认资源组。', 'type' => 'string', 'required' => false, 'example' => 'default'], + ], + [ + 'name' => 'Domain', + 'in' => 'query', + 'schema' => ['description' => '网站业务的域名。'."\n" + .'> 域名必须已配置网站业务转发规则。您可以调用[DescribeDomains](~~91724~~)查询所有域名。', 'type' => 'string', 'required' => false, 'example' => 'www.aliyun.com'], ], ], 'responses' => [ @@ -5842,63 +4345,23 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。', - 'type' => 'string', - 'example' => 'DE9FF9E1-569C-4B6C-AB6A-0F6D927BB27C', - ], - 'HealthCheckStatus' => [ - 'description' => '源站健康检查状态信息。', + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc'], + 'Certs' => [ + 'description' => '网站业务的证书信息。', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'Status' => [ - 'description' => '源站健康检查状态。取值:'."\n" - .'- **normal**:健康'."\n" - .'- **abnormal**:不健康', - 'type' => 'string', - 'example' => 'normal', - ], - 'FrontendPort' => [ - 'description' => '转发端口。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '8080', - ], - 'InstanceId' => [ - 'description' => 'DDoS高防实例ID。', - 'type' => 'string', - 'example' => 'ddoscoo-cn-mp91j1ao****', - ], - 'Protocol' => [ - 'description' => '转发协议。取值:'."\n" - .'- **tcp**'."\n" - .'- **udp**', - 'type' => 'string', - 'example' => 'tcp', - ], - 'RealServerStatusList' => [ - 'description' => '源站IP地址健康检查状态列表。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Status' => [ - 'description' => '当前IP地址健康检查状态。取值:'."\n" - .'- **normal**:健康'."\n" - .'- **abnormal**:不健康', - 'type' => 'string', - 'example' => 'abnormal', - ], - 'Address' => [ - 'description' => '源站IP地址。', - 'type' => 'string', - 'example' => '192.0.XX.XX', - ], - ], - ], - ], + 'EndDate' => ['description' => '证书到期日期。字符串格式。', 'type' => 'string', 'example' => '2021-09-12'], + 'DomainRelated' => ['description' => '证书是否关联域名。取值:'."\n" + .'- **true**:已关联'."\n" + .'- **false**:未关联', 'type' => 'boolean', 'example' => 'true'], + 'StartDate' => ['description' => '证书签发日期。字符串格式。', 'type' => 'string', 'example' => '2019-09-12'], + 'Issuer' => ['description' => '证书颁发机构。', 'type' => 'string', 'example' => 'Symantec'], + 'Name' => ['description' => '证书名称。', 'type' => 'string', 'example' => 'testcert'], + 'Common' => ['description' => '证书关联的域名。', 'type' => 'string', 'example' => 'www.aliyun.com'], + 'Id' => ['description' => '证书ID。', 'type' => 'integer', 'format' => 'int32', 'example' => '81'], + 'CertIdentifier' => ['description' => '全局证书ID,证书ID+"-cn-hangzhou"。如果证书ID=123,则CertIdentifier=“123-cn-hangzhou”。', 'type' => 'string', 'example' => '126345-ap-southeast-1'], ], ], ], @@ -5906,22 +4369,40 @@ ], ], ], - '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' => '查询源站健康检查状态信息', - 'summary' => '查询源站健康检查状态信息。', + 'title' => '查询适用于当前域名的所有证书列表', + 'summary' => '查询用户适用于当前域名的所有证书信息,而非当前使用的证书。', + 'description' => '该接口为查询配置高防域名适用所有证书,会出现一个域名对应多个证书。例如:通过精准域名查询到精准域名证书或泛域名证书。'."\n" + .'> 如果您需要查询当前域名正在生效使用的证书您可以调用[DescribeWebRules](~~473610~~)查询获取CertName和CertRegion,然后调用证书中心的接口[ListUserCertificateOrder](~~411733~~)使用返回的CertName关联查询到对应的证书ID或其他详情。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'ConfigNetworkRules' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2023-07-18T07:29:47.000Z', 'description' => '响应参数发生变更'], + ['createdAt' => '2022-09-08T03:34:24.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeCerts'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeCerts', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + '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":""}]', + ], + 'DescribeCnameReuses' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -5930,61 +4411,88 @@ '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' => '端口转发规则的详细信息,使用JSON格式的字符串表述,具体结构如下。'."\n" - .'- **InstanceId**:String类型,必选,DDoS高防实例ID。'."\n" - .'- **Protocol**:String类型,必选,转发协议类型。取值:**tcp**、**udp**。'."\n" - .'- **FrontendPort**:Integer类型,必选,转发端口。'."\n" - .'- **BackendPort**:Integer类型,必选,源站端口。'."\n" - .'- **RealServers**:JSON数组类型,必选,源站IP地址列表。最多支持20个IP地址。'."\n" - ."\n" - .'> 编辑端口转发规则时,只可以修改**RealServers**,即源站IP地址。', - '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"]}]', - ], + 'schema' => ['description' => 'DDoS高防实例在资源管理产品中所属的资源组ID。默认为空,即属于默认资源组。'."\n", 'type' => 'string', 'required' => false, 'example' => 'default'], ], - ], + [ + 'name' => 'Domains', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'description' => '网站业务的域名。N的最大值:200,即最多可查询200个网站业务的域名。'."\n" + .'> 域名必须已配置网站业务转发规则。您可以调用[DescribeDomains](~~91724~~)查询所有域名。', + 'type' => 'array', + 'items' => ['description' => '网站业务的域名。', 'type' => 'string', 'required' => false, 'example' => 'www.aliyun.com'], + 'required' => true, + 'example' => 'www.aliyun.com', + 'maxItems' => 20, + ], + ], + ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => 'CC042262-15A3-4A49-ADF0-130968EA47BC', + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc'], + 'CnameReuses' => [ + 'description' => 'CNAME复用信息。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Domain' => ['description' => '网站域名。', 'type' => 'string', 'example' => 'www.aliyun.com'], + 'Cname' => ['description' => '复用的CNAME值。', 'type' => 'string', 'example' => '4o6ep6q217k9****.aliyunddos0004.com'], + 'Enable' => ['description' => '是否已开启CNAME复用。取值:'."\n" + .'- **0**:未开启'."\n" + .'- **1**:已开启', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + ], + ], ], ], ], ], ], - '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' => '编辑端口转发规则', - 'summary' => '修改源站IP地址。', + 'title' => '查询网站业务的CNAME复用信息', + 'summary' => '查询网站业务的CNAME复用信息。', + 'description' => '该接口仅适用于DDoS高防(非中国内地)服务。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'CreateSchedulerRule' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:24.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeCnameReuses'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeCnameReuses', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + '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":""}]', + ], + 'DescribeDDoSEvents' => [ + 'summary' => '查询针对DDoS高防实例的攻击事件。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -5993,85 +4501,52 @@ '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' => 'DDoS高防实例在资源管理产品中所属的资源组ID。默认为空,即属于默认资源组。', - 'type' => 'string', - 'required' => false, - 'example' => 'default', - ], + 'schema' => ['description' => 'DDoS高防实例在资源管理产品中所属的资源组ID。默认为空,即属于默认资源组。', 'type' => 'string', 'required' => false, 'example' => 'default'], ], [ - 'name' => 'Rules', + 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => '通用联动规则的详细信息,使用JSON格式的字符串表述,具体结构如下。'."\n" - .'- **Type**:String类型,必选,联动资源的地址格式。取值:'."\n" - .' - **A**:IP地址'."\n" - .' - **CNAME**:域名'."\n" - .'- **Value**:String类型,必选,联动资源的地址。'."\n" - .'- **Priority**:Integer类型,必选,规则优先级。取值范围:**0**~**100**,取值越大,优先级越高。'."\n" - .'- **ValueType**:Integer类型,必选,联动资源的类型。取值:'."\n" - .' - **1**:DDoS高防IP '."\n" - .' - **2**:(阶梯防护)云资源IP'."\n" - .' - **3**:(出海加速)加速线路IP'."\n" - .' - **5**:(CDN联动)加速域名'."\n" - .' - **6**:(云产品联动)云资源IP'."\n" - .'- **RegionId**:String类型,可选(**ValueType**为**2**时必选),地域ID。', - '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' => '查询结束时间。时间戳格式,单位:秒。'."\n" + .'> 必须为整点分钟。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1583683200'], ], [ - 'name' => 'RuleName', + 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => '规则名称。', - 'type' => 'string', - 'required' => true, - 'example' => 'testrule', - ], + 'schema' => ['description' => '查询开始时间。时间戳格式,单位:秒。'."\n" + .'> 必须为整点分钟。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1582992000'], ], [ - 'name' => 'RuleType', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => '规则类型。取值:'."\n" - .'- **2**:阶梯防护'."\n" - .'- **3**:出海加速'."\n" - .'- **5**:CDN联动'."\n" - .'- **6**:云产品联动'."\n" - .'- **8**:安全加速', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '2', - ], + 'schema' => ['description' => '页面显示的记录数量。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '10'], ], [ - 'name' => 'Param', + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => ['description' => '分页查询请求时返回的页码。例如,查询第一页的返回结果,则填写**1**。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1'], + ], + [ + 'name' => 'InstanceIds', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => 'CDN联动规则的详细信息,使用JSON格式的字符串表达,具体结构如下。'."\n" - .'- **ParamType**:必选,String类型,CDN联动类型。取值:**cdn**,表示CDN联动。'."\n" - .'- **ParamData**:必选,Map类型,CDN联动参数。具体结构如下。'."\n" - .' - **Domain**:必选,String类型,CDN加速域名。'."\n" - .' - **Cname**:必选,String类型,加速域名CNAME地址。'."\n" - .' - **AccessQps**:必选,Integer类型,访问QPS阈值。超过阈值切换到DDoS高防。'."\n" - .' - **UpstreamQps**:可选,Integer类型,回源QPS阈值。低于阈值切换到CDN。', - 'type' => 'string', - 'required' => false, - 'example' => '{"ParamType":"cdn","ParamData":{"Domain":"example.aliyundoc.com","Cname":"demo.aliyundoc.com","AccessQps":100,"UpstreamQps":100}}', + 'description' => 'DDoS高防实例的ID。'."\n" + .'> 您可以调用[DescribeInstanceIds](~~157459~~)查询所有DDoS高防实例的ID信息。'."\n", + 'type' => 'array', + 'items' => ['description' => 'DDoS高防实例的ID。', 'type' => 'string', 'required' => false, 'example' => 'ddoscoo-cn-mp91j1ao****'], + 'required' => true, + 'example' => 'ddoscoo-cn-mp91j1ao****', + 'maxItems' => 100, ], ], ], @@ -6080,43 +4555,70 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。', - 'type' => 'string', - 'example' => '8DFB602D-1AAC-46C4-90F2-C84086E7A6E4', - ], - 'Cname' => [ - 'description' => '规则对应的流量调度器CNAME值。'."\n" - ."\n" - .'> 您必须将业务解析到流量调度器的CNAME,才能启用规则。', - 'type' => 'string', - 'example' => '48k7b372gpl4****.aliyunddos0001.com', - ], - 'RuleName' => [ - 'description' => '规则名称。', - 'type' => 'string', - 'example' => 'testrule', + 'Total' => ['description' => '攻击事件总数。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => '0CA72AF5-1795-4350-8C77-50A448A2F334'], + 'DDoSEvents' => [ + 'description' => 'DDoS攻击事件列表。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'EndTime' => ['description' => '攻击结束时间。时间戳格式,单位:秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1583933330'], + 'StartTime' => ['description' => '攻击开始时间。时间戳格式,单位:秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1583933277'], + 'EventType' => ['description' => '攻击事件类型。取值:'."\n" + .'- **defense**:清洗事件。'."\n" + .'- **blackhole**:黑洞事件。', 'type' => 'string', 'example' => 'blackhole'], + 'Region' => ['description' => '攻击来源地区。取值:'."\n" + .'- **cn**:中国内地。'."\n" + .'- **alb-ap-northeast-1-gf-x**:日本。'."\n" + .'- **alb-ap-southeast-gf-x**:新加坡。'."\n" + .'- **alb-cn-hongkong-gf-x**:中国香港。'."\n" + .'- **alb-eu-central-1-gf-x**:德国。'."\n" + .'- **alb-us-west-1-gf-x**:美国西部。'."\n" + ."\n" + .'>**cn**以外的取值只有在DDoS高防(国际)服务(**RegionId**为**ap-southeast-1**)中提供。', 'type' => 'string', 'example' => 'cn'], + 'Ip' => ['description' => '被攻击IP。', 'type' => 'string', 'example' => '203.***.***.132'], + 'Port' => ['description' => '被攻击端口。', 'type' => 'string', 'example' => '80'], + 'Bps' => ['description' => '攻击流量带宽大小。单位:Mbps。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'], + 'Pps' => ['description' => '攻击流量包转发率。单位:pps。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'], + ], + 'description' => '', + ], ], ], + 'description' => '', ], ], ], - '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' => '创建流量调度器调度规则', - 'summary' => '创建流量调度器调度规则。', - 'requestParamsDescription' => ' ', + 'title' => '查询指定IP的DDoS攻击事件', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DeleteSchedulerRule' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:24.000Z', 'description' => '错误码发生变更'], + ], + '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' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + '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":""}]', + ], + 'DescribeDDosAllEventList' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -6125,32 +4627,52 @@ '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' => 'DDoS高防实例在资源管理产品中所属的资源组ID。默认为空,即属于默认资源组。', - 'type' => 'string', - 'required' => false, - 'example' => 'default', - ], + 'schema' => ['description' => '要查询的DDoS攻击事件的类型。取值:'."\n" + ."\n" + .'- **web-cc**:表示Web资源耗尽型攻击。'."\n" + .'- **cc**:表示连接型攻击。'."\n" + .'- **defense**:表示流量型攻击(清洗事件)。'."\n" + .'- **blackhole**:表示流量型攻击(黑洞事件)。'."\n" + ."\n" + .'支持同时设置多个类型,多个类型间使用半角逗号(,)分隔。'."\n" + ."\n" + .'不设置该参数表示查询所有类型的攻击事件。'."\n" + ."\n", 'type' => 'string', 'required' => false, 'example' => 'defense'], ], [ - 'name' => 'RuleName', + 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => '要删除的规则名称。', - 'type' => 'string', - 'required' => true, - 'example' => 'testrule', - ], + 'schema' => ['description' => '设置开始时间,查询在**StartTime**后发生的DDoS攻击事件。使用时间戳表示,单位:秒。'."\n" + .'>StartTime仅能指定当前时间3个月以内的事件', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1609430400'], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => ['description' => '设置结束时间,查询在**EndTime**前发生的DDoS攻击事件。使用时间戳表示,单位:秒。'."\n" + .'>EndTime仅能指定当前时间3个月以内的事件', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1640966399'], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => ['description' => '分页查询时,设置当前页面的页码。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1'], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['description' => '分页查询时,设置每页包含攻击事件的数量。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '10'], + ], + [ + 'name' => 'Ip', + 'in' => 'query', + 'schema' => ['description' => '要查询的DDoS高防实例的IP地址。', 'type' => 'string', 'required' => false, 'example' => '192.168.1.1'], ], ], 'responses' => [ @@ -6158,31 +4680,82 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc', + 'Total' => ['description' => '查询到的攻击事件的总数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => '25D83ED5-28CB-5683-9CF7-AECE521F3005'], + 'AttackEvents' => [ + 'description' => '攻击事件列表。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'EndTime' => ['description' => '攻击结束时间。使用时间戳表示,单位:秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1634546030'], + 'StartTime' => ['description' => '攻击开始时间。使用时间戳表示,单位:秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1634543764'], + 'EventType' => ['description' => 'DDoS攻击事件的类型。取值:'."\n" + ."\n" + .'- **web-cc**:表示Web资源耗尽型攻击。'."\n" + .'- **cc**:表示连接型攻击。'."\n" + .'- **defense**:表示流量型攻击(清洗事件)。'."\n" + .'- **blackhole**:表示流量型攻击(黑洞事件)。', 'type' => 'string', 'example' => 'cc'], + 'Mbps' => ['description' => '攻击流量的带宽峰值。单位:Mbps。', 'type' => 'integer', 'format' => 'int64', 'example' => '101899'], + 'Ip' => ['description' => '被攻击的对象。不同攻击事件类型对应的被攻击对象不同,具体说明如下:'."\n" + ."\n" + .'- Web资源耗尽型攻击(**EventType**为**web-cc**):该参数表示被攻击的网站域名。'."\n" + .'- 连接型攻击(**EventType**为**cc**):该参数表示被攻击的高防IP。'."\n" + .'- 流量型攻击(**EventType**为**defense**或**blackhole**):该参数表示被攻击的高防IP。', 'type' => 'string', 'example' => '203.107.XX.XX'], + 'Area' => ['description' => '攻击来源地域。取值:'."\n" + ."\n" + .'- **cn**:表示中国内地。'."\n" + .'- **alb-cn-hongkong-gf-2**:表示中国香港。'."\n" + .'- **alb-us-west-1-gf-2**:表示美国(硅谷)。'."\n" + .'- **alb-ap-northeast-1-gf-1**:表示日本(东京)。'."\n" + .'- **alb-ap-southeast-gf-1**:表示新加坡。'."\n" + .'- **alb-eu-central-1-gf-1**:表示德国(法兰克福)。'."\n" + .'- **alb-eu-west-1-gf-1**、**selb-eu-west-1-gf-1a**:表示英国(伦敦)。'."\n" + .'- **alb-us-east-gf-1**:表示美国(弗吉尼亚)。'."\n" + .'- **CT-yundi**:表示中国香港。该取值只适用于DDoS高防(国际)安全加速线路实例。', 'type' => 'string', 'example' => 'cn'], + 'Port' => ['description' => '被攻击的端口号。'."\n" + ."\n" + .'> Web资源耗尽型攻击(**EventType**为**web-cc**)不返回该参数。', 'type' => 'string', 'example' => '80'], + 'Pps' => ['description' => '攻击流量的包转发率峰值。单位:pps。', 'type' => 'integer', 'format' => 'int64', 'example' => '9664270'], + ], + 'description' => '', + ], ], ], + 'description' => '', ], ], ], - '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' => '删除流量调度器调度规则', - 'summary' => '删除流量调度器调度规则。', - 'requestParamsDescription' => ' ', + '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' => '查询攻击事件列表', + 'summary' => '查询DDoS攻击事件列表。', + 'description' => '本接口用于分页查询指定时间范围内的DDoS攻击事件列表。DDoS攻击事件包含以下信息:攻击的起止时间、攻击类型、受攻击的对象、攻击流量的峰值(带宽峰值或包转发率峰值)等。'."\n" + ."\n" + .'### QPS限制'."\n" + ."\n" + .'本接口的单用户QPS限制为10次/秒。超过限制,API调用将会被限流,这可能影响您的业务,请合理调用。', + 'requestParamsDescription' => '调用API时,除了本文中该API的请求参数,还需加入阿里云API公共请求参数。公共请求参数的详细介绍,请参见[公共参数](~~157269~~)。'."\n" + ."\n" + .'调用API的请求格式,请参见本文**示例**中的请求示例。', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'ModifySchedulerRule' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2025-08-20T06:55:20.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2025-08-20T05:41:00.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2025-08-06T10:55:51.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2025-08-06T10:48:22.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2025-08-06T10:48:20.000Z', 'description' => 'OpenAPI 下线'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDDosAllEventList'], + ], ], + 'ramActions' => [], + ], + 'DescribeDDosEventArea' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -6191,89 +4764,35 @@ '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' => 'DDoS高防实例在资源管理产品中所属的资源组ID。默认为空,即属于默认资源组。', - 'type' => 'string', - 'required' => false, - 'example' => 'default', - ], - ], - [ - 'name' => 'Rules', + 'name' => 'EventType', 'in' => 'query', - 'schema' => [ - 'description' => '通用联动规则的详细信息,使用JSON格式的字符串表述,具体结构如下。'."\n" - .'- **Type**:String类型,必选,联动资源的地址格式。取值:'."\n" - .' - **A**:IP地址'."\n" - .' - **CNAME**:域名'."\n" - .'- **Value**:String类型,必选,联动资源的地址。'."\n" - .'- **Priority**:Integer类型,必选,规则优先级。取值范围:**0**~**100**,取值越大,优先级越高。'."\n" - .'- **ValueType**:Integer类型,必选,联动资源的类型。取值:'."\n" - .' - **1**:DDoS高防IP '."\n" - .' - **2**:(阶梯防护)云资源IP'."\n" - .' - **3**:(出海加速)加速线路IP'."\n" - .' - **5**:(CDN联动)加速域名'."\n" - .' - **6**:(云产品联动)云资源IP'."\n" - .' - **8**:(安全加速)安全加速IP'."\n" - .'- **RegionId**:String类型,可选(**ValueType**为**2**时必选),地域ID。', - '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' => '要查询的攻击事件类型。取值:'."\n" + ."\n" + .'- **defense**:表示流量型攻击清洗事件。'."\n" + .'- **blackhole**:表示流量型攻击黑洞事件。', 'type' => 'string', 'required' => true, 'example' => 'defense'], ], [ - 'name' => 'RuleName', + 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => '要编辑的规则名称。', - 'type' => 'string', - 'required' => true, - 'example' => 'testrule', - ], + 'schema' => ['description' => '要查询事件的开始时间戳,单位:秒。'."\n" + ."\n" + .'> 您可以调用[DescribeDDosAllEventList](~~188604~~)查询所有事件的开始时间信息。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1598948471'], ], [ - 'name' => 'RuleType', + 'name' => 'Ip', 'in' => 'query', - 'schema' => [ - 'description' => '规则类型。取值:'."\n" - .'- **2**:阶梯防护'."\n" - .'- **3**:出海加速'."\n" - .'- **5**:CDN联动'."\n" - .'- **6**:云产品联动'."\n" - .'- **8**:安全加速', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '2', - ], + 'schema' => ['description' => '受攻击的DDoS高防IP。', 'type' => 'string', 'required' => true, 'example' => '203.XX.XX.199'], ], [ - 'name' => 'Param', + 'name' => 'Range', 'in' => 'query', - 'schema' => [ - 'description' => "\n" - .'CDN联动规则的详细信息,使用JSON格式的字符串表达,具体结构如下。'."\n" - .'- **ParamType**:必选,String类型,CDN联动类型。取值:**cdn**,表示CDN联动。'."\n" - .'- **ParamData**:必选,Map类型,CDN联动参数。具体结构如下。'."\n" - .' - **Domain**:必选,String类型,CDN加速域名。'."\n" - .' - **Cname**:必选,String类型,加速域名CNAME地址。'."\n" - .' - **AccessQps**:必选,Integer类型,访问QPS阈值。超过阈值切换到DDoS高防。'."\n" - .' - **UpstreamQps**:可选,Integer类型,回源QPS阈值。低于阈值切换到CDN。', - 'type' => 'string', - 'required' => false, - 'example' => '{"ParamType":"cdn","ParamData":"Domain":"example.aliyundoc.com","Cname":"demo.aliyundoc.com","AccessQps":100,"UpstreamQps":100}}', - ], + 'schema' => ['description' => '返回的数据量, 单位:条。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '100'], ], ], 'responses' => [ @@ -6281,43 +4800,59 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。', - 'type' => 'string', - 'example' => 'FFC77501-BDF8-4BC8-9BF5-B295FBC3189B', - ], - 'Cname' => [ - 'description' => '规则对应的流量调度器CNAME值。'."\n" - ."\n" - .'> 您必须将业务解析到流量调度器的CNAME,才能启用规则。', - 'type' => 'string', - 'example' => '48k7b372gpl4****.aliyunddos0001.com', - ], - 'RuleName' => [ - 'description' => '规则名称。', - 'type' => 'string', - 'example' => 'testrule', + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => '11710C9F-BC5E-481A-BEC5-C6D8FBFCA827'], + 'Areas' => [ + 'description' => '攻击来源地域信息。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'InPkts' => ['description' => '攻击来源地域的请求包数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '228'], + 'Area' => ['description' => '攻击来源地域的代码,包含中国地域(省市区维度)和国际地域(国际维度)。例如,**110000**表示中国北京市、**us**表示美国。'."\n" + ."\n" + .'> 关于该参数的取值说明,请参见[地域类型参数取值说明](~~167926~~)。', 'type' => 'string', 'example' => '110000'], + ], + ], ], ], ], ], ], - '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' => '编辑流量调度器调度规则', - 'summary' => '编辑流量调度器调度规则。', - 'requestParamsDescription' => ' ', + 'title' => '查询某次流量型攻击的来源地域详情', + 'summary' => '查询某次流量型攻击的来源地域详情。', + 'description' => '> 目前该接口仅适用于查询流量型攻击的数据,不适用于查询Web资源消耗型和连接型攻击的数据。', + 'requestParamsDescription' => '调用API时,除了本文中该API的请求参数,还需加入阿里云API公共请求参数。公共请求参数的详细介绍,请参见[公共参数](~~157269~~)。'."\n" + ."\n" + .'调用API的请求格式,请参见本文**示例**中的请求示例。', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeSchedulerRules' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2024-07-01T08:59:02.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2022-09-08T03:34:24.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDDosEventArea'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeDDosEventArea', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + '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":""}]', + ], + 'DescribeDDosEventAttackType' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -6327,181 +4862,200 @@ 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', - 'abilityTreeCode' => '106184', - 'abilityTreeNodes' => [ - 'FEATUREddosZIK01A', - ], + 'abilityTreeCode' => '106111', + 'abilityTreeNodes' => ['FEATUREddosRTUJBH'], ], 'parameters' => [ [ - 'name' => 'ResourceGroupId', + 'name' => 'EventType', 'in' => 'query', - 'schema' => [ - 'description' => 'DDoS高防实例在资源管理产品中所属的资源组ID。默认为空,即属于默认资源组。', - 'type' => 'string', - 'required' => false, - 'example' => 'default', - ], + 'schema' => ['description' => '要查询的攻击事件的类型。取值:'."\n" + ."\n" + .'- **defense**:表示流量型攻击清洗事件。'."\n" + .'- **blackhole**:表示流量型攻击黑洞事件。', 'type' => 'string', 'required' => true, 'example' => 'defense'], ], [ - 'name' => 'RuleName', + 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => '规则名称。', - 'type' => 'string', - 'required' => false, - 'example' => 'testrule', - ], + 'schema' => ['description' => '要查询事件的开始时间戳,单位:秒。'."\n" + ."\n" + .'> 您可以调用[DescribeDDosAllEventList](~~188604~~)查询所有事件的开始时间信息。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1598948471'], ], [ - 'name' => 'PageNumber', + 'name' => 'Ip', 'in' => 'query', + 'schema' => ['description' => '受攻击的高防IP。', 'type' => 'string', 'required' => true, 'example' => '203.***.***.199'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '分页查询请求时返回的页码。例如,查询第一页的返回结果,则填写**1**。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => '6F644A6E-40E7-483F-9DBB-CC27E16BB555'], + 'AttackTypes' => [ + 'description' => '攻击类型信息。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'InPkts' => ['description' => '该攻击类型的请求包数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '145902'], + 'AttackType' => ['description' => '攻击类型。取值:'."\n" + ."\n" + .'- **QOTD-Reflect-Flood**:QOTD反射攻击'."\n" + .'- **CharGEN-Reflect-Flood**:CharGEN反射攻击'."\n" + .'- **DNS-Reflect-Flood**:DNS反射攻击'."\n" + .'- **TFTP-Reflect-Flood**:TFTP反射攻击'."\n" + .'- **Portmap-Reflect-Flood**:Portmap反射攻击'."\n" + .'- **NTP-Reflect-Flood**:NTP反射攻击'."\n" + .'- **NetBIOS-Reflect-Flood**:NetBIOS反射攻击'."\n" + .'- **SNMPv2-Reflect-Flood**:SNMPv2反射攻击'."\n" + .'- **CLDAP-Reflect-Flood**:CLDAP反射攻击'."\n" + .'- **Ripv1-Reflect-Flood**:Ripv1反射攻击'."\n" + .'- **OpenVPN-Reflect-Flood**:OpenVPN反射攻击'."\n" + .'- **SSDP-Reflect-Flood**:SSDP反射攻击'."\n" + .'- **NetAssistant-Reflect-Flood**:NetAssistant反射攻击'."\n" + .'- **WSDiscovery-Reflect-Flood**:WSDiscovery反射攻击'."\n" + .'- **Kad-Reflect-Flood**:Kad反射攻击'."\n" + .'- **mDNS-Reflect-Flood**:mDNS反射攻击'."\n" + .'- **10001-Reflect-Flood**:10001反射攻击'."\n" + .'- **Memcached-Reflect-Flood**:Memcached反射攻击'."\n" + .'- **QNP-Reflect-Flood**:QNP反射攻击'."\n" + .'- **DVR-Reflect-Flood**:DVR反射攻击'."\n" + .'- **CoAP-Reflect-Flood**:CoAP反射攻击'."\n" + .'- **ADDP-Reflect-Flood**:ADDP反射攻击'."\n" + .'- **Tcp-Syn**:TCP SYN Flood攻击'."\n" + .'- **Tcp-Fin**:TCP FIN Flood攻击'."\n" + .'- **Tcp-Ack**:TCP ACK Flood攻击'."\n" + .'- **Tcp-Rst**:TCP RST Flood攻击'."\n" + .'- **Tcp-Pushack**:TCP PSH+ACK Flood攻击'."\n" + .'- **Tcp-Synack**:TCP SYN+ACK Flood攻击'."\n" + .'- **Udp-None**:UDP攻击'."\n" + .'- **Udp-Ssh**:UDP SSH协议攻击'."\n" + .'- **Udp-Dns**:UDP DNS协议攻击'."\n" + .'- **Udp-Http**:UDP HTTP协议攻击'."\n" + .'- **Udp-Https**:UDP HTTPS协议攻击'."\n" + .'- **Udp-Ntp**:UDP NTP协议攻击'."\n" + .'- **Udp-Ldap**:UDP LDAP协议攻击'."\n" + .'- **Udp-Ssdp**:UDP SSDP协议攻击'."\n" + .'- **Udp-Memcached**:Memcache UDP反射放大攻击'."\n" + .'- **Tcp-Other**:TCP其他类型攻击'."\n" + .'- **Icmp**:ICMP Flood攻击'."\n" + .'- **Igmp**:IGMP Flood攻击'."\n" + .'- **Ipv6**:IPv6攻击', 'type' => 'string', 'example' => 'Tcp-Syn'], + ], + ], + ], + ], ], ], + ], + 'title' => '查询某次流量型攻击的攻击类型详情', + 'summary' => '查询某次流量型攻击的攻击类型详情。', + 'description' => '> 目前该接口仅适用于查询流量型攻击的数据,不适用于查询Web资源消耗型和连接型攻击的数据。', + 'requestParamsDescription' => '调用API时,除了本文中该API的请求参数,还需加入阿里云API公共请求参数。公共请求参数的详细介绍,请参见[公共参数](~~157269~~)。'."\n" + ."\n" + .'调用API的请求格式,请参见本文**示例**中的请求示例。', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:24.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDDosEventAttackType'], + ], + ], + 'ramActions' => [ [ - 'name' => 'PageSize', - 'in' => 'query', - 'schema' => [ - 'description' => '页面显示的记录数量。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '10', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeDDosEventAttackType', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], ], + '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":""}]', + ], + 'DescribeDDosEventIsp' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '106112', + 'abilityTreeNodes' => ['FEATUREddosY2OCST'], + ], + 'parameters' => [ + [ + 'name' => 'EventType', + 'in' => 'query', + 'schema' => ['description' => '要查询的攻击事件类型。取值:'."\n" + ."\n" + .'- **defense**:流量型攻击清洗事件。'."\n" + .'- **blackhole**:流量型攻击黑洞事件。', 'type' => 'string', 'required' => true, 'example' => 'defense'], + ], + [ + 'name' => 'StartTime', + 'in' => 'query', + 'schema' => ['description' => '要查询事件的开始时间戳,单位:秒。'."\n" + ."\n" + .'> 您可以调用[DescribeDDosAllEventList](~~473646~~)查询所有事件的开始时间信息。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1598948471'], + ], + [ + 'name' => 'Ip', + 'in' => 'query', + 'schema' => ['description' => '受攻击的高防IP。', 'type' => 'string', 'required' => true, 'example' => '203.***.***.199'], + ], + [ + 'name' => 'Range', + 'in' => 'query', + 'schema' => ['description' => '返回的数据量, 单位:条。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '100', 'default' => '50'], + ], + ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - 'TotalCount' => [ - 'description' => '流量调度规则的总数。', - 'type' => 'string', - 'example' => '1', - ], - 'RequestId' => [ - 'description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。', - 'type' => 'string', - 'example' => '11C55595-1757-4B17-9ACE-4ACB68C2D989', - ], - 'SchedulerRules' => [ - 'description' => '流量调度规则信息。', + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'C4A3BCD1-4A32-4342-941A-4745AE69508C'], + 'Isps' => [ + 'description' => '攻击来源网络运营商信息。', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'RuleType' => [ - 'description' => '规则类型。取值:'."\n" - .'- **2**:阶梯防护'."\n" - .'- **3**:出海加速'."\n" - .'- **5**:CDN联动'."\n" - .'- **6**:云产品联动'."\n" - .'- **8**:安全加速', - 'type' => 'string', - 'example' => '2', - ], - 'Cname' => [ - 'description' => 'CNAME值。', - 'type' => 'string', - 'example' => '4eru5229a843****.aliyunddos0001.com', - ], - 'RuleName' => [ - 'description' => '规则名称。', - 'type' => 'string', - 'example' => 'doctest', - ], - 'Rules' => [ - 'description' => '规则列表。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Type' => [ - 'description' => '资源地址的格式。取值:'."\n" - .'- **A**:IPv4地址'."\n" - .'- **CNAME**:CNAME地址', - 'type' => 'string', - 'example' => 'A', - ], - 'Status' => [ - 'description' => '规则生效状态。取值:'."\n" - .'- **0**:未生效'."\n" - .'- **1**:生效', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'Value' => [ - 'description' => '资源地址。', - 'type' => 'string', - 'example' => '203.***.***.39', - ], - 'ValueType' => [ - 'description' => '资源地址类型。取值:'."\n" - .'- **1**:DDoS高防IP '."\n" - .'- **2**:(阶梯防护)云资源IP'."\n" - .'- **3**:(出海加速)加速线路IP'."\n" - .'- **5**:(CDN联动)加速域名'."\n" - .'- **6**:(云产品联动)云资源IP'."\n" - .'- **8**:(安全加速)安全加速P', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'Priority' => [ - 'description' => '规则优先级。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '100', - ], - 'RestoreDelay' => [ - 'description' => '回切时间,单位为分钟。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '60', - ], - 'RegionId' => [ - 'description' => '地域ID。'."\n" - ."\n" - .'> 仅当RuleType(即阶梯防护规则)取值为2时返回。', - 'type' => 'string', - 'example' => '1', - ], - 'Line' => [ - 'type' => 'string', - ], - ], - ], - ], - 'Param' => [ - 'description' => '全球加速实例联动DDoS高防的规则。', - 'type' => 'object', - 'properties' => [ - 'ParamType' => [ - 'description' => '联动资源的类型。取值:**GA**,表示全球加速实例。', - 'type' => 'string', - 'example' => 'GA', - ], - 'ParamData' => [ - 'description' => '联动资源。', - 'type' => 'object', - 'properties' => [ - 'CloudInstanceId' => [ - 'description' => '全球加速实例的ID。', - 'type' => 'string', - 'example' => 'ga-bp1htlajy5509rc99****', - ], - ], - ], - ], - ], + 'InPkts' => ['description' => '来自该网络运营商的请求包数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '230'], + 'Isp' => ['description' => '攻击来源网络运营商的代码。取值:'."\n" + ."\n" + .'- **100017**:电信'."\n" + .'- **100026**:联通'."\n" + .'- **100025**:移动'."\n" + .'- **100027**:教育网'."\n" + .'- **100020**:铁通'."\n" + .'- **1000143**:鹏博士'."\n" + .'- **100080**:歌华'."\n" + .'- **1000139**:广电'."\n" + .'- **100023**:有线通'."\n" + .'- **100063**:方正宽带'."\n" + .'- **1000337**:皓宽网络'."\n" + .'- **100021**:世纪互联'."\n" + .'- **1000333**:华数传媒'."\n" + .'- **100093**:网宿'."\n" + .'- **1000401**:腾讯'."\n" + .'- **100099**:百度'."\n" + .'- **1000323**:阿里云'."\n" + .'- **100098**:阿里巴巴', 'type' => 'string', 'example' => '1000323'], ], ], ], @@ -6509,23 +5063,38 @@ ], ], ], - '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' => '查询流量调度器的调度规则', - 'summary' => '查询流量调度器的调度规则。', - 'requestParamsDescription' => ' ', + 'title' => '查询攻击来源网络运营商(ISP)信息', + 'summary' => '查询某次流量型攻击的攻击来源网络运营商(ISP)信息。', + 'description' => '> 目前该接口仅适用于查询流量型攻击的数据,不适用于查询Web资源消耗型和连接型攻击的数据。', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'SwitchSchedulerRule' => [ - 'summary' => '将业务流量切换到DDoS高防实例进行清洗、回切到联动资源。', - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2024-07-01T08:59:02.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2022-09-08T03:34:24.000Z', 'description' => '错误码发生变更'], + ], + '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' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + '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":""}]', + ], + 'DescribeDDosEventMax' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -6534,62 +5103,25 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '106277', - 'abilityTreeNodes' => [ - 'FEATUREddosZIK01A', - ], + 'operationType' => 'get', + 'abilityTreeCode' => '106113', + 'abilityTreeNodes' => ['FEATUREddosRTUJBH'], ], 'parameters' => [ [ - 'name' => 'RuleName', + 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => '要操作的流量调度规则的名称。'."\n" - ."\n" - .'> 您可以调用[DescribeSchedulerRules](~~157481~~)查询所有流量调度规则的名称。', - 'type' => 'string', - 'required' => true, - 'example' => 'testrule', - ], + 'schema' => ['description' => '查询开始时间戳,单位:秒。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1598889600'], ], [ - 'name' => 'RuleType', + 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => '流量调度规则的类型。取值:'."\n" - ."\n" - .'- **2**:表示阶梯防护规则。'."\n" - .'- **3**:表示出海加速规则。'."\n" - .'- **5**:表示CDN联动规则。'."\n" - .'- **6**:表示云产品联动规则。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '6', - ], + 'schema' => ['description' => '查询结束时间戳,单位:秒。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1604073600'], ], [ - 'name' => 'SwitchData', + 'name' => 'Ip', 'in' => 'query', - 'schema' => [ - 'description' => '业务流量切换操作的配置。使用JSON数组转化的字符串表示,JSON数组的每个元素是一个结构体,结构体包含以下字段:'."\n" - ."\n" - .'- **Value**:String类型 | 必选 | 联动资源的IP地址。'."\n" - ."\n" - .'- **State**:Integer类型 | 必选 | 操作类型。取值:'."\n" - .' - **0**:表示将业务流量从联动资源切换到DDoS高防实例进行清洗。'."\n" - .' - **1**:表示将业务流量回切到联动资源。'."\n" - ."\n" - .'- **Interval**:Integer类型 | 可选 | 回切时间,单位:分钟。使用说明:'."\n" - .' - **State**为**0**(表示切换到高防时),必须设置该参数为**-1**,否则会调用失败。'."\n" - .' - **State**为**1**(表示回切到云资源时,无需设置该参数。', - 'type' => 'string', - 'required' => true, - 'example' => '[{"Value":"39.104.XX.XX","State":0,"Interval":-1}]', - ], + 'schema' => ['type' => 'string'], ], ], 'responses' => [ @@ -6597,37 +5129,49 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => '7E3C301F-84BB-50E4-9DB9-2937B2429C1E', - ], + 'Qps' => ['description' => 'Web资源耗尽型攻击峰值,单位:qps。', 'type' => 'integer', 'format' => 'int64', 'example' => '26314'], + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => '5AE2FC86-C840-41AE-9F1A-3A2747C7C1DF'], + 'Cps' => ['description' => '连接型攻击峰值,单位:cps。', 'type' => 'integer', 'format' => 'int64', 'example' => '1302'], + 'Mbps' => ['description' => '流量型攻击峰值,单位:Mbps。', 'type' => 'integer', 'format' => 'int64', 'example' => '6809'], ], ], ], ], - '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' => '切换调度规则', - 'description' => '本接口用于修改单个流量调度规则的当前生效资源,例如,将业务流量切换到DDoS高防实例进行清洗、回切到联动资源。'."\n" - ."\n" - .'调用本接口前,您必须已经调用[CreateSchedulerRule](~~157479~~)创建了流量调度规则。'."\n" - ."\n" - .'### QPS限制'."\n" - ."\n" - .'本接口的单用户QPS限制为10次/秒。超过限制,API调用将会被限流,这可能影响您的业务,请合理调用。', + 'title' => '查询攻击峰值', + 'summary' => '查询流量型攻击峰值(bps)、连接型攻击峰值(cps)、Web资源耗尽型攻击峰值(qps)。', 'requestParamsDescription' => '调用API时,除了本文中该API的请求参数,还需加入阿里云API公共请求参数。公共请求参数的详细介绍,请参见[公共参数](~~157269~~)。'."\n" ."\n" - .'调用API的请求格式,请参见本文**示例**中的请求示例。'."\n", - ], - 'DescribeCdnLinkageRules' => [ - 'methods' => [ - 'post', - 'get', + .'调用API的请求格式,请参见本文**示例**中的请求示例。', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2025-08-20T06:55:20.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2025-08-20T05:41:00.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2022-09-08T03:34:24.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDDosEventMax'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeDDosEventMax', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + '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":""}]', + ], + 'DescribeDDosEventSrcIp' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -6637,54 +5181,34 @@ 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', - 'abilityTreeCode' => '106105', - 'abilityTreeNodes' => [ - 'FEATUREddos64TBV6', - ], + 'abilityTreeCode' => '106115', + 'abilityTreeNodes' => ['FEATUREddosY2OCST'], ], 'parameters' => [ [ - 'name' => 'ResourceGroupId', + 'name' => 'EventType', 'in' => 'query', - 'schema' => [ - 'description' => 'ddos高防实例在资源管理产品中所属的资源组id。默认为空,即属于默认资源组。', - 'type' => 'string', - 'required' => false, - 'example' => 'default', - ], + 'schema' => ['description' => '要查询的攻击事件的类型。取值:'."\n" + ."\n" + .'- **defense**:表示流量型攻击清洗事件。'."\n" + .'- **blackhole**:表示流量型攻击黑洞事件。', 'type' => 'string', 'required' => true, 'example' => 'defense'], ], [ - 'name' => 'Domain', + 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => '网站业务的域名。'."\n" - .'> 域名必须已配置网站业务转发规则。您可以调用[DescribeDomains](~~91724~~)查询所有域名。', - 'type' => 'string', - 'required' => false, - 'example' => 'example.aliyundoc.com'."\n", - ], + 'schema' => ['description' => '要查询事件的开始时间戳,单位:秒。'."\n" + ."\n" + .'> 您可以调用[DescribeDDosAllEventList](~~188604~~)查询所有事件的开始时间信息。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1598948471'], ], [ - 'name' => 'PageNumber', + 'name' => 'Ip', 'in' => 'query', - 'schema' => [ - 'description' => '分页查询时,设置当前页面的页码。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '1', - ], + 'schema' => ['description' => '受攻击的高防IP。', 'type' => 'string', 'required' => true, 'example' => '203.***.***.199'], ], [ - 'name' => 'PageSize', + 'name' => 'Range', 'in' => 'query', - 'schema' => [ - 'description' => '分页查询时每页包含的记录数量。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '10', - ], + 'schema' => ['description' => '要返回的攻击来源IP的个数。按照攻击流量由大到小排序,默认返回前**5**个IP。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '2'], ], ], 'responses' => [ @@ -6692,134 +5216,35 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'TotalCount' => [ - 'description' => '结果中数据的总条数。', - 'type' => 'string', - 'example' => '12', - ], - 'RequestId' => [ - 'description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。', - 'type' => 'string', - 'example' => '02FE96D9-C77B-5735-B36D-329E052C8047', - ], - 'SchedulerRules' => [ - 'description' => '流量调度规则信息。', + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => '38A0224E-FDBC-4733-A362-B391827FC1E9'], + 'Ips' => [ + 'description' => '攻击来源IP信息。', 'type' => 'array', 'items' => [ - 'description' => '流量调度规则信息。', 'type' => 'object', 'properties' => [ - 'Domain' => [ - 'description' => '域名。', - 'type' => 'string', - 'example' => 'example.aliyundoc.com'."\n", - ], - 'CdnLinkageEnable' => [ - 'description' => 'CDN联动状态是否开启。取值:'."\n" - .'- **0**: 关闭'."\n" - .'- **1**:开启', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'CdnLinkageRule' => [ - 'description' => 'CDN联动规则。', - 'type' => 'object', - 'properties' => [ - 'Cname' => [ - 'description' => '域名对应的DDoS高防CNAME地址。', - 'type' => 'string', - 'example' => 'example.aliyundoc.com'."\n", - ], - 'RuleName' => [ - 'description' => '流量调度规则名称。', - 'type' => 'string', - 'example' => 'testDDos', - ], - 'Rules' => [ - 'description' => '规则信息。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Type' => [ - 'description' => '资源地址的格式。取值:'."\n" - .'- **A**:IPv4地址'."\n" - .'- **AAAA**:IPv6地址'."\n" - .'- **CNAME**:CNAME地址', - 'type' => 'string', - 'example' => 'A', - ], - 'Status' => [ - 'description' => '当前生效状态。取值:'."\n" - ."\n" - .'- **0**:表示未生效。'."\n" - .'- **1**:表示生效。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'Value' => [ - 'description' => '资源地址。', - 'type' => 'string', - 'example' => '203.107.XX.XX', - ], - 'ValueType' => [ - 'description' => '资源地址类型。取值:'."\n" - .'- **1**:DDoS高防IP '."\n" - .'- **5**:(CDN联动)加速域名', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'Priority' => [ - 'description' => '规则优先级。取值范围:0~100,取值越大,优先级越高。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'RegionId' => [ - 'description' => '地域ID(默认为空)。', - 'type' => 'string', - 'example' => '""', - ], - ], - ], - ], - 'Param' => [ - 'description' => '联动资源。', - 'type' => 'object', - 'properties' => [ - 'ParamType' => [ - 'description' => '联动资源的类型。取值:'."\n" - ."\n" - .'- **cdn**:表示阿里云CDN。'."\n" - .'- **dcdn**:表示阿里云DCDN。', - 'type' => 'string', - 'example' => 'cdn', - ], - 'ParamData' => [ - 'description' => '联动条件。', - 'type' => 'object', - 'properties' => [ - 'AccessQps' => [ - 'description' => '联动切换QPS阈值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '100', - ], - 'UpstreamQps' => [ - 'description' => '保留字段,目前默认0。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - ], - ], - ], - ], - ], - ], + 'SrcIp' => ['description' => '攻击来源IP。', 'type' => 'string', 'example' => '218.***.***.24'], + 'AreaId' => ['description' => '攻击来源地域的代码。更多信息,请参见[地域代码](~~167926~~)。例如,**110000**表示中国北京市、**us**表示美国。', 'type' => 'string', 'example' => '110000'], + 'Isp' => ['description' => '攻击来源网络运营商。取值:'."\n" + ."\n" + .'- **100017**:电信'."\n" + .'- **100026**:联通'."\n" + .'- **100025**:移动'."\n" + .'- **100027**:教育网'."\n" + .'- **100020**:铁通'."\n" + .'- **1000143**:鹏博士'."\n" + .'- **100080**:歌华'."\n" + .'- **1000139**:广电'."\n" + .'- **100023**:有线通'."\n" + .'- **100063**:方正宽带'."\n" + .'- **1000337**:皓宽网络'."\n" + .'- **100021**:世纪互联'."\n" + .'- **1000333**:华数传媒'."\n" + .'- **100093**:网宿'."\n" + .'- **1000401**:腾讯'."\n" + .'- **100099**:百度'."\n" + .'- **1000323**:阿里云'."\n" + .'- **100098**:阿里巴巴', 'type' => 'string', 'example' => '100026'], ], ], ], @@ -6827,19 +5252,40 @@ ], ], ], - '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"}]', - 'title' => '查询CDN联动规则', - 'summary' => '此API用于查询指定域名下的CDN联动规则配置。', - ], - 'AddAutoCcBlacklist' => [ - 'methods' => [ - 'post', - 'get', + 'title' => '查询某次流量型攻击的攻击来源IP详情', + 'summary' => '查询某次流量型攻击的攻击来源IP详情。', + 'description' => '> 目前该接口仅适用于查询流量型攻击的数据,不适用于查询Web资源消耗型和连接型攻击的数据。', + 'requestParamsDescription' => '调用API时,除了本文中该API的请求参数,还需加入阿里云API公共请求参数。公共请求参数的详细介绍,请参见[公共参数](~~157269~~)。'."\n" + ."\n" + .'调用API的请求格式,请参见本文**示例**中的请求示例。', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:24.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDDosEventSrcIp'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeDDosEventSrcIp', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + '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":""}]', + ], + 'DescribeDefenseCountStatistics' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -6848,46 +5294,18 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'create', - 'abilityTreeCode' => '106046', - 'abilityTreeNodes' => [ - 'FEATUREddosRTUJBH', - ], + 'operationType' => 'get', + 'abilityTreeCode' => '106118', + 'abilityTreeNodes' => ['FEATUREddosMHU3MF'], + 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'InstanceId', - 'in' => 'query', - 'schema' => [ - 'description' => 'DDoS高防实例的ID。'."\n" - .'> 您可以调用**DescribeInstanceIds**查询所有DDoS高防实例的ID信息。', - 'type' => 'string', - 'required' => true, - 'example' => 'ddoscoo-cn-mp91j1ao****', - ], - ], - [ - 'name' => 'Blacklist', - 'in' => 'query', - 'schema' => [ - 'description' => '黑名单IP的详细信息,使用JSON格式的字符串表述,具体结构如下。'."\n" - .'- **src**:String类型,必选,黑名单IP。'."\n" - .'> 黑名单中最多支持手动添加2000个IP。多个IP地址间使用空格或换行方式分割。', - 'type' => 'string', - 'required' => true, - 'example' => '[{"src":"198.51.XX.XX"},{"src":"198.52.XX.XX"}]', - ], - ], - [ - 'name' => 'ExpireTime', + 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => '过期时间,可自定义。取值范围:**300**~**604800**,单位:秒。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '300', - ], + 'schema' => ['description' => 'DDoS高防实例在资源管理服务中所属的资源组ID。'."\n" + ."\n" + .'不设置该参数表示默认资源组。', 'type' => 'string', 'required' => false, 'example' => 'rg-acfm2pz25js****'], ], ], 'responses' => [ @@ -6895,31 +5313,60 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。', - 'type' => 'string', - 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E', + 'RequestId' => ['description' => '本次请求的ID。'."\n", 'type' => 'string', 'example' => '310A41FD-0990-5610-92E0-A6A55D7C6444'], + 'DefenseCountStatistics' => [ + 'description' => '高级防护次数统计数据。', + 'type' => 'object', + 'properties' => [ + 'FlowPackCountRemain' => ['description' => '高级防护资源包中剩余可用的保险版高级防护次数。', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'MaxUsableDefenseCountCurrentMonth' => ['description' => '当前自然月可使用的高级防护次数(包含实例自带的高级防护和高级防护资源包提供的高级防护)的上限。', 'type' => 'integer', 'format' => 'int32', 'example' => '20'], + 'DefenseCountTotalUsageOfCurrentMonth' => ['description' => '当前自然月已使用的高级防护总次数(包含实例自带的高级防护和高级防护资源包提供的高级防护)。', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'SecHighSpeedCountRemain' => ['description' => '高级防护资源包中剩余可用的安全加速线路高级防护次数。', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + ], ], ], ], ], ], - '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' => '添加针对DDoS高防实例的黑名单IP', - 'summary' => '添加针对DDoS高防实例的黑名单IP。', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'AddAutoCcWhitelist' => [ - 'methods' => [ - 'post', - 'get', + 'title' => '查询DDoS高防(非中国内地)服务的高级防护次数统计数据', + 'summary' => '查询DDoS高防(非中国内地)服务的高级防护次数统计数据。', + 'description' => '本接口用于查询DDoS高防(非中国内地)服务的高级防护次数统计数据,例如,当前自然月已使用的高级防护次数、高级防护资源包中剩余可用的高级防护次数等。'."\n" + ."\n" + .'> 本接口只适用于DDoS高防(非中国内地)服务。'."\n" + .'>'."\n" + ."\n" + .'### QPS限制'."\n" + .'本接口的单用户QPS限制为10次/秒。超过限制,API调用将会被限流,这可能影响您的业务,请合理调用。', + 'requestParamsDescription' => '调用API时,除了本文中该API的请求参数,还需加入阿里云API公共请求参数。公共请求参数的详细介绍,请参见[公共参数](~~157269~~)。'."\n" + ."\n" + .'调用API的请求格式,请参见本文示例中的请求示例。', + 'changeSet' => [ + ['createdAt' => '2025-03-14T05:57:44.000Z', 'description' => '响应参数发生变更'], + ['createdAt' => '2021-12-28T03:07:29.000Z', 'description' => '响应参数发生变更、错误码发生变更'], + ], + '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' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + '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":""}]', + ], + 'DescribeDefenseRecords' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -6928,49 +5375,45 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'create', - 'abilityTreeCode' => '106047', - 'abilityTreeNodes' => [ - 'FEATUREddosRTUJBH', - ], + 'operationType' => 'get', + 'abilityTreeCode' => '106120', + 'abilityTreeNodes' => ['FEATUREddosOZ1QOD'], ], 'parameters' => [ + [ + 'name' => 'ResourceGroupId', + 'in' => 'query', + 'schema' => ['description' => 'DDoS高防实例在资源管理产品中所属的资源组ID。默认为空,即属于默认资源组。', 'type' => 'string', 'required' => false, 'example' => 'default'], + ], [ 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => '要添加白名单IP的DDoS高防实例的ID。'."\n" - ."\n" - .'> 您可以调用[DescribeInstanceIds](~~157459~~)查询所有DDoS高防实例的ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'ddoscoo-cn-mp91j1ao****', - ], + 'schema' => ['description' => 'DDoS高防实例的ID。'."\n" + .'> 您可以调用[DescribeInstanceIds](~~157459~~)查询所有DDoS高防实例的ID信息。'."\n", 'type' => 'string', 'required' => false, 'example' => 'ddoscoo-cn-mp91j1ao****'], ], [ - 'name' => 'Whitelist', + 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => '要添加的白名单IP的配置。使用JSON数组转化的字符串表示。JSON数组的每个元素是一个白名单IP结构体,具体包含以下参数:'."\n" - ."\n" - .'- **src**:String类型 | 必选 | 要添加到白名单的IP地址。', - 'type' => 'string', - 'required' => true, - 'example' => '[{"src":"192.XX.XX.1"},{"src":"192.XX.XX.2"}]', - ], + 'schema' => ['description' => '查询开始时间。时间戳格式,单位:毫秒。'."\n" + ."\n" + .'> 查询时间的跨度不允许超过近90天。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1582992000000'], ], [ - 'name' => 'ExpireTime', + 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => '该参数已废弃。'."\n" - ."\n" - .'> 该参数表示黑名单IP的有效期。白名单IP默认永久有效,无需设置该参数。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '0', - ], + 'schema' => ['description' => '查询结束时间。时间戳格式,单位:毫秒。'."\n" + ."\n" + .'> 查询时间的跨度不允许超过90天。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1583683200000'], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => ['description' => '分页查询请求时返回的页码。例如,查询第一页的返回结果,则填写**1**。'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1'], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['description' => '页面显示的记录数量。最大值:**50**', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '10'], ], ], 'responses' => [ @@ -6978,40 +5421,62 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => 'AB5025DA-5C52-5207-B6AC-3F198758B678', + 'TotalCount' => ['description' => '高级防护总次数。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc'], + 'DefenseRecords' => [ + 'description' => '高级防护日志记录。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'EndTime' => ['description' => '防护结束时间。时间戳格式,单位:毫秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1583683200000'], + 'Status' => ['description' => '高级防护的状态。取值:'."\n" + .'- **0**:使用中'."\n" + .'- **1**:已使用'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'StartTime' => ['description' => '防护开始时间。时间戳格式,单位:毫秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1582992000000'], + 'EventCount' => ['description' => '被攻击次数。', 'type' => 'integer', 'format' => 'int32', 'example' => '2'], + 'InstanceId' => ['description' => 'DDoS高防实例ID。', 'type' => 'string', 'example' => 'ddoscoo-cn-mp91j1ao****'], + 'AttackPeak' => ['description' => '攻击峰值。单位:bps。', 'type' => 'integer', 'format' => 'int64', 'example' => '6584186000'], + ], + ], ], ], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"AB5025DA-5C52-5207-B6AC-3F198758B678\\"\\n}","errorExample":""},{"type":"xml","example":"\\n AB5025DA-5C52-5207-B6AC-3F198758B678\\n","errorExample":""}]', - 'title' => '添加针对DDoS高防实例的白名单IP', - 'summary' => '添加针对DDoS高防实例的白名单IP。', - 'description' => '本接口用于为单个DDoS高防实例添加白名单IP,使DDoS高防实例直接放行指定IP的请求流量。'."\n" - ."\n" - .'白名单IP经添加后,默认永久有效。如果后续不再需要白名单IP,您可以调用[EmptyAutoCcWhitelist](~~157505~~)清空已添加的白名单IP列表。'."\n" - ."\n" - .'### QPS限制'."\n" - ."\n" - .'本接口的单用户QPS限制为10次/秒。超过限制,API调用将会被限流,这可能影响您的业务,请合理调用。', - 'requestParamsDescription' => '调用API时,除了本文中该API的请求参数,还需加入阿里云API公共请求参数。公共请求参数的详细介绍,请参见[公共参数](~~157269~~)。'."\n" - ."\n" - .'调用API的请求格式,请参见本文**示例**中的请求示例。', + 'title' => '查询高级防护日志', + 'summary' => '查询DDoS高防(国际)的高级防护日志。', + 'description' => '> 该接口仅适用于DDoS高防(国际)服务。', + 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DeleteAutoCcBlacklist' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:24.000Z', 'description' => '错误码发生变更'], ], - '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' => '全部资源', '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":""}]', + ], + 'DescribeDestinationPortEvent' => [ + 'summary' => '查询DDoS高防被攻击IP的目的端口包数量信息。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -7020,42 +5485,44 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'delete', - 'abilityTreeCode' => '106077', - 'abilityTreeNodes' => [ - 'FEATUREddosI8LHMA', - ], + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '187278', + 'abilityTreeNodes' => ['FEATUREddosRTUJBH'], ], 'parameters' => [ [ - 'name' => 'InstanceId', + 'name' => 'Region', 'in' => 'query', - 'schema' => [ - 'description' => 'DDoS高防实例的ID。'."\n" - .'> 您可以调用[DescribeInstanceIds](~~157459~~)查询所有DDoS高防实例的ID信息。', - 'type' => 'string', - 'required' => true, - 'example' => 'ddoscoo-cn-mp91j1ao****', - ], + 'schema' => ['description' => '服务地域。取值:'."\n" + .'- **cn**:中国内地。'."\n" + .'- **cn-hongkong**:非中国内地。', 'type' => 'string', 'required' => true, 'example' => 'cn'], ], [ - 'name' => 'QueryType', + 'name' => 'EventType', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['description' => '要查询的攻击事件类型。取值:'."\n" + ."\n" + .'- **defense**:流量型攻击清洗事件。'."\n" + .'- **blackhole**:流量型攻击黑洞事件。', 'type' => 'string', 'required' => true, 'example' => 'defense'], ], [ - 'name' => 'Blacklist', + 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => '黑名单IP的详细信息,使用JSON格式的字符串表述,具体结构如下。'."\n" - .'- **src**:String类型,必选,黑名单IP。', - 'type' => 'string', - 'required' => true, - 'example' => '[{"src":"198.51.XX.XX"},{"src":"198.52.XX.XX"}]', - ], + 'schema' => ['description' => '查询开始时间。时间戳格式,单位:秒。'."\n" + ."\n" + .'> 必须为整点分钟。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1720059000'], + ], + [ + 'name' => 'Ip', + 'in' => 'query', + 'schema' => ['description' => '攻击者的IP地址。', 'type' => 'string', 'required' => true, 'example' => '203.107.XX.XX'."\n"], + ], + [ + 'name' => 'Range', + 'in' => 'query', + 'schema' => ['description' => '要返回的目的端口数量。按照请求包数量由大到小排序,默认返回前**10**个IP。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '2'], ], ], 'responses' => [ @@ -7063,31 +5530,48 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。', - 'type' => 'string', - 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E', + 'RequestId' => ['description' => '本次调用请求的 ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。', 'type' => 'string', 'example' => '9E7F6B2C-03F2-462F-9076-B782CF0DD502'], + 'PortList' => [ + 'description' => '端口列表。', + 'type' => 'array', + 'items' => [ + 'description' => '端口信息。', + 'type' => 'object', + 'properties' => [ + 'DstPort' => ['description' => '目的端口。', 'type' => 'string', 'example' => '80'], + 'InPkts' => ['description' => '目的端口的请求包数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '8760950'], + ], + ], ], ], + 'description' => '', ], ], ], - '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' => '删除针对DDoS高防实例的黑名单IP', - 'summary' => '删除针对DDoS高防实例的黑名单IP。', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'DeleteAutoCcWhitelist' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '查询DDoS高防攻击IP的目的端口包数量信息', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeDestinationPortEvent', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', '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' => [], @@ -7096,101 +5580,43 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'delete', - 'abilityTreeCode' => '106078', - 'abilityTreeNodes' => [ - 'FEATUREddosRTUJBH', - ], + 'operationType' => 'get', + 'abilityTreeCode' => '106121', + 'abilityTreeNodes' => ['FEATUREddosRTUJBH'], ], 'parameters' => [ [ - 'name' => 'InstanceId', + 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => 'DDoS高防实例的ID。'."\n" - .'> 您可以调用[DescribeInstanceIds](~~157459~~)查询所有DDoS高防实例的ID信息。', - 'type' => 'string', - 'required' => true, - 'example' => 'ddoscoo-cn-mp91j1ao****', - ], + 'schema' => ['description' => 'DDoS高防实例在资源管理产品中所属的资源组ID。默认为空,即属于默认资源组。', 'type' => 'string', 'required' => false, 'example' => 'default'], ], [ - 'name' => 'Whitelist', + 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => '白名单IP的详细信息,使用JSON格式的字符串表述,具体结构如下。'."\n" - .'- **src:String**类型,必选,白名单IP。', - 'type' => 'string', - 'required' => true, - 'example' => '[{"src":"1.1.1.1"},{"src":"2.2.2.2"}]', - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E', - ], - ], - ], + 'schema' => ['description' => '查询开始时间。时间戳格式,单位:秒。'."\n" + .'> 必须为整点分钟。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1582992000'], ], - ], - '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' => '删除针对DDoS高防实例的白名单IP', - 'summary' => '删除针对DDoS高防实例的白名单IP。', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'ModifyBlackholeStatus' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ [ - 'AK' => [], + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => ['description' => '查询结束时间。时间戳格式,单位:秒。'."\n" + .'> 必须为整点分钟。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1583683200'], ], - ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - 'abilityTreeCode' => '106227', - 'abilityTreeNodes' => [ - 'FEATUREddosMHU3MF', + [ + 'name' => 'Domain', + 'in' => 'query', + 'schema' => ['description' => '网站业务的域名。'."\n" + .'> 域名必须已配置网站业务转发规则。您可以调用[DescribeDomains](~~91724~~)查询所有域名。', 'type' => 'string', 'required' => false, 'example' => 'www.aliyun.com'], ], - ], - 'parameters' => [ [ - 'name' => 'BlackholeStatus', + 'name' => 'PageNumber', 'in' => 'query', - 'schema' => [ - 'description' => '设置黑洞状态。取值:**undo**,表示解除黑洞。', - 'type' => 'string', - 'required' => true, - 'example' => 'undo', - ], + 'schema' => ['description' => '分页查询请求时返回的页码。例如,查询第一页的返回结果,则填写**1**。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1'], ], [ - 'name' => 'InstanceId', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => 'DDoS高防实例的ID。'."\n" - .'> 您可以调用[DescribeInstanceIds](~~157459~~)查询所有DDoS高防实例的ID信息。', - 'type' => 'string', - 'required' => true, - 'example' => 'ddoscoo-cn-mp91j1ao****', - ], + 'schema' => ['description' => '页面显示的记录数量。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '10'], ], ], 'responses' => [ @@ -7198,31 +5624,58 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E', + 'TotalCount' => ['description' => '攻击事件的总数。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E'], + 'DomainAttackEvents' => [ + 'description' => '网站业务DDoS攻击事件信息。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'EndTime' => ['description' => '攻击结束时间。时间戳格式,单位:秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1560320160'], + 'StartTime' => ['description' => '攻击开始时间。时间戳格式,单位:秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1560312900'], + 'Domain' => ['description' => '被攻击域名。', 'type' => 'string', 'example' => 'www.aliyun.com'], + 'MaxQps' => ['description' => '攻击峰值QPS。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], + ], + ], ], ], ], ], ], - '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' => '执行黑洞解封', - 'summary' => '执行黑洞解封。', - 'requestParamsDescription' => ' ', + 'title' => '查询针对网站业务的攻击事件', + 'summary' => '查询针对网站业务的攻击事件。', + 'requestParamsDescription' => '调用API时,除了本文中该API的请求参数,还需加入阿里云API公共请求参数。公共请求参数的详细介绍,请参见[公共参数](~~157269~~)。'."\n" + ."\n" + .'调用API的请求格式,请参见本文**示例**中的请求示例。', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'ModifyBlockStatus' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:24.000Z', 'description' => '错误码发生变更'], + ], + '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' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + '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":""}]', + ], + 'DescribeDomainBps' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -7231,70 +5684,43 @@ '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' => '设置近源流量压制的状态。取值:'."\n" - ."\n" - .'- **do**:表示开启近源流量压制。'."\n" - .'- **undo**:表示关闭近源流量压制。', - 'type' => 'string', - 'required' => true, - 'example' => 'do', - ], + 'schema' => ['description' => '服务地域。取值:'."\n" + .'- **cn**:中国内地。'."\n" + .'- **cn-hongkong**:非中国内地。', 'type' => 'string', 'required' => true, 'example' => 'cn'], ], [ - 'name' => 'Duration', + 'name' => 'Domain', 'in' => 'query', - 'schema' => [ - 'description' => '要封禁的时长。取值范围:**15**~**43200**,单位:分钟。'."\n" - ."\n" - .'> **Status**为**do**(表示开启近源流量压制)时,该参数必选。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '60', - ], + 'schema' => ['description' => '网站业务的域名。'."\n" + .'> 域名必须已配置网站业务转发规则。您可以调用[DescribeDomains](~~91724~~)查询所有域名。', 'type' => 'string', 'required' => false, 'example' => 'www.example.com'], ], [ - 'name' => 'InstanceId', + 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => '要操作的DDoS高防(中国内地)实例的ID。'."\n" - ."\n" - .'> 您可以调用[DescribeInstanceIds](~~157459~~)查询所有DDoS高防实例的ID信息。', - 'type' => 'string', - 'required' => true, - 'example' => 'ddoscoo-cn-mp91j1ao****', - ], + 'schema' => ['description' => '要查询的请求数据的开始时间。使用时间戳表示,单位:秒。'."\n" + ."\n" + .'> 必须为整点分钟。'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1719211800'], ], [ - 'name' => 'Lines', + 'name' => 'EndTime', 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => '要封禁的线路列表。', - 'type' => 'array', - 'items' => [ - 'description' => '要设置的线路。取值:'."\n" - .'- **ct**:表示海外电信线路。'."\n" - .'- **cut**:表示海外联通线路。', - 'type' => 'string', - 'required' => false, - 'example' => 'ct', - ], - 'required' => true, - 'example' => 'ct', - 'maxItems' => 20, - ], + 'schema' => ['description' => '要查询的请求数据的结束时间。使用时间戳表示,单位:秒。'."\n" + ."\n" + .'> 必须为整点分钟。'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1722339300'], + ], + [ + 'name' => 'Interval', + 'in' => 'query', + 'schema' => ['description' => '查询数据的时间粒度,支持300、 3600和86400秒。3天以内(不包含3天整)支持300、 3600、 86400。3-31天(不包含31天整)支持3600和86400。31天以上支持86400。不传和传的值不支持时,使用默认值。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '600'], ], ], 'responses' => [ @@ -7302,34 +5728,50 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E', + 'RequestId' => ['description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。', 'type' => 'string', 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E'], + 'DomainBps' => [ + 'description' => '查询的带宽列表数据。', + 'type' => 'array', + 'items' => [ + 'description' => '带宽数据。', + 'type' => 'object', + 'properties' => [ + 'Index' => ['description' => '返回数据的索引号。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], + 'InBps' => ['description' => '入方向带宽,单位:bps。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'], + 'OutBps' => ['description' => '出方向带宽,单位:bps。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'], + ], + ], ], ], + 'description' => '', ], ], ], - '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' => '设置实例近源流量压制', - 'summary' => '设置DDoS高防(中国内地)实例的近源流量压制。', - 'description' => '> 该接口仅适用于DDoS高防(中国内地)服务。', - 'requestParamsDescription' => '调用API时,除了本文中该API的请求参数,还需加入阿里云API公共请求参数。公共请求参数的详细介绍,请参见[公共参数](~~157269~~)。'."\n" - ."\n" - .'调用API的请求格式,请参见本文**示例**中的请求示例。', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'DescribeAutoCcListCount' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '查询网站带宽流量', + 'summary' => '查询网站带宽流量。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeDomainBps', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', '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' => [], @@ -7339,33 +5781,28 @@ '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' => 'DDoS高防实例的ID。'."\n" - .'> 您可以调用**DescribeInstanceIds**查询所有DDoS高防实例的ID信息。', - 'type' => 'string', - 'required' => true, - 'example' => 'ddoscoo-cn-mp91j1ao****', - ], + 'schema' => ['description' => 'ddos高防实例在资源管理产品中所属的资源组id。默认为空,即属于默认资源组。', 'type' => 'string', 'required' => false, 'example' => 'rg-acfm2pz25js****'], ], [ - 'name' => 'QueryType', + 'name' => 'Domains', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => '要查询的黑白名单IP的来源。取值:'."\n" - .'- **manual**:手动添加'."\n" - .'- **auto**:自动添加', - 'type' => 'string', - 'required' => false, - 'example' => 'manual', + 'description' => '网站业务的域名。最多可查询5个网站业务域名。'."\n" + .'> 域名必须已配置网站业务转发规则。您可以调用[DescribeDomains](~~91724~~)查询所有域名。', + 'type' => 'array', + 'items' => ['description' => '已配置网站业务转发规则的域名。', 'type' => 'string', 'required' => false, 'example' => 'www.aliyundoc.com'], + 'required' => true, + 'maxItems' => 5, ], ], ], @@ -7374,43 +5811,81 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => '5AC3785F-C789-4622-87A4-F58BE7F6B184', - ], - 'WhiteCount' => [ - 'description' => '白名单IP的数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'BlackCount' => [ - 'description' => '黑名单IP的数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', + 'RequestId' => ['description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'], + 'ProtectSwitchList' => [ + 'description' => '网站业务各防护功能的开关状态。', + 'type' => 'array', + 'items' => [ + 'description' => '网站业务各防护功能的开关状态。', + 'type' => 'object', + 'properties' => [ + 'BlackWhiteListEnable' => ['description' => '黑白名单的开关状态。取值:'."\n" + .'- **0**:关闭'."\n" + .'- **1**:开启', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'AiTemplate' => ['description' => 'AI智能防护的等级。取值:'."\n" + .'- **level30**:宽松'."\n" + .'- **level60**:正常'."\n" + .'- **level90**:严格', 'type' => 'string', 'example' => 'level60'], + 'PreciseRuleEnable' => ['description' => '精确访问控制的开关状态。取值:'."\n" + .'- **0**:关闭'."\n" + .'- **1**:开启', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'Domain' => ['description' => '网站域名。', 'type' => 'string', 'example' => 'www.aliyundoc.com'], + 'AiMode' => ['description' => 'ai智能防护的模式。取值:'."\n" + .'- **watch**:预警模式'."\n" + .'- **defense**:防护模式', 'type' => 'string', 'example' => 'defense'], + 'AiRuleEnable' => ['description' => 'AI智能防护的开关状态。取值:'."\n" + .'- **0**:关闭'."\n" + .'- **1**:开启', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'RegionBlockEnable' => ['description' => '区域封禁(针对域名)的开关状态。取值:'."\n" + .'- **0**:关闭'."\n" + .'- **1**:开启', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'CcTemplate' => ['description' => 'CC防护模式,取值:'."\n" + ."\n" + .'- **default**:正常'."\n" + .'- **gf_under_attack**:攻击紧急'."\n" + .'- **gf_sos_verify**:严格'."\n" + .'- **gf_sos_enhance**:非常严格', 'type' => 'string', 'example' => 'default'], + 'CcCustomRuleEnable' => ['description' => '自定义cc规则的启用状态。取值:'."\n" + .'- **0**:关闭'."\n" + .'- **1**:开启', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'CcEnable' => ['description' => '频率控制防护(cc防护)的开关状态。取值:'."\n" + .'- **0**:关闭'."\n" + .'- **1**:开启', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'CcGlobalSwitch' => ['description' => '自定义和精准防护CC开关状态。取值:'."\n" + .'- **open**:开启'."\n" + .'- **close**:关闭', 'type' => 'string', 'example' => 'close'], + ], + ], ], ], + 'description' => '', ], ], ], - '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' => '查询黑名单和白名单IP的数量', - 'summary' => '查询针对DDoS高防实例的黑名单和白名单IP的数量。', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'DescribeAutoCcBlacklist' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'title' => '查询网站业务DDoS防护配置各开关状态', + 'summary' => '查询指定域名的cc防护功能开关状态', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeDomainCcProtectSwitch', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + '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' => [], @@ -7419,65 +5894,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' => 'DDoS高防实例的ID。'."\n" - .'> 您可以调用[DescribeInstanceIds](~~157459~~)查询所有DDoS高防实例的ID信息。', - 'type' => 'string', - 'required' => true, - 'example' => 'ddoscoo-cn-mp91j1ao****', - ], + 'schema' => ['description' => '网站业务的域名。'."\n" + ."\n" + .'> 您可以调用[DescribeDomains](~~91724~~)查询所有已接入DDoS高防防护的网站业务的域名。', 'type' => 'string', 'required' => false, 'example' => 'example.aliyundoc.com'."\n"], ], [ - 'name' => 'QueryType', + 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['description' => '查询开始时间。时间戳格式,单位:秒。'."\n" + .'> 必须为整点分钟。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1716435180'], ], [ - 'name' => 'KeyWord', + 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => '使用源IP关键字查询,指定要查询的源IP的前缀。'."\n" - ."\n" - .'> 必须大于3个字符。', - 'type' => 'string', - 'required' => false, - 'example' => '138', - ], + 'schema' => ['description' => '查询结束时间。时间戳格式,单位:秒。'."\n" + .'> 必须为整点分钟。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1726318200'], ], [ - 'name' => 'PageNumber', + 'name' => 'Limit', 'in' => 'query', - 'schema' => [ - 'description' => '分页查询请求时返回的页码。例如,查询第一页的返回结果,则填写**1**。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '1', - ], + 'schema' => ['description' => '返回数据条目。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '20'], ], [ - 'name' => 'PageSize', + 'name' => 'QueryType', 'in' => 'query', - 'schema' => [ - 'description' => '页面显示的记录数量。'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '10', - ], + 'schema' => ['type' => 'string'], ], ], 'responses' => [ @@ -7485,69 +5936,50 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'TotalCount' => [ - 'description' => '黑名单IP的总数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '2', - ], - 'RequestId' => [ - 'description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。', - 'type' => 'string', - 'example' => 'E78C8472-0B15-42D5-AF22-A32A78818AB2', - ], - 'AutoCcBlacklist' => [ - 'description' => '针对DDoS高防实例的黑名单IP列表。', + 'RequestId' => ['description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。', 'type' => 'string', 'example' => '112777CC-2AD6-46FC-A263-00B931406FCD'], + 'DomainH2Fp' => [ + 'description' => '域名Top N HTTP2.0 指纹列表。', 'type' => 'array', 'items' => [ + 'description' => 'HTTP2.0 指纹信息。', 'type' => 'object', 'properties' => [ - 'Type' => [ - 'description' => '黑名单IP的来源。取值:'."\n" - .'- **manual**:手动添加'."\n" - .'- **auto**:自动添加', - 'type' => 'string', - 'example' => 'manual', - ], - 'DestIp' => [ - 'description' => 'DDoS高防实例的IP。', - 'type' => 'string', - 'example' => '192.0.XX.XX', - ], - 'EndTime' => [ - 'description' => '黑名单IP的失效时间。时间戳格式,单位:秒。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1584093569', - ], - 'SourceIp' => [ - 'description' => '黑名单IP。', - 'type' => 'string', - 'example' => '47.100.XX.XX', - ], + 'H2Fingerprint' => ['description' => 'HTTP2.0 指纹。', 'type' => 'string', 'example' => '532501bc316d02c8b1a007db76f2c796'], + 'Pv' => ['description' => '域名匹配HTTP2.0 指纹次数。', 'type' => 'integer', 'format' => 'int64', 'example' => '471755'], + 'Domain' => ['description' => '网站业务的域名。', 'type' => 'string', 'example' => 'example.aliyundoc.com'."\n"], ], ], ], ], + 'description' => '', ], ], ], - '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' => '查询针对DDoS高防实例的黑名单IP', - 'summary' => '查询针对DDoS高防实例的黑名单IP。', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'DescribeAutoCcWhitelist' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '查询网站 HTTP2.0 指纹', + 'summary' => '查询网站的HTTP 2.0 指纹信息。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeDomainTopFingerprint', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', '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' => [], @@ -7557,56 +5989,35 @@ 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', - 'abilityTreeCode' => '106097', - 'abilityTreeNodes' => [ - 'FEATUREddosOZ1QOD', - ], + 'abilityTreeCode' => '106125', + 'abilityTreeNodes' => ['FEATUREddosRTUJBH'], ], 'parameters' => [ [ - 'name' => 'InstanceId', + 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => 'DDoS高防实例的ID。'."\n" - .'> 您可以调用[DescribeInstanceIds](~~157459~~)查询所有DDoS高防实例的ID信息。', - 'type' => 'string', - 'required' => true, - 'example' => 'ddoscoo-cn-mp91j1ao****', - ], + 'schema' => ['description' => 'DDoS高防实例在资源管理服务中所属的资源组ID。默认为空,即属于默认资源组。'."\n" + ."\n" + .'关于资源组的更多信息,请参见[创建资源组](~~94485~~)。', 'type' => 'string', 'required' => false, 'example' => 'rg-acfm2pz25js****'], ], [ - 'name' => 'KeyWord', + 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => '使用源IP关键字查询,指定要查询的源IP的前缀。'."\n" - ."\n" - .'> 必须大于3个字符。', - 'type' => 'string', - 'required' => false, - 'example' => '138', - ], + 'schema' => ['description' => '查询开始时间。使用时间戳格式,单位:秒。'."\n" + .'> 必须为整点分钟。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1619798400'], ], [ - 'name' => 'PageNumber', + 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => '分页查询请求时返回的页码。例如,查询第一页的返回结果,则填写**1**。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '1', - ], + 'schema' => ['description' => '查询结束时间。使用时间戳格式,单位:秒。不设置该参数表示使用当前时间作为查询结束时间。'."\n" + .'> 必须为整点分钟。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1623427200'], ], [ - 'name' => 'PageSize', + 'name' => 'Domain', 'in' => 'query', - 'schema' => [ - 'description' => '页面显示的记录数量。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '10', - ], + 'schema' => ['description' => '要查询的网站业务的域名。不设置该参数表示查询所有域名的数据。'."\n" + ."\n" + .'> 域名必须已接入DDoS高防进行防护。您可以调用[DescribeDomains](~~91724~~)查询所有已接入DDoS高防的域名。', 'type' => 'string', 'required' => false, 'example' => 'example.aliyundoc.com'], ], ], 'responses' => [ @@ -7614,69 +6025,46 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'TotalCount' => [ - 'description' => '白名单IP的总数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '2', - ], - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => 'F09D085E-5E0F-4FF2-B32E-F4A644049162', - ], - 'AutoCcWhitelist' => [ - 'description' => '针对DDoS高防实例的白名单IP列表。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Type' => [ - 'description' => '白名单IP类型。取值:'."\n" - .'- **manual**:手动添加'."\n" - .'- **auto**:自动添加', - 'type' => 'string', - 'example' => 'manual', - ], - 'DestIp' => [ - 'description' => 'DDoS高防实例的IP。', - 'type' => 'string', - 'example' => '203.***.***.117', - ], - 'EndTime' => [ - 'description' => '白名单IP的失效时间,单位:秒。**0**表示永久生效。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'SourceIp' => [ - 'description' => '白名单IP。', - 'type' => 'string', - 'example' => '2.2.2.2', - ], - ], - ], - ], + 'RequestId' => ['description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。', 'type' => 'string', 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E'], + 'MaxHttp' => ['description' => 'HTTP清洗峰值,单位:qps。', 'type' => 'integer', 'format' => 'int64', 'example' => '41652'], + 'MaxHttps' => ['description' => 'HTTPS清洗峰值,单位:qps。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'], ], ], ], ], - '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' => '查询针对DDoS高防实例的白名单IP', - 'summary' => '查询针对DDoS高防实例的白名单IP。', - 'requestParamsDescription' => ' ', + 'title' => '查询网站业务攻击总览', + 'summary' => '查询网站业务攻击总览,包括HTTP攻击峰值、HTTPS攻击峰值。', + 'requestParamsDescription' => '调用API时,除了本文中该API的请求参数,还需加入阿里云API公共请求参数。公共请求参数的详细介绍,请参见[公共参数](~~157269~~)。'."\n" + ."\n" + .'调用API的请求格式,请参见本文**示例**中的请求示例。', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeUnBlackholeCount' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:24.000Z', 'description' => '错误码发生变更'], + ], + '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' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + '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":""}]', + ], + 'DescribeDomainQPSList' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -7686,99 +6074,37 @@ 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', - 'abilityTreeCode' => '106194', - 'abilityTreeNodes' => [ - 'FEATUREddosRTUJBH', - ], - 'tenantRelevance' => 'publicInformation', + 'abilityTreeCode' => '106127', + 'abilityTreeNodes' => ['FEATUREddosRTUJBH'], ], 'parameters' => [ [ 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => 'DDoS高防实例在资源管理产品中所属的资源组ID。默认为空,即属于默认资源组。', - 'type' => 'string', - 'required' => false, - 'example' => 'default', - ], + 'schema' => ['description' => 'DDoS高防实例在资源管理产品中所属的资源组ID。默认为空,即属于默认资源组。', 'type' => 'string', 'required' => false, 'example' => 'default'], ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => '232929FA-40B6-4C53-9476-EE335ABA44CD', - ], - 'TotalCount' => [ - 'description' => '黑洞解封总次数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '5', - ], - 'RemainCount' => [ - 'description' => '剩余的黑洞解封次数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '5', - ], - ], - ], + [ + 'name' => 'StartTime', + 'in' => 'query', + 'schema' => ['description' => '查询开始时间。时间戳格式,单位:秒。'."\n" + .'> 必须为整点分钟。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1582992000'], ], - ], - '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' => '查询黑洞解封次数', - 'summary' => '查询黑洞解封次数。', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'DescribeBlackholeStatus' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ [ - 'AK' => [], + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => ['description' => '查询结束时间。时间戳格式,单位:秒。'."\n" + .'> 必须为整点分钟。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1583683200'], ], - ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeCode' => '106099', - 'abilityTreeNodes' => [ - 'FEATUREddosRTUJBH', + [ + 'name' => 'Interval', + 'in' => 'query', + 'schema' => ['description' => '返回数据的步长,单位为秒,即每隔多少秒返回一个结果。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1000'], ], - ], - 'parameters' => [ [ - 'name' => 'InstanceIds', + 'name' => 'Domain', 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => 'DDoS高防实例的ID。'."\n" - .'> 您可以调用[DescribeInstanceIds](~~157459~~)查询所有DDoS高防实例的ID信息。', - 'type' => 'array', - 'items' => [ - 'description' => 'DDoS高防实例的ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'ddoscoo-cn-mp91j1ao****', - ], - 'required' => true, - 'example' => 'ddoscoo-cn-mp91j1ao****', - 'maxItems' => 20, - ], + 'schema' => ['description' => '网站业务的域名。不传入表示查询所有域名的QPS统计信息。'."\n" + .'> 域名必须已配置网站业务转发规则。您可以调用[DescribeDomains](~~91724~~)查询所有域名。', 'type' => 'string', 'required' => false, 'example' => 'www.aliyun.com'], ], ], 'responses' => [ @@ -7786,41 +6112,22 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E', - ], - 'BlackholeStatus' => [ - 'description' => 'DDoS高防实例的黑洞状态信息。', + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => '327F2ABB-104D-437A-AAB5-D633E29A8C51'], + 'DomainQPSList' => [ + 'description' => '网站业务QPS统计信息。', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'EndTime' => [ - 'description' => '黑洞结束时间。时间戳格式,单位:秒。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1540196323', - ], - 'StartTime' => [ - 'description' => '黑洞开始时间。时间戳格式,单位:秒。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1540195323', - ], - 'Ip' => [ - 'description' => 'DDoS高防实例的IP。', - 'type' => 'string', - 'example' => '203.***.***.132', - ], - 'BlackStatus' => [ - 'description' => '黑洞状态。取值:'."\n" - .'- **blackhole**:黑洞中'."\n" - .'- **normal**:正常', - 'type' => 'string', - 'example' => 'blackhole', - ], + 'Index' => ['description' => '返回数据的索引号。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'], + 'Time' => ['description' => '统计时间。时间戳格式,单位:秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1582992000'], + 'MaxAttackQps' => ['description' => '攻击QPS峰值。', 'type' => 'integer', 'format' => 'int64', 'example' => '37'], + 'AttackQps' => ['description' => '攻击QPS。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], + 'MaxQps' => ['description' => '总QPS峰值。', 'type' => 'integer', 'format' => 'int64', 'example' => '130'], + 'MaxNormalQps' => ['description' => '正常QPS峰值。', 'type' => 'integer', 'format' => 'int64', 'example' => '93'], + 'TotalQps' => ['description' => '总QPS。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], + 'TotalCount' => ['description' => '总访问次数。', 'type' => 'integer', 'format' => 'int64', 'example' => '20008'], + 'CacheHits' => ['description' => '缓存命中数。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'], ], ], ], @@ -7828,46 +6135,93 @@ ], ], ], - '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":""}]', - 'title' => '查询DDoS高防实例的黑洞状态', - 'summary' => '查询DDoS高防实例的黑洞状态。', - 'requestParamsDescription' => ' ', + 'title' => '查询网站业务的QPS统计信息', + 'summary' => '查询网站业务的QPS统计信息。', + 'requestParamsDescription' => '调用API时,除了本文中该API的请求参数,还需加入阿里云API公共请求参数。公共请求参数的详细介绍,请参见[公共参数](~~157269~~)。'."\n" + ."\n" + .'调用API的请求格式,请参见本文**示例**中的请求示例。', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeNetworkRegionBlock' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:24.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeDomainQPSList'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeDomainQPSList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + '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":""}]', + ], + 'DescribeDomainResource' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeCode' => '106160', - 'abilityTreeNodes' => [ - 'FEATUREddosOZ1QOD', - ], + 'operationType' => 'list', + 'abilityTreeCode' => '106130', + 'abilityTreeNodes' => ['FEATUREddos64TBV6'], + 'autoTest' => true, ], 'parameters' => [ [ - 'name' => 'InstanceId', + 'name' => 'Domain', + 'in' => 'query', + 'schema' => ['description' => '要查询的网站域名。', 'type' => 'string', 'required' => false, 'example' => 'www.example.com'], + ], + [ + 'name' => 'QueryDomainPattern', 'in' => 'query', 'schema' => [ - 'description' => 'DDoS高防实例的ID。'."\n" - .'> 您可以调用[DescribeInstanceIds](~~157459~~)查询所有DDoS高防实例的ID信息。', + 'description' => '查询匹配模式。取值:'."\n" + ."\n" + .'- **fuzzy**(默认):表示模糊查询。'."\n" + .'- **exact**:表示精确查询。', 'type' => 'string', - 'required' => true, - 'example' => 'ddoscoo-cn-mp91j1ao****', + 'required' => false, + 'example' => 'fuzzy', + 'enum' => ['fuzzy', 'exact'], + ], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => ['description' => '分页查询时,设置当前页面的页码。默认值为**1**。'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'default' => '1'], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['description' => '分页查询时,设置每页包含转发规则的数量。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10', 'default' => '10'], + ], + [ + 'name' => 'InstanceIds', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'description' => '要查询的DDoS高防实例的ID列表。', + 'type' => 'array', + 'items' => ['description' => '要查询的DDoS高防实例的ID。'."\n" + ."\n" + .'> 您可以调用[DescribeInstanceIds](~~157459~~)查询所有DDoS高防实例的ID。', 'type' => 'string', 'required' => false, 'example' => 'ddoscoo-cn-mp91j1ao****'], + 'required' => false, + 'maxItems' => 10, ], ], ], @@ -7876,65 +6230,221 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E', - ], - 'Config' => [ - 'description' => '区域封禁的配置信息。', - 'type' => 'object', - 'properties' => [ - 'RegionBlockSwitch' => [ - 'description' => '区域封禁的开关状态。取值:'."\n" - .'- **on**:开启'."\n" - .'- **off**:关闭', - 'type' => 'string', - 'example' => 'on', - ], - 'Countries' => [ - 'description' => '被封禁的海外地域代码列表。', - 'type' => 'array', - 'items' => [ - 'description' => '被封禁的海外地域代码。'."\n" + 'TotalCount' => ['description' => '查询到的网站业务转发规则的总数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => '39499F01-19D9-4EA4-A0E9-C6014BA5CDBE'], + 'WebRules' => [ + 'description' => '网站业务转发规则的配置。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Domain' => ['description' => '网站业务的域名。', 'type' => 'string', 'example' => 'www.example.com'], + 'Http2HttpsEnable' => ['description' => '是否开启了HTTPS强制跳转。取值:'."\n" + ."\n" + .'- **true**:表示已开启。'."\n" + .'- **false**:表示未开启。', 'type' => 'boolean', 'example' => 'false'], + 'SslProtocols' => ['description' => 'TLS协议版本。取值:'."\n" + ."\n" + .'- **tls1.0**:表示TLS 1.0及以上版本。'."\n" + .'- **tls1.1**:表示TLS 1.1及以上版本。'."\n" + .'- **tls1.2**:表示TLS 1.2及以上版本。', 'type' => 'string', 'example' => 'tls1.0'], + 'PunishReason' => ['description' => '域名受到违规处罚的原因。取值:'."\n" + .'- **1**:表示域名未履行ICP备案。'."\n" + .'- **2**:表示域名经营的业务不符合监管要求。'."\n" + ."\n" + .'如果同时包含原因**1**和**2**,该参数返回**2**。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'CcTemplate' => ['description' => '频率控制防护(CC防护)的模式。取值:'."\n" + ."\n" + .'- **default**:表示正常模式。'."\n" + .'- **gf_under_attack**:表示攻击紧急模式。'."\n" + .'- **gf_sos_verify**:表示严格模式。'."\n" + .'- **gf_sos_enhance**:表示超级严格模式。', 'type' => 'string', 'example' => 'default'], + 'HttpsExt' => ['description' => 'HTTPS高级设置,仅在网站协议类型支持HTTPS(**ProxyType**包含**https**)时生效。使用JSON结构体转化的字符串格式表示,JSON结构体包含以下字段:'."\n" + ."\n" + .'- **Http2https**:Integer类型 | 是否开启了HTTPS的强制跳转功能,取值:**0**(表示未开启) | **1**(表示已开启)。'."\n" + .'- **Https2http**:Integer类型 | 是否开启了HTTP回源功能,取值:**0**(表示未开启) | **1**(表示已开启)。'."\n" + .'- **Http2**:Integer类型 | 是否开启了HTTP 2.0协议支持,取值:**0**(表示未开启) | **1**(表示已开启)。', 'type' => 'string', 'example' => '{"Https2http":0,"Http2":0,"Http2https":0}'], + 'CcEnabled' => ['description' => '是否开启了频率控制防护(CC防护)。取值:'."\n" + ."\n" + .'- **true**:表示已开启。'."\n" + .'- **false**:表示未开启。', 'type' => 'boolean', 'example' => 'true'], + 'SslCiphers' => ['description' => '加密套件的类型。取值:'."\n" + ."\n" + .'- **default**:表示自定义加密套件。'."\n" + .'- **all**:表示全部加密套件。'."\n" + .'- **strong**:表示强加密套件。'."\n" + .'- **improved**:表示增强加密套件。', 'type' => 'string', 'example' => 'default'], + 'CcRuleEnabled' => ['description' => '是否开启了自定义频率控制防护(CC防护)。取值:'."\n" + ."\n" + .'- **true**:表示已开启。'."\n" + .'- **false**:表示未开启。', 'type' => 'boolean', 'example' => 'true'], + 'Ssl13Enabled' => ['description' => '是否开启了TLS 1.3协议支持。取值:'."\n" + ."\n" + .'- **true**:表示已开启。'."\n" + .'- **false**:表示未开启。', 'type' => 'boolean', 'example' => 'false'], + 'RsType' => ['description' => '源站服务器的地址类型。取值:'."\n" + ."\n" + .'- **0**:表示使用IP地址格式。'."\n" + .'- **1**:表示使用域名格式。', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'PunishStatus' => ['description' => '域名是否受到违规处罚。取值:'."\n" + ."\n" + .'- **true**:表示已受到违规处罚。您可以通过**PunishReason**查看受到违规处罚的具体原因。'."\n" + .'- **false**:表示未受到违规处罚。', 'type' => 'boolean', 'example' => 'false'], + 'ProxyEnabled' => ['description' => 'DDoS高防是否对该网站业务的流量进行转发。取值:'."\n" + ."\n" + .'- **true**:表示进行流量转发。'."\n" + .'- **false**:表示已停止流量转发。', 'type' => 'boolean', 'example' => 'true'], + 'CertName' => ['description' => '域名使用的SSL证书的名称。', 'type' => 'string', 'example' => '49944XX.pem'], + 'PolicyMode' => ['description' => '回源负载算法的类型。取值:'."\n" + ."\n" + .'- **ip_hash**:表示IP Hash算法。该算法根据请求来源IP进行HASH映射,将同一个IP的所有请求定向到一个源站服务器。'."\n" + .'- **rr**:表示轮转算法。该算法将所有请求轮流分配给不同源站服务器。'."\n" + .'- **least_time**:表示Least Time算法。该算法通过智能DNS解析能力,保证业务流量从接入防护节点到转发回源站服务器整个链路的时延最短。', 'type' => 'string', 'example' => 'ip_hash'], + 'Cname' => ['description' => '域名对应的DDoS高防CNAME地址。', 'type' => 'string', 'example' => '0ekb69x3j9wvXXXX.aliyunddosXXXX.com'], + 'OcspEnabled' => ['description' => '是否启用了OCSP(Online Certificate Status Protocol)功能。取值:'."\n" + .'- **true**:表示已开启。'."\n" + .'- **false**:表示未开启。', 'type' => 'boolean', 'example' => 'false'], + 'Http2Enable' => ['description' => '是否开启了HTTP 2.0。取值:'."\n" + ."\n" + .'- **true**:表示已开启。'."\n" + .'- **false**:表示未开启。', 'type' => 'boolean', 'example' => 'false'], + 'Https2HttpEnable' => ['description' => '是否开启了HTTP回源功能。取值:'."\n" + ."\n" + .'- **true**:表示已开启。'."\n" + .'- **false**:表示未开启。', 'type' => 'boolean', 'example' => 'false'], + 'ProxyTypes' => [ + 'description' => '网站的协议及端口配置。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'ProxyType' => ['description' => '网站对外服务使用的协议类型。取值:'."\n" + ."\n" + .'- **http**:表示HTTP协议。'."\n" + .'- **https**:表示HTTPS协议。'."\n" + .'- **websocket**:表示WebSocket协议。'."\n" + .'- **websockets**:表示WebSockets协议。', 'type' => 'string', 'example' => 'http'], + 'ProxyPorts' => [ + 'description' => '网站对外服务使用的端口列表。', + 'type' => 'array', + 'items' => ['description' => '网站对外服务使用的端口。', 'type' => 'string', 'example' => '80'], + ], + ], + 'description' => '', + ], + ], + 'InstanceIds' => [ + 'description' => '域名关联的DDoS高防实例的ID列表。', + 'type' => 'array', + 'items' => ['description' => '域名关联的DDoS高防实例的ID。', 'type' => 'string', 'example' => 'ddoscoo-cn-st21zbyq****'], + ], + 'CustomCiphers' => [ + 'description' => '自定义加密套件列表。', + 'type' => 'array', + 'items' => ['description' => '非1.3版本的自定义加密套件。'."\n" + .'> 请至少选择一个非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" - .'> 关于海外地域代码的详细信息,请参见[地域类型参数取值说明](~~167926~~)。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '2', + .'- AES256-SHA256'."\n" + .'- ECDHE-ECDSA-AES128-SHA'."\n" + .'- ECDHE-ECDSA-AES256-SHA'."\n" + .'- ECDHE-RSA-AES128-SHA'."\n" + .'- ECDHE-RSA-AES256-SHA'."\n" + .'- AES128-SHA'."\n" + .'- AES256-SHA'."\n" + ."\n" + .'- DES-CBC3-SHA', 'type' => 'string', 'example' => 'ECDHE-RSA-AES256-SHA384'], ], - ], - 'Provinces' => [ - 'description' => '被封禁的中国地域代码列表。', - 'type' => 'array', - 'items' => [ - 'description' => '被封禁的中国地域代码。例如,**11**表示北京市、**12**表示天津市。'."\n" + 'WhiteList' => [ + 'description' => '针对当前域名的白名单IP列表。', + 'type' => 'array', + 'items' => ['description' => '针对当前域名的白名单IP。'."\n" + ."\n" + .'> 仅在您已经为该域名配置了**IP白名单(针对域名)**时返回该结果。您可以调用[ConfigWebIpSet](~~157469~~)为网站域名配置IP黑白名单。', 'type' => 'string', 'example' => '3.XX.XX.3'], + ], + 'BlackList' => [ + 'description' => '针对当前域名的黑名单IP列表。', + 'type' => 'array', + 'items' => ['description' => '针对当前域名的黑名单IP。'."\n" ."\n" - .'> 关于中国地域代码的详细信息,请参见[地域类型参数取值说明](~~167926~~)。'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '11', + .'> 仅在您已经为该域名配置了 **IP黑名单(针对域名)** 时返回该结果。您可以调用[ConfigWebIpSet](~~157469~~)为网站域名配置IP黑白名单。', 'type' => 'string', 'example' => '2.XX.XX.2'], + ], + 'RealServers' => [ + 'description' => '源站服务器地址列表。', + 'type' => 'array', + 'items' => ['description' => '源站服务器地址。', 'type' => 'string', 'example' => '1.XX.XX.1'], ], ], + 'description' => '', ], ], ], + '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' => '查询区域封禁配置', - 'summary' => '查询针对DDoS高防实例的区域封禁配置。', - ], - 'DescribeBlockStatus' => [ - 'methods' => [ - 'post', - 'get', + 'staticInfo' => ['returnType' => 'synchronous'], + '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' => '查询网站业务转发规则的配置', + 'summary' => '查询网站业务转发规则的配置。', + 'description' => '本接口用于查询分页您已创建的网站业务转发规则的详细配置,例如,网站域名、协议配置、HTTPS配置、CC安全防护配置。'."\n" + ."\n" + .'本接口支持与Terraform工具对接。关于Terraform的更多信息,请参见[什么是Terraform](~~95820~~)。'."\n" + ."\n" + .'### QPS限制'."\n" + ."\n" + .'本接口的单用户QPS限制为50次/秒。超过限制,API调用将会被限流,这可能影响您的业务,请合理调用。', + 'requestParamsDescription' => '调用API时,除了本文中该API的请求参数,还需加入阿里云API公共请求参数。公共请求参数的详细介绍,请参见[公共参数](~~157269~~)。'."\n" + ."\n" + .'调用API的请求格式,请参见本文**示例**中的请求示例。', + 'changeSet' => [ + ['createdAt' => '2024-08-30T07:13:07.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2023-06-30T06:49:56.000Z', 'description' => '响应参数发生变更'], + ['createdAt' => '2022-09-08T03:34:24.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + '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' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'DescribeDomainStatusCodeCount' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -7944,44 +6454,35 @@ 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', - 'abilityTreeCode' => '106101', - 'abilityTreeNodes' => [ - 'FEATUREddosRTUJBH', - ], + 'abilityTreeCode' => '106133', + 'abilityTreeNodes' => ['FEATUREddos38XZ5J'], ], 'parameters' => [ [ 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => 'DDoS高防实例在资源管理服务中所属的资源组ID。'."\n" - ."\n" - .'不设置该参数表示默认资源组。', - 'type' => 'string', - 'required' => false, - 'example' => 'rg-acfm2pz25js****', - ], + 'schema' => ['description' => 'DDoS高防实例在资源管理服务中所属的资源组ID。默认为空,即属于默认资源组。'."\n" + ."\n" + .'关于资源组的更多信息,请参见[创建资源组](~~94485~~)。', 'type' => 'string', 'required' => false, 'example' => 'rg-acfm2pz25js****'], ], [ - 'name' => 'InstanceIds', + 'name' => 'StartTime', 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => '要查询近源流量压制配置的DDoS高防实例的ID列表。'."\n" - .'> 您可以调用[DescribeInstanceIds](~~157459~~)查询所有DDoS高防实例的ID信息。', - 'type' => 'array', - 'items' => [ - 'description' => '要查询近源流量压制配置的DDoS高防实例的ID。'."\n" - ."\n" - .'> 您可以调用[DescribeInstanceIds](~~157459~~)查询所有DDoS高防实例的ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'ddoscoo-cn-zvp2eibz****', - ], - 'required' => true, - 'example' => 'ddoscoo-cn-mp91j1ao****', - 'maxItems' => 20, - ], + 'schema' => ['description' => '查询开始时间。使用时间戳格式,单位:秒。'."\n" + .'> 必须为整点分钟。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1582992000'], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => ['description' => '查询结束时间。使用时间戳格式,单位:秒。'."\n" + .'> 必须为整点分钟。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1583683200'], + ], + [ + 'name' => 'Domain', + 'in' => 'query', + 'schema' => ['description' => '要查询的网站业务的域名。不设置该参数表示查询所有域名的数据。'."\n" + ."\n" + .'> 域名必须已接入DDoS高防进行防护。您可以调用[DescribeDomains](~~91724~~)查询所有已接入DDoS高防的域名。', 'type' => 'string', 'required' => false, 'example' => 'www.aliyun.com'], ], ], 'responses' => [ @@ -7989,89 +6490,60 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E', - ], - 'StatusList' => [ - 'description' => 'DDoS高防实例的近源流量压制配置。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Ip' => [ - 'description' => 'DDoS高防实例的IP。', - 'type' => 'string', - 'example' => '203.XX.XX.88', - ], - 'BlockStatusList' => [ - 'description' => '近源流量压制配置。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'EndTime' => [ - 'description' => '封禁结束时间。使用时间戳表示,单位:秒。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1540196323', - ], - 'StartTime' => [ - 'description' => '封禁开始时间。使用时间戳表示,单位:秒。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1540195323', - ], - 'Line' => [ - 'description' => '封禁线路类型。取值:'."\n" - .'- **ct**:表示电信海外线路。'."\n" - .'- **cut**:表示联通海外线路。', - 'type' => 'string', - 'example' => 'cut', - ], - 'BlockStatus' => [ - 'description' => '流量封禁状态。取值:'."\n" - .'- **areablock**:表示封禁中。'."\n" - .'- **normal**:表示正常(未封禁)。', - 'type' => 'string', - 'example' => 'areablock', - ], - ], - ], - ], - ], - ], - ], + 'Status502' => ['description' => '查询时间段内502状态码的数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'], + 'Status405' => ['description' => '查询时间段内405状态码的数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'], + 'Status3XX' => ['description' => '查询时间段内3XX状态码的数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '133209'], + 'Status503' => ['description' => '查询时间段内503状态码的数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'], + 'Status4XX' => ['description' => '查询时间段内4XX状态码的数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '5653'], + 'Status2XX' => ['description' => '查询时间段内2XX类状态码的数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '951472'], + 'Status5XX' => ['description' => '查询时间段内5XX状态码的数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '14'], + 'Status504' => ['description' => '查询时间段内504状态码的数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'], + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E'], + 'Status200' => ['description' => '查询时间段内200状态码的数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '951159'], + 'Status403' => ['description' => '查询时间段内403状态码的数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'], + 'Status404' => ['description' => '查询时间段内404状态码的数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '897'], + 'Status410' => ['description' => '查询时间段内410状态码的数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'], + 'Status499' => ['description' => '查询时间段内499状态码的数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'], + 'Status501' => ['description' => '查询时间段内501状态码的数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'], ], ], ], ], - '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' => '查询实例近源流量压制配置', - 'summary' => '查询DDoS高防(中国内地)实例的近源流量压制配置。', - 'description' => '本接口用于查询DDoS高防(中国内地)实例的近源流量压制配置。'."\n" - ."\n" - .'> 本接口只适用于DDoS高防(中国内地)服务。'."\n" - ."\n" - .'### QPS限制'."\n" - ."\n" - .'本接口的单用户QPS限制为10次/秒。超过限制,API调用将会被限流,这可能影响您的业务,请合理调用。', + 'title' => '查询各类响应状态码统计信息', + 'summary' => '查询指定时间段内网站业务的各类响应状态码的统计信息。', 'requestParamsDescription' => '调用API时,除了本文中该API的请求参数,还需加入阿里云API公共请求参数。公共请求参数的详细介绍,请参见[公共参数](~~157269~~)。'."\n" ."\n" .'调用API的请求格式,请参见本文**示例**中的请求示例。', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeUnBlockCount' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2024-11-26T02:15:31.000Z', 'description' => '响应参数发生变更'], + ['createdAt' => '2022-09-08T03:34:23.000Z', 'description' => '错误码发生变更'], + ], + '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' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + '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":""}]', + ], + 'DescribeDomainStatusCodeList' => [ + 'summary' => '查询网站业务的响应状态码统计信息。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -8081,22 +6553,47 @@ 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', - 'abilityTreeCode' => '106195', - 'abilityTreeNodes' => [ - 'FEATUREddosRTUJBH', - ], - 'tenantRelevance' => 'publicInformation', + 'abilityTreeCode' => '106134', + 'abilityTreeNodes' => ['FEATUREddos38XZ5J'], ], 'parameters' => [ [ 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => 'DDoS高防实例在资源管理产品中所属的资源组ID。默认为空,即属于默认资源组。', - 'type' => 'string', - 'required' => false, - 'example' => 'default', - ], + 'schema' => ['description' => 'DDoS高防实例在资源管理服务中所属的资源组ID。默认为空,即属于默认资源组。'."\n" + ."\n" + .'关于资源组的更多信息,请参见[创建资源组](~~94485~~)。', 'type' => 'string', 'required' => false, 'example' => 'rg-acfm2pz25js****'], + ], + [ + 'name' => 'StartTime', + 'in' => 'query', + 'schema' => ['description' => '查询开始时间。使用时间戳格式,单位:秒。'."\n" + .'> 必须为整点分钟。'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1582992000'], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => ['description' => '查询结束时间。使用时间戳格式,单位:秒。'."\n" + .'> 必须为整点分钟。'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1583683200'], + ], + [ + 'name' => 'Interval', + 'in' => 'query', + 'schema' => ['description' => '返回数据的步长,单位为秒,即每隔多少秒返回一个查询结果。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1000'], + ], + [ + 'name' => 'Domain', + 'in' => 'query', + 'schema' => ['description' => '网站业务的域名。'."\n" + ."\n" + .'> 您可以调用[DescribeDomains](~~91724~~)查询所有已接入DDoS高防防护的网站业务的域名。', 'type' => 'string', 'required' => false, 'example' => 'www.example.com'], + ], + [ + 'name' => 'QueryType', + 'in' => 'query', + 'schema' => ['description' => '查询数据的来源。取值:'."\n" + .'- **gf**:表示高防响应数据。'."\n" + .'- **upstream**:表示源站响应数据。', 'type' => 'string', 'required' => true, 'example' => 'upstream'], ], ], 'responses' => [ @@ -8104,45 +6601,64 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E', - ], - 'TotalCount' => [ - 'description' => '总共可用的近源流量压制次数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'RemainCount' => [ - 'description' => '剩余可用的近源流量压制次数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '7', + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => '3B63C0DD-8AC5-44B2-95D6-064CA9296B9C'], + 'StatusCodeList' => [ + 'description' => '响应状态码的统计信息。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Index' => ['description' => '返回数据的索引号。', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'Status502' => ['description' => '502状态码的统计值。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'], + 'Time' => ['description' => '统计时间。时间戳格式,单位:秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1582992000'], + 'Status405' => ['description' => '405状态码的统计值。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'], + 'Status3XX' => ['description' => '3XX类状态码的统计值。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'], + 'Status503' => ['description' => '503状态码的统计值。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'], + 'Status4XX' => ['description' => '4XX类状态码的统计值。', 'type' => 'integer', 'format' => 'int64', 'example' => '4486'], + 'Status2XX' => ['description' => '2XX类状态码的统计值。', 'type' => 'integer', 'format' => 'int64', 'example' => '15520'], + 'Status5XX' => ['description' => '5XX类状态码的统计值。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'], + 'Status504' => ['description' => '504状态码的统计值。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'], + 'Status200' => ['description' => '200状态码的统计值。', 'type' => 'integer', 'format' => 'int64', 'example' => '15520'], + 'Status403' => ['description' => '403状态码的统计值。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'], + 'Status404' => ['description' => '404状态码的统计值。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'], + 'Status410' => ['description' => '410状态码的统计值。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'], + 'Status499' => ['description' => '499状态码的统计值。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'], + 'Status501' => ['description' => '501状态码的统计值。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'], + ], + ], ], ], ], ], ], - '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' => '查询可用的近源流量压制次数', - 'summary' => '查询可用的近源流量压制次数。', - 'description' => '> 该接口仅适用于DDoS高防(中国内地)服务。', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'EmptyAutoCcBlacklist' => [ - 'summary' => '清空针对DDoS高防实例的黑名单IP。', - 'methods' => [ - 'post', - 'get', + 'title' => '查询网站业务的响应状态码统计信息', + 'changeSet' => [ + ['createdAt' => '2024-11-26T02:15:31.000Z', 'description' => '响应参数发生变更'], + ['createdAt' => '2022-09-08T03:34:23.000Z', 'description' => '错误码发生变更'], + ], + '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' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + '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"}]', + ], + 'DescribeDomainTopAttackList' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -8151,25 +6667,34 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '106217', - 'abilityTreeNodes' => [ - 'FEATUREddosI8LHMA', - ], + 'operationType' => 'get', + 'abilityTreeCode' => '106135', + 'abilityTreeNodes' => ['FEATUREddosRTUJBH'], ], 'parameters' => [ [ - 'name' => 'InstanceId', + 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => 'DDoS高防实例的ID。'."\n" - .'> 您可以调用[DescribeInstanceIds](~~157459~~)查询所有DDoS高防实例的ID信息。', - 'type' => 'string', - 'required' => true, - 'example' => 'ddoscoo-cn-mp91j1ao****', - ], + 'schema' => ['description' => 'DDoS高防实例在资源管理产品中所属的资源组ID。默认为空,即属于默认资源组。', 'type' => 'string', 'required' => false, 'example' => 'default'], + ], + [ + 'name' => 'StartTime', + 'in' => 'query', + 'schema' => ['description' => '查询开始时间。时间戳格式,单位:秒。'."\n" + .'> 必须为整点分钟。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1582992000'], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => ['description' => '查询结束时间。时间戳格式,单位:秒。'."\n" + .'> 必须为整点分钟。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1583683200'], + ], + [ + 'name' => 'Interval', + 'in' => 'query', + 'schema' => ['description' => '查询数据的时间粒度,单位:秒。'."\n" + .'- 支持300、3600、14400、28800和86400。'."\n" + .'- 不传和传的值不支持时,使用默认值3600秒。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '3600', 'default' => '3600'], ], ], 'responses' => [ @@ -8177,31 +6702,58 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E', + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E'], + 'AttackList' => [ + 'description' => '网站业务的QPS峰值数据。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Attack' => ['description' => '攻击QPS。单位:qps。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'], + 'Domain' => ['description' => '网站域名。', 'type' => 'string', 'example' => 'www.aliyun.com'], + 'Count' => ['description' => '全部QPS,包含正常业务请求和攻击。单位:qps。', 'type' => 'integer', 'format' => 'int64', 'example' => '294'], + ], + ], ], ], ], ], ], - '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' => '清空针对DDoS高防实例的黑名单IP', - 'requestParamsDescription' => ' ', + 'title' => '查询网站业务QPS峰值数据', + 'summary' => '查询指定时间段内网站业务的QPS峰值数据,包括攻击QPS、总QPS。', + 'requestParamsDescription' => '调用API时,除了本文中该API的请求参数,还需加入阿里云API公共请求参数。公共请求参数的详细介绍,请参见[公共参数](~~157269~~)。'."\n" + ."\n" + .'调用API的请求格式,请参见本文**示例**中的请求示例。', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'EmptyAutoCcWhitelist' => [ - 'summary' => '清空针对DDoS高防实例的白名单IP。', - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2025-06-18T03:05:19.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2025-06-18T03:05:18.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2022-09-08T03:34:23.000Z', 'description' => '错误码发生变更'], + ], + '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' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + '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":""}]', + ], + 'DescribeDomainTopFingerprint' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -8210,25 +6762,51 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', + 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '106218', - 'abilityTreeNodes' => [ - 'FEATUREddosI8LHMA', - ], + 'abilityTreeNodes' => ['FEATUREddosRTUJBH'], ], 'parameters' => [ [ - 'name' => 'InstanceId', + 'name' => 'Region', 'in' => 'query', - 'schema' => [ - 'description' => 'DDoS高防实例的ID。'."\n" - .'> 您可以调用[DescribeInstanceIds](~~157459~~)查询所有DDoS高防实例的ID信息。', - 'type' => 'string', - 'required' => true, - 'example' => 'ddoscoo-cn-mp91j1ao****', - ], + 'schema' => ['description' => '服务地域。取值:'."\n" + .'- **cn**:中国内地。'."\n" + .'- **cn-hongkong**:非中国内地。', 'type' => 'string', 'required' => true, 'example' => 'cn'], + ], + [ + 'name' => 'Domain', + 'in' => 'query', + 'schema' => ['description' => '网站业务的域名。'."\n" + .'> 域名必须已配置网站业务转发规则。您可以调用[DescribeDomains](~~91724~~)查询所有域名。', 'type' => 'string', 'required' => false, 'example' => 'example.aliyundoc.com'."\n"], + ], + [ + 'name' => 'StartTime', + 'in' => 'query', + 'schema' => ['description' => '查询开始时间。使用时间戳格式,单位:秒。'."\n" + .'> 必须为整点分钟。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1719211800'], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => ['description' => '查询结束时间。时间戳格式,单位:秒。'."\n" + .'> 必须为整点分钟。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1723552200'], + ], + [ + 'name' => 'Limit', + 'in' => 'query', + 'schema' => ['description' => '返回数据条目。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '10'], + ], + [ + 'name' => 'Interval', + 'in' => 'query', + 'schema' => ['description' => '返回数据的步长,单位为秒,即每隔多少秒返回一个结果。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '60'], + ], + [ + 'name' => 'QueryType', + 'in' => 'query', + 'schema' => ['type' => 'string'], ], ], 'responses' => [ @@ -8236,77 +6814,98 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E', + 'RequestId' => ['description' => '本次调用请求的 ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。', 'type' => 'string', 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E'], + 'DomainTopFp' => [ + 'description' => '网站客户端指纹列表。', + 'type' => 'array', + 'items' => [ + 'description' => '网站客户端指纹。', + 'type' => 'object', + 'properties' => [ + 'Fingerprinting' => ['description' => '客户端指纹。', 'type' => 'string', 'example' => '8a374c9724582b14a4cfa58c8c9fb2bc'], + 'Pv' => ['description' => '请求匹配次数。', 'type' => 'integer', 'format' => 'int64', 'example' => '22121'], + 'Domain' => ['description' => '网站业务的域名。', 'type' => 'string', 'example' => 'example.aliyundoc.com'."\n"], + ], + ], ], ], + 'description' => '', ], ], ], - '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' => '清空针对DDoS高防实例的白名单IP', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'ConfigNetworkRegionBlock' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '查询网站Top N客户端指纹', + 'summary' => '查询网站Top N 客户端指纹。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeDomainTopFingerprint', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', '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' => [], ], ], - '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' => 'DDoS高防实例的ID。'."\n" - .'> 您可以调用[DescribeInstanceIds](~~157459~~)查询所有DDoS高防实例的ID信息。', - 'type' => 'string', - 'required' => true, - 'example' => 'ddoscoo-cn-mp91j1ao****', - ], + 'schema' => ['description' => '服务地域。取值:'."\n" + .'- **cn**:中国内地。'."\n" + .'- **cn-hongkong**:非中国内地。', 'type' => 'string', 'required' => true, 'example' => 'cn'], ], [ - 'name' => 'Config', + 'name' => 'Domain', 'in' => 'query', - 'schema' => [ - 'description' => '区域封禁的配置信息,使用JSON格式的字符串表述,具体结构如下。'."\n" - .'- **RegionBlockSwitch**:String类型,必选,区域封禁的开关状态。取值:'."\n" - .' - **on**:开启'."\n" - .' - **off**:关闭'."\n" - .'- **Countries**:Array类型,可选,要封禁的国际地域代码列表。'."\n" - .' > 关于国际地域代码的详细信息,请参见[地域类型参数取值说明](~~167926~~)。'."\n" - .'。'."\n" - ."\n" - .'- **Provinces**:Array类型,可选,要封禁的中国地域代码列表。'."\n" - ."\n" - .' > 关于中国地域代码的详细信息,请参见[地域类型参数取值说明](~~167926~~)。'."\n" - ."\n" - .' 例如,`[11,12]`表示北京市和天津市。', - '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]}', - ], + 'schema' => ['description' => '网站业务的域名。'."\n" + .'> 域名必须已配置网站业务转发规则。您可以调用[DescribeDomains](~~91724~~)查询所有域名。', 'type' => 'string', 'required' => false, 'example' => 'example.aliyundoc.com'."\n"], + ], + [ + 'name' => 'StartTime', + 'in' => 'query', + 'schema' => ['description' => '查询开始时间。时间戳格式,单位:秒。'."\n" + .'> 必须为整点分钟。'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1712449710'], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => ['description' => '查询结束时间。时间戳格式,单位:秒。'."\n" + .'> 必须为整点分钟。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1722339300'], + ], + [ + 'name' => 'Limit', + 'in' => 'query', + 'schema' => ['description' => '返回数据条目。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '20'], + ], + [ + 'name' => 'QueryType', + 'in' => 'query', + 'schema' => ['type' => 'string'], ], ], 'responses' => [ @@ -8314,33 +6913,50 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E', + 'RequestId' => ['description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'], + 'DomainTopMethod' => [ + 'description' => '域名TOP请求方式列表。', + 'type' => 'array', + 'items' => [ + 'description' => '域名请求方式。', + 'type' => 'object', + 'properties' => [ + 'HttpMethod' => ['description' => '域名对应的HTTP请求方法。', 'type' => 'string', 'example' => 'GET'], + 'Pv' => ['description' => '请求匹配次数。', 'type' => 'integer', 'format' => 'int64', 'example' => '22121'], + 'Domain' => ['description' => '网站业务的域名。', 'type' => 'string', 'example' => 'example.aliyundoc.com'."\n"], + ], + ], ], ], + 'description' => '', ], ], ], - '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' => '设置针对DDoS高防实例的区域封禁', - 'summary' => '设置针对DDoS高防实例的区域封禁。', - 'requestParamsDescription' => '调用API时,除了本文中该API的请求参数,还需加入阿里云API公共请求参数。公共请求参数的详细介绍,请参见[公共参数](~~157269~~)。'."\n" - ."\n" - .'调用API的请求格式,请参见本文**示例**中的请求示例。', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'DescribeUdpReflect' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '查询网站Top HTTP_Method', + 'summary' => '查询网站Top N的HTTP_Method。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeDomainTopHttpMethod', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', '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' => [], @@ -8349,37 +6965,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' => '要查询的DDoS高防实例的ID。'."\n" - ."\n" - .'> 您可以调用[DescribeInstanceIds](~~157459~~)查询所有DDoS高防实例的ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'ddoscoo-cn-i7m25564****', - ], + 'schema' => ['description' => '服务地域。取值:'."\n" + .'- **cn**:中国内地。'."\n" + .'- **cn-hongkong**:非中国内地。', 'type' => 'string', 'required' => true, 'example' => 'cn'], ], [ - 'name' => 'RegionId', + 'name' => 'Domain', 'in' => 'query', - 'schema' => [ - 'description' => 'DDoS高防实例所属地域ID。取值:'."\n" - ."\n" - .'- **cn-hangzhou**(默认):表示中国内地,对应DDoS高防(中国内地)实例。'."\n" - .'- **ap-southeast-1**:表示非中国内地,对应DDoS高防(非中国内地)实例。', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => '网站业务的域名。'."\n" + .'> 域名必须已配置网站业务转发规则。您可以调用[DescribeDomains](~~91724~~)查询所有域名。', 'type' => 'string', 'required' => false, 'example' => 'example.aliyundoc.com'."\n"], + ], + [ + 'name' => 'StartTime', + 'in' => 'query', + 'schema' => ['description' => '查询开始时间。时间戳格式,单位:秒。'."\n" + .'> 必须为整点分钟。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1701991920'], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => ['description' => '查询结束时间。时间戳格式,单位:秒。'."\n" + .'> 必须为整点分钟。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1721561100'], + ], + [ + 'name' => 'Limit', + 'in' => 'query', + 'schema' => ['description' => '返回数据条目。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '10'], + ], + [ + 'name' => 'QueryType', + 'in' => 'query', + 'schema' => ['type' => 'string'], ], ], 'responses' => [ @@ -8387,110 +7012,98 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => 'F97A8766-FB4D-411A-9CD5-2CFF701B592F', - ], - 'UdpSports' => [ - 'description' => '被UDP反射攻击防护策略过滤的反射源端口列表。', + 'RequestId' => ['description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'], + 'DomainTopReferer' => [ + 'description' => '网站Top Referer数据。', 'type' => 'array', 'items' => [ - 'description' => '被UDP反射攻击防护策略过滤的反射源端口。', - 'type' => 'string', - 'example' => '17', + 'description' => 'Referer数据。', + 'type' => 'object', + 'properties' => [ + 'Referer' => ['description' => 'Referer 经过Base64加密后的值。', 'type' => 'string', 'example' => 'aHR0cHM6Ly9zZXJ2aWNld2VjaGF0LmNvbS93eGY3ZDc5YWY0YzU4ZDH3NTEvNC9wYWdlLWZyYW1lLmh0bWw='], + 'Pv' => ['description' => '请求匹配次数。', 'type' => 'integer', 'format' => 'int64', 'example' => '257031'], + 'Domain' => ['description' => '网站业务的域名。', 'type' => 'string', 'example' => 'example.aliyundoc.com'."\n"], + ], ], ], ], + 'description' => '', ], ], ], - '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' => '查询 UDP 反射攻击防护策略', - 'summary' => '查询指定的DDoS高防实例上被UDP反射攻击防护策略过滤的反射源端口。', - 'requestParamsDescription' => '调用API时,除了本文中该API的请求参数,还需加入阿里云API公共请求参数。公共请求参数的详细介绍,请参见[公共参数](~~157269~~)。'."\n" - ."\n" - .'调用API的请求格式,请参见本文**示例**中的请求示例。', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'ConfigUdpReflect' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '查询网站Top Referer', + 'summary' => '查询网站Top N Referer。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeDomainTopReferer', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', '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' => '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' => '要操作的DDoS高防实例的ID。'."\n" - ."\n" - .'> 您可以调用[DescribeInstanceIds](~~157459~~)查询所有DDoS高防实例的ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'ddoscoo-cn-i7m25564****', - ], + 'schema' => ['description' => '服务地域。取值:'."\n" + .'- **cn**:中国内地。'."\n" + .'- **cn-hongkong**:非中国内地。', 'type' => 'string', 'required' => true, 'example' => 'cn'], ], [ - 'name' => 'Config', + 'name' => 'Domain', 'in' => 'query', - 'schema' => [ - 'description' => '要添加的UDP反射攻击防护策略的配置。'."\n" - ."\n" - .'该参数使用JSON结构体转换的字符串表示。JSON结构体包含以下字段:'."\n" - ."\n" - .'- **UdpSports**:Array类型,必选,要封禁的UDP反射源端口,示例:`[17,19]`。'."\n" - ."\n" - .' 推荐您封禁以下常见的UDP反射攻击的源端口:'."\n" - ."\n" - .' - UDP 17:QOTD反射攻击'."\n" - .' - UDP 19:CharGEN反射攻击'."\n" - .' - UDP 69:TFTP反射攻击'."\n" - .' - UDP 111:Portmap反射攻击'."\n" - .' - UDP 123:NTP反射攻击'."\n" - .' - UDP 137:NetBIOS反射攻击'."\n" - .' - UDP 161:SNMPv2反射攻击'."\n" - .' - UDP 389:CLDAP反射攻击'."\n" - .' - UDP 1194:OpenVPN反射攻击'."\n" - .' - UDP 1900:SSDP反射攻击'."\n" - .' - UDP 3389:RDP反射攻击'."\n" - .' - UDP 11211:Memcached反射攻击', - 'type' => 'string', - 'required' => true, - 'example' => '{\\"UdpSports\\":[17,19]}', - ], + 'schema' => ['description' => '网站业务的域名。'."\n" + .'> 域名必须已配置网站业务转发规则。您可以调用[DescribeDomains](~~91724~~)查询所有域名。', 'type' => 'string', 'required' => false, 'example' => 'www.example.com'."\n"], ], [ - 'name' => 'RegionId', + 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => 'DDoS高防实例所属地域ID。取值:'."\n" - ."\n" - .'- **cn-hangzhou**(默认):表示中国内地,即DDoS高防(中国内地)实例。'."\n" - .'- **ap-southeast-1**:表示非中国内地,即DDoS高防(非中国内地)实例。', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => '查询开始时间。时间戳格式,单位:秒。'."\n" + .'> 必须为整点分钟。'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1609430400'], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => ['description' => '查询结束时间。时间戳格式,单位:秒。'."\n" + .'> 必须为整点分钟。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1708352700'], + ], + [ + 'name' => 'Limit', + 'in' => 'query', + 'schema' => ['description' => '返回数据条目。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '20'], + ], + [ + 'name' => 'QueryType', + 'in' => 'query', + 'schema' => ['type' => 'string'], ], ], 'responses' => [ @@ -8498,237 +7111,176 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => '9EC62E89-BD30-4FCD-9CB8-FA53865FF0D7', + 'RequestId' => ['description' => '本次调用请求的 ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'], + 'DomainTopUa' => [ + 'description' => 'UserAgent列表数据。', + 'type' => 'array', + 'items' => [ + 'description' => 'userAgent数据。', + 'type' => 'object', + 'properties' => [ + 'UserAgent' => ['description' => 'User-Agent经过base64加密的值。', 'type' => 'string', 'example' => 'TW96aWxsYS81LjAgKFgxMTsgTGludXggeDg2XzY0KSBBcHBsZVdlYktpdC81MzcuMzYgKEtIVE1MLCBsaWtlIEdlY2tvKSBDaHJvbWUvOTYuMC40NjY0LjExMCACYWZhcmkvNTM3LjM2'], + 'Pv' => ['description' => '请求匹配次数。', 'type' => 'integer', 'format' => 'int64', 'example' => '22121'], + 'Domain' => ['description' => '网站域名。', 'type' => 'string', 'example' => 'www.example.com'."\n"], + ], + ], ], ], + 'description' => '', ], ], ], - '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' => '配置 UDP 反射攻击防护策略', - 'summary' => '添加UDP反射攻击防护策略,过滤指定的反射源端口。', - 'description' => '本接口用于为DDoS高防实例添加UDP反射攻击防护策略,过滤指定的反射源端口。'."\n" - ."\n" - .'### QPS限制'."\n" - ."\n" - .'本接口的单用户QPS限制为10次/秒。超过限制,API调用将会被限流,这可能影响您的业务,请合理调用。', - 'requestParamsDescription' => '调用API时,除了本文中该API的请求参数,还需加入阿里云API公共请求参数。公共请求参数的详细介绍,请参见[公共参数](~~157269~~)。'."\n" - ."\n" - .'调用API的请求格式,请参见本文**示例**中的请求示例。', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'CreateWebCCRule' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '查询网站Top UserAgent', + 'summary' => '查询网站Top UserAgent。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeDomainTopUserAgent', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + '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"}]', + ], + 'DescribeDomainViewSourceCountries' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'deprecated' => true, + 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'create', - 'abilityTreeCode' => '106074', - 'abilityTreeNodes' => [ - 'FEATUREddosOZ1QOD', - ], + 'operationType' => 'get', + 'abilityTreeCode' => '106136', + 'abilityTreeNodes' => ['FEATUREddosRTUJBH'], ], 'parameters' => [ [ 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => 'DDoS高防实例在资源管理服务中所属的资源组ID。默认为空,即属于默认资源组。'."\n" - ."\n" - .'关于资源组的更多信息,请参见[创建资源组](~~94485~~)。', - 'type' => 'string', - 'required' => false, - 'example' => 'rg-acfm2pz25js****', - ], - ], - [ - 'name' => 'Domain', - 'in' => 'query', - 'schema' => [ - 'description' => '网站业务的域名。'."\n" - ."\n" - .'> 域名必须已配置网站业务转发规则。您可以调用[DescribeDomains](~~91724~~)查询所有域名。', - 'type' => 'string', - 'required' => true, - 'example' => 'www.aliyun.com', - ], - ], - [ - 'name' => 'Name', - 'in' => 'query', - 'schema' => [ - 'description' => '规则名称。支持使用英文字母、数字或下划线(_),且长度不能超过128个字符。', - 'type' => 'string', - 'required' => true, - 'example' => 'testrule', - ], - ], - [ - 'name' => 'Act', - 'in' => 'query', - 'schema' => [ - 'description' => '对命中防护规则的请求执行的动作。取值:'."\n" - ."\n" - .'- **close**:表示封禁该请求。'."\n" - .'- **captcha**:表示发起人机识别验证。', - 'type' => 'string', - 'required' => true, - 'example' => 'close', - ], - ], - [ - 'name' => 'Count', - 'in' => 'query', - 'schema' => [ - 'description' => '单一IP访问次数。取值范围:**2**~**2000**。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '60', - ], - ], - [ - 'name' => 'Interval', - 'in' => 'query', - 'schema' => [ - 'description' => '检测时长。取值范围:**5**~**10800**,单位:秒。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '20', - ], + 'schema' => ['description' => 'DDoS高防实例在资源管理产品中所属的资源组ID。默认为空,即属于默认资源组。'."\n", 'type' => 'string', 'required' => false, 'example' => 'default'], ], [ - 'name' => 'Mode', + 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => '匹配模式。取值:'."\n" - .'- **prefix**:表示前缀匹配。'."\n" - .'- **match**:表示完全匹配。'."\n" - ."\n" - .'> 检测路径**URI**中包含参数时,请选择前缀匹配(**prefix**)。', - 'type' => 'string', - 'required' => true, - 'example' => 'prefix', - ], + 'schema' => ['description' => '查询开始时间。时间戳格式,单位:秒。'."\n" + .'> 必须为整点分钟。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1582992000'], ], [ - 'name' => 'Ttl', + 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => '封禁时长。取值范围:**60**~**86400**,单位:秒。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '60', - ], + 'schema' => ['description' => '查询结束时间。时间戳格式,单位:秒。'."\n" + .'> 必须为整点分钟。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1583683200'], ], [ - 'name' => 'Uri', + 'name' => 'Domain', 'in' => 'query', - 'schema' => [ - 'description' => '检测路径。'."\n" - .'> URI不支持修改。网站业务的域名,检测路径,规则名称唯一确定一条规则。', - 'type' => 'string', - 'required' => true, - 'example' => '/abc/a.php', - ], + 'schema' => ['description' => '网站业务的域名。'."\n" + .'> 域名必须已配置网站业务转发规则。您可以调用[DescribeDomains](~~91724~~)查询所有域名。'."\n", 'type' => 'string', 'required' => false, 'example' => 'www.aliyun.com'], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => '返回数据的主体。', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc', + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E'], + 'SourceCountrys' => [ + 'description' => '网站业务的请求来源国家信息。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Count' => ['description' => '请求数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '3390671'], + 'CountryId' => ['description' => '国家简称。详见[中国和海外地区代码](~~167926~~)中的**海外地区代码**说明。例如,**cn**表示中国,**us**表示美国。', 'type' => 'string', 'example' => 'cn'], + ], + ], ], ], ], ], ], - 'staticInfo' => [ - 'substitutions' => [ - 'ddoscoo::2020-01-01::ConfigWebCCRuleV2', - ], + 'title' => '查询网站业务的请求来源国家分布', + 'summary' => '查询指定时间段内网站业务的请求来源国家分布。', + 'requestParamsDescription' => '调用API时,除了本文中该API的请求参数,还需加入阿里云API公共请求参数。公共请求参数的详细介绍,请参见[公共参数](~~157269~~)。'."\n" + ."\n" + .'调用API的请求格式,请参见本文**示例**中的请求示例。', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:23.000Z', 'description' => '错误码发生变更'], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}","type":"json"}]', - 'title' => '创建网站CC防护自定义规则', - 'summary' => '创建网站业务频率控制防护(CC防护)的自定义规则。', - ], - 'DeleteWebCCRule' => [ - 'methods' => [ - 'post', - 'get', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDomainViewSourceCountries'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeDomainViewSourceCountries', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + '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":""}]', + ], + 'DescribeDomainViewSourceProvinces' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'deprecated' => true, + 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'delete', - 'abilityTreeCode' => '106089', - 'abilityTreeNodes' => [ - 'FEATUREddosOZ1QOD', - ], + 'operationType' => 'get', + 'abilityTreeCode' => '106137', + 'abilityTreeNodes' => ['FEATUREddosRTUJBH'], ], 'parameters' => [ [ 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => 'DDoS高防实例在资源管理产品中所属的资源组ID。默认为空,即属于默认资源组。', - 'type' => 'string', - 'required' => false, - 'example' => 'default', - ], + 'schema' => ['description' => 'DDoS高防实例在资源管理产品中所属的资源组ID。默认为空,即属于默认资源组。', 'type' => 'string', 'required' => false, 'example' => 'default'], ], [ - 'name' => 'Domain', + 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => '网站业务的域名。'."\n" - .'> 域名必须已配置网站业务转发规则。您可以调用[DescribeDomains](~~91724~~)查询所有域名。', - 'type' => 'string', - 'required' => true, - 'example' => 'www.aliyun.com', - ], + 'schema' => ['description' => '查询开始时间。时间戳格式,单位:秒。'."\n" + .'> 必须为整点分钟。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1582992000'], ], [ - 'name' => 'Name', + 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => '要删除的自定义频率控制(CC防护)规则的名称。', - 'type' => 'string', - 'required' => true, - 'example' => 'wq', - ], + 'schema' => ['description' => '查询结束时间。时间戳格式,单位:秒。'."\n" + .'> 必须为整点分钟。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1583683200'], + ], + [ + 'name' => 'Domain', + 'in' => 'query', + 'schema' => ['description' => '网站业务的域名。'."\n" + .'> 域名必须已配置网站业务转发规则。您可以调用[DescribeDomains](~~91724~~)查询所有域名。', 'type' => 'string', 'required' => false, 'example' => 'www.aliyun.com'], ], ], 'responses' => [ @@ -8736,37 +7288,55 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc', + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E'], + 'SourceProvinces' => [ + 'description' => '网站业务的请求来源(中国)省份信息。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'ProvinceId' => ['description' => '省份ID。详见[中国和海外地区代码](~~167926~~)中的**中国地区代码**说明。例如,**110000**表示北京市,**120000**表示天津市。'."\n", 'type' => 'string', 'example' => '440000'], + 'Count' => ['description' => '请求数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '3390671'], + ], + ], ], ], ], ], ], - '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' => '删除网站CC防护自定义规则', - 'summary' => '删除网站业务频率控制防护(CC防护)的自定义规则。', - 'requestParamsDescription' => ' ', + 'title' => '查询网站业务的请求来源省份分布', + 'summary' => '查询指定时间段内网站业务的请求来源(中国)省份分布。', + 'requestParamsDescription' => '调用API时,除了本文中该API的请求参数,还需加入阿里云API公共请求参数。公共请求参数的详细介绍,请参见[公共参数](~~157269~~)。'."\n" + ."\n" + .'调用API的请求格式,请参见本文**示例**中的请求示例。', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DeleteWebPreciseAccessRule' => [ - 'summary' => '删除网站业务精确访问控制规则。', - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:23.000Z', 'description' => '错误码发生变更'], + ], + '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' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + '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":""}]', + ], + 'DescribeDomainViewTopCostTime' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -8775,53 +7345,38 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'delete', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '106090', - 'abilityTreeNodes' => [ - 'FEATUREddosI8LHMA', - ], + 'operationType' => 'get', + 'abilityTreeCode' => '106138', + 'abilityTreeNodes' => ['FEATUREddosRTUJBH'], ], 'parameters' => [ [ 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => 'DDoS高防实例在资源管理产品中所属的资源组ID。默认为空,即属于默认资源组。', - 'type' => 'string', - 'required' => false, - 'example' => 'default', - ], + 'schema' => ['description' => 'DDoS高防实例在资源管理产品中所属的资源组ID。默认为空,即属于默认资源组。', 'type' => 'string', 'required' => false, 'example' => 'default'], ], [ - 'name' => 'Domain', + 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => '网站业务的域名。'."\n" - .'> 域名必须已配置网站业务转发规则。您可以调用[DescribeDomains](~~91724~~)查询所有域名。', - 'type' => 'string', - 'required' => true, - 'example' => 'www.aliyun.com', - ], + 'schema' => ['description' => '查询开始时间。时间戳格式,单位:秒。'."\n" + .'> 必须为整点分钟。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1582992000'], ], [ - 'name' => 'RuleNames', + 'name' => 'EndTime', 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => '要删除的精确访问控制规则的名称。', - 'type' => 'array', - 'items' => [ - 'description' => '访问控制规则的名称。', - 'type' => 'string', - 'required' => false, - 'example' => 'testrule', - ], - 'required' => true, - 'example' => 'testrule', - 'maxItems' => 10, - ], + 'schema' => ['description' => '查询结束时间。时间戳格式,单位:秒。'."\n" + .'> 必须为整点分钟。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1583683200'], + ], + [ + 'name' => 'Domain', + 'in' => 'query', + 'schema' => ['description' => '网站业务的域名。'."\n" + .'> 域名必须已配置网站业务转发规则。您可以调用[DescribeDomains](~~91724~~)查询所有域名。', 'type' => 'string', 'required' => false, 'example' => 'www.aliyun.com'], + ], + [ + 'name' => 'Top', + 'in' => 'query', + 'schema' => ['description' => '返回URL的数量。取值范围:**1**~**100**。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'maximum' => '100', 'minimum' => '1', 'example' => '5'], ], ], 'responses' => [ @@ -8829,30 +7384,56 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc', + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E'], + 'UrlList' => [ + 'description' => '请求耗时TOP URL列表。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'CostTime' => ['description' => '请求延时时长。单位:毫秒。', 'type' => 'number', 'format' => 'float', 'example' => '3000'], + 'Url' => ['description' => 'URL。使用BASE64加密表示。', 'type' => 'string', 'example' => 'Lw=='], + 'Domain' => ['description' => '网站域名。', 'type' => 'string', 'example' => 'www.aliyun.com'], + ], + ], ], ], ], ], ], - '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' => '删除网站业务精确访问控制规则', - 'requestParamsDescription' => ' ', + 'title' => '查询网站业务的请求耗时最大的前N个URL', + 'summary' => '查询指定时间段内网站业务的请求耗时最大的前N个URL。', + 'requestParamsDescription' => '调用API时,除了本文中该API的请求参数,还需加入阿里云API公共请求参数。公共请求参数的详细介绍,请参见[公共参数](~~157269~~)。'."\n" + ."\n" + .'调用API的请求格式,请参见本文**示例**中的请求示例。', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'ModifyWebAIProtectSwitch' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:23.000Z', 'description' => '错误码发生变更'], + ], + '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' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + '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":""}]', + ], + 'DescribeDomainViewTopUrl' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -8861,78 +7442,94 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', - 'abilityTreeCode' => '106261', - 'abilityTreeNodes' => [ - 'FEATUREddosI8LHMA', - ], + 'operationType' => 'get', + 'abilityTreeCode' => '106139', + 'abilityTreeNodes' => ['FEATUREddosRTUJBH'], ], 'parameters' => [ [ 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => 'DDoS高防实例在资源管理产品中所属的资源组ID。默认为空,即属于默认资源组。', - 'type' => 'string', - 'required' => false, - 'example' => 'default', - ], + 'schema' => ['description' => 'DDoS 高防实例在资源管理产品中所属的资源组 ID。默认为空,即属于默认资源组。', 'type' => 'string', 'required' => false, 'example' => 'default'], + ], + [ + 'name' => 'StartTime', + 'in' => 'query', + 'schema' => ['description' => '查询开始时间。使用时间戳格式,单位:秒。'."\n" + .'> 必须为整点分钟。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1582992000'], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => ['description' => '查询结束时间。使用时间戳格式,单位:秒。'."\n" + .'> 必须为整点分钟。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1583683200'], ], [ 'name' => 'Domain', 'in' => 'query', - 'schema' => [ - 'description' => '网站业务的域名。'."\n" - .'> 域名必须已配置网站业务转发规则。您可以调用[DescribeDomains](~~91724~~)查询所有域名。', - 'type' => 'string', - 'required' => true, - 'example' => 'www.aliyun.com', - ], + 'schema' => ['description' => '网站业务的域名。'."\n" + ."\n" + .'> 域名必须已配置网站业务转发规则。您可以调用[DescribeDomains](~~91724~~)查询所有已接入DDoS高防的域名。', 'type' => 'string', 'required' => false, 'example' => 'www.aliyun.com'], ], [ - 'name' => 'Config', + 'name' => 'Top', 'in' => 'query', - 'schema' => [ - 'description' => 'AI智能防护配置的详细信息,使用JSON格式的字符串表述,具体结构如下。'."\n" - .'- **AiRuleEnable**:Integer类型,必选,AI智能防护功能的开关状态。取值:'."\n" - .' - **0**:关闭'."\n" - .' - **1**:开启', - 'type' => 'string', - 'required' => true, - 'example' => '{"AiRuleEnable": 1}', - ], + 'schema' => ['description' => '返回URL的数量。取值范围:**1**~**100**。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'maximum' => '100', 'minimum' => '1', 'example' => '5'], + ], + [ + 'name' => 'Inerval', + 'in' => 'query', + 'schema' => ['description' => '设置返回数据的步长,单位为秒,即每隔多少秒返回一个结果。查询时间范围(由**StartTime**和**EndTime**决定)不同,支持的步长取值范围不同,设置建议如下:'."\n" + ."\n" + .'- 查询时间范围不大于1小时,建议最小步长为60秒,最大不超过查询时间范围。'."\n" + .'- 查询时间范围大于1小时但不超过6小时,建议最小步长为600秒,最大不超过查询时间范围。'."\n" + .'- 查询时间范围大于6小时但不超过24小时,建议最小步长为1800秒,最大不超过查询时间范围。'."\n" + .'- 查询时间范围大于24小时但不超过7天,建议最小步长为3600秒,最大不超过查询时间范围。'."\n" + .'- 查询时间范围大于7天但不超过15天,建议最小步长为14400秒,最大不超过查询时间范围。'."\n" + .'- 查询时间范围大于15天,建议最小步长为43200秒,最大不超过查询时间范围。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '60', 'default' => '3600'], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'description' => '请求返回结构体。', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc', + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E'], + 'UrlList' => [ + 'description' => '网站业务的访问量 TOP URL 列表。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Url' => ['description' => 'URL。使用BASE64加密表示。', 'type' => 'string', 'example' => 'Lw=='], + 'Domain' => ['description' => '网站域名。', 'type' => 'string', 'example' => 'www.aliyun.com'], + 'Count' => ['description' => '请求数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '3390671'], + ], + 'description' => '', + ], ], ], ], ], ], - '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' => '设置网站业务AI智能防护的开关状态', - 'summary' => '设置网站业务AI智能防护的开关状态。', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'ModifyWebAIProtectMode' => [ - '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' => '查询网站业务访问量最大的前N个URL', + 'summary' => '查询指定时间段内网站业务访问量最大的前N个URL。', + 'changeSet' => [ + ['createdAt' => '2025-03-17T02:34:03.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2022-09-08T03:34:23.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDomainViewTopUrl'], + ], ], + 'ramActions' => [], + ], + 'DescribeDomains' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -8941,49 +7538,32 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', - 'abilityTreeCode' => '106260', - 'abilityTreeNodes' => [ - 'FEATUREddosRTUJBH', - ], + 'operationType' => 'get', + 'abilityTreeCode' => '106131', + 'abilityTreeNodes' => ['FEATUREddos64TBV6'], + 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => 'DDoS高防实例在资源管理产品中所属的资源组ID。默认为空,即属于默认资源组。', - 'type' => 'string', - 'required' => false, - 'example' => 'default', - ], - ], - [ - 'name' => 'Domain', - 'in' => 'query', - 'schema' => [ - 'description' => '网站业务的域名。'."\n" - .'> 域名必须已配置网站业务转发规则。您可以调用[DescribeDomains](~~474212~~)查询所有域名。', - 'type' => 'string', - 'required' => true, - 'example' => 'www.aliyun.com', - ], + 'schema' => ['description' => 'DDoS高防实例在资源管理服务中所属的资源组ID。默认为空,即属于默认资源组。'."\n" + ."\n" + .'关于资源组的更多信息,请参见[创建资源组](~~94485~~)。', 'type' => 'string', 'required' => false, 'example' => 'rg-acfm2pz25js****'], ], [ - 'name' => 'Config', + 'name' => 'InstanceIds', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => 'AI智能防护配置的详细信息,使用JSON格式的字符串表述,具体结构如下。'."\n" - .'- **AiTemplate**:String类型,必选,AI智能防护功能的防护等级。取值:'."\n" - .' - **level30**:宽松'."\n" - .' - **level60**:正常'."\n" - .' - **level90**:严格'."\n" - .'- **AiMode**:String类型,必选,AI智能防护功能的防护模式。取值:'."\n" - .' - **watch**:预警模式'."\n" - .' - **defense**:防护模式', - 'type' => 'string', - 'required' => true, - 'example' => '{"AiTemplate":"level60","AiMode":"defense"}', + 'description' => '要查询的DDoS高防实例的ID。'."\n" + ."\n" + .'> 您可以调用[DescribeInstanceIds](~~157459~~)查询所有DDoS高防实例的ID信息。'."\n", + 'type' => 'array', + 'items' => ['description' => 'DDoS高防实例的ID。', 'type' => 'string', 'required' => false, 'example' => 'ddoscoo-cn-mp91j1ao****'], + 'required' => false, + 'example' => 'ddoscoo-cn-mp91j1ao****', + 'maxItems' => 100, ], ], ], @@ -8992,31 +7572,46 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc', + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'F908E959-ADA8-4D7B-8A05-FF2F67F50964'], + 'Domains' => [ + 'description' => '已配置网站业务转发规则的域名列表。', + 'type' => 'array', + 'items' => ['description' => '已配置网站业务转发规则的域名。', 'type' => 'string', 'example' => 'www.aliyun***.com'], ], ], ], ], ], - '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' => '设置网站业务AI智能防护的模式', - 'summary' => '设置网站业务AI智能防护的模式。', - 'requestParamsDescription' => ' ', + 'title' => '查询已配置网站业务转发规则的域名', + 'summary' => '查询已配置网站业务转发规则的域名。', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'ModifyWebIpSetSwitch' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:24.000Z', 'description' => '错误码发生变更'], + ], + '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' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + '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":""}]', + ], + 'DescribeElasticBandwidthSpec' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -9025,48 +7620,16 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', - 'abilityTreeCode' => '106268', - 'abilityTreeNodes' => [ - 'FEATUREddosI8LHMA', - ], + 'operationType' => 'get', + 'abilityTreeCode' => '106142', + 'abilityTreeNodes' => ['FEATUREddosIJFWZ1'], ], 'parameters' => [ [ - 'name' => 'ResourceGroupId', - 'in' => 'query', - 'schema' => [ - 'description' => 'DDoS高防实例在资源管理产品中所属的资源组ID。默认为空,即属于默认资源组。', - 'type' => 'string', - 'required' => false, - 'example' => 'default', - ], - ], - [ - 'name' => 'Domain', - 'in' => 'query', - 'schema' => [ - 'description' => '网站业务的域名。'."\n" - .'> 域名必须已配置网站业务转发规则。您可以调用[DescribeDomains](~~91724~~)查询所有域名。', - 'type' => 'string', - 'required' => true, - 'example' => 'www.aliyun.com', - ], - ], - [ - 'name' => 'Config', + 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => '黑白名单(针对域名)的详细信息,使用JSON格式的字符串表述,具体结构如下。'."\n" - ."\n" - .' **bwlist_enable**:Integer类型,必选,黑白名单(针对域名)功能的开关状态。取值:'."\n" - ."\n" - .'- 0:关闭'."\n" - .'- 1:开启', - 'type' => 'string', - 'required' => true, - 'example' => '{"bwlist_enable":1}', - ], + 'schema' => ['description' => 'DDoS高防实例的ID。'."\n" + .'> 您可以调用[DescribeInstanceIds](~~157459~~)查询所有DDoS高防实例的ID信息。', 'type' => 'string', 'required' => true, 'example' => 'ddoscoo-cn-mp91j1ao****'], ], ], 'responses' => [ @@ -9074,31 +7637,49 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。', - 'type' => 'string', - 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc', + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc'], + 'ElasticBandwidthSpec' => [ + 'description' => '可选的弹性防护带宽规格列表。单位:Gbps。', + 'type' => 'array', + 'items' => ['description' => '弹性防护带宽规格。', 'type' => 'string', 'example' => '5'], ], ], ], ], ], - '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' => '设置网站业务黑白名单开关状态', - 'summary' => '设置网站业务黑白名单(针对域名)的开关状态。', + 'title' => '查询指定实例的弹性带宽规格', + 'summary' => '查询DDoS高防(中国内地)实例的可选弹性防护带宽规格。', + 'description' => '> 该接口仅适用于DDoS高防(中国内地)服务。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'EnableWebCC' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:23.000Z', 'description' => '错误码发生变更'], + ], + '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' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + '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":""}]', + ], + 'DescribeElasticQps' => [ + 'summary' => '查询DDoS高防实例弹性QPS账单曲线图。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -9107,33 +7688,41 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', - 'abilityTreeCode' => '106222', - 'abilityTreeNodes' => [ - 'FEATUREddosOZ1QOD', - ], + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '172965', + 'abilityTreeNodes' => ['FEATUREddosIJFWZ1'], ], 'parameters' => [ [ - 'name' => 'ResourceGroupId', + 'name' => 'Region', 'in' => 'query', - 'schema' => [ - 'description' => 'DDoS高防实例在资源管理产品中所属的资源组ID。默认为空,即属于默认资源组。', - 'type' => 'string', - 'required' => false, - 'example' => 'default', - ], + 'schema' => ['description' => '服务地域。取值:'."\n" + .'- **cn**:中国内地。'."\n" + .'- **cn-hongkong**:非中国内地。', 'type' => 'string', 'required' => true, 'example' => 'cn'], ], [ - 'name' => 'Domain', + 'name' => 'Ip', 'in' => 'query', - 'schema' => [ - 'description' => '网站业务的域名。'."\n" - .'> 域名必须已配置网站业务转发规则。您可以调用[DescribeDomains](~~91724~~)查询所有域名。', - 'type' => 'string', - 'required' => true, - 'example' => 'www.aliyun.com', - ], + 'schema' => ['description' => '要查询的DDoS高防实例的IP地址。', 'type' => 'string', 'required' => false, 'example' => '203.107.XX.XX'."\n"], + ], + [ + 'name' => 'StartTime', + 'in' => 'query', + 'schema' => ['description' => '查询开始时间。时间戳格式,单位:秒。'."\n" + .'> 必须为整点分钟。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1684252800'], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => ['description' => '查询结束时间。时间戳格式,单位:秒。'."\n" + .'> 必须为整点分钟。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1684339200'], + ], + [ + 'name' => 'Interval', + 'in' => 'query', + 'schema' => ['description' => '采样间隔,单位:秒。必须是60秒的倍数,默认60s。返回结果可缩放。', 'type' => 'string', 'required' => false, 'example' => '60', 'default' => '3600'], ], ], 'responses' => [ @@ -9141,66 +7730,88 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc', + 'RequestId' => ['description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。', 'type' => 'string', 'example' => '2E7F7F7B-39A8-5D92-BAB4-D89D9DCE7D4F'], + 'ElasticQps' => [ + 'description' => '弹性QPS列表。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'MaxNormalQps' => ['description' => '正常业务QPS峰值。', 'type' => 'integer', 'format' => 'int64', 'example' => '23'], + 'Index' => ['description' => '返回数据的索引。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], + 'MaxQps' => ['description' => '最大入QPS峰值。', 'type' => 'integer', 'format' => 'int64', 'example' => '100'], + 'Pv' => ['description' => '步长内总请求数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '15104'], + 'Ups' => ['description' => '步长时间内总的回源请求数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '1223'], + 'Status2' => ['description' => '步长内2xx总量。', 'type' => 'integer', 'format' => 'int64', 'example' => '455'], + 'Status3' => ['description' => '步长内3xx总量。', 'type' => 'integer', 'format' => 'int64', 'example' => '100'], + 'Status4' => ['description' => '步长内4xx总量。', 'type' => 'integer', 'format' => 'int64', 'example' => '34'], + 'Status5' => ['description' => '步长内5xx总量。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'], + 'Status410Pv' => ['description' => '410状态请求的总量', 'type' => 'integer', 'format' => 'int64', 'example' => '8'], + ], + 'description' => '', + ], ], ], + 'description' => '', ], ], ], - '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' => '开启网站业务频率控制防护(CC防护)的开关', - 'summary' => '开启网站业务频率控制防护(CC防护)的开关。', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'DisableWebCC' => [ - 'methods' => [ - 'post', - 'get', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '查询DDoS高防实例弹性QPS账单曲线图', + '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' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + '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"}]', + ], + 'DescribeElasticQpsRecord' => [ + 'summary' => '查询实例弹性QPS详情。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', - 'abilityTreeCode' => '106215', - 'abilityTreeNodes' => [ - 'FEATUREddosOZ1QOD', - ], + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '173053', + 'abilityTreeNodes' => ['FEATUREddosIJFWZ1'], ], 'parameters' => [ [ - 'name' => 'ResourceGroupId', + 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => 'DDoS高防实例在资源管理产品中所属的资源组ID。默认为空,即属于默认资源组。', - 'type' => 'string', - 'required' => false, - 'example' => 'default', - ], + 'schema' => ['description' => '开始时间。格式为时间戳,单位:毫秒。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1684252800000'], ], [ - 'name' => 'Domain', + 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => '网站业务的域名。'."\n" - .'> 域名必须已配置网站业务转发规则。您可以调用[DescribeDomains](~~91724~~)查询所有域名。', - 'type' => 'string', - 'required' => true, - 'example' => 'www.aliyun.com', - ], + 'schema' => ['description' => '结束时间。格式为时间戳,单位:毫秒。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1688140799999'], + ], + [ + 'name' => 'Ip', + 'in' => 'query', + 'schema' => ['description' => '要查询的DDoS高防实例的IP地址。', 'type' => 'string', 'required' => true, 'example' => '203.107.XX.XX'."\n"], ], ], 'responses' => [ @@ -9208,31 +7819,62 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc', + 'RequestId' => ['description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。', 'type' => 'string', 'example' => 'F68B34E2-570C-508D-95FD-DFB6611D518F'], + 'ElasticQpsList' => [ + 'description' => '实例QPS信息。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'OpsElasticQps' => ['description' => '弹性QPS值,0表示未开启。', 'type' => 'integer', 'format' => 'int64', 'example' => '300000'], + 'Ip' => ['description' => 'DDoS高防实例的IP。', 'type' => 'string', 'example' => '203.***.***.199'], + 'OriginQps' => ['description' => '业务QPS(购买)。', 'type' => 'integer', 'format' => 'int64', 'example' => '1345'], + 'Date' => ['description' => '时间。单位:毫秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1688140799999'."\n"], + 'InstanceId' => ['description' => 'DDoS高防实例的ID。', 'type' => 'string', 'example' => 'ddoscoo-cn-7e225i41****'."\n"], + 'Qps' => ['description' => '日95峰值。', 'type' => 'integer', 'format' => 'int64', 'example' => '4367'], + 'QpsPeak' => ['description' => '日峰值流量。', 'type' => 'integer', 'format' => 'int64', 'example' => '122'], + 'Status' => ['description' => '实例售卖状态,取值:'."\n" + ."\n" + .'- **1**:正常'."\n" + .'- **2**:过期'."\n" + .'- **4**:释放', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], + 'OpsQps' => ['description' => '业务QPS(实际运行)。', 'type' => 'integer', 'format' => 'int64', 'example' => '1345'], + ], + 'description' => '', + ], ], ], + 'description' => '', ], ], ], - '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' => '关闭网站业务CC防护开关', - 'summary' => '关闭网站业务频率控制防护(CC防护)的开关。', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'EnableWebCCRule' => [ - 'methods' => [ - 'post', - 'get', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '查询实例弹性QPS详情', + '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' => '全部资源', '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' => '查询域名的自定义Header。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -9241,33 +7883,24 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', - 'abilityTreeCode' => '106223', - 'abilityTreeNodes' => [ - 'FEATUREddosOZ1QOD', - ], + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '106146', + 'abilityTreeNodes' => ['FEATUREddosN7DYCX'], ], 'parameters' => [ [ 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => 'DDoS高防实例在资源管理产品中所属的资源组ID。默认为空,即属于默认资源组。', - 'type' => 'string', - 'required' => false, - 'example' => 'default', - ], + 'schema' => ['description' => 'DDoS高防实例在资源管理服务中所属的资源组ID。默认为空,即属于默认资源组。', 'type' => 'string', 'required' => false, 'example' => 'rg-aek3cmuvpia****'], ], [ 'name' => 'Domain', 'in' => 'query', - 'schema' => [ - 'description' => '网站业务的域名。'."\n" - .'> 域名必须已配置网站业务转发规则。您可以调用[DescribeDomains](~~91724~~)查询所有域名。', - 'type' => 'string', - 'required' => true, - 'example' => 'www.aliyun.com', - ], + 'schema' => ['description' => '要查询自定义Header的域名。'."\n" + ."\n" + .'> 您可以调用[DescribeDomains](~~91724~~)查询所有已接入DDoS高防防护的域名。', 'type' => 'string', 'required' => true, 'example' => 'example.aliyundoc.com'], ], ], 'responses' => [ @@ -9275,31 +7908,45 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc', + 'RequestId' => ['description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。', 'type' => 'string', 'example' => '48BC7BA5-69BE-5C31-A080-AFF2431AE48D'], + 'CustomHeader' => [ + 'description' => '自定义头信息。', + 'type' => 'object', + 'properties' => [ + 'Headers' => ['description' => '返回头信息。', 'type' => 'string', 'example' => '{"X-Forwarded-ClientSrcPort":"","header1":"hLeLele"}'], + 'Domain' => ['description' => '网站业务的域名。', 'type' => 'string', 'example' => 'example.aliyundoc.com'], + ], ], + 'EmbeddedHeaders' => ['title' => '请求头字段转发配置', 'description' => '请求头字段转发配置信息。', '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' => '', ], ], ], - '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' => '开启网站业务CC防护自定义规则开关', - 'summary' => '开启网站业务频率控制防护(CC防护)的自定义规则开关。', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'DisableWebCCRule' => [ - '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' => '查询自定义header', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeHeaders', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'DescribeHealthCheckList' => [ + 'summary' => '查询端口转发规则的健康检查配置(四层或七层)。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -9308,33 +7955,20 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', - 'abilityTreeCode' => '106216', - 'abilityTreeNodes' => [ - 'FEATUREddosOZ1QOD', - ], + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '106147', + 'abilityTreeNodes' => ['FEATUREddosN7DYCX'], ], 'parameters' => [ [ - 'name' => 'ResourceGroupId', - 'in' => 'query', - 'schema' => [ - 'description' => 'DDoS高防实例在资源管理产品中所属的资源组ID。默认为空,即属于默认资源组。', - 'type' => 'string', - 'required' => false, - 'example' => 'default', - ], - ], - [ - 'name' => 'Domain', + 'name' => 'NetworkRules', 'in' => 'query', - 'schema' => [ - 'description' => '网站业务的域名。'."\n" - .'> 域名必须已配置网站业务转发规则。您可以调用[DescribeDomains](~~91724~~)查询所有域名。', - 'type' => 'string', - 'required' => true, - 'example' => 'www.aliyun.com', - ], + 'schema' => ['description' => '要查询的端口转发规则,使用JSON格式的字符串表述,具体结构如下。'."\n" + .'- **InstanceId**:String类型,必选,DDoS高防实例ID。'."\n" + .'- **Protocol**:String类型,必选,转发协议类型。取值:**tcp**、**udp**。'."\n" + .'- **FrontendPort**:Integer类型,必选,转发端口。', 'type' => 'string', 'required' => true, 'example' => '[{"InstanceId":"ddoscoo-cn-mp91j1ao****","Protocol":"tcp","FrontendPort":8080}]'], ], ], 'responses' => [ @@ -9342,143 +7976,195 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc', + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => '83B4AF42-E8EE-4DC9-BD73-87B7733A36F9'], + 'HealthCheckList' => [ + 'description' => '健康检查配置列表。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'FrontendPort' => ['description' => '转发端口。', 'type' => 'integer', 'format' => 'int32', 'example' => '8080'], + 'InstanceId' => ['description' => 'DDoS高防实例ID。', 'type' => 'string', 'example' => 'ddoscoo-cn-mp91j1ao****'], + 'Protocol' => ['description' => '转发协议。取值:'."\n" + .'- **tcp**'."\n" + .'- **udp**', 'type' => 'string', 'example' => 'tcp'], + 'HealthCheck' => [ + 'description' => '健康检查配置信息。', + 'type' => 'object', + 'properties' => [ + 'Timeout' => ['description' => '响应超时时间。取值范围:**1**~**30**,单位:秒。', 'type' => 'integer', 'format' => 'int32', 'example' => '5'], + 'Type' => ['description' => '协议类型。取值:'."\n" + .'- **tcp**:四层'."\n" + .'- **http**:七层', 'type' => 'string', 'example' => 'tcp'], + 'Domain' => ['description' => '域名。'."\n" + ."\n" + .'> 仅适用于七层健康检查。', 'type' => 'string', 'example' => 'www.aliyun.com'], + 'Interval' => ['description' => '检查间隔。取值范围:**1**~**30**,单位:秒。', 'type' => 'integer', 'format' => 'int32', 'example' => '15'], + 'Up' => ['description' => '健康阈值。取值范围:**1**~**10**。', 'type' => 'integer', 'format' => 'int32', 'example' => '3'], + 'Down' => ['description' => '不健康阈值。取值范围:**1**~**10**。', 'type' => 'integer', 'format' => 'int32', 'example' => '3'], + 'Port' => ['description' => '检查端口。', 'type' => 'integer', 'format' => 'int32', 'example' => '8080'], + 'Uri' => ['description' => '检查路径。'."\n" + ."\n" + .'> 仅适用于七层健康检查。', 'type' => 'string', 'example' => '/abc'], + ], + ], + ], + 'description' => '', + ], ], ], + 'description' => '', ], ], ], - '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' => '关闭网站业务CC防护自定义规则开关', - 'summary' => '关闭网站业务频率控制防护(CC防护)的自定义规则开关。', + 'title' => '查询端口转发规则的健康检查配置', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'ModifyWebCCRule' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:23.000Z', 'description' => '错误码发生变更'], + ], + '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' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + '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":""}]', + ], + 'DescribeHealthCheckStatus' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'deprecated' => true, + 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', - 'abilityTreeCode' => '106267', - 'abilityTreeNodes' => [ - 'FEATUREddosOZ1QOD', - ], + 'operationType' => 'get', + 'abilityTreeCode' => '106148', + 'abilityTreeNodes' => ['FEATUREddosN7DYCX'], ], 'parameters' => [ [ - 'name' => 'ResourceGroupId', + 'name' => 'NetworkRules', 'in' => 'query', - 'schema' => [ - 'description' => 'DDoS高防实例在资源管理产品中所属的资源组ID。默认为空,即属于默认资源组。', - 'type' => 'string', - 'required' => false, - 'example' => 'default', - ], + 'schema' => ['description' => '要查询的端口转发规则,使用JSON格式的字符串表述,具体结构如下。'."\n" + .'- **InstanceId**:String类型,必选,DDoS高防实例ID。'."\n" + .'- **Protocol**:String类型,必选,转发协议类型。取值:**tcp**、**udp**。'."\n" + .'- **FrontendPort**:Integer类型,必选,转发端口。', 'type' => 'string', 'required' => true, 'example' => '[{"InstanceId":"ddoscoo-cn-mp91j1ao****","Protocol":"tcp","FrontendPort":8080}]'], ], - [ - 'name' => 'Domain', - 'in' => 'query', + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '网站业务的域名。'."\n" - .'> 域名必须已配置网站业务转发规则。您可以调用[DescribeDomains](~~91724~~)查询所有域名。', - 'type' => 'string', - 'required' => true, - 'example' => 'www.aliyun.com', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。', 'type' => 'string', 'example' => 'DE9FF9E1-569C-4B6C-AB6A-0F6D927BB27C'], + 'HealthCheckStatus' => [ + 'description' => '源站健康检查状态信息。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Status' => ['description' => '源站健康检查状态。取值:'."\n" + .'- **normal**:健康'."\n" + .'- **abnormal**:不健康', 'type' => 'string', 'example' => 'normal'], + 'FrontendPort' => ['description' => '转发端口。', 'type' => 'integer', 'format' => 'int32', 'example' => '8080'], + 'InstanceId' => ['description' => 'DDoS高防实例ID。', 'type' => 'string', 'example' => 'ddoscoo-cn-mp91j1ao****'], + 'Protocol' => ['description' => '转发协议。取值:'."\n" + .'- **tcp**'."\n" + .'- **udp**', 'type' => 'string', 'example' => 'tcp'], + 'RealServerStatusList' => [ + 'description' => '源站IP地址健康检查状态列表。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Status' => ['description' => '当前IP地址健康检查状态。取值:'."\n" + .'- **normal**:健康'."\n" + .'- **abnormal**:不健康', 'type' => 'string', 'example' => 'abnormal'], + 'Address' => ['description' => '源站IP地址。', 'type' => 'string', 'example' => '192.0.XX.XX'], + ], + ], + ], + ], + ], + ], + ], ], ], + ], + 'title' => '查询源站健康检查状态信息', + 'summary' => '查询源站健康检查状态信息。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:23.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeHealthCheckStatus'], + ], + ], + 'ramActions' => [ [ - 'name' => 'Name', - 'in' => 'query', - 'schema' => [ - 'description' => '规则名称。', - 'type' => 'string', - 'required' => true, - 'example' => 'testrule', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeHealthCheckStatus', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], + ], + '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":""}]', + ], + 'DescribeInstanceDetails' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'Act', - 'in' => 'query', - 'schema' => [ - 'description' => '阻断类型。取值:'."\n" - .'- **close**:封禁'."\n" - .'- **captcha**:人机识别', - 'type' => 'string', - 'required' => true, - 'example' => 'close', - ], + 'AK' => [], ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '106149', + 'abilityTreeNodes' => ['FEATUREddosMHU3MF'], + ], + 'parameters' => [ [ - 'name' => 'Count', + 'name' => 'InstanceIds', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => '单一IP访问次数。取值范围:**2**~**2000**。', - 'type' => 'integer', - 'format' => 'int32', + 'description' => '要查询的DDoS高防实例的ID列表。', + 'type' => 'array', + 'items' => ['description' => '要查询的DDoS高防实例的ID。'."\n" + ."\n" + .'> 您可以调用[DescribeInstanceIds](~~157459~~)查询所有DDoS高防实例的ID。', 'type' => 'string', 'required' => false, 'example' => 'ddoscoo-cn-zvp2eibz****'], 'required' => true, - 'example' => '3', - ], - ], - [ - 'name' => 'Interval', - 'in' => 'query', - 'schema' => [ - 'description' => '检测时长。取值范围:**5**~**10800**,单位:秒。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '30', - ], - ], - [ - 'name' => 'Mode', - 'in' => 'query', - 'schema' => [ - 'description' => '匹配模式。取值:'."\n" - .'- **prefix**:前缀匹配'."\n" - .'- **match**:完全匹配', - 'type' => 'string', - 'required' => true, - 'example' => 'prefix', - ], - ], - [ - 'name' => 'Ttl', - 'in' => 'query', - 'schema' => [ - 'description' => '封禁时长。取值范围:**60**~**86400**,单位:秒。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '60', - ], - ], - [ - 'name' => 'Uri', - 'in' => 'query', - 'schema' => [ - 'description' => '检测路径。'."\n" - .'> URI不支持修改。网站业务的域名,检测路径,规则名称唯一确定一条规则。', - 'type' => 'string', - 'required' => true, - 'example' => '/abc', + 'maxItems' => 100, ], ], ], @@ -9487,36 +8173,90 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc', + 'RequestId' => ['description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。', 'type' => 'string', 'example' => '3C814429-21A5-4673-827E-FDD19DC75681'], + 'InstanceDetails' => [ + 'description' => 'DDoS高防实例的IP和线路信息。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Line' => ['description' => 'DDoS高防实例的防护线路。', 'type' => 'string', 'example' => 'coop-line-001'], + 'InstanceId' => ['description' => 'DDoS高防实例ID。', 'type' => 'string', 'example' => 'ddoscoo-cn-zvp2eibz****'], + 'EipInfos' => [ + 'description' => 'DDoS高防实例的IP信息。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Status' => ['description' => 'DDoS高防IP的状态。取值:'."\n" + ."\n" + .'- **normal**:表示正常。'."\n" + .'- **expired**:表示已过期。'."\n" + .'- **defense**:表示清洗中。'."\n" + .'- **blackhole**:表示黑洞中。'."\n" + .'- **punished**:表示处罚中。', 'type' => 'string', 'example' => 'normal'], + 'IpMode' => ['description' => 'IP转发模式。取值:'."\n" + ."\n" + .'- **fnat**:表示源站和客户端的IP版本一致,即IPv4地址客户端请求转发到IPv4地址源站、IPv6地址客户端请求转发到IPv6地址源站。'."\n" + .'- **v6tov4**:表示IPv6地址客户端请求转发到IPv4地址源站。'."\n", 'type' => 'string', 'example' => 'fnat'], + 'Eip' => ['description' => 'DDoS高防IP地址。', 'type' => 'string', 'example' => '203.117.XX.XX'], + 'IpVersion' => ['description' => 'IP协议版本。取值:'."\n" + ."\n" + .'- **Ipv4**:表示IPv4协议。'."\n" + .'- **Ipv6**:表示IPv6协议。'."\n", 'type' => 'string', 'example' => 'Ipv4'], + 'CertConfigured' => ['description' => '是否配置了自定义证书。', 'type' => 'boolean', 'example' => 'true'], + 'TlsVersion' => ['description' => '自定义配置的TLS版本。', 'type' => 'string', 'example' => 'tls1.2'], + 'Ssl13Enabled' => ['description' => '是否支持TLS1.3版本。', 'type' => 'boolean', 'example' => 'false'], + 'FunctionVersion' => ['description' => '实例类型。', 'type' => 'string', 'example' => 'default'], + ], + ], + ], + ], + ], ], ], ], ], ], - 'staticInfo' => [ - 'substitutions' => [ - 'ddoscoo::2020-01-01::ConfigWebCCRuleV2', - ], + 'title' => '查询DDoS高防实例的IP和线路信息', + 'summary' => '查询DDoS高防实例的IP和线路信息。', + 'description' => '本接口用于查询DDoS高防实例的IP和线路信息,例如,实例的IP地址、状态、防护线路等。'."\n" + ."\n" + .'### QPS限制'."\n" + ."\n" + .'本接口的单用户QPS限制为10次/秒。超过限制,API调用将会被限流,这可能影响您的业务,请合理调用。', + 'requestParamsDescription' => '调用API时,除了本文中该API的请求参数,还需加入阿里云API公共请求参数。公共请求参数的详细介绍,请参见[公共参数](~~157269~~)。'."\n" + ."\n" + .'调用API的请求格式,请参见本文**示例**中的请求示例。', + 'changeSet' => [ + ['createdAt' => '2025-09-04T06:34:49.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2024-06-06T11:19:26.000Z', 'description' => '响应参数发生变更'], + ['createdAt' => '2022-09-08T03:34:23.000Z', 'description' => '错误码发生变更'], ], - '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' => '编辑网站业务CC防护自定义规则', - 'summary' => '编辑网站业务频率控制防护(CC防护)的自定义规则。', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'ModifyWebPreciseAccessSwitch' => [ - 'methods' => [ - 'post', - 'get', + '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' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + '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":""}]', + ], + 'DescribeInstanceExt' => [ + 'summary' => '查询DDoS高防实例的扩展信息。', + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -9525,78 +8265,90 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', - 'abilityTreeCode' => '106270', - 'abilityTreeNodes' => [ - 'FEATUREddosOZ1QOD', - ], + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREddosMHU3MF'], ], 'parameters' => [ [ - 'name' => 'ResourceGroupId', + 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'DDoS高防实例在资源管理产品中所属的资源组ID。默认为空,即属于默认资源组。', - 'type' => 'string', - 'required' => false, - 'example' => 'default', - ], + 'schema' => ['description' => 'DDoS高防实例的ID。'."\n" + .'> 您可以调用[DescribeInstanceIds](~~157459~~)查询所有DDoS高防实例的ID信息。', 'type' => 'string', 'required' => false, 'example' => 'ddoscoo-cn-i7m25564****'], ], [ - 'name' => 'Domain', + 'name' => 'PageNumber', 'in' => 'query', - 'schema' => [ - 'description' => '网站业务的域名。'."\n" - .'> 域名必须已配置网站业务转发规则。您可以调用[DescribeDomains](~~91724~~)查询所有域名。', - 'type' => 'string', - 'required' => true, - 'example' => 'www.aliyun.com', - ], + 'schema' => ['description' => '分页查询请求时返回的页码。例如,查询第一页的返回结果,则填写**1**。', 'type' => 'string', 'required' => false, 'example' => '1', 'default' => '1'], ], [ - 'name' => 'Config', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => '精确访问控制的开关状态配置,使用JSON格式的字符串表述,具体结构如下。'."\n" - .'- **PreciseRuleEnable**:Integer类型,必选,精确访问控制的开关状态。取值:'."\n" - .' - **0**:关闭'."\n" - .' - **1**:开启', - 'type' => 'string', - 'required' => true, - 'example' => '{"PreciseRuleEnable":0}', - ], + 'schema' => ['description' => '分页查询时,设置每页包含实例的数量。', 'type' => 'string', 'required' => false, 'example' => '10', 'default' => '10'], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc', + 'RequestId' => ['title' => 'Id of the request', 'description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'], + 'InstanceExtSpecs' => [ + 'description' => 'DDoS高防实例的扩展信息。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'InstanceId' => ['description' => '实例ID。', 'type' => 'string', 'example' => 'ddoscoo-cn-i7m25564****'."\n"], + 'NormalBandwidth' => ['description' => '业务带宽。单位:Mbps。', 'type' => 'integer', 'format' => 'int64', 'example' => '100'], + 'FunctionVersion' => ['description' => '功能版本,取值:'."\n" + ."\n" + .'- **0**:标准版'."\n" + .'- **1**:增强版', 'type' => 'integer', 'format' => 'int64', 'example' => '0'], + 'ServicePartner' => ['description' => '中国内地实例的线路资源。', 'type' => 'string', 'example' => 'coop-line-001'], + 'ProductPlan' => ['description' => '要查询的DDoS高防实例的类型。取值:'."\n" + ."\n" + .'- **0**:表示DDoS高防(非中国内地)保险版。'."\n" + .'- **1**:表示DDoS高防(非中国内地)无忧版。'."\n" + .'- **2**:表示DDoS高防(非中国内地)加速线路。'."\n" + .'- **3**:表示DDoS高防(非中国内地)安全加速线路。'."\n" + .'- **9**:表示DDoS高防(中国内地)专业版。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'], + ], + 'description' => '', + ], ], + 'TotalCount' => ['description' => '实例总个数。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'], ], ], ], ], - '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' => '设置网站业务精确访问控制的开关状态', - 'summary' => '设置网站业务精确访问控制的开关状态。', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'ModifyWebPreciseAccessRule' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '查询DDoS高防实例的扩展信息', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeInstanceExt', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', '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' => [], @@ -9605,70 +8357,43 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', - 'abilityTreeCode' => '106269', - 'abilityTreeNodes' => [ - 'FEATUREddosCRC1QI', - ], + 'operationType' => 'get', + 'abilityTreeCode' => '106150', + 'abilityTreeNodes' => ['FEATUREddosMHU3MF'], + 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => 'DDoS高防实例在资源管理产品中所属的资源组ID。默认为空,即属于默认资源组。', - 'type' => 'string', - 'required' => false, - 'example' => 'rg-acfm2pz25js****', - ], + 'schema' => ['description' => 'DDoS高防实例在资源管理服务中所属的资源组ID。'."\n" + ."\n" + .'不设置该参数表示默认资源组。', 'type' => 'string', 'required' => false, 'example' => 'rg-acfm2pz25js****'], ], [ - 'name' => 'Domain', + 'name' => 'Edition', 'in' => 'query', - 'schema' => [ - 'description' => '网站业务的域名。'."\n" - .'> 域名必须已配置网站业务转发规则。您可以调用[DescribeDomains](~~91724~~)查询所有域名。', - 'type' => 'string', - 'required' => true, - 'example' => 'example.aliyundoc.com', - ], + 'schema' => ['description' => '要查询的DDoS高防实例的类型。取值:'."\n" + ."\n" + .'- **0**:表示DDoS高防(非中国内地)保险版。'."\n" + .'- **1**:表示DDoS高防(非中国内地)无忧版。'."\n" + .'- **2**:表示DDoS高防(非中国内地)加速线路。'."\n" + .'- **3**:表示DDoS高防(非中国内地)安全加速线路。'."\n" + .'- **9**:表示DDoS高防(中国内地)专业版。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '9'], ], [ - 'name' => 'Rules', + 'name' => 'InstanceIds', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => '精确访问控制规则的配置,使用JSON格式的字符串表述,具体结构如下。'."\n" - .'- **action**:String类型,必选,匹配动作。取值:'."\n" - .' - **accept**:放行'."\n" - .' - **block**:封禁'."\n" - .' - **challenge**:挑战'."\n" - .' - **watch**:观察'."\n" - .'- **name**:String类型,必选,规则名称。'."\n" - .'- **condition**:Map类型,必选,匹配条件。具体结构如下。'."\n" - ."\n" - .' > 如果设置了多个匹配条件,则多个条件间是且的关系。'."\n" - ."\n" - .' - **field**:String类型,必选,匹配字段。'."\n" - .' - **match_method**:String类型,必选,匹配方法。'."\n" - .' '."\n" - .' > 关于**field**和**match_method**的取值,请参见请求参数表下的补充描述。'."\n" + 'description' => '要查询的DDoS高防实例的ID列表。N的最大值:200。', + 'type' => 'array', + 'items' => ['description' => '要查询的DDoS高防实例的ID。'."\n" ."\n" - .' - **content**:String类型,必选,匹配内容。'."\n" - .'- **header_name**:String类型,可选,头部字段名称。仅在**field**为**header**时生效。', - 'type' => 'string', - 'required' => true, - 'example' => '[{"action":"block","name":"testrule","condition":[{"field":"uri","match_method":"contain","content":"/test/123"}]}]', - ], - ], - [ - 'name' => 'Expires', - 'in' => 'query', - 'schema' => [ - 'description' => '规则有效期。单位:秒。规则的匹配动作为阻断时(**action**为**block**)生效,在规则有效期内阻断访问请求。不传入该参数表示永久生效。', - 'type' => 'integer', - 'format' => 'int32', + .'不设置该参数表示查询所有DDoS高防实例。', 'type' => 'string', 'required' => false, 'example' => 'ddoscoo-cn-zvp2eibz****'], 'required' => false, - 'example' => '600', + 'example' => 'ddoscoo-cn-mp91j1ao****', + 'maxItems' => 100, ], ], ], @@ -9677,47 +8402,75 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。', - 'type' => 'string', - 'example' => 'F908E959-ADA8-4D7B-8A05-FF2F67F50964', + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => '310A41FD-0990-5610-92E0-A6A55D7C6444'], + 'InstanceIds' => [ + 'description' => 'DDoS高防实例的ID、版本、备注、IP类型信息。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'IpMode' => ['description' => '实例的IP转发模式。取值:'."\n" + ."\n" + .'- **fnat**:表示源站和客户端的IP版本一致,即IPv4地址客户端请求转发到IPv4地址源站、IPv6地址客户端请求转发到IPv6地址源站。'."\n" + .'- **v6tov4**:表示IPv6和IPv4地址客户端请求都转发到IPv4地址源站。', 'type' => 'string', 'example' => 'fnat'], + 'Edition' => ['description' => '实例的类型。取值:'."\n" + ."\n" + .'- **0**:表示DDoS高防(非中国内地)保险版。'."\n" + .'- **1**:表示DDoS高防(非中国内地)无忧版。'."\n" + .'- **2**:表示DDoS高防(非中国内地)加速线路。'."\n" + .'- **3**:表示DDoS高防(非中国内地)安全加速线路。'."\n" + .'- **9**:表示DDoS高防(中国内地)专业版。', 'type' => 'integer', 'format' => 'int32', 'example' => '9'], + 'InstanceId' => ['description' => '实例ID。', 'type' => 'string', 'example' => 'ddoscoo-cn-zvp2eibz****'], + 'IpVersion' => ['description' => '实例的IP协议版本。取值:'."\n" + ."\n" + .'- **Ipv4**:表示 IPv4版本。'."\n" + .'- **Ipv6**:表示 IPv6版本。', 'type' => 'string', 'example' => 'Ipv4'], + 'Remark' => ['description' => '实例的备注。', 'type' => 'string', 'example' => 'test'], + ], + ], ], ], ], ], ], - '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' => '创建或编辑网站业务精确访问控制规则', - 'summary' => '创建或编辑网站业务精确访问控制规则。', - 'requestParamsDescription' => '**field和match_method的取值及对应关系**'."\n" + 'title' => '查询DDoS高防实例的ID信息', + 'summary' => '查询DDoS高防实例的ID、版本、备注、IP类型信息。', + 'description' => '本接口用于查询所有DDoS高防实例的ID、版本、备注、IP类型信息。'."\n" ."\n" - .'| 匹配字段(field) | 描述 | 适用的逻辑符(match_method) |'."\n" - .'|-----------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------|'."\n" - .'| **ip** | 访问请求的来源IP。 | **belong** :属于
**nbelong** :不属于 |'."\n" - .'| **uri** | 访问请求的URI地址。 | **contain** :包含
**ncontain** :不包含
**equal** :等于
**nequal** :不等于
**lless** :长度小于
**lequal** :长度等于
**lgreat** :长度大于
**regular** :正则匹配 |'."\n" - .'| **referer** | 访问请求的来源网址,即该访问请求是从哪个页面跳转产生的。 | **contain** :包含
**ncontain** :不包含
**equal** :等于
**nequal** :不等于
**lless** :长度小于
**lequal** :长度等于
**lgreat** :长度大于
**nexist** :不存在
**regular** :正则匹配 |'."\n" - .'| **user-agent** | 发起访问请求的客户端的浏览器标识、渲染引擎标识和版本信息等浏览器相关信息。 | **contain** :包含
**ncontain** :不包含
**equal** :等于
**nequal** :不等于
**lless** :长度小于
**lequal** :长度等于
**lgreat** :长度大于
**regular** :正则匹配 |'."\n" - .'| **params** | 访问请求的URL地址中的参数部分,通常指URL中”?”后面的部分。例如,`demo.aliyundoc.com/index.html?action=login`中的`action=login`就是参数部分。 | **contain** :包含
**ncontain** :不包含
**equal** :等于
**nequal** :不等于
**lless** :长度小于
**lequal** :长度等于
**lgreat** :长度大于 |'."\n" - .'| **cookie** | 访问请求中的Cookie信息。 | **contain** :包含
**ncontain** :不包含
**equal** :等于
**nequal** :不等于
**lless** :长度小于
**lequal** :长度等于
**lgreat** :长度大于
**nexist** :不存在 |'."\n" - .'| **content-type** | 访问请求指定的响应HTTP内容类型,即MIME类型信息。 | **contain** :包含
**ncontain** :不包含
**equal** :等于
**nequal** :不等于
**lless** :长度小于
**lequal** :长度等于
**lgreat** :长度大于 |'."\n" - .'| **x-forwarded-for** | 访问请求的客户端真实IP。X-Forwarded-For(XFF)用来识别通过HTTP代理或负载均衡方式转发的访问请求的客户端最原始的IP地址的HTTP请求头字段,只有通过HTTP代理或者负载均衡服务器转发的访问请求才会包含该项。 | **contain** :包含
**ncontain** :不包含
**equal** :等于
**nequal** :不等于
**lless** :长度小于
**lequal** :长度等于
**lgreat** :长度大于
**nexist** :不存在
**regular** :正则匹配 |'."\n" - .'| **content-length** | 访问请求的所包含的字节数。 | **vless** :值小于
**vequal** :值等于
**vgreat** :值大于 |'."\n" - .'| **post-body** | 访问请求的内容信息。 | **contain** :包含
**ncontain** :不包含
**equal** :等于
**nequal** :不等于
**regular** :正则匹配 |'."\n" - .'| **http-method** | 访问请求的方法,如GET、POST等。 | **equal** :等于
**nequal** :不等于 |'."\n" - .'| **header** | 访问请求的头部信息,用于自定义HTTP头部字段。 | **contain** :包含
**ncontain** :不包含
**equal** :等于
**nequal** :不等于
**lless** :长度小于
**lequal** :长度等于
**lgreat** :长度大于
**nexist** :不存在 |'."\n" - ."\n", + .'### QPS限制'."\n" + ."\n" + .'本接口的单用户QPS限制为10次/秒。超过限制,API调用将会被限流,这可能影响您的业务,请合理调用。', + 'requestParamsDescription' => '调用API时,除了本文中该API的请求参数,还需加入阿里云API公共请求参数。公共请求参数的详细介绍,请参见[公共参数](~~157269~~)。'."\n" + ."\n" + .'调用API的请求格式,请参见本文**示例**中的请求示例。', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'ModifyWebAreaBlockSwitch' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:23.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeInstanceIds'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeInstanceIds', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + '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":""}]', + ], + 'DescribeInstanceSpecs' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -9726,48 +8479,23 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', - 'abilityTreeCode' => '106263', - 'abilityTreeNodes' => [ - 'FEATUREddosOZ1QOD', - ], + 'operationType' => 'get', + 'abilityTreeCode' => '106152', + 'abilityTreeNodes' => ['FEATUREddosMHU3MF'], ], 'parameters' => [ [ - 'name' => 'ResourceGroupId', - 'in' => 'query', - 'schema' => [ - 'description' => 'DDoS高防实例在资源管理服务中所属的资源组ID。'."\n" - ."\n" - .'不设置该参数表示默认资源组。', - 'type' => 'string', - 'required' => false, - 'example' => 'rg-acfm2pz25js****', - ], - ], - [ - 'name' => 'Domain', + 'name' => 'InstanceIds', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => '要设置区域封禁功能的域名。'."\n" + 'description' => '要查询的DDoS高防实例的ID列表。', + 'type' => 'array', + 'items' => ['description' => '要查询的DDoS高防实例的ID。'."\n" ."\n" - .'> 您可以调用[DescribeDomains](~~91724~~)查询所有已接入DDoS高防防护的域名。', - 'type' => 'string', - 'required' => true, - 'example' => 'www.aliyundoc.com', - ], - ], - [ - 'name' => 'Config', - 'in' => 'query', - 'schema' => [ - 'description' => '区域封禁(针对域名)的开关状态。使用JSON结构体转化的字符串表示,JSON结构体包含以下参数:'."\n" - .'- **RegionblockEnable**:Integer类型,必选,区域封禁(针对域名)的开关状态。取值:'."\n" - .' - **1**:表示开启。'."\n" - .' - **0**:表示关闭。', - 'type' => 'string', + .'> 您可以调用[DescribeInstanceIds](~~157459~~)查询所有DDoS高防实例的ID。', 'type' => 'string', 'required' => false, 'example' => 'ddoscoo-cn-zvp2eibz****'], 'required' => true, - 'example' => '{"RegionblockEnable": 1}', + 'maxItems' => 100, ], ], ], @@ -9776,19 +8504,54 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => '6623EA1F-30FB-5BC8-BEC9-74D55F6F08F1', - ], - ], - ], - ], - ], - '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' => '设置网站业务区域封禁开关状态', - 'summary' => '设置网站业务区域封禁(针对域名)的开关状态。', - 'description' => '本接口用于设置网站业务区域封禁(针对域名)的开关状态。'."\n" + 'RequestId' => ['description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。', 'type' => 'string', 'example' => '4E3A9B5F-5DDB-593D-A1E6-F1F451DB5E0B'], + 'InstanceSpecs' => [ + 'description' => 'DDoS高防实例的规格配置列表。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'BaseBandwidth' => ['description' => '基础防护带宽。单位:Gbps。', 'type' => 'integer', 'format' => 'int32', 'example' => '30'], + 'QpsLimit' => ['description' => '正常业务QPS。', 'type' => 'integer', 'format' => 'int32', 'example' => '3000'], + 'BandwidthMbps' => ['description' => '正常业务带宽。单位:Mbps。', 'type' => 'integer', 'format' => 'int32', 'example' => '100'], + 'ElasticBw' => ['description' => '弹性业务带宽。单位:Mbps。', 'type' => 'integer', 'format' => 'int32', 'example' => '300'], + 'DefenseCount' => ['description' => '本月可用高级防护的次数。**-1**表示无限次。'."\n" + ."\n\n" + .'> 只有当请求参数**RegionId**为**ap-southeast-1**(表示查询DDoS高防非中国内地实例)时,才会返回该参数。', 'type' => 'integer', 'format' => 'int32', 'example' => '2'], + 'SiteLimit' => ['description' => '实例可防护站点的数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '5'], + 'PortLimit' => ['description' => '实例可防护端口的数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '50'], + 'ElasticBandwidth' => ['description' => '弹性防护带宽。单位:Gbps。', 'type' => 'integer', 'format' => 'int32', 'example' => '30'], + 'FunctionVersion' => ['description' => '实例的功能套餐类型。取值:'."\n" + ."\n" + .'- **default**:表示标准功能套餐。'."\n" + .'- **enhance**:表示增强功能套餐。'."\n" + .'- **cnhk**:表示加速线路。'."\n" + .'- **cnhk_default**:表示安全加速线路标准功能。'."\n" + .'- **cnhk_enhance**:表示安全加速线路增强功能。'."\n", 'type' => 'string', 'example' => 'default'], + 'InstanceId' => ['description' => '实例ID。', 'type' => 'string', 'example' => 'ddoscoo-cn-zvp2eibz****'], + 'DomainLimit' => ['description' => '实例可防护域名的数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '50'], + 'ElasticBwModel' => ['description' => '实例的弹性业务带宽的计费模式。取值:'."\n" + ."\n" + .'- **day**:表示日95计费模式。'."\n" + .'- **month**:表示月95计费模式。', 'type' => 'string', 'example' => 'day'], + 'CpsLimit' => ['description' => '实例的新建连接数规格。', 'type' => 'integer', 'format' => 'int64', 'example' => '5000'], + 'ConnLimit' => ['description' => '实例的并发连接数规格。', 'type' => 'integer', 'format' => 'int64', 'example' => '100000'], + 'RealLimitBw' => ['description' => '实例业务带宽限速值。取值:0~15360,0表示不限速。单位:mbps。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'], + 'ElasticQpsMode' => ['description' => '实例的弹性QPS的计费模式。取值:'."\n" + ."\n" + .'- **day**:表示日95计费模式。'."\n" + .'- **month**:表示月95计费模式。', 'type' => 'string', 'example' => 'day'], + 'ElasticQps' => ['description' => '弹性QPS。单位:Qps。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'], + ], + ], + ], + ], + ], + ], + ], + 'title' => '查询DDoS高防实例的规格信息', + 'summary' => '查询DDoS高防实例的规格配置。', + 'description' => '本接口用于批量查询DDoS高防实例的规格配置,例如,实例的业务带宽、防护带宽、功能套餐版本、支持防护的域名和端口数量等。'."\n" ."\n" .'### QPS限制'."\n" ."\n" @@ -9796,18 +8559,35 @@ 'requestParamsDescription' => '调用API时,除了本文中该API的请求参数,还需加入阿里云API公共请求参数。公共请求参数的详细介绍,请参见[公共参数](~~157269~~)。'."\n" ."\n" .'调用API的请求格式,请参见本文**示例**中的请求示例。', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'ModifyWebAreaBlock' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'changeSet' => [ + ['createdAt' => '2023-05-17T08:15:41.000Z', 'description' => '响应参数发生变更'], + ['createdAt' => '2023-04-04T05:59:00.000Z', 'description' => '响应参数发生变更'], + ['createdAt' => '2022-11-24T09:31:01.000Z', 'description' => '响应参数发生变更'], + ['createdAt' => '2022-07-13T07:30:29.000Z', 'description' => '响应参数发生变更、错误码发生变更'], + ], + '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' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + '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"}]', + ], + 'DescribeInstanceStatistics' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -9816,57 +8596,24 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', - 'abilityTreeCode' => '106262', - 'abilityTreeNodes' => [ - 'FEATUREddosOZ1QOD', - ], + 'operationType' => 'get', + 'abilityTreeCode' => '106153', + 'abilityTreeNodes' => ['FEATUREddosMHU3MF'], ], 'parameters' => [ [ - 'name' => 'ResourceGroupId', - 'in' => 'query', - 'schema' => [ - 'description' => 'DDoS高防实例在资源管理服务中所属的资源组ID。默认为空,即属于默认资源组。'."\n" - ."\n" - .'关于资源组的更多信息,请参见[创建资源组](~~94485~~)。'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'rg-acfm2pz25js****', - ], - ], - [ - 'name' => 'Domain', - 'in' => 'query', - 'schema' => [ - 'description' => '要操作的域名。'."\n" - ."\n" - .'> 域名必须已配置网站业务转发规则。您可以调用[DescribeDomains](~~91724~~)查询所有域名。', - 'type' => 'string', - 'required' => true, - 'example' => 'www.aliyun.com', - ], - ], - [ - 'name' => 'Regions', + 'name' => 'InstanceIds', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ - 'description' => '要封禁的地域列表。'."\n" - ."\n" - .'> 不设置该参数表示关闭区域封禁(针对域名)功能。'."\n", + 'description' => '要查询的DDoS高防实例的ID。'."\n" + .'> 您可以调用[DescribeInstanceIds](~~157459~~)查询所有DDoS高防实例的ID信息。', 'type' => 'array', - 'items' => [ - 'description' => '要封禁的地域列表。支持封禁中国地域(省市区维度)和国际地域(国家维度),例如,**CN-310000**表示上海市、**OVERSEAS-US**表示美国。不设置该参数表示关闭区域封禁(针对域名)功能。'."\n" - ."\n" - .'> 关于该参数的取值说明,请参见[地域类型参数取值说明](~~167926~~)。', - 'type' => 'string', - 'required' => false, - 'example' => 'CN-310000', - ], - 'required' => false, - 'example' => 'CN-SHANGHAI', - 'maxItems' => 1000, + 'items' => ['description' => '要查询的DDoS高防实例的ID。N的最大值:200,即最多可配置200个DDoS高防实例,实例ID之间用半角逗号(,)隔开。'."\n" + .'> 您可以调用[DescribeInstanceIds](~~157459~~)查询所有DDoS高防实例的ID信息。', 'type' => 'string', 'required' => false, 'example' => 'ddoscoo-cn-mp91j1ao****'], + 'required' => true, + 'example' => 'ddoscoo-cn-mp91j1ao****', + 'maxItems' => 100, ], ], ], @@ -9875,28 +8622,58 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => '5AA2BD65-E289-4E91-9DD9-3E1FB2140D17', + 'RequestId' => ['description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。', 'type' => 'string', 'example' => '642319A9-D1F2-4459-A447-E57CFC599FDE'], + 'InstanceStatistics' => [ + 'description' => 'DDoS高防实例的统计信息。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'DomainUsage' => ['description' => '已防护的域名数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'DefenseCountUsage' => ['description' => '本月已用高级防护次数。'."\n" + ."\n" + .'> 只有DDoS高防(非中国内地)实例拥有该属性。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'InstanceId' => ['description' => 'DDoS高防实例ID。', 'type' => 'string', 'example' => 'ddoscoo-cn-mp91j1ao****'], + 'SiteUsage' => ['description' => '已防护的站点数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'PortUsage' => ['description' => '已防护的端口数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '2'], + ], + ], ], ], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"5AA2BD65-E289-4E91-9DD9-3E1FB2140D17\\"\\n}","type":"json"}]', - 'title' => '设置网站业务区域封禁地区', - 'summary' => '设置网站业务区域封禁(针对域名)的封禁地区。', - ], - 'DescribeWebCcProtectSwitch' => [ - 'methods' => [ - 'post', - 'get', + 'title' => '查询指定实例的统计信息', + 'summary' => '查询DDoS高防实例的统计信息,例如已防护的域名、端口数量等。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:23.000Z', 'description' => '错误码发生变更'], ], - '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' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + '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":""}]', + ], + 'DescribeInstanceStatus' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -9906,40 +8683,24 @@ 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', - 'abilityTreeCode' => '106204', - 'abilityTreeNodes' => [ - 'FEATUREddosCRC1QI', - ], + 'abilityTreeCode' => '106154', + 'abilityTreeNodes' => ['FEATUREddosMHU3MF'], ], 'parameters' => [ [ - 'name' => 'ResourceGroupId', + 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'DDoS高防实例在资源管理产品中所属的资源组ID。默认为空,即属于默认资源组。'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'default', - ], + 'schema' => ['description' => '要查询的DDoS高防实例的ID。'."\n" + ."\n" + .'> 您可以调用[DescribeInstanceIds](~~157459~~)查询所有DDoS高防(中国内地)或DDoS高防(非中国内地)实例的ID。', 'type' => 'string', 'required' => true, 'example' => 'ddoscoo-cn-6ja1y6p5****'], ], [ - 'name' => 'Domains', + 'name' => 'ProductType', 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => '网站业务的域名。最多可查询5个网站业务域名。'."\n" - .'> 域名必须已配置网站业务转发规则。您可以调用[DescribeDomains](~~91724~~)查询所有域名。', - 'type' => 'array', - 'items' => [ - 'description' => '网站业务的域名。', - 'type' => 'string', - 'required' => false, - 'example' => 'www.aliyun**.com', - ], - 'required' => true, - 'example' => 'www.aliyun.com', - 'maxItems' => 5, - ], + 'schema' => ['description' => '要查询的DDoS高防实例的类型。取值:'."\n" + ."\n" + .'- **1**:表示DDoS高防(中国内地)实例。'."\n" + .'- **2**:表示DDoS高防(非中国内地)实例。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1'], ], ], 'responses' => [ @@ -9947,175 +8708,172 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => '3ADD9EED-CA4B-488C-BC82-01B0B899363D', - ], - 'ProtectSwitchList' => [ - 'description' => '网站业务各防护功能的开关状态。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'BlackWhiteListEnable' => [ - 'description' => '黑白名单(针对域名)的开关状态。取值:'."\n" - .'- **0**:关闭'."\n" - .'- **1**:开启', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'AiTemplate' => [ - 'description' => 'AI智能防护的等级。取值:'."\n" - .'- **level30**:宽松'."\n" - .'- **level60**:正常'."\n" - .'- **level90**:严格', - 'type' => 'string', - 'example' => 'level60', - ], - 'PreciseRuleEnable' => [ - 'description' => '精确访问控制的开关状态。取值:'."\n" - .'- **0**:关闭'."\n" - .'- **1**:开启', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'Domain' => [ - 'description' => '网站域名。', - 'type' => 'string', - 'example' => 'www.aliyun.com', - ], - 'AiMode' => [ - 'description' => 'AI智能防护的模式。取值:'."\n" - .'- **watch**:预警模式'."\n" - .'- **defense**:防护模式', - 'type' => 'string', - 'example' => 'defense', - ], - 'AiRuleEnable' => [ - 'description' => 'AI智能防护的开关状态。取值:'."\n" - .'- **0**:关闭'."\n" - .'- **1**:开启', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'RegionBlockEnable' => [ - 'description' => '区域封禁(针对域名)的开关状态。取值:'."\n" - .'- **0**:关闭'."\n" - .'- **1**:开启', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'CcTemplate' => [ - 'description' => '频率控制防护(CC防护)的模式。取值:'."\n" - .'- **default**:正常'."\n" - .'- **gf_under_attack**:攻击紧急'."\n" - .'- **gf_sos_verify**:严格'."\n" - .'- **gf_sos_enhance**:超级严格', - 'type' => 'string', - 'example' => 'default', - ], - 'CcCustomRuleEnable' => [ - 'description' => '自定义频率控制防护(CC防护)的开关状态。取值:'."\n" - .'- **0**:关闭'."\n" - .'- **1**:开启', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'CcEnable' => [ - 'description' => '频率控制防护(CC防护)的开关状态。取值:'."\n" - .'- **0**:关闭'."\n" - .'- **1**:开启', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'CcGlobalSwitch' => [ - 'type' => 'string', - ], - ], - ], - ], + 'InstanceStatus' => ['description' => 'DDoS高防实例的状态。取值:'."\n" + ."\n" + .'- **1**:表示正常。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => '112777CC-2AD6-46FC-A263-00B931406FCD'], + 'InstanceId' => ['description' => 'DDoS高防实例的ID。', 'type' => 'string', 'example' => 'ddoscoo-cn-6ja1y6p5****'], ], ], ], ], - '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' => '查询网站业务各防护功能的开关状态', - 'summary' => '查询网站业务各防护功能的开关状态。', - 'requestParamsDescription' => ' ', + 'title' => '查询指定的正常状态的DDoS高防实例', + 'summary' => '查询指定的DDoS高防实例的状态。', + 'requestParamsDescription' => '调用API时,除了本文中该API的请求参数,还需加入阿里云API公共请求参数。公共请求参数的详细介绍,请参见[公共参数](~~157269~~)。'."\n" + ."\n" + .'调用API的请求格式,请参见本文**示例**中的请求示例。', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeWebCCRules' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:23.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '20', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeInstanceStatus'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeInstanceStatus', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + '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":""}]', + ], + 'DescribeInstances' => [ + 'summary' => '查询DDoS高防实例的详情列表。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'deprecated' => true, + 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', - 'abilityTreeCode' => '106205', - 'abilityTreeNodes' => [ - 'FEATUREddosOZ1QOD', - ], + 'abilityTreeCode' => '106151', + 'abilityTreeNodes' => ['FEATUREddosMHU3MF'], ], 'parameters' => [ [ 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => 'DDoS高防实例在资源管理产品中所属的资源组ID。默认为空,即属于默认资源组。', - 'type' => 'string', - 'required' => false, - 'example' => 'default', - ], + 'schema' => ['description' => 'DDoS高防实例在资源管理服务中所属的资源组ID。'."\n" + ."\n" + .'不设置该参数表示默认资源组。', 'type' => 'string', 'required' => false, 'example' => 'rg-acfm2pz25js****'], ], [ - 'name' => 'Domain', + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => ['description' => '分页查询时,设置当前页面的页码。', 'type' => 'string', 'required' => true, 'example' => '1'], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['description' => '分页查询时,设置每页包含实例的数量。取值范围:1~50。', 'type' => 'string', 'required' => true, 'example' => '10'], + ], + [ + 'name' => 'Ip', + 'in' => 'query', + 'schema' => ['description' => '要查询的DDoS高防实例的IP地址。', 'type' => 'string', 'required' => false, 'example' => '203.107.XX.XX'], + ], + [ + 'name' => 'Remark', + 'in' => 'query', + 'schema' => ['description' => '要查询的DDoS高防实例的备注。支持模糊查询。', 'type' => 'string', 'required' => false, 'example' => 'doc-test'], + ], + [ + 'name' => 'Edition', + 'in' => 'query', + 'schema' => ['description' => '要查询的DDoS高防实例的防护套餐版本。取值:'."\n" + ."\n" + .'- **0**:表示DDoS高防(非中国内地)保险版。'."\n" + .'- **1**:表示DDoS高防(非中国内地)无忧版。'."\n" + .'- **2**: 表示DDoS高防(非中国内地)加速线路。'."\n" + .'- **9**:表示DDoS高防(中国内地)专业版。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '9'], + ], + [ + 'name' => 'Enabled', + 'in' => 'query', + 'schema' => ['description' => '要查询的DDoS高防实例的业务流量转发状态。取值:'."\n" + ."\n" + .'- **0**:表示已停止转发业务流量。'."\n" + .'- **1**:表示正常转发业务流量。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], + ], + [ + 'name' => 'ExpireStartTime', + 'in' => 'query', + 'schema' => ['description' => '要查询的DDoS高防实例的最早到期时间(即查询到期时间在**ExpireStartTime**之后的DDoS高防实例)。使用时间戳表示,单位:毫秒。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1640361500000'], + ], + [ + 'name' => 'ExpireEndTime', + 'in' => 'query', + 'schema' => ['description' => '要查询的DDoS高防实例的最晚到期时间(即查询到期时间在**ExpireEndTime**之前的DDoS高防实例)。使用时间戳表示,单位:毫秒。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1640361700000'], + ], + [ + 'name' => 'InstanceIds', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => '网站业务的域名。'."\n" - .'> 域名必须已配置网站业务转发规则。您可以调用[DescribeDomains](~~91724~~)查询所有域名。', - 'type' => 'string', - 'required' => true, - 'example' => 'www.aliyun.com', + 'description' => '要查询的DDoS高防实例的ID列表。最多可配置200个DDoS高防实例。', + 'type' => 'array', + 'items' => ['description' => '要查询的DDoS高防实例的ID。', 'type' => 'string', 'required' => false, 'example' => 'ddoscoo-cn-7pp2g9ed****'], + 'required' => false, + 'maxItems' => 100, ], ], [ - 'name' => 'PageNumber', + 'name' => 'Status', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => '分页查询请求时返回的页码。例如,查询第一页的返回结果,则填写**1**。', - 'type' => 'integer', - 'format' => 'int32', + 'description' => '要查询的DDoS高防实例的状态列表。最多可配置2个DDoS高防实例状态。', + 'type' => 'array', + 'items' => ['description' => '要查询的DDoS高防实例的状态。取值:'."\n" + ."\n" + .'- **1**:表示正常。'."\n" + .'- **2**:表示已过期。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], 'required' => false, - 'example' => '1', + 'maxItems' => 10, ], ], [ - 'name' => 'PageSize', + 'name' => 'Tag', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => '页面显示的记录数量。', - 'type' => 'string', - 'required' => true, - 'example' => '10', + 'description' => '要查询的DDoS高防实例绑定的标签列表。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Key' => ['description' => '要查询的DDoS高防实例绑定的标签键。N的最大值:200,即最多可配置200个标签键。配置规则如下:'."\n" + ."\n" + .'- 每个标签包含一个标签键(**Key**)和一个标签值(**Value**),中间用半角逗号(,)隔开。'."\n" + .'- 标签之间用半角逗号(,)隔开。'."\n" + ."\n" + .'> 标签键(**Key**)和标签值(**Value**)必须成对出现。', 'type' => 'string', 'required' => false, 'example' => 'test-key'], + 'Value' => ['description' => '要查询的DDoS高防实例绑定的标签值。N的最大值:200,即最多可配置200个标签值。配置规则如下:'."\n" + ."\n" + .'- 每个标签包含一个标签键(**Key**)和一个标签值(**Value**),中间用半角逗号(,)隔开。'."\n" + .'- 标签之间用半角逗号(,)隔开。'."\n" + ."\n" + .'> 标签键(**Key**)和标签值(**Value**)必须成对出现。', 'type' => 'string', 'required' => false, 'example' => 'test-value'], + ], + 'required' => false, + 'description' => '', + ], + 'required' => false, + 'maxItems' => 20, ], ], ], @@ -10124,305 +8882,214 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'TotalCount' => [ - 'description' => '频率控制(CC防护)自定义规则的总数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => 'EAED912D-909E-45F0-AF74-AC0CCDCAE314', - ], - 'WebCCRules' => [ - 'description' => '频率控制(CC防护)自定义规则。', + 'TotalCount' => ['description' => '查询到的DDoS高防实例的总数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], + 'RequestId' => ['description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。', 'type' => 'string', 'example' => 'A0AF40CC-814A-5A86-AEAA-6F19E88B8A39'], + 'Instances' => [ + 'description' => 'DDoS高防实例的详情列表。', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'Ttl' => [ - 'description' => '封禁时长。取值范围:**1**~**1440**,单位:分钟。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '60', - ], - 'Act' => [ - 'description' => '阻断类型。取值:'."\n" - .'- **close**:封禁'."\n" - .'- **captcha**:人机识别', - 'type' => 'string', - 'example' => 'close', - ], - 'Interval' => [ - 'description' => '检测间隔。取值范围:**5**~**10800**,单位:秒。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '5', - ], - 'Mode' => [ - 'description' => '匹配模式。取值:'."\n" - .'- **prefix**:前缀匹配'."\n" - .'- **match**:完全匹配', - 'type' => 'string', - 'example' => 'prefix', - ], - 'Name' => [ - 'description' => '规则名称。', - 'type' => 'string', - 'example' => 'wq', - ], - 'Uri' => [ - 'description' => '检测路径。', - 'type' => 'string', - 'example' => '/hello', - ], - 'Count' => [ - 'description' => '单一IP访问次数。取值范围:**2**~**2000**。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '3', - ], + 'Status' => ['description' => '实例的状态。取值:'."\n" + ."\n" + .'- **1**:表示正常。'."\n" + .'- **2**:表示已过期。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'IpMode' => ['description' => '实例的IP转发模式。取值:'."\n" + ."\n" + .'- **fnat**:表示源站和客户端的IP版本一致,即IPv4地址客户端请求转发到IPv4地址源站、IPv6地址客户端请求转发到IPv6地址源站。'."\n" + .'- **v6tov4**:表示IPv6地址客户端请求转发到IPv4地址源站。', 'type' => 'string', 'example' => 'fnat'], + 'DebtStatus' => ['description' => '实例的欠费状态。取值固定为**0**,表示不欠费,因为DDoS高防服务目前只支持包年包月的预付费计费方式。', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'Edition' => ['description' => '实例的防护套餐版本。取值:'."\n" + ."\n" + .'- **0**:表示DDoS高防(非中国内地)保险版。'."\n" + .'- **1**:表示DDoS高防(非中国内地)无忧版。'."\n" + .'- **2**: 表示DDoS高防(非中国内地)加速线路。'."\n" + .'- **9**:表示DDoS高防(中国内地)专业版。', 'type' => 'integer', 'format' => 'int32', 'example' => '9'], + 'IpVersion' => ['description' => '实例的IP协议版本。取值:'."\n" + ."\n" + .'- **Ipv4**:表示IPv4协议。'."\n" + .'- **Ipv6**:表示IPv6协议。', 'type' => 'string', 'example' => 'Ipv4'], + 'ExpireTime' => ['description' => '实例的到期时间。使用时间戳表示,单位:毫秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1640361600000'], + 'Remark' => ['description' => '实例的备注。', 'type' => 'string', 'example' => 'doc-test'], + 'CreateTime' => ['description' => '实例的创建时间。使用时间戳表示,单位:毫秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1637751953000'], + 'Enabled' => ['description' => '实例的业务流量转发状态。取值:'."\n" + ."\n" + .'- **0**:表示已停止转发业务流量。'."\n" + .'- **1**:表示正常转发业务流量。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'InstanceId' => ['description' => '实例的ID。', 'type' => 'string', 'example' => 'ddoscoo-cn-7pp2g9ed****'], + 'IsFirstOpenBw' => ['description' => '实例是否开启过95弹性业务带宽计费模式。取值:'."\n" + ."\n" + .'- 0:表示未开启过。'."\n" + .'- 1:表示开启过。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'], + 'IsFirstOpenQps' => ['description' => '实例是否开启过95弹性QPS计费模式。取值:'."\n" + ."\n" + .'- 0:表示未开启过。'."\n" + .'- 1:表示开启过。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'], + 'Ip' => ['description' => 'DDoS高防实例的IP。', 'type' => 'string', 'example' => '203.199.XX.XX'], ], + 'description' => '', ], ], ], + 'description' => '', ], ], ], - 'staticInfo' => [ - 'substitutions' => [ - 'ddoscoo::2020-01-01::ConfigWebCCRuleV2', + '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' => '分页查询DDoS高防实例信息列表', + 'description' => '本接口用于分页查询当前阿里云账号拥有的DDoS高防实例的详情,例如,实例的ID、版本、到期时间、业务转发状态等。'."\n" + ."\n" + .'### QPS限制'."\n" + ."\n" + .'本接口的单用户QPS限制为10次/秒。超过限制,API调用将会被限流,这可能影响您的业务,请合理调用。', + 'requestParamsDescription' => '调用API时,除了本文中该API的请求参数,还需加入阿里云API公共请求参数。公共请求参数的详细介绍,请参见[公共参数](~~157269~~)。'."\n" + ."\n" + .'调用API的请求格式,请参见本文**示例**中的请求示例。', + 'changeSet' => [ + ['createdAt' => '2025-10-24T05:22:55.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2025-10-24T05:22:52.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2025-10-24T03:33:39.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2025-10-24T03:33:36.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2025-10-24T03:31:10.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2025-10-24T03:31:09.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2025-10-23T11:12:56.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2025-10-23T11:12:56.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2025-10-23T11:10:24.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2025-10-23T11:10:22.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2025-10-23T11:06:58.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2025-10-23T10:53:47.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2025-10-23T10:53:41.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2025-10-23T10:44:47.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2023-06-30T06:49:56.000Z', 'description' => '响应参数发生变更'], + ['createdAt' => '2023-05-17T08:15:41.000Z', 'description' => '响应参数发生变更'], + ['createdAt' => '2022-07-13T08:52:37.000Z', 'description' => '响应参数发生变更'], + ], + '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' => '全部资源', 'arn' => '*'], + ], + ], ], ], - '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' => '查询网站业务CC防护自定义规则', - 'summary' => '查询网站业务频率控制防护(CC防护)的自定义规则。', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', ], - 'DescribeWebPreciseAccessRule' => [ - 'summary' => '查询网站业务精确访问控制规则。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DescribeL7GlobalRule' => [ + 'summary' => '查询DDoS全局防护策略。', + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '106208', - 'abilityTreeNodes' => [ - 'FEATUREddosOZ1QOD', - ], + 'operationType' => 'none', + 'abilityTreeCode' => '254169', + 'abilityTreeNodes' => ['FEATUREddosOZ1QOD'], ], 'parameters' => [ [ - 'name' => 'ResourceGroupId', - 'in' => 'query', - 'schema' => [ - 'description' => 'DDoS高防实例在资源管理产品中所属的资源组ID。默认为空,即属于默认资源组。', - 'type' => 'string', - 'required' => false, - 'example' => 'default', - ], - ], - [ - 'name' => 'Domains', + 'name' => 'Domain', 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => '网站业务的域名。'."\n" - .'> 域名必须已配置网站业务转发规则。您可以调用[DescribeDomains](~~91724~~)查询所有域名。', - 'type' => 'array', - 'items' => [ - 'description' => '网站业务的域名。', - 'type' => 'string', - 'required' => false, - 'example' => 'www.test****.com', - ], - 'required' => true, - 'example' => 'www.aliyun.com', - 'maxItems' => 5, - ], + 'schema' => ['description' => '要操作的网站业务的域名。', 'type' => 'string', 'required' => true, 'example' => 'example.com'], ], [ - 'name' => 'Owner', + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '筛选规则来源。取值:'."\n" - .'- **manual**(默认):手动添加'."\n" - .'- **clover**:自动生成', - 'type' => 'string', - 'required' => false, - 'example' => 'manual', - 'enum' => [ - 'manual', - 'clover', - ], - ], + 'schema' => ['description' => '请求和接收消息的语言类型。取值范围:'."\n" + ."\n" + .'- zh:中文'."\n" + .'- en:英文', 'type' => 'string', 'required' => false, 'example' => 'zh'], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => '209EEFBF-B0C7-441E-8C28-D0945A57A638', - ], - 'PreciseAccessConfigList' => [ - 'description' => '网站业务精确访问控制规则。', + 'RequestId' => ['title' => 'Id of the request', 'description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'], + 'GlobalRules' => [ + 'description' => '全局模板规则信息。', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'Domain' => [ - 'description' => '网站域名。', + 'Action' => [ + 'description' => '规则生效动作。取值:'."\n" + ."\n\n" + .'- **watch**:观察。'."\n" + .'- **block**:拦截。'."\n" + .'- **challenge**:挑战。', 'type' => 'string', - 'example' => 'www.aliyun.com', + 'enumValueTitles' => [], + 'example' => 'watch', ], - 'RuleList' => [ - 'description' => '规则列表。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Action' => [ - 'description' => '匹配动作。取值:'."\n" - .'- **accept**:放行'."\n" - .'- **block**:封禁'."\n" - .'- **challenge**:挑战', - 'type' => 'string', - 'example' => 'accept', - ], - 'Owner' => [ - 'description' => '规则来源。取值:'."\n" - .'- **manual**:手动添加(默认)'."\n" - .'- **clover**:自动生成', - 'type' => 'string', - 'example' => 'manual', - ], - 'ExpirePeriod' => [ - 'description' => '规则有效期时间戳。单位:秒。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1598889600', - ], - 'Name' => [ - 'description' => '规则名称。', - 'type' => 'string', - 'example' => 'testrule', - ], - 'ConditionList' => [ - 'description' => '匹配条件列表。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'MatchMethod' => [ - 'description' => '逻辑符。', - 'type' => 'string', - 'example' => 'belong', - ], - 'Field' => [ - 'description' => '匹配字段。', - 'type' => 'string', - 'example' => 'ip', - ], - 'Content' => [ - 'description' => '匹配内容。', - 'type' => 'string', - 'example' => '1.1.1.1', - ], - 'HeaderName' => [ - 'description' => '自定义HTTP头部字段名称。'."\n" - ."\n" - .'> 仅在**Field**为**header**时有效。', - 'type' => 'string', - 'example' => 'null', - ], - 'ContentList' => [ - 'description' => '规则的匹配条件。具体结构如下。'."\n" - .' > 如果设置了多个匹配条件,则多个条件间是且的关系。'."\n" - ."\n" - .' - **field**:String类型,匹配字段。'."\n" - .' - **match_method**:String类型,匹配方法。'."\n" - .' '."\n" - .' > 关于**field**和**match_method**的取值,请参见请求参数表下的补充描述。'."\n" - ."\n" - .' - **content**:String类型,匹配内容。'."\n" - .'- **header_name**:String类型,头部字段名称。仅在**field**为**header**时生效。', - 'type' => 'array', - 'items' => [ - 'description' => '匹配的条件。', - 'type' => 'string', - 'example' => '{"field":"uri","match_method":"contain","content":"/test/123"}', - ], - ], - ], - ], - ], - 'Expires' => [ - 'description' => '规则有效期。单位:秒。规则的匹配动作为阻断时(**action**为**block**)生效,在规则有效期内阻断访问请求。**0**表示永久生效。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - ], - ], + 'ActionDefault' => [ + 'description' => '规则默认动作。取值:'."\n" + ."\n\n" + .'- **watch**:观察。'."\n" + .'- **block**:拦截。'."\n" + .'- **challenge**:挑战。', + 'type' => 'string', + 'enumValueTitles' => [], + 'example' => 'watch', ], + 'Enabled' => ['description' => '规则是否开启。取值:'."\n" + ."\n" + .'- **1**:开启。'."\n" + .'- **0**:关闭。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], + 'RuleId' => ['description' => '规则ID。', 'type' => 'string', 'example' => 'global_1'], + 'Description' => ['description' => '规则描述。', 'type' => 'string', 'example' => 'HTTP请求疑似模拟浏览器,校验浏览器Header等组合特征#4'], + 'RuleName' => ['description' => '规则名称。', 'type' => 'string', 'example' => '模拟浏览器请求'], ], + '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' => '查询网站业务精确访问控制规则', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => '**field和match_method的取值及对应关系**'."\n" - ."\n" - .'| 匹配字段(field) | 描述 | 适用的逻辑符(match_method) |'."\n" - .'|-----------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------|'."\n" - .'| **ip** | 访问请求的来源IP。 | **belong** :属于
**nbelong** :不属于 |'."\n" - .'| **uri** | 访问请求的URI地址。 | **contain** :包含
**ncontain** :不包含
**equal** :等于
**nequal** :不等于
**lless** :长度小于
**lequal** :长度等于
**lgreat** :长度大于
**regular** :正则匹配 |'."\n" - .'| **referer** | 访问请求的来源网址,即该访问请求是从哪个页面跳转产生的。 | **contain** :包含
**ncontain** :不包含
**equal** :等于
**nequal** :不等于
**lless** :长度小于
**lequal** :长度等于
**lgreat** :长度大于
**nexist** :不存在
**regular** :正则匹配 |'."\n" - .'| **user-agent** | 发起访问请求的客户端的浏览器标识、渲染引擎标识和版本信息等浏览器相关信息。 | **contain** :包含
**ncontain** :不包含
**equal** :等于
**nequal** :不等于
**lless** :长度小于
**lequal** :长度等于
**lgreat** :长度大于
**regular** :正则匹配 |'."\n" - .'| **params** | 访问请求的URL地址中的参数部分,通常指URL中”?”后面的部分。例如,`demo.aliyundoc.com/index.html?action=login`中的`action=login`就是参数部分。 | **contain** :包含
**ncontain** :不包含
**equal** :等于
**nequal** :不等于
**lless** :长度小于
**lequal** :长度等于
**lgreat** :长度大于 |'."\n" - .'| **cookie** | 访问请求中的Cookie信息。 | **contain** :包含
**ncontain** :不包含
**equal** :等于
**nequal** :不等于
**lless** :长度小于
**lequal** :长度等于
**lgreat** :长度大于
**nexist** :不存在 |'."\n" - .'| **content-type** | 访问请求指定的响应HTTP内容类型,即MIME类型信息。 | **contain** :包含
**ncontain** :不包含
**equal** :等于
**nequal** :不等于
**lless** :长度小于
**lequal** :长度等于
**lgreat** :长度大于 |'."\n" - .'| **x-forwarded-for** | 访问请求的客户端真实IP。X-Forwarded-For(XFF)用来识别通过HTTP代理或负载均衡方式转发的访问请求的客户端最原始的IP地址的HTTP请求头字段,只有通过HTTP代理或者负载均衡服务器转发的访问请求才会包含该项。 | **contain** :包含
**ncontain** :不包含
**equal** :等于
**nequal** :不等于
**lless** :长度小于
**lequal** :长度等于
**lgreat** :长度大于
**nexist** :不存在
**regular** :正则匹配 |'."\n" - .'| **content-length** | 访问请求的所包含的字节数。 | **vless** :值小于
**vequal** :值等于
**vgreat** :值大于 |'."\n" - .'| **post-body** | 访问请求的内容信息。 | **contain** :包含
**ncontain** :不包含
**equal** :等于
**nequal** :不等于
**regular** :正则匹配 |'."\n" - .'| **http-method** | 访问请求的方法,如GET、POST等。 | **equal** :等于
**nequal** :不等于 |'."\n" - .'| **header** | 访问请求的头部信息,用于自定义HTTP头部字段。 | **contain** :包含
**ncontain** :不包含
**equal** :等于
**nequal** :不等于
**lless** :长度小于
**lequal** :长度等于
**lgreat** :长度大于
**nexist** :不存在 |', - 'extraInfo' => ' ', - ], - 'DescribeWebAreaBlockConfigs' => [ - 'methods' => [ - 'post', - 'get', + 'staticInfo' => ['returnType' => 'synchronous'], + 'gatewayOptions' => [ + 'gatewayProtocols' => [], ], - 'schemes' => [ - 'http', - 'https', + 'title' => '查询DDoS全局防护策略', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeL7GlobalRule', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', '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' => '查询网站业务转发规则的回源策略。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -10432,39 +9099,37 @@ 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', - 'abilityTreeCode' => '106202', - 'abilityTreeNodes' => [ - 'FEATUREddosOZ1QOD', - ], + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '106157', + 'abilityTreeNodes' => ['FEATUREddos64TBV6'], ], 'parameters' => [ [ 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => 'DDoS高防实例在资源管理产品中所属的资源组ID。默认为空,即属于默认资源组。', - 'type' => 'string', - 'required' => false, - 'example' => 'default', - ], + 'schema' => ['description' => 'DDoS高防实例在资源管理服务中所属的资源组ID。默认为空,即属于默认资源组。'."\n" + ."\n" + .'关于资源组的更多信息,请参见[创建资源组](~~94485~~)。', 'type' => 'string', 'required' => false, 'example' => 'rg-acfm2pz25js****'], ], [ - 'name' => 'Domains', + 'name' => 'Domain', + 'in' => 'query', + 'schema' => ['description' => '要查询的网站业务的域名。'."\n" + ."\n" + .'> 域名必须已经配置过网站业务转发规则。您可以调用[DescribeDomains](~~91724~~)查询所有已经配置过网站业务转发规则的域名。'."\n", 'type' => 'string', 'required' => true, 'example' => 'example.com'], + ], + [ + 'name' => 'RealServers', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ - 'description' => '网站业务的域名。'."\n" - .'> 域名必须已配置网站业务转发规则。您可以调用[DescribeDomains](~~91724~~)查询所有域名。', + 'description' => '要查询的源站服务器地址列表。N的最大值:200,即最多可配置200个源站服务器地址。', 'type' => 'array', - 'items' => [ - 'description' => '网站业务的域名。', - 'type' => 'string', - 'required' => false, - 'example' => 'www.aliyun**.com', - ], - 'required' => true, - 'example' => 'www.aliyun.com', - 'maxItems' => 10, + 'items' => ['description' => '要查询的源站服务器地址列表。N的最大值:200,即最多可配置200个源站服务器地址,服务器地址之间用半角逗号(,)隔开。', 'type' => 'string', 'required' => false, 'example' => '1.***.***.1'], + 'required' => false, + 'example' => '1.***.***.1', + 'maxItems' => 20, ], ], ], @@ -10473,138 +9138,195 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc', - ], - 'AreaBlockConfigs' => [ - 'description' => '区域封禁(针对域名)的配置信息。', + 'ProxyMode' => ['description' => '回源负载均衡算法。取值:'."\n" + ."\n" + .'- **ip_hash**:表示IP Hash算法。根据请求来源IP进行HASH映射,将同一个IP的所有请求定向到一个源站服务器。'."\n" + .'- **rr**:表示轮询算法。将所有请求轮流分配给不同源站服务器。'."\n" + .'- **least_time**:表示Least Time算法。该算法通过智能DNS解析能力,保证业务流量从接入防护节点到转发回源站服务器整个链路的时延最短。', 'type' => 'string', 'example' => 'rr'], + 'UpstreamRetry' => ['description' => '回源重试开关。取值:'."\n" + ."\n" + .'- **1**:打开。'."\n" + .'- **0**:关闭。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'RsAttrRwTimeoutMax' => ['description' => '当前用户读/写连接超时时间上限值。', 'type' => 'integer', 'format' => 'int64', 'example' => '300'], + 'RequestId' => ['description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。', 'type' => 'string', 'example' => '9E7F6B2C-03F2-462F-9076-B782CF0DD502'], + 'Attributes' => [ + 'description' => '回源参数信息。', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'Domain' => [ - 'description' => '网站域名。', - 'type' => 'string', - 'example' => 'www.aliyun.com', - ], - 'RegionList' => [ - 'description' => '封禁地区信息。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Region' => [ - 'description' => '地区。', - 'type' => 'string', - 'example' => 'CN-SHANGHAI', - ], - 'Block' => [ - 'description' => '封禁状态。取值:'."\n" - .'- **0**:未封禁'."\n" - .'- **1**:已封禁', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - ], + 'RsType' => ['description' => '源站服务器的地址类型。取值:'."\n" + ."\n" + .'- **0**:表示源站服务器的IP地址。'."\n" + .'- **1**:表示源站服务器的域名地址。', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'RealServer' => ['description' => '源站服务器地址。', 'type' => 'string', 'example' => '1.***.***.1'], + 'Attribute' => [ + 'description' => '回源参数。', + 'type' => 'object', + 'properties' => [ + 'Weight' => ['description' => '服务器的权重。仅在使用轮询算法(**ProxyMode**为**rr**)和IP Hash算法(**ProxyMode**为**ip_hash**)时生效。'."\n" + ."\n" + .'权重取值范围:**1**~**100**,默认值为**100**。权重越高的服务器分配到的请求越多。', 'type' => 'integer', 'format' => 'int32', 'example' => '100'], + 'ConnectTimeout' => ['description' => '新建连接超时时间。'."\n" + .'值范围**1**~**10**秒,默认值为**5**。', 'type' => 'integer', 'format' => 'int32', 'example' => '5'], + 'FailTimeout' => ['description' => '失效时间,单位秒,当源站失败超过**MaxFails**时,则将该源站地址设置为down,时效为**FailTimeout**时间,最终取值取**ConnectTimeout**和**FailTimeout**的最大值。'."\n" + .'值范围**1**~**3600**秒,默认值为**10**。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'MaxFails' => ['description' => '最大失败次数,健康检查相关。'."\n" + .'值范围**1**~**10**秒,默认值为**3**。', 'type' => 'integer', 'format' => 'int32', 'example' => '3'], + 'Mode' => ['description' => '主备属性标志。取值:'."\n" + ."\n" + .'- **active**:主。'."\n" + .'- **backup**:备。', 'type' => 'string', 'example' => 'active'], + 'ReadTimeout' => ['description' => '读连接超时时间。'."\n" + .'取值范围**10**~**300**秒,默认值为**120**。', 'type' => 'integer', 'format' => 'int32', 'example' => '120'], + 'SendTimeout' => ['description' => '写连接超时时间。'."\n" + .'取值范围**10**~**300**秒,默认值为**120**。', 'type' => 'integer', 'format' => 'int32', 'example' => '120'], ], ], ], + 'description' => '', ], ], ], + 'description' => '', ], ], ], - '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":""}]', - 'title' => '查询网站业务区域封禁配置信息', - 'summary' => '查询网站业务区域封禁(针对域名)的配置信息。', - 'requestParamsDescription' => ' ', + 'title' => '查询网站业务转发规则的回源策略', + 'requestParamsDescription' => '调用API时,除了本文中该API的请求参数,还需加入阿里云API公共请求参数。公共请求参数的详细介绍,请参见[公共参数](~~157269~~)。'."\n" + ."\n" + .'调用API的请求格式,请参见本文**示例**中的请求示例。', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'ConfigWebIpSet' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2024-09-18T09:19:49.000Z', 'description' => '响应参数发生变更'], + ['createdAt' => '2024-05-09T09:53:17.000Z', 'description' => '响应参数发生变更'], + ['createdAt' => '2022-09-08T03:34:23.000Z', 'description' => '错误码发生变更'], + ], + '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' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + '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":""}]', + ], + 'DescribeL7UsKeepalive' => [ + 'summary' => '查询域名回源长连接设置。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', - 'abilityTreeCode' => '106061', - 'abilityTreeNodes' => [ - 'FEATUREddos64TBV6', - ], + 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '215888', + 'abilityTreeNodes' => ['FEATUREddos64TBV6'], ], 'parameters' => [ - [ - 'name' => 'ResourceGroupId', - 'in' => 'query', - 'schema' => [ - 'description' => 'DDoS高防实例在资源管理产品中所属的资源组ID。默认为空,即属于默认资源组。', - 'type' => 'string', - 'required' => false, - 'example' => 'default', - ], - ], [ 'name' => 'Domain', 'in' => 'query', + 'schema' => ['description' => '网站业务的域名。'."\n" + .'> 域名必须已配置网站业务转发规则。您可以调用[DescribeDomains](~~91724~~)查询所有域名。', 'type' => 'string', 'required' => false, 'example' => 'www.aliyun.com'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '网站业务的域名。'."\n" - .'> 域名必须已配置网站业务转发规则。您可以调用[DescribeDomains](~~91724~~)查询所有域名。', - 'type' => 'string', - 'required' => true, - 'example' => 'www.aliyun.com', + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。', 'type' => 'string', 'example' => '39499F01-19D9-4EA4-A0E9-C6014BA5CDHE'], + 'RsKeepalive' => [ + 'description' => '配置的回源长连接参数。', + 'type' => 'object', + 'properties' => [ + 'Enabled' => ['description' => '是否开启回源长连接。取值:'."\n" + ."\n" + .'- **true**:表示开启。'."\n" + .'- **false**:表示不开启。', 'type' => 'boolean', 'example' => 'true'], + 'KeepaliveRequests' => ['description' => '长连接复用的请求数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], + 'KeepaliveTimeout' => ['description' => '长连接的空闲超时时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '30'], + 'DsKeepaliveTimeout' => ['type' => 'integer', 'format' => 'int64'], + ], + ], + ], ], ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '查询回源长连接设置', + 'changeSet' => [ + ['createdAt' => '2025-09-19T08:52:35.000Z', 'description' => '响应参数发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ [ - 'name' => 'BlackList', - 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => '黑名单IP地址/地址段列表。N的最大值:200,即最多可配置200个黑名单IP地址/地址段。', - 'type' => 'array', - 'items' => [ - 'description' => '黑名单IP地址/地址段。', - 'type' => 'string', - 'required' => false, - 'example' => '59.49.*.*', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeL7RsKeepalive', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], ], - 'required' => false, - 'example' => '1.1.1.1', - 'maxItems' => 2000, ], ], + ], + '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' => 'WhiteList', + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '106158', + 'abilityTreeNodes' => ['FEATUREddosI8LHMA'], + ], + 'parameters' => [ + [ + 'name' => 'Listeners', 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => '白名单IP地址/地址段列表。N的最大值:200,即最多可配置200个白名单IP地址/地址段。', - 'type' => 'array', - 'items' => [ - 'description' => '白名单IP地址/地址段。', - 'type' => 'string', - 'required' => false, - 'example' => '2.2.*.*/24', - ], - 'required' => false, - 'example' => '2.2.2.2/24', - 'maxItems' => 2000, - ], + 'schema' => ['description' => '要查询的端口转发规则。'."\n" + ."\n" + .'该参数使用JSON数组转换的字符串表示。JSON数组的每个元素表示一个已创建的端口转发规则。一次最多可以查询1个端口转发规则。'."\n" + ."\n" + .'> 您可以调用[DescribeNetworkRules](~~157484~~)查询所有已创建的端口转发规则。'."\n" + ."\n" + .'每个端口转发规则包含以下字段:'."\n" + ."\n" + .'- **InstanceId**:String类型,必选,DDoS高防实例的ID。'."\n" + .'- **Protocol**:String类型,必选,端口转发协议类型。取值:**tcp**、**udp**。'."\n" + .'- **FrontendPort**:Integer类型,必选,转发端口。', 'type' => 'string', 'required' => true, 'example' => '[{\\"InstanceId\\":\\"ddosDip-sg-4hr2b3l****\\",\\"FrontendPort\\":2020,\\"Protocol\\":\\"udp\\"}]'], ], ], 'responses' => [ @@ -10612,31 +9334,88 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc', + 'FrontendPort' => ['description' => '转发端口。', 'type' => 'integer', 'format' => 'int32', 'example' => '2020'], + 'BakMode' => ['description' => '回源模式。取值:'."\n" + .'- 0:表示默认回源模式,即DDoS高防将业务流量转发到您调用[CreateNetworkRules](~~157482~~)创建该端口转发规则时指定的源站IP。'."\n" + .'- 1:表示主备回源模式,即DDoS高防将业务流量转发到您调用[ConfigLayer4RulePolicy](~~312684~~)设置的主源站IP地址或备源站IP地址。', 'type' => 'string', 'example' => '1'], + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => '6E46CC51-36BE-1100-B14C-DAF8381B8F73'], + 'CurrentIndex' => ['description' => '当前生效的源站类型。取值:'."\n" + .'- **1**:表示主源站设置生效(DDoS高防将业务流量转发到主源站IP地址)。'."\n" + .'- **2**:表示备源站设置生效(DDoS高防将业务流量转发到备源站IP地址)。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'ForwardProtocol' => ['description' => '转发协议类型。', 'type' => 'string', 'example' => 'udp'], + 'InstanceId' => ['description' => 'DDoS高防实例的ID。', 'type' => 'string', 'example' => 'ddosDip-sg-4hr2b3l****'], + 'BackendPort' => ['description' => '源站端口。', 'type' => 'integer', 'format' => 'int32', 'example' => '2022'], + 'PriRealServers' => [ + 'description' => '主源站信息,包括主源站IP地址、转发协议类型、转发端口等。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'FrontendPort' => ['description' => '转发端口。', 'type' => 'integer', 'format' => 'int32', 'example' => '2020'], + 'Eip' => ['description' => 'DDoS高防实例的IP。', 'type' => 'string', 'example' => '203.107.XX.XX'], + 'Protocol' => ['description' => '转发协议类型。', 'type' => 'string', 'example' => 'udp'], + 'CurrentIndex' => ['description' => '当前生效的源站类型。取值:'."\n" + .'- **1**:表示主源站设置生效(DDoS高防将业务流量转发到主源站IP地址)。'."\n" + .'- **2**:表示备源站设置生效(DDoS高防将业务流量转发到备源站IP地址)。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'InstanceId' => ['description' => 'DDoS高防实例的ID。', 'type' => 'string', 'example' => 'ddosDip-sg-4hr2b3l****'], + 'RealServer' => ['description' => '主源站IP地址。', 'type' => 'string', 'example' => '192.0.2.1'], + ], + ], + ], + 'SecRealServers' => [ + 'description' => '备源站信息,包括备源站IP地址、转发协议类型、转发端口等。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'FrontendPort' => ['description' => '转发端口。', 'type' => 'integer', 'format' => 'int32', 'example' => '2020'], + 'Eip' => ['description' => 'DDoS高防实例的IP。', 'type' => 'string', 'example' => '203.107.XX.XX'], + 'Protocol' => ['description' => '转发协议类型。', 'type' => 'string', 'example' => 'udp'], + 'CurrentIndex' => ['description' => '当前生效的源站类型。取值:'."\n" + .'- **1**:表示主源站设置生效(DDoS高防将业务流量转发到主源站IP地址)。'."\n" + .'- **2**:表示备源站设置生效(DDoS高防将业务流量转发到备源站IP地址)。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'InstanceId' => ['description' => 'DDoS高防实例的ID。', 'type' => 'string', 'example' => 'ddosDip-sg-4hr2b3l****'], + 'RealServer' => ['description' => '备源站IP地址。', 'type' => 'string', 'example' => '192.0.2.3'], + ], + ], ], ], ], ], ], - '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' => '设置针对网站业务的黑名单和白名单IP', - 'summary' => '设置针对网站业务的黑名单和白名单IP。', - 'requestParamsDescription' => ' ', + 'title' => '查询端口转发规则的回源设置', + 'summary' => '查询端口转发规则的回源设置。', + 'requestParamsDescription' => '调用API时,除了本文中该API的请求参数,还需加入阿里云API公共请求参数。公共请求参数的详细介绍,请参见[公共参数](~~157269~~)。'."\n" + ."\n" + .'调用API的请求格式,请参见本文**示例**中的请求示例。', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'ConfigWebCCTemplate' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:23.000Z', 'description' => '错误码发生变更'], + ], + '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' => '全部资源', '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":""}]', + ], + 'DescribeLogStoreExistStatus' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -10645,47 +9424,16 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', - 'abilityTreeCode' => '106060', - 'abilityTreeNodes' => [ - 'FEATUREddosM9SQC1', - ], + 'operationType' => 'get', + 'abilityTreeCode' => '106159', + 'abilityTreeNodes' => ['FEATUREddos38XZ5J'], + 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => 'DDoS高防实例在资源管理产品中所属的资源组ID。默认为空,即属于默认资源组。', - 'type' => 'string', - 'required' => false, - 'example' => 'default', - ], - ], - [ - 'name' => 'Domain', - 'in' => 'query', - 'schema' => [ - 'description' => '网站业务的域名。'."\n" - .'> 域名必须已配置网站业务转发规则。您可以调用[DescribeDomains](~~91724~~)查询所有域名。', - 'type' => 'string', - 'required' => true, - 'example' => 'www.aliyun.com', - ], - ], - [ - 'name' => 'Template', - 'in' => 'query', - 'schema' => [ - 'description' => '频率控制防护(CC防护)的防护模式。取值:'."\n" - .'- **default**:正常'."\n" - .'- **gf_under_attack**:攻击紧急'."\n" - .'- **gf_sos_verify**:严格'."\n" - .'- **gf_sos_enhance**:超级严格', - 'type' => 'string', - 'required' => true, - 'example' => 'default', - ], + 'schema' => ['description' => 'DDoS高防实例在资源管理产品中所属的资源组ID。默认为空,即属于默认资源组。', 'type' => 'string', 'required' => false, 'example' => 'default'], ], ], 'responses' => [ @@ -10693,81 +9441,63 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc', - ], + 'ExistStatus' => ['description' => '是否已创建DDoS高防的日志库。取值:'."\n" + .'- **true**:已创建'."\n" + .'- **false**:未创建', 'type' => 'boolean', 'example' => 'true'], + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'], ], ], ], ], - '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' => '设置网站CC防护的防护模式', - 'summary' => '设置网站业务频率控制防护(CC防护)的防护模式。', + 'title' => '查询是否已创建DDoS高防的日志库', + 'summary' => '查询是否已创建DDoS高防的日志库。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DeleteWebCCRuleV2' => [ - 'summary' => '删除网站业务频率控制防护(CC防护)的自定义规则。', - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:23.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeLogStoreExistStatus'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeLogStoreExistStatus', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + '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 [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'delete', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '198862', - 'abilityTreeNodes' => [ - 'FEATUREddosOZ1QOD', - ], + 'operationType' => 'get', + 'abilityTreeCode' => '106160', + 'abilityTreeNodes' => ['FEATUREddosOZ1QOD'], ], 'parameters' => [ [ - 'name' => 'Domain', - 'in' => 'query', - 'schema' => [ - 'description' => '网站业务的域名。'."\n" - .'> 域名必须已配置网站业务转发规则。您可以调用[DescribeDomains](~~91724~~)查询所有域名。', - 'type' => 'string', - 'required' => true, - 'example' => 'www.example.com', - ], - ], - [ - 'name' => 'RuleNames', - 'in' => 'query', - 'schema' => [ - 'description' => '要删除的规则的名称列表。', - 'type' => 'string', - 'required' => false, - 'example' => '[\\"trdsss\\"]', - ], - ], - [ - 'name' => 'Owner', + 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => '规则来源。取值:'."\n" - .'- **manual**:手动添加(默认)'."\n" - .'- **clover**:自动生成(指定删除智能规则使用)', - 'type' => 'string', - 'required' => false, - 'example' => 'manual', - ], + 'schema' => ['description' => 'DDoS高防实例的ID。'."\n" + .'> 您可以调用[DescribeInstanceIds](~~157459~~)查询所有DDoS高防实例的ID信息。', 'type' => 'string', 'required' => true, 'example' => 'ddoscoo-cn-mp91j1ao****'], ], ], 'responses' => [ @@ -10775,31 +9505,63 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '本次调用请求的 ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。', - 'type' => 'string', - 'example' => '6D48AED0-41DB-5D9B-B484-3B6AAD312AD1', + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E'], + 'Config' => [ + 'description' => '区域封禁的配置信息。', + 'type' => 'object', + 'properties' => [ + 'RegionBlockSwitch' => ['description' => '区域封禁的开关状态。取值:'."\n" + .'- **on**:开启'."\n" + .'- **off**:关闭', 'type' => 'string', 'example' => 'on'], + 'Countries' => [ + 'description' => '被封禁的海外地域代码列表。', + 'type' => 'array', + 'items' => ['description' => '被封禁的海外地域代码。'."\n" + ."\n" + .'> 关于海外地域代码的详细信息,请参见[地域类型参数取值说明](~~167926~~)。', 'type' => 'integer', 'format' => 'int64', 'example' => '2'], + ], + 'Provinces' => [ + 'description' => '被封禁的中国地域代码列表。', + 'type' => 'array', + 'items' => ['description' => '被封禁的中国地域代码。例如,**11**表示北京市、**12**表示天津市。'."\n" + ."\n" + .'> 关于中国地域代码的详细信息,请参见[地域类型参数取值说明](~~167926~~)。'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '11'], + ], + ], ], ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'title' => '查询区域封禁配置', + 'summary' => '查询针对DDoS高防实例的区域封禁配置。', + 'changeSet' => [ + ['createdAt' => '2024-06-24T06:54:48.000Z', 'description' => '响应参数发生变更'], + ['createdAt' => '2022-09-08T03:34:23.000Z', 'description' => '错误码发生变更'], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6D48AED0-41DB-5D9B-B484-3B6AAD312AD1\\"\\n}","type":"json"}]', - 'title' => '删除网站业务频率控制防护(CC防护)的自定义规则', - ], - 'DescribeWebCCRulesV2' => [ - 'summary' => '查询网站业务频率控制防护(CC防护)的自定义规则。', - 'methods' => [ - 'get', - 'post', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeNetworkRegionBlock'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeNetworkRegionBlock', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + '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"}]', + ], + 'DescribeNetworkRuleAttributes' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -10808,361 +9570,109 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'list', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '198809', - 'abilityTreeNodes' => [ - 'FEATUREddosOZ1QOD', - ], + 'operationType' => 'get', + 'abilityTreeCode' => '106161', + 'abilityTreeNodes' => ['FEATUREddosRTUJBH'], ], 'parameters' => [ [ - 'name' => 'Domain', - 'in' => 'query', - 'schema' => [ - 'title' => '网站业务的域名。', - 'description' => '要接入DDoS高防进行防护的网站域名。', - 'type' => 'string', - 'required' => false, - 'example' => 'example.com', - ], - ], - [ - 'name' => 'PageSize', + 'name' => 'NetworkRules', 'in' => 'query', - 'schema' => [ - 'title' => '页面显示的记录数量。', - 'description' => '分页大小,即每页显示多少个结果。最大值**20**,默认值**20**。', - 'type' => 'string', - 'required' => false, - 'example' => '20', - ], + 'schema' => ['description' => '要查询的端口转发规则,使用JSON格式的字符串表述,具体结构如下。'."\n" + .'- **InstanceId**:String类型,必选,DDoS高防实例ID。'."\n" + .'- **Protocol**:String类型,必选,转发协议类型。取值:**tcp**、**udp**。'."\n" + .'- **FrontendPort**:Integer类型,必选,转发端口。', 'type' => 'string', 'required' => true, 'example' => '[{"InstanceId":"ddoscoo-cn-mp91j1ao****","Protocol":"tcp","FrontendPort":8080}]'], ], - [ - 'name' => 'Offset', - 'in' => 'query', + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'title' => '开始索引位置,即从第几条结果开始显示。默认从**0**开始。 ', - 'description' => '开始索引位置,即从第几条结果开始显示。默认从**0**开始。 ', - 'type' => 'string', - 'required' => false, - 'example' => '0', - ], - ], - [ - 'name' => 'Owner', - 'in' => 'query', - 'schema' => [ - 'title' => '筛选规则来源。取值:'."\n" - .'- **manual**(默认):手动添加'."\n" - .'- **clover**:自动生成', - 'description' => '筛选规则来源。取值:'."\n" - .'- **manual**(默认):手动添加'."\n" - .'- **clover**:自动生成', - 'type' => 'string', - 'required' => false, - 'example' => 'manual', - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '本次调用请求的 ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。', - 'type' => 'string', - 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80', - ], - 'TotalCount' => [ - 'title' => '频率控制规则总数。', - 'description' => '频率控制规则总数。', - 'type' => 'string', - 'example' => '12', - ], - 'Domain' => [ - 'title' => '网站业务的域名。', - 'description' => '网站业务的域名。', - 'type' => 'string', - 'example' => 'www.aliyun.com', - ], - 'WebCCRules' => [ - 'title' => '频率控制(CC防护)自定义规则。', - 'description' => '频率控制(CC防护)自定义规则。', + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'F9F2F77D-307C-4F15-8D02-AB5957EEBF97'], + 'NetworkRuleAttributes' => [ + 'description' => '非网站业务端口转发规则的防护配置,包括会话保持和DDoS防护策略。', 'type' => 'array', 'items' => [ - 'title' => '频率控制(CC防护)自定义规则。', - 'description' => '频率控制(CC防护)自定义规则。', 'type' => 'object', 'properties' => [ - 'Owner' => [ - 'title' => '规则来源。取值:'."\n" - .'- **manual**(默认):手动添加'."\n" - .'- **clover**:自动生成', - 'description' => '规则来源。取值:'."\n" - .'- **manual**(默认):手动添加'."\n" - .'- **clover**:自动生成', - 'type' => 'string', - 'example' => 'manual', - ], - 'Expires' => [ - 'title' => '规则有效期。单位:秒。规则的匹配动作为阻断时(action为block)生效,在规则有效期内阻断访问请求。0表示永久生效。', - 'description' => '规则有效期。单位:秒。规则的匹配动作为阻断时(action为block)生效,在规则有效期内阻断访问请求。0表示永久生效。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'Name' => [ - 'title' => '规则名称。', - 'description' => '规则名称。', - 'type' => 'string', - 'example' => 'wq', - ], - 'RuleDetail' => [ - 'title' => '规则详情。', - 'description' => '规则详情。', + 'FrontendPort' => ['description' => '转发端口。', 'type' => 'integer', 'format' => 'int32', 'example' => '8080'], + 'InstanceId' => ['description' => 'DDoS高防实例ID。', 'type' => 'string', 'example' => 'ddoscoo-cn-mp91j1ao****'], + 'Protocol' => ['description' => '转发协议。取值:'."\n" + .'- **tcp**'."\n" + .'- **udp**', 'type' => 'string', 'example' => 'tcp'], + 'Config' => [ + 'description' => '端口转发规则的防护配置。', 'type' => 'object', 'properties' => [ - 'Mode' => [ - 'title' => '老规则格式,已废弃。', - 'description' => '老规则格式,已废弃。', - 'type' => 'string', - 'example' => '废弃', - ], - 'Count' => [ - 'title' => '老规则格式,已废弃。', - 'description' => '老规则格式,已废弃。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '废弃', - ], - 'Name' => [ - 'title' => '规则名称。', - 'description' => '规则名称。', - 'type' => 'string', - 'example' => 'ccauto14', - ], - 'Action' => [ - 'title' => '匹配动作。取值:'."\n" - .'- **accept**:放行'."\n" - .'- **block**:封禁'."\n" - .'- **challenge**:挑战'."\n" - .'- **watch**:观察', - 'description' => '匹配动作。取值:'."\n" - .'- **accept**:放行'."\n" - .'- **block**:封禁'."\n" - .'- **challenge**:挑战'."\n" - .'- **watch**:观察', - 'type' => 'string', - 'example' => 'block', - ], - 'Interval' => [ - 'title' => '老规则格式,已废弃。', - 'description' => '老规则格式,已废弃。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '60', - ], - 'Ttl' => [ - 'title' => '老规则格式,已废弃。', - 'description' => '老规则格式,已废弃。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '300', - ], - 'Uri' => [ - 'title' => '老规则格式,已废弃。', - 'description' => '老规则格式,已废弃。', - 'type' => 'string', - 'example' => '/p3shijihao', - ], - 'RateLimit' => [ - 'title' => '频率统计。', - 'description' => '频率统计。', + 'NodataConn' => ['description' => '空连接过滤的开关状态。取值:'."\n" + .'- **on**:开启'."\n" + .'- **off**:关闭', 'type' => 'string', 'example' => 'off'], + 'Synproxy' => ['description' => '虚假源过滤的开关状态。取值:'."\n" + .'- **on**:开启'."\n" + .'- **off**:关闭', 'type' => 'string', 'example' => 'off'], + 'PersistenceTimeout' => ['description' => '会话保持的超时时间。取值范围:**30**~**3600**,单位:秒。默认为**0**,表示关闭。 ', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'Sla' => [ + 'description' => '目的限速配置。', 'type' => 'object', 'properties' => [ - 'SubKey' => [ - 'title' => '字段名称(仅当统计源为header时设置)。', - 'description' => '字段名称(仅当统计源为header时设置)。', - 'type' => 'string', - 'example' => 'action', - ], - 'Interval' => [ - 'title' => '统计周期。单位:秒。', - 'description' => '统计周期。单位:秒。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '60', - ], - 'Threshold' => [ - 'title' => '触发阈值。', - 'description' => '触发阈值。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], - 'Ttl' => [ - 'title' => '封禁时长。单位:秒。', - 'description' => '封禁时长。单位:秒。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '15', - ], - 'Target' => [ - 'title' => '统计源。取值:'."\n" - .'- **ip**:按照IP统计'."\n" - .'- **header**:按照Header统计', - 'description' => '统计源。取值:'."\n" - .'- **ip**:按照IP统计'."\n" - .'- **header**:按照Header统计', - 'type' => 'string', - 'example' => 'ip', - ], + 'MaxconnEnable' => ['description' => '目的并发连接限速的开关状态。取值:'."\n" + .'- **0**:关闭'."\n" + .'- **1**:开启', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'CpsEnable' => ['description' => '目的新建连接限速的开关状态。取值:'."\n" + .'- **0**:关闭'."\n" + .'- **1**:开启', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'Cps' => ['description' => '目的新建连接限速。取值范围:**100**~**100000**。', 'type' => 'integer', 'format' => 'int32', 'example' => '100000'], + 'Maxconn' => ['description' => '目的并发连接限速。取值范围:**1000**~**1000000**。', 'type' => 'integer', 'format' => 'int32', 'example' => '1000000'], ], ], - 'Condition' => [ - 'title' => '匹配条件。', - 'description' => '匹配条件列表。', - 'type' => 'array', - 'items' => [ - 'title' => '匹配条件。', - 'description' => '匹配条件。', - 'type' => 'object', - 'properties' => [ - 'MatchMethod' => [ - 'title' => '匹配方法。', - 'description' => '匹配方法。', - 'type' => 'string', - 'example' => 'belong', - ], - 'Field' => [ - 'title' => '匹配字段。', - 'description' => '匹配字段。', - 'type' => 'string', - 'example' => 'ip', - ], - 'HeaderName' => [ - 'title' => '自定义HTTP头部字段名称。'."\n" - ."\n" - .'> 仅在**Field**为**header**时有效。', - 'description' => '自定义HTTP头部字段名称。'."\n" - ."\n" - .'> 仅在**Field**为**header**时有效。', - 'type' => 'string', - 'example' => 'null', - ], - 'Content' => [ - 'title' => '匹配内容。', - 'description' => '匹配内容。', - 'type' => 'string', - 'example' => '192.0.XX.XX', - ], - 'ContentList' => [ - 'title' => '匹配方法为等于多值之一时的匹配内容。', - 'description' => '匹配方法为等于多值之一时的匹配内容。', - 'type' => 'array', - 'items' => [ - 'title' => '匹配方法为等于多值之一时的匹配内容。', - 'description' => '匹配方法为等于多值之一时的匹配内容。', - 'type' => 'string', - 'example' => '["2","3","ad"]', - ], - 'example' => '["2","3","ad"]', - ], - ], + 'Slimit' => [ + 'description' => '源限速配置。', + 'type' => 'object', + 'properties' => [ + 'MaxconnEnable' => ['description' => '源并发连接限速的开关状态。取值:'."\n" + .'- **0**:关闭'."\n" + .'- **1**:开启', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'CpsEnable' => ['description' => '源新建连接限速的开关状态。取值:'."\n" + .'- **0**:关闭'."\n" + .'- **1**:开启', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'Cps' => ['description' => '源新建连接限速。取值范围:**1**~**500000**,单位:个。', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'Pps' => ['description' => '源PPS限速。取值范围:**1**~**100000**,单位:Packet/s。默认为**0**,表示未开启源PPS限速。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'], + 'Bps' => ['description' => '源带宽限速。取值范围:**1024**~**268435456**,单位:Byte/s。默认为**0**,表示未开启源带宽限速。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'], + 'Maxconn' => ['description' => '源并发连接限速。取值范围:**1**~**500000**,单位:个。', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'CpsMode' => ['description' => '源新建连接限速的模式。取值:'."\n" + .'- **1**:手动'."\n" + .'- **2**:自动', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], ], ], - 'Statistics' => [ - 'title' => '去重统计,可缺省(缺省为不去重统计)。', - 'description' => '去重统计,可缺省(缺省为不去重统计)。', + 'PayloadLen' => [ + 'description' => '包长度过滤配置。', 'type' => 'object', 'properties' => [ - 'Mode' => [ - 'title' => '去重模式。取值:'."\n" - .'- **count**:不去重统计'."\n" - .'- **distinct**:去重统计', - 'description' => '去重模式。取值:'."\n" - .'- **count**:不去重统计'."\n" - .'- **distinct**:去重统计', - 'type' => 'string', - 'example' => 'count', - ], - 'Field' => [ - 'title' => '统计源。取值:'."\n" - .'- **ip**:按照IP统计'."\n" - .'- **header**:按照Header统计 '."\n" - .'- **uri**:按照uri统计', - 'description' => '统计源。取值:'."\n" - .'- **ip**:按照IP统计'."\n" - .'- **header**:按照Header统计 '."\n" - .'- **uri**:按照uri统计', - 'type' => 'string', - 'example' => 'uri', - ], - 'HeaderName' => [ - 'title' => '仅当统计源为header时设置。', - 'description' => '仅当统计源为header时设置。', - 'type' => 'string', - 'example' => 'hello', - ], + 'Min' => ['description' => '包长度的最小值。取值范围:**0**~**6000**,单位:Byte。', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'Max' => ['description' => '包长度的最大值。取值范围:**0**~**6000**,单位:Byte。', 'type' => 'integer', 'format' => 'int32', 'example' => '6000'], ], ], - 'StatusCode' => [ - 'title' => '状态码。', - 'description' => '状态码。', + 'Cc' => [ + 'description' => '源连接频繁超限控制策略。', 'type' => 'object', 'properties' => [ - 'Enabled' => [ - 'title' => '是否可用。取值:'."\n" - ."\n" - .'- **true**:开启。'."\n" - .'- **false**:关闭。', - 'description' => '是否可用。取值:'."\n" - ."\n" - .'- **true**:开启。'."\n" - .'- **false**:关闭。', - 'type' => 'boolean', - 'example' => 'true', - ], - 'Code' => [ - 'title' => '状态码。值范围**100**~**599**:'."\n" - ."\n" - .'- **200**:表示成功。'."\n" - .'- 其它:表示错误码。', - 'description' => '状态码。值范围**100**~**599**:'."\n" - ."\n" - .'- **200**:表示成功。'."\n" - .'- 其它:表示错误码。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'UseRatio' => [ - 'description' => '是否使用比率:'."\n" - ."\n" - .'- **true**:使用。'."\n" - .'- **false**:不使用。', - 'type' => 'boolean', - 'example' => 'true', - ], - 'CountThreshold' => [ - 'title' => '不使用比率时,仅在对应状态码达到 **CountThreshold** 时触发处置动作,值范围**2**~**50000**。', - 'description' => '不使用比率时,仅在对应状态码达到 **CountThreshold** 时触发处置动作,值范围**2**~**50000**。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'RatioThreshold' => [ - 'title' => '使用比率时,仅在对应状态码达到 **RatioThreshold** 时触发处置动作,值范围**1**~**100**。', - 'description' => '使用比率时,仅在对应状态码达到 **RatioThreshold** 时触发处置动作,值范围**1**~**100**。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', + 'Sblack' => [ + 'description' => '源连接多次超限,将源IP加入黑名单的策略。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Type' => ['description' => '源IP黑名单配置类型。取值:'."\n" + .'- **1**:源新建连接限速IP黑名单'."\n" + .'- **2**:源并发连接限速IP黑名单'."\n" + .'- **3**:源PPS限速IP黑名单'."\n" + .'- **4**:源带宽限速IP黑名单', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'During' => ['description' => '检查间隔。取值固定为**60**,单位:秒。', 'type' => 'integer', 'format' => 'int32', 'example' => '60'], + 'Expires' => ['description' => '黑名单有效时长。取值范围:**60**~**604800**,单位:秒。', 'type' => 'integer', 'format' => 'int32', 'example' => '600'], + 'Cnt' => ['description' => '源连接超过限制的次数。取值固定为**5**,表示如果源连接在检查间隔内超过限制5次,将源IP加入黑名单。', 'type' => 'integer', 'format' => 'int32', 'example' => '5'], + ], + ], ], ], ], @@ -11175,106 +9685,77 @@ ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'title' => '查询非网站业务端口转发规则防护配置', + 'summary' => '查询非网站业务端口转发规则的防护配置,包括会话保持和DDoS防护策略。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:23.000Z', 'description' => '错误码发生变更'], ], - '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' => '查询网站业务频率控制防护(CC防护)的自定义规则', - ], - 'ConfigWebCCRuleV2' => [ - 'summary' => '创建或编辑网站业务频率控制防护(CC防护)的自定义规则。', - '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' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + '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":""}]', + ], + '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' => '网站业务的域名。'."\n" - .'> 域名必须已配置网站业务转发规则。您可以调用[DescribeDomains](~~91724~~)查询所有域名。', - 'type' => 'string', - 'required' => true, - 'example' => 'www.example.com', - ], + 'schema' => ['description' => 'DDoS高防实例的ID。'."\n" + .'> 您可以调用[DescribeInstanceIds](~~157459~~)查询所有DDoS高防实例的ID信息。', 'type' => 'string', 'required' => true, 'example' => 'ddoscoo-cn-mp91j1ao****'], ], [ - 'name' => 'RuleList', + 'name' => 'ForwardProtocol', 'in' => 'query', - 'schema' => [ - 'description' => '频率控制规则的配置,使用JSON格式的字符串表述,具体结构如下。'."\n" - .'- **action**:String类型,必选,匹配动作。取值:'."\n" - .' - **block**:封禁'."\n" - .' - **challenge**:挑战'."\n" - .' - **watch**:观察'."\n" - .'- **name**:String类型,必选,规则名称。'."\n" - .'- **condition**:Map类型,必选,匹配条件。具体结构如下。'."\n" - ."\n" - .' > 如果设置了多个匹配条件,则多个条件间是且的关系。'."\n" - ."\n" - .' - **field**:String类型,必选,匹配字段。'."\n" - .' - **match_method**:String类型,必选,匹配方法。'."\n" - .' '."\n" - .' > 关于**field**和**match_method**的取值,请参见请求参数表下的补充描述。'."\n" - ."\n" - .' - **header_name**:String类型,可选,自定义HTTP头部字段名称。'."\n" - ."\n" - .' > 仅在**field**为**header**时有效。'."\n" - ."\n" - .' - **content**:String类型,必选,匹配内容。'."\n" - .'- **ratelimit**:String类型,必选,频率控制字段,可以按照IP或者自定义Header进行频率统计。具体结构如下。'."\n" - .' - **interval**:Integer类型,必选,统计时长(秒)。'."\n" - .' - **ttl**:Integer类型,必选,处置时长(秒)。'."\n" - .' - **threshold**:Integer类型,必选,阈值(次)。'."\n" - .' - **subkey**:String类型,可选,字段名称(仅当统计源为header时设置)。'."\n" - .' - **target**:String类型,必选,统计源,支持ip和header。'."\n" - .'- **status_code**:String类型,可选,频率控制字段,可以根据状态码出现数量或频率进行统计。具体结构如下。'."\n" - .' - **enabled**:Boolean类型,必选,是否开启状态码统计。'."\n" - .' - **code**:Integer类型,必选,状态码,值范围**100**~**599**。'."\n" - .' - **use_ratio**:Boolean类型,必选,为true时使用比率。'."\n" - .' - **ratio_threshold**:Integer类型,可选,状态码出现比率,使用比率时,仅在对应状态码达到 **ratio_threshold** 时触发处置动作,值范围**1**~**100**。'."\n" - .' - **count_threshold**:Integer类型,可选,状态码出现数量,不使用比率时,仅在对应状态码达到 **count_threshold** 时触发处置动作,值范围**2**~**50000**。'."\n" - .'- **statistics**:String类型,可选,去重统计,可缺省(缺省为不去重统计)。具体结构如下。'."\n" - .' - **mode**:String类型,必选,是否开启状态码统计。取值:'."\n" - .' - **count**:不去重统计'."\n" - .' - **distinct**:去重统计'."\n" - .' - **field**:String类型,必选,统计源,去重统计,仅支持ip、header和uri。'."\n" - .' - **header_name**:String类型,可选,字段名称,仅当统计源为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"}]}]', - ], + 'schema' => ['description' => '转发协议。取值:'."\n" + .'- **tcp**'."\n" + .'- **udp**', 'type' => 'string', 'required' => false, 'example' => 'tcp'], ], [ - 'name' => 'Expires', + 'name' => 'FrontendPort', 'in' => 'query', - 'schema' => [ - 'description' => '规则有效期。单位:秒。 默认0表示永久生效。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '0', - ], + 'schema' => ['description' => '转发端口。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '80'], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => ['description' => '分页查询请求时返回的页码。例如,查询第一页的返回结果,则填写**1**。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1'], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['description' => '页面显示的记录数量。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '10'], ], ], 'responses' => [ @@ -11282,96 +9763,140 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '本次调用请求的 ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。', - 'type' => 'string', - 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc', + 'TotalCount' => ['description' => '端口转发规则总数。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], + 'RequestId' => ['description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。', 'type' => 'string', 'example' => '8597F235-FA5E-4FC7-BAD9-E4C0B01BC771'], + 'NetworkRules' => [ + 'description' => '端口转发规则信息。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'FrontendPort' => ['description' => '转发端口。', 'type' => 'integer', 'format' => 'int32', 'example' => '80'], + 'IsAutoCreate' => ['description' => '是否自动创建。取值:'."\n" + .'- **true**:是'."\n" + .'- **false**:否', 'type' => 'boolean', 'example' => 'true'], + 'InstanceId' => ['description' => 'DDoS高防实例ID。', 'type' => 'string', 'example' => 'ddoscoo-cn-mp91j1ao****'], + 'Protocol' => ['description' => '转发协议。取值:'."\n" + .'- **tcp**'."\n" + .'- **udp**', 'type' => 'string', 'example' => 'tcp'], + 'BackendPort' => ['description' => '源站端口。', 'type' => 'integer', 'format' => 'int32', 'example' => '80'], + 'RealServers' => [ + 'description' => '源站IP地址列表。', + 'type' => 'array', + 'items' => ['description' => '源站IP地址。', 'type' => 'string', 'example' => '112.139.XX.XX'], + ], + 'Remark' => ['description' => '端口转发规则的备注信息。', 'type' => 'string', 'example' => '测试'], + 'ProxyEnable' => ['description' => '引流开关。取值:'."\n" + ."\n" + .'- 0:开启'."\n" + .'- 1: 关闭', 'type' => 'integer', 'format' => 'int64', 'example' => '0'], + 'ProxyStatus' => ['description' => '引流状态。取值:'."\n" + ."\n" + .'- on:引流生效'."\n" + .'- off:引流失效', 'type' => 'string', 'example' => 'on'], + 'PayloadRuleEnable' => ['description' => 'Payload策略模块开关。取值:'."\n" + ."\n" + .'- 1:开启'."\n" + .'- 0:关闭', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], + ], + ], ], ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'title' => '查询端口转发规则', + 'summary' => '查询端口转发规则。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2025-08-14T03:28:22.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2025-08-14T01:39:31.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2025-08-14T01:39:28.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2024-08-29T05:59:47.000Z', 'description' => '响应参数发生变更'], + ['createdAt' => '2024-01-23T11:23:45.000Z', 'description' => '响应参数发生变更'], + ['createdAt' => '2022-09-08T03:34:23.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeNetworkRules'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeNetworkRules', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}","type":"json"}]', - 'title' => '创建或编辑网站业务频率控制防护(CC防护)的自定义规则', - 'requestParamsDescription' => '**field和match_method的取值及对应关系**'."\n" - ."\n" - .'| 匹配字段(field) | 描述 | 适用的逻辑符(match_method) |'."\n" - .'|-----------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------|'."\n" - .'| **ip** | 访问请求的来源IP。 | **belong** :属于
**nbelong** :不属于
**ipinlist** :在列表中
**ipninlist** :不在列表中 |'."\n" - .'| **uri** | 访问请求的URI地址。 | **contain** :包含
**ncontain** :不包含
**equal** :等于
**nequal** :不等于
**lless** :长度小于
**lequal** :长度等于
**lgreat** :长度大于
**prefix** :前缀匹配
**inlist** :等于多值之一
**ninlist** :不等于多值之一 |'."\n" - .'| **referer** | 访问请求的来源网址,即该访问请求是从哪个页面跳转产生的。 | **contain** :包含
**ncontain** :不包含
**equal** :等于
**nequal** :不等于
**lless** :长度小于
**lequal** :长度等于
**lgreat** :长度大于
**nexist** :不存在
**inlist** :等于多值之一
**ninlist** :不等于多值之一 |'."\n" - .'| **user-agent** | 发起访问请求的客户端的浏览器标识、渲染引擎标识和版本信息等浏览器相关信息。 | **contain** :包含
**ncontain** :不包含
**equal** :等于
**nequal** :不等于
**lless** :长度小于
**lequal** :长度等于
**lgreat** :长度大于
**inlist** :等于多值之一
**ninlist** :不等于多值之一|'."\n" - .'| **params** | 访问请求的URL地址中的参数部分,通常指URL中”?”后面的部分。例如,`demo.aliyundoc.com/index.html?action=login`中的`action=login`就是参数部分。 | **contain** :包含
**ncontain** :不包含
**equal** :等于
**nequal** :不等于
**lless** :长度小于
**lequal** :长度等于
**lgreat** :长度大于
**inlist** :等于多值之一
**ninlist** :不等于多值之一 |'."\n" - .'| **cookie** | 访问请求中的Cookie信息。 | **contain** :包含
**ncontain** :不包含
**equal** :等于
**nequal** :不等于
**lless** :长度小于
**lequal** :长度等于
**lgreat** :长度大于
**nexist** :不存在
**inlist** :等于多值之一
**ninlist** :不等于多值之一|'."\n" - .'| **content-type** | 访问请求指定的响应HTTP内容类型,即MIME类型信息。 | **contain** :包含
**ncontain** :不包含
**equal** :等于
**nequal** :不等于
**lless** :长度小于
**lequal** :长度等于
**lgreat** :长度大于
**inlist** :等于多值之一
**ninlist** :不等于多值之一|'."\n" - .'| **x-forwarded-for** | 访问请求的客户端真实IP。X-Forwarded-For(XFF)用来识别通过HTTP代理或负载均衡方式转发的访问请求的客户端最原始的IP地址的HTTP请求头字段,只有通过HTTP代理或者负载均衡服务器转发的访问请求才会包含该项。 | **contain** :包含
**ncontain** :不包含
**equal** :等于
**nequal** :不等于
**lless** :长度小于
**lequal** :长度等于
**lgreat** :长度大于
**nexist** :不存在
**inlist** :等于多值之一
**ninlist** :不等于多值之一|'."\n" - .'| **content-length** | 访问请求的所包含的字节数。 | **vless** :值小于
**vequal** :值等于
**vgreat** :值大于 |'."\n" - .'| **post-body** | 访问请求的内容信息。 | **contain** :包含
**ncontain** :不包含
**equal** :等于
**nequal** :不等于
**inlist** :等于多值之一
**ninlist** :不等于多值之一|'."\n" - .'| **http-method** | 访问请求的方法,如GET、POST等。 | **equal** :等于
**nequal** :不等于
**inlist** :等于多值之一
**ninlist** :不等于多值之一|'."\n" - .'| **header** | 访问请求的头部信息,用于自定义HTTP头部字段。 | **contain** :包含
**ncontain** :不包含
**equal** :等于
**nequal** :不等于
**lless** :长度小于
**lequal** :长度等于
**lgreat** :长度大于
**nexist** :不存在
**inlist** :等于多值之一
**ninlist** :不等于多值之一|'."\n" - .'| **scheme** | 访问请求协议,如HTTP、HTTPS等。 | **equal** :等于
**nequal** :不等于|'."\n" - .'| **protocol** | 访问请求的HTTP版本,如HTTP/1.0、HTTP/1.1、HTTP/2.0。 |
**equal** :等于
**nequal** :不等于
**inlist** :等于多值之一
**ninlist** :不等于多值之一|'."\n" - .'| **http2-fingerprint** | 访问请求HTTP2.0指纹。 |
**equal** :等于
**nequal** :不等于
**inlist** :等于多值之一
**ninlist** :不等于多值之一|'."\n" - .'| **ja3-fingerprint** | 访问请求JA3指纹 。 |
**equal** :等于
**nequal** :不等于
**inlist** :等于多值之一
**ninlist** :不等于多值之一|'."\n" - .'| **ja4-fingerprint** | 访问请求JA4指纹 。 |
**equal** :等于
**nequal** :不等于
**inlist** :等于多值之一
**ninlist** :不等于多值之一|'."\n" - .'| **area** | 请求大洲/国家 。 |
**areainlist** :区域封禁选择|'."\n" - .'| **uri-path** | 请求URI-Path。 | **contain** :包含
**ncontain** :不包含
**equal** :等于
**nequal** :不等于
**lless** :长度小于
**lequal** :长度等于
**lgreat** :长度大于
**prefix** :前缀匹配
**inlist** :等于多值之一
**ninlist** :不等于多值之一|'."\n" - .'| **cookie-name** | 自定义Cookie。 | **contain** :包含
**ncontain** :不包含
**equal** :等于
**nequal** :不等于
**lless** :长度小于
**lequal** :长度等于
**lgreat** :长度大于
**prefix** :前缀匹配
**inlist** :等于多值之一
**ninlist** :不等于多值之一|'."\n" - .'| **query-parameter** | 自定义请求参数。 | **contain** :包含
**ncontain** :不包含
**equal** :等于
**nequal** :不等于
**lless** :长度小于
**lequal** :长度等于
**lgreat** :长度大于
**prefix** :前缀匹配
**inlist** :等于多值之一
**ninlist** :不等于多值之一|'."\n" - .'| **server-port** | 请求Server-Port。 | **vless** :值小于
**vequal** :值等于
**vgreat** :值大于|', + '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":""}]', ], - 'ModifyWebCCGlobalSwitch' => [ - 'summary' => '本接口用于设置网站业务CC安全防护模块的开关状态。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + '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' => '网站业务的域名。'."\n" - .'> 域名必须已配置网站业务转发规则。您可以调用[DescribeDomains](~~91724~~)查询所有域名。'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'example.aliyundoc.com'."\n", - ], + 'schema' => ['description' => 'DDoS高防实例在资源管理产品中所属的资源组ID。默认为空,即属于默认资源组。', 'type' => 'string', 'required' => false, 'example' => 'default'], ], [ - 'name' => 'CcGlobalSwitch', + 'name' => 'EntityType', 'in' => 'query', - 'schema' => [ - 'description' => '开关状态。取值:'."\n" - .'- **open**:开启'."\n" - .'- **close**:关闭', - 'type' => 'string', - 'required' => true, - 'example' => 'open', - ], + 'schema' => ['description' => '使用操作对象筛选结果,传入要查询的操作对象的类型。取值:'."\n" + ."\n" + .'- **1**:DDoS高防IP'."\n" + .'- **2**:DDoS高防抗D包'."\n" + .'- **3**:ECS实例'."\n" + .'- **4**:全量日志', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], + ], + [ + 'name' => 'EntityObject', + 'in' => 'query', + 'schema' => ['description' => '使用操作对象筛选结果,传入要查询的操作对象。', 'type' => 'string', 'required' => false, 'example' => '203.***.***.132'], + ], + [ + 'name' => 'StartTime', + 'in' => 'query', + 'schema' => ['description' => '查询开始时间。时间戳格式,单位:毫秒。'."\n" + ."\n" + .'> 查询时间的跨度不允许超过近30天。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1582992000000'], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => ['description' => '查询结束时间。时间戳格式,单位:毫秒。'."\n" + ."\n" + .'> 查询时间的跨度不允许超过近30天。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1583683200000'], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => ['description' => '分页查询请求时返回的页码。例如,查询第一页的返回结果,则填写**1**。'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1'], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['description' => '页面显示的记录数量。最大值:**50**。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '10'], ], ], 'responses' => [ @@ -11379,229 +9904,339 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '本次调用请求的 ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。', - 'type' => 'string', - 'example' => '5AE2FC86-C840-41AE-9F1A-3A2747C7C1DF', + 'TotalCount' => ['description' => '操作记录的总数。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'FB24D70C-71F5-4000-8CD8-22CDA0C53CD1'], + 'OpEntities' => [ + 'description' => '操作日志记录。', + 'type' => 'array', + 'items' => [ + 'description' => '操作日志记录。', + 'type' => 'object', + 'properties' => [ + 'EntityType' => ['description' => '操作对象的类型。取值:'."\n" + ."\n" + .'- **1**:DDoS高防IP'."\n" + .'- **2**:DDoS高防抗D包'."\n" + .'- **3**:ECS实例'."\n" + .'- **4**:全量日志', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'EntityObject' => ['description' => '操作对象。', 'type' => 'string', 'example' => '203.***.***.132'], + 'GmtCreate' => ['description' => '操作时间。时间戳格式,单位:毫秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1584451769000'], + 'OpAction' => ['description' => '操作类型。取值:'."\n" + .'- **1**:设置弹性防护带宽。'."\n" + .'- **5**:抵扣抗D包。'."\n" + .'- **8**:更换ECS IP。'."\n" + .'- **9**:执行黑洞解封。'."\n" + .'- **10**:设置近源流量压制。'."\n" + .'- **11**:清空全量日志。'."\n" + .'- **12**:降级实例规格,表示实例到期或账号存在欠费时,降低弹性防护带宽。'."\n" + .'- **13**:恢复实例规格,表示实例续费或账号欠费结清时,恢复弹性防护带宽。', 'type' => 'integer', 'format' => 'int32', 'example' => '9'], + 'OpAccount' => ['description' => '执行操作的阿里云账号ID。', 'type' => 'string', 'example' => '128965410602****'], + 'OpDesc' => ['description' => '操作的描述信息,使用JSON格式的字符串表述,具体结构如下:'."\n" + ."\n" + .'- **newEntity**:String类型,操作后的参数。'."\n" + .'- **oldEntity**:String类型,操作前的参数。'."\n" + ."\n" + .'**newEntity**和**oldEntity**均使用JSON格式的字符串表述。不同操作类型(**OpAtion**)对应的操作参数不同。'."\n" + ."\n" + .'**OpAction**为**1**、**12**、**13**时,操作参数的结构描述如下:'."\n" + .'- **elasticBandwidth**:Integer类型,弹性防护带宽值,单位:Gbps。'."\n" + ."\n" + .' 示例:`{"newEntity":{"elasticBandwidth":300},"oldEntity":{"elasticBandwidth":300}}`'."\n" + ."\n\n" + .'**OpAction**为**5**时,操作参数的结构描述如下:'."\n" + .'- **bandwidth**:Integer类型,弹性防护带宽,单位:Gbps。'."\n" + .'- **count**:Integer类型,抗D包数量。'."\n" + .'- **deductCount**:Integer类型,抵扣的抗D包数量。'."\n" + .'- **expireTime**:Long类型,抗D包的到期时间。时间戳格式,单位:毫秒。'."\n" + .'- **instanceId**:String类型,DDoS高防实例ID。'."\n" + .'- **peakFlow**:Integer类型,峰值流量,单位:bps。'."\n" + ."\n" + .' 示例:`{"newEntity":{"bandwidth":100,"count":4,"deductCount":1,"expireTime":1616299196000,"instanceId":"ddoscoo-cn-v641kpmq****","peakFlow":751427000}}`'."\n" + ."\n\n" + .'**OpAction**为**8**时,操作参数的结构描述如下:'."\n" + .'- **instanceId**:String类型,更换IP的ECS实例ID。'."\n" + ."\n" + .' 示例:`{"newEntity":{"instanceId":"i-wz9h6nc313zptbqn****"}}` '."\n" + .' '."\n" + ."\n" + .'**OpAction**为**9**时,操作参数的结构描述如下:'."\n" + .'- **actionMethod**:String类型,操作方法。取值:**undo**,表示解除黑洞。'."\n" + ."\n" + .' 示例:`{"newEntity":{"actionMethod":"undo"}}` '."\n" + .' '."\n" + ."\n" + .'**OpAction**为**10**时,操作参数的结构描述如下:'."\n" + .'- **actionMethod**:String类型,操作方法。取值:'."\n" + .' - **do**:开启近源流量压制'."\n" + .' - **undo**:取消近源流量压制'."\n" + .'- **lines**:Array类型,操作的线路类型。取值:'."\n" + .' - **ct**:电信海外线路'."\n" + .' - **cut**:联通海外线路'."\n" + ."\n" + .' 示例:`{"newEntity":{"actionMethod":"undo","lines":["ct"]}}`'."\n" + ."\n\n" + .'**OpAction**为**11**时,无操作参数,操作描述为空。', 'type' => 'string', 'example' => '{"newEntity":{"actionMethod":"undo"}}'], + ], + ], ], ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'title' => '查询DDoS高防(中国内地)的操作日志', + 'summary' => '查询DDoS高防(中国内地)的操作日志。', + 'description' => '> 该接口仅适用于DDoS高防(中国内地)服务。'."\n" + ."\n" + .'操作日志的类型包括:设置实例弹性防护规格、执行黑洞解封、设置近源流量压制、抵扣抗D包、更换ECS IP、清空全量日志等。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:23.000Z', 'description' => '错误码发生变更'], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"5AE2FC86-C840-41AE-9F1A-3A2747C7C1DF\\"\\n}","type":"json"}]', - 'title' => '设置网站业务CC安全防护模块的开关状态', - ], - 'ConfigL7GlobalRule' => [ - 'summary' => '配置DDoS全局防护策略。', - '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' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + '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":""}]', + ], + 'DescribePort' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'none', - 'abilityTreeCode' => '254166', - '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' => '要查询的DDoS高防实例的ID。'."\n" + ."\n" + .'> 您可以调用[DescribeInstanceIds](~~157459~~)查询所有DDoS高防实例的ID。', 'type' => 'string', 'required' => true, 'example' => 'ddoscoo-cn-7e225i41****'], ], [ - 'name' => 'RuleAttr', + 'name' => 'FrontendProtocol', 'in' => 'query', 'schema' => [ - 'description' => '配置全局模板规则动作和开关。使用JSON结构体数组转化的字符串格式表示,JSON结构体包含以下字段:'."\n" + 'description' => '要查询的转发协议类型。取值:'."\n" ."\n" - .' - **RuleId**:String类型 | 必选 | 规则ID。'."\n" - .' - **Action**:String类型 | 必选 | 规则动作。取值:'."\n" - .' - **block**:拦截。'."\n" - .' - **watch**:观察。'."\n" - .' - **challenge**:挑战。'."\n" - .' - **Enabled**:Integer类型 | 必选 | 规则开关。取值:'."\n" - .' - **1**:开启规则。'."\n" - .' - **0**:关闭规则。', + .'- **tcp**:表示TCP协议。'."\n" + .'- **udp**:表示UDP协议。'."\n", 'type' => 'string', - 'required' => true, - 'example' => '[{\\"RuleId\\":\\"global_01\\",\\"Action\\":\\"block\\",\\"Enabled\\":0}]', + 'required' => false, + 'example' => 'tcp', + 'enum' => ['tcp', 'udp'], ], ], + [ + 'name' => 'FrontendPort', + 'in' => 'query', + 'schema' => ['description' => '要查询的转发端口。取值范围:**0**~**65535**。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '55'], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => ['description' => '分页查询时返回的页码。例如,查询第一页的返回结果,则设置**1**。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['description' => '分页查询时每页包含的记录数量。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'], + ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。', - 'type' => 'string', - 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80', + 'TotalCount' => ['description' => '返回的端口转发规则的数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], + 'RequestId' => ['description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。', 'type' => 'string', 'example' => '39499F01-19D9-4EA4-A0E9-C6014BA5CDBE'], + 'NetworkRules' => [ + 'description' => '端口转发规则配置列表。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'FrontendPort' => ['description' => '转发端口。', 'type' => 'integer', 'format' => 'int32', 'example' => '55'], + 'IsAutoCreate' => ['description' => '该规则是否由DDoS高防自动生成。取值:'."\n" + .'- **true**:表示由DDoS高防自动生成。'."\n" + .'- **false**:表示由您手动创建。', 'type' => 'boolean', 'example' => 'false'], + 'InstanceId' => ['description' => '转发规则所属的DDoS高防实例的ID。', 'type' => 'string', 'example' => 'ddoscoo-cn-7e225i41****'], + 'FrontendProtocol' => ['description' => '转发协议类型。取值:'."\n" + .'- **tcp**:表示TCP协议。'."\n" + .'- **udp**:表示UDP协议。', 'type' => 'string', 'example' => 'tcp'], + 'BackendPort' => ['description' => '源站端口。', 'type' => 'integer', 'format' => 'int32', 'example' => '55'], + 'RealServers' => [ + 'description' => '源站IP地址列表。', + 'type' => 'array', + 'items' => ['description' => '源站IP地址。', 'type' => 'string', 'example' => '1.XX.XX.1'], + ], + ], + ], ], ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'title' => '查询端口转发规则', + 'summary' => '查询DDoS高防实例下已创建的端口转发规则。', + 'description' => '本接口支持与Terraform工具对接。关于Terraform的更多信息,请参见[什么是Terraform](~~95820~~)。', + 'changeSet' => [ + ['createdAt' => '2025-08-14T03:28:22.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2025-08-14T01:39:28.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2025-08-14T01:39:28.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2024-08-30T07:13:07.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2022-09-08T03:34:23.000Z', 'description' => '错误码发生变更'], + ], + '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' => '全部资源', 'arn' => '*'], + ], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CF33B4C3-196E-4015-AADD-5CAD00057B80\\"\\n}","type":"json"}]', - 'title' => '配置DDoS全局防护策略', + '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"}]', ], - 'DescribeL7GlobalRule' => [ - 'summary' => '查询DDoS全局防护策略。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'https', - ], + 'DescribePortAttackMaxFlow' => [ + 'summary' => '查询指定时间段内DDoS高防受到的攻击带宽和包速峰值。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', - 'abilityTreeCode' => '254169', - 'abilityTreeNodes' => [ - 'FEATUREddosOZ1QOD', - ], + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '106165', + 'abilityTreeNodes' => ['FEATUREddosRTUJBH'], ], 'parameters' => [ [ - 'name' => 'Domain', + 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => '要操作的网站业务的域名。', - 'type' => 'string', - 'required' => true, - 'example' => 'example.com', - ], + 'schema' => ['description' => 'DDoS高防实例在资源管理服务中所属的资源组ID。'."\n" + ."\n" + .'不设置该参数表示默认资源组。', 'type' => 'string', 'required' => false, 'example' => 'rg-acfm2pz25js****'], ], [ - 'name' => 'Lang', + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => ['description' => '要查询的流量数据的结束时间。使用时间戳表示,单位:秒。'."\n" + ."\n" + .'> 必须为整点分钟。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1583683200'], + ], + [ + 'name' => 'StartTime', + 'in' => 'query', + 'schema' => ['description' => '要查询的流量数据的开始时间。使用时间戳表示,单位:秒。'."\n" + ."\n" + .'> 必须为整点分钟。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1582992000'], + ], + [ + 'name' => 'InstanceIds', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => '请求和接收消息的语言类型。取值范围:'."\n" + 'description' => '要查询的DDoS高防实例的ID列表。', + 'type' => 'array', + 'items' => ['description' => '要查询的DDoS高防实例的ID。'."\n" ."\n" - .'- zh:中文'."\n" - .'- en:英文', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', + .'> 您可以调用[DescribeInstanceIds](~~157459~~)查询所有DDoS高防实例的ID。', 'type' => 'string', 'required' => false, 'example' => 'ddoscoo-cn-zvp2eibz****'], + 'required' => true, + 'example' => 'ddoscoo-cn-mp91j1ao****', + 'maxItems' => 100, ], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。', - 'type' => 'string', - 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80', - ], - 'GlobalRules' => [ - 'description' => '全局模板规则信息。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Action' => [ - 'description' => '规则生效动作。取值:'."\n" - ."\n\n" - .'- **watch**:观察。'."\n" - .'- **block**:拦截。'."\n" - .'- **challenge**:挑战。', - 'type' => 'string', - 'enumValueTitles' => [], - 'example' => 'watch', - ], - 'ActionDefault' => [ - 'description' => '规则默认动作。取值:'."\n" - ."\n\n" - .'- **watch**:观察。'."\n" - .'- **block**:拦截。'."\n" - .'- **challenge**:挑战。', - 'type' => 'string', - 'enumValueTitles' => [], - 'example' => 'watch', - ], - 'Enabled' => [ - 'description' => '规则是否开启。取值:'."\n" - ."\n" - .'- **1**:开启。'."\n" - .'- **0**:关闭。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'RuleId' => [ - 'description' => '规则ID。', - 'type' => 'string', - 'example' => 'global_1', - ], - 'Description' => [ - 'description' => '规则描述。', - 'type' => 'string', - 'example' => 'HTTP请求疑似模拟浏览器,校验浏览器Header等组合特征#4', - ], - 'RuleName' => [ - 'description' => '规则名称。', - 'type' => 'string', - 'example' => '模拟浏览器请求', - ], - ], - ], - ], + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E'], + 'Bps' => ['description' => '攻击带宽峰值。单位:bps。', 'type' => 'integer', 'format' => 'int64', 'example' => '149559'], + 'Pps' => ['description' => '攻击包速峰值。单位:pps。', 'type' => 'integer', 'format' => 'int64', 'example' => '23'], ], + 'description' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'title' => '查询DDoS高防受到的攻击带宽和包速峰值', + 'description' => '本接口用于查询指定时间段内DDoS高防受到的攻击带宽和包速峰值。'."\n" + ."\n" + .'### QPS限制'."\n" + ."\n" + .'本接口的单用户QPS限制为10次/秒。超过限制,API调用将会被限流,这可能影响您的业务,请合理调用。', + 'requestParamsDescription' => '调用API时,除了本文中该API的请求参数,还需加入阿里云API公共请求参数。公共请求参数的详细介绍,请参见[公共参数](~~157269~~)。'."\n" + ."\n" + .'调用API的请求格式,请参见本文**示例**中的请求示例。', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:22.000Z', 'description' => '错误码发生变更'], ], - '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' => '查询DDoS全局防护策略', - ], - 'DescribeDomainCcProtectSwitch' => [ - 'methods' => [ - 'post', - 'get', + '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' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + '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":""}]', + ], + 'DescribePortAutoCcStatus' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -11611,40 +10246,22 @@ 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '106122', - 'abilityTreeNodes' => [ - 'FEATUREddosRTUJBH', - ], + 'abilityTreeCode' => '106166', + 'abilityTreeNodes' => ['FEATUREddosI8LHMA'], ], 'parameters' => [ [ - 'name' => 'ResourceGroupId', - 'in' => 'query', - 'schema' => [ - 'description' => 'ddos高防实例在资源管理产品中所属的资源组id。默认为空,即属于默认资源组。', - 'type' => 'string', - 'required' => false, - 'example' => 'rg-acfm2pz25js****', - ], - ], - [ - 'name' => 'Domains', + 'name' => 'InstanceIds', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ - 'description' => '网站业务的域名。最多可查询5个网站业务域名。'."\n" - .'> 域名必须已配置网站业务转发规则。您可以调用[DescribeDomains](~~91724~~)查询所有域名。', + 'description' => 'DDoS高防实例的ID。'."\n" + .'> 您可以调用[DescribeInstanceIds](~~157459~~)查询所有DDoS高防实例的ID信息。', 'type' => 'array', - 'items' => [ - 'description' => '已配置网站业务转发规则的域名。', - 'type' => 'string', - 'required' => false, - 'example' => 'www.aliyundoc.com', - ], + 'items' => ['description' => 'DDoS高防实例的ID。', 'type' => 'string', 'required' => false, 'example' => 'ddoscoo-cn-mp91j1ao****'], 'required' => true, - 'maxItems' => 5, + 'example' => 'ddoscoo-cn-mp91j1ao****', + 'maxItems' => 100, ], ], ], @@ -11653,103 +10270,27 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。', - 'type' => 'string', - 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80', - ], - 'ProtectSwitchList' => [ - 'description' => '网站业务各防护功能的开关状态。', + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'BC3C6403-F248-4125-B2C9-8733ED94EA85'], + 'PortAutoCcStatus' => [ + 'description' => '非网站业务AI智能防护的配置信息。', 'type' => 'array', 'items' => [ - 'description' => '网站业务各防护功能的开关状态。', 'type' => 'object', 'properties' => [ - 'BlackWhiteListEnable' => [ - 'description' => '黑白名单的开关状态。取值:'."\n" - .'- **0**:关闭'."\n" - .'- **1**:开启', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'AiTemplate' => [ - 'description' => 'AI智能防护的等级。取值:'."\n" - .'- **level30**:宽松'."\n" - .'- **level60**:正常'."\n" - .'- **level90**:严格', - 'type' => 'string', - 'example' => 'level60', - ], - 'PreciseRuleEnable' => [ - 'description' => '精确访问控制的开关状态。取值:'."\n" - .'- **0**:关闭'."\n" - .'- **1**:开启', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'Domain' => [ - 'description' => '网站域名。', - 'type' => 'string', - 'example' => 'www.aliyundoc.com', - ], - 'AiMode' => [ - 'description' => 'ai智能防护的模式。取值:'."\n" - .'- **watch**:预警模式'."\n" - .'- **defense**:防护模式', - 'type' => 'string', - 'example' => 'defense', - ], - 'AiRuleEnable' => [ - 'description' => 'AI智能防护的开关状态。取值:'."\n" - .'- **0**:关闭'."\n" - .'- **1**:开启', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'RegionBlockEnable' => [ - 'description' => '区域封禁(针对域名)的开关状态。取值:'."\n" - .'- **0**:关闭'."\n" - .'- **1**:开启', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'CcTemplate' => [ - 'description' => 'CC防护模式,取值:'."\n" - ."\n" - .'- **default**:正常'."\n" - .'- **gf_under_attack**:攻击紧急'."\n" - .'- **gf_sos_verify**:严格'."\n" - .'- **gf_sos_enhance**:非常严格', - 'type' => 'string', - 'example' => 'default', - ], - 'CcCustomRuleEnable' => [ - 'description' => '自定义cc规则的启用状态。取值:'."\n" - .'- **0**:关闭'."\n" - .'- **1**:开启', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'CcEnable' => [ - 'description' => '频率控制防护(cc防护)的开关状态。取值:'."\n" - .'- **0**:关闭'."\n" - .'- **1**:开启', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'CcGlobalSwitch' => [ - 'description' => '自定义和精准防护CC开关状态。取值:'."\n" - .'- **open**:开启'."\n" - .'- **close**:关闭', - 'type' => 'string', - 'example' => 'close', - ], + 'Switch' => ['description' => 'AI智能防护的开关状态。取值:'."\n" + .'- **on**:开启'."\n" + .'- **off**:关闭', 'type' => 'string', 'example' => 'on'], + 'Mode' => ['description' => 'AI智能防护的模式。取值:'."\n" + .'- **normal**:正常'."\n" + .'- **loose**:宽松'."\n" + .'- **strict**:严格', 'type' => 'string', 'example' => 'normal'], + 'WebSwitch' => ['description' => '80和443端口的防护开关状态。取值:'."\n" + .'- **on**:开启'."\n" + .'- **off**:关闭', 'type' => 'string', 'example' => 'off'], + 'WebMode' => ['description' => '80和443端口的防护模式。取值:'."\n" + .'- **normal**:正常'."\n" + .'- **loose**:宽松'."\n" + .'- **strict**:严格', 'type' => 'string', 'example' => 'normal'], ], ], ], @@ -11757,108 +10298,135 @@ ], ], ], - '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"}]', - 'title' => '查询网站业务DDoS防护配置各开关状态', - 'summary' => '查询指定域名的cc防护功能开关状态', - ], - 'ConfigDomainSecurityProfile' => [ - 'summary' => '配置DDoS全局防护策略的开关和等级。', - 'methods' => [ - 'get', - 'post', + 'title' => '查询非网站业务AI智能防护的配置信息', + 'summary' => '查询非网站业务AI智能防护的配置信息。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:22.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribePortAutoCcStatus'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribePortAutoCcStatus', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + '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":""}]', + ], + 'DescribePortConnsCount' => [ + 'summary' => '查询DDoS高防实例的端口连接数统计信息。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', - 'abilityTreeCode' => '106289', - 'abilityTreeNodes' => [ - 'FEATUREddos64TBV6', - ], + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '106173', + 'abilityTreeNodes' => ['FEATUREddosRTUJBH'], ], 'parameters' => [ [ - 'name' => 'Domain', + 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => '网站业务的域名。'."\n" - .'> 域名必须已配置网站业务转发规则。您可以调用[DescribeDomains](~~91724~~)查询所有域名。', - 'type' => 'string', - 'required' => true, - 'example' => 'example.aliyundoc.com', - ], + 'schema' => ['description' => 'DDoS高防实例在资源管理产品中所属的资源组ID。默认为空,即属于默认资源组。', 'type' => 'string', 'required' => false, 'example' => 'default'], ], [ - 'name' => 'Config', + 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => '配置网站业务DDoS全局防护策略,具体结构如下。'."\n" - .'- **global_rule_mode**:String类型,可选,DDoS全局防护功能的防护等级。取值:'."\n" - .' - **weak**:宽松'."\n" - .' - **default**:正常'."\n" - .' - **hard**:严格'."\n" - .'- **global_rule_enable**:integer类型,可选,DDoS全局防护功能的开关。取值:'."\n" - .' - **0**:关闭'."\n" - .' - **1**:开启'."\n" - ."\n" - .'配置网站业务DDoS防护自定义防护策略黑/白名单防护策略功能,具体结构如下。'."\n" - .'- **bwlist_enable**:integer类型,可选,自定义防护策略黑/白名单开关。取值:'."\n" - .' - **0**:关闭'."\n" - .' - **1**:开启', - 'type' => 'string', - 'required' => true, - 'example' => '{"global_rule_mode":"hard"}', - ], + 'schema' => ['description' => '查询结束时间。时间戳格式,单位:秒。'."\n" + .'> 必须为整点分钟。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1583683200'], ], [ - 'name' => 'Cluster', + 'name' => 'StartTime', + 'in' => 'query', + 'schema' => ['description' => '查询开始时间。时间戳格式,单位:秒。'."\n" + .'> 必须为整点分钟。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1582992000'], + ], + [ + 'name' => 'Port', + 'in' => 'query', + 'schema' => ['description' => '要查询的端口号。不传入该参数表示查询所有端口号。', 'type' => 'string', 'required' => false, 'example' => '80'], + ], + [ + 'name' => 'InstanceIds', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => '暂无使用', - 'type' => 'string', - 'required' => false, - 'example' => 'default', + 'description' => 'DDoS高防实例的ID。'."\n" + .'> 您可以调用[DescribeInstanceIds](~~157459~~)查询所有DDoS高防实例的ID信息。', + 'type' => 'array', + 'items' => ['description' => 'DDoS高防实例的ID。', 'type' => 'string', 'required' => false, 'example' => 'ddoscoo-cn-mp91j1ao****'], + 'required' => true, + 'example' => 'ddoscoo-cn-mp91j1ao****', + 'maxItems' => 100, ], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。', - 'type' => 'string', - 'example' => '9728769F-9466-534E-BE12-CAB29A675828', - ], + 'InActConns' => ['description' => '不活跃的连接数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '121'], + 'ActConns' => ['description' => '活跃的连接数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '159'], + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => '48859E14-A9FB-4100-99FF-AAB75CA46776'], + 'Cps' => ['description' => '新建连接数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'], + 'Conns' => ['description' => '并发连接数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '46340'], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"9728769F-9466-534E-BE12-CAB29A675828\\"\\n}","type":"json"}]', - 'title' => '配置网站业务DDoS防护', - ], - 'ModifyPortAutoCcStatus' => [ - 'methods' => [ - 'post', - 'get', + 'title' => '查询实例端口连接数统计信息', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:22.000Z', 'description' => '错误码发生变更'], + ], + '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' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + '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":""}]', + ], + 'DescribePortConnsList' => [ + 'summary' => '查询DDoS高防实例的端口连接数列表。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -11867,47 +10435,53 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', - 'abilityTreeCode' => '106254', - 'abilityTreeNodes' => [ - 'FEATUREddosN7DYCX', - ], + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '106174', + 'abilityTreeNodes' => ['FEATUREddosRTUJBH'], ], 'parameters' => [ [ - 'name' => 'InstanceId', + 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => 'DDoS高防实例的ID。'."\n" - .'> 您可以调用[DescribeInstanceIds](~~157459~~)查询所有DDoS高防实例的ID信息。', - 'type' => 'string', - 'required' => true, - 'example' => 'ddoscoo-cn-mp91j1ao****', - ], + 'schema' => ['description' => 'DDoS高防实例在资源管理产品中所属的资源组ID。默认为空,即属于默认资源组。', 'type' => 'string', 'required' => false, 'example' => 'default'], ], [ - 'name' => 'Switch', + 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => '非网站业务AI智能防护的开关状态。取值:'."\n" - .'- **on**:开启'."\n" - .'- **off**:关闭', - 'type' => 'string', - 'required' => true, - 'example' => 'on', - ], + 'schema' => ['description' => '查询结束时间。时间戳格式,单位:秒。'."\n" + .'> 必须为整点分钟。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1583683200'], ], [ - 'name' => 'Mode', + 'name' => 'StartTime', + 'in' => 'query', + 'schema' => ['description' => '查询开始时间。时间戳格式,单位:秒。'."\n" + .'> 必须为整点分钟。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1582992000'], + ], + [ + 'name' => 'Interval', + 'in' => 'query', + 'schema' => ['description' => '返回数据的步长,单位为秒,即每隔多少秒返回一个结果。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1000'], + ], + [ + 'name' => 'Port', 'in' => 'query', + 'schema' => ['description' => '要查询的端口号。不传入该参数表示查询所有端口。', 'type' => 'string', 'required' => false, 'example' => '80'], + ], + [ + 'name' => 'InstanceIds', + 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => '非网站业务AI智能防护的模式。取值:'."\n" - .'- **normal**:正常'."\n" - .'- **loose**:宽松'."\n" - .'- **strict**:严格', - 'type' => 'string', + 'description' => 'DDoS高防实例的ID。'."\n" + .'> 您可以调用[DescribeInstanceIds](~~157459~~)查询所有DDoS高防实例的ID信息。', + 'type' => 'array', + 'items' => ['description' => 'DDoS高防实例的ID。'."\n" + .'> 您可以调用[DescribeInstanceIds](~~157459~~)查询所有DDoS高防实例的ID信息。', 'type' => 'string', 'required' => false, 'example' => 'ddoscoo-cn-mp91j1ao****'], 'required' => true, - 'example' => 'normal', + 'example' => 'ddoscoo-cn-mp91j1ao****', + 'maxItems' => 100, ], ], ], @@ -11916,32 +10490,59 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc', + 'RequestId' => ['description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。', 'type' => 'string', 'example' => '6D48AED0-41DB-5D9B-B484-3B6AAD312AD1'], + 'ConnsList' => [ + 'description' => '端口连接数据列表。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'ActConns' => ['description' => '活跃连接数。', 'type' => 'integer', 'format' => 'int64', 'example' => '3'], + 'InActConns' => ['description' => '不活跃连接数。', 'type' => 'integer', 'format' => 'int64', 'example' => '2'], + 'Index' => ['description' => '返回数据的索引。', 'type' => 'integer', 'format' => 'int64', 'example' => '16506'], + 'Cps' => ['description' => '新建连接数。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'], + 'Conns' => ['description' => '> 该参数在内部测试中,暂时请勿使用。', 'type' => 'integer', 'format' => 'int64', 'example' => '8'], + ], + 'description' => '', + ], ], ], + 'description' => '', ], ], ], - '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' => '设置非网站业务AI智能防护', - 'summary' => '设置非网站业务AI智能防护。', - 'requestParamsDescription' => ' ', + 'title' => '查询DDoS高防实例的端口连接数列表', + 'requestParamsDescription' => '调用API时,除了本文中该API的请求参数,还需加入阿里云API公共请求参数。公共请求参数的详细介绍,请参见[公共参数](~~157269~~)。'."\n" + ."\n" + .'调用API的请求格式,请参见本文**示例**中的请求示例。', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'ModifyNetworkRuleAttribute' => [ - 'summary' => '编辑端口转发规则的会话保持和DDoS防护策略设置。', - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2022-04-27T09:19:38.000Z', 'description' => '响应参数发生变更、错误码发生变更'], + ], + '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' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + '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":""}]', + ], + 'DescribePortFlowList' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -11950,96 +10551,56 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '106251', - 'abilityTreeNodes' => [ - 'FEATUREddosOZ1QOD', - ], + 'operationType' => 'get', + 'abilityTreeCode' => '106175', + 'abilityTreeNodes' => ['FEATUREddosRTUJBH'], ], 'parameters' => [ [ - 'name' => 'InstanceId', + 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => 'DDoS高防实例的ID。'."\n" - .'> 您可以调用[DescribeInstanceIds](~~157459~~)查询所有DDoS高防实例的ID信息。', - 'type' => 'string', - 'required' => true, - 'example' => 'ddoscoo-cn-mp91j1ao****', - ], + 'schema' => ['description' => 'DDoS高防实例在资源管理服务中所属的资源组ID。默认为空,即属于默认资源组。'."\n" + ."\n" + .'关于资源组的更多信息,请参见[创建资源组](~~94485~~)。'."\n", 'type' => 'string', 'required' => false, 'example' => 'rg-acfm2pz25js****'], ], [ - 'name' => 'ForwardProtocol', + 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => '转发协议。取值:'."\n" - .'- **tcp**'."\n" - .'- **udp**', - 'type' => 'string', - 'required' => true, - 'example' => 'tcp', - ], + 'schema' => ['description' => '设置查询结束时间。使用时间戳格式,单位:秒。'."\n" + ."\n" + .'> 必须设置成整点分钟。'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1583683200'], ], [ - 'name' => 'FrontendPort', + 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => '转发端口。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '8080', - ], + 'schema' => ['description' => '设置查询开始时间。使用时间戳格式,单位:秒。'."\n" + ."\n" + .'> 必须设置成整点分钟。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1582992000'], ], [ - 'name' => 'Config', + 'name' => 'Interval', 'in' => 'query', - 'schema' => [ - 'description' => '端口转发规则的属性设置。使用JSON格式的字符串表述,具体结构描述如下。'."\n" - .'TcpConfig 的具体结构描述见如下:'."\n" - .'- **PersistenceTimeout**:Integer类型,必选,会话保持的超时时间。取值范围:**30**~**3600**,单位:秒。默认为**0**,表示关闭。'."\n" - .'- **Synproxy**,String 类型,必选,DDoS 防护策略的虚假源,取值:off、on。'."\n" - .'- **NodataConn**,String 类型,必选,DDoS 防护策略的空连接,取值:off、on。'."\n" - .'- **Sla**,Struct 类型,必选,目的限制配置。具体结构描述见 Sla。'."\n" - .'- **Slimit**,Struct 类型,必选,源限制配置。具体结构描述见 Slimit。'."\n" - .'- **PayloadLen**,Struct 类型,必选,包过滤配置。具体结构描述见 PayloadLen。'."\n" - ."\n" - .'Sla 的具体结构描述如下:'."\n" - .'- **Cps**,Integer 类型,必选,DDoS 防护策略/目的新建连接限速,取值范围:100~100,000。'."\n" - .'- **Maxconn**,Integer 类型,必选,DDoS 防护策略/目的并发连接限速,取值范围:1,000~1,000,000。'."\n" - .'- **CpsEnable**,Integer 类型,必选,是否开启 Cps,取值:0(禁用 cps)、1(默认,启用 cps)。'."\n" - .'- **MaxconnEnable**,Integer 类型,必选,是否开启 Maxconnection,取值:0(禁用 maxconn)、1(默认,启用 maxconn)。'."\n" - ."\n" - .'Slimit 的具体结构描述如下:'."\n" - .'- **Cps**,Integer 类型,必选,DDoS 防护策略/源新建连接限速,取值范围:1-50000。'."\n" - .'- **Maxconn**,Integer 类型,必选,DDoS 防护策略/源并发连接限速,取值范围:1 - 50000。'."\n" - .'- **CpsEnable**,Integer 类型,必选,是否开启 Cps,取值:0(禁用 cps)、1(默认,启用 cps)。'."\n" - .'- **MaxconnEnable**,Integer 类型,必选,是否开启 Maxconnection,取值:0(禁用 maxconn)、1(默认,启用 maxconn)。'."\n" - .'- **CpsMode**,Integer 类型,必选,源新建连接限速开关,取值:1(关闭)、2(自动)。'."\n" - ."\n" - .'PayloadLen 的具体结构描述如下:'."\n" - .'- **Min**,Integer 类型,必选,DDoS 防护策略/包长度过滤,包长度的最小值,取值范围为 0~1,500。'."\n" - .'- **Max**,Integer 类型,必选,DDoS 防护策略/包长度过滤,包长度的最大值,取值范围为 0~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", - ], + 'schema' => ['description' => '设置返回数据的步长,单位为秒,即每隔多少秒返回一个结果。查询时间范围(由**StartTime**和**EndTime**决定)不同,支持的步长取值范围不同,设置建议如下:'."\n" + ."\n" + .'- 查询时间范围不大于1小时,建议最小步长为60秒,最大不超过查询时间范围。'."\n" + .'- 查询时间范围大于1小时但不超过6小时,建议最小步长为600秒,最大不超过查询时间范围。'."\n" + .'- 查询时间范围大于6小时但不超过24小时,建议最小步长为1800秒,最大不超过查询时间范围。'."\n" + .'- 查询时间范围大于24小时但不超过7天,建议最小步长为3600秒,最大不超过查询时间范围。'."\n" + .'- 查询时间范围大于7天但不超过15天,建议最小步长为14400秒,最大不超过查询时间范围。'."\n" + .'- 查询时间范围大于15天,建议最小步长为43200秒,最大不超过查询时间范围。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1000'], ], [ - 'name' => 'Module', + 'name' => 'InstanceIds', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => '7层端口支持模块(默认sla)。取值:'."\n" - ."\n" - .'**sla**:目的限速', - 'type' => 'string', - 'required' => false, - 'example' => 'sla', - 'enum' => [ - 'sla', - ], + 'description' => 'DDoS高防实例的ID。', + 'type' => 'array', + 'items' => ['description' => 'DDoS高防实例的ID。'."\n" + .'> 您可以调用[DescribeInstanceIds](~~157459~~)查询所有DDoS高防实例的ID信息。', 'type' => 'string', 'required' => false, 'example' => 'ddoscoo-cn-zz120cjv****'], + 'required' => true, + 'example' => 'ddoscoo-cn-mp91j1ao****', + 'maxItems' => 100, ], ], ], @@ -12048,30 +10609,75 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc', + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'FFC77501-BDF8-4BC8-9BF5-B295FBC3189B'], + 'PortFlowList' => [ + 'description' => '查询到的流量数据。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Index' => ['description' => '返回数据的索引号。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'], + 'Time' => ['description' => '统计时间。时间戳格式,单位:秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1582992000'], + 'InPps' => ['description' => '入方向包转发率,单位:pps。', 'type' => 'integer', 'format' => 'int64', 'example' => '2934'], + 'InBps' => ['description' => '入方向带宽,单位:bps。', 'type' => 'integer', 'format' => 'int64', 'example' => '2176000'], + 'Region' => ['description' => '访问流量来源地区。取值:'."\n" + .'- **cn**:中国内地。'."\n" + .'- **alb-ap-northeast-1-gf-x**:日本。'."\n" + .'- **alb-ap-southeast-gf-x**:新加坡。'."\n" + .'- **alb-cn-hongkong-gf-x**:中国香港。'."\n" + .'- **alb-eu-central-1-gf-x**:德国。'."\n" + .'- **alb-us-west-1-gf-x**:美国西部。'."\n" + ."\n" + .'>**cn**以外的取值只有在DDoS高防(国际)服务(**RegionId**为**ap-southeast-1**)中提供。', 'type' => 'string', 'example' => 'cn'], + 'OutPps' => ['description' => '出方向包转发率,单位:pps。', 'type' => 'integer', 'format' => 'int64', 'example' => '5'], + 'AttackPps' => ['description' => '攻击包转发率,单位:pps。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'], + 'OutBps' => ['description' => '出方向带宽,单位:bps。', 'type' => 'integer', 'format' => 'int64', 'example' => '4389'], + 'AttackBps' => ['description' => '攻击带宽,单位:bps。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'], + 'SlaBpsDropBps' => ['description' => '目的带宽,单位:bps。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'], + 'SlaPpsDropBps' => ['description' => '目的报文,单位:bps。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'], + 'SlaCpsDropBps' => ['description' => '目的新建连接数,单位:bps。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'], + 'SlaConnDropBps' => ['description' => '目的并发连接数,单位:bps。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'], + 'SlaBpsDropPps' => ['description' => '目的带宽包转发率,单位:pps。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'], + 'SlaPpsDropPps' => ['description' => '目的报文包转发率,单位:pps。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'], + 'SlaCpsDropPps' => ['description' => '目的新建连接数包转发率,单位:pps。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'], + 'SlaConnDropPps' => ['description' => '目的并发连接数包转发率,单位:pps。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'], + ], + ], ], ], ], ], ], - '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' => '编辑端口转发规则的会话保持和DDoS防护策略设置', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'DescribePortAutoCcStatus' => [ - 'methods' => [ - 'post', - 'get', + 'title' => '查询DDoS高防实例的流量数据列表', + 'summary' => '查询DDoS高防实例的流量数据列表。', + 'changeSet' => [ + ['createdAt' => '2023-05-24T06:10:01.000Z', 'description' => '响应参数发生变更'], + ['createdAt' => '2023-04-18T10:15:59.000Z', 'description' => '响应参数发生变更'], + ['createdAt' => '2022-09-08T03:34:15.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribePortFlowList'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribePortFlowList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + '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"}]', + ], + 'DescribePortMaxConns' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -12081,28 +10687,38 @@ 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', - 'abilityTreeCode' => '106166', - 'abilityTreeNodes' => [ - 'FEATUREddosI8LHMA', - ], + 'abilityTreeCode' => '106176', + 'abilityTreeNodes' => ['FEATUREddosRTUJBH'], ], 'parameters' => [ [ - 'name' => 'InstanceIds', + 'name' => 'ResourceGroupId', 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => 'DDoS高防实例的ID。'."\n" + 'schema' => ['description' => 'DDoS高防实例在资源管理产品中所属的资源组ID。默认为空,即属于默认资源组。', 'type' => 'string', 'required' => false, 'example' => 'default'], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => ['description' => '查询结束时间。时间戳格式,单位:秒。'."\n" + .'> 必须为整点分钟。'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1583683200'], + ], + [ + 'name' => 'StartTime', + 'in' => 'query', + 'schema' => ['description' => '查询开始时间。时间戳格式,单位:秒。'."\n" + .'> 必须为整点分钟。'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1582992000'], + ], + [ + 'name' => 'InstanceIds', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'description' => 'DDoS高防实例的ID。'."\n" .'> 您可以调用[DescribeInstanceIds](~~157459~~)查询所有DDoS高防实例的ID信息。', 'type' => 'array', - 'items' => [ - 'description' => 'DDoS高防实例的ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'ddoscoo-cn-mp91j1ao****', - ], + 'items' => ['description' => 'DDoS高防实例的ID。', 'type' => 'string', 'required' => false, 'example' => ' ddoscoo-cn-mp91j1ao****'], 'required' => true, - 'example' => 'ddoscoo-cn-mp91j1ao****', + 'example' => ' ddoscoo-cn-mp91j1ao****', 'maxItems' => 100, ], ], @@ -12112,47 +10728,16 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => 'BC3C6403-F248-4125-B2C9-8733ED94EA85', - ], - 'PortAutoCcStatus' => [ - 'description' => '非网站业务AI智能防护的配置信息。', + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => '08F79110-2AF5-4FA7-998E-7C5E75EACF9C'], + 'PortMaxConns' => [ + 'description' => 'DDoS高防实例的端口连接峰值信息。', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'Switch' => [ - 'description' => 'AI智能防护的开关状态。取值:'."\n" - .'- **on**:开启'."\n" - .'- **off**:关闭', - 'type' => 'string', - 'example' => 'on', - ], - 'Mode' => [ - 'description' => 'AI智能防护的模式。取值:'."\n" - .'- **normal**:正常'."\n" - .'- **loose**:宽松'."\n" - .'- **strict**:严格', - 'type' => 'string', - 'example' => 'normal', - ], - 'WebSwitch' => [ - 'description' => '80和443端口的防护开关状态。取值:'."\n" - .'- **on**:开启'."\n" - .'- **off**:关闭', - 'type' => 'string', - 'example' => 'off', - ], - 'WebMode' => [ - 'description' => '80和443端口的防护模式。取值:'."\n" - .'- **normal**:正常'."\n" - .'- **loose**:宽松'."\n" - .'- **strict**:严格', - 'type' => 'string', - 'example' => 'normal', - ], + 'Ip' => ['description' => 'DDoS高防实例的IP。', 'type' => 'string', 'example' => '203.***.***.117'], + 'Port' => ['description' => 'DDoS高防实例的端口。', 'type' => 'string', 'example' => '80'], + 'Cps' => ['description' => '最大每秒连接数。', 'type' => 'integer', 'format' => 'int64', 'example' => '100'], ], ], ], @@ -12160,22 +10745,36 @@ ], ], ], - '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' => '查询非网站业务AI智能防护的配置信息', - 'summary' => '查询非网站业务AI智能防护的配置信息。', - 'requestParamsDescription' => ' ', + 'title' => '查询DDoS高防实例的端口连接峰值信息', + 'summary' => '查询DDoS高防实例的端口连接峰值信息。', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeDomains' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:15.000Z', 'description' => '错误码发生变更'], + ], + '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' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + '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":""}]', + ], + 'DescribePortViewSourceCountries' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -12185,41 +10784,39 @@ 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', - 'abilityTreeCode' => '106131', - 'abilityTreeNodes' => [ - 'FEATUREddos64TBV6', - ], - 'tenantRelevance' => 'publicInformation', + 'abilityTreeCode' => '106178', + 'abilityTreeNodes' => ['FEATUREddosRTUJBH'], ], 'parameters' => [ [ 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => 'DDoS高防实例在资源管理服务中所属的资源组ID。默认为空,即属于默认资源组。'."\n" - ."\n" - .'关于资源组的更多信息,请参见[创建资源组](~~94485~~)。', - 'type' => 'string', - 'required' => false, - 'example' => 'rg-acfm2pz25js****', - ], + 'schema' => ['description' => 'DDoS高防实例在资源管理服务中所属的资源组ID。默认为空,即属于默认资源组。'."\n" + ."\n" + .'关于资源组的更多信息,请参见[创建资源组](~~94485~~)。', 'type' => 'string', 'required' => false, 'example' => 'rg-acfm2pz25js****'], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => ['description' => '查询结束时间。时间戳格式,单位:秒。'."\n" + .'> 必须为整点分钟。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1583683200'], + ], + [ + 'name' => 'StartTime', + 'in' => 'query', + 'schema' => ['description' => '查询开始时间。时间戳格式,单位:秒。'."\n" + .'> 必须为整点分钟。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1582992000'], ], [ 'name' => 'InstanceIds', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ - 'description' => '要查询的DDoS高防实例的ID。'."\n" - ."\n" - .'> 您可以调用[DescribeInstanceIds](~~157459~~)查询所有DDoS高防实例的ID信息。'."\n", + 'description' => '要查询的DDoS高防实例的ID列表。', 'type' => 'array', - 'items' => [ - 'description' => 'DDoS高防实例的ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'ddoscoo-cn-mp91j1ao****', - ], - 'required' => false, + 'items' => ['description' => '要查询的DDoS高防实例的ID。'."\n" + .'> 您可以调用[DescribeInstanceIds](~~157459~~)查询所有DDoS高防实例的ID信息。', 'type' => 'string', 'required' => false, 'example' => 'ddoscoo-cn-mp91j1ao****'], + 'required' => true, 'example' => 'ddoscoo-cn-mp91j1ao****', 'maxItems' => 100, ], @@ -12230,184 +10827,52 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => 'F908E959-ADA8-4D7B-8A05-FF2F67F50964', - ], - 'Domains' => [ - 'description' => '已配置网站业务转发规则的域名列表。', + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E'], + 'SourceCountrys' => [ + 'description' => 'DDoS高防实例的请求来源国家信息。', 'type' => 'array', 'items' => [ - 'description' => '已配置网站业务转发规则的域名。', - 'type' => 'string', - 'example' => 'www.aliyun***.com', + 'type' => 'object', + 'properties' => [ + 'Count' => ['description' => '请求次数。', 'type' => 'integer', 'format' => 'int64', 'example' => '3390671'], + 'CountryId' => ['description' => '请求来源国家的简称。例如,**cn**表示中国,**us**表示美国。'."\n" + ."\n" + .'> 关于该参数的取值,请参见[地域类型参数取值说明](~~167926~~)。', 'type' => 'string', 'example' => 'cn'], + ], ], ], ], ], ], ], - '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' => '查询已配置网站业务转发规则的域名', - 'summary' => '查询已配置网站业务转发规则的域名。', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'DescribeHealthCheckList' => [ - 'summary' => '查询端口转发规则的健康检查配置(四层或七层)。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], + 'title' => '查询实例的请求来源国家分布', + 'summary' => '查询指定时间段内DDoS高防实例的请求来源国家分布。', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:15.000Z', 'description' => '错误码发生变更'], ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '106147', - 'abilityTreeNodes' => [ - 'FEATUREddosN7DYCX', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribePortViewSourceCountries'], ], ], - 'parameters' => [ + 'ramActions' => [ [ - 'name' => 'NetworkRules', - 'in' => 'query', - 'schema' => [ - 'description' => '要查询的端口转发规则,使用JSON格式的字符串表述,具体结构如下。'."\n" - .'- **InstanceId**:String类型,必选,DDoS高防实例ID。'."\n" - .'- **Protocol**:String类型,必选,转发协议类型。取值:**tcp**、**udp**。'."\n" - .'- **FrontendPort**:Integer类型,必选,转发端口。', - 'type' => 'string', - 'required' => true, - 'example' => '[{"InstanceId":"ddoscoo-cn-mp91j1ao****","Protocol":"tcp","FrontendPort":8080}]', - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => '83B4AF42-E8EE-4DC9-BD73-87B7733A36F9', - ], - 'HealthCheckList' => [ - 'description' => '健康检查配置列表。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'FrontendPort' => [ - 'description' => '转发端口。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '8080', - ], - 'InstanceId' => [ - 'description' => 'DDoS高防实例ID。', - 'type' => 'string', - 'example' => 'ddoscoo-cn-mp91j1ao****', - ], - 'Protocol' => [ - 'description' => '转发协议。取值:'."\n" - .'- **tcp**'."\n" - .'- **udp**', - 'type' => 'string', - 'example' => 'tcp', - ], - 'HealthCheck' => [ - 'description' => '健康检查配置信息。', - 'type' => 'object', - 'properties' => [ - 'Timeout' => [ - 'description' => '响应超时时间。取值范围:**1**~**30**,单位:秒。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '5', - ], - 'Type' => [ - 'description' => '协议类型。取值:'."\n" - .'- **tcp**:四层'."\n" - .'- **http**:七层', - 'type' => 'string', - 'example' => 'tcp', - ], - 'Domain' => [ - 'description' => '域名。'."\n" - ."\n" - .'> 仅适用于七层健康检查。', - 'type' => 'string', - 'example' => 'www.aliyun.com', - ], - 'Interval' => [ - 'description' => '检查间隔。取值范围:**1**~**30**,单位:秒。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '15', - ], - 'Up' => [ - 'description' => '健康阈值。取值范围:**1**~**10**。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '3', - ], - 'Down' => [ - 'description' => '不健康阈值。取值范围:**1**~**10**。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '3', - ], - 'Port' => [ - 'description' => '检查端口。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '8080', - ], - 'Uri' => [ - 'description' => '检查路径。'."\n" - ."\n" - .'> 仅适用于七层健康检查。', - 'type' => 'string', - 'example' => '/abc', - ], - ], - ], - ], - ], - ], + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribePortViewSourceCountries', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], - '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' => '查询端口转发规则的健康检查配置', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E\\",\\n \\"SourceCountrys\\": [\\n {\\n \\"Count\\": 3390671,\\n \\"CountryId\\": \\"cn\\"\\n }\\n ]\\n}","type":"json"}]', ], - 'DescribeNetworkRuleAttributes' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DescribePortViewSourceIsps' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -12417,23 +10882,43 @@ 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', - 'abilityTreeCode' => '106161', - 'abilityTreeNodes' => [ - 'FEATUREddosRTUJBH', - ], + 'abilityTreeCode' => '106179', + 'abilityTreeNodes' => ['FEATUREddosRTUJBH'], ], 'parameters' => [ [ - 'name' => 'NetworkRules', + 'name' => 'ResourceGroupId', + 'in' => 'query', + 'schema' => ['description' => 'DDoS高防实例在资源管理服务中所属的资源组ID。'."\n" + ."\n" + .'不设置该参数表示默认资源组。'."\n", 'type' => 'string', 'required' => false, 'example' => 'rg-acfm2pz25js****'], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => ['description' => '要查询的请求数据的结束时间。使用时间戳表示,单位:秒。'."\n" + ."\n" + .'> 必须为整点分钟。'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1583683200'], + ], + [ + 'name' => 'StartTime', + 'in' => 'query', + 'schema' => ['description' => '要查询的请求数据的开始时间。使用时间戳表示,单位:秒。'."\n" + ."\n" + .'> 必须为整点分钟。'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1582992000'], + ], + [ + 'name' => 'InstanceIds', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => '要查询的端口转发规则,使用JSON格式的字符串表述,具体结构如下。'."\n" - .'- **InstanceId**:String类型,必选,DDoS高防实例ID。'."\n" - .'- **Protocol**:String类型,必选,转发协议类型。取值:**tcp**、**udp**。'."\n" - .'- **FrontendPort**:Integer类型,必选,转发端口。', - 'type' => 'string', + 'description' => '要查询的DDoS高防实例的ID列表。', + 'type' => 'array', + 'items' => ['description' => '要查询的DDoS高防实例的ID。'."\n" + .'> 您可以调用[DescribeInstanceIds](~~157459~~)查询所有DDoS高防实例的ID。', 'type' => 'string', 'required' => false, 'example' => 'ddoscoo-cn-zvp2eibz****'], 'required' => true, - 'example' => '[{"InstanceId":"ddoscoo-cn-mp91j1ao****","Protocol":"tcp","FrontendPort":8080}]', + 'example' => 'ddoscoo-cn-mp91j1ao****', + 'maxItems' => 100, ], ], ], @@ -12442,210 +10927,17 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => 'F9F2F77D-307C-4F15-8D02-AB5957EEBF97', - ], - 'NetworkRuleAttributes' => [ - 'description' => '非网站业务端口转发规则的防护配置,包括会话保持和DDoS防护策略。', + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E'], + 'Isps' => [ + 'description' => 'DDoS高防实例的请求来源运营商信息。', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'FrontendPort' => [ - 'description' => '转发端口。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '8080', - ], - 'InstanceId' => [ - 'description' => 'DDoS高防实例ID。', - 'type' => 'string', - 'example' => 'ddoscoo-cn-mp91j1ao****', - ], - 'Protocol' => [ - 'description' => '转发协议。取值:'."\n" - .'- **tcp**'."\n" - .'- **udp**', - 'type' => 'string', - 'example' => 'tcp', - ], - 'Config' => [ - 'description' => '端口转发规则的防护配置。', - 'type' => 'object', - 'properties' => [ - 'NodataConn' => [ - 'description' => '空连接过滤的开关状态。取值:'."\n" - .'- **on**:开启'."\n" - .'- **off**:关闭', - 'type' => 'string', - 'example' => 'off', - ], - 'Synproxy' => [ - 'description' => '虚假源过滤的开关状态。取值:'."\n" - .'- **on**:开启'."\n" - .'- **off**:关闭', - 'type' => 'string', - 'example' => 'off', - ], - 'PersistenceTimeout' => [ - 'description' => '会话保持的超时时间。取值范围:**30**~**3600**,单位:秒。默认为**0**,表示关闭。 ', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'Sla' => [ - 'description' => '目的限速配置。', - 'type' => 'object', - 'properties' => [ - 'MaxconnEnable' => [ - 'description' => '目的并发连接限速的开关状态。取值:'."\n" - .'- **0**:关闭'."\n" - .'- **1**:开启', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'CpsEnable' => [ - 'description' => '目的新建连接限速的开关状态。取值:'."\n" - .'- **0**:关闭'."\n" - .'- **1**:开启', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'Cps' => [ - 'description' => '目的新建连接限速。取值范围:**100**~**100000**。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '100000', - ], - 'Maxconn' => [ - 'description' => '目的并发连接限速。取值范围:**1000**~**1000000**。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1000000', - ], - ], - ], - 'Slimit' => [ - 'description' => '源限速配置。', - 'type' => 'object', - 'properties' => [ - 'MaxconnEnable' => [ - 'description' => '源并发连接限速的开关状态。取值:'."\n" - .'- **0**:关闭'."\n" - .'- **1**:开启', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'CpsEnable' => [ - 'description' => '源新建连接限速的开关状态。取值:'."\n" - .'- **0**:关闭'."\n" - .'- **1**:开启', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'Cps' => [ - 'description' => '源新建连接限速。取值范围:**1**~**500000**,单位:个。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'Pps' => [ - 'description' => '源PPS限速。取值范围:**1**~**100000**,单位:Packet/s。默认为**0**,表示未开启源PPS限速。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'Bps' => [ - 'description' => '源带宽限速。取值范围:**1024**~**268435456**,单位:Byte/s。默认为**0**,表示未开启源带宽限速。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'Maxconn' => [ - 'description' => '源并发连接限速。取值范围:**1**~**500000**,单位:个。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'CpsMode' => [ - 'description' => '源新建连接限速的模式。取值:'."\n" - .'- **1**:手动'."\n" - .'- **2**:自动', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - ], - ], - 'PayloadLen' => [ - 'description' => '包长度过滤配置。', - 'type' => 'object', - 'properties' => [ - 'Min' => [ - 'description' => '包长度的最小值。取值范围:**0**~**6000**,单位:Byte。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'Max' => [ - 'description' => '包长度的最大值。取值范围:**0**~**6000**,单位:Byte。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '6000', - ], - ], - ], - 'Cc' => [ - 'description' => '源连接频繁超限控制策略。', - 'type' => 'object', - 'properties' => [ - 'Sblack' => [ - 'description' => '源连接多次超限,将源IP加入黑名单的策略。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Type' => [ - 'description' => '源IP黑名单配置类型。取值:'."\n" - .'- **1**:源新建连接限速IP黑名单'."\n" - .'- **2**:源并发连接限速IP黑名单'."\n" - .'- **3**:源PPS限速IP黑名单'."\n" - .'- **4**:源带宽限速IP黑名单', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'During' => [ - 'description' => '检查间隔。取值固定为**60**,单位:秒。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '60', - ], - 'Expires' => [ - 'description' => '黑名单有效时长。取值范围:**60**~**604800**,单位:秒。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '600', - ], - 'Cnt' => [ - 'description' => '源连接超过限制的次数。取值固定为**5**,表示如果源连接在检查间隔内超过限制5次,将源IP加入黑名单。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '5', - ], - ], - ], - ], - ], - ], - ], - ], + 'Count' => ['description' => '相对请求数量。'."\n" + ."\n" + .'> 该数据不表示真实请求数量的大小,目前您可以使用该数据来计算不同运营商请求数量的比例。', 'type' => 'integer', 'format' => 'int64', 'example' => '3390671'], + 'IspId' => ['description' => '运营商ID。详见返回参数表下的运营商代码说明,运营商ID对应表中的代码。', 'type' => 'string', 'example' => '100017'], ], ], ], @@ -12653,22 +10945,157 @@ ], ], ], - '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":""}]', - 'title' => '查询非网站业务端口转发规则防护配置', - 'summary' => '查询非网站业务端口转发规则的防护配置,包括会话保持和DDoS防护策略。', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', + 'title' => '查询实例的请求来源运营商分布', + 'summary' => '查询指定时间段内DDoS高防实例的请求来源运营商分布。', + 'description' => '本接口用于查询指定时间段内DDoS高防实例的请求来源运营商分布。'."\n" + ."\n" + .'> 由于DDoS高防的四层传输层身份统计算法更新,目前本接口返回数据不能反应真实流量的大小,仅可用于计算不同运营商请求数量的比例(即请求的来源运营商分布情况)。如果您想获取请求流量数据,推荐您调用[DescribePortFlowList](~~157460~~)。'."\n" + ."\n" + .'### QPS限制'."\n" + ."\n" + .'本接口的单用户QPS限制为10次/秒。超过限制,API调用将会被限流,这可能影响您的业务,请合理调用。', + 'requestParamsDescription' => '调用API时,除了本文中该API的请求参数,还需加入阿里云API公共请求参数。公共请求参数的详细介绍,请参见[公共参数](~~157269~~)。'."\n" + ."\n" + .'调用API的请求格式,请参见本文**示例**中的请求示例。', + 'responseParamsDescription' => '**运营商代码**'."\n" + ."\n" + .'| 代码 | 运营商 |'."\n" + .'|---------|----------|'."\n" + .'| 100017 | 电信 |'."\n" + .'| 100026 | 联通 |'."\n" + .'| 100025 | 移动 |'."\n" + .'| 100027 | 教育网 |'."\n" + .'| 100020 | 铁通 |'."\n" + .'| 1000143 | 鹏博士 |'."\n" + .'| 100080 | 歌华 |'."\n" + .'| 1000139 | 广电 |'."\n" + .'| 100023 | 有线通 |'."\n" + .'| 100063 | 方正宽带 |'."\n" + .'| 1000337 | 皓宽网络 |'."\n" + .'| 100021 | 世纪互联 |'."\n" + .'| 1000333 | 华数传媒 |'."\n" + .'| 100093 | 网宿 |'."\n" + .'| 1000401 | 腾讯 |'."\n" + .'| 100099 | 百度 |'."\n" + .'| 1000323 | 阿里云 |'."\n" + .'| 100098 | 阿里巴巴 |'."\n" + .'| 1000120 | 北龙中网 |'."\n" + .'| 1000189 | 中国互联网信息中心 |'."\n" + .'| 1000188 | 吉林油田通信 |'."\n" + .'| 1000187 | 数讯信息技术 |'."\n" + .'| 1000186 | 中原油田 |'."\n" + .'| 1000185 | 众屹赢时通信 |'."\n" + .'| 1000184 | 南凌科技 |'."\n" + .'| 1000181 | 安徽省教育厅 |'."\n" + .'| 100075 | 蓝讯通信技术 |'."\n" + .'| 100076 | 天威宽带 |'."\n" + .'| 1000104 | 金桥网 |'."\n" + .'| 1000103 | 国研网 |'."\n" + .'| 1000102 | 飞华领航 |'."\n" + .'| 100072 | E家宽带 |'."\n" + .'| 100078 | 油田宽带 |'."\n" + .'| 100079 | 视讯宽带 |'."\n" + .'| 1000114 | 首信网 |'."\n" + .'| 1000103 | 中国科技网 |'."\n" + .'| 1000199 | 维赛网络 |'."\n" + .'| 1000194 | 城市网络 |'."\n" + .'| 1000195 | 壹通通信 |'."\n" + .'| 1000197 | 燕大正洋 |'."\n" + .'| 1000190 | 中科鸿基网络 |'."\n" + .'| 1000191 | 中国一汽 |'."\n" + .'| 1000192 | 零色沸点网络 |'."\n" + .'| 1000193 | 网宽天地 |'."\n" + .'| 100063 | 方正网络 |'."\n" + .'| 100061 | 长城宽带 |'."\n" + .'| 1000117 | 中信网络 |'."\n" + .'| 1000118 | 京宽网络 |'."\n" + .'| 1000119 | 网易网络 |'."\n" + .'| 1000122 | 网联光通 |'."\n" + .'| 1000124 | 金科信息网 |'."\n" + .'| 1000128 | 卫视创捷 |'."\n" + .'| 1000321 | 媒迪雅 |'."\n" + .'| 1000320 | 天地祥云 |'."\n" + .'| 100092 | 263网络 |'."\n" + .'| 1000325 | 湖南广电 |'."\n" + .'| 100018 | 电信通 |'."\n" + .'| 1000106 | 神州在线 |'."\n" + .'| 100089 | 光环新网 |'."\n" + .'| 1000136 | 联通新国信 |'."\n" + .'| 100086 | 华宇宽带 |'."\n" + .'| 100083 | 视通宽带 |'."\n" + .'| 1000131 | 比通联合网络 |'."\n" + .'| 1000305 | 铜牛集团 |'."\n" + .'| 1000302 | 盈通网络 |'."\n" + .'| 1000309 | 中国在线 |'."\n" + .'| 1000308 | 临网通讯 |'."\n" + .'| 1000149 | 太平洋电信 |'."\n" + .'| 1000148 | 有孚网络 |'."\n" + .'| 1000140 | 华数 |'."\n" + .'| 1000147 | 沃通电子商务 |'."\n" + .'| 1000146 | 华瑞信通 |'."\n" + .'| 1000144 | 屹立由数据 |'."\n" + .'| 100035 | 比林通信 |'."\n" + .'| 100039 | 畅捷通信 |'."\n" + .'| 1000312 | 中企通信 |'."\n" + .'| 1000313 | 长城互联网 |'."\n" + .'| 1000310 | 上海信息网络 |'."\n" + .'| 1000316 | 三信时代 |'."\n" + .'| 1000317 | 睿江科技 |'."\n" + .'| 1000319 | 森华易腾 |'."\n" + .'| 1000159 | 龙腾佳讯 |'."\n" + .'| 1000150 | 新飞金信 |'."\n" + .'| 1000153 | 腾讯网络 |'."\n" + .'| 1000154 | 视虎科技 |'."\n" + .'| 1000155 | 新视讯 |'."\n" + .'| 1000156 | 地面通信息网络 |'."\n" + .'| 1000157 | 日升天信科技 |'."\n" + .'| 100029 | 恒敦通信 |'."\n" + .'| 100028 | 中电飞华 |'."\n" + .'| 100022 | 中电华通 |'."\n" + .'| 1000135 | 经济信息网 |'."\n" + .'| 1000165 | 上海大众汽车 |'."\n" + .'| 1000167 | 翰威科技 |'."\n" + .'| 1000161 | 天盈信息技术 |'."\n" + .'| 1000160 | 佰隆网络 |'."\n" + .'| 1000163 | 平煤神马集团 |'."\n" + .'| 100051 | 博路电信 |'."\n" + .'| 1000172 | 同煤集团 |'."\n" + .'| 1000170 | 百吉数据 |'."\n" + .'| 1000171 | 可口可乐网络 |'."\n" + .'| 1000176 | 华夏光网 |'."\n" + .'| 1000177 | 中国国际电子商务中心|'."\n" + .'| 1000174 | 新浪网络 |'."\n" + .'| 1000178 | 信天游 |'."\n" + .'| 1000179 | 新网 |'."\n" + .'| 100048 | 天地通电信 |'."\n" + .'| 1000322 | 维速 |', 'extraInfo' => ' ', - ], - 'CreateSceneDefensePolicy' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:15.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribePortViewSourceIsps'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribePortViewSourceIsps', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + '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":""}]', + ], + 'DescribePortViewSourceProvinces' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -12677,58 +11104,42 @@ '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' => '策略名称。', - 'type' => 'string', - 'required' => true, - 'example' => 'testpolicy', - ], + 'schema' => ['description' => 'DDoS高防实例在资源管理服务中所属的资源组ID。默认为空,即属于默认资源组。'."\n" + ."\n" + .'关于资源组的更多信息,请参见[创建资源组](~~94485~~)。', 'type' => 'string', 'required' => false, 'example' => 'rg-acfm2pz25js****'], ], [ - 'name' => 'Template', + 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => '策略模板。取值:'."\n" - .'- **promotion**:重大活动'."\n" - .'- **bypass**:全量转发', - 'type' => 'string', - 'required' => true, - 'example' => 'promotion', - 'enum' => [ - 'promotion', - ], - ], + 'schema' => ['description' => '查询结束时间。时间戳格式,单位:秒。不传入表示使用当前时间作为结束时间。'."\n" + .'> 必须为整点分钟。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1583683200'], ], [ 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => '生效开始时间。时间戳格式,单位:毫秒。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1585670400000', - ], + 'schema' => ['description' => '查询开始时间。时间戳格式,单位:秒。'."\n" + .'> 必须为整点分钟。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1582992000'], ], [ - 'name' => 'EndTime', + 'name' => 'InstanceIds', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => '生效结束时间。时间戳格式,单位:毫秒。', - 'type' => 'integer', - 'format' => 'int64', + 'description' => '要查询的DDoS高防实例的ID列表。', + 'type' => 'array', + 'items' => ['description' => '要查询的DDoS高防实例的ID。'."\n" + .'> 您可以调用[DescribeInstanceIds](~~157459~~)查询所有DDoS高防实例的ID信息。', 'type' => 'string', 'required' => false, 'example' => 'ddoscoo-cn-mp91j1ao****'], 'required' => true, - 'example' => '1586016000000', + 'example' => 'ddoscoo-cn-mp91j1ao****', + 'maxItems' => 100, ], ], ], @@ -12737,38 +11148,54 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Success' => [ - 'description' => '是否成功创建策略。取值:'."\n" - .'- **true**:是'."\n" - .'- **false**:否', - 'type' => 'boolean', - 'example' => 'true', - ], - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => 'F65DF043-E0EB-4796-9467-23DDCDF92C1D', + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E'], + 'SourceProvinces' => [ + 'description' => 'DDoS高防实例的请求来源中国地域信息。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'ProvinceId' => ['description' => '请求来源中国地域的ID。例如,**110000**表示北京市,**120000**表示天津市。'."\n" + ."\n" + .'> 关于该参数的取值,请参见[地域类型参数取值说明](~~167926~~)。', 'type' => 'string', 'example' => '440000'], + 'Count' => ['description' => '相对请求数量。'."\n" + ."\n" + .'> 该数据不表示真实请求数量的大小,目前您可以使用该数据来计算不同省份请求数量的比例。', 'type' => 'integer', 'format' => 'int64', 'example' => '3390671'], + ], + ], ], ], ], ], ], - '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' => '创建定制场景策略', - 'summary' => '创建定制场景策略。', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'DeleteSceneDefensePolicy' => [ - 'methods' => [ - 'post', - 'get', + 'title' => '查询实例的请求来源(中国)省份分布', + 'summary' => '查询指定时间段内DDoS高防实例的请求来源(中国)省份分布。', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:15.000Z', 'description' => '错误码发生变更'], ], - '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' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E\\",\\n \\"SourceProvinces\\": [\\n {\\n \\"ProvinceId\\": \\"440000\\",\\n \\"Count\\": 3390671\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeSceneDefenseObjects' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -12777,25 +11204,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' => '要删除的策略ID。'."\n" - ."\n" - .'> 您可以调用[DescribeSceneDefensePolicies](~~159382~~)查询所有策略ID。', - 'type' => 'string', - 'required' => true, - 'example' => '321a-fd31-df51-****', - ], + 'schema' => ['description' => '要查询的策略ID。'."\n" + ."\n" + .'> 您可以调用[DescribeSceneDefensePolicies](~~159382~~)查询所有策略ID。', 'type' => 'string', 'required' => true, 'example' => '47e07ebd-0ba5-4afc-957b-59d15b90****'], + ], + [ + 'name' => 'ResourceGroupId', + 'in' => 'query', + 'schema' => ['description' => 'DDoS高防实例在资源管理服务中所属的资源组ID。'."\n" + ."\n" + .'不设置该参数表示默认资源组。', 'type' => 'string', 'required' => false, 'example' => 'rg-acfm2pz25js****'], ], ], 'responses' => [ @@ -12803,38 +11229,67 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Success' => [ - 'description' => '是否成功调用。取值:'."\n" - .'- **true**:是'."\n" - .'- **false**:否', - 'type' => 'boolean', - 'example' => 'true', - ], - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => 'F65DF043-E0EB-4796-9467-23DDCDF92C1D', + 'Success' => ['description' => '本次请求是否成功调用。取值:'."\n" + ."\n" + .'- **true**:表示调用成功。'."\n" + .'- **false**:表示调用失败。', 'type' => 'boolean', 'example' => 'true'], + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'FE07E73F-F19E-4A51-B62F-AC59E3B962D8'], + 'Objects' => [ + 'description' => '定制场景策略的防护对象信息。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Domain' => ['description' => '策略防护的域名。', 'type' => 'string', 'example' => 'www.aliyundoc.com'], + 'PolicyId' => ['description' => '定制场景策略的ID。', 'type' => 'string', 'example' => '47e07ebd-0ba5-4afc-957b-59d15b90****'], + 'Vip' => ['description' => '策略防护的高防实例IP。', 'type' => 'string', 'example' => '203.XX.XX.119'], + ], + ], ], ], ], ], ], - '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' => '删除定制场景策略', - 'summary' => '删除定制场景策略。', - 'requestParamsDescription' => ' ', + 'title' => '查询定制场景策略的防护对象', + 'summary' => '查询定制场景策略的防护对象。', + 'description' => '本接口用于查询定制场景策略的防护对象。'."\n" + ."\n" + .'调用本接口前,您必须已经调用[CreateSceneDefensePolicy](~~159779~~)创建了定制场景策略。'."\n" + ."\n" + .'### QPS限制'."\n" + ."\n" + .'本接口的单用户QPS限制为10次/秒。超过限制,API调用将会被限流,这可能影响您的业务,请合理调用。', + 'requestParamsDescription' => '调用API时,除了本文中该API的请求参数,还需加入阿里云API公共请求参数。公共请求参数的详细介绍,请参见[公共参数](~~157269~~)。'."\n" + ."\n" + .'调用API的请求格式,请参见本文**示例**中的请求示例。', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'ModifySceneDefensePolicy' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:15.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeSceneDefenseObjects'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeSceneDefenseObjects', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + '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":""}]', + ], + 'DescribeSceneDefensePolicies' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -12843,70 +11298,34 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', - 'abilityTreeCode' => '106256', - 'abilityTreeNodes' => [ - 'FEATUREddosM9SQC1', - ], + 'operationType' => 'get', + 'abilityTreeCode' => '106183', + 'abilityTreeNodes' => ['FEATUREddosM9SQC1'], + 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ - [ - 'name' => 'PolicyId', - 'in' => 'query', - 'schema' => [ - 'description' => '要编辑的策略ID。'."\n" - .'> 您可以调用[DescribeSceneDefensePolicies](~~159382~~)查询所有策略ID。', - 'type' => 'string', - 'required' => true, - 'example' => '321a-fd31-df51-****', - ], - ], - [ - 'name' => 'Name', - 'in' => 'query', - 'schema' => [ - 'description' => '策略名称。', - 'type' => 'string', - 'required' => true, - 'example' => 'testpolicy', - ], - ], [ 'name' => 'Template', 'in' => 'query', - 'schema' => [ - 'description' => '策略模板。取值:'."\n" - .'- **promotion**:重大活动'."\n" - .'- **bypass**:全量转发', - 'type' => 'string', - 'required' => true, - 'example' => 'promotion', - 'enum' => [ - 'promotion', - ], - ], + 'schema' => ['description' => '要查询的策略使用的模板类型。取值:'."\n" + .'- **promotion**:表示重大活动模板。'."\n" + .'- **bypass**:表示全量转发模板。', 'type' => 'string', 'required' => false, 'example' => 'promotion'], ], [ - 'name' => 'StartTime', + 'name' => 'Status', 'in' => 'query', - 'schema' => [ - 'description' => '生效开始时间。时间戳格式,单位:毫秒。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1585670400000', - ], + 'schema' => ['description' => '要查询的策略的生效状态。取值:'."\n" + .'- **0**:表示已被禁用。'."\n" + .'- **1**:表示等待生效。'."\n" + .'- **2**:表示生效中。'."\n" + .'- **3**:表示已过期。', 'type' => 'string', 'required' => false, 'example' => '1'], ], [ - 'name' => 'EndTime', + 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => '生效结束时间。时间戳格式,单位:毫秒。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1586016000000', - ], + 'schema' => ['description' => 'DDoS高防实例在资源管理服务中所属的资源组ID。'."\n" + ."\n" + .'不设置该参数表示默认资源组。', 'type' => 'string', 'required' => false, 'example' => 'rg-acfm2pz25js****'], ], ], 'responses' => [ @@ -12914,38 +11333,108 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Success' => [ - 'description' => '是否成功调用。取值:'."\n" - .'- **true**:是'."\n" - .'- **false**:否', - 'type' => 'boolean', - 'example' => 'true', - ], - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => 'F65DF043-E0EB-4796-9467-23DDCDF92C1D', + 'Success' => ['description' => '本次请求是否成功调用成功。取值:'."\n" + .'- **true**:表示调用成功。'."\n" + .'- **false**:表示调用失败。', 'type' => 'boolean', 'example' => 'true'], + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'F65DF043-E0EB-4796-9467-23DDCDF92C1D'], + 'Policies' => [ + 'description' => '定制场景策略的详细配置。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Done' => ['description' => '策略执行状态。取值:'."\n" + .'- **1**:表示未执行或执行完成。'."\n" + .'- **0**:表示执行中。'."\n" + .'- **-1**:表示执行失败。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'EndTime' => ['description' => '策略结束生效的时间。使用时间戳表示,单位:毫秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1586016000000'], + 'Status' => ['description' => '策略的生效状态。取值:'."\n" + .'- **0**:表示已被禁用。'."\n" + .'- **1**:表示等待生效。'."\n" + .'- **2**:表示生效中。'."\n" + .'- **3**:表示已过期。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'StartTime' => ['description' => '策略开始生效的时间。使用时间戳表示,单位:毫秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1585670400000'], + 'ObjectCount' => ['description' => '策略的防护对象数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'Template' => ['description' => '策略使用的模板类型。取值:'."\n" + .'- **promotion**:表示重大活动模板。'."\n" + .'- **bypass**:表示全量转发模板。', 'type' => 'string', 'example' => 'promotion'], + 'PolicyId' => ['description' => '策略ID。', 'type' => 'string', 'example' => '321a-fd31-df51-****'], + 'Name' => ['description' => '策略名称。', 'type' => 'string', 'example' => 'testpolicy'], + 'RuntimePolicies' => [ + 'description' => '策略运行规则。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Status' => ['description' => '策略运行状态。取值:'."\n" + .'- **0**:表示未下发或策略恢复成功。'."\n" + .'- **1**:表示正在生效中(策略生效)。'."\n" + .'- **2**:表示正在恢复中(策略恢复)。'."\n" + .'- **3**:表示策略生效成功 。'."\n" + .'- **4**:表示策略生效失败。'."\n" + .'- **5**:表示策略恢复失败。'."\n" + .'- **6**:表示策略对应对象的配置不存在(可能已删除)。', 'type' => 'integer', 'format' => 'int32', 'example' => '3'], + 'oldValue' => ['description' => '策略生效前的防护规则。'."\n" + ."\n" + .'**PolicyType**为**1**时,取值:**{"cc\\_rule_enable": true}**,表示启用了频率控制。'."\n" + ."\n" + .'**PolicyType**为**2**时,取值:**{"ai\\_rule_enable": 1}**,表示启用了AI智能防护。', 'type' => 'string', 'example' => '{"cc_rule_enable": true}'], + 'NewValue' => ['description' => '策略生效时的防护规则。'."\n" + ."\n" + .'**PolicyType**为**1**时,取值:**{"cc\\_rule_enable": false }**,表示禁用频率控制。'."\n" + ."\n" + .'**PolicyType**为**2**时,取值:**{"ai\\_rule_enable": 0}**,表示禁用AI智能防护。', 'type' => 'string', 'example' => '{"cc_rule_enable": false }'], + 'PolicyType' => ['description' => '策略生效时触发的防护功能变更类型。取值:'."\n" + .'- **1**:表示频率控制功能变更。'."\n" + .'- **2**:表示AI智能防护功能变更。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + ], + ], + ], + ], + ], ], ], ], ], ], - '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' => '编辑定制场景策略', - 'summary' => '编辑定制场景策略。', - 'requestParamsDescription' => ' ', + 'title' => '查询定制场景策略的详细信息', + 'summary' => '查询定制场景策略的详细配置。', + 'description' => '本接口用于查询已创建的定制场景策略的详细配置,例如,策略的状态、防护对象、防护规则等。'."\n" + ."\n" + .'### QPS限制'."\n" + ."\n" + .'本接口的单用户QPS限制为10次/秒。超过限制,API调用将会被限流,这可能影响您的业务,请合理调用。', + 'requestParamsDescription' => '调用API时,除了本文中该API的请求参数,还需加入阿里云API公共请求参数。公共请求参数的详细介绍,请参见[公共参数](~~157269~~)。'."\n" + ."\n" + .'调用API的请求格式,请参见本文**示例**中的请求示例。', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'AttachSceneDefenseObject' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:15.000Z', 'description' => '错误码发生变更'], + ], + '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' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + '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":""}]', + ], + 'DescribeSchedulerRules' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -12954,44 +11443,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' => '策略ID。'."\n" - ."\n" - .'> 您可以调用[DescribeSceneDefensePolicies](~~159382~~)查询所有策略ID。', - 'type' => 'string', - 'required' => true, - 'example' => '321a-fd31-df51-****', - ], + 'schema' => ['description' => 'DDoS高防实例在资源管理产品中所属的资源组ID。默认为空,即属于默认资源组。', 'type' => 'string', 'required' => false, 'example' => 'default'], ], [ - 'name' => 'ObjectType', + 'name' => 'RuleName', 'in' => 'query', - 'schema' => [ - 'description' => '对象类型。取值:**Domain**,表示域名。', - 'type' => 'string', - 'required' => true, - 'example' => 'Domain', - ], + 'schema' => ['description' => '规则名称。', 'type' => 'string', 'required' => false, 'example' => 'testrule'], ], [ - 'name' => 'Objects', + 'name' => 'PageNumber', 'in' => 'query', - 'schema' => [ - 'description' => '要添加的防护对象。多个对象间使用英文逗号(,)分隔。', - 'type' => 'string', - 'required' => true, - 'example' => 'www.aliyun.com', - ], + 'schema' => ['description' => '分页查询请求时返回的页码。例如,查询第一页的返回结果,则填写**1**。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['description' => '页面显示的记录数量。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '10'], ], ], 'responses' => [ @@ -12999,39 +11474,105 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Success' => [ - 'description' => '是否成功调用。取值:'."\n" - .'- **true**:是'."\n" - .'- **false**:否', - 'type' => 'boolean', - 'example' => 'true', - ], - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => 'F65DF043-E0EB-4796-9467-23DDCDF92C1D', + 'TotalCount' => ['description' => '流量调度规则的总数。', 'type' => 'string', 'example' => '1'], + 'RequestId' => ['description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。', 'type' => 'string', 'example' => '11C55595-1757-4B17-9ACE-4ACB68C2D989'], + 'SchedulerRules' => [ + 'description' => '流量调度规则信息。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'RuleType' => ['description' => '规则类型。取值:'."\n" + .'- **2**:阶梯防护'."\n" + .'- **3**:出海加速'."\n" + .'- **5**:CDN联动'."\n" + .'- **6**:云产品联动'."\n" + .'- **8**:安全加速', 'type' => 'string', 'example' => '2'], + 'Cname' => ['description' => 'CNAME值。', 'type' => 'string', 'example' => '4eru5229a843****.aliyunddos0001.com'], + 'RuleName' => ['description' => '规则名称。', 'type' => 'string', 'example' => 'doctest'], + 'Rules' => [ + 'description' => '规则列表。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Type' => ['description' => '资源地址的格式。取值:'."\n" + .'- **A**:IPv4地址'."\n" + .'- **CNAME**:CNAME地址', 'type' => 'string', 'example' => 'A'], + 'Status' => ['description' => '规则生效状态。取值:'."\n" + .'- **0**:未生效'."\n" + .'- **1**:生效', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'Value' => ['description' => '资源地址。', 'type' => 'string', 'example' => '203.***.***.39'], + 'ValueType' => ['description' => '资源地址类型。取值:'."\n" + .'- **1**:DDoS高防IP '."\n" + .'- **2**:(阶梯防护)云资源IP'."\n" + .'- **3**:(出海加速)加速线路IP'."\n" + .'- **5**:(CDN联动)加速域名'."\n" + .'- **6**:(云产品联动)云资源IP'."\n" + .'- **8**:(安全加速)安全加速P', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'Priority' => ['description' => '规则优先级。', 'type' => 'integer', 'format' => 'int32', 'example' => '100'], + 'RestoreDelay' => ['description' => '回切时间,单位为分钟。', 'type' => 'integer', 'format' => 'int32', 'example' => '60'], + 'RegionId' => ['description' => '地域ID。'."\n" + ."\n" + .'> 仅当RuleType(即阶梯防护规则)取值为2时返回。', 'type' => 'string', 'example' => '1'], + 'Line' => ['type' => 'string'], + ], + ], + ], + 'Param' => [ + 'description' => '全球加速实例联动DDoS高防的规则。', + 'type' => 'object', + 'properties' => [ + 'ParamType' => ['description' => '联动资源的类型。取值:**GA**,表示全球加速实例。', 'type' => 'string', 'example' => 'GA'], + 'ParamData' => [ + 'description' => '联动资源。', + 'type' => 'object', + 'properties' => [ + 'CloudInstanceId' => ['description' => '全球加速实例的ID。', 'type' => 'string', 'example' => 'ga-bp1htlajy5509rc99****'], + ], + ], + ], + ], + ], + ], ], ], ], ], ], - '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' => '为定制场景策略添加防护对象', - 'summary' => '为定制场景策略添加防护对象。', + 'title' => '查询流量调度器的调度规则', + 'summary' => '查询流量调度器的调度规则。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DetachSceneDefenseObject' => [ - 'summary' => '移除定制场景策略的防护对象。', - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2025-09-04T06:34:56.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2022-09-08T03:34:14.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeSchedulerRules'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeSchedulerRules', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + '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":""}]', + ], + 'DescribeSlaEventList' => [ + 'summary' => '查询目的限速事件列表。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -13040,47 +11581,47 @@ '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' => '策略ID。'."\n" - ."\n" - .'> 您可以调用[DescribeSceneDefensePolicies](~~159382~~)查询所有策略ID。', - 'type' => 'string', - 'required' => true, - 'example' => '321a-fd31-df51-****', - ], + 'schema' => ['description' => '服务地域。取值:'."\n" + .'- **cn**:中国内地。'."\n" + .'- **cn-hongkong**:非中国内地。', 'type' => 'string', 'required' => true, 'example' => 'cn'], ], [ - 'name' => 'ObjectType', + 'name' => 'Ip', 'in' => 'query', - 'schema' => [ - 'description' => '对象类型。取值:**Domain**,表示域名。', - 'type' => 'string', - 'required' => false, - 'example' => 'Domain', - 'default' => 'Domain', - ], + 'schema' => ['description' => '要查询的DDoS高防实例的IP地址。', 'type' => 'string', 'required' => false, 'example' => '203.107.XX.XX'], ], [ - 'name' => 'Objects', + 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => '要移除的防护对象。多个对象间使用英文逗号(,)分隔。', - 'type' => 'string', - 'required' => true, - 'example' => 'www.aliyun.com', - ], + 'schema' => ['description' => '查询开始时间。时间戳格式,单位:秒。'."\n" + .'> 必须为整点分钟。'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1678080840'], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => ['description' => '查询结束时间。时间戳格式,单位:秒。'."\n" + ."\n" + .'> 必须为整点分钟。'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1671886740'], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['description' => '分页查询时每页包含的记录数量。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '10', 'default' => '10'], + ], + [ + 'name' => 'Page', + 'in' => 'query', + 'schema' => ['description' => '分页查询页码。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1', 'default' => '1'], ], ], 'responses' => [ @@ -13088,37 +11629,57 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Success' => [ - 'description' => '是否成功调用。取值:'."\n" - .'- **true**:是'."\n" - .'- **false**:否', - 'type' => 'boolean', - 'example' => 'true', - ], - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => 'F65DF043-E0EB-4796-9467-23DDCDF92C1D', + 'RequestId' => ['description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'], + 'SlaEvent' => [ + 'description' => '目的限速事件列表。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'StartTime' => ['description' => '查询事件的开始时间,单位:秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1678080840'], + 'EndTime' => ['description' => '查询事件的结束时间,单位:秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1671886740'], + 'Ip' => ['description' => '要查询的高防实例IP。', 'type' => 'string', 'example' => '203.107.XX.XX'], + 'Region' => ['description' => '目的限速IP所属地区。取值:'."\n" + .'- **cn**:中国内地。'."\n" + .'- **cn-hongkong**:中国香港。', 'type' => 'string', 'example' => 'cn'], + ], + 'description' => '', + ], ], + 'Total' => ['description' => '目的限速列表总数。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'], ], + 'description' => '', ], ], ], - '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' => '移除定制场景策略的防护对象', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'EnableSceneDefensePolicy' => [ - 'methods' => [ - 'post', - 'get', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '查询目的限速事件列表', + 'changeSet' => [ + ['createdAt' => '2024-03-19T07:44:46.000Z', 'description' => '请求参数发生变更'], + ], + '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' => '全部资源', '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' => [], @@ -13127,24 +11688,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' => '要启用的策略ID。'."\n" - ."\n" - .'> 您可以调用[DescribeSceneDefensePolicies](~~159382~~)查询所有策略ID。', - 'type' => 'string', - 'required' => true, - 'example' => '321a-fd31-df51-****', - ], + 'schema' => ['description' => 'DDoS高防实例在资源管理产品中所属的资源组ID。默认为空,即属于默认资源组。', 'type' => 'string', 'required' => false, 'example' => 'default'], ], ], 'responses' => [ @@ -13152,64 +11705,65 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Success' => [ - 'description' => '是否成功调用。取值:'."\n" - .'- **true**:是'."\n" - .'- **false**:否', - 'type' => 'boolean', - 'example' => 'true', - ], - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => 'F65DF043-E0EB-4796-9467-23DDCDF92C1D', - ], + 'SlsAuthStatus' => ['description' => 'DDoS高防全量日志分析服务的授权状态。取值:'."\n" + .'- **true**:已授权'."\n" + .'- **false**:未授权', 'type' => 'boolean', 'example' => 'true'], + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'], ], ], ], ], - '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' => '启用定制场景策略', - 'summary' => '启用定制场景策略。', + 'title' => '查询DDoS高防全量日志分析服务的授权状态', + 'summary' => '即是否授权DDoS高防访问日志服务。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DisableSceneDefensePolicy' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:14.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeSlsAuthStatus'], + ], ], - 'security' => [ + 'ramActions' => [ [ - 'AK' => [], + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeSlsAuthStatus', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], ], - 'operationType' => 'read', + '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":""}]', + ], + 'DescribeSlsLogstoreInfo' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + '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' => '要禁用的策略ID。'."\n" - ."\n" - .'> 您可以调用[DescribeSceneDefensePolicies](~~159382~~)查询所有策略ID。', - 'type' => 'string', - 'required' => true, - 'example' => '321a-fd31-df51-****', - ], + 'schema' => ['description' => 'DDoS高防实例在资源管理产品中所属的资源组ID。默认为空,即属于默认资源组。', 'type' => 'string', 'required' => false, 'example' => 'default'], ], ], 'responses' => [ @@ -13217,38 +11771,50 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Success' => [ - 'description' => '是否成功调用。取值:'."\n" - .'- **true**:是'."\n" - .'- **false**:否', - 'type' => 'boolean', - 'example' => 'true', - ], - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => 'F65DF043-E0EB-4796-9467-23DDCDF92C1D', - ], + 'Ttl' => ['description' => '日志存储时长。单位:天。', 'type' => 'integer', 'format' => 'int32', 'example' => '180'], + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'], + 'Quota' => ['description' => '可用的日志存储容量。单位:Byte。', 'type' => 'integer', 'format' => 'int64', 'example' => '3298534883328'], + 'LogStore' => ['description' => 'DDoS高防服务对接的日志库。', 'type' => 'string', 'example' => 'ddoscoo-logstore'], + 'Used' => ['description' => '已经使用的存储容量。单位:Byte。'."\n" + ."\n" + .'> 日志服务的统计结果约有两个小时的延迟。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'], + 'Project' => ['description' => 'DDoS高防服务对接的日志项目。', 'type' => 'string', 'example' => 'ddoscoo-project-181071506993****-cn-hangzhou'], ], + 'description' => '', ], ], ], - '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' => '禁用定制场景策略', - 'summary' => '禁用定制场景策略。', + 'title' => '查询DDoS高防的日志库信息', + 'summary' => '例如日志存储容量、日志存储时长。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeSceneDefensePolicies' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:14.000Z', 'description' => '错误码发生变更'], + ], + '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' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + '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":""}]', + ], + 'DescribeSlsOpenStatus' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -13258,50 +11824,87 @@ 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', - 'abilityTreeCode' => '106183', - 'abilityTreeNodes' => [ - 'FEATUREddosM9SQC1', - ], + 'abilityTreeCode' => '106187', + 'abilityTreeNodes' => ['FEATUREddosVFFSV8'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'Template', + 'name' => 'ResourceGroupId', 'in' => 'query', + 'schema' => ['description' => 'DDoS高防实例在资源管理产品中所属的资源组ID。默认为空,即属于默认资源组。', 'type' => 'string', 'required' => false, 'example' => 'default'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '要查询的策略使用的模板类型。取值:'."\n" - .'- **promotion**:表示重大活动模板。'."\n" - .'- **bypass**:表示全量转发模板。', - 'type' => 'string', - 'required' => false, - 'example' => 'promotion', + 'type' => 'object', + 'properties' => [ + 'SlsOpenStatus' => ['description' => '是否已开通日志服务。取值:'."\n" + .'- **true**:已开通'."\n" + .'- **false**:未开通', 'type' => 'boolean', 'example' => 'true'], + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'], + ], ], ], + ], + 'title' => '查询阿里云日志服务SLS的开通状态', + 'summary' => '查询阿里云日志服务SLS的开通状态。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:14.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeSlsOpenStatus'], + ], + ], + 'ramActions' => [ [ - 'name' => 'Status', - 'in' => 'query', - 'schema' => [ - 'description' => '要查询的策略的生效状态。取值:'."\n" - .'- **0**:表示已被禁用。'."\n" - .'- **1**:表示等待生效。'."\n" - .'- **2**:表示生效中。'."\n" - .'- **3**:表示已过期。', - 'type' => 'string', - 'required' => false, - 'example' => '1', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeSlsOpenStatus', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], + ], + '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":""}]', + ], + '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' => 'DDoS高防实例在资源管理服务中所属的资源组ID。'."\n" - ."\n" - .'不设置该参数表示默认资源组。', - 'type' => 'string', - 'required' => false, - 'example' => 'rg-acfm2pz25js****', - ], + 'schema' => ['description' => 'DDoS高防实例在资源管理服务中所属的资源组ID。'."\n" + ."\n" + .'不设置该参数表示默认资源组。', 'type' => 'string', 'required' => false, 'example' => 'rg-acfm2pz25js****'], + ], + [ + 'name' => 'Role', + 'in' => 'query', + 'schema' => ['description' => '要查询的RAM角色名称。取值固定为**AliyunDDoSCOODefaultRole**,表示DDoS高防服务的默认角色。'."\n" + ."\n" + .'> DDoS高防服务默认使用此角色来访问您在其他云产品中的资源。', 'type' => 'string', 'required' => true, 'example' => 'AliyunDDoSCOODefaultRole'], ], ], 'responses' => [ @@ -13309,137 +11912,24 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Success' => [ - 'description' => '本次请求是否成功调用成功。取值:'."\n" - .'- **true**:表示调用成功。'."\n" - .'- **false**:表示调用失败。', - 'type' => 'boolean', - 'example' => 'true', - ], - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => 'F65DF043-E0EB-4796-9467-23DDCDF92C1D', - ], - 'Policies' => [ - 'description' => '定制场景策略的详细配置。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Done' => [ - 'description' => '策略执行状态。取值:'."\n" - .'- **1**:表示未执行或执行完成。'."\n" - .'- **0**:表示执行中。'."\n" - .'- **-1**:表示执行失败。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'EndTime' => [ - 'description' => '策略结束生效的时间。使用时间戳表示,单位:毫秒。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1586016000000', - ], - 'Status' => [ - 'description' => '策略的生效状态。取值:'."\n" - .'- **0**:表示已被禁用。'."\n" - .'- **1**:表示等待生效。'."\n" - .'- **2**:表示生效中。'."\n" - .'- **3**:表示已过期。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'StartTime' => [ - 'description' => '策略开始生效的时间。使用时间戳表示,单位:毫秒。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1585670400000', - ], - 'ObjectCount' => [ - 'description' => '策略的防护对象数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'Template' => [ - 'description' => '策略使用的模板类型。取值:'."\n" - .'- **promotion**:表示重大活动模板。'."\n" - .'- **bypass**:表示全量转发模板。', - 'type' => 'string', - 'example' => 'promotion', - ], - 'PolicyId' => [ - 'description' => '策略ID。', - 'type' => 'string', - 'example' => '321a-fd31-df51-****', - ], - 'Name' => [ - 'description' => '策略名称。', - 'type' => 'string', - 'example' => 'testpolicy', - ], - 'RuntimePolicies' => [ - 'description' => '策略运行规则。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Status' => [ - 'description' => '策略运行状态。取值:'."\n" - .'- **0**:表示未下发或策略恢复成功。'."\n" - .'- **1**:表示正在生效中(策略生效)。'."\n" - .'- **2**:表示正在恢复中(策略恢复)。'."\n" - .'- **3**:表示策略生效成功 。'."\n" - .'- **4**:表示策略生效失败。'."\n" - .'- **5**:表示策略恢复失败。'."\n" - .'- **6**:表示策略对应对象的配置不存在(可能已删除)。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '3', - ], - 'oldValue' => [ - 'description' => '策略生效前的防护规则。'."\n" - ."\n" - .'**PolicyType**为**1**时,取值:**{"cc\\_rule_enable": true}**,表示启用了频率控制。'."\n" - ."\n" - .'**PolicyType**为**2**时,取值:**{"ai\\_rule_enable": 1}**,表示启用了AI智能防护。', - 'type' => 'string', - 'example' => '{"cc_rule_enable": true}', - ], - 'NewValue' => [ - 'description' => '策略生效时的防护规则。'."\n" - ."\n" - .'**PolicyType**为**1**时,取值:**{"cc\\_rule_enable": false }**,表示禁用频率控制。'."\n" - ."\n" - .'**PolicyType**为**2**时,取值:**{"ai\\_rule_enable": 0}**,表示禁用AI智能防护。', - 'type' => 'string', - 'example' => '{"cc_rule_enable": false }', - ], - 'PolicyType' => [ - 'description' => '策略生效时触发的防护功能变更类型。取值:'."\n" - .'- **1**:表示频率控制功能变更。'."\n" - .'- **2**:表示AI智能防护功能变更。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - ], - ], - ], - ], + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => '6623EA1F-30FB-5BC8-BEC9-74D55F6F08F1'], + 'StsGrant' => [ + 'description' => 'DDoS高防服务的授权状态。', + 'type' => 'object', + 'properties' => [ + 'Status' => ['description' => '授权状态。取值:'."\n" + ."\n" + .'- **0**:表示未授权DDoS高防服务访问其他云产品资源。'."\n" + .'- **1**:表示已授权DDoS高防服务访问其他云产品资源。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], ], ], ], ], ], ], - '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' => '查询定制场景策略的详细信息', - 'summary' => '查询定制场景策略的详细配置。', - 'description' => '本接口用于查询已创建的定制场景策略的详细配置,例如,策略的状态、防护对象、防护规则等。'."\n" + 'title' => '查询是否授权访问其他云产品', + 'summary' => '查询是否授权DDoS高防服务访问其他云产品。', + 'description' => '本接口用于查询当前阿里云账号是否已授权DDoS高防服务访问其他云产品。'."\n" ."\n" .'### QPS限制'."\n" ."\n" @@ -13449,54 +11939,79 @@ .'调用API的请求格式,请参见本文**示例**中的请求示例。', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeSceneDefenseObjects' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:14.000Z', 'description' => '错误码发生变更'], + ], + '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' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + '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":""}]', + ], + 'DescribeSystemLog' => [ + 'summary' => '查询弹性业务带宽的账单详情。', + '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' => '要查询的策略ID。'."\n" - ."\n" - .'> 您可以调用[DescribeSceneDefensePolicies](~~159382~~)查询所有策略ID。', - 'type' => 'string', - 'required' => true, - 'example' => '47e07ebd-0ba5-4afc-957b-59d15b90****', - ], + 'schema' => ['description' => '要查询的系统日志的类型。取值固定为**20**,表示弹性业务带宽出账日志。'."\n" + ."\n" + .'> 必须设置该参数,否则会调用失败。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'], ], [ - 'name' => 'ResourceGroupId', + 'name' => 'EntityObject', 'in' => 'query', - 'schema' => [ - 'description' => 'DDoS高防实例在资源管理服务中所属的资源组ID。'."\n" - ."\n" - .'不设置该参数表示默认资源组。', - 'type' => 'string', - 'required' => false, - 'example' => 'rg-acfm2pz25js****', - ], + 'schema' => ['description' => '要查询的DDoS高防实例的IP地址。'."\n" + ."\n" + .'> 您可以调用[DescribeInstanceDetails](~~91490~~)查询DDoS高防实例的IP地址。', 'type' => 'string', 'required' => false, 'example' => '203.107.XX.XX'], + ], + [ + 'name' => 'StartTime', + 'in' => 'query', + 'schema' => ['description' => '设置起始时间,查询在该起始时间后出账的弹性业务带宽账单。使用时间戳表示,单位:毫秒。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1609430400000'], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => ['description' => '设置结束时间,查询在该结束时间前出账的弹性业务带宽账单。使用时间戳表示,单位:毫秒。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1640966400000'], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => ['description' => '分页查询时,设置当前页面的页码。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1'], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['description' => '分页查询时,设置每页包含日志的数量。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '10'], ], ], 'responses' => [ @@ -13504,40 +12019,37 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Success' => [ - 'description' => '本次请求是否成功调用。取值:'."\n" - ."\n" - .'- **true**:表示调用成功。'."\n" - .'- **false**:表示调用失败。', - 'type' => 'boolean', - 'example' => 'true', - ], - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => 'FE07E73F-F19E-4A51-B62F-AC59E3B962D8', - ], - 'Objects' => [ - 'description' => '定制场景策略的防护对象信息。', + 'Total' => ['description' => '查询到的弹性业务带宽出账日志的总数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => '8BC3A33A-F832-58DB-952F-7682A25AD14C'], + 'SystemLog' => [ + 'description' => '弹性业务带宽出账日志的详情列表。', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'Domain' => [ - 'description' => '策略防护的域名。', - 'type' => 'string', - 'example' => 'www.aliyundoc.com', - ], - 'PolicyId' => [ - 'description' => '定制场景策略的ID。', - 'type' => 'string', - 'example' => '47e07ebd-0ba5-4afc-957b-59d15b90****', - ], - 'Vip' => [ - 'description' => '策略防护的高防实例IP。', - 'type' => 'string', - 'example' => '203.XX.XX.119', - ], + 'Status' => ['description' => '账单的状态。取值:'."\n" + ."\n" + .'- **0**:表示待出账。'."\n" + .'- **1**:表示已出账。'."\n" + .'- **2**:表示终止出账。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'EntityType' => ['description' => '系统日志的类型。取值固定为**20**,表示弹性业务带宽出账日志。', 'type' => 'integer', 'format' => 'int32', 'example' => '20'], + 'EntityObject' => ['description' => 'DDoS高防实例的IP地址。', 'type' => 'string', 'example' => '203.107.XX.XX'], + 'GmtCreate' => ['description' => '账单的创建时间。使用时间戳表示,单位:毫秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1631793531000'], + 'OpAction' => ['description' => '操作类型。取值固定为**100**,表示新增弹性业务带宽出账记录。', 'type' => 'integer', 'format' => 'int32', 'example' => '100'], + 'GmtModified' => ['description' => '账单最后一次被修改的时间。使用时间戳表示,单位:毫秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1635425407000'], + 'OpAccount' => ['description' => '账单所属阿里云账号的ID。', 'type' => 'string', 'example' => '171986973287****'], + 'OpDesc' => ['description' => '账单详情。使用JSON结构体转化的字符串表示,JSON结构体包含以下字段:'."\n" + ."\n" + .'- **newEntity**:Object类型,表示账单记录,具体包含以下字段:'."\n" + ."\n" + .' - **billValue**:Integer类型 | 计费月份的弹性业务带宽用量,单位:Mbps。'."\n" + .' - **instanceId**:String类型 | DDoS高防实例的ID。'."\n" + .' - **ip**:String类型 | DDoS高防实例的IP地址。'."\n" + .' - **maxBw**:String类型 | 计费月份的实际业务流量峰值(月95峰值),单位:Mbps。'."\n" + .' - **month**:Long类型 | 账单出具月份(计费月份为账单出具月份的上个自然月),使用时间戳表示,单位:毫秒。'."\n" + .' - **overBandwidth**:Integer类型 | 实际业务流量峰值超出实例业务带宽规格的带宽大小,单位:Mbps。'."\n" + .' - **peakTime**:Long类型 | 实际业务流量峰值的计量时刻,使用时间戳表示,单位:秒。'."\n" + .' - **startTimestamp**:Long类型 | 实例业务流量峰值区间的起始时刻,使用时间戳表示,单位:秒。', '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}}'], ], ], ], @@ -13545,12 +12057,10 @@ ], ], ], - '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' => '查询定制场景策略的防护对象', - 'summary' => '查询定制场景策略的防护对象。', - 'description' => '本接口用于查询定制场景策略的防护对象。'."\n" + 'title' => '获取系统日志', + 'description' => '本接口用于查询DDoS高防服务的系统日志。系统日志目前只包含弹性业务带宽的出账日志。'."\n" ."\n" - .'调用本接口前,您必须已经调用[CreateSceneDefensePolicy](~~159779~~)创建了定制场景策略。'."\n" + .'如果您已经启用弹性业务带宽,可以调用本接口查询弹性业务带宽的账单详情。'."\n" ."\n" .'### QPS限制'."\n" ."\n" @@ -13560,17 +12070,36 @@ .'调用API的请求格式,请参见本文**示例**中的请求示例。', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DeleteWebCacheCustomRule' => [ - 'summary' => '删除网站业务静态页面缓存的自定义规则。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'changeSet' => [ + ['createdAt' => '2025-07-01T09:48:51.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2025-05-30T05:57:31.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2025-05-30T04:02:40.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2025-05-30T04:01:32.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2022-09-08T03:34:14.000Z', 'description' => '错误码发生变更'], + ], + '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' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + '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":""}]', + ], + 'DescribeTagKeys' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -13579,56 +12108,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' => 'RegionId', + 'in' => 'query', + 'schema' => ['description' => 'DDoS高防实例所属地域ID。取值固定为**cn-hangzhou**,表示中国内地,即DDoS高防(中国内地)服务。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], + ], [ 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => 'DDoS高防实例在资源管理服务中所属的资源组ID。'."\n" - ."\n" - .'不设置该参数表示默认资源组。', - 'type' => 'string', - 'required' => false, - 'example' => 'rg-acfm2pz25js****', - ], + 'schema' => ['description' => 'DDoS高防实例在资源管理服务中所属的资源组ID。'."\n" + ."\n" + .'不设置该参数表示默认资源组。', 'type' => 'string', 'required' => false, 'example' => 'rg-acfm2pz25js****'], ], [ - 'name' => 'Domain', + 'name' => 'ResourceType', 'in' => 'query', - 'schema' => [ - 'description' => '要删除静态页面缓存自定义规则的域名。'."\n" - ."\n" - .'> 您可以调用[DescribeDomains](~~91724~~)查询所有已接入DDoS高防防护的域名。', - 'type' => 'string', - 'required' => true, - 'example' => 'www.aliyundoc.com', - ], + 'schema' => ['description' => '资源类型。取值固定为**INSTANCE**,表示DDoS高防实例。', 'type' => 'string', 'required' => true, 'example' => 'INSTANCE'], ], [ - 'name' => 'RuleNames', + 'name' => 'PageSize', 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => '要删除的规则的名称列表。', - 'type' => 'array', - 'items' => [ - 'description' => '要删除的规则的名称。', - 'type' => 'string', - 'required' => false, - 'example' => 'doc-test-rule', - ], - 'required' => true, - 'example' => 'test', - 'maxItems' => 10, - ], + 'schema' => ['description' => '分页查询时,设置每页包含标签键的数量。默认值为**10**。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => ['description' => '分页查询时,设置当前页面的页码。默认值为**1**。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], ], ], 'responses' => [ @@ -13636,18 +12146,30 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => '6623EA1F-30FB-5BC8-BEC9-74D55F6F08F1', + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => '6623EA1F-30FB-5BC8-BEC9-74D55F6F08F1'], + 'PageNumber' => ['description' => '当前页面的页码。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'PageSize' => ['description' => '每页包含标签键的数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'TotalCount' => ['description' => '查询到的标签键的总数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'TagKeys' => [ + 'description' => '标签键详情列表。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'TagCount' => ['description' => '标签键关联的DDoS高防(中国内地)实例的数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '2'], + 'TagKey' => ['description' => '标签键。', 'type' => 'string', 'example' => 'aa1'], + ], + ], ], ], ], ], ], - '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' => '删除网站业务静态页面缓存的自定义规则', - 'description' => '本接口用于批量删除网站业务静态页面缓存的自定义规则。'."\n" + 'title' => '查询所有标签键', + 'summary' => '查询所有标签键及标签键关联的DDoS高防(中国内地)实例的数量。', + 'description' => '本接口用于分页查询所有标签键及标签键关联的DDoS高防(中国内地)实例的数量。'."\n" + ."\n" + .'> 只有DDoS高防(中国内地)服务支持标签功能。'."\n" ."\n" .'### QPS限制'."\n" ."\n" @@ -13657,16 +12179,32 @@ .'调用API的请求格式,请参见本文**示例**中的请求示例。', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'ModifyWebCacheSwitch' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:14.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeTagKeys'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeTagKeys', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + '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":""}]', + ], + 'DescribeTagResources' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -13675,49 +12213,71 @@ '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' => 'DDoS高防实例所属地域ID。取值固定为**cn-hangzhou**,表示中国内地,即DDoS高防(中国内地)实例。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], + ], [ 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => 'DDoS高防实例在资源管理服务中所属的资源组ID。'."\n" - ."\n" - .'不设置该参数表示默认资源组。'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'rg-acfm2pz25js****', - ], + 'schema' => ['description' => 'DDoS高防实例在资源管理服务中所属的资源组ID。'."\n" + ."\n" + .'不设置该参数表示默认资源组。', 'type' => 'string', 'required' => false, 'example' => 'rg-acfm2pz25js****'], ], [ - 'name' => 'Domain', + 'name' => 'ResourceType', + 'in' => 'query', + 'schema' => ['description' => '资源类型。取值固定为**INSTANCE**,表示DDoS高防实例。', 'type' => 'string', 'required' => true, 'example' => 'INSTANCE'], + ], + [ + 'name' => 'NextToken', + 'in' => 'query', + 'schema' => ['description' => '查询凭证(Token)。取值为上一次调用本接口返回的**NextToken**参数值。'."\n" + ."\n" + .'> 初次调用本接口时无需设置该参数。', 'type' => 'string', 'required' => false, 'example' => 'RGuYpqDdKhzXb8C3.D1BwQgc1tMBsoxdGiEKHHUUCf****'], + ], + [ + 'name' => 'ResourceIds', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => '要设置静态页面缓存的域名。'."\n" + 'description' => '要查询的DDoS高防(中国内地)实例的ID列表。', + 'type' => 'array', + 'items' => ['description' => '要查询的DDoS高防(中国内地)实例的ID。'."\n" ."\n" - .'> 您可以调用[DescribeDomains](~~91724~~)查询所有已接入DDoS高防防护的域名。', - 'type' => 'string', - 'required' => true, - 'example' => 'www.aliyundoc.com', + .'>- **ResourceIds.N**与**Tags.N.Key**不能同时为空。'."\n" + .'- 您可以调用[DescribeInstanceIds](~~157459~~)查询所有DDoS高防实例的ID。', 'type' => 'string', 'required' => false, 'example' => 'ddoscoo-cn-zz121ogz****'], + 'required' => false, + 'example' => 'ddoscoo-cn-mp91j1ao****', + 'maxItems' => 51, ], ], [ - 'name' => 'Enable', + 'name' => 'Tags', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => '设置静态页面缓存的开关状态。取值:'."\n" - ."\n" - .'- **1**:表示开启。'."\n" - .'- **0**:表示关闭。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '1', + 'description' => '要查询的标签列表。每个标签由标签键(**Key**)和标签值(**Value**)组成。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Key' => ['description' => '要查询的标签键。'."\n" + ."\n" + .'>- **ResourceIds.N**与**Tags.N.Key**不能同时为空。'."\n" + .'- 您可以调用[DescribeTagKeys](~~159785~~)查询所有标签键。', 'type' => 'string', 'required' => false, 'example' => 'testkey'], + 'Value' => ['description' => '要查询的标签值。', 'type' => 'string', 'required' => false, 'example' => 'testvalue'], + ], + 'required' => false, + ], + 'required' => false, + 'maxItems' => 21, ], ], ], @@ -13726,19 +12286,36 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => '6623EA1F-30FB-5BC8-BEC9-74D55F6F08F1', + 'NextToken' => ['description' => '本次调用返回的查询凭证(Token)。', 'type' => 'string', 'example' => 'RGuYpqDdKhzXb8C3.D1BwQgc1tMBsoxdGiEKHHUUCf****'], + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => '36E698F7-48A4-48D0-9554-0BB4BAAB99B3'], + 'TagResources' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'TagResource' => [ + 'description' => 'DDoS高防(中国内地)实例绑定的标签列表。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'TagValue' => ['description' => 'DDoS高防(中国内地)实例绑定的标签值。', 'type' => 'string', 'example' => 'testkey'], + 'ResourceType' => ['description' => '资源类型。取值固定为**INSTANCE**,表示DDoS高防实例。', 'type' => 'string', 'example' => 'INSTANCE'], + 'ResourceId' => ['description' => 'DDoS高防(中国内地)实例的ID。', 'type' => 'string', 'example' => 'ddoscoo-cn-zz121ogz****'], + 'TagKey' => ['description' => 'DDoS高防(中国内地)实例绑定的标签键。', 'type' => 'string', 'example' => 'testvalue'], + ], + ], + ], + ], ], ], ], ], ], - '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' => '设置网站业务静态页面缓存的开关状态', - 'summary' => '设置网站业务静态页面缓存的开关状态。', - 'description' => '本接口用于设置网站业务静态页面缓存的开关状态。'."\n" + 'title' => '查询资源关联的标签信息', + 'summary' => '查询DDoS高防(中国内地)实例绑定的标签信息。', + 'description' => '本接口用于查询DDoS高防(中国内地)实例绑定的标签信息。'."\n" + ."\n" + .'> 只有DDoS高防(中国内地)服务支持标签功能。'."\n" ."\n" .'### QPS限制'."\n" ."\n" @@ -13748,16 +12325,32 @@ .'调用API的请求格式,请参见本文**示例**中的请求示例。', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'ModifyWebCacheMode' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:14.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeTagResources'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeTagResources', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + '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":""}]', + ], + 'DescribeUdpReflect' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -13766,46 +12359,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' => 'DDoS高防实例在资源管理产品中所属的资源组ID。默认为空,即属于默认资源组。', - 'type' => 'string', - 'required' => false, - 'example' => 'default', - ], - ], - [ - 'name' => 'Domain', + 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => '网站业务的域名。'."\n" - .'> 域名必须已配置网站业务转发规则且关联了增强功能套餐的DDoS高防实例。您可以调用[DescribeDomains](~~91724~~)查询所有域名。', - 'type' => 'string', - 'required' => true, - 'example' => 'www.aliyun.com', - ], + 'schema' => ['description' => '要查询的DDoS高防实例的ID。'."\n" + ."\n" + .'> 您可以调用[DescribeInstanceIds](~~157459~~)查询所有DDoS高防实例的ID。', 'type' => 'string', 'required' => true, 'example' => 'ddoscoo-cn-i7m25564****'], ], [ - 'name' => 'Mode', + 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '静态页面缓存的模式。取值:'."\n" - .'- **standard**:标准模式'."\n" - .'- **aggressive**:强力模式'."\n" - .'- **bypass**:不缓存', - 'type' => 'string', - 'required' => true, - 'example' => 'standard', - ], + 'schema' => ['description' => 'DDoS高防实例所属地域ID。取值:'."\n" + ."\n" + .'- **cn-hangzhou**(默认):表示中国内地,对应DDoS高防(中国内地)实例。'."\n" + .'- **ap-southeast-1**:表示非中国内地,对应DDoS高防(非中国内地)实例。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'], ], ], 'responses' => [ @@ -13813,31 +12385,49 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc', + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'F97A8766-FB4D-411A-9CD5-2CFF701B592F'], + 'UdpSports' => [ + 'description' => '被UDP反射攻击防护策略过滤的反射源端口列表。', + 'type' => 'array', + 'items' => ['description' => '被UDP反射攻击防护策略过滤的反射源端口。', 'type' => 'string', 'example' => '17'], ], ], ], ], ], - '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' => '设置网站业务静态页面缓存的缓存模式', - 'summary' => '设置网站业务静态页面缓存的缓存模式。', - 'requestParamsDescription' => ' ', + 'title' => '查询 UDP 反射攻击防护策略', + 'summary' => '查询指定的DDoS高防实例上被UDP反射攻击防护策略过滤的反射源端口。', + 'requestParamsDescription' => '调用API时,除了本文中该API的请求参数,还需加入阿里云API公共请求参数。公共请求参数的详细介绍,请参见[公共参数](~~157269~~)。'."\n" + ."\n" + .'调用API的请求格式,请参见本文**示例**中的请求示例。', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'ModifyWebCacheCustomRule' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:14.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeUdpReflect'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeUdpReflect', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + '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":""}]', + ], + 'DescribeUnBlackholeCount' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -13846,50 +12436,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' => 'DDoS高防实例在资源管理产品中所属的资源组ID。默认为空,即属于默认资源组。', - 'type' => 'string', - 'required' => false, - 'example' => 'default', - ], - ], - [ - 'name' => 'Domain', - 'in' => 'query', - 'schema' => [ - 'description' => '网站业务的域名。'."\n" - .'> 域名必须已配置网站业务转发规则且关联了增强功能套餐的DDoS高防实例。您可以调用[DescribeDomains](~~91724~~)查询所有域名。', - 'type' => 'string', - 'required' => true, - 'example' => 'www.aliyun.com', - ], - ], - [ - 'name' => 'Rules', - 'in' => 'query', - 'schema' => [ - 'description' => '静态页面缓存的自定义规则信息,使用JSON格式的字符串表述,具体结构如下。'."\n" - .'- **Name**:String类型,必选,规则名称。'."\n" - .'- **Uri**:String类型,必选,缓存页面的路径。'."\n" - .'- **Mode**:String类型,必选,缓存模式。取值:'."\n" - .' - **standard**:标准模式'."\n" - .' - **aggressive**:强力模式'."\n" - .' - **bypass**:不缓存'."\n" - .'- **CacheTtl**:Integer类型,必选,页面缓存的过期时间。单位:秒。', - 'type' => 'string', - 'required' => true, - 'example' => '[{"Name": "test","Uri": "/a","Mode": "standard","CacheTtl": 3600}]', - ], + 'schema' => ['description' => 'DDoS高防实例在资源管理产品中所属的资源组ID。默认为空,即属于默认资源组。', 'type' => 'string', 'required' => false, 'example' => 'default'], ], ], 'responses' => [ @@ -13897,31 +12453,45 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc', - ], + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => '232929FA-40B6-4C53-9476-EE335ABA44CD'], + 'TotalCount' => ['description' => '黑洞解封总次数。', 'type' => 'integer', 'format' => 'int32', 'example' => '5'], + 'RemainCount' => ['description' => '剩余的黑洞解封次数。', 'type' => 'integer', 'format' => 'int32', 'example' => '5'], ], ], ], ], - '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' => '设置网站业务静态页面缓存的自定义规则', - 'summary' => '设置网站业务静态页面缓存的自定义规则。', + 'title' => '查询黑洞解封次数', + 'summary' => '查询黑洞解封次数。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeWebCacheConfigs' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:14.000Z', 'description' => '错误码发生变更'], + ], + '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' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + '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":""}]', + ], + 'DescribeUnBlockCount' => [ + 'summary' => '查询可用的近源流量压制次数。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -13931,126 +12501,125 @@ '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' => 'DDoS高防实例在资源管理产品中所属的资源组ID。默认为空,即属于默认资源组。', 'type' => 'string', 'required' => false, 'example' => 'default'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'DDoS高防实例在资源管理服务中所属的资源组ID。'."\n" - ."\n" - .'不设置该参数表示默认资源组。', - 'type' => 'string', - 'required' => false, - 'example' => 'rg-acfm2pz25js****', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E'], + 'TotalCount' => ['description' => '总共可用的近源流量压制次数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'RemainCount' => ['description' => '剩余可用的近源流量压制次数。', 'type' => 'integer', 'format' => 'int32', 'example' => '7'], + ], + 'description' => '', ], ], + ], + 'title' => '查询可用的近源流量压制次数', + 'description' => '> 该接口仅适用于DDoS高防(中国内地)服务。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:14.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeUnBlockCount'], + ], + ], + 'ramActions' => [ [ - 'name' => 'Domains', - 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => '要查询静态页面缓配置的域名列表。', - 'type' => 'array', - 'items' => [ - 'description' => '要查询静态页面缓配置的域名。'."\n" - ."\n" - .'> 您可以调用[DescribeDomains](~~91724~~)查询所有已接入DDoS高防防护的域名。', - 'type' => 'string', - 'required' => false, - 'example' => 'www.aliyundoc.com', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeUnBlockCount', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], ], - 'required' => true, - 'example' => 'www.aliyun.com', - 'maxItems' => 5, ], ], ], + '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":""}]', + ], + 'DescribeWebAccessLogDispatchStatus' => [ + 'summary' => '查询所有域名的全量日志开关状态。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '106197', + 'abilityTreeNodes' => ['FEATUREddosRTUJBH'], + ], + 'parameters' => [ + [ + 'name' => 'ResourceGroupId', + 'in' => 'query', + 'schema' => ['description' => 'DDoS高防实例在资源管理服务中所属的资源组ID。'."\n" + ."\n" + .'不设置该参数表示默认资源组。', 'type' => 'string', 'required' => false, 'example' => 'rg-acfm2pz25js****'], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => ['description' => '分页查询时,设置当前页面的页面。默认值为**1**。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'maximum' => '50', 'minimum' => '1', 'default' => '1'], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['description' => '分页查询时,设置每页包含域名的数量。默认值为**10**。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10', 'maximum' => '500', 'minimum' => '1', 'default' => '10'], + ], + ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => '6623EA1F-30FB-5BC8-BEC9-74D55F6F08F1', - ], - 'DomainCacheConfigs' => [ - 'description' => '静态页面缓存的配置信息。', + 'TotalCount' => ['description' => '查询到的域名的总数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'], + 'SlsConfigStatus' => [ + 'description' => '域名的全量日志开关状态。', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'Domain' => [ - 'description' => '网站域名。', - 'type' => 'string', - 'example' => 'www.aliyundoc.com', - ], - 'Mode' => [ - 'description' => '缓存模式。取值:'."\n" - .'- **standard**:表示标准模式。'."\n" - .'- **aggressive**:表示强力模式。'."\n" - .'- **bypass**:表示不缓存。', - 'type' => 'string', - 'example' => 'bypass', - ], - 'Enable' => [ - 'description' => '开关状态。取值:'."\n" - .'- **1**:表示开启。'."\n" - .'- **0**:表示关闭。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'CustomRules' => [ - 'description' => '自定义缓存规则配置。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Mode' => [ - 'description' => '缓存模式。取值:'."\n" - .'- **standard**:表示标准模式。'."\n" - .'- **aggressive**:表示强力模式。'."\n" - .'- **bypass**:表示不缓存。', - 'type' => 'string', - 'example' => 'standard', - ], - 'CacheTtl' => [ - 'description' => '页面缓存的过期时间。单位:秒。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '86400', - ], - 'Name' => [ - 'description' => '规则名称。', - 'type' => 'string', - 'example' => 'c1', - ], - 'Uri' => [ - 'description' => '缓存页面的路径。', - 'type' => 'string', - 'example' => '/blog/', - ], - ], - ], - ], + 'Domain' => ['description' => '域名。', 'type' => 'string', 'example' => 'www.aliyundoc.com'], + 'Enable' => ['description' => '是否开启全量日志采集。取值:'."\n" + .'- **true**:表示已开启。'."\n" + .'- **false**:表示未开启。', 'type' => 'boolean', 'example' => 'true'], ], + 'description' => '', ], ], ], + 'description' => '', ], ], ], - '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' => '查询网站业务静态页面缓存的配置', - 'summary' => '查询网站业务静态页面缓存的配置。', - 'description' => '本接口用于查询网站业务静态页面缓存的配置,例如,缓存模式、自定义缓存规则等。'."\n" + 'title' => '查询所有域名的全量日志开关状态', + 'description' => '本接口用于查询所有已接入DDoS高防防护的域名的全量日志开关状态。'."\n" ."\n" .'### QPS限制'."\n" ."\n" @@ -14060,16 +12629,32 @@ .'调用API的请求格式,请参见本文**示例**中的请求示例。', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeDDosEventMax' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2022-06-09T04:19:33.000Z', 'description' => '错误码发生变更'], + ], + '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' => '全部资源', '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":""}]', + ], + 'DescribeWebAccessLogEmptyCount' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -14079,40 +12664,15 @@ 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', - 'abilityTreeCode' => '106113', - 'abilityTreeNodes' => [ - 'FEATUREddosRTUJBH', - ], + 'abilityTreeCode' => '106198', + 'abilityTreeNodes' => ['FEATUREddosOZ1QOD'], + 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'StartTime', - 'in' => 'query', - 'schema' => [ - 'description' => '查询开始时间戳,单位:秒。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1598889600', - ], - ], - [ - 'name' => 'EndTime', - 'in' => 'query', - 'schema' => [ - 'description' => '查询结束时间戳,单位:秒。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1604073600', - ], - ], - [ - 'name' => 'Ip', + 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - ], + 'schema' => ['description' => 'DDoS高防实例在资源管理产品中所属的资源组ID。默认为空,即属于默认资源组。', 'type' => 'string', 'required' => false, 'example' => 'default'], ], ], 'responses' => [ @@ -14120,51 +12680,43 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Qps' => [ - 'description' => 'Web资源耗尽型攻击峰值,单位:qps。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '26314', - ], - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => '5AE2FC86-C840-41AE-9F1A-3A2747C7C1DF', - ], - 'Cps' => [ - 'description' => '连接型攻击峰值,单位:cps。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1302', - ], - 'Mbps' => [ - 'description' => '流量型攻击峰值,单位:Mbps。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '6809', - ], + 'AvailableCount' => ['description' => '可用的清空日志库的次数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'], ], ], ], ], - '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' => '查询攻击峰值', - 'summary' => '查询流量型攻击峰值(bps)、连接型攻击峰值(cps)、Web资源耗尽型攻击峰值(qps)。', - 'requestParamsDescription' => '调用API时,除了本文中该API的请求参数,还需加入阿里云API公共请求参数。公共请求参数的详细介绍,请参见[公共参数](~~157269~~)。'."\n" - ."\n" - .'调用API的请求格式,请参见本文**示例**中的请求示例。', + 'title' => '查询可用的清空日志库的次数', + 'summary' => '查询可用的清空日志库的次数。', + 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeDDosEventArea' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:14.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeWebAccessLogEmptyCount'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeWebAccessLogEmptyCount', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + '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":""}]', + ], + 'DescribeWebAccessLogStatus' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -14173,59 +12725,21 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'list', - 'abilityTreeCode' => '106110', - 'abilityTreeNodes' => [ - 'FEATUREddosRTUJBH', - ], + 'operationType' => 'get', + 'abilityTreeCode' => '106199', + 'abilityTreeNodes' => ['FEATUREddosOZ1QOD'], ], 'parameters' => [ [ - 'name' => 'EventType', - 'in' => 'query', - 'schema' => [ - 'description' => '要查询的攻击事件类型。取值:'."\n" - ."\n" - .'- **defense**:表示流量型攻击清洗事件。'."\n" - .'- **blackhole**:表示流量型攻击黑洞事件。', - 'type' => 'string', - 'required' => true, - 'example' => 'defense', - ], - ], - [ - 'name' => 'StartTime', - 'in' => 'query', - 'schema' => [ - 'description' => '要查询事件的开始时间戳,单位:秒。'."\n" - ."\n" - .'> 您可以调用[DescribeDDosAllEventList](~~188604~~)查询所有事件的开始时间信息。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1598948471', - ], - ], - [ - 'name' => 'Ip', + 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => '受攻击的DDoS高防IP。', - 'type' => 'string', - 'required' => true, - 'example' => '203.XX.XX.199', - ], + 'schema' => ['description' => 'DDoS高防实例在资源管理产品中所属的资源组ID。默认为空,即属于默认资源组。', 'type' => 'string', 'required' => false, 'example' => 'default'], ], [ - 'name' => 'Range', + 'name' => 'Domain', 'in' => 'query', - 'schema' => [ - 'description' => '返回的数据量, 单位:条。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '100', - ], + 'schema' => ['description' => '网站业务的域名。'."\n" + .'> 域名必须已配置网站业务转发规则。您可以调用[DescribeDomains](~~91724~~)查询所有域名。'."\n", 'type' => 'string', 'required' => true, 'example' => 'www.aliyun.com'], ], ], 'responses' => [ @@ -14233,56 +12747,47 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => '11710C9F-BC5E-481A-BEC5-C6D8FBFCA827', - ], - 'Areas' => [ - 'description' => '攻击来源地域信息。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'InPkts' => [ - 'description' => '攻击来源地域的请求包数量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '228', - ], - 'Area' => [ - 'description' => '攻击来源地域的代码,包含中国地域(省市区维度)和国际地域(国际维度)。例如,**110000**表示中国北京市、**us**表示美国。'."\n" - ."\n" - .'> 关于该参数的取值说明,请参见[地域类型参数取值说明](~~167926~~)。', - 'type' => 'string', - 'example' => '110000', - ], - ], - ], - ], + 'SlsLogstore' => ['description' => 'DDoS高防服务对接的日志库。', 'type' => 'string', 'example' => 'ddoscoo-logstore'], + 'SlsStatus' => ['description' => '网站业务是否开启全量日志。取值:'."\n" + .'- **true**:已开启'."\n" + .'- **false**:未开启', 'type' => 'boolean', 'example' => 'true'], + 'SlsProject' => ['description' => 'DDoS高防服务对接的日志服务项目。', 'type' => 'string', 'example' => 'ddoscoo-project-128965410602****-cn-hangzhou'], + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'], ], ], ], ], - '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' => '查询某次流量型攻击的来源地域详情', - 'summary' => '查询某次流量型攻击的来源地域详情。', - 'description' => '> 目前该接口仅适用于查询流量型攻击的数据,不适用于查询Web资源消耗型和连接型攻击的数据。', - 'requestParamsDescription' => '调用API时,除了本文中该API的请求参数,还需加入阿里云API公共请求参数。公共请求参数的详细介绍,请参见[公共参数](~~157269~~)。'."\n" - ."\n" - .'调用API的请求格式,请参见本文**示例**中的请求示例。', + 'title' => '查询单个网站业务的全量日志服务信息', + 'summary' => '例如开关状态、对接的日志项目、日志库。', + 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeDDosEventAttackType' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2022-06-09T04:19:33.000Z', 'description' => '错误码发生变更'], + ], + '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' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + '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":""}]', + ], + 'DescribeWebAccessMode' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -14292,46 +12797,22 @@ 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', - 'abilityTreeCode' => '106111', - 'abilityTreeNodes' => [ - 'FEATUREddosRTUJBH', - ], + 'abilityTreeCode' => '106201', + 'abilityTreeNodes' => ['FEATUREddosOZ1QOD'], ], 'parameters' => [ [ - 'name' => 'EventType', - 'in' => 'query', - 'schema' => [ - 'description' => '要查询的攻击事件的类型。取值:'."\n" - ."\n" - .'- **defense**:表示流量型攻击清洗事件。'."\n" - .'- **blackhole**:表示流量型攻击黑洞事件。', - 'type' => 'string', - 'required' => true, - 'example' => 'defense', - ], - ], - [ - 'name' => 'StartTime', - 'in' => 'query', - 'schema' => [ - 'description' => '要查询事件的开始时间戳,单位:秒。'."\n" - ."\n" - .'> 您可以调用[DescribeDDosAllEventList](~~188604~~)查询所有事件的开始时间信息。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1598948471', - ], - ], - [ - 'name' => 'Ip', + 'name' => 'Domains', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => '受攻击的高防IP。', - 'type' => 'string', + 'description' => '网站业务的域名。'."\n" + .'> 域名必须已配置网站业务转发规则。您可以调用[DescribeDomains](~~91724~~)查询所有域名。'."\n", + 'type' => 'array', + 'items' => ['description' => '网站业务的域名。', 'type' => 'string', 'required' => false, 'example' => 'www.test****.com'], 'required' => true, - 'example' => '203.***.***.199', + 'example' => 'www.aliyun.com', + 'maxItems' => 20, ], ], ], @@ -14340,70 +12821,18 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => '6F644A6E-40E7-483F-9DBB-CC27E16BB555', - ], - 'AttackTypes' => [ - 'description' => '攻击类型信息。', + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc'], + 'DomainModes' => [ + 'description' => '网站业务的接入模式信息。', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'InPkts' => [ - 'description' => '该攻击类型的请求包数量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '145902', - ], - 'AttackType' => [ - 'description' => '攻击类型。取值:'."\n" - ."\n" - .'- **QOTD-Reflect-Flood**:QOTD反射攻击'."\n" - .'- **CharGEN-Reflect-Flood**:CharGEN反射攻击'."\n" - .'- **DNS-Reflect-Flood**:DNS反射攻击'."\n" - .'- **TFTP-Reflect-Flood**:TFTP反射攻击'."\n" - .'- **Portmap-Reflect-Flood**:Portmap反射攻击'."\n" - .'- **NTP-Reflect-Flood**:NTP反射攻击'."\n" - .'- **NetBIOS-Reflect-Flood**:NetBIOS反射攻击'."\n" - .'- **SNMPv2-Reflect-Flood**:SNMPv2反射攻击'."\n" - .'- **CLDAP-Reflect-Flood**:CLDAP反射攻击'."\n" - .'- **Ripv1-Reflect-Flood**:Ripv1反射攻击'."\n" - .'- **OpenVPN-Reflect-Flood**:OpenVPN反射攻击'."\n" - .'- **SSDP-Reflect-Flood**:SSDP反射攻击'."\n" - .'- **NetAssistant-Reflect-Flood**:NetAssistant反射攻击'."\n" - .'- **WSDiscovery-Reflect-Flood**:WSDiscovery反射攻击'."\n" - .'- **Kad-Reflect-Flood**:Kad反射攻击'."\n" - .'- **mDNS-Reflect-Flood**:mDNS反射攻击'."\n" - .'- **10001-Reflect-Flood**:10001反射攻击'."\n" - .'- **Memcached-Reflect-Flood**:Memcached反射攻击'."\n" - .'- **QNP-Reflect-Flood**:QNP反射攻击'."\n" - .'- **DVR-Reflect-Flood**:DVR反射攻击'."\n" - .'- **CoAP-Reflect-Flood**:CoAP反射攻击'."\n" - .'- **ADDP-Reflect-Flood**:ADDP反射攻击'."\n" - .'- **Tcp-Syn**:TCP SYN Flood攻击'."\n" - .'- **Tcp-Fin**:TCP FIN Flood攻击'."\n" - .'- **Tcp-Ack**:TCP ACK Flood攻击'."\n" - .'- **Tcp-Rst**:TCP RST Flood攻击'."\n" - .'- **Tcp-Pushack**:TCP PSH+ACK Flood攻击'."\n" - .'- **Tcp-Synack**:TCP SYN+ACK Flood攻击'."\n" - .'- **Udp-None**:UDP攻击'."\n" - .'- **Udp-Ssh**:UDP SSH协议攻击'."\n" - .'- **Udp-Dns**:UDP DNS协议攻击'."\n" - .'- **Udp-Http**:UDP HTTP协议攻击'."\n" - .'- **Udp-Https**:UDP HTTPS协议攻击'."\n" - .'- **Udp-Ntp**:UDP NTP协议攻击'."\n" - .'- **Udp-Ldap**:UDP LDAP协议攻击'."\n" - .'- **Udp-Ssdp**:UDP SSDP协议攻击'."\n" - .'- **Udp-Memcached**:Memcache UDP反射放大攻击'."\n" - .'- **Tcp-Other**:TCP其他类型攻击'."\n" - .'- **Icmp**:ICMP Flood攻击'."\n" - .'- **Igmp**:IGMP Flood攻击'."\n" - .'- **Ipv6**:IPv6攻击', - 'type' => 'string', - 'example' => 'Tcp-Syn', - ], + 'AccessMode' => ['description' => '接入模式。取值:'."\n" + .'- **0**:A记录接入'."\n" + .'- **1**:高防模式'."\n" + .'- **2**:回源模式', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'Domain' => ['description' => '网站域名。', 'type' => 'string', 'example' => 'www.aliyun.com'], ], ], ], @@ -14411,25 +12840,37 @@ ], ], ], - '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' => '查询某次流量型攻击的攻击类型详情', - 'summary' => '查询某次流量型攻击的攻击类型详情。', - 'description' => '> 目前该接口仅适用于查询流量型攻击的数据,不适用于查询Web资源消耗型和连接型攻击的数据。', - 'requestParamsDescription' => '调用API时,除了本文中该API的请求参数,还需加入阿里云API公共请求参数。公共请求参数的详细介绍,请参见[公共参数](~~157269~~)。'."\n" - ."\n" - .'调用API的请求格式,请参见本文**示例**中的请求示例。', + 'title' => '查询网站业务的接入模式', + 'summary' => '查询网站业务的接入模式。', + 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeDDosEventIsp' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:14.000Z', 'description' => '错误码发生变更'], + ], + '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' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + '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":""}]', + ], + 'DescribeWebAreaBlockConfigs' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -14439,58 +12880,27 @@ 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', - 'abilityTreeCode' => '106112', - 'abilityTreeNodes' => [ - 'FEATUREddosY2OCST', - ], + 'abilityTreeCode' => '106202', + 'abilityTreeNodes' => ['FEATUREddosOZ1QOD'], ], 'parameters' => [ [ - 'name' => 'EventType', + 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => '要查询的攻击事件类型。取值:'."\n" - ."\n" - .'- **defense**:流量型攻击清洗事件。'."\n" - .'- **blackhole**:流量型攻击黑洞事件。', - 'type' => 'string', - 'required' => true, - 'example' => 'defense', - ], - ], - [ - 'name' => 'StartTime', - 'in' => 'query', - 'schema' => [ - 'description' => '要查询事件的开始时间戳,单位:秒。'."\n" - ."\n" - .'> 您可以调用[DescribeDDosAllEventList](~~473646~~)查询所有事件的开始时间信息。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1598948471', - ], + 'schema' => ['description' => 'DDoS高防实例在资源管理产品中所属的资源组ID。默认为空,即属于默认资源组。', 'type' => 'string', 'required' => false, 'example' => 'default'], ], [ - 'name' => 'Ip', + 'name' => 'Domains', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => '受攻击的高防IP。', - 'type' => 'string', + 'description' => '网站业务的域名。'."\n" + .'> 域名必须已配置网站业务转发规则。您可以调用[DescribeDomains](~~91724~~)查询所有域名。', + 'type' => 'array', + 'items' => ['description' => '网站业务的域名。', 'type' => 'string', 'required' => false, 'example' => 'www.aliyun**.com'], 'required' => true, - 'example' => '203.***.***.199', - ], - ], - [ - 'name' => 'Range', - 'in' => 'query', - 'schema' => [ - 'description' => '返回的数据量, 单位:条。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '100', - 'default' => '50', + 'example' => 'www.aliyun.com', + 'maxItems' => 10, ], ], ], @@ -14499,46 +12909,26 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => 'C4A3BCD1-4A32-4342-941A-4745AE69508C', - ], - 'Isps' => [ - 'description' => '攻击来源网络运营商信息。', + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc'], + 'AreaBlockConfigs' => [ + 'description' => '区域封禁(针对域名)的配置信息。', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'InPkts' => [ - 'description' => '来自该网络运营商的请求包数量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '230', - ], - 'Isp' => [ - 'description' => '攻击来源网络运营商的代码。取值:'."\n" - ."\n" - .'- **100017**:电信'."\n" - .'- **100026**:联通'."\n" - .'- **100025**:移动'."\n" - .'- **100027**:教育网'."\n" - .'- **100020**:铁通'."\n" - .'- **1000143**:鹏博士'."\n" - .'- **100080**:歌华'."\n" - .'- **1000139**:广电'."\n" - .'- **100023**:有线通'."\n" - .'- **100063**:方正宽带'."\n" - .'- **1000337**:皓宽网络'."\n" - .'- **100021**:世纪互联'."\n" - .'- **1000333**:华数传媒'."\n" - .'- **100093**:网宿'."\n" - .'- **1000401**:腾讯'."\n" - .'- **100099**:百度'."\n" - .'- **1000323**:阿里云'."\n" - .'- **100098**:阿里巴巴', - 'type' => 'string', - 'example' => '1000323', + 'Domain' => ['description' => '网站域名。', 'type' => 'string', 'example' => 'www.aliyun.com'], + 'RegionList' => [ + 'description' => '封禁地区信息。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Region' => ['description' => '地区。', 'type' => 'string', 'example' => 'CN-SHANGHAI'], + 'Block' => ['description' => '封禁状态。取值:'."\n" + .'- **0**:未封禁'."\n" + .'- **1**:已封禁', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + ], + ], ], ], ], @@ -14547,83 +12937,70 @@ ], ], ], - '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' => '查询攻击来源网络运营商(ISP)信息', - 'summary' => '查询某次流量型攻击的攻击来源网络运营商(ISP)信息。', - 'description' => '> 目前该接口仅适用于查询流量型攻击的数据,不适用于查询Web资源消耗型和连接型攻击的数据。', + 'title' => '查询网站业务区域封禁配置信息', + 'summary' => '查询网站业务区域封禁(针对域名)的配置信息。', + 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeDDosEventSrcIp' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:14.000Z', 'description' => '错误码发生变更'], + ], + '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' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + '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":""}]', + ], + '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' => '要查询的攻击事件的类型。取值:'."\n" - ."\n" - .'- **defense**:表示流量型攻击清洗事件。'."\n" - .'- **blackhole**:表示流量型攻击黑洞事件。', - 'type' => 'string', - 'required' => true, - 'example' => 'defense', - ], + 'schema' => ['description' => 'DDoS高防实例在资源管理产品中所属的资源组ID。默认为空,即属于默认资源组。', 'type' => 'string', 'required' => false, 'example' => 'default'], ], [ - 'name' => 'StartTime', + 'name' => 'Domain', 'in' => 'query', - 'schema' => [ - 'description' => '要查询事件的开始时间戳,单位:秒。'."\n" - ."\n" - .'> 您可以调用[DescribeDDosAllEventList](~~188604~~)查询所有事件的开始时间信息。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1598948471', - ], + 'schema' => ['description' => '网站业务的域名。'."\n" + .'> 域名必须已配置网站业务转发规则。您可以调用[DescribeDomains](~~91724~~)查询所有域名。', 'type' => 'string', 'required' => true, 'example' => 'www.aliyun.com'], ], [ - 'name' => 'Ip', + 'name' => 'PageNumber', 'in' => 'query', - 'schema' => [ - 'description' => '受攻击的高防IP。', - 'type' => 'string', - 'required' => true, - 'example' => '203.***.***.199', - ], + 'schema' => ['description' => '分页查询请求时返回的页码。例如,查询第一页的返回结果,则填写**1**。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], ], [ - 'name' => 'Range', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => '要返回的攻击来源IP的个数。按照攻击流量由大到小排序,默认返回前**5**个IP。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '2', - ], + 'schema' => ['description' => '页面显示的记录数量。', 'type' => 'string', 'required' => true, 'example' => '10'], ], ], 'responses' => [ @@ -14631,51 +13008,25 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => '38A0224E-FDBC-4733-A362-B391827FC1E9', - ], - 'Ips' => [ - 'description' => '攻击来源IP信息。', + 'TotalCount' => ['description' => '频率控制(CC防护)自定义规则的总数。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'EAED912D-909E-45F0-AF74-AC0CCDCAE314'], + 'WebCCRules' => [ + 'description' => '频率控制(CC防护)自定义规则。', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'SrcIp' => [ - 'description' => '攻击来源IP。', - 'type' => 'string', - 'example' => '218.***.***.24', - ], - 'AreaId' => [ - 'description' => '攻击来源地域的代码。更多信息,请参见[地域代码](~~167926~~)。例如,**110000**表示中国北京市、**us**表示美国。', - 'type' => 'string', - 'example' => '110000', - ], - 'Isp' => [ - 'description' => '攻击来源网络运营商。取值:'."\n" - ."\n" - .'- **100017**:电信'."\n" - .'- **100026**:联通'."\n" - .'- **100025**:移动'."\n" - .'- **100027**:教育网'."\n" - .'- **100020**:铁通'."\n" - .'- **1000143**:鹏博士'."\n" - .'- **100080**:歌华'."\n" - .'- **1000139**:广电'."\n" - .'- **100023**:有线通'."\n" - .'- **100063**:方正宽带'."\n" - .'- **1000337**:皓宽网络'."\n" - .'- **100021**:世纪互联'."\n" - .'- **1000333**:华数传媒'."\n" - .'- **100093**:网宿'."\n" - .'- **1000401**:腾讯'."\n" - .'- **100099**:百度'."\n" - .'- **1000323**:阿里云'."\n" - .'- **100098**:阿里巴巴', - 'type' => 'string', - 'example' => '100026', - ], + 'Ttl' => ['description' => '封禁时长。取值范围:**1**~**1440**,单位:分钟。', 'type' => 'integer', 'format' => 'int32', 'example' => '60'], + 'Act' => ['description' => '阻断类型。取值:'."\n" + .'- **close**:封禁'."\n" + .'- **captcha**:人机识别', 'type' => 'string', 'example' => 'close'], + 'Interval' => ['description' => '检测间隔。取值范围:**5**~**10800**,单位:秒。', 'type' => 'integer', 'format' => 'int32', 'example' => '5'], + 'Mode' => ['description' => '匹配模式。取值:'."\n" + .'- **prefix**:前缀匹配'."\n" + .'- **match**:完全匹配', 'type' => 'string', 'example' => 'prefix'], + 'Name' => ['description' => '规则名称。', 'type' => 'string', 'example' => 'wq'], + 'Uri' => ['description' => '检测路径。', 'type' => 'string', 'example' => '/hello'], + 'Count' => ['description' => '单一IP访问次数。取值范围:**2**~**2000**。', 'type' => 'integer', 'format' => 'int32', 'example' => '3'], ], ], ], @@ -14683,25 +13034,40 @@ ], ], ], - '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' => '查询某次流量型攻击的攻击来源IP详情', - 'summary' => '查询某次流量型攻击的攻击来源IP详情。', - 'description' => '> 目前该接口仅适用于查询流量型攻击的数据,不适用于查询Web资源消耗型和连接型攻击的数据。', - 'requestParamsDescription' => '调用API时,除了本文中该API的请求参数,还需加入阿里云API公共请求参数。公共请求参数的详细介绍,请参见[公共参数](~~157269~~)。'."\n" - ."\n" - .'调用API的请求格式,请参见本文**示例**中的请求示例。', + 'staticInfo' => [ + 'substitutions' => ['ddoscoo::2020-01-01::ConfigWebCCRuleV2'], + ], + 'title' => '查询网站业务CC防护自定义规则', + 'summary' => '查询网站业务频率控制防护(CC防护)的自定义规则。', + 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeBackSourceCidr' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:14.000Z', 'description' => '错误码发生变更'], + ], + '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' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + '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":""}]', + ], + 'DescribeWebCCRulesV2' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -14710,87 +13076,178 @@ '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' => 'DDoS高防实例在资源管理产品中所属的资源组ID。默认为空,即属于默认资源组。', - 'type' => 'string', - 'required' => false, - 'example' => 'rg-acfm2pz25js****', - ], + 'schema' => ['description' => '要接入DDoS高防进行防护的网站域名。', 'type' => 'string', 'required' => false, 'example' => 'example.com'], ], [ - 'name' => 'Line', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => '要查询的线路。', - 'type' => 'string', - 'required' => false, - 'example' => 'coop-line-001', - ], + 'schema' => ['description' => '分页大小,即每页显示多少个结果。最大值**20**,默认值**20**。', 'type' => 'string', 'required' => false, 'example' => '20'], ], [ - 'name' => 'IpVersion', + 'name' => 'Offset', 'in' => 'query', - 'schema' => [ - 'description' => '要查询的回源IP网段的IP协议类型。'."\n" - ."\n" - .'- **Ipv4**:表示IPv4协议。'."\n" - .'- **Ipv6**:表示IPv6协议。', - 'type' => 'string', - 'required' => false, - 'example' => 'IPv4', - ], + 'schema' => ['description' => '开始索引位置,即从第几条结果开始显示。默认从**0**开始。 ', 'type' => 'string', 'required' => false, 'example' => '0'], + ], + [ + 'name' => 'Owner', + 'in' => 'query', + 'schema' => ['description' => '筛选规则来源。取值:'."\n" + .'- **manual**(默认):手动添加'."\n" + .'- **clover**:自动生成', 'type' => 'string', 'required' => false, 'example' => 'manual'], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。', - 'type' => 'string', - 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc', - ], - 'Cidrs' => [ - 'description' => 'DDoS高防的回源IP网段列表。', + 'RequestId' => ['title' => 'Id of the request', 'description' => '本次调用请求的 ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'], + 'TotalCount' => ['description' => '频率控制规则总数。', 'type' => 'string', 'example' => '12'], + 'Domain' => ['description' => '网站业务的域名。', 'type' => 'string', 'example' => 'www.aliyun.com'], + 'WebCCRules' => [ + 'description' => '频率控制(CC防护)自定义规则。', 'type' => 'array', 'items' => [ - 'description' => 'DDoS高防的回源IP网段。', - 'type' => 'string', - 'example' => '47.0.XX.XX/25', + 'description' => '频率控制(CC防护)自定义规则。', + 'type' => 'object', + 'properties' => [ + 'Owner' => ['description' => '规则来源。取值:'."\n" + .'- **manual**(默认):手动添加'."\n" + .'- **clover**:自动生成', 'type' => 'string', 'example' => 'manual'], + 'Expires' => ['description' => '规则有效期。单位:秒。规则的匹配动作为阻断时(action为block)生效,在规则有效期内阻断访问请求。0表示永久生效。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'], + 'Name' => ['description' => '规则名称。', 'type' => 'string', 'example' => 'wq'], + 'RuleDetail' => [ + 'description' => '规则详情。', + 'type' => 'object', + 'properties' => [ + 'Mode' => ['description' => '老规则格式,已废弃。', 'type' => 'string', 'example' => '废弃'], + 'Count' => ['description' => '老规则格式,已废弃。', 'type' => 'integer', 'format' => 'int32', 'example' => '废弃'], + 'Name' => ['description' => '规则名称。', 'type' => 'string', 'example' => 'ccauto14'], + 'Action' => ['description' => '匹配动作。取值:'."\n" + .'- **accept**:放行'."\n" + .'- **block**:封禁'."\n" + .'- **challenge**:挑战'."\n" + .'- **watch**:观察', 'type' => 'string', 'example' => 'block'], + 'Interval' => ['description' => '老规则格式,已废弃。', 'type' => 'integer', 'format' => 'int32', 'example' => '60'], + 'Ttl' => ['description' => '老规则格式,已废弃。', 'type' => 'integer', 'format' => 'int32', 'example' => '300'], + 'Uri' => ['description' => '老规则格式,已废弃。', 'type' => 'string', 'example' => '/p3shijihao'], + 'RateLimit' => [ + 'description' => '频率统计。', + 'type' => 'object', + 'properties' => [ + 'SubKey' => ['description' => '字段名称(仅当统计源为header时设置)。', 'type' => 'string', 'example' => 'action'], + 'Interval' => ['description' => '统计周期。单位:秒。', 'type' => 'integer', 'format' => 'int32', 'example' => '60'], + 'Threshold' => ['description' => '触发阈值。', 'type' => 'integer', 'format' => 'int32', 'example' => '20'], + 'Ttl' => ['description' => '封禁时长。单位:秒。', 'type' => 'integer', 'format' => 'int32', 'example' => '15'], + 'Target' => ['description' => '统计源。取值:'."\n" + .'- **ip**:按照IP统计'."\n" + .'- **header**:按照Header统计', 'type' => 'string', 'example' => 'ip'], + ], + ], + 'Condition' => [ + 'description' => '匹配条件列表。', + 'type' => 'array', + 'items' => [ + 'description' => '匹配条件。', + 'type' => 'object', + 'properties' => [ + 'MatchMethod' => ['description' => '匹配方法。', 'type' => 'string', 'example' => 'belong'], + 'Field' => ['description' => '匹配字段。', 'type' => 'string', 'example' => 'ip'], + 'HeaderName' => ['description' => '自定义HTTP头部字段名称。'."\n" + ."\n" + .'> 仅在**Field**为**header**时有效。', 'type' => 'string', 'example' => 'null'], + 'Content' => ['description' => '匹配内容。', 'type' => 'string', 'example' => '192.0.XX.XX'], + 'ContentList' => [ + 'description' => '匹配方法为等于多值之一时的匹配内容。', + 'type' => 'array', + 'example' => '["2","3","ad"]', + 'items' => ['type' => 'string', 'example' => '["2","3","ad"]'], + ], + ], + ], + ], + 'Statistics' => [ + 'description' => '去重统计,可缺省(缺省为不去重统计)。', + 'type' => 'object', + 'properties' => [ + 'Mode' => ['description' => '去重模式。取值:'."\n" + .'- **count**:不去重统计'."\n" + .'- **distinct**:去重统计', 'type' => 'string', 'example' => 'count'], + 'Field' => ['description' => '统计源。取值:'."\n" + .'- **ip**:按照IP统计'."\n" + .'- **header**:按照Header统计 '."\n" + .'- **uri**:按照uri统计', 'type' => 'string', 'example' => 'uri'], + 'HeaderName' => ['description' => '仅当统计源为header时设置。', 'type' => 'string', 'example' => 'hello'], + ], + ], + 'StatusCode' => [ + 'description' => '状态码。', + 'type' => 'object', + 'properties' => [ + 'Enabled' => ['description' => '是否可用。取值:'."\n" + ."\n" + .'- **true**:开启。'."\n" + .'- **false**:关闭。', 'type' => 'boolean', 'example' => 'true'], + 'Code' => ['description' => '状态码。值范围**100**~**599**:'."\n" + ."\n" + .'- **200**:表示成功。'."\n" + .'- 其它:表示错误码。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'UseRatio' => ['description' => '是否使用比率:'."\n" + ."\n" + .'- **true**:使用。'."\n" + .'- **false**:不使用。', 'type' => 'boolean', 'example' => 'true'], + 'CountThreshold' => ['description' => '不使用比率时,仅在对应状态码达到 **CountThreshold** 时触发处置动作,值范围**2**~**50000**。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'RatioThreshold' => ['description' => '使用比率时,仅在对应状态码达到 **RatioThreshold** 时触发处置动作,值范围**1**~**100**。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + ], + ], + ], + ], + ], ], ], ], ], ], ], - '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' => '查询高防回源网段地址', - 'summary' => '查询DDoS高防的回源IP网段。', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'DescribeDDosAllEventList' => [ - 'methods' => [ - 'post', - 'get', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '查询网站业务频率控制防护(CC防护)的自定义规则', + 'summary' => '查询网站业务频率控制防护(CC防护)的自定义规则。', + 'changeSet' => [ + ['createdAt' => '2024-07-30T03:50:36.000Z', 'description' => '响应参数发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeWebCCRulesV2', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + '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' => [ [ 'AK' => [], @@ -14800,82 +13257,30 @@ 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', - 'abilityTreeCode' => '106109', - 'abilityTreeNodes' => [ - 'FEATUREddosRTUJBH', - ], + 'abilityTreeCode' => '106203', + 'abilityTreeNodes' => ['FEATUREddosOZ1QOD'], ], 'parameters' => [ [ - 'name' => 'EventType', + 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => '要查询的DDoS攻击事件的类型。取值:'."\n" - ."\n" - .'- **web-cc**:表示Web资源耗尽型攻击。'."\n" - .'- **cc**:表示连接型攻击。'."\n" - .'- **defense**:表示流量型攻击(清洗事件)。'."\n" - .'- **blackhole**:表示流量型攻击(黑洞事件)。'."\n" - ."\n" - .'支持同时设置多个类型,多个类型间使用半角逗号(,)分隔。'."\n" - ."\n" - .'不设置该参数表示查询所有类型的攻击事件。'."\n" - ."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'defense', - ], + 'schema' => ['description' => 'DDoS高防实例在资源管理服务中所属的资源组ID。'."\n" + ."\n" + .'不设置该参数表示默认资源组。', 'type' => 'string', 'required' => false, 'example' => 'rg-acfm2pz25js****'], ], [ - 'name' => 'StartTime', + 'name' => 'Domains', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => '设置开始时间,查询在**StartTime**后发生的DDoS攻击事件。使用时间戳表示,单位:秒。', - 'type' => 'integer', - 'format' => 'int64', + 'description' => '要查询静态页面缓配置的域名列表。', + 'type' => 'array', + 'items' => ['description' => '要查询静态页面缓配置的域名。'."\n" + ."\n" + .'> 您可以调用[DescribeDomains](~~91724~~)查询所有已接入DDoS高防防护的域名。', 'type' => 'string', 'required' => false, 'example' => 'www.aliyundoc.com'], 'required' => true, - 'example' => '1609430400', - ], - ], - [ - 'name' => 'EndTime', - 'in' => 'query', - 'schema' => [ - 'description' => '设置结束时间,查询在**EndTime**前发生的DDoS攻击事件。使用时间戳表示,单位:秒。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1640966399', - ], - ], - [ - 'name' => 'PageNumber', - 'in' => 'query', - 'schema' => [ - 'description' => '分页查询时,设置当前页面的页码。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '1', - ], - ], - [ - 'name' => 'PageSize', - 'in' => 'query', - 'schema' => [ - 'description' => '分页查询时,设置每页包含攻击事件的数量。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '10', - ], - ], - [ - 'name' => 'Ip', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, + 'example' => 'www.aliyun.com', + 'maxItems' => 5, ], ], ], @@ -14884,87 +13289,36 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Total' => [ - 'description' => '查询到的攻击事件的总数量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => '25D83ED5-28CB-5683-9CF7-AECE521F3005', - ], - 'AttackEvents' => [ - 'description' => '攻击事件列表。', + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => '6623EA1F-30FB-5BC8-BEC9-74D55F6F08F1'], + 'DomainCacheConfigs' => [ + 'description' => '静态页面缓存的配置信息。', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'EndTime' => [ - 'description' => '攻击结束时间。使用时间戳表示,单位:秒。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1634546030', - ], - 'StartTime' => [ - 'description' => '攻击开始时间。使用时间戳表示,单位:秒。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1634543764', - ], - 'EventType' => [ - 'description' => 'DDoS攻击事件的类型。取值:'."\n" - ."\n" - .'- **web-cc**:表示Web资源耗尽型攻击。'."\n" - .'- **cc**:表示连接型攻击。'."\n" - .'- **defense**:表示流量型攻击(清洗事件)。'."\n" - .'- **blackhole**:表示流量型攻击(黑洞事件)。', - 'type' => 'string', - 'example' => 'cc', - ], - 'Mbps' => [ - 'description' => '攻击流量的带宽峰值。单位:Mbps。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '101899', - ], - 'Ip' => [ - 'description' => '被攻击的对象。不同攻击事件类型对应的被攻击对象不同,具体说明如下:'."\n" - ."\n" - .'- Web资源耗尽型攻击(**EventType**为**web-cc**):该参数表示被攻击的网站域名。'."\n" - .'- 连接型攻击(**EventType**为**cc**):该参数表示被攻击的高防IP。'."\n" - .'- 流量型攻击(**EventType**为**defense**或**blackhole**):该参数表示被攻击的高防IP。', - 'type' => 'string', - 'example' => '203.107.XX.XX', - ], - 'Area' => [ - 'description' => '攻击来源地域。取值:'."\n" - ."\n" - .'- **cn**:表示中国内地。'."\n" - .'- **alb-cn-hongkong-gf-2**:表示中国香港。'."\n" - .'- **alb-us-west-1-gf-2**:表示美国(硅谷)。'."\n" - .'- **alb-ap-northeast-1-gf-1**:表示日本(东京)。'."\n" - .'- **alb-ap-southeast-gf-1**:表示新加坡。'."\n" - .'- **alb-eu-central-1-gf-1**:表示德国(法兰克福)。'."\n" - .'- **alb-eu-west-1-gf-1**、**selb-eu-west-1-gf-1a**:表示英国(伦敦)。'."\n" - .'- **alb-us-east-gf-1**:表示美国(弗吉尼亚)。'."\n" - .'- **CT-yundi**:表示中国香港。该取值只适用于DDoS高防(国际)安全加速线路实例。', - 'type' => 'string', - 'example' => 'cn', - ], - 'Port' => [ - 'description' => '被攻击的端口号。'."\n" - ."\n" - .'> Web资源耗尽型攻击(**EventType**为**web-cc**)不返回该参数。', - 'type' => 'string', - 'example' => '80', - ], - 'Pps' => [ - 'description' => '攻击流量的包转发率峰值。单位:pps。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '9664270', + 'Domain' => ['description' => '网站域名。', 'type' => 'string', 'example' => 'www.aliyundoc.com'], + 'Mode' => ['description' => '缓存模式。取值:'."\n" + .'- **standard**:表示标准模式。'."\n" + .'- **aggressive**:表示强力模式。'."\n" + .'- **bypass**:表示不缓存。', 'type' => 'string', 'example' => 'bypass'], + 'Enable' => ['description' => '开关状态。取值:'."\n" + .'- **1**:表示开启。'."\n" + .'- **0**:表示关闭。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'CustomRules' => [ + 'description' => '自定义缓存规则配置。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Mode' => ['description' => '缓存模式。取值:'."\n" + .'- **standard**:表示标准模式。'."\n" + .'- **aggressive**:表示强力模式。'."\n" + .'- **bypass**:表示不缓存。', 'type' => 'string', 'example' => 'standard'], + 'CacheTtl' => ['description' => '页面缓存的过期时间。单位:秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '86400'], + 'Name' => ['description' => '规则名称。', 'type' => 'string', 'example' => 'c1'], + 'Uri' => ['description' => '缓存页面的路径。', 'type' => 'string', 'example' => '/blog/'], + ], + ], ], ], ], @@ -14973,10 +13327,9 @@ ], ], ], - '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' => '查询攻击事件列表', - 'summary' => '查询DDoS攻击事件列表。', - 'description' => '本接口用于分页查询指定时间范围内的DDoS攻击事件列表。DDoS攻击事件包含以下信息:攻击的起止时间、攻击类型、受攻击的对象、攻击流量的峰值(带宽峰值或包转发率峰值)等。'."\n" + 'title' => '查询网站业务静态页面缓存的配置', + 'summary' => '查询网站业务静态页面缓存的配置。', + 'description' => '本接口用于查询网站业务静态页面缓存的配置,例如,缓存模式、自定义缓存规则等。'."\n" ."\n" .'### QPS限制'."\n" ."\n" @@ -14986,17 +13339,32 @@ .'调用API的请求格式,请参见本文**示例**中的请求示例。', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeDDoSEvents' => [ - 'summary' => '查询针对DDoS高防实例的攻击事件。', - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:14.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeWebCacheConfigs'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeWebCacheConfigs', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + '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":""}]', + ], + 'DescribeWebCcProtectSwitch' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -15006,87 +13374,27 @@ 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '106114', - 'abilityTreeNodes' => [ - 'FEATUREddosRTUJBH', - ], + 'abilityTreeCode' => '106204', + 'abilityTreeNodes' => ['FEATUREddosCRC1QI'], ], 'parameters' => [ [ 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => 'DDoS高防实例在资源管理产品中所属的资源组ID。默认为空,即属于默认资源组。', - 'type' => 'string', - 'required' => false, - 'example' => 'default', - ], - ], - [ - 'name' => 'EndTime', - 'in' => 'query', - 'schema' => [ - 'description' => '查询结束时间。时间戳格式,单位:秒。'."\n" - .'> 必须为整点分钟。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1583683200', - ], - ], - [ - 'name' => 'StartTime', - 'in' => 'query', - 'schema' => [ - 'description' => '查询开始时间。时间戳格式,单位:秒。'."\n" - .'> 必须为整点分钟。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1582992000', - ], - ], - [ - 'name' => 'PageSize', - 'in' => 'query', - 'schema' => [ - 'description' => '页面显示的记录数量。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '10', - ], - ], - [ - 'name' => 'PageNumber', - 'in' => 'query', - 'schema' => [ - 'description' => '分页查询请求时返回的页码。例如,查询第一页的返回结果,则填写**1**。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '1', - ], + 'schema' => ['description' => 'DDoS高防实例在资源管理产品中所属的资源组ID。默认为空,即属于默认资源组。'."\n", 'type' => 'string', 'required' => false, 'example' => 'default'], ], [ - 'name' => 'InstanceIds', + 'name' => 'Domains', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ - 'description' => 'DDoS高防实例的ID。'."\n" - .'> 您可以调用[DescribeInstanceIds](~~157459~~)查询所有DDoS高防实例的ID信息。'."\n", + 'description' => '网站业务的域名。最多可查询5个网站业务域名。'."\n" + .'> 域名必须已配置网站业务转发规则。您可以调用[DescribeDomains](~~91724~~)查询所有域名。', 'type' => 'array', - 'items' => [ - 'description' => 'DDoS高防实例的ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'ddoscoo-cn-mp91j1ao****', - ], + 'items' => ['description' => '网站业务的域名。', 'type' => 'string', 'required' => false, 'example' => 'www.aliyun**.com'], 'required' => true, - 'example' => 'ddoscoo-cn-mp91j1ao****', - 'maxItems' => 100, + 'example' => 'www.aliyun.com', + 'maxItems' => 5, ], ], ], @@ -15095,77 +13403,45 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Total' => [ - 'description' => '攻击事件总数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => '0CA72AF5-1795-4350-8C77-50A448A2F334', - ], - 'DDoSEvents' => [ - 'description' => 'DDoS攻击事件列表。', + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => '3ADD9EED-CA4B-488C-BC82-01B0B899363D'], + 'ProtectSwitchList' => [ + 'description' => '网站业务各防护功能的开关状态。', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'EndTime' => [ - 'description' => '攻击结束时间。时间戳格式,单位:秒。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1583933330', - ], - 'StartTime' => [ - 'description' => '攻击开始时间。时间戳格式,单位:秒。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1583933277', - ], - 'EventType' => [ - 'description' => '攻击事件类型。取值:'."\n" - .'- **defense**:清洗事件。'."\n" - .'- **blackhole**:黑洞事件。', - 'type' => 'string', - 'example' => 'blackhole', - ], - 'Region' => [ - 'description' => '攻击来源地区。取值:'."\n" - .'- **cn**:中国内地。'."\n" - .'- **alb-ap-northeast-1-gf-x**:日本。'."\n" - .'- **alb-ap-southeast-gf-x**:新加坡。'."\n" - .'- **alb-cn-hongkong-gf-x**:中国香港。'."\n" - .'- **alb-eu-central-1-gf-x**:德国。'."\n" - .'- **alb-us-west-1-gf-x**:美国西部。'."\n" - ."\n" - .'>**cn**以外的取值只有在DDoS高防(国际)服务(**RegionId**为**ap-southeast-1**)中提供。', - 'type' => 'string', - 'example' => 'cn', - ], - 'Ip' => [ - 'description' => '被攻击IP。', - 'type' => 'string', - 'example' => '203.***.***.132', - ], - 'Port' => [ - 'description' => '被攻击端口。', - 'type' => 'string', - 'example' => '80', - ], - 'Bps' => [ - 'description' => '攻击流量带宽大小。单位:Mbps。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'Pps' => [ - 'description' => '攻击流量包转发率。单位:pps。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], + 'BlackWhiteListEnable' => ['description' => '黑白名单(针对域名)的开关状态。取值:'."\n" + .'- **0**:关闭'."\n" + .'- **1**:开启', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'AiTemplate' => ['description' => 'AI智能防护的等级。取值:'."\n" + .'- **level30**:宽松'."\n" + .'- **level60**:正常'."\n" + .'- **level90**:严格', 'type' => 'string', 'example' => 'level60'], + 'PreciseRuleEnable' => ['description' => '精确访问控制的开关状态。取值:'."\n" + .'- **0**:关闭'."\n" + .'- **1**:开启', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'Domain' => ['description' => '网站域名。', 'type' => 'string', 'example' => 'www.aliyun.com'], + 'AiMode' => ['description' => 'AI智能防护的模式。取值:'."\n" + .'- **watch**:预警模式'."\n" + .'- **defense**:防护模式', 'type' => 'string', 'example' => 'defense'], + 'AiRuleEnable' => ['description' => 'AI智能防护的开关状态。取值:'."\n" + .'- **0**:关闭'."\n" + .'- **1**:开启', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'RegionBlockEnable' => ['description' => '区域封禁(针对域名)的开关状态。取值:'."\n" + .'- **0**:关闭'."\n" + .'- **1**:开启', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'CcTemplate' => ['description' => '频率控制防护(CC防护)的模式。取值:'."\n" + .'- **default**:正常'."\n" + .'- **gf_under_attack**:攻击紧急'."\n" + .'- **gf_sos_verify**:严格'."\n" + .'- **gf_sos_enhance**:超级严格', 'type' => 'string', 'example' => 'default'], + 'CcCustomRuleEnable' => ['description' => '自定义频率控制防护(CC防护)的开关状态。取值:'."\n" + .'- **0**:关闭'."\n" + .'- **1**:开启', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'CcEnable' => ['description' => '频率控制防护(CC防护)的开关状态。取值:'."\n" + .'- **0**:关闭'."\n" + .'- **1**:开启', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'CcGlobalSwitch' => ['type' => 'string'], ], ], ], @@ -15173,21 +13449,38 @@ ], ], ], - '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' => '查询指定IP的DDoS攻击事件', + 'title' => '查询网站业务各防护功能的开关状态', + 'summary' => '查询网站业务各防护功能的开关状态。', + 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeSlaEventList' => [ - 'summary' => '查询目的限速事件列表。', - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2025-09-04T06:34:53.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2022-09-08T03:34:14.000Z', 'description' => '错误码发生变更'], ], - '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' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + '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":""}]', + ], + 'DescribeWebCustomPorts' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -15196,85 +13489,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' => '服务地域。取值:'."\n" - .'- **cn**:中国内地。'."\n" - .'- **cn-hongkong**:非中国内地。', - 'type' => 'string', - 'required' => true, - 'example' => 'cn', - ], - ], - [ - 'name' => 'Ip', - 'in' => 'query', - 'schema' => [ - 'description' => '要查询的DDoS高防实例的IP地址。', - 'type' => 'string', - 'required' => false, - 'example' => '203.107.XX.XX', - ], - ], - [ - 'name' => 'StartTime', - 'in' => 'query', - 'schema' => [ - 'description' => '查询开始时间。时间戳格式,单位:秒。'."\n" - .'> 必须为整点分钟。'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1678080840', - ], - ], - [ - 'name' => 'EndTime', - 'in' => 'query', - 'schema' => [ - 'description' => '查询结束时间。时间戳格式,单位:秒。'."\n" - ."\n" - .'> 必须为整点分钟。'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1671886740', - ], - ], - [ - 'name' => 'PageSize', - 'in' => 'query', - 'schema' => [ - 'description' => '分页查询时每页包含的记录数量。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '10', - 'default' => '10', - ], - ], - [ - 'name' => 'Page', + 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => '分页查询页码。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1', - 'default' => '1', - ], + 'schema' => ['description' => 'DDoS高防实例在资源管理产品中所属的资源组ID。默认为空,即属于默认资源组。', 'type' => 'string', 'required' => false, 'example' => 'default'], ], ], 'responses' => [ @@ -15282,149 +13506,92 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。', - 'type' => 'string', - 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80', - ], - 'SlaEvent' => [ - 'description' => '目的限速事件列表。', + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc'], + 'WebCustomPorts' => [ + 'description' => '网站业务自定义端口信息。', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'StartTime' => [ - 'description' => '查询事件的开始时间,单位:秒。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1678080840', - ], - 'EndTime' => [ - 'description' => '查询事件的结束时间,单位:秒。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1671886740', - ], - 'Ip' => [ - 'description' => '要查询的高防实例IP。', - 'type' => 'string', - 'example' => '203.107.XX.XX', - ], - 'Region' => [ - 'description' => '目的限速IP所属地区。取值:'."\n" - .'- **cn**:中国内地。'."\n" - .'- **cn-hongkong**:中国香港。', - 'type' => 'string', - 'example' => 'cn', + 'ProxyType' => ['description' => '协议类型。取值:'."\n" + .'- **http**'."\n" + .'- **https**', 'type' => 'string', 'example' => 'http'], + 'ProxyPorts' => [ + 'description' => '可选端口范围。', + 'type' => 'array', + 'items' => ['description' => '可选端口。', 'type' => 'string', 'example' => '8080'], ], ], ], ], - 'Total' => [ - 'description' => '目的限速列表总数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', - ], ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - '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' => '查询目的限速事件列表', - ], - 'DescribeDomainAttackEvents' => [ - 'methods' => [ - 'post', - 'get', + 'title' => '查询网站业务自定义端口范围', + 'summary' => '查询DDoS高防支持的网站业务自定义端口范围。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:14.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeWebCustomPorts'], + ], ], - 'security' => [ + 'ramActions' => [ [ - 'AK' => [], + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeWebCustomPorts', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + '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":""}]', + ], + 'DescribeWebInstanceRelations' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', - 'abilityTreeCode' => '106121', - 'abilityTreeNodes' => [ - 'FEATUREddosRTUJBH', - ], + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '106207', + 'abilityTreeNodes' => ['FEATUREddosOZ1QOD'], ], 'parameters' => [ [ 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => 'DDoS高防实例在资源管理产品中所属的资源组ID。默认为空,即属于默认资源组。', - 'type' => 'string', - 'required' => false, - 'example' => 'default', - ], - ], - [ - 'name' => 'StartTime', - 'in' => 'query', - 'schema' => [ - 'description' => '查询开始时间。时间戳格式,单位:秒。'."\n" - .'> 必须为整点分钟。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1582992000', - ], - ], - [ - 'name' => 'EndTime', - 'in' => 'query', - 'schema' => [ - 'description' => '查询结束时间。时间戳格式,单位:秒。'."\n" - .'> 必须为整点分钟。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1583683200', - ], + 'schema' => ['description' => 'DDoS高防实例在资源管理产品中所属的资源组ID。默认为空,即属于默认资源组。', 'type' => 'string', 'required' => false, 'example' => 'default'], ], [ - 'name' => 'Domain', + 'name' => 'Domains', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => '网站业务的域名。'."\n" + 'description' => '网站业务的域名列表。'."\n" + ."\n" .'> 域名必须已配置网站业务转发规则。您可以调用[DescribeDomains](~~91724~~)查询所有域名。', - 'type' => 'string', - 'required' => false, - 'example' => 'www.aliyun.com', - ], - ], - [ - 'name' => 'PageNumber', - 'in' => 'query', - 'schema' => [ - 'description' => '分页查询请求时返回的页码。例如,查询第一页的返回结果,则填写**1**。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '1', - ], - ], - [ - 'name' => 'PageSize', - 'in' => 'query', - 'schema' => [ - 'description' => '页面显示的记录数量。', - 'type' => 'integer', - 'format' => 'int32', + 'type' => 'array', + 'items' => ['description' => '网站业务的域名。', 'type' => 'string', 'required' => false, 'example' => 'www.aliyun**.com'], 'required' => true, - 'example' => '10', + 'example' => 'www.aliyun.com', + 'maxItems' => 20, ], ], ], @@ -15433,71 +13600,74 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'TotalCount' => [ - 'description' => '攻击事件的总数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E', - ], - 'DomainAttackEvents' => [ - 'description' => '网站业务DDoS攻击事件信息。', + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => '0222382B-5FE5-4FF7-BC9B-97EE31D58818'], + 'WebInstanceRelations' => [ + 'description' => '网站业务关联的DDoS高防实例信息。', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'EndTime' => [ - 'description' => '攻击结束时间。时间戳格式,单位:秒。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1560320160', - ], - 'StartTime' => [ - 'description' => '攻击开始时间。时间戳格式,单位:秒。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1560312900', - ], - 'Domain' => [ - 'description' => '被攻击域名。', - 'type' => 'string', - 'example' => 'www.aliyun.com', - ], - 'MaxQps' => [ - 'description' => '攻击峰值QPS。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', + 'Domain' => ['description' => '网站域名。', 'type' => 'string', 'example' => 'www.aliyun.com'], + 'InstanceDetails' => [ + 'description' => '关联的DDoS高防实例信息。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'FunctionVersion' => ['description' => '功能套餐类型。取值:'."\n" + .'- **default**:标准功能'."\n" + .'- **enhance**:增强功能'."\n", 'type' => 'string', 'example' => 'enhance'], + 'InstanceId' => ['description' => 'DDoS高防实例ID。', 'type' => 'string', 'example' => 'ddoscoo-cn-0pp163pd****'], + 'EipList' => [ + 'description' => 'DDoS高防IP列表。', + 'type' => 'array', + 'items' => ['description' => 'DDoS高防IP。', 'type' => 'string', 'example' => '203.***.***.158'], + ], + ], + 'description' => '', + ], ], ], + 'description' => '', ], ], ], + 'description' => '', ], ], ], - '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' => '查询针对网站业务的攻击事件', - 'summary' => '查询针对网站业务的攻击事件。', - 'requestParamsDescription' => '调用API时,除了本文中该API的请求参数,还需加入阿里云API公共请求参数。公共请求参数的详细介绍,请参见[公共参数](~~157269~~)。'."\n" - ."\n" - .'调用API的请求格式,请参见本文**示例**中的请求示例。', + 'title' => '查询网站业务关联的DDoS高防实例信息', + 'summary' => '查询网站业务关联的DDoS高防实例信息。', + 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeDefenseCountStatistics' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:14.000Z', 'description' => '错误码发生变更'], + ], + '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' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + '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":""}]', + ], + 'DescribeWebPreciseAccessRule' => [ + 'summary' => '查询网站业务精确访问控制规则。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -15507,23 +13677,42 @@ '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' => 'DDoS高防实例在资源管理产品中所属的资源组ID。默认为空,即属于默认资源组。', 'type' => 'string', 'required' => false, 'example' => 'default'], + ], + [ + 'name' => 'Domains', + 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => 'DDoS高防实例在资源管理服务中所属的资源组ID。'."\n" - ."\n" - .'不设置该参数表示默认资源组。', + 'description' => '网站业务的域名。'."\n" + .'> 域名必须已配置网站业务转发规则。您可以调用[DescribeDomains](~~91724~~)查询所有域名。', + 'type' => 'array', + 'items' => ['description' => '网站业务的域名。', 'type' => 'string', 'required' => false, 'example' => 'www.test****.com'], + 'required' => true, + 'example' => 'www.aliyun.com', + 'maxItems' => 5, + ], + ], + [ + 'name' => 'Owner', + 'in' => 'query', + 'schema' => [ + 'description' => '筛选规则来源。取值:'."\n" + .'- **manual**(默认):手动添加'."\n" + .'- **clover**:自动生成', 'type' => 'string', 'required' => false, - 'example' => 'rg-acfm2pz25js****', + 'example' => 'manual', + 'enum' => ['manual', 'clover'], ], ], ], @@ -15532,68 +13721,119 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '本次请求的ID。'."\n", - 'type' => 'string', - 'example' => '310A41FD-0990-5610-92E0-A6A55D7C6444', - ], - 'DefenseCountStatistics' => [ - 'description' => '高级防护次数统计数据。', - 'type' => 'object', - 'properties' => [ - 'FlowPackCountRemain' => [ - 'description' => '高级防护资源包中剩余可用的保险版高级防护次数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'MaxUsableDefenseCountCurrentMonth' => [ - 'description' => '当前自然月可使用的高级防护次数(包含实例自带的高级防护和高级防护资源包提供的高级防护)的上限。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], - 'DefenseCountTotalUsageOfCurrentMonth' => [ - 'description' => '当前自然月已使用的高级防护总次数(包含实例自带的高级防护和高级防护资源包提供的高级防护)。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'SecHighSpeedCountRemain' => [ - 'description' => '高级防护资源包中剩余可用的安全加速线路高级防护次数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => '209EEFBF-B0C7-441E-8C28-D0945A57A638'], + 'PreciseAccessConfigList' => [ + 'description' => '网站业务精确访问控制规则。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Domain' => ['description' => '网站域名。', 'type' => 'string', 'example' => 'www.aliyun.com'], + 'RuleList' => [ + 'description' => '规则列表。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Action' => ['description' => '匹配动作。取值:'."\n" + .'- **accept**:放行'."\n" + .'- **block**:封禁'."\n" + .'- **challenge**:挑战', 'type' => 'string', 'example' => 'accept'], + 'Owner' => ['description' => '规则来源。取值:'."\n" + .'- **manual**:手动添加(默认)'."\n" + .'- **clover**:自动生成', 'type' => 'string', 'example' => 'manual'], + 'ExpirePeriod' => ['description' => '规则有效期时间戳。单位:秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1598889600'], + 'Name' => ['description' => '规则名称。', 'type' => 'string', 'example' => 'testrule'], + 'ConditionList' => [ + 'description' => '匹配条件列表。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'MatchMethod' => ['description' => '逻辑符。', 'type' => 'string', 'example' => 'belong'], + 'Field' => ['description' => '匹配字段。', 'type' => 'string', 'example' => 'ip'], + 'Content' => ['description' => '匹配内容。', 'type' => 'string', 'example' => '1.1.1.1'], + 'HeaderName' => ['description' => '自定义HTTP头部字段名称。'."\n" + ."\n" + .'> 仅在**Field**为**header**时有效。', 'type' => 'string', 'example' => 'null'], + 'ContentList' => [ + 'description' => '规则的匹配条件。具体结构如下。'."\n" + .' > 如果设置了多个匹配条件,则多个条件间是且的关系。'."\n" + ."\n" + .' - **field**:String类型,匹配字段。'."\n" + .' - **match_method**:String类型,匹配方法。'."\n" + .' '."\n" + .' > 关于**field**和**match_method**的取值,请参见请求参数表下的补充描述。'."\n" + ."\n" + .' - **content**:String类型,匹配内容。'."\n" + .'- **header_name**:String类型,头部字段名称。仅在**field**为**header**时生效。', + 'type' => 'array', + 'items' => ['description' => '匹配的条件。', 'type' => 'string', 'example' => '{"field":"uri","match_method":"contain","content":"/test/123"}'], + ], + ], + 'description' => '', + ], + ], + 'Expires' => ['description' => '规则有效期。单位:秒。规则的匹配动作为阻断时(**action**为**block**)生效,在规则有效期内阻断访问请求。**0**表示永久生效。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'], + ], + 'description' => '', + ], + ], ], + 'description' => '', ], ], ], + 'description' => '', ], ], ], - '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' => '查询DDoS高防(非中国内地)服务的高级防护次数统计数据', - 'summary' => '查询DDoS高防(非中国内地)服务的高级防护次数统计数据。', - 'description' => '本接口用于查询DDoS高防(非中国内地)服务的高级防护次数统计数据,例如,当前自然月已使用的高级防护次数、高级防护资源包中剩余可用的高级防护次数等。'."\n" - ."\n" - .'> 本接口只适用于DDoS高防(非中国内地)服务。'."\n" - .'>'."\n" - ."\n" - .'### QPS限制'."\n" - .'本接口的单用户QPS限制为10次/秒。超过限制,API调用将会被限流,这可能影响您的业务,请合理调用。', - 'requestParamsDescription' => '调用API时,除了本文中该API的请求参数,还需加入阿里云API公共请求参数。公共请求参数的详细介绍,请参见[公共参数](~~157269~~)。'."\n" + 'title' => '查询网站业务精确访问控制规则', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => '**field和match_method的取值及对应关系**'."\n" ."\n" - .'调用API的请求格式,请参见本文示例中的请求示例。', - ], - 'DescribeAttackAnalysisMaxQps' => [ - 'methods' => [ - 'post', - 'get', + .'| 匹配字段(field) | 描述 | 适用的逻辑符(match_method) |'."\n" + .'|-----------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------|'."\n" + .'| **ip** | 访问请求的来源IP。 | **belong** :属于
**nbelong** :不属于 |'."\n" + .'| **uri** | 访问请求的URI地址。 | **contain** :包含
**ncontain** :不包含
**equal** :等于
**nequal** :不等于
**lless** :长度小于
**lequal** :长度等于
**lgreat** :长度大于
**regular** :正则匹配 |'."\n" + .'| **referer** | 访问请求的来源网址,即该访问请求是从哪个页面跳转产生的。 | **contain** :包含
**ncontain** :不包含
**equal** :等于
**nequal** :不等于
**lless** :长度小于
**lequal** :长度等于
**lgreat** :长度大于
**nexist** :不存在
**regular** :正则匹配 |'."\n" + .'| **user-agent** | 发起访问请求的客户端的浏览器标识、渲染引擎标识和版本信息等浏览器相关信息。 | **contain** :包含
**ncontain** :不包含
**equal** :等于
**nequal** :不等于
**lless** :长度小于
**lequal** :长度等于
**lgreat** :长度大于
**regular** :正则匹配 |'."\n" + .'| **params** | 访问请求的URL地址中的参数部分,通常指URL中”?”后面的部分。例如,`demo.aliyundoc.com/index.html?action=login`中的`action=login`就是参数部分。 | **contain** :包含
**ncontain** :不包含
**equal** :等于
**nequal** :不等于
**lless** :长度小于
**lequal** :长度等于
**lgreat** :长度大于 |'."\n" + .'| **cookie** | 访问请求中的Cookie信息。 | **contain** :包含
**ncontain** :不包含
**equal** :等于
**nequal** :不等于
**lless** :长度小于
**lequal** :长度等于
**lgreat** :长度大于
**nexist** :不存在 |'."\n" + .'| **content-type** | 访问请求指定的响应HTTP内容类型,即MIME类型信息。 | **contain** :包含
**ncontain** :不包含
**equal** :等于
**nequal** :不等于
**lless** :长度小于
**lequal** :长度等于
**lgreat** :长度大于 |'."\n" + .'| **x-forwarded-for** | 访问请求的客户端真实IP。X-Forwarded-For(XFF)用来识别通过HTTP代理或负载均衡方式转发的访问请求的客户端最原始的IP地址的HTTP请求头字段,只有通过HTTP代理或者负载均衡服务器转发的访问请求才会包含该项。 | **contain** :包含
**ncontain** :不包含
**equal** :等于
**nequal** :不等于
**lless** :长度小于
**lequal** :长度等于
**lgreat** :长度大于
**nexist** :不存在
**regular** :正则匹配 |'."\n" + .'| **content-length** | 访问请求的所包含的字节数。 | **vless** :值小于
**vequal** :值等于
**vgreat** :值大于 |'."\n" + .'| **post-body** | 访问请求的内容信息。 | **contain** :包含
**ncontain** :不包含
**equal** :等于
**nequal** :不等于
**regular** :正则匹配 |'."\n" + .'| **http-method** | 访问请求的方法,如GET、POST等。 | **equal** :等于
**nequal** :不等于 |'."\n" + .'| **header** | 访问请求的头部信息,用于自定义HTTP头部字段。 | **contain** :包含
**ncontain** :不包含
**equal** :等于
**nequal** :不等于
**lless** :长度小于
**lequal** :长度等于
**lgreat** :长度大于
**nexist** :不存在 |', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:14.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeWebPreciseAccessRule'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeWebPreciseAccessRule', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + '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":""}]', + ], + 'DescribeWebRules' => [ + 'summary' => '查询网站业务转发规则的配置。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -15602,154 +13842,63 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeCode' => '106093', - 'abilityTreeNodes' => [ - 'FEATUREddosRTUJBH', - ], + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '106211', + 'abilityTreeNodes' => ['FEATUREddos64TBV6'], + 'autoTest' => true, ], 'parameters' => [ [ - 'name' => 'StartTime', + 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => '查询开始时间。使用时间戳格式,单位:秒。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1622476799', - ], + 'schema' => ['description' => 'DDoS高防实例在资源管理服务中所属的资源组ID。'."\n" + ."\n" + .'不设置该参数表示默认资源组。', 'type' => 'string', 'required' => false, 'example' => 'rg-acfm2pz25js****'], ], [ - 'name' => 'EndTime', + 'name' => 'Domain', 'in' => 'query', - 'schema' => [ - 'description' => '查询结束时间。使用时间戳格式,单位:秒。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1619798400', - ], + 'schema' => ['description' => '要查询的网站域名。'."\n" + ."\n" + .'> 域名必须已经配置过网站业务转发规则。您可以调用[DescribeDomains](~~91724~~)查询所有已经配置过网站业务转发规则的域名。', 'type' => 'string', 'required' => false, 'example' => 'example.com'], ], [ - 'name' => 'Ip', + 'name' => 'Cname', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['description' => '要查询的CNAME地址。', 'type' => 'string', 'required' => false, 'example' => 'kzmk7b8tt351****.aliyunddos1014****', 'maxLength' => 128, 'minLength' => 3], ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'Qps' => [ - 'description' => 'DDoS攻击的峰值,单位:qps。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '41652', - ], - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => '8DFB602D-1AAC-46C4-90F2-C84086E7A6E4', - ], - ], - ], - ], - ], - '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":""}]', - 'title' => '查询指攻击的峰值', - 'summary' => '查询指定时间段内DDoS攻击的峰值(qps)。', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'DescribeDestinationPortEvent' => [ - 'summary' => '查询DDoS高防被攻击IP的目的端口包数量信息。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'list', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '187278', - 'abilityTreeNodes' => [ - 'FEATUREddosRTUJBH', - ], - ], - 'parameters' => [ [ - 'name' => 'Region', - 'in' => 'query', - 'schema' => [ - 'description' => '服务地域。取值:'."\n" - .'- **cn**:中国内地。'."\n" - .'- **cn-hongkong**:非中国内地。', - 'type' => 'string', - 'required' => true, - 'example' => 'cn', - ], - ], - [ - 'name' => 'EventType', + 'name' => 'QueryDomainPattern', 'in' => 'query', - 'schema' => [ - 'description' => '要查询的攻击事件类型。取值:'."\n" - ."\n" - .'- **defense**:流量型攻击清洗事件。'."\n" - .'- **blackhole**:流量型攻击黑洞事件。', - 'type' => 'string', - 'required' => true, - 'example' => 'defense', - ], + 'schema' => ['description' => '查询匹配模式。取值:'."\n" + .'- **fuzzy**(默认):表示模糊查询。'."\n" + .'- **exact**:表示精确查询。', 'type' => 'string', 'required' => false, 'example' => 'exact'], ], [ - 'name' => 'StartTime', + 'name' => 'PageNumber', 'in' => 'query', - 'schema' => [ - 'description' => '查询开始时间。时间戳格式,单位:秒。'."\n" - ."\n" - .'> 必须为整点分钟。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1720059000', - ], + 'schema' => ['description' => '分页查询时,设置当前页面的页码。默认值为**1**。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'default' => '1'], ], [ - 'name' => 'Ip', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => '攻击者的IP地址。', - 'type' => 'string', - 'required' => true, - 'example' => '203.107.XX.XX'."\n", - ], + 'schema' => ['description' => '分页查询时,设置每页包含转发规则的数量。取值范围:**1**~**10**。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10', 'default' => '10'], ], [ - 'name' => 'Range', + 'name' => 'InstanceIds', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => '要返回的目的端口数量。按照请求包数量由大到小排序,默认返回前**10**个IP。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '2', + 'description' => '要查询的DDoS高防实例的ID列表。', + 'type' => 'array', + 'items' => ['description' => '要查询的DDoS高防实例的ID。N的最大值:200,即最多可配置200个DDoS高防实例,实例ID之间用半角逗号(,)隔开。'."\n" + ."\n" + .'> 您可以调用[DescribeInstanceIds](~~157459~~)查询所有DDoS高防实例的ID。', 'type' => 'string', 'required' => false, 'example' => 'ddoscoo-cn-i7m27nf3****'], + 'required' => false, + 'example' => 'ddoscoo-cn-mp91j1ao****', + 'maxItems' => 100, ], ], ], @@ -15758,51 +13907,202 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '本次调用请求的 ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。', - 'type' => 'string', - 'example' => '9E7F6B2C-03F2-462F-9076-B782CF0DD502', - ], - 'PortList' => [ - 'description' => '端口列表。', + 'TotalCount' => ['description' => '查询到的网站业务转发规则的总数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], + 'RequestId' => ['description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。', 'type' => 'string', 'example' => '0F5B72DD-96F4-423A-B12B-A5151DD746B8'], + 'WebRules' => [ + 'description' => '网站业务转发规则的配置。', 'type' => 'array', 'items' => [ - 'description' => '端口信息。', 'type' => 'object', 'properties' => [ - 'DstPort' => [ - 'description' => '目的端口。', - 'type' => 'string', - 'example' => '80', + 'Domain' => ['description' => '网站域名。', 'type' => 'string', 'example' => 'example.com'], + 'Http2HttpsEnable' => ['description' => '是否开启了HTTPS强制跳转功能。取值:'."\n" + ."\n" + .'- **true**:表示已开启。'."\n" + .'- **false**:表示未开启。', 'type' => 'boolean', 'example' => 'true'], + 'SslProtocols' => ['description' => '支持的TLS协议版本。取值:'."\n" + ."\n" + .'- **tls1.0**:表示支持TLS 1.0及以上版本。'."\n" + .'- **tls1.1**:表示支持TLS 1.1及以上版本。'."\n" + .'- **tls1.2**:表示支持TLS 1.2及以上版本。', 'type' => 'string', 'example' => 'tls1.1'], + 'PunishReason' => ['description' => '域名受到违规处罚的原因。取值:'."\n" + .'- **1**:表示域名未履行ICP备案。'."\n" + .'- **2**:表示域名经营的业务不符合监管要求。'."\n" + ."\n" + .'如果同时包含原因**1**和**2**,该参数返回**2**。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'CcTemplate' => ['description' => '频率控制防护(CC防护)的模式。取值:'."\n" + .'- **default**:表示正常模式。'."\n" + .'- **gf_under_attack**:表示攻击紧急模式。'."\n" + .'- **gf_sos_verify**:表示严格模式。'."\n" + .'- **gf_sos_enhance**:表示超级严格模式。', 'type' => 'string', 'example' => 'default'], + 'CcEnabled' => ['description' => '是否开启了频率控制防护(CC防护)。取值:'."\n" + .'- **true**:表示已开启。'."\n" + .'- **false**:表示未开启。', 'type' => 'boolean', 'example' => 'true'], + 'SslCiphers' => ['description' => '加密套件的类型。取值:'."\n" + ."\n" + .'- **default**:表示自定义加密套件。'."\n" + .'- **all**:表示全部加密套件,包含强加密套件和弱加密套件。'."\n" + .'- **strong**:表示强加密套件。', 'type' => 'string', 'example' => 'default'], + 'Ssl13Enabled' => ['description' => '是否开启了TLS 1.3协议支持。取值:'."\n" + .'- **true**:表示已开启。'."\n" + .'- **false**:表示未开启。', 'type' => 'boolean', 'example' => 'false'], + 'CcRuleEnabled' => ['description' => '是否开启了自定义频率控制防护(CC防护)。取值:'."\n" + .'- **true**:表示已开启。'."\n" + .'- **false**:表示未开启。', 'type' => 'boolean', 'example' => 'false'], + 'OcspEnabled' => ['description' => '是否启用了OCSP(Online Certificate Status Protocol)功能。取值:'."\n" + .'- **true**:表示已开启。'."\n" + .'- **false**:表示未开启。', 'type' => 'boolean', 'example' => 'false'], + 'PunishStatus' => ['description' => '域名是否受到违规处罚。取值:'."\n" + ."\n" + .'- **true**:表示已受到违规处罚。您可以通过**PunishReason**查看受到违规处罚的具体原因。'."\n" + .'- **false**:表示未受到违规处罚。', 'type' => 'boolean', 'example' => 'true'], + 'ProxyEnabled' => ['description' => '网站业务转发是否开启。取值:'."\n" + ."\n" + .'- **true**:表示已开启。'."\n" + .'- **false**:表示未开启。', 'type' => 'boolean', 'example' => 'true'], + 'CertName' => ['description' => '证书名称。', 'type' => 'string', 'example' => 'testcert'], + 'PolicyMode' => ['description' => '已废弃,详见API: DescribeL7RsPolicy', 'type' => 'string', 'example' => 'ip_hash'], + 'Cname' => ['description' => '网站域名对应的DDoS高防CNAME地址。', 'type' => 'string', 'example' => 'kzmk7b8tt351****.aliyunddos1014****'], + 'Http2Enable' => ['description' => '是否开启了HTTP 2.0协议支持。取值:'."\n" + .'- **true**:表示已开启。'."\n" + .'- **false**:表示未开启。', 'type' => 'boolean', 'example' => 'true'], + 'Https2HttpEnable' => ['description' => '是否开启了HTTP回源功能。取值:'."\n" + ."\n" + .'- **true**:表示已开启。'."\n" + .'- **false**:表示未开启。', 'type' => 'boolean', 'example' => 'true'], + 'ProxyTypes' => [ + 'description' => '转发协议和端口配置。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'ProxyType' => ['description' => '转发协议类型。取值:'."\n" + .'- **http**:表示HTTP协议。'."\n" + .'- **https**:表示HTTPS协议。'."\n" + .'- **websocket**:表示WebSocket协议。'."\n" + .'- **websockets**:表示WebSockets协议。', 'type' => 'string', 'example' => 'https'], + 'ProxyPorts' => [ + 'description' => '端口列表。', + 'type' => 'array', + 'items' => ['description' => '端口。', 'type' => 'string', 'example' => '443'], + ], + ], + 'description' => '', + ], + ], + 'RealServers' => [ + 'description' => '源站服务器地址信息。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'RsType' => ['description' => '源站服务器地址的类型。取值:'."\n" + ."\n" + .'- **0**:表示源站服务器的IP地址。'."\n" + .'- **1**:表示源站服务器的域名地址。通常适用于源站和高防之间还部署有其他代理服务(例如WAF)的场景,具体指代理服务的跳转地址(例如WAF CNAME地址)。', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'RealServer' => ['description' => '源站服务器地址。', 'type' => 'string', 'example' => '192.0.XX.XX'], + ], + 'description' => '', + ], + ], + 'WhiteList' => [ + 'description' => 'IP白名单(针对域名)列表。', + 'type' => 'array', + 'items' => ['description' => '针对该域名的白名单IP。'."\n" + ."\n" + .'> 仅在您已经为该域名配置了IP白名单(针对域名)时返回该结果。您可以调用[ConfigWebIpSet](~~157469~~)为网站域名配置IP黑白名单。', 'type' => 'string', 'example' => '192.168.XX.XX'], + ], + 'BlackList' => [ + 'description' => 'IP黑名单(针对域名)列表。', + 'type' => 'array', + 'items' => ['description' => '针对该域名的黑名单IP。'."\n" + ."\n" + .'> 仅在您已经为该域名配置了IP黑名单(针对域名)时返回该结果。您可以调用[ConfigWebIpSet](~~157469~~)为网站域名配置IP黑白名单。', 'type' => 'string', 'example' => '192.0.XX.XX'], + ], + 'CustomCiphers' => [ + 'description' => '自定义加密套件列表。', + 'type' => 'array', + 'items' => ['description' => '自定义加密套件。', 'type' => 'string', 'example' => 'ECDHE-ECDSA-AES128-GCM-SHA256'], + ], + 'GmCert' => [ + 'description' => '国密相关配置。', + 'type' => 'object', + 'properties' => [ + 'CertId' => ['description' => '国密标准证书的ID。', 'type' => 'string', 'example' => '725****'], + 'GmEnable' => ['description' => '是否启用了国密验证功能。'."\n" + ."\n" + .'- 0:关闭'."\n" + .'- 1:开启', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], + 'GmOnly' => ['description' => '是否开启了仅支持国密客户端访问。'."\n" + ."\n" + .'- 0:关闭'."\n" + .'- 1:开启', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], + ], ], - 'InPkts' => [ - 'description' => '目的端口的请求包数量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '8760950', + 'CertRegion' => ['description' => '证书区域。取值:'."\n" + .'- cn-hangzhou:中国大陆地区(默认)'."\n" + .'- ap-southeast-1:非中国大陆地区。', 'type' => 'string', 'example' => 'cn-hangzhou'], + 'UserCertName' => ['description' => '用户上传到证书中心的证书名称。', 'type' => 'string', 'example' => 'test'], + 'Tls13CustomCiphers' => [ + 'description' => 'TLS1.3版本使用的加密套件列表', + 'type' => 'array', + 'items' => ['description' => 'TLS1.3版本使用的加密套件', 'type' => 'string', 'example' => 'ECDHE-RSA-AES128-GCM-SHA256'], ], + 'CertExpireTime' => ['description' => '关联证书过期时间戳'."\n" + .'> 暂不使用。', 'type' => 'integer', 'format' => 'int64', 'example' => '1765959120'], + 'WafProtectionEnable' => ['title' => '是否启用域名的WAF防护。true:启用;false:关闭', 'type' => 'boolean', 'required' => true], ], + 'description' => '', ], ], ], + 'description' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '查询已经创建的网站业务转发规则', + 'description' => '本接口用于分页查询您已创建的网站业务转发规则的配置,例如,转发协议类型、源站服务器地址、HTTPS配置、IP黑名单配置等。'."\n" + ."\n" + .'调用本接口前,您必须已经调用[CreateWebRule](~~157463~~)创建了网站业务转发规则。'."\n" + ."\n" + .'### QPS限制'."\n" + ."\n" + .'本接口的单用户QPS限制为50次/秒。超过限制,API调用将会被限流,这可能影响您的业务,请合理调用。', + 'requestParamsDescription' => '调用API时,除了本文中该API的请求参数,还需加入阿里云API公共请求参数。公共请求参数的详细介绍,请参见[公共参数](~~157269~~)。'."\n" + ."\n" + .'调用API的请求格式,请参见本文**示例**中的请求示例。', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2025-09-19T08:52:36.000Z', 'description' => '响应参数发生变更'], + ['createdAt' => '2024-08-30T07:13:07.000Z', 'description' => '请求参数发生变更、响应参数发生变更'], + ['createdAt' => '2023-07-18T07:29:47.000Z', 'description' => '响应参数发生变更'], + ['createdAt' => '2022-03-15T11:09:55.000Z', 'description' => '请求参数发生变更'], + ], + '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' => '全部资源', '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"}]', - 'title' => '查询DDoS高防攻击IP的目的端口包数量信息', + '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 \\"ECDHE-RSA-AES128-GCM-SHA256\\"\\n ],\\n \\"CertExpireTime\\": 1765959120,\\n \\"WafProtectionEnable\\": true\\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":""}]', ], - 'DescribePortFlowList' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DetachSceneDefenseObject' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -15811,87 +14111,29 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeCode' => '106175', - 'abilityTreeNodes' => [ - 'FEATUREddosRTUJBH', - ], + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '106212', + 'abilityTreeNodes' => ['FEATUREddosI8LHMA'], ], 'parameters' => [ [ - 'name' => 'ResourceGroupId', - 'in' => 'query', - 'schema' => [ - 'description' => 'DDoS高防实例在资源管理服务中所属的资源组ID。默认为空,即属于默认资源组。'."\n" - ."\n" - .'关于资源组的更多信息,请参见[创建资源组](~~94485~~)。'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'rg-acfm2pz25js****', - ], - ], - [ - 'name' => 'EndTime', - 'in' => 'query', - 'schema' => [ - 'description' => '设置查询结束时间。使用时间戳格式,单位:秒。'."\n" - ."\n" - .'> 必须设置成整点分钟。'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1583683200', - ], - ], - [ - 'name' => 'StartTime', + 'name' => 'PolicyId', 'in' => 'query', - 'schema' => [ - 'description' => '设置查询开始时间。使用时间戳格式,单位:秒。'."\n" - ."\n" - .'> 必须设置成整点分钟。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1582992000', - ], + 'schema' => ['description' => '策略ID。'."\n" + ."\n" + .'> 您可以调用[DescribeSceneDefensePolicies](~~159382~~)查询所有策略ID。', 'type' => 'string', 'required' => true, 'example' => '321a-fd31-df51-****'], ], [ - 'name' => 'Interval', + 'name' => 'ObjectType', 'in' => 'query', - 'schema' => [ - 'description' => '设置返回数据的步长,单位为秒,即每隔多少秒返回一个结果。查询时间范围(由**StartTime**和**EndTime**决定)不同,支持的步长取值范围不同,设置建议如下:'."\n" - ."\n" - .'- 查询时间范围不大于1小时,建议最小步长为60秒,最大不超过查询时间范围。'."\n" - .'- 查询时间范围大于1小时但不超过6小时,建议最小步长为600秒,最大不超过查询时间范围。'."\n" - .'- 查询时间范围大于6小时但不超过24小时,建议最小步长为1800秒,最大不超过查询时间范围。'."\n" - .'- 查询时间范围大于24小时但不超过7天,建议最小步长为3600秒,最大不超过查询时间范围。'."\n" - .'- 查询时间范围大于7天但不超过15天,建议最小步长为14400秒,最大不超过查询时间范围。'."\n" - .'- 查询时间范围大于15天,建议最小步长为43200秒,最大不超过查询时间范围。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '1000', - ], + 'schema' => ['description' => '对象类型。取值:**Domain**,表示域名。', 'type' => 'string', 'required' => false, 'example' => 'Domain', 'default' => 'Domain'], ], [ - 'name' => 'InstanceIds', + 'name' => 'Objects', 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => 'DDoS高防实例的ID。', - 'type' => 'array', - 'items' => [ - 'description' => 'DDoS高防实例的ID。'."\n" - .'> 您可以调用[DescribeInstanceIds](~~157459~~)查询所有DDoS高防实例的ID信息。', - 'type' => 'string', - 'required' => false, - 'example' => 'ddoscoo-cn-zz120cjv****', - ], - 'required' => true, - 'example' => 'ddoscoo-cn-mp91j1ao****', - 'maxItems' => 100, - ], + 'schema' => ['description' => '要移除的防护对象。多个对象间使用英文逗号(,)分隔。', 'type' => 'string', 'required' => true, 'example' => 'www.aliyun.com'], ], ], 'responses' => [ @@ -15899,147 +14141,46 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => 'FFC77501-BDF8-4BC8-9BF5-B295FBC3189B', - ], - 'PortFlowList' => [ - 'description' => '查询到的流量数据。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Index' => [ - 'description' => '返回数据的索引号。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'Time' => [ - 'description' => '统计时间。时间戳格式,单位:秒。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1582992000', - ], - 'InPps' => [ - 'description' => '入方向包转发率,单位:pps。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '2934', - ], - 'InBps' => [ - 'description' => '入方向带宽,单位:bps。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '2176000', - ], - 'Region' => [ - 'description' => '访问流量来源地区。取值:'."\n" - .'- **cn**:中国内地。'."\n" - .'- **alb-ap-northeast-1-gf-x**:日本。'."\n" - .'- **alb-ap-southeast-gf-x**:新加坡。'."\n" - .'- **alb-cn-hongkong-gf-x**:中国香港。'."\n" - .'- **alb-eu-central-1-gf-x**:德国。'."\n" - .'- **alb-us-west-1-gf-x**:美国西部。'."\n" - ."\n" - .'>**cn**以外的取值只有在DDoS高防(国际)服务(**RegionId**为**ap-southeast-1**)中提供。', - 'type' => 'string', - 'example' => 'cn', - ], - 'OutPps' => [ - 'description' => '出方向包转发率,单位:pps。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '5', - ], - 'AttackPps' => [ - 'description' => '攻击包转发率,单位:pps。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'OutBps' => [ - 'description' => '出方向带宽,单位:bps。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '4389', - ], - 'AttackBps' => [ - 'description' => '攻击带宽,单位:bps。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'SlaBpsDropBps' => [ - 'description' => '目的带宽,单位:bps。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'SlaPpsDropBps' => [ - 'description' => '目的报文,单位:bps。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'SlaCpsDropBps' => [ - 'description' => '目的新建连接数,单位:bps。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'SlaConnDropBps' => [ - 'description' => '目的并发连接数,单位:bps。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'SlaBpsDropPps' => [ - 'description' => '目的带宽包转发率,单位:pps。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'SlaPpsDropPps' => [ - 'description' => '目的报文包转发率,单位:pps。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'SlaCpsDropPps' => [ - 'description' => '目的新建连接数包转发率,单位:pps。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'SlaConnDropPps' => [ - 'description' => '目的并发连接数包转发率,单位:pps。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - ], - ], - ], + 'Success' => ['description' => '是否成功调用。取值:'."\n" + .'- **true**:是'."\n" + .'- **false**:否', 'type' => 'boolean', 'example' => 'true'], + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'F65DF043-E0EB-4796-9467-23DDCDF92C1D'], ], + 'description' => '', ], ], ], - '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' => '查询DDoS高防实例的流量数据列表', - 'summary' => '查询DDoS高防实例的流量数据列表。', - ], - 'DescribePortConnsList' => [ - 'summary' => '查询DDoS高防实例的端口连接数列表。', - 'methods' => [ - 'post', - 'get', + 'title' => '移除定制场景策略的防护对象', + 'summary' => '移除定制场景策略的防护对象。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:14.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DetachSceneDefenseObject'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DetachSceneDefenseObject', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + '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":""}]', + ], + 'DisableSceneDefensePolicy' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -16048,89 +14189,86 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '106174', - 'abilityTreeNodes' => [ - 'FEATUREddosRTUJBH', - ], + 'operationType' => 'update', + 'abilityTreeCode' => '106213', + 'abilityTreeNodes' => ['FEATUREddosM9SQC1'], ], 'parameters' => [ [ - 'name' => 'ResourceGroupId', + 'name' => 'PolicyId', 'in' => 'query', - 'schema' => [ - 'description' => 'DDoS高防实例在资源管理产品中所属的资源组ID。默认为空,即属于默认资源组。', - 'type' => 'string', - 'required' => false, - 'example' => 'default', - ], + 'schema' => ['description' => '要禁用的策略ID。'."\n" + ."\n" + .'> 您可以调用[DescribeSceneDefensePolicies](~~159382~~)查询所有策略ID。', 'type' => 'string', 'required' => true, 'example' => '321a-fd31-df51-****'], ], - [ - 'name' => 'EndTime', - 'in' => 'query', + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '查询结束时间。时间戳格式,单位:秒。'."\n" - .'> 必须为整点分钟。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1583683200', + 'type' => 'object', + 'properties' => [ + 'Success' => ['description' => '是否成功调用。取值:'."\n" + .'- **true**:是'."\n" + .'- **false**:否', 'type' => 'boolean', 'example' => 'true'], + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'F65DF043-E0EB-4796-9467-23DDCDF92C1D'], + ], ], ], + ], + 'title' => '禁用定制场景策略', + 'summary' => '禁用定制场景策略。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:14.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DisableSceneDefensePolicy'], + ], + ], + 'ramActions' => [ [ - 'name' => 'StartTime', - 'in' => 'query', - 'schema' => [ - 'description' => '查询开始时间。时间戳格式,单位:秒。'."\n" - .'> 必须为整点分钟。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1582992000', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DisableSceneDefensePolicy', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], + ], + '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":""}]', + ], + 'DisableWebAccessLogConfig' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'Interval', - 'in' => 'query', - 'schema' => [ - 'description' => '返回数据的步长,单位为秒,即每隔多少秒返回一个结果。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '1000', - ], + 'AK' => [], ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'abilityTreeCode' => '106214', + 'abilityTreeNodes' => ['FEATUREddosOZ1QOD'], + ], + 'parameters' => [ [ - 'name' => 'Port', + 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => '要查询的端口号。不传入该参数表示查询所有端口。', - 'type' => 'string', - 'required' => false, - 'example' => '80', - ], + 'schema' => ['description' => 'DDoS高防实例在资源管理产品中所属的资源组ID。默认为空,即属于默认资源组。', 'type' => 'string', 'required' => false, 'example' => 'default'], ], [ - 'name' => 'InstanceIds', + 'name' => 'Domain', 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => 'DDoS高防实例的ID。'."\n" - .'> 您可以调用[DescribeInstanceIds](~~157459~~)查询所有DDoS高防实例的ID信息。', - 'type' => 'array', - 'items' => [ - 'description' => 'DDoS高防实例的ID。'."\n" - .'> 您可以调用[DescribeInstanceIds](~~157459~~)查询所有DDoS高防实例的ID信息。', - 'type' => 'string', - 'required' => false, - 'example' => 'ddoscoo-cn-mp91j1ao****', - ], - 'required' => true, - 'example' => 'ddoscoo-cn-mp91j1ao****', - 'maxItems' => 100, - ], + 'schema' => ['description' => '网站业务的域名。'."\n" + .'> 域名必须已配置网站业务转发规则。您可以调用[DescribeDomains](~~91724~~)查询所有域名。'."\n", 'type' => 'string', 'required' => true, 'example' => 'www.aliyun.com'], ], ], 'responses' => [ @@ -16138,72 +14276,42 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。', - 'type' => 'string', - 'example' => '6D48AED0-41DB-5D9B-B484-3B6AAD312AD1', - ], - 'ConnsList' => [ - 'description' => '端口连接数据列表。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'ActConns' => [ - 'description' => '活跃连接数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '3', - ], - 'InActConns' => [ - 'description' => '不活跃连接数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '2', - ], - 'Index' => [ - 'description' => '返回数据的索引。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '16506', - ], - 'Cps' => [ - 'description' => '新建连接数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'Conns' => [ - 'description' => '> 该参数在内部测试中,暂时请勿使用。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '8', - ], - ], - ], - ], + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'], ], ], ], ], - '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' => '查询DDoS高防实例的端口连接数列表', - 'requestParamsDescription' => '调用API时,除了本文中该API的请求参数,还需加入阿里云API公共请求参数。公共请求参数的详细介绍,请参见[公共参数](~~157269~~)。'."\n" - ."\n" - .'调用API的请求格式,请参见本文**示例**中的请求示例。', + 'title' => '为网站业务关闭全量日志分析', + 'summary' => '为网站业务关闭全量日志分析。', + 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribePortConnsCount' => [ - 'summary' => '查询DDoS高防实例的端口连接数统计信息。', - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:14.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DisableWebAccessLogConfig'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DisableWebAccessLogConfig', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + '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":""}]', + ], + 'DisableWebCC' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -16212,77 +14320,21 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '106173', - 'abilityTreeNodes' => [ - 'FEATUREddosRTUJBH', - ], + 'operationType' => 'update', + 'abilityTreeCode' => '106215', + 'abilityTreeNodes' => ['FEATUREddosOZ1QOD'], ], 'parameters' => [ [ 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => 'DDoS高防实例在资源管理产品中所属的资源组ID。默认为空,即属于默认资源组。', - 'type' => 'string', - 'required' => false, - 'example' => 'default', - ], - ], - [ - 'name' => 'EndTime', - 'in' => 'query', - 'schema' => [ - 'description' => '查询结束时间。时间戳格式,单位:秒。'."\n" - .'> 必须为整点分钟。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1583683200', - ], - ], - [ - 'name' => 'StartTime', - 'in' => 'query', - 'schema' => [ - 'description' => '查询开始时间。时间戳格式,单位:秒。'."\n" - .'> 必须为整点分钟。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1582992000', - ], - ], - [ - 'name' => 'Port', - 'in' => 'query', - 'schema' => [ - 'description' => '要查询的端口号。不传入该参数表示查询所有端口号。', - 'type' => 'string', - 'required' => false, - 'example' => '80', - ], + 'schema' => ['description' => 'DDoS高防实例在资源管理产品中所属的资源组ID。默认为空,即属于默认资源组。', 'type' => 'string', 'required' => false, 'example' => 'default'], ], [ - 'name' => 'InstanceIds', + 'name' => 'Domain', 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => 'DDoS高防实例的ID。'."\n" - .'> 您可以调用[DescribeInstanceIds](~~157459~~)查询所有DDoS高防实例的ID信息。', - 'type' => 'array', - 'items' => [ - 'description' => 'DDoS高防实例的ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'ddoscoo-cn-mp91j1ao****', - ], - 'required' => true, - 'example' => 'ddoscoo-cn-mp91j1ao****', - 'maxItems' => 100, - ], + 'schema' => ['description' => '网站业务的域名。'."\n" + .'> 域名必须已配置网站业务转发规则。您可以调用[DescribeDomains](~~91724~~)查询所有域名。', 'type' => 'string', 'required' => true, 'example' => 'www.aliyun.com'], ], ], 'responses' => [ @@ -16290,53 +14342,42 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'InActConns' => [ - 'description' => '不活跃的连接数量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '121', - ], - 'ActConns' => [ - 'description' => '活跃的连接数量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '159', - ], - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => '48859E14-A9FB-4100-99FF-AAB75CA46776', - ], - 'Cps' => [ - 'description' => '新建连接数量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'Conns' => [ - 'description' => '并发连接数量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '46340', - ], + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc'], ], ], ], ], - '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' => '查询实例端口连接数统计信息', + 'title' => '关闭网站业务CC防护开关', + 'summary' => '关闭网站业务频率控制防护(CC防护)的开关。', + 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribePortMaxConns' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:14.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DisableWebCC'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DisableWebCC', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + '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":""}]', + ], + 'DisableWebCCRule' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -16345,65 +14386,21 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeCode' => '106176', - 'abilityTreeNodes' => [ - 'FEATUREddosRTUJBH', - ], + 'operationType' => 'update', + 'abilityTreeCode' => '106216', + 'abilityTreeNodes' => ['FEATUREddosOZ1QOD'], ], 'parameters' => [ [ 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => 'DDoS高防实例在资源管理产品中所属的资源组ID。默认为空,即属于默认资源组。', - 'type' => 'string', - 'required' => false, - 'example' => 'default', - ], - ], - [ - 'name' => 'EndTime', - 'in' => 'query', - 'schema' => [ - 'description' => '查询结束时间。时间戳格式,单位:秒。'."\n" - .'> 必须为整点分钟。'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1583683200', - ], - ], - [ - 'name' => 'StartTime', - 'in' => 'query', - 'schema' => [ - 'description' => '查询开始时间。时间戳格式,单位:秒。'."\n" - .'> 必须为整点分钟。'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1582992000', - ], + 'schema' => ['description' => 'DDoS高防实例在资源管理产品中所属的资源组ID。默认为空,即属于默认资源组。', 'type' => 'string', 'required' => false, 'example' => 'default'], ], [ - 'name' => 'InstanceIds', + 'name' => 'Domain', 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => 'DDoS高防实例的ID。'."\n" - .'> 您可以调用[DescribeInstanceIds](~~157459~~)查询所有DDoS高防实例的ID信息。', - 'type' => 'array', - 'items' => [ - 'description' => 'DDoS高防实例的ID。', - 'type' => 'string', - 'required' => false, - 'example' => ' ddoscoo-cn-mp91j1ao****', - ], - 'required' => true, - 'example' => ' ddoscoo-cn-mp91j1ao****', - 'maxItems' => 100, - ], + 'schema' => ['description' => '网站业务的域名。'."\n" + .'> 域名必须已配置网站业务转发规则。您可以调用[DescribeDomains](~~91724~~)查询所有域名。', 'type' => 'string', 'required' => true, 'example' => 'www.aliyun.com'], ], ], 'responses' => [ @@ -16411,130 +14408,127 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => '08F79110-2AF5-4FA7-998E-7C5E75EACF9C', - ], - 'PortMaxConns' => [ - 'description' => 'DDoS高防实例的端口连接峰值信息。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Ip' => [ - 'description' => 'DDoS高防实例的IP。', - 'type' => 'string', - 'example' => '203.***.***.117', - ], - 'Port' => [ - 'description' => 'DDoS高防实例的端口。', - 'type' => 'string', - 'example' => '80', - ], - 'Cps' => [ - 'description' => '最大每秒连接数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '100', - ], - ], - ], - ], + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc'], ], ], ], ], - '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' => '查询DDoS高防实例的端口连接峰值信息', - 'summary' => '查询DDoS高防实例的端口连接峰值信息。', + 'title' => '关闭网站业务CC防护自定义规则开关', + 'summary' => '关闭网站业务频率控制防护(CC防护)的自定义规则开关。', + 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribePortAttackMaxFlow' => [ - 'summary' => '查询指定时间段内DDoS高防受到的攻击带宽和包速峰值。', - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:14.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DisableWebCCRule'], + ], ], - 'security' => [ + 'ramActions' => [ [ - 'AK' => [], + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DisableWebCCRule', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'none', + '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":""}]', + ], + 'EmptyAutoCcBlacklist' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '106165', - 'abilityTreeNodes' => [ - 'FEATUREddosRTUJBH', - ], + 'abilityTreeCode' => '106217', + 'abilityTreeNodes' => ['FEATUREddosI8LHMA'], ], 'parameters' => [ [ - 'name' => 'ResourceGroupId', + 'name' => 'InstanceId', 'in' => 'query', + 'schema' => ['description' => 'DDoS高防实例的ID。'."\n" + .'> 您可以调用[DescribeInstanceIds](~~157459~~)查询所有DDoS高防实例的ID信息。', 'type' => 'string', 'required' => true, 'example' => 'ddoscoo-cn-mp91j1ao****'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'DDoS高防实例在资源管理服务中所属的资源组ID。'."\n" - ."\n" - .'不设置该参数表示默认资源组。', - 'type' => 'string', - 'required' => false, - 'example' => 'rg-acfm2pz25js****', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E'], + ], + 'description' => '', ], ], + ], + 'title' => '清空针对DDoS高防实例的黑名单IP', + 'summary' => '清空针对DDoS高防实例的黑名单IP。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:14.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'EmptyAutoCcBlacklist'], + ], + ], + 'ramActions' => [ [ - 'name' => 'EndTime', - 'in' => 'query', - 'schema' => [ - 'description' => '要查询的流量数据的结束时间。使用时间戳表示,单位:秒。'."\n" - ."\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' => '全部资源', 'arn' => '*'], + ], ], ], + ], + '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":""}]', + ], + 'EmptyAutoCcWhitelist' => [ + 'summary' => '清空针对DDoS高防实例的白名单IP。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'StartTime', - 'in' => 'query', - 'schema' => [ - 'description' => '要查询的流量数据的开始时间。使用时间戳表示,单位:秒。'."\n" - ."\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' => '要查询的DDoS高防实例的ID列表。', - 'type' => 'array', - 'items' => [ - 'description' => '要查询的DDoS高防实例的ID。'."\n" - ."\n" - .'> 您可以调用[DescribeInstanceIds](~~157459~~)查询所有DDoS高防实例的ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'ddoscoo-cn-zvp2eibz****', - ], - 'required' => true, - 'example' => 'ddoscoo-cn-mp91j1ao****', - 'maxItems' => 100, - ], + 'schema' => ['description' => 'DDoS高防实例的ID。'."\n" + .'> 您可以调用[DescribeInstanceIds](~~157459~~)查询所有DDoS高防实例的ID信息。', 'type' => 'string', 'required' => true, 'example' => 'ddoscoo-cn-mp91j1ao****'], ], ], 'responses' => [ @@ -16542,49 +14536,43 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E', - ], - 'Bps' => [ - 'description' => '攻击带宽峰值。单位:bps。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '149559', - ], - 'Pps' => [ - 'description' => '攻击包速峰值。单位:pps。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '23', - ], + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E'], ], + 'description' => '', ], ], ], - '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' => '查询DDoS高防受到的攻击带宽和包速峰值', - 'description' => '本接口用于查询指定时间段内DDoS高防受到的攻击带宽和包速峰值。'."\n" - ."\n" - .'### QPS限制'."\n" - ."\n" - .'本接口的单用户QPS限制为10次/秒。超过限制,API调用将会被限流,这可能影响您的业务,请合理调用。', - 'requestParamsDescription' => '调用API时,除了本文中该API的请求参数,还需加入阿里云API公共请求参数。公共请求参数的详细介绍,请参见[公共参数](~~157269~~)。'."\n" - ."\n" - .'调用API的请求格式,请参见本文**示例**中的请求示例。', + 'title' => '清空针对DDoS高防实例的白名单IP', + 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribePortViewSourceCountries' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:14.000Z', 'description' => '错误码发生变更'], + ], + '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' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + '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":""}]', + ], + 'EmptySlsLogstore' => [ + 'summary' => '清空DDoS高防的日志库。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -16593,67 +14581,80 @@ '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' => 'DDoS高防实例在资源管理产品中所属的资源组ID。默认为空,即属于默认资源组。', 'type' => 'string', 'required' => false, 'example' => 'default'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'DDoS高防实例在资源管理服务中所属的资源组ID。默认为空,即属于默认资源组。'."\n" - ."\n" - .'关于资源组的更多信息,请参见[创建资源组](~~94485~~)。', - 'type' => 'string', - 'required' => false, - 'example' => 'rg-acfm2pz25js****', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'], + ], + 'description' => '', ], ], + ], + 'title' => '清空日志库', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:14.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'EmptySlsLogstore'], + ], + ], + 'ramActions' => [ [ - 'name' => 'EndTime', - 'in' => 'query', - 'schema' => [ - 'description' => '查询结束时间。时间戳格式,单位:秒。'."\n" - .'> 必须为整点分钟。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1583683200', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:EmptySlsLogstore', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], + ], + '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":""}]', + ], + 'EnableSceneDefensePolicy' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'StartTime', - 'in' => 'query', - 'schema' => [ - 'description' => '查询开始时间。时间戳格式,单位:秒。'."\n" - .'> 必须为整点分钟。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1582992000', - ], + 'AK' => [], ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'abilityTreeCode' => '106220', + 'abilityTreeNodes' => ['FEATUREddosRTUJBH'], + ], + 'parameters' => [ [ - 'name' => 'InstanceIds', + 'name' => 'PolicyId', 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => '要查询的DDoS高防实例的ID列表。', - 'type' => 'array', - 'items' => [ - 'description' => '要查询的DDoS高防实例的ID。'."\n" - .'> 您可以调用[DescribeInstanceIds](~~157459~~)查询所有DDoS高防实例的ID信息。', - 'type' => 'string', - 'required' => false, - 'example' => 'ddoscoo-cn-mp91j1ao****', - ], - 'required' => true, - 'example' => 'ddoscoo-cn-mp91j1ao****', - 'maxItems' => 100, - ], + 'schema' => ['description' => '要启用的策略ID。'."\n" + ."\n" + .'> 您可以调用[DescribeSceneDefensePolicies](~~159382~~)查询所有策略ID。', 'type' => 'string', 'required' => true, 'example' => '321a-fd31-df51-****'], ], ], 'responses' => [ @@ -16661,50 +14662,45 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E', - ], - 'SourceCountrys' => [ - 'description' => 'DDoS高防实例的请求来源国家信息。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Count' => [ - 'description' => '请求次数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '3390671', - ], - 'CountryId' => [ - 'description' => '请求来源国家的简称。例如,**cn**表示中国,**us**表示美国。'."\n" - ."\n" - .'> 关于该参数的取值,请参见[地域类型参数取值说明](~~167926~~)。', - 'type' => 'string', - 'example' => 'cn', - ], - ], - ], - ], + 'Success' => ['description' => '是否成功调用。取值:'."\n" + .'- **true**:是'."\n" + .'- **false**:否', 'type' => 'boolean', 'example' => 'true'], + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'F65DF043-E0EB-4796-9467-23DDCDF92C1D'], ], ], ], ], - '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' => '查询实例的请求来源国家分布', - 'summary' => '查询指定时间段内DDoS高防实例的请求来源国家分布。', - ], - 'DescribePortViewSourceIsps' => [ - 'methods' => [ - 'post', - 'get', + 'title' => '启用定制场景策略', + 'summary' => '启用定制场景策略。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:14.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'EnableSceneDefensePolicy'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:EnableSceneDefensePolicy', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + '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":""}]', + ], + 'EnableWebAccessLogConfig' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -16713,243 +14709,130 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeCode' => '106179', - 'abilityTreeNodes' => [ - 'FEATUREddosRTUJBH', - ], + 'operationType' => 'update', + 'abilityTreeCode' => '106221', + 'abilityTreeNodes' => ['FEATUREddosI8LHMA'], ], 'parameters' => [ [ 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => 'DDoS高防实例在资源管理服务中所属的资源组ID。'."\n" - ."\n" - .'不设置该参数表示默认资源组。'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'rg-acfm2pz25js****', - ], + 'schema' => ['description' => 'DDoS高防实例在资源管理产品中所属的资源组ID。默认为空,即属于默认资源组。', 'type' => 'string', 'required' => false, 'example' => 'default'], ], [ - 'name' => 'EndTime', + 'name' => 'Domain', 'in' => 'query', - 'schema' => [ - 'description' => '要查询的请求数据的结束时间。使用时间戳表示,单位:秒。'."\n" - ."\n" - .'> 必须为整点分钟。'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1583683200', - ], + 'schema' => ['description' => '网站业务的域名。'."\n" + .'> 域名必须已配置网站业务转发规则。您可以调用[DescribeDomains](~~474212~~)查询所有域名。', 'type' => 'string', 'required' => true, 'example' => 'www.aliyun.com'], ], - [ - 'name' => 'StartTime', - 'in' => 'query', + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '要查询的请求数据的开始时间。使用时间戳表示,单位:秒。'."\n" - ."\n" - .'> 必须为整点分钟。'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1582992000', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80'], + ], ], ], + ], + 'title' => '为网站业务开启全量日志分析', + 'summary' => '为网站业务开启全量日志分析。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:14.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'EnableWebAccessLogConfig'], + ], + ], + 'ramActions' => [ [ - 'name' => 'InstanceIds', - 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => '要查询的DDoS高防实例的ID列表。', - 'type' => 'array', - 'items' => [ - 'description' => '要查询的DDoS高防实例的ID。'."\n" - .'> 您可以调用[DescribeInstanceIds](~~157459~~)查询所有DDoS高防实例的ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'ddoscoo-cn-zvp2eibz****', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:EnableWebAccessLogConfig', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], ], - 'required' => true, - 'example' => 'ddoscoo-cn-mp91j1ao****', - 'maxItems' => 100, ], ], ], + '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":""}]', + ], + 'EnableWebCC' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'abilityTreeCode' => '106222', + 'abilityTreeNodes' => ['FEATUREddosOZ1QOD'], + ], + 'parameters' => [ + [ + 'name' => 'ResourceGroupId', + 'in' => 'query', + 'schema' => ['description' => 'DDoS高防实例在资源管理产品中所属的资源组ID。默认为空,即属于默认资源组。', 'type' => 'string', 'required' => false, 'example' => 'default'], + ], + [ + 'name' => 'Domain', + 'in' => 'query', + 'schema' => ['description' => '网站业务的域名。'."\n" + .'> 域名必须已配置网站业务转发规则。您可以调用[DescribeDomains](~~91724~~)查询所有域名。', 'type' => 'string', 'required' => true, 'example' => 'www.aliyun.com'], + ], + ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E', - ], - 'Isps' => [ - 'description' => 'DDoS高防实例的请求来源运营商信息。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Count' => [ - 'description' => '相对请求数量。'."\n" - ."\n" - .'> 该数据不表示真实请求数量的大小,目前您可以使用该数据来计算不同运营商请求数量的比例。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '3390671', - ], - 'IspId' => [ - 'description' => '运营商ID。详见返回参数表下的运营商代码说明,运营商ID对应表中的代码。', - 'type' => 'string', - 'example' => '100017', - ], - ], - ], - ], + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc'], ], ], ], ], - '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' => '查询实例的请求来源运营商分布', - 'summary' => '查询指定时间段内DDoS高防实例的请求来源运营商分布。', - 'description' => '本接口用于查询指定时间段内DDoS高防实例的请求来源运营商分布。'."\n" - ."\n" - .'> 由于DDoS高防的四层传输层身份统计算法更新,目前本接口返回数据不能反应真实流量的大小,仅可用于计算不同运营商请求数量的比例(即请求的来源运营商分布情况)。如果您想获取请求流量数据,推荐您调用[DescribePortFlowList](~~157460~~)。'."\n" - ."\n" - .'### QPS限制'."\n" - ."\n" - .'本接口的单用户QPS限制为10次/秒。超过限制,API调用将会被限流,这可能影响您的业务,请合理调用。', - 'requestParamsDescription' => '调用API时,除了本文中该API的请求参数,还需加入阿里云API公共请求参数。公共请求参数的详细介绍,请参见[公共参数](~~157269~~)。'."\n" - ."\n" - .'调用API的请求格式,请参见本文**示例**中的请求示例。', - 'responseParamsDescription' => '**运营商代码**'."\n" - ."\n" - .'| 代码 | 运营商 |'."\n" - .'|---------|----------|'."\n" - .'| 100017 | 电信 |'."\n" - .'| 100026 | 联通 |'."\n" - .'| 100025 | 移动 |'."\n" - .'| 100027 | 教育网 |'."\n" - .'| 100020 | 铁通 |'."\n" - .'| 1000143 | 鹏博士 |'."\n" - .'| 100080 | 歌华 |'."\n" - .'| 1000139 | 广电 |'."\n" - .'| 100023 | 有线通 |'."\n" - .'| 100063 | 方正宽带 |'."\n" - .'| 1000337 | 皓宽网络 |'."\n" - .'| 100021 | 世纪互联 |'."\n" - .'| 1000333 | 华数传媒 |'."\n" - .'| 100093 | 网宿 |'."\n" - .'| 1000401 | 腾讯 |'."\n" - .'| 100099 | 百度 |'."\n" - .'| 1000323 | 阿里云 |'."\n" - .'| 100098 | 阿里巴巴 |'."\n" - .'| 1000120 | 北龙中网 |'."\n" - .'| 1000189 | 中国互联网信息中心 |'."\n" - .'| 1000188 | 吉林油田通信 |'."\n" - .'| 1000187 | 数讯信息技术 |'."\n" - .'| 1000186 | 中原油田 |'."\n" - .'| 1000185 | 众屹赢时通信 |'."\n" - .'| 1000184 | 南凌科技 |'."\n" - .'| 1000181 | 安徽省教育厅 |'."\n" - .'| 100075 | 蓝讯通信技术 |'."\n" - .'| 100076 | 天威宽带 |'."\n" - .'| 1000104 | 金桥网 |'."\n" - .'| 1000103 | 国研网 |'."\n" - .'| 1000102 | 飞华领航 |'."\n" - .'| 100072 | E家宽带 |'."\n" - .'| 100078 | 油田宽带 |'."\n" - .'| 100079 | 视讯宽带 |'."\n" - .'| 1000114 | 首信网 |'."\n" - .'| 1000103 | 中国科技网 |'."\n" - .'| 1000199 | 维赛网络 |'."\n" - .'| 1000194 | 城市网络 |'."\n" - .'| 1000195 | 壹通通信 |'."\n" - .'| 1000197 | 燕大正洋 |'."\n" - .'| 1000190 | 中科鸿基网络 |'."\n" - .'| 1000191 | 中国一汽 |'."\n" - .'| 1000192 | 零色沸点网络 |'."\n" - .'| 1000193 | 网宽天地 |'."\n" - .'| 100063 | 方正网络 |'."\n" - .'| 100061 | 长城宽带 |'."\n" - .'| 1000117 | 中信网络 |'."\n" - .'| 1000118 | 京宽网络 |'."\n" - .'| 1000119 | 网易网络 |'."\n" - .'| 1000122 | 网联光通 |'."\n" - .'| 1000124 | 金科信息网 |'."\n" - .'| 1000128 | 卫视创捷 |'."\n" - .'| 1000321 | 媒迪雅 |'."\n" - .'| 1000320 | 天地祥云 |'."\n" - .'| 100092 | 263网络 |'."\n" - .'| 1000325 | 湖南广电 |'."\n" - .'| 100018 | 电信通 |'."\n" - .'| 1000106 | 神州在线 |'."\n" - .'| 100089 | 光环新网 |'."\n" - .'| 1000136 | 联通新国信 |'."\n" - .'| 100086 | 华宇宽带 |'."\n" - .'| 100083 | 视通宽带 |'."\n" - .'| 1000131 | 比通联合网络 |'."\n" - .'| 1000305 | 铜牛集团 |'."\n" - .'| 1000302 | 盈通网络 |'."\n" - .'| 1000309 | 中国在线 |'."\n" - .'| 1000308 | 临网通讯 |'."\n" - .'| 1000149 | 太平洋电信 |'."\n" - .'| 1000148 | 有孚网络 |'."\n" - .'| 1000140 | 华数 |'."\n" - .'| 1000147 | 沃通电子商务 |'."\n" - .'| 1000146 | 华瑞信通 |'."\n" - .'| 1000144 | 屹立由数据 |'."\n" - .'| 100035 | 比林通信 |'."\n" - .'| 100039 | 畅捷通信 |'."\n" - .'| 1000312 | 中企通信 |'."\n" - .'| 1000313 | 长城互联网 |'."\n" - .'| 1000310 | 上海信息网络 |'."\n" - .'| 1000316 | 三信时代 |'."\n" - .'| 1000317 | 睿江科技 |'."\n" - .'| 1000319 | 森华易腾 |'."\n" - .'| 1000159 | 龙腾佳讯 |'."\n" - .'| 1000150 | 新飞金信 |'."\n" - .'| 1000153 | 腾讯网络 |'."\n" - .'| 1000154 | 视虎科技 |'."\n" - .'| 1000155 | 新视讯 |'."\n" - .'| 1000156 | 地面通信息网络 |'."\n" - .'| 1000157 | 日升天信科技 |'."\n" - .'| 100029 | 恒敦通信 |'."\n" - .'| 100028 | 中电飞华 |'."\n" - .'| 100022 | 中电华通 |'."\n" - .'| 1000135 | 经济信息网 |'."\n" - .'| 1000165 | 上海大众汽车 |'."\n" - .'| 1000167 | 翰威科技 |'."\n" - .'| 1000161 | 天盈信息技术 |'."\n" - .'| 1000160 | 佰隆网络 |'."\n" - .'| 1000163 | 平煤神马集团 |'."\n" - .'| 100051 | 博路电信 |'."\n" - .'| 1000172 | 同煤集团 |'."\n" - .'| 1000170 | 百吉数据 |'."\n" - .'| 1000171 | 可口可乐网络 |'."\n" - .'| 1000176 | 华夏光网 |'."\n" - .'| 1000177 | 中国国际电子商务中心|'."\n" - .'| 1000174 | 新浪网络 |'."\n" - .'| 1000178 | 信天游 |'."\n" - .'| 1000179 | 新网 |'."\n" - .'| 100048 | 天地通电信 |'."\n" - .'| 1000322 | 维速 |', + 'title' => '开启网站业务频率控制防护(CC防护)的开关', + 'summary' => '开启网站业务频率控制防护(CC防护)的开关。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribePortViewSourceProvinces' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:14.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'EnableWebCC'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:EnableWebCC', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + '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":""}]', + ], + 'EnableWebCCRule' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -16958,67 +14841,21 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeCode' => '106180', - 'abilityTreeNodes' => [ - 'FEATUREddosRTUJBH', - ], + 'operationType' => 'update', + 'abilityTreeCode' => '106223', + 'abilityTreeNodes' => ['FEATUREddosOZ1QOD'], ], 'parameters' => [ [ 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => 'DDoS高防实例在资源管理服务中所属的资源组ID。默认为空,即属于默认资源组。'."\n" - ."\n" - .'关于资源组的更多信息,请参见[创建资源组](~~94485~~)。', - 'type' => 'string', - 'required' => false, - 'example' => 'rg-acfm2pz25js****', - ], - ], - [ - 'name' => 'EndTime', - 'in' => 'query', - 'schema' => [ - 'description' => '查询结束时间。时间戳格式,单位:秒。不传入表示使用当前时间作为结束时间。'."\n" - .'> 必须为整点分钟。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1583683200', - ], - ], - [ - 'name' => 'StartTime', - 'in' => 'query', - 'schema' => [ - 'description' => '查询开始时间。时间戳格式,单位:秒。'."\n" - .'> 必须为整点分钟。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1582992000', - ], + 'schema' => ['description' => 'DDoS高防实例在资源管理产品中所属的资源组ID。默认为空,即属于默认资源组。', 'type' => 'string', 'required' => false, 'example' => 'default'], ], [ - 'name' => 'InstanceIds', + 'name' => 'Domain', 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => '要查询的DDoS高防实例的ID列表。', - 'type' => 'array', - 'items' => [ - 'description' => '要查询的DDoS高防实例的ID。'."\n" - .'> 您可以调用[DescribeInstanceIds](~~157459~~)查询所有DDoS高防实例的ID信息。', - 'type' => 'string', - 'required' => false, - 'example' => 'ddoscoo-cn-mp91j1ao****', - ], - 'required' => true, - 'example' => 'ddoscoo-cn-mp91j1ao****', - 'maxItems' => 100, - ], + 'schema' => ['description' => '网站业务的域名。'."\n" + .'> 域名必须已配置网站业务转发规则。您可以调用[DescribeDomains](~~91724~~)查询所有域名。', 'type' => 'string', 'required' => true, 'example' => 'www.aliyun.com'], ], ], 'responses' => [ @@ -17026,52 +14863,42 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E', - ], - 'SourceProvinces' => [ - 'description' => 'DDoS高防实例的请求来源中国地域信息。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'ProvinceId' => [ - 'description' => '请求来源中国地域的ID。例如,**110000**表示北京市,**120000**表示天津市。'."\n" - ."\n" - .'> 关于该参数的取值,请参见[地域类型参数取值说明](~~167926~~)。', - 'type' => 'string', - 'example' => '440000', - ], - 'Count' => [ - 'description' => '相对请求数量。'."\n" - ."\n" - .'> 该数据不表示真实请求数量的大小,目前您可以使用该数据来计算不同省份请求数量的比例。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '3390671', - ], - ], - ], - ], + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc'], ], ], ], ], - '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' => '查询实例的请求来源(中国)省份分布', - 'summary' => '查询指定时间段内DDoS高防实例的请求来源(中国)省份分布。', - ], - 'DescribeDomainQPSList' => [ - 'methods' => [ - 'post', - 'get', + 'title' => '开启网站业务CC防护自定义规则开关', + 'summary' => '开启网站业务频率控制防护(CC防护)的自定义规则开关。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:14.000Z', 'description' => '错误码发生变更'], + ], + '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' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + '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":""}]', + ], + 'ModifyBlackholeStatus' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -17080,68 +14907,21 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeCode' => '106127', - 'abilityTreeNodes' => [ - 'FEATUREddosRTUJBH', - ], + 'operationType' => 'update', + 'abilityTreeCode' => '106227', + 'abilityTreeNodes' => ['FEATUREddosMHU3MF'], ], 'parameters' => [ [ - 'name' => 'ResourceGroupId', - 'in' => 'query', - 'schema' => [ - 'description' => 'DDoS高防实例在资源管理产品中所属的资源组ID。默认为空,即属于默认资源组。', - 'type' => 'string', - 'required' => false, - 'example' => 'default', - ], - ], - [ - 'name' => 'StartTime', - 'in' => 'query', - 'schema' => [ - 'description' => '查询开始时间。时间戳格式,单位:秒。'."\n" - .'> 必须为整点分钟。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1582992000', - ], - ], - [ - 'name' => 'EndTime', - 'in' => 'query', - 'schema' => [ - 'description' => '查询结束时间。时间戳格式,单位:秒。'."\n" - .'> 必须为整点分钟。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1583683200', - ], - ], - [ - 'name' => 'Interval', + 'name' => 'BlackholeStatus', 'in' => 'query', - 'schema' => [ - 'description' => '返回数据的步长,单位为秒,即每隔多少秒返回一个结果。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1000', - ], + 'schema' => ['description' => '设置黑洞状态。取值:**undo**,表示解除黑洞。', 'type' => 'string', 'required' => true, 'example' => 'undo'], ], [ - 'name' => 'Domain', + 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => '网站业务的域名。不传入表示查询所有域名的QPS统计信息。'."\n" - .'> 域名必须已配置网站业务转发规则。您可以调用[DescribeDomains](~~91724~~)查询所有域名。', - 'type' => 'string', - 'required' => false, - 'example' => 'www.aliyun.com', - ], + 'schema' => ['description' => 'DDoS高防实例的ID。'."\n" + .'> 您可以调用[DescribeInstanceIds](~~157459~~)查询所有DDoS高防实例的ID信息。', 'type' => 'string', 'required' => true, 'example' => 'ddoscoo-cn-mp91j1ao****'], ], ], 'responses' => [ @@ -17149,97 +14929,42 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => '327F2ABB-104D-437A-AAB5-D633E29A8C51', - ], - 'DomainQPSList' => [ - 'description' => '网站业务QPS统计信息。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Index' => [ - 'description' => '返回数据的索引号。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'Time' => [ - 'description' => '统计时间。时间戳格式,单位:秒。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1582992000', - ], - 'MaxAttackQps' => [ - 'description' => '攻击QPS峰值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '37', - ], - 'AttackQps' => [ - 'description' => '攻击QPS。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'MaxQps' => [ - 'description' => '总QPS峰值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '130', - ], - 'MaxNormalQps' => [ - 'description' => '正常QPS峰值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '93', - ], - 'TotalQps' => [ - 'description' => '总QPS。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'TotalCount' => [ - 'description' => '总访问次数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '20008', - ], - 'CacheHits' => [ - 'description' => '缓存命中数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - ], - ], - ], + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E'], ], ], ], ], - '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' => '查询网站业务的QPS统计信息', - 'summary' => '查询网站业务的QPS统计信息。', - 'requestParamsDescription' => '调用API时,除了本文中该API的请求参数,还需加入阿里云API公共请求参数。公共请求参数的详细介绍,请参见[公共参数](~~157269~~)。'."\n" - ."\n" - .'调用API的请求格式,请参见本文**示例**中的请求示例。', + 'title' => '执行黑洞解封', + 'summary' => '执行黑洞解封。', + 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeDomainStatusCodeList' => [ - 'summary' => '查询网站业务的响应状态码统计信息。', - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:13.000Z', 'description' => '错误码发生变更'], + ], + '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' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + '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":""}]', + ], + 'ModifyBlockStatus' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -17248,82 +14973,46 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeCode' => '106134', - 'abilityTreeNodes' => [ - 'FEATUREddos38XZ5J', - ], + 'operationType' => 'update', + 'abilityTreeCode' => '106228', + 'abilityTreeNodes' => ['FEATUREddosZIK01A'], ], 'parameters' => [ [ - 'name' => 'ResourceGroupId', - 'in' => 'query', - 'schema' => [ - 'description' => 'DDoS高防实例在资源管理服务中所属的资源组ID。默认为空,即属于默认资源组。'."\n" - ."\n" - .'关于资源组的更多信息,请参见[创建资源组](~~94485~~)。', - 'type' => 'string', - 'required' => false, - 'example' => 'rg-acfm2pz25js****', - ], - ], - [ - 'name' => 'StartTime', - 'in' => 'query', - 'schema' => [ - 'description' => '查询开始时间。使用时间戳格式,单位:秒。'."\n" - .'> 必须为整点分钟。'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1582992000', - ], - ], - [ - 'name' => 'EndTime', + 'name' => 'Status', 'in' => 'query', - 'schema' => [ - 'description' => '查询结束时间。使用时间戳格式,单位:秒。'."\n" - .'> 必须为整点分钟。'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1583683200', - ], + 'schema' => ['description' => '设置近源流量压制的状态。取值:'."\n" + ."\n" + .'- **do**:表示开启近源流量压制。'."\n" + .'- **undo**:表示关闭近源流量压制。', 'type' => 'string', 'required' => true, 'example' => 'do'], ], [ - 'name' => 'Interval', + 'name' => 'Duration', 'in' => 'query', - 'schema' => [ - 'description' => '返回数据的步长,单位为秒,即每隔多少秒返回一个查询结果。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1000', - ], + 'schema' => ['description' => '要封禁的时长。取值范围:**15**~**43200**,单位:分钟。'."\n" + ."\n" + .'> **Status**为**do**(表示开启近源流量压制)时,该参数必选。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '60'], ], [ - 'name' => 'Domain', + 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => '网站业务的域名。'."\n" - ."\n" - .'> 您可以调用[DescribeDomains](~~91724~~)查询所有已接入DDoS高防防护的网站业务的域名。', - 'type' => 'string', - 'required' => false, - 'example' => 'www.example.com', - ], + 'schema' => ['description' => '要操作的DDoS高防(中国内地)实例的ID。'."\n" + ."\n" + .'> 您可以调用[DescribeInstanceIds](~~157459~~)查询所有DDoS高防实例的ID信息。', 'type' => 'string', 'required' => true, 'example' => 'ddoscoo-cn-mp91j1ao****'], ], [ - 'name' => 'QueryType', + 'name' => 'Lines', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => '查询数据的来源。取值:'."\n" - .'- **gf**:表示高防响应数据。'."\n" - .'- **upstream**:表示源站响应数据。', - 'type' => 'string', + 'description' => '要封禁的线路列表。', + 'type' => 'array', + 'items' => ['description' => '要设置的线路。取值:'."\n" + .'- **ct**:表示海外电信线路。'."\n" + .'- **cut**:表示海外联通线路。', 'type' => 'string', 'required' => false, 'example' => 'ct'], 'required' => true, - 'example' => 'upstream', + 'example' => 'ct', + 'maxItems' => 20, ], ], ], @@ -17332,132 +15021,45 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => '3B63C0DD-8AC5-44B2-95D6-064CA9296B9C', - ], - 'StatusCodeList' => [ - 'description' => '响应状态码的统计信息。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Index' => [ - 'description' => '返回数据的索引号。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'Status502' => [ - 'description' => '502状态码的统计值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'Time' => [ - 'description' => '统计时间。时间戳格式,单位:秒。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1582992000', - ], - 'Status405' => [ - 'description' => '405状态码的统计值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'Status3XX' => [ - 'description' => '3XX类状态码的统计值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'Status503' => [ - 'description' => '503状态码的统计值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'Status4XX' => [ - 'description' => '4XX类状态码的统计值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '4486', - ], - 'Status2XX' => [ - 'description' => '2XX类状态码的统计值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '15520', - ], - 'Status5XX' => [ - 'description' => '5XX类状态码的统计值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'Status504' => [ - 'description' => '504状态码的统计值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'Status200' => [ - 'description' => '200状态码的统计值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '15520', - ], - 'Status403' => [ - 'description' => '403状态码的统计值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'Status404' => [ - 'description' => '404状态码的统计值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'Status410' => [ - 'description' => '410状态码的统计值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'Status499' => [ - 'description' => '499状态码的统计值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'Status501' => [ - 'description' => '501状态码的统计值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - ], - ], - ], + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E'], ], ], ], ], - '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' => '查询网站业务的响应状态码统计信息', - ], - 'DescribeDomainOverview' => [ - 'methods' => [ - 'post', - 'get', + 'title' => '设置实例近源流量压制', + 'summary' => '设置DDoS高防(中国内地)实例的近源流量压制。', + 'description' => '> 该接口仅适用于DDoS高防(中国内地)服务。', + 'requestParamsDescription' => '调用API时,除了本文中该API的请求参数,还需加入阿里云API公共请求参数。公共请求参数的详细介绍,请参见[公共参数](~~157269~~)。'."\n" + ."\n" + .'调用API的请求格式,请参见本文**示例**中的请求示例。', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:13.000Z', 'description' => '错误码发生变更'], + ], + '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' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E\\"\\n}","errorExample":""},{"type":"xml","example":"\\n C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E\\n","errorExample":""}]', + ], + 'ModifyCnameReuse' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -17466,60 +15068,33 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeCode' => '106125', - 'abilityTreeNodes' => [ - 'FEATUREddosRTUJBH', - ], + 'operationType' => 'update', + 'abilityTreeCode' => '106229', + 'abilityTreeNodes' => ['FEATUREddosZIK01A'], ], 'parameters' => [ [ 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => 'DDoS高防实例在资源管理服务中所属的资源组ID。默认为空,即属于默认资源组。'."\n" - ."\n" - .'关于资源组的更多信息,请参见[创建资源组](~~94485~~)。', - 'type' => 'string', - 'required' => false, - 'example' => 'rg-acfm2pz25js****', - ], + 'schema' => ['description' => 'DDoS高防实例在资源管理产品中所属的资源组ID。默认为空,即属于默认资源组。', 'type' => 'string', 'required' => false, 'example' => 'default'], ], [ - 'name' => 'StartTime', + 'name' => 'Domain', 'in' => 'query', - 'schema' => [ - 'description' => '查询开始时间。使用时间戳格式,单位:秒。'."\n" - .'> 必须为整点分钟。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1619798400', - ], + 'schema' => ['description' => '网站业务的域名。'."\n" + .'> 域名必须已配置网站业务转发规则。您可以调用[DescribeDomains](~~91724~~)查询所有域名。'."\n", 'type' => 'string', 'required' => true, 'example' => 'www.aliyun.com'], ], [ - 'name' => 'EndTime', + 'name' => 'Cname', 'in' => 'query', - 'schema' => [ - 'description' => '查询结束时间。使用时间戳格式,单位:秒。不设置该参数表示使用当前时间作为查询结束时间。'."\n" - .'> 必须为整点分钟。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1623427200', - ], + 'schema' => ['description' => '要复用的CNAME值。', 'type' => 'string', 'required' => false, 'example' => '4o6ep6q217k9****.aliyunddos0004.com'], ], [ - 'name' => 'Domain', + 'name' => 'Enable', 'in' => 'query', - 'schema' => [ - 'description' => '要查询的网站业务的域名。不设置该参数表示查询所有域名的数据。'."\n" - ."\n" - .'> 域名必须已接入DDoS高防进行防护。您可以调用[DescribeDomains](~~91724~~)查询所有已接入DDoS高防的域名。', - 'type' => 'string', - 'required' => false, - 'example' => 'example.aliyundoc.com', - ], + 'schema' => ['description' => '是否开启CNAME复用。取值:'."\n" + .'- **0**:关闭'."\n" + .'- **1**:开启', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1'], ], ], 'responses' => [ @@ -17527,46 +15102,44 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。', - 'type' => 'string', - 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E', - ], - 'MaxHttp' => [ - 'description' => 'HTTP清洗峰值,单位:qps。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '41652', - ], - 'MaxHttps' => [ - 'description' => 'HTTPS清洗峰值,单位:qps。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc'], ], ], ], ], - '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' => '查询网站业务攻击总览', - 'summary' => '查询网站业务攻击总览,包括HTTP攻击峰值、HTTPS攻击峰值。', - 'requestParamsDescription' => '调用API时,除了本文中该API的请求参数,还需加入阿里云API公共请求参数。公共请求参数的详细介绍,请参见[公共参数](~~157269~~)。'."\n" - ."\n" - .'调用API的请求格式,请参见本文**示例**中的请求示例。', + 'title' => '为网站业务开启或关闭CNAME复用', + 'summary' => '为网站业务开启或关闭CNAME复用。', + 'description' => '> 该接口仅适用于DDoS高防(非中国内地)服务。', + 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeDomainStatusCodeCount' => [ - 'summary' => '查询指定时间段内网站业务的各类响应状态码的统计信息。', - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:13.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyCnameReuse'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:ModifyCnameReuse', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + '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":""}]', + ], + 'ModifyDomainResource' => [ + 'summary' => '修改已创建的网站业务转发规则。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -17575,59 +15148,116 @@ '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' => 'DDoS高防实例在资源管理服务中所属的资源组ID。默认为空,即属于默认资源组。'."\n" - ."\n" - .'关于资源组的更多信息,请参见[创建资源组](~~94485~~)。', - 'type' => 'string', - 'required' => false, - 'example' => 'rg-acfm2pz25js****', - ], + 'schema' => ['description' => '已接入DDoS高防防护的网站业务的域名。', 'type' => 'string', 'required' => true, 'example' => 'www.example.com'], ], [ - 'name' => 'StartTime', + 'name' => 'RsType', 'in' => 'query', 'schema' => [ - 'description' => '查询开始时间。使用时间戳格式,单位:秒。'."\n" - .'> 必须为整点分钟。', + 'description' => '源站服务器的地址类型。取值:'."\n" + ."\n" + .'- **0**:表示设置源站服务器的IP地址。'."\n" + .'- **1**:表示设置源站服务器的域名地址。'."\n" + ."\n" + .' 适用于源站和DDoS高防之间还部署有其他代理服务(例如WAF)的场景,具体指代理服务的跳转地址(例如WAF的CNAME地址)。', 'type' => 'integer', - 'format' => 'int64', + 'format' => 'int32', 'required' => true, - 'example' => '1582992000', + 'example' => '0', + 'enum' => ['0', '1'], ], ], [ - 'name' => 'EndTime', + 'name' => 'HttpsExt', 'in' => 'query', + 'schema' => ['description' => 'HTTPS高级设置,仅在网站协议类型支持HTTPS(**ProxyType**包含**https**)时生效。使用JSON结构体转化的字符串格式表示,JSON结构体包含以下字段:'."\n" + ."\n" + .'- **Http2https**:Integer类型 | 可选 | 是否开启HTTPS的强制跳转功能,取值:**0**(表示关闭) | **1**(表示开启),默认关闭。'."\n" + ."\n" + .' 适用于您的网站同时支持HTTP和HTTPS协议。开启该设置后,所有HTTP请求将强制转换为HTTPS请求,且默认跳转到443端口。'."\n" + ."\n" + .'- **Https2http**:Integer类型 | 可选 | 是否开启HTTP回源功能,取值:**0**(表示关闭) | **1**(表示开启),默认关闭。'."\n" + ."\n" + .' 适用于您的网站不支持HTTPS回源。开启该设置后,所有HTTPS协议请求将通过HTTP回源(Websockets协议会通过Websocket回源),且默认回源端口为80。'."\n" + ."\n" + .'- **Http2**:Integer类型 | 可选 | 是否开启HTTP 2.0协议支持,取值:**0**(表示关闭) | **1**(表示开启),默认关闭。'."\n" + ."\n" + .' 开启该设置后,协议版本为HTTP 2.0。', 'type' => 'string', 'required' => false, 'example' => '{"Http2":1,"Http2https":1,"Https2http":1}'], + ], + [ + 'name' => 'ProxyTypes', + 'in' => 'query', + 'style' => 'flat', 'schema' => [ - 'description' => '查询结束时间。使用时间戳格式,单位:秒。'."\n" - .'> 必须为整点分钟。', - 'type' => 'integer', - 'format' => 'int64', + 'description' => '网站的协议及端口配置。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'ProxyPorts' => [ + 'description' => '网站对外服务使用的端口列表。', + 'type' => 'array', + 'items' => ['description' => '网站对外服务使用的端口。'."\n" + ."\n" + .'> 此处设置的端口必须在DDoS高防支持的端口范围内。更多信息,请参见[自定义非标端口](~~127433~~)。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '443'], + 'required' => true, + 'maxItems' => 10, + ], + 'ProxyType' => [ + 'description' => '网站对外服务使用的协议类型。取值:'."\n" + ."\n" + .'- **http**:表示HTTP协议。'."\n" + .'- **https**:表示HTTPS协议。'."\n" + .'- **websocket**:表示WebSocket协议。'."\n" + .'- **websockets**:表示WebSockets协议。'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'https', + 'enum' => ['http', 'https', 'websocket', 'websockets'], + ], + ], + 'required' => false, + 'description' => '', + ], 'required' => true, - 'example' => '1583683200', ], ], [ - 'name' => 'Domain', + 'name' => 'RealServers', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => '要查询的网站业务的域名。不设置该参数表示查询所有域名的数据。'."\n" + 'description' => '源站服务器地址列表。', + 'type' => 'array', + 'items' => ['description' => '源站服务器地址。'."\n" ."\n" - .'> 域名必须已接入DDoS高防进行防护。您可以调用[DescribeDomains](~~91724~~)查询所有已接入DDoS高防的域名。', - 'type' => 'string', - 'required' => false, - 'example' => 'www.aliyun.com', + .'如果**RsType**为**0**,该参数使用IP地址格式;如果**RsType**为**1**,该参数使用域名格式。更多信息,请参见**RsType**参数的说明。', 'type' => 'string', 'required' => false, 'example' => '1.XX.XX.1'], + 'required' => true, + 'maxItems' => 20, + ], + ], + [ + 'name' => 'InstanceIds', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'description' => '要关联的DDoS高防实例的ID列表。', + 'type' => 'array', + 'items' => ['description' => '要关联的DDoS高防实例的ID。不设置该参数表示只添加网站域名,不关联高防实例。'."\n" + ."\n" + .'> 您可以调用[DescribeInstanceIds](~~157459~~)查询所有DDoS高防实例的ID。', 'type' => 'string', 'required' => false, 'example' => 'ddoscoo-cn-mp91j1ao****'], + 'required' => true, + 'maxItems' => 20, ], ], ], @@ -17636,116 +15266,40 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Status502' => [ - 'description' => '查询时间段内502状态码的数量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'Status405' => [ - 'description' => '查询时间段内405状态码的数量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'Status3XX' => [ - 'description' => '查询时间段内3XX状态码的数量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '133209', - ], - 'Status503' => [ - 'description' => '查询时间段内503状态码的数量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'Status4XX' => [ - 'description' => '查询时间段内4XX状态码的数量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '5653', - ], - 'Status2XX' => [ - 'description' => '查询时间段内2XX类状态码的数量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '951472', - ], - 'Status5XX' => [ - 'description' => '查询时间段内5XX状态码的数量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '14', - ], - 'Status504' => [ - 'description' => '查询时间段内504状态码的数量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E', - ], - 'Status200' => [ - 'description' => '查询时间段内200状态码的数量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '951159', - ], - 'Status403' => [ - 'description' => '查询时间段内403状态码的数量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'Status404' => [ - 'description' => '查询时间段内404状态码的数量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '897', - ], - 'Status410' => [ - 'description' => '查询时间段内410状态码的数量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'Status499' => [ - 'description' => '查询时间段内499状态码的数量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'Status501' => [ - 'description' => '查询时间段内501状态码的数量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => '39499F01-19D9-4EA4-A0E9-C6014BA5CDBE'], ], + 'description' => '', ], ], ], - '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' => '查询各类响应状态码统计信息', - 'requestParamsDescription' => '调用API时,除了本文中该API的请求参数,还需加入阿里云API公共请求参数。公共请求参数的详细介绍,请参见[公共参数](~~157269~~)。'."\n" - ."\n" - .'调用API的请求格式,请参见本文**示例**中的请求示例。', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'DescribeDomainTopAttackList' => [ - 'methods' => [ - 'post', - 'get', + 'title' => '修改已创建的网站业务转发规则', + 'changeSet' => [ + ['createdAt' => '2023-05-26T07:22:44.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2022-09-08T03:34:13.000Z', 'description' => '错误码发生变更'], + ], + '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' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"39499F01-19D9-4EA4-A0E9-C6014BA5CDBE\\"\\n}","type":"json"}]', + ], + 'ModifyElasticBandWidth' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -17754,60 +15308,22 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeCode' => '106135', - 'abilityTreeNodes' => [ - 'FEATUREddosRTUJBH', - ], + 'operationType' => 'update', + 'abilityTreeCode' => '106239', + 'abilityTreeNodes' => ['FEATUREddosOZ1QOD'], ], 'parameters' => [ [ - 'name' => 'ResourceGroupId', - 'in' => 'query', - 'schema' => [ - 'description' => 'DDoS高防实例在资源管理产品中所属的资源组ID。默认为空,即属于默认资源组。', - 'type' => 'string', - 'required' => false, - 'example' => 'default', - ], - ], - [ - 'name' => 'StartTime', - 'in' => 'query', - 'schema' => [ - 'description' => '查询开始时间。时间戳格式,单位:秒。'."\n" - .'> 必须为整点分钟。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1582992000', - ], - ], - [ - 'name' => 'EndTime', + 'name' => 'ElasticBandwidth', 'in' => 'query', - 'schema' => [ - 'description' => '查询结束时间。时间戳格式,单位:秒。'."\n" - .'> 必须为整点分钟。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1583683200', - ], + 'schema' => ['description' => '要设置的弹性防护带宽,单位:Gbps。'."\n" + .'> 您可以调用[DescribeElasticBandwidthSpec](~~91502~~)查询可选的弹性防护带宽规格。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '50'], ], [ - 'name' => 'Interval', + 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => '查询数据的时间粒度,单位:秒。'."\n" - .'- 支持300、3600、14400、28800和86400。'."\n" - .'- 不传和传的值不支持时,使用默认值3600秒。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '3600', - 'default' => '3600', - ], + 'schema' => ['description' => 'DDoS高防实例的ID。'."\n" + .'> 实例必须处于正常状态。您可以调用[DescribeInstanceIds](~~157459~~)查询所有DDoS高防实例的ID信息。', 'type' => 'string', 'required' => true, 'example' => 'ddoscoo-cn-mp91j1ao****'], ], ], 'responses' => [ @@ -17815,118 +15331,78 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E', - ], - 'AttackList' => [ - 'description' => '网站业务的QPS峰值数据。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Attack' => [ - 'description' => '攻击QPS。单位:qps。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'Domain' => [ - 'description' => '网站域名。', - 'type' => 'string', - 'example' => 'www.aliyun.com', - ], - 'Count' => [ - 'description' => '全部QPS,包含正常业务请求和攻击。单位:qps。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '294', - ], - ], - ], - ], + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc'], ], ], ], ], - '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' => '查询网站业务QPS峰值数据', - 'summary' => '查询指定时间段内网站业务的QPS峰值数据,包括攻击QPS、总QPS。', - 'requestParamsDescription' => '调用API时,除了本文中该API的请求参数,还需加入阿里云API公共请求参数。公共请求参数的详细介绍,请参见[公共参数](~~157269~~)。'."\n" - ."\n" - .'调用API的请求格式,请参见本文**示例**中的请求示例。', + 'title' => '修改指定实例的弹性防护带宽', + 'summary' => '修改DDoS高防(中国内地)实例的弹性防护带宽。', + 'description' => '> 该接口仅适用于DDoS高防(中国内地)服务。', + 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeDomainViewSourceCountries' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:13.000Z', 'description' => '错误码发生变更'], + ], + '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' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + '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":""}]', + ], + 'ModifyElasticBizQps' => [ + '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', - 'in' => 'query', - 'schema' => [ - 'description' => 'DDoS高防实例在资源管理产品中所属的资源组ID。默认为空,即属于默认资源组。'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'default', - ], - ], - [ - 'name' => 'StartTime', + 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => '查询开始时间。时间戳格式,单位:秒。'."\n" - .'> 必须为整点分钟。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1582992000', - ], + 'schema' => ['description' => 'DDoS高防实例的ID。'."\n" + .'> 您可以调用[DescribeInstanceIds](~~157459~~)查询所有DDoS高防实例的ID信息。', 'type' => 'string', 'required' => true, 'example' => 'ddoscoo-cn-mp91j1ao****'], ], [ - 'name' => 'EndTime', + 'name' => 'Mode', 'in' => 'query', - 'schema' => [ - 'description' => '查询结束时间。时间戳格式,单位:秒。'."\n" - .'> 必须为整点分钟。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1583683200', - ], + 'schema' => ['description' => '弹性QPS的计费模式。取值:'."\n" + .'- **month**:月95模式'."\n" + .'- **day**:日95模式', 'type' => 'string', 'required' => true, 'example' => 'month'], ], [ - 'name' => 'Domain', + 'name' => 'OpsElasticQps', 'in' => 'query', - 'schema' => [ - 'description' => '网站业务的域名。'."\n" - .'> 域名必须已配置网站业务转发规则。您可以调用[DescribeDomains](~~91724~~)查询所有域名。'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'www.aliyun.com', - ], + 'schema' => ['description' => '弹性QPS值。开启后弹性QPS默认为保底QPS的三倍,但不能超过弹性QPS最大值:'."\n" + .'- **DDoS高防(中国内地)IPv4实例**:最大为300,000 QPS 。'."\n" + .'- **DDoS高防(中国内地)IPv6实例**:最大为100,000 QPS 。'."\n" + .'- **DDoS高防(非中国内地)实例**:最大为150,000 QPS 。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '300000'], ], ], 'responses' => [ @@ -17934,53 +15410,40 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E', - ], - 'SourceCountrys' => [ - 'description' => '网站业务的请求来源国家信息。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Count' => [ - 'description' => '请求数量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '3390671', - ], - 'CountryId' => [ - 'description' => '国家简称。详见[中国和海外地区代码](~~167926~~)中的**海外地区代码**说明。例如,**cn**表示中国,**us**表示美国。', - 'type' => 'string', - 'example' => 'cn', - ], - ], - ], - ], + 'RequestId' => ['description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。', 'type' => 'string', 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc'], ], + 'description' => '', ], ], ], - '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' => '查询网站业务的请求来源国家分布', - 'summary' => '查询指定时间段内网站业务的请求来源国家分布。', - 'requestParamsDescription' => '调用API时,除了本文中该API的请求参数,还需加入阿里云API公共请求参数。公共请求参数的详细介绍,请参见[公共参数](~~157269~~)。'."\n" - ."\n" - .'调用API的请求格式,请参见本文**示例**中的请求示例。', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'DescribeDomainViewSourceProvinces' => [ - 'methods' => [ - 'post', - 'get', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '修改指定实例的弹性QPS', + 'summary' => '设置DDoS高防实例的弹性QPS和模式。', + 'description' => '支持IPV4和IPV6实例开启弹性QPS。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyElasticBizQps'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:ModifyElasticBizQps', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc\\"\\n}","type":"json"}]', + ], + 'ModifyFullLogTtl' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -17989,111 +15452,64 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeCode' => '106137', - 'abilityTreeNodes' => [ - 'FEATUREddosRTUJBH', - ], + 'operationType' => 'update', + 'abilityTreeCode' => '106241', + 'abilityTreeNodes' => ['FEATUREddosVFFSV8'], ], 'parameters' => [ [ - 'name' => 'ResourceGroupId', + 'name' => 'Ttl', 'in' => 'query', - 'schema' => [ - 'description' => 'DDoS高防实例在资源管理产品中所属的资源组ID。默认为空,即属于默认资源组。', - 'type' => 'string', - 'required' => false, - 'example' => 'default', - ], + 'schema' => ['description' => 'DDoS高防网站业务日志的存储时长。取值范围:**7**~**180**,单位:天。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '30'], ], [ - 'name' => 'StartTime', + 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => '查询开始时间。时间戳格式,单位:秒。'."\n" - .'> 必须为整点分钟。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1582992000', - ], + 'schema' => ['description' => 'DDoS高防实例在资源管理产品中所属的资源组ID。默认为空,即属于默认资源组。', 'type' => 'string', 'required' => false, 'example' => 'default'], ], - [ - 'name' => 'EndTime', - 'in' => 'query', + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '查询结束时间。时间戳格式,单位:秒。'."\n" - .'> 必须为整点分钟。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1583683200', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。', 'type' => 'string', 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc'], + ], ], ], - [ - 'name' => 'Domain', - 'in' => 'query', - 'schema' => [ - 'description' => '网站业务的域名。'."\n" - .'> 域名必须已配置网站业务转发规则。您可以调用[DescribeDomains](~~91724~~)查询所有域名。', - 'type' => 'string', - 'required' => false, - 'example' => 'www.aliyun.com', - ], + ], + 'title' => '修改日志存储时长', + 'summary' => '编辑DDoS高防全量日志的存储时长。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:13.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyFullLogTtl'], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E', - ], - 'SourceProvinces' => [ - 'description' => '网站业务的请求来源(中国)省份信息。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'ProvinceId' => [ - 'description' => '省份ID。详见[中国和海外地区代码](~~167926~~)中的**中国地区代码**说明。例如,**110000**表示北京市,**120000**表示天津市。'."\n", - 'type' => 'string', - 'example' => '440000', - ], - 'Count' => [ - 'description' => '请求数量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '3390671', - ], - ], - ], - ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:ModifyFullLogTtl', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], - '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' => '查询网站业务的请求来源省份分布', - 'summary' => '查询指定时间段内网站业务的请求来源(中国)省份分布。', - 'requestParamsDescription' => '调用API时,除了本文中该API的请求参数,还需加入阿里云API公共请求参数。公共请求参数的详细介绍,请参见[公共参数](~~157269~~)。'."\n" - ."\n" - .'调用API的请求格式,请参见本文**示例**中的请求示例。', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', + '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":""}]', ], - 'DescribeDomainViewTopCostTime' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ModifyHeaders' => [ + 'summary' => '修改DDoS高防实例中已创建的域名自定义Header。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -18102,129 +15518,106 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeCode' => '106138', - 'abilityTreeNodes' => [ - 'FEATUREddosRTUJBH', - ], + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '106247', + 'abilityTreeNodes' => ['FEATUREddosCT2Z4D'], ], 'parameters' => [ [ 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => 'DDoS高防实例在资源管理产品中所属的资源组ID。默认为空,即属于默认资源组。', - 'type' => 'string', - 'required' => false, - 'example' => 'default', - ], - ], - [ - 'name' => 'StartTime', - 'in' => 'query', - 'schema' => [ - 'description' => '查询开始时间。时间戳格式,单位:秒。'."\n" - .'> 必须为整点分钟。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1582992000', - ], + 'schema' => ['description' => '目标资源组ID。'."\n" + .'> * 您可以通过调用[ListResourceGroups](~~158855~~)接口或通过控制台获取资源组ID列表。相关操作,请参见[查看资源组基本信息](~~151181~~)。'."\n" + .'* 修改实例所属的资源组之前,您可以调用[ListResources](~~158866~~)接口查看实例现在所属的资源组。', 'type' => 'string', 'required' => false, 'example' => 'rg-acfmz6jbof5****'."\n"], ], [ - 'name' => 'EndTime', + 'name' => 'Domain', 'in' => 'query', - 'schema' => [ - 'description' => '查询结束时间。时间戳格式,单位:秒。'."\n" - .'> 必须为整点分钟。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1583683200', - ], + 'schema' => ['description' => '网站业务的域名。'."\n" + .'> 域名必须已配置网站业务转发规则。您可以调用[DescribeDomains](~~91724~~)查询所有域名。', 'type' => 'string', 'required' => true, 'example' => 'example.aliyundoc.com'], ], [ - 'name' => 'Domain', + 'name' => 'CustomHeaders', 'in' => 'query', - 'schema' => [ - 'description' => '网站业务的域名。'."\n" - .'> 域名必须已配置网站业务转发规则。您可以调用[DescribeDomains](~~91724~~)查询所有域名。', - 'type' => 'string', - 'required' => false, - 'example' => 'www.aliyun.com', - ], + 'schema' => ['description' => '自定义header的键值对。 Key为Header名称,Value为对应的值,Key和Value最最多设置5对,总长度最多为200字符。'."\n" + ."\n" + .'注意事项: '."\n" + ."\n" + .'- 请不要使用以下默认字段作为自定义Header。'."\n" + .' - X-Forwarded-ClientSrcPort:默认被用于获取访问高防七层引擎的客户端端口。'."\n" + .' - X-Forwarded-ProxyPort:默认被用于获取访问高防七层引擎的监听端口。'."\n" + .' - X-Forwarded-For:默认被用于获取访问高防七层引擎的客户端IP。'."\n" + .'- 请不要使用标准HTTP头部字段(例如,host、user-agent、connection、upgrade等)或一些被广泛使用的自定义HTTP头部字段(x-real-ip、x-true-ip、x-client-ip、web-server-type、wl-proxy-client-ip、eagleeye-rpcid、eagleeye-traceid、x-forwarded-cluster、x-forwarded-proto等),否则会导致请求原始头部字段的内容被改写。'."\n" + ."\n" + .'>如果您将Key设置为X-Forwarded-ClientSrcPort,表示获取访问高防七层引擎的客户端端口,此时Value值为""。', 'type' => 'string', 'required' => true, 'example' => '{"X-Forwarded-ClientSrcPort":""}'], ], [ - 'name' => 'Top', + 'name' => 'EmbeddedHeaders', 'in' => 'query', - 'schema' => [ - 'description' => '返回URL的数量。取值范围:**1**~**100**。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'maximum' => '100', - 'minimum' => '1', - 'example' => '5', - ], + 'schema' => ['title' => '请求头字段转发配置', 'description' => '请求头字段转发配置。Key 为请求头字段名称,Value 为布尔值(`true`表示启用,`false`表示禁用)。'."\n" + ."\n" + .'字段说明:'."\n" + ."\n" + .'插入`X-Client-IP`获取真实 IP:用于传递客户端真实原始的 IP 地址。'."\n" + ."\n" + .'插入`X-True-IP`获取建连 IP:用于传递客户端建立连接的 IP 地址。'."\n" + ."\n" + .'插入`Web-Server-Type`获取服务类型:通常由第一个代理添加,用于告知后端服务器处理当前请求的前端 Web 服务器或代理类型。'."\n" + ."\n" + .'插入`WL-Proxy-Client-IP`获取建连 IP:功能与` X-Client-IP `相同,为 Oracle WebLogic Server 特有的请求头。'."\n" + ."\n" + .'插入`X-Forwarded-Proto`获取监听协议:客户端与第一个代理之间建立连接所使用的协议。'."\n" + ."\n" + .'注意事项:'."\n" + ."\n" + .'* **白名单机制**:请求头字段转发配置仅支持上述 5 个预设字段。'."\n" + ."\n" + .'* **默认设置**:上述请求头字段均默认启用,如需变更,请显式修改对应值为`false`。', 'type' => 'string', 'required' => false, 'example' => '{"X-Client-IP":true,"X-True-IP":true,"Web-Server-Type":true,"WL-Proxy-Client-IP":true,"X-Forwarded-Proto":true}'], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'description' => '返回参数。', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E', - ], - 'UrlList' => [ - 'description' => '请求耗时TOP URL列表。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'CostTime' => [ - 'description' => '请求延时时长。单位:毫秒。', - 'type' => 'number', - 'format' => 'float', - 'example' => '3000', - ], - 'Url' => [ - 'description' => 'URL。使用BASE64加密表示。', - 'type' => 'string', - 'example' => 'Lw==', - ], - 'Domain' => [ - 'description' => '网站域名。', - 'type' => 'string', - 'example' => 'www.aliyun.com', - ], - ], - ], - ], + 'RequestId' => ['description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题', 'type' => 'string', 'example' => 'DC38A1D3-C042-5670-8394-8F6B1FA97B5E'], ], ], ], ], - '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' => '查询网站业务的请求耗时最大的前N个URL', - 'summary' => '查询指定时间段内网站业务的请求耗时最大的前N个URL。', - 'requestParamsDescription' => '调用API时,除了本文中该API的请求参数,还需加入阿里云API公共请求参数。公共请求参数的详细介绍,请参见[公共参数](~~157269~~)。'."\n" - ."\n" - .'调用API的请求格式,请参见本文**示例**中的请求示例。', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'DescribeDomainViewTopUrl' => [ - 'methods' => [ - 'post', - 'get', + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'InvalidEmbeddedHeaders', 'errorMessage' => 'EmbeddedHeaders parameter is invalid.', 'description' => '传入的EmbeddedHeaders参数非法。'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"DC38A1D3-C042-5670-8394-8F6B1FA97B5E\\"\\n}","type":"json"}]', + 'title' => '修改自定义header', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ModifyHeaders'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:ModifyHeaders', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'ModifyHealthCheckConfig' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -18233,79 +15626,48 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeCode' => '106139', - 'abilityTreeNodes' => [ - 'FEATUREddosRTUJBH', - ], + 'operationType' => 'update', + 'abilityTreeCode' => '106248', + 'abilityTreeNodes' => ['FEATUREddosN7DYCX'], ], 'parameters' => [ [ - 'name' => 'ResourceGroupId', - 'in' => 'query', - 'schema' => [ - 'description' => 'DDoS高防实例在资源管理产品中所属的资源组ID。默认为空,即属于默认资源组。', - 'type' => 'string', - 'required' => false, - 'example' => 'default', - ], - ], - [ - 'name' => 'StartTime', - 'in' => 'query', - 'schema' => [ - 'description' => '查询开始时间。时间戳格式,单位:秒。'."\n" - .'> 必须为整点分钟。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1582992000', - ], - ], - [ - 'name' => 'EndTime', + 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => '查询结束时间。时间戳格式,单位:秒。'."\n" - .'> 必须为整点分钟。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1583683200', - ], + 'schema' => ['description' => 'DDoS高防实例的ID。'."\n" + .'> 您可以调用[DescribeInstanceIds](~~157459~~)查询所有DDoS高防实例的ID信息。', 'type' => 'string', 'required' => true, 'example' => 'ddoscoo-cn-mp91j1ao****'], ], [ - 'name' => 'Domain', + 'name' => 'ForwardProtocol', 'in' => 'query', - 'schema' => [ - 'description' => '网站业务的域名。'."\n" - .'> 域名必须已配置网站业务转发规则。您可以调用[DescribeDomains](~~91724~~)查询所有域名。', - 'type' => 'string', - 'required' => false, - 'example' => 'www.aliyun.com', - ], + 'schema' => ['description' => '转发协议。取值:'."\n" + .'- **tcp**'."\n" + .'- **udp**', 'type' => 'string', 'required' => true, 'example' => 'tcp'], ], [ - 'name' => 'Top', + 'name' => 'FrontendPort', 'in' => 'query', - 'schema' => [ - 'description' => '返回URL的数量。取值范围:**1**~**100**。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'maximum' => '100', - 'minimum' => '1', - 'example' => '5', - ], + 'schema' => ['description' => '转发端口。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '8080'], ], [ - 'name' => 'Inerval', + 'name' => 'HealthCheck', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'default' => '3600', - ], + 'schema' => ['description' => '健康检查配置的详细信息,使用JSON格式的字符串表述,具体结构如下。'."\n" + ."\n" + .'- **Type**:String类型,必选,协议类型。取值:**tcp**(四层)、**http**(七层)。'."\n" + .'- **Domain**:String类型,可选,域名。'."\n" + ."\n" + .' > 仅适用于七层健康检查。'."\n" + ."\n" + .'- **Uri**:String类型,可选,检查路径。'."\n" + ."\n" + .' > 仅适用于七层健康检查。'."\n" + ."\n" + .'- **Timeout**:Integer类型,可选,响应超时时间。取值范围:**1**~**30**,单位:秒。'."\n" + .'- **Port**:Integer类型,可选,检查端口。'."\n" + .'- **Interval**:Integer类型,可选,检查间隔。取值范围:**1**~**30**,单位:秒。'."\n" + .'- **Up**:Integer类型,可选,健康阈值。取值范围:**1**~**10**。'."\n" + .'- **Down**:Integer类型,可选,不健康阈值。取值范围:**1**~**10**。'."\n", 'type' => 'string', 'required' => true, 'example' => '{"Type":"tcp","Timeout":10,"Port":8080,"Interval":10,"Up":10,"Down":40}'], ], ], 'responses' => [ @@ -18313,58 +15675,42 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E', - ], - 'UrlList' => [ - 'description' => '网站业务的访问量TOP URL列表。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Url' => [ - 'description' => 'URL。使用BASE64加密表示。', - 'type' => 'string', - 'example' => 'Lw==', - ], - 'Domain' => [ - 'description' => '网站域名。', - 'type' => 'string', - 'example' => 'www.aliyun.com', - ], - 'Count' => [ - 'description' => '请求数量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '3390671', - ], - ], - ], - ], + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc'], ], ], ], ], - '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' => '查询网站业务访问量最大的前N个URL', - 'summary' => '查询指定时间段内网站业务访问量最大的前N个URL。', - 'requestParamsDescription' => '调用API时,除了本文中该API的请求参数,还需加入阿里云API公共请求参数。公共请求参数的详细介绍,请参见[公共参数](~~157269~~)。'."\n" - ."\n" - .'调用API的请求格式,请参见本文**示例**中的请求示例。', + 'title' => '编辑健康检查配置', + 'summary' => '编辑端口转发规则的健康检查配置(四层或七层)。', + 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'EnableWebAccessLogConfig' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:13.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyHealthCheckConfig'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:ModifyHealthCheckConfig', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + '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":""}]', + ], + 'ModifyHttp2Enable' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -18374,32 +15720,27 @@ 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', - 'abilityTreeCode' => '106221', - 'abilityTreeNodes' => [ - 'FEATUREddosI8LHMA', - ], + 'abilityTreeCode' => '106249', + 'abilityTreeNodes' => ['FEATUREddosN7DYCX'], ], 'parameters' => [ [ 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => 'DDoS高防实例在资源管理产品中所属的资源组ID。默认为空,即属于默认资源组。', - 'type' => 'string', - 'required' => false, - 'example' => 'default', - ], + 'schema' => ['description' => 'DDoS高防实例在资源管理产品中所属的资源组ID。默认为空,即属于默认资源组。', 'type' => 'string', 'required' => false, 'example' => 'default'], ], [ 'name' => 'Domain', 'in' => 'query', - 'schema' => [ - 'description' => '网站业务的域名。'."\n" - .'> 域名必须已配置网站业务转发规则。您可以调用[DescribeDomains](~~474212~~)查询所有域名。', - 'type' => 'string', - 'required' => true, - 'example' => 'www.aliyun.com', - ], + 'schema' => ['description' => '网站业务的域名。'."\n" + .'> 域名必须已配置网站业务转发规则且关联了增强功能套餐的DDoS高防实例。您可以调用[DescribeDomains](~~91724~~)查询所有域名。', 'type' => 'string', 'required' => true, 'example' => 'www.aliyun.com'], + ], + [ + 'name' => 'Enable', + 'in' => 'query', + 'schema' => ['description' => 'HTTP2.0的开关状态。取值:'."\n" + .'- **0**:关闭'."\n" + .'- **1**:开启', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1'], ], ], 'responses' => [ @@ -18407,98 +15748,200 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80', - ], + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E'], ], ], ], ], - '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' => '为网站业务开启全量日志分析', - 'summary' => '为网站业务开启全量日志分析。', + 'title' => '设置网站业务转发规则的HTTP2.0开关状态', + 'summary' => '设置网站业务转发规则的HTTP2.0开关状态。', + 'description' => '> 该接口仅适用于DDoS高防(中国内地)服务。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'ModifyFullLogTtl' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:13.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ModifyHttp2Enable'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:ModifyHttp2Enable', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + '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":""}]', + ], + 'ModifyInstance' => [ + 'summary' => 'DDoS高防实例规格变配。', + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', - 'abilityTreeCode' => '106241', - 'abilityTreeNodes' => [ - 'FEATUREddosVFFSV8', - ], + 'chargeType' => 'paid', + 'abilityTreeCode' => '262914', + 'abilityTreeNodes' => ['FEATUREddosI8LHMA'], + 'autoTest' => true, ], 'parameters' => [ [ - 'name' => 'Ttl', + 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'DDoS高防网站业务日志的存储时长。取值范围:**7**~**180**,单位:天。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '30', - ], + 'schema' => ['description' => 'DDoS高防实例的ID。'."\n" + .'> 您可以调用[DescribeInstanceIds](~~157459~~)查询所有DDoS高防实例的ID信息。', 'type' => 'string', 'required' => true, 'example' => 'ddoscoo-cn-6ja1y6p5****'."\n"], ], [ - 'name' => 'ResourceGroupId', + 'name' => 'ModifyType', 'in' => 'query', 'schema' => [ - 'description' => 'DDoS高防实例在资源管理产品中所属的资源组ID。默认为空,即属于默认资源组。', + 'description' => '变配类型,取值'."\n" + .'- UPGRADE:升级。'."\n" + .'- DOWNGRADE:降级。', 'type' => 'string', - 'required' => false, - 'example' => 'default', + 'required' => true, + 'example' => 'Upgrade', + 'enum' => ['UPGRADE', 'DOWNGRADE'], ], ], + [ + 'name' => 'NormalBandwidth', + 'in' => 'query', + 'schema' => ['description' => '业务带宽(非中国内地)。单位:Mbps。', 'type' => 'string', 'required' => false, 'example' => '200'], + ], + [ + 'name' => 'ServiceBandwidth', + 'in' => 'query', + 'schema' => ['description' => '业务带宽(中国内地)。单位:Mbps。', 'type' => 'string', 'required' => false, 'example' => '300'], + ], + [ + 'name' => 'BaseBandwidth', + 'in' => 'query', + 'schema' => ['description' => '保底防护带宽(中国内地)。单位:Gbps。', 'type' => 'string', 'required' => false, 'example' => '30'], + ], + [ + 'name' => 'PortCount', + 'in' => 'query', + 'schema' => ['description' => '防护端口数。', 'type' => 'string', 'required' => false, 'example' => '50'], + ], + [ + 'name' => 'Bandwidth', + 'in' => 'query', + 'schema' => ['description' => '弹性防护带宽(中国内地)。单位:Gbps。', 'type' => 'string', 'required' => false, 'example' => '30'], + ], + [ + 'name' => 'DomainCount', + 'in' => 'query', + 'schema' => ['description' => '防护域名数。', 'type' => 'string', 'required' => false, 'example' => '50'], + ], + [ + 'name' => 'NormalQps', + 'in' => 'query', + 'schema' => ['description' => '业务QPS。单位:Mbps。', 'type' => 'string', 'required' => false, 'example' => '100'], + ], + [ + 'name' => 'ProductType', + 'in' => 'query', + 'schema' => ['description' => '产品类型。'."\n" + .'取值:'."\n" + ."\n" + .'- **ddoscoo**:表示中国站账号为DDoS高防(中国内地)实例变配。'."\n" + .'- **ddoscoo_intl**:表示国际站账号为DDoS高防(中国内地)实例变配。'."\n" + .'- **ddosDip**:表示中国站账号或国际站账号为DDoS高防(非中国内地)实例变配。', 'type' => 'string', 'required' => true, 'example' => 'ddoscoo'], + ], + [ + 'name' => 'AddressType', + 'in' => 'query', + 'schema' => ['description' => '地址类型。取值:'."\n" + .'- **Ipv4**:IPv4。'."\n" + .'- **Ipv6**:IPv6。', 'type' => 'string', 'required' => false, 'example' => 'Ipv4'], + ], + [ + 'name' => 'ProductPlan', + 'in' => 'query', + 'schema' => ['description' => '防护套餐(非中国内地)。取值:'."\n" + ."\n" + .'- **0**:表示DDoS高防(非中国内地)保险版。'."\n" + .'- **1**:表示DDoS高防(非中国内地)无忧版。'."\n" + .'- **2**:表示DDoS高防(非中国内地)加速线路。'."\n" + .'- **3**:表示DDoS高防(非中国内地)安全加速线路。', 'type' => 'string', 'required' => false, 'example' => '0'], + ], + [ + 'name' => 'EditionSale', + 'in' => 'query', + 'schema' => ['description' => '防护套餐(中国内地)。取值:'."\n" + ."\n" + .'- **coop**:表示DDoS高防(中国内地)专业版。'."\n" + .'- **advance**:表示DDoS高防(中国内地)专业版。', 'type' => 'string', 'required' => false, 'example' => 'coop'], + ], + [ + 'name' => 'ServicePartner', + 'in' => 'query', + 'schema' => ['description' => '实例的线路资源(中国内地)。取值:'."\n" + ."\n" + .'- **coop-line-001**:表示DDoS高防(中国内地)八线BGP线路。', 'type' => 'string', 'required' => false, 'example' => 'coop-line-001'], + ], + [ + 'name' => 'FunctionVersion', + 'in' => 'query', + 'schema' => ['description' => '功能版本,取值:'."\n" + ."\n" + .'- **0**:标准功能。'."\n" + .'- **1**:增强功能。', 'type' => 'string', 'required' => false, 'example' => '0'], + ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。', - 'type' => 'string', - 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc', - ], + 'RequestId' => ['description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。', 'type' => 'string', 'example' => '0018DF77-7189-5D33-947B-E5B34BFCE07E'], + 'OrderId' => ['description' => '订单ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '242461444340562'], ], + 'description' => '', ], ], ], - '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' => '修改日志存储时长', - 'summary' => '编辑DDoS高防全量日志的存储时长。', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'DisableWebAccessLogConfig' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'DDoS高防实例规格变配', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:ModifyInstance', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', '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' => [], @@ -18508,32 +15951,25 @@ 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', - 'abilityTreeCode' => '106214', - 'abilityTreeNodes' => [ - 'FEATUREddosOZ1QOD', - ], + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '106250', + 'abilityTreeNodes' => ['FEATUREddosMHU3MF'], ], 'parameters' => [ [ - 'name' => 'ResourceGroupId', + 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'DDoS高防实例在资源管理产品中所属的资源组ID。默认为空,即属于默认资源组。', - 'type' => 'string', - 'required' => false, - 'example' => 'default', - ], + 'schema' => ['description' => '要操作的DDoS高防实例的ID。'."\n" + ."\n" + .'> 您可以调用[DescribeInstanceIds](~~157459~~)查询所有DDoS高防实例的ID信息。', 'type' => 'string', 'required' => true, 'example' => 'ddoscoo-cn-mp91j1ao****'], ], [ - 'name' => 'Domain', + 'name' => 'Remark', 'in' => 'query', - 'schema' => [ - 'description' => '网站业务的域名。'."\n" - .'> 域名必须已配置网站业务转发规则。您可以调用[DescribeDomains](~~91724~~)查询所有域名。'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'www.aliyun.com', - ], + 'schema' => ['description' => '为DDoS高防实例设置备注。'."\n" + ."\n" + .'支持使用中文字符、英文大小写字符、数字及部分特殊字符,例如:`,.+-*/_`。最长不允许超过500个字符。', 'type' => 'string', 'required' => true, 'example' => 'new-remark'], ], ], 'responses' => [ @@ -18541,31 +15977,46 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80', - ], + 'RequestId' => ['description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。', 'type' => 'string', 'example' => '7EFA2BA6-9C0A-4410-B735-FC337EB634A1'], ], + 'description' => '', ], ], ], - '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' => '为网站业务关闭全量日志分析', - 'summary' => '为网站业务关闭全量日志分析。', - 'requestParamsDescription' => ' ', + 'title' => '修改指定实例的备注信息', + 'summary' => '编辑DDoS高防实例的备注。', + 'requestParamsDescription' => '调用API时,除了本文中该API的请求参数,还需加入阿里云API公共请求参数。公共请求参数的详细介绍,请参见[公共参数](~~157269~~)。'."\n" + ."\n" + .'调用API的请求格式,请参见本文**示例**中的请求示例。', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeWebAccessLogDispatchStatus' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:13.000Z', 'description' => '错误码发生变更'], + ], + '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' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"7EFA2BA6-9C0A-4410-B735-FC337EB634A1\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 7EFA2BA6-9C0A-4410-B735-FC337EB634A1\\n","errorExample":""}]', + ], + 'ModifyNetworkRuleAttribute' => [ + 'summary' => '编辑端口转发规则的会话保持和DDoS防护策略设置。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -18574,45 +16025,71 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeCode' => '106197', - 'abilityTreeNodes' => [ - 'FEATUREddosRTUJBH', - ], + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '106251', + 'abilityTreeNodes' => ['FEATUREddosOZ1QOD'], ], 'parameters' => [ [ - 'name' => 'ResourceGroupId', + 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'DDoS高防实例在资源管理服务中所属的资源组ID。'."\n" - ."\n" - .'不设置该参数表示默认资源组。', - 'type' => 'string', - 'required' => false, - 'example' => 'rg-acfm2pz25js****', - ], + 'schema' => ['description' => 'DDoS高防实例的ID。'."\n" + .'> 您可以调用[DescribeInstanceIds](~~157459~~)查询所有DDoS高防实例的ID信息。', 'type' => 'string', 'required' => true, 'example' => 'ddoscoo-cn-mp91j1ao****'], ], [ - 'name' => 'PageNumber', + 'name' => 'ForwardProtocol', 'in' => 'query', - 'schema' => [ - 'description' => '分页查询时,设置当前页面的页面。默认值为**1**。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => '转发协议。取值:'."\n" + .'- **tcp**'."\n" + .'- **udp**', 'type' => 'string', 'required' => true, 'example' => 'tcp'], ], [ - 'name' => 'PageSize', + 'name' => 'FrontendPort', + 'in' => 'query', + 'schema' => ['description' => '转发端口。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '8080'], + ], + [ + 'name' => 'Config', + 'in' => 'query', + 'schema' => ['description' => '端口转发规则的属性设置。使用JSON格式的字符串表述,具体结构描述如下。'."\n" + .'TcpConfig 的具体结构描述见如下:'."\n" + .'- **PersistenceTimeout**:Integer类型,必选,会话保持的超时时间。取值范围:**30**~**3600**,单位:秒。默认为**0**,表示关闭。'."\n" + .'- **Synproxy**,String 类型,必选,DDoS 防护策略的虚假源,取值:off、on。'."\n" + .'- **NodataConn**,String 类型,必选,DDoS 防护策略的空连接,取值:off、on。'."\n" + .'- **Sla**,Struct 类型,必选,目的限制配置。具体结构描述见 Sla。'."\n" + .'- **Slimit**,Struct 类型,必选,源限制配置。具体结构描述见 Slimit。'."\n" + .'- **PayloadLen**,Struct 类型,必选,包过滤配置。具体结构描述见 PayloadLen。'."\n" + ."\n" + .'Sla 的具体结构描述如下:'."\n" + .'- **Cps**,Integer 类型,必选,DDoS 防护策略/目的新建连接限速,取值范围:100~100,000。'."\n" + .'- **Maxconn**,Integer 类型,必选,DDoS 防护策略/目的并发连接限速,取值范围:1,000~1,000,000。'."\n" + .'- **CpsEnable**,Integer 类型,必选,是否开启 Cps,取值:0(禁用 cps)、1(默认,启用 cps)。'."\n" + .'- **MaxconnEnable**,Integer 类型,必选,是否开启 Maxconnection,取值:0(禁用 maxconn)、1(默认,启用 maxconn)。'."\n" + ."\n" + .'Slimit 的具体结构描述如下:'."\n" + .'- **Cps**,Integer 类型,必选,DDoS 防护策略/源新建连接限速,取值范围:1-50000。'."\n" + .'- **Maxconn**,Integer 类型,必选,DDoS 防护策略/源并发连接限速,取值范围:1 - 50000。'."\n" + .'- **CpsEnable**,Integer 类型,必选,是否开启 Cps,取值:0(禁用 cps)、1(默认,启用 cps)。'."\n" + .'- **MaxconnEnable**,Integer 类型,必选,是否开启 Maxconnection,取值:0(禁用 maxconn)、1(默认,启用 maxconn)。'."\n" + .'- **CpsMode**,Integer 类型,必选,源新建连接限速开关,取值:1(关闭)、2(自动)。'."\n" + ."\n" + .'PayloadLen 的具体结构描述如下:'."\n" + .'- **Min**,Integer 类型,必选,DDoS 防护策略/包长度过滤,包长度的最小值,取值范围为 0~1,500。'."\n" + .'- **Max**,Integer 类型,必选,DDoS 防护策略/包长度过滤,包长度的最大值,取值范围为 0~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"], + ], + [ + 'name' => 'Module', 'in' => 'query', 'schema' => [ - 'description' => '分页查询时,设置每页包含域名的数量。默认值为**10**。', - 'type' => 'integer', - 'format' => 'int32', + 'description' => '7层端口支持模块(默认sla)。取值:'."\n" + ."\n" + .'**sla**:目的限速', + 'type' => 'string', 'required' => false, - 'example' => '10', + 'example' => 'sla', + 'enum' => ['sla'], ], ], ], @@ -18621,65 +16098,42 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'TotalCount' => [ - 'description' => '查询到的域名的总数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80', - ], - 'SlsConfigStatus' => [ - 'description' => '域名的全量日志开关状态。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Domain' => [ - 'description' => '域名。', - 'type' => 'string', - 'example' => 'www.aliyundoc.com', - ], - 'Enable' => [ - 'description' => '是否开启全量日志采集。取值:'."\n" - .'- **true**:表示已开启。'."\n" - .'- **false**:表示未开启。', - 'type' => 'boolean', - 'example' => 'true', - ], - ], - ], - ], + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc'], ], + 'description' => '', ], ], ], - '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' => '查询所有域名的全量日志开关状态', - 'summary' => '查询所有域名的全量日志开关状态。', - 'description' => '本接口用于查询所有已接入DDoS高防防护的域名的全量日志开关状态。'."\n" - ."\n" - .'### QPS限制'."\n" - ."\n" - .'本接口的单用户QPS限制为10次/秒。超过限制,API调用将会被限流,这可能影响您的业务,请合理调用。', - 'requestParamsDescription' => '调用API时,除了本文中该API的请求参数,还需加入阿里云API公共请求参数。公共请求参数的详细介绍,请参见[公共参数](~~157269~~)。'."\n" - ."\n" - .'调用API的请求格式,请参见本文**示例**中的请求示例。', + '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' => '编辑端口转发规则的会话保持和DDoS防护策略设置', + 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeWebAccessLogStatus' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:13.000Z', 'description' => '错误码发生变更'], ], - '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' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'ModifyOcspStatus' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -18689,32 +16143,23 @@ 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', - 'abilityTreeCode' => '106199', - 'abilityTreeNodes' => [ - 'FEATUREddosOZ1QOD', - ], + 'abilityTreeCode' => '106252', + 'abilityTreeNodes' => ['FEATUREddos64TBV6'], ], 'parameters' => [ [ - 'name' => 'ResourceGroupId', + 'name' => 'Domain', 'in' => 'query', - 'schema' => [ - 'description' => 'DDoS高防实例在资源管理产品中所属的资源组ID。默认为空,即属于默认资源组。', - 'type' => 'string', - 'required' => false, - 'example' => 'default', - ], + 'schema' => ['description' => '要设置静态页面缓存的域名。'."\n" + ."\n" + .'> 您可以调用[DescribeDomains](~~91724~~)查询所有已接入DDoS高防防护的域名。', 'type' => 'string', 'required' => true, 'example' => 'click.linktech.cn'], ], [ - 'name' => 'Domain', + 'name' => 'Enable', 'in' => 'query', - 'schema' => [ - 'description' => '网站业务的域名。'."\n" - .'> 域名必须已配置网站业务转发规则。您可以调用[DescribeDomains](~~91724~~)查询所有域名。'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'www.aliyun.com', - ], + 'schema' => ['description' => '是否开启OCSP功能。取值:'."\n" + .'- **1**:开启'."\n" + .'- **0**:关闭', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1'], ], ], 'responses' => [ @@ -18722,73 +16167,100 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'SlsLogstore' => [ - 'description' => 'DDoS高防服务对接的日志库。', - 'type' => 'string', - 'example' => 'ddoscoo-logstore', - ], - 'SlsStatus' => [ - 'description' => '网站业务是否开启全量日志。取值:'."\n" - .'- **true**:已开启'."\n" - .'- **false**:未开启', - 'type' => 'boolean', - 'example' => 'true', - ], - 'SlsProject' => [ - 'description' => 'DDoS高防服务对接的日志服务项目。', - 'type' => 'string', - 'example' => 'ddoscoo-project-128965410602****-cn-hangzhou', - ], - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80', - ], + 'RequestId' => ['description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。', 'type' => 'string', 'example' => 'D8DDBA8E-8182-5C85-AA41-F17EACFCAE0D'], ], ], ], ], - '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' => '查询单个网站业务的全量日志服务信息', - 'summary' => '例如开关状态、对接的日志项目、日志库。', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'DescribeLogStoreExistStatus' => [ - 'methods' => [ - 'post', - 'get', + 'title' => '设置是否启用 OCSP (Online Certificate Status Protocol)功能', + 'summary' => '是否启用 OCSP (Online Certificate Status Protocol)功能。', + 'description' => '该功能适用于网站HTTPS业务。如果您已选择的协议类型包含HTTPS,推荐启用该功能。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyOcspStatus'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:ModifyOcspStatus', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D8DDBA8E-8182-5C85-AA41-F17EACFCAE0D\\"\\n}","type":"json"}]', + ], + 'ModifyPort' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeCode' => '106159', - 'abilityTreeNodes' => [ - 'FEATUREddos38XZ5J', - ], - 'tenantRelevance' => 'publicInformation', + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '106253', + 'abilityTreeNodes' => ['FEATUREddosN7DYCX'], ], 'parameters' => [ [ - 'name' => 'ResourceGroupId', + 'name' => 'FrontendPort', 'in' => 'query', - 'schema' => [ - 'description' => 'DDoS高防实例在资源管理产品中所属的资源组ID。默认为空,即属于默认资源组。', - 'type' => 'string', - 'required' => false, - 'example' => 'default', - ], + 'schema' => ['description' => '转发端口。取值范围:**0**~**65535**。', 'type' => 'string', 'required' => true, 'example' => '55'], + ], + [ + 'name' => 'FrontendProtocol', + 'in' => 'query', + 'schema' => [ + 'description' => '转发协议类型。取值:'."\n" + .'- **tcp**:表示TCP协议。'."\n" + .'- **udp**:表示UDP协议。', + 'type' => 'string', + 'required' => true, + 'example' => 'tcp', + 'enum' => ['tcp', 'udp'], + ], + ], + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => ['description' => '端口转发规则所属的DDoS高防实例的ID。'."\n" + ."\n" + .'> 您可以调用[DescribeInstanceIds](~~157459~~)查询所有DDoS高防实例的ID。', 'type' => 'string', 'required' => true, 'example' => 'ddoscoo-cn-st21zbyq****'], + ], + [ + 'name' => 'BackendPort', + 'in' => 'query', + 'schema' => ['description' => '源站端口。取值范围:**0**~**65535**。', 'type' => 'string', 'required' => true, 'example' => '55'], + ], + [ + 'name' => 'RealServers', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'description' => '源站IP地址列表。', + 'type' => 'array', + 'items' => ['description' => '源站IP地址。', 'type' => 'string', 'required' => false, 'example' => '1.XX.XX.1'], + 'required' => true, + 'maxItems' => 20, + ], + ], + [ + 'name' => 'ProxyEnable', + 'in' => 'query', + 'schema' => ['description' => '引流开关。取值:'."\n" + .'- **0** 关闭。'."\n" + .'- **1** 开启。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '0'], ], ], 'responses' => [ @@ -18796,38 +16268,42 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'ExistStatus' => [ - 'description' => '是否已创建DDoS高防的日志库。取值:'."\n" - .'- **true**:已创建'."\n" - .'- **false**:未创建', - 'type' => 'boolean', - 'example' => 'true', - ], - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80', - ], + 'RequestId' => ['description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。', 'type' => 'string', 'example' => '39499F01-19D9-4EA4-A0E9-C6014BA5CDBE'], ], + 'description' => '', ], ], ], - '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 '查询是否已创建DDoS高防的日志库', - 'summary' => '查询是否已创建DDoS高防的日志库。', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'DescribeOpEntities' => [ - 'methods' => [ - 'post', - 'get', + 'title' => '修改已创建的端口转发规则', + 'summary' => '修改已创建的端口转发规则。', + 'description' => '本接口支持与Terraform工具对接。关于Terraform的更多信息,请参见[什么是Terraform](~~95820~~)。', + 'changeSet' => [ + ['createdAt' => '2024-08-29T05:59:47.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2022-09-08T03:34:13.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyPort'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:ModifyPort', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"39499F01-19D9-4EA4-A0E9-C6014BA5CDBE\\"\\n}","type":"json"}]', + ], + 'ModifyPortAutoCcStatus' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -18836,237 +16312,142 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeCode' => '106163', - 'abilityTreeNodes' => [ - 'FEATUREddosHFA00W', - ], + 'operationType' => 'update', + 'abilityTreeCode' => '106254', + 'abilityTreeNodes' => ['FEATUREddosN7DYCX'], ], 'parameters' => [ [ - 'name' => 'ResourceGroupId', + 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'DDoS高防实例在资源管理产品中所属的资源组ID。默认为空,即属于默认资源组。', - 'type' => 'string', - 'required' => false, - 'example' => 'default', - ], + 'schema' => ['description' => 'DDoS高防实例的ID。'."\n" + .'> 您可以调用[DescribeInstanceIds](~~157459~~)查询所有DDoS高防实例的ID信息。', 'type' => 'string', 'required' => true, 'example' => 'ddoscoo-cn-mp91j1ao****'], ], [ - 'name' => 'EntityType', + 'name' => 'Switch', 'in' => 'query', - 'schema' => [ - 'description' => '使用操作对象筛选结果,传入要查询的操作对象的类型。取值:'."\n" - ."\n" - .'- **1**:DDoS高防IP'."\n" - .'- **2**:DDoS高防抗D包'."\n" - .'- **3**:ECS实例'."\n" - .'- **4**:全量日志', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => '非网站业务AI智能防护的开关状态。取值:'."\n" + .'- **on**:开启'."\n" + .'- **off**:关闭', 'type' => 'string', 'required' => true, 'example' => 'on'], ], [ - 'name' => 'EntityObject', + 'name' => 'Mode', 'in' => 'query', + 'schema' => ['description' => '非网站业务AI智能防护的模式。取值:'."\n" + .'- **normal**:正常'."\n" + .'- **loose**:宽松'."\n" + .'- **strict**:严格', 'type' => 'string', 'required' => true, 'example' => 'normal'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '使用操作对象筛选结果,传入要查询的操作对象。', - 'type' => 'string', - 'required' => false, - 'example' => '203.***.***.132', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc'], + ], ], ], + ], + 'title' => '设置非网站业务AI智能防护', + 'summary' => '设置非网站业务AI智能防护。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:13.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyPortAutoCcStatus'], + ], + ], + 'ramActions' => [ [ - 'name' => 'StartTime', - 'in' => 'query', - 'schema' => [ - 'description' => '查询开始时间。时间戳格式,单位:毫秒。'."\n" - ."\n" - .'> 查询时间的跨度不允许超过近30天。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1582992000000', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:ModifyPortAutoCcStatus', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], + ], + '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":""}]', + ], + 'ModifyQpsMode' => [ + 'summary' => '切换弹性业务带宽的95计费模式。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'EndTime', - 'in' => 'query', - 'schema' => [ - 'description' => '查询结束时间。时间戳格式,单位:毫秒。'."\n" - ."\n" - .'> 查询时间的跨度不允许超过近30天。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1583683200000', - ], + 'AK' => [], ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '169181', + 'abilityTreeNodes' => ['FEATUREddosMHU3MF'], + ], + 'parameters' => [ [ - 'name' => 'PageNumber', + 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => '分页查询请求时返回的页码。例如,查询第一页的返回结果,则填写**1**。'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '1', - ], + 'schema' => ['description' => 'DDoS高防实例的ID。'."\n" + .'> 您可以调用[DescribeInstanceIds](~~157459~~)查询所有DDoS高防实例的ID信息。', 'type' => 'string', 'required' => true, 'example' => 'ddoscoo-cn-7e225i41****'], ], [ - 'name' => 'PageSize', + 'name' => 'Mode', 'in' => 'query', - 'schema' => [ - 'description' => '页面显示的记录数量。最大值:**50**。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '10', - ], + 'schema' => ['description' => 'QPS计费模式。取值:'."\n" + .'- **month**:月95模式'."\n" + .'- **day**:日95模式', 'type' => 'string', 'required' => true, 'example' => 'month'], ], ], 'responses' => [ 200 => [ + 'headers' => [], 'schema' => [ 'type' => 'object', 'properties' => [ - 'TotalCount' => [ - 'description' => '操作记录的总数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => 'FB24D70C-71F5-4000-8CD8-22CDA0C53CD1', - ], - 'OpEntities' => [ - 'description' => '操作日志记录。', - 'type' => 'array', - 'items' => [ - 'description' => '操作日志记录。', - 'type' => 'object', - 'properties' => [ - 'EntityType' => [ - 'description' => '操作对象的类型。取值:'."\n" - ."\n" - .'- **1**:DDoS高防IP'."\n" - .'- **2**:DDoS高防抗D包'."\n" - .'- **3**:ECS实例'."\n" - .'- **4**:全量日志', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'EntityObject' => [ - 'description' => '操作对象。', - 'type' => 'string', - 'example' => '203.***.***.132', - ], - 'GmtCreate' => [ - 'description' => '操作时间。时间戳格式,单位:毫秒。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1584451769000', - ], - 'OpAction' => [ - 'description' => '操作类型。取值:'."\n" - .'- **1**:设置弹性防护带宽。'."\n" - .'- **5**:抵扣抗D包。'."\n" - .'- **8**:更换ECS IP。'."\n" - .'- **9**:执行黑洞解封。'."\n" - .'- **10**:设置近源流量压制。'."\n" - .'- **11**:清空全量日志。'."\n" - .'- **12**:降级实例规格,表示实例到期或账号存在欠费时,降低弹性防护带宽。'."\n" - .'- **13**:恢复实例规格,表示实例续费或账号欠费结清时,恢复弹性防护带宽。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '9', - ], - 'OpAccount' => [ - 'description' => '执行操作的阿里云账号ID。', - 'type' => 'string', - 'example' => '128965410602****', - ], - 'OpDesc' => [ - 'description' => '操作的描述信息,使用JSON格式的字符串表述,具体结构如下:'."\n" - ."\n" - .'- **newEntity**:String类型,操作后的参数。'."\n" - .'- **oldEntity**:String类型,操作前的参数。'."\n" - ."\n" - .'**newEntity**和**oldEntity**均使用JSON格式的字符串表述。不同操作类型(**OpAtion**)对应的操作参数不同。'."\n" - ."\n" - .'**OpAction**为**1**、**12**、**13**时,操作参数的结构描述如下:'."\n" - .'- **elasticBandwidth**:Integer类型,弹性防护带宽值,单位:Gbps。'."\n" - ."\n" - .' 示例:`{"newEntity":{"elasticBandwidth":300},"oldEntity":{"elasticBandwidth":300}}`'."\n" - ."\n\n" - .'**OpAction**为**5**时,操作参数的结构描述如下:'."\n" - .'- **bandwidth**:Integer类型,弹性防护带宽,单位:Gbps。'."\n" - .'- **count**:Integer类型,抗D包数量。'."\n" - .'- **deductCount**:Integer类型,抵扣的抗D包数量。'."\n" - .'- **expireTime**:Long类型,抗D包的到期时间。时间戳格式,单位:毫秒。'."\n" - .'- **instanceId**:String类型,DDoS高防实例ID。'."\n" - .'- **peakFlow**:Integer类型,峰值流量,单位:bps。'."\n" - ."\n" - .' 示例:`{"newEntity":{"bandwidth":100,"count":4,"deductCount":1,"expireTime":1616299196000,"instanceId":"ddoscoo-cn-v641kpmq****","peakFlow":751427000}}`'."\n" - ."\n\n" - .'**OpAction**为**8**时,操作参数的结构描述如下:'."\n" - .'- **instanceId**:String类型,更换IP的ECS实例ID。'."\n" - ."\n" - .' 示例:`{"newEntity":{"instanceId":"i-wz9h6nc313zptbqn****"}}` '."\n" - .' '."\n" - ."\n" - .'**OpAction**为**9**时,操作参数的结构描述如下:'."\n" - .'- **actionMethod**:String类型,操作方法。取值:**undo**,表示解除黑洞。'."\n" - ."\n" - .' 示例:`{"newEntity":{"actionMethod":"undo"}}` '."\n" - .' '."\n" - ."\n" - .'**OpAction**为**10**时,操作参数的结构描述如下:'."\n" - .'- **actionMethod**:String类型,操作方法。取值:'."\n" - .' - **do**:开启近源流量压制'."\n" - .' - **undo**:取消近源流量压制'."\n" - .'- **lines**:Array类型,操作的线路类型。取值:'."\n" - .' - **ct**:电信海外线路'."\n" - .' - **cut**:联通海外线路'."\n" - ."\n" - .' 示例:`{"newEntity":{"actionMethod":"undo","lines":["ct"]}}`'."\n" - ."\n\n" - .'**OpAction**为**11**时,无操作参数,操作描述为空。', - 'type' => 'string', - 'example' => '{"newEntity":{"actionMethod":"undo"}}', - ], - ], - ], - ], + 'RequestId' => ['description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。', 'type' => 'string', 'example' => '48859E14-A9FB-4100-99FF-AAB75CA46776'], ], + 'description' => '', ], ], ], - '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' => '查询DDoS高防(中国内地)的操作日志', - 'summary' => '查询DDoS高防(中国内地)的操作日志。', - 'description' => '> 该接口仅适用于DDoS高防(中国内地)服务。'."\n" - ."\n" - .'操作日志的类型包括:设置实例弹性防护规格、执行黑洞解封、设置近源流量压制、抵扣抗D包、更换ECS IP、清空全量日志等。', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'DescribeSlsAuthStatus' => [ - 'methods' => [ - 'post', - 'get', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '切换弹性QPS计费模式', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyQpsMode'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:ModifyQpsMode', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"48859E14-A9FB-4100-99FF-AAB75CA46776\\"\\n}","type":"json"}]', + ], + 'ModifySceneDefensePolicy' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -19075,62 +16456,90 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeCode' => '106185', - 'abilityTreeNodes' => [ - 'FEATUREddosRTUJBH', - ], - 'tenantRelevance' => 'publicInformation', + 'operationType' => 'update', + 'abilityTreeCode' => '106256', + 'abilityTreeNodes' => ['FEATUREddosM9SQC1'], ], 'parameters' => [ [ - 'name' => 'ResourceGroupId', + 'name' => 'PolicyId', + 'in' => 'query', + 'schema' => ['description' => '要编辑的策略ID。'."\n" + .'> 您可以调用[DescribeSceneDefensePolicies](~~159382~~)查询所有策略ID。', 'type' => 'string', 'required' => true, 'example' => '321a-fd31-df51-****'], + ], + [ + 'name' => 'Name', + 'in' => 'query', + 'schema' => ['description' => '策略名称。', 'type' => 'string', 'required' => true, 'example' => 'testpolicy'], + ], + [ + 'name' => 'Template', 'in' => 'query', 'schema' => [ - 'description' => 'DDoS高防实例在资源管理产品中所属的资源组ID。默认为空,即属于默认资源组。', + 'description' => '策略模板。取值:'."\n" + .'- **promotion**:重大活动'."\n" + .'- **bypass**:全量转发', 'type' => 'string', - 'required' => false, - 'example' => 'default', + 'required' => true, + 'example' => 'promotion', + 'enum' => ['promotion'], ], ], + [ + 'name' => 'StartTime', + 'in' => 'query', + 'schema' => ['description' => '生效开始时间。时间戳格式,单位:毫秒。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1585670400000'], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => ['description' => '生效结束时间。时间戳格式,单位:毫秒。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1586016000000'], + ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - 'SlsAuthStatus' => [ - 'description' => 'DDoS高防全量日志分析服务的授权状态。取值:'."\n" - .'- **true**:已授权'."\n" - .'- **false**:未授权', - 'type' => 'boolean', - 'example' => 'true', - ], - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80', - ], + 'Success' => ['description' => '是否成功调用。取值:'."\n" + .'- **true**:是'."\n" + .'- **false**:否', 'type' => 'boolean', 'example' => 'true'], + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'F65DF043-E0EB-4796-9467-23DDCDF92C1D'], ], ], ], ], - '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' => '查询DDoS高防全量日志分析服务的授权状态', - 'summary' => '即是否授权DDoS高防访问日志服务。', + 'title' => '编辑定制场景策略', + 'summary' => '编辑定制场景策略。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeSlsLogstoreInfo' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:13.000Z', 'description' => '错误码发生变更'], ], - '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' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + '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":""}]', + ], + 'ModifySchedulerRule' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -19139,85 +16548,108 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeCode' => '106186', - 'abilityTreeNodes' => [ - 'FEATUREddosVFFSV8', - ], + 'operationType' => 'update', + 'abilityTreeCode' => '106257', + 'abilityTreeNodes' => ['FEATUREddosZIK01A'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => 'DDoS高防实例在资源管理产品中所属的资源组ID。默认为空,即属于默认资源组。', - 'type' => 'string', - 'required' => false, - 'example' => 'default', - ], + 'schema' => ['description' => 'DDoS高防实例在资源管理产品中所属的资源组ID。默认为空,即属于默认资源组。', 'type' => 'string', 'required' => false, 'example' => 'default'], ], - ], - 'responses' => [ + [ + 'name' => 'Rules', + 'in' => 'query', + 'schema' => ['description' => '通用联动规则的详细信息,使用JSON格式的字符串表述,具体结构如下。'."\n" + .'- **Type**:String类型,必选,联动资源的地址格式。取值:'."\n" + .' - **A**:IP地址'."\n" + .' - **CNAME**:域名'."\n" + .'- **Value**:String类型,必选,联动资源的地址。'."\n" + .'- **Priority**:Integer类型,必选,规则优先级。取值范围:**0**~**100**,取值越大,优先级越高。'."\n" + .'- **ValueType**:Integer类型,必选,联动资源的类型。取值:'."\n" + .' - **1**:DDoS高防IP '."\n" + .' - **2**:(阶梯防护)云资源IP'."\n" + .' - **3**:(出海加速)加速线路IP'."\n" + .' - **5**:(CDN联动)加速域名'."\n" + .' - **6**:(云产品联动)云资源IP'."\n" + .' - **8**:(安全加速)安全加速IP'."\n" + .'- **RegionId**:String类型,可选(**ValueType**为**2**时必选),地域ID。', '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}]'], + ], + [ + 'name' => 'RuleName', + 'in' => 'query', + 'schema' => ['description' => '要编辑的规则名称。', 'type' => 'string', 'required' => true, 'example' => 'testrule'], + ], + [ + 'name' => 'RuleType', + 'in' => 'query', + 'schema' => ['description' => '规则类型。取值:'."\n" + .'- **2**:阶梯防护'."\n" + .'- **3**:出海加速'."\n" + .'- **5**:CDN联动'."\n" + .'- **6**:云产品联动'."\n" + .'- **8**:安全加速', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '2'], + ], + [ + 'name' => 'Param', + 'in' => 'query', + 'schema' => ['description' => "\n" + .'CDN联动规则的详细信息,使用JSON格式的字符串表达,具体结构如下。'."\n" + .'- **ParamType**:必选,String类型,CDN联动类型。取值:**cdn**,表示CDN联动。'."\n" + .'- **ParamData**:必选,Map类型,CDN联动参数。具体结构如下。'."\n" + .' - **Domain**:必选,String类型,CDN加速域名。'."\n" + .' - **Cname**:必选,String类型,加速域名CNAME地址。'."\n" + .' - **AccessQps**:必选,Integer类型,访问QPS阈值。超过阈值切换到DDoS高防。'."\n" + .' - **UpstreamQps**:可选,Integer类型,回源QPS阈值。低于阈值切换到CDN。', 'type' => 'string', 'required' => false, 'example' => '{"ParamType":"cdn","ParamData":"Domain":"example.aliyundoc.com","Cname":"demo.aliyundoc.com","AccessQps":100,"UpstreamQps":100}}'], + ], + ], + 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Ttl' => [ - 'description' => '日志存储时长。单位:天。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '180', - ], - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80', - ], - 'Quota' => [ - 'description' => '可用的日志存储容量。单位:Byte。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '3298534883328', - ], - 'LogStore' => [ - 'description' => 'DDoS高防服务对接的日志库。', - 'type' => 'string', - 'example' => 'ddoscoo-logstore', - ], - 'Used' => [ - 'description' => '已经使用的存储容量。单位:Byte。'."\n" - ."\n" - .'> 日志服务的统计结果约有两个小时的延迟。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'Project' => [ - 'description' => 'DDoS高防服务对接的日志项目。', - 'type' => 'string', - 'example' => 'ddoscoo-project-181071506993****-cn-hangzhou', - ], + 'RequestId' => ['description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。', 'type' => 'string', 'example' => 'FFC77501-BDF8-4BC8-9BF5-B295FBC3189B'], + 'Cname' => ['description' => '规则对应的流量调度器CNAME值。'."\n" + ."\n" + .'> 您必须将业务解析到流量调度器的CNAME,才能启用规则。', 'type' => 'string', 'example' => '48k7b372gpl4****.aliyunddos0001.com'], + 'RuleName' => ['description' => '规则名称。', 'type' => 'string', 'example' => 'testrule'], ], ], ], ], - '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' => '查询DDoS高防的日志库信息', - 'summary' => '例如日志存储容量、日志存储时长。', + 'title' => '编辑流量调度器调度规则', + 'summary' => '编辑流量调度器调度规则。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeSlsOpenStatus' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:13.000Z', 'description' => '错误码发生变更'], + ], + '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' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + '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":""}]', + ], + 'ModifyTlsConfig' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -19226,23 +16658,52 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeCode' => '106187', - 'abilityTreeNodes' => [ - 'FEATUREddosVFFSV8', - ], - 'tenantRelevance' => 'publicInformation', + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '106258', + 'abilityTreeNodes' => ['FEATUREddos64TBV6'], ], 'parameters' => [ [ 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => 'DDoS高防实例在资源管理产品中所属的资源组ID。默认为空,即属于默认资源组。', - 'type' => 'string', - 'required' => false, - 'example' => 'default', - ], + 'schema' => ['description' => 'DDoS高防实例在资源管理产品中所属的资源组ID。默认为空,即属于默认资源组。', 'type' => 'string', 'required' => false, 'example' => 'default'], + ], + [ + 'name' => 'Domain', + 'in' => 'query', + 'schema' => ['description' => '网站业务的域名。'."\n" + .'> 域名必须已配置网站业务转发规则。您可以调用[DescribeDomains](~~91724~~)查询所有域名。', 'type' => 'string', 'required' => true, 'example' => 'example.aliyundoc.com'], + ], + [ + 'name' => 'Config', + 'in' => 'query', + 'schema' => ['description' => 'TLS安全策略的详细信息,使用JSON格式的字符串表达,具体结构如下。'."\n" + .'- **ssl_protocols**:String类型,必选,TLS版本。取值:'."\n" + .' - **tls1.0**:支持TLS1.0及以上'."\n" + .' - **tls1.1**:支持TLS1.1及以上'."\n" + .' - **tls1.2**:支持TLS1.2及以上'."\n" + .'- **ssl_ciphers**:String类型,必选,加密套件类型。取值:'."\n" + .' - **all**:全部加密套件,包含强加密套件和弱加密套件'."\n" + .' - **improved**:增强加密套件'."\n" + .' - **strong**:强加密套件'."\n" + .' - **default**:默认,仅包含强加密套件'."\n" + .'- **ssl_13_enabled**:Boolean类型,可选,是否开启TLS1.3版本。取值:'."\n" + .' - **true**:开启TLS1.3版本'."\n" + .' - **false**:关闭TLS1.3版本'."\n" + .'- **custom_ciphers**:Array类型,可选,非1.3版本的自定义加密套件列表。'."\n" + .'- **tls_13_custom_ciphers**:Array类型,可选,1.3版本的自定义加密套件列表。若开启了 TLS1.3 开关,请至少选择一个非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" + .'}'], ], ], 'responses' => [ @@ -19250,38 +16711,43 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'SlsOpenStatus' => [ - 'description' => '是否已开通日志服务。取值:'."\n" - .'- **true**:已开通'."\n" - .'- **false**:未开通', - 'type' => 'boolean', - 'example' => 'true', - ], - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80', - ], + 'RequestId' => ['description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。', 'type' => 'string', 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E'], ], + 'description' => '', ], ], ], - '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' => '查询阿里云日志服务SLS的开通状态', - 'summary' => '查询阿里云日志服务SLS的开通状态。', + 'title' => '编辑网站业务转发规则的TLS安全策略', + 'summary' => '编辑网站业务转发规则的TLS安全策略。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeWebAccessLogEmptyCount' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:13.000Z', 'description' => '错误码发生变更'], + ], + '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' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E\\"\\n}","errorExample":""},{"type":"xml","example":"\\n C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E\\n","errorExample":""}]', + ], + 'ModifyWebAIProtectMode' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -19290,23 +16756,33 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeCode' => '106198', - 'abilityTreeNodes' => [ - 'FEATUREddosOZ1QOD', - ], - 'tenantRelevance' => 'publicInformation', + 'operationType' => 'update', + 'abilityTreeCode' => '106260', + 'abilityTreeNodes' => ['FEATUREddosRTUJBH'], ], 'parameters' => [ [ 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => 'DDoS高防实例在资源管理产品中所属的资源组ID。默认为空,即属于默认资源组。', - 'type' => 'string', - 'required' => false, - 'example' => 'default', - ], + 'schema' => ['description' => 'DDoS高防实例在资源管理产品中所属的资源组ID。默认为空,即属于默认资源组。', 'type' => 'string', 'required' => false, 'example' => 'default'], + ], + [ + 'name' => 'Domain', + 'in' => 'query', + 'schema' => ['description' => '网站业务的域名。'."\n" + .'> 域名必须已配置网站业务转发规则。您可以调用[DescribeDomains](~~474212~~)查询所有域名。', 'type' => 'string', 'required' => true, 'example' => 'www.aliyun.com'], + ], + [ + 'name' => 'Config', + 'in' => 'query', + 'schema' => ['description' => 'AI智能防护配置的详细信息,使用JSON格式的字符串表述,具体结构如下。'."\n" + .'- **AiTemplate**:String类型,必选,AI智能防护功能的防护等级。取值:'."\n" + .' - **level30**:宽松'."\n" + .' - **level60**:正常'."\n" + .' - **level90**:严格'."\n" + .'- **AiMode**:String类型,必选,AI智能防护功能的防护模式。取值:'."\n" + .' - **watch**:预警模式'."\n" + .' - **defense**:防护模式', 'type' => 'string', 'required' => true, 'example' => '{"AiTemplate":"level60","AiMode":"defense"}'], ], ], 'responses' => [ @@ -19314,37 +16790,42 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'AvailableCount' => [ - 'description' => '可用的清空日志库的次数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80', - ], + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc'], ], ], ], ], - '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' => '查询可用的清空日志库的次数', - 'summary' => '查询可用的清空日志库的次数。', + 'title' => '设置网站业务AI智能防护的模式', + 'summary' => '设置网站业务AI智能防护的模式。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeDefenseRecords' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:12.000Z', 'description' => '错误码发生变更'], + ], + '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' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + '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":""}]', + ], + 'ModifyWebAIProtectSwitch' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -19353,81 +16834,29 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeCode' => '106120', - 'abilityTreeNodes' => [ - 'FEATUREddosOZ1QOD', - ], + 'operationType' => 'update', + 'abilityTreeCode' => '106261', + 'abilityTreeNodes' => ['FEATUREddosI8LHMA'], ], 'parameters' => [ [ 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => 'DDoS高防实例在资源管理产品中所属的资源组ID。默认为空,即属于默认资源组。', - 'type' => 'string', - 'required' => false, - 'example' => 'default', - ], - ], - [ - 'name' => 'InstanceId', - 'in' => 'query', - 'schema' => [ - 'description' => 'DDoS高防实例的ID。'."\n" - .'> 您可以调用[DescribeInstanceIds](~~157459~~)查询所有DDoS高防实例的ID信息。'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'ddoscoo-cn-mp91j1ao****', - ], - ], - [ - 'name' => 'StartTime', - 'in' => 'query', - 'schema' => [ - 'description' => '查询开始时间。时间戳格式,单位:毫秒。'."\n" - ."\n" - .'> 查询时间的跨度不允许超过近90天。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1582992000000', - ], - ], - [ - 'name' => 'EndTime', - 'in' => 'query', - 'schema' => [ - 'description' => '查询结束时间。时间戳格式,单位:毫秒。'."\n" - ."\n" - .'> 查询时间的跨度不允许超过90天。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1583683200000', - ], + 'schema' => ['description' => 'DDoS高防实例在资源管理产品中所属的资源组ID。默认为空,即属于默认资源组。', 'type' => 'string', 'required' => false, 'example' => 'default'], ], [ - 'name' => 'PageNumber', + 'name' => 'Domain', 'in' => 'query', - 'schema' => [ - 'description' => '分页查询请求时返回的页码。例如,查询第一页的返回结果,则填写**1**。'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '1', - ], + 'schema' => ['description' => '网站业务的域名。'."\n" + .'> 域名必须已配置网站业务转发规则。您可以调用[DescribeDomains](~~91724~~)查询所有域名。', 'type' => 'string', 'required' => true, 'example' => 'www.aliyun.com'], ], [ - 'name' => 'PageSize', + 'name' => 'Config', 'in' => 'query', - 'schema' => [ - 'description' => '页面显示的记录数量。最大值:**50**', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '10', - ], + 'schema' => ['description' => 'AI智能防护配置的详细信息,使用JSON格式的字符串表述,具体结构如下。'."\n" + .'- **AiRuleEnable**:Integer类型,必选,AI智能防护功能的开关状态。取值:'."\n" + .' - **0**:关闭'."\n" + .' - **1**:开启', 'type' => 'string', 'required' => true, 'example' => '{"AiRuleEnable": 1}'], ], ], 'responses' => [ @@ -19435,85 +16864,42 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'TotalCount' => [ - 'description' => '高级防护总次数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc', - ], - 'DefenseRecords' => [ - 'description' => '高级防护日志记录。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'EndTime' => [ - 'description' => '防护结束时间。时间戳格式,单位:毫秒。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1583683200000', - ], - 'Status' => [ - 'description' => '高级防护的状态。取值:'."\n" - .'- **0**:使用中'."\n" - .'- **1**:已使用'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'StartTime' => [ - 'description' => '防护开始时间。时间戳格式,单位:毫秒。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1582992000000', - ], - 'EventCount' => [ - 'description' => '被攻击次数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'InstanceId' => [ - 'description' => 'DDoS高防实例ID。', - 'type' => 'string', - 'example' => 'ddoscoo-cn-mp91j1ao****', - ], - 'AttackPeak' => [ - 'description' => '攻击峰值。单位:bps。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '6584186000', - ], - ], - ], - ], + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc'], ], ], ], ], - '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' => '查询高级防护日志', - 'summary' => '查询DDoS高防(国际)的高级防护日志。', - 'description' => '> 该接口仅适用于DDoS高防(国际)服务。', + 'title' => '设置网站业务AI智能防护的开关状态', + 'summary' => '设置网站业务AI智能防护的开关状态。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'EmptySlsLogstore' => [ - 'summary' => '清空DDoS高防的日志库。', - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:12.000Z', 'description' => '错误码发生变更'], + ], + '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' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + '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":""}]', + ], + 'ModifyWebAccessMode' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -19523,24 +16909,23 @@ 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '106219', - 'abilityTreeNodes' => [ - 'FEATUREddosVFFSV8', - ], - 'tenantRelevance' => 'publicInformation', + 'abilityTreeCode' => '106259', + 'abilityTreeNodes' => ['FEATUREddosOZ1QOD'], ], 'parameters' => [ [ - 'name' => 'ResourceGroupId', + 'name' => 'Domain', 'in' => 'query', - 'schema' => [ - 'description' => 'DDoS高防实例在资源管理产品中所属的资源组ID。默认为空,即属于默认资源组。', - 'type' => 'string', - 'required' => false, - 'example' => 'default', - ], + 'schema' => ['description' => '网站业务的域名。'."\n" + .'> 域名必须已配置网站业务转发规则。您可以调用[DescribeDomains](~~91724~~)查询所有域名。', 'type' => 'string', 'required' => true, 'example' => 'www.aliyun.com'], + ], + [ + 'name' => 'AccessMode', + 'in' => 'query', + 'schema' => ['description' => '网站业务的接入模式。取值:'."\n" + .'- **0**:A记录'."\n" + .'- **1**:高防模式'."\n" + .'- **2**:回源模式', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '2'], ], ], 'responses' => [ @@ -19548,30 +16933,39 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => 'CF33B4C3-196E-4015-AADD-5CAD00057B80', - ], + 'RequestId' => ['description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。', 'type' => 'string', 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc'], ], ], ], ], - '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' => '清空日志库', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'DescribeStsGrantStatus' => [ - 'methods' => [ - 'post', - 'get', + 'title' => '设置网站业务的接入模式', + 'summary' => '设置网站业务的接入模式。', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:13.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyWebAccessMode'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:ModifyWebAccessMode', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + '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":""}]', + ], + 'ModifyWebAreaBlock' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -19580,36 +16974,41 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeCode' => '106188', - 'abilityTreeNodes' => [ - 'FEATUREddosRTUJBH', - ], + 'operationType' => 'update', + 'abilityTreeCode' => '106262', + 'abilityTreeNodes' => ['FEATUREddosOZ1QOD'], ], 'parameters' => [ [ 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => 'DDoS高防实例在资源管理服务中所属的资源组ID。'."\n" - ."\n" - .'不设置该参数表示默认资源组。', - 'type' => 'string', - 'required' => false, - 'example' => 'rg-acfm2pz25js****', - ], + 'schema' => ['description' => 'DDoS高防实例在资源管理服务中所属的资源组ID。默认为空,即属于默认资源组。'."\n" + ."\n" + .'关于资源组的更多信息,请参见[创建资源组](~~94485~~)。'."\n", 'type' => 'string', 'required' => false, 'example' => 'rg-acfm2pz25js****'], ], [ - 'name' => 'Role', + 'name' => 'Domain', 'in' => 'query', - 'schema' => [ - 'description' => '要查询的RAM角色名称。取值固定为**AliyunDDoSCOODefaultRole**,表示DDoS高防服务的默认角色。'."\n" - ."\n" - .'> DDoS高防服务默认使用此角色来访问您在其他云产品中的资源。', - 'type' => 'string', - 'required' => true, - 'example' => 'AliyunDDoSCOODefaultRole', - ], + 'schema' => ['description' => '要操作的域名。'."\n" + ."\n" + .'> 域名必须已配置网站业务转发规则。您可以调用[DescribeDomains](~~91724~~)查询所有域名。', 'type' => 'string', 'required' => true, 'example' => 'www.aliyun.com'], + ], + [ + 'name' => 'Regions', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'description' => '要封禁的地域列表。'."\n" + ."\n" + .'> 不设置该参数表示关闭区域封禁(针对域名)功能。'."\n", + 'type' => 'array', + 'items' => ['description' => '要封禁的地域列表。支持封禁中国地域(省市区维度)和国际地域(国家维度),例如,**CN-310000**表示上海市、**OVERSEAS-US**表示美国。不设置该参数表示关闭区域封禁(针对域名)功能。'."\n" + ."\n" + .'> 关于该参数的取值说明,请参见[地域类型参数取值说明](~~167926~~)。', 'type' => 'string', 'required' => false, 'example' => 'CN-310000'], + 'required' => false, + 'example' => 'CN-SHANGHAI', + 'maxItems' => 1000, + ], ], ], 'responses' => [ @@ -19617,53 +17016,39 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => '6623EA1F-30FB-5BC8-BEC9-74D55F6F08F1', - ], - 'StsGrant' => [ - 'description' => 'DDoS高防服务的授权状态。', - 'type' => 'object', - 'properties' => [ - 'Status' => [ - 'description' => '授权状态。取值:'."\n" - ."\n" - .'- **0**:表示未授权DDoS高防服务访问其他云产品资源。'."\n" - .'- **1**:表示已授权DDoS高防服务访问其他云产品资源。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - ], - ], + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => '5AA2BD65-E289-4E91-9DD9-3E1FB2140D17'], ], ], ], ], - '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":""}]', - 'title' => '查询是否授权访问其他云产品', - 'summary' => '查询是否授权DDoS高防服务访问其他云产品。', - 'description' => '本接口用于查询当前阿里云账号是否已授权DDoS高防服务访问其他云产品。'."\n" - ."\n" - .'### QPS限制'."\n" - ."\n" - .'本接口的单用户QPS限制为10次/秒。超过限制,API调用将会被限流,这可能影响您的业务,请合理调用。', - 'requestParamsDescription' => '调用API时,除了本文中该API的请求参数,还需加入阿里云API公共请求参数。公共请求参数的详细介绍,请参见[公共参数](~~157269~~)。'."\n" - ."\n" - .'调用API的请求格式,请参见本文**示例**中的请求示例。', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'DescribeAsyncTasks' => [ - 'methods' => [ - 'post', - 'get', + 'title' => '设置网站业务区域封禁地区', + 'summary' => '设置网站业务区域封禁(针对域名)的封禁地区。', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:12.000Z', 'description' => '错误码发生变更'], + ], + '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' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"5AA2BD65-E289-4E91-9DD9-3E1FB2140D17\\"\\n}","type":"json"}]', + ], + 'ModifyWebAreaBlockSwitch' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -19672,47 +17057,32 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeCode' => '106092', - 'abilityTreeNodes' => [ - 'FEATUREddos64TBV6', - 'FEATUREddosN7DYCX', - ], + 'operationType' => 'update', + 'abilityTreeCode' => '106263', + 'abilityTreeNodes' => ['FEATUREddosOZ1QOD'], ], 'parameters' => [ [ 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => 'DDoS高防实例在资源管理服务中所属的资源组ID。'."\n" - ."\n" - .'不设置该参数表示默认资源组。', - 'type' => 'string', - 'required' => false, - 'example' => 'rg-acfm2pz25js****', - ], + 'schema' => ['description' => 'DDoS高防实例在资源管理服务中所属的资源组ID。'."\n" + ."\n" + .'不设置该参数表示默认资源组。', 'type' => 'string', 'required' => false, 'example' => 'rg-acfm2pz25js****'], ], [ - 'name' => 'PageNumber', + 'name' => 'Domain', 'in' => 'query', - 'schema' => [ - 'description' => '分页查询时,设置当前页面的页码。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '1', - ], + 'schema' => ['description' => '要设置区域封禁功能的域名。'."\n" + ."\n" + .'> 您可以调用[DescribeDomains](~~91724~~)查询所有已接入DDoS高防防护的域名。', 'type' => 'string', 'required' => true, 'example' => 'www.aliyundoc.com'], ], [ - 'name' => 'PageSize', + 'name' => 'Config', 'in' => 'query', - 'schema' => [ - 'description' => '分页查询时,设置每页包含异步导出任务的数量。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '10', - ], + 'schema' => ['description' => '区域封禁(针对域名)的开关状态。使用JSON结构体转化的字符串表示,JSON结构体包含以下参数:'."\n" + .'- **RegionblockEnable**:Integer类型,必选,区域封禁(针对域名)的开关状态。取值:'."\n" + .' - **1**:表示开启。'."\n" + .' - **0**:表示关闭。', 'type' => 'string', 'required' => true, 'example' => '{"RegionblockEnable": 1}'], ], ], 'responses' => [ @@ -19720,98 +17090,14 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'TotalCount' => [ - 'description' => '查询到的异步导出任务的总数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'RequestId' => [ - 'description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。', - 'type' => 'string', - 'example' => '6623EA1F-30FB-5BC8-BEC9-74D55F6F08F1', - ], - 'AsyncTasks' => [ - 'description' => '异步导出任务的详细信息。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'EndTime' => [ - 'description' => '任务结束时间。使用时间戳表示,单位:毫秒。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '157927362000', - ], - 'TaskType' => [ - 'description' => '任务类型。取值:'."\n" - .'- **1**:四层导出任务,表示导出DDoS高防实例的端口转发规则。'."\n" - .'- **2**:七层导出任务,表示导出网站业务转发规则。'."\n" - .'- **3**:会话、健康检查导出任务,表示导出DDoS高防实例的会话、健康检查配置。'."\n" - .'- **4**:DDoS防护策略导出任务,表示导出DDoS高防实例的DDoS防护策略配置。'."\n" - .'- **5**:黑名单(针对目的IP)下载任务,表示导出针对DDoS高防实例的黑名单IP。'."\n" - .'- **6**:白名单(针对目的IP)下载任务,表示导出针对DDoS高防实例的白名单IP。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '5', - ], - 'StartTime' => [ - 'description' => '任务开始时间。使用时间戳表示,单位:毫秒。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '156927362000', - ], - 'TaskParams' => [ - 'description' => '任务参数。使用JSON格式的字符串表达。不同**TaskType**的任务参数不完全相同。'."\n" - ."\n" - .'**TaskType**为**1**、**3**、**4**、**5**、**6**时,任务参数的结构如下:'."\n" - .'- **instanceId**:String类型,DDoS高防实例的ID。'."\n" - ."\n" - .'**TaskType**为**2**时,任务参数的结构如下:'."\n" - .'- **domain**:String类型,网站业务的域名。', - 'type' => 'string', - 'example' => '{"instanceId": "ddoscoo-cn-mp91j1ao****"}', - ], - 'TaskStatus' => [ - 'description' => '任务状态。取值:'."\n" - .'- **0**:表示任务初始化。'."\n" - .'- **1**:表示任务进行中。'."\n" - .'- **2**:表示任务成功。'."\n" - .'- **3**:表示任务失败。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'TaskResult' => [ - 'description' => '任务结果。使用JSON格式的字符串表达。不同**TaskType**的任务结果不完全相同。'."\n" - ."\n" - .'**TaskType**为**1**、**3**、**4**、**5**、**6**时,任务结果的结构如下:'."\n" - .'- **instanceId**:String类型,DDoS高防实例的ID。'."\n" - .'- **url**:String类型,导出文件的OSS下载地址。'."\n" - ."\n" - .'**TaskType**为**2**时,任务结果的结构如下:'."\n" - .'- **domain**:String类型,网站业务的域名。'."\n" - .'- **url**:String类型,导出文件的OSS下载地址。', - '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' => '任务ID。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - ], - ], - ], + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => '6623EA1F-30FB-5BC8-BEC9-74D55F6F08F1'], ], ], ], ], - '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":""}]', - 'title' => '查询异步导出任务详细信息', - 'summary' => '例如任务ID、任务开始和结束时间、任务状态、任务参数、任务结果等。', - 'description' => '本接口用于查询异步导出任务的详细信息,例如,任务ID、任务开始和结束时间、任务状态、任务参数、任务结果等。'."\n" + 'title' => '设置网站业务区域封禁开关状态', + 'summary' => '设置网站业务区域封禁(针对域名)的开关状态。', + 'description' => '本接口用于设置网站业务区域封禁(针对域名)的开关状态。'."\n" ."\n" .'### QPS限制'."\n" ."\n" @@ -19821,100 +17107,59 @@ .'调用API的请求格式,请参见本文**示例**中的请求示例。', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeSystemLog' => [ - 'summary' => '查询弹性业务带宽的账单详情。', - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:12.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyWebAreaBlockSwitch'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:ModifyWebAreaBlockSwitch', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6623EA1F-30FB-5BC8-BEC9-74D55F6F08F1\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 6623EA1F-30FB-5BC8-BEC9-74D55F6F08F1\\n","errorExample":""}]', + ], + 'ModifyWebCCGlobalSwitch' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', + 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeCode' => '106190', - 'abilityTreeNodes' => [ - 'FEATUREddosIJFWZ1', - ], - 'tenantRelevance' => 'publicInformation', + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '201506', + 'abilityTreeNodes' => ['FEATUREddosOZ1QOD'], ], 'parameters' => [ [ - 'name' => 'EntityType', - 'in' => 'query', - 'schema' => [ - 'description' => '要查询的系统日志的类型。取值固定为**20**,表示弹性业务带宽出账日志。'."\n" - ."\n" - .'> 必须设置该参数,否则会调用失败。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '20', - ], - ], - [ - 'name' => 'EntityObject', - 'in' => 'query', - 'schema' => [ - 'description' => '要查询的DDoS高防实例的IP地址。'."\n" - ."\n" - .'> 您可以调用[DescribeInstanceDetails](~~91490~~)查询DDoS高防实例的IP地址。', - 'type' => 'string', - 'required' => false, - 'example' => '203.107.XX.XX', - ], - ], - [ - 'name' => 'StartTime', - 'in' => 'query', - 'schema' => [ - 'description' => '设置起始时间,查询在该起始时间后出账的弹性业务带宽账单。使用时间戳表示,单位:毫秒。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1609430400000', - ], - ], - [ - 'name' => 'EndTime', - 'in' => 'query', - 'schema' => [ - 'description' => '设置结束时间,查询在该结束时间前出账的弹性业务带宽账单。使用时间戳表示,单位:毫秒。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1640966400000', - ], - ], - [ - 'name' => 'PageNumber', + 'name' => 'Domain', 'in' => 'query', - 'schema' => [ - 'description' => '分页查询时,设置当前页面的页码。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '1', - ], + 'schema' => ['description' => '网站业务的域名。'."\n" + .'> 域名必须已配置网站业务转发规则。您可以调用[DescribeDomains](~~91724~~)查询所有域名。'."\n", 'type' => 'string', 'required' => true, 'example' => 'example.aliyundoc.com'."\n"], ], [ - 'name' => 'PageSize', + 'name' => 'CcGlobalSwitch', 'in' => 'query', - 'schema' => [ - 'description' => '分页查询时,设置每页包含日志的数量。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '10', - ], + 'schema' => ['description' => '开关状态。取值:'."\n" + .'- **open**:开启'."\n" + .'- **close**:关闭', 'type' => 'string', 'required' => true, 'example' => 'open'], ], ], 'responses' => [ @@ -19922,188 +17167,100 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Total' => [ - 'description' => '查询到的弹性业务带宽出账日志的总数量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => '8BC3A33A-F832-58DB-952F-7682A25AD14C', - ], - 'SystemLog' => [ - 'description' => '弹性业务带宽出账日志的详情列表。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Status' => [ - 'description' => '账单的状态。取值:'."\n" - ."\n" - .'- **0**:表示待出账。'."\n" - .'- **1**:表示已出账。'."\n" - .'- **2**:表示终止出账。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'EntityType' => [ - 'description' => '系统日志的类型。取值固定为**20**,表示弹性业务带宽出账日志。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], - 'EntityObject' => [ - 'description' => 'DDoS高防实例的IP地址。', - 'type' => 'string', - 'example' => '203.107.XX.XX', - ], - 'GmtCreate' => [ - 'description' => '账单的创建时间。使用时间戳表示,单位:毫秒。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1631793531000', - ], - 'OpAction' => [ - 'description' => '操作类型。取值固定为**100**,表示新增弹性业务带宽出账记录。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '100', - ], - 'GmtModified' => [ - 'description' => '账单最后一次被修改的时间。使用时间戳表示,单位:毫秒。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1635425407000', - ], - 'OpAccount' => [ - 'description' => '账单所属阿里云账号的ID。', - 'type' => 'string', - 'example' => '171986973287****', - ], - 'OpDesc' => [ - 'description' => '账单详情。使用JSON结构体转化的字符串表示,JSON结构体包含以下字段:'."\n" - ."\n" - .'- **newEntity**:Object类型,表示账单记录,具体包含以下字段:'."\n" - ."\n" - .' - **billValue**:Integer类型 | 计费月份的弹性业务带宽用量,单位:Mbps。'."\n" - .' - **instanceId**:String类型 | DDoS高防实例的ID。'."\n" - .' - **ip**:String类型 | DDoS高防实例的IP地址。'."\n" - .' - **maxBw**:String类型 | 计费月份的实际业务流量峰值(月95峰值),单位:Mbps。'."\n" - .' - **month**:Long类型 | 账单出具月份(计费月份为账单出具月份的上个自然月),使用时间戳表示,单位:毫秒。'."\n" - .' - **overBandwidth**:Integer类型 | 实际业务流量峰值超出实例业务带宽规格的带宽大小,单位:Mbps。'."\n" - .' - **peakTime**:Long类型 | 实际业务流量峰值的计量时刻,使用时间戳表示,单位:秒。'."\n" - .' - **startTimestamp**:Long类型 | 实例业务流量峰值区间的起始时刻,使用时间戳表示,单位:秒。', - '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' => '本次调用请求的 ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。', 'type' => 'string', 'example' => '5AE2FC86-C840-41AE-9F1A-3A2747C7C1DF'], ], + 'description' => '', ], ], ], - '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":""}]', - 'title' => '获取系统日志', - 'description' => '本接口用于查询DDoS高防服务的系统日志。系统日志目前只包含弹性业务带宽的出账日志。'."\n" - ."\n" - .'如果您已经启用弹性业务带宽,可以调用本接口查询弹性业务带宽的账单详情。'."\n" - ."\n" - .'### QPS限制'."\n" - ."\n" - .'本接口的单用户QPS限制为10次/秒。超过限制,API调用将会被限流,这可能影响您的业务,请合理调用。', - 'requestParamsDescription' => '调用API时,除了本文中该API的请求参数,还需加入阿里云API公共请求参数。公共请求参数的详细介绍,请参见[公共参数](~~157269~~)。'."\n" - ."\n" - .'调用API的请求格式,请参见本文**示例**中的请求示例。', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'DescribeElasticQps' => [ - 'summary' => '查询DDoS高防实例弹性QPS账单曲线图。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '设置网站业务CC安全防护模块的开关状态', + 'summary' => '本接口用于设置网站业务CC安全防护模块的开关状态。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:ModifyWebCCGlobalSwitch', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', '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' => false, + 'deprecated' => true, 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '172965', - 'abilityTreeNodes' => [ - 'FEATUREddosIJFWZ1', - ], + 'operationType' => 'update', + 'abilityTreeCode' => '106267', + 'abilityTreeNodes' => ['FEATUREddosOZ1QOD'], ], 'parameters' => [ [ - 'name' => 'Region', + 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => '服务地域。取值:'."\n" - .'- **cn**:中国内地。'."\n" - .'- **cn-hongkong**:非中国内地。', - 'type' => 'string', - 'required' => true, - 'example' => 'cn', - ], + 'schema' => ['description' => 'DDoS高防实例在资源管理产品中所属的资源组ID。默认为空,即属于默认资源组。', 'type' => 'string', 'required' => false, 'example' => 'default'], ], [ - 'name' => 'Ip', + 'name' => 'Domain', 'in' => 'query', - 'schema' => [ - 'description' => '要查询的DDoS高防实例的IP地址。', - 'type' => 'string', - 'required' => false, - 'example' => '203.107.XX.XX'."\n", - ], + 'schema' => ['description' => '网站业务的域名。'."\n" + .'> 域名必须已配置网站业务转发规则。您可以调用[DescribeDomains](~~91724~~)查询所有域名。', 'type' => 'string', 'required' => true, 'example' => 'www.aliyun.com'], ], [ - 'name' => 'StartTime', + 'name' => 'Name', 'in' => 'query', - 'schema' => [ - 'description' => '查询开始时间。时间戳格式,单位:秒。'."\n" - .'> 必须为整点分钟。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1684252800', - ], + 'schema' => ['description' => '规则名称。', 'type' => 'string', 'required' => true, 'example' => 'testrule'], ], [ - 'name' => 'EndTime', + 'name' => 'Act', 'in' => 'query', - 'schema' => [ - 'description' => '查询结束时间。时间戳格式,单位:秒。'."\n" - .'> 必须为整点分钟。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1684339200', - ], + 'schema' => ['description' => '阻断类型。取值:'."\n" + .'- **close**:封禁'."\n" + .'- **captcha**:人机识别', 'type' => 'string', 'required' => true, 'example' => 'close'], + ], + [ + 'name' => 'Count', + 'in' => 'query', + 'schema' => ['description' => '单一IP访问次数。取值范围:**2**~**2000**。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '3'], ], [ 'name' => 'Interval', 'in' => 'query', - 'schema' => [ - 'description' => '采样间隔,单位:秒。必须是60秒的倍数,默认60s。返回结果可缩放。', - 'type' => 'string', - 'required' => false, - 'example' => '60', - 'default' => '3600', - ], + 'schema' => ['description' => '检测时长。取值范围:**5**~**10800**,单位:秒。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '30'], + ], + [ + 'name' => 'Mode', + 'in' => 'query', + 'schema' => ['description' => '匹配模式。取值:'."\n" + .'- **prefix**:前缀匹配'."\n" + .'- **match**:完全匹配', 'type' => 'string', 'required' => true, 'example' => 'prefix'], + ], + [ + 'name' => 'Ttl', + 'in' => 'query', + 'schema' => ['description' => '封禁时长。取值范围:**60**~**86400**,单位:秒。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '60'], + ], + [ + 'name' => 'Uri', + 'in' => 'query', + 'schema' => ['description' => '检测路径。'."\n" + .'> URI不支持修改。网站业务的域名,检测路径,规则名称唯一确定一条规则。', 'type' => 'string', 'required' => true, 'example' => '/abc'], ], ], 'responses' => [ @@ -20111,142 +17268,80 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。', - 'type' => 'string', - 'example' => '2E7F7F7B-39A8-5D92-BAB4-D89D9DCE7D4F', - ], - 'ElasticQps' => [ - 'description' => '弹性QPS列表。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'MaxNormalQps' => [ - 'description' => '正常业务QPS峰值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '23', - ], - 'Index' => [ - 'description' => '返回数据的索引。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'MaxQps' => [ - 'description' => '最大入QPS峰值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '100', - ], - 'Pv' => [ - 'description' => '步长内总请求数量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '15104', - ], - 'Ups' => [ - 'description' => '步长时间内总的回源请求数量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1223', - ], - 'Status2' => [ - 'description' => '步长内2xx总量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '455', - ], - 'Status3' => [ - 'description' => '步长内3xx总量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '100', - ], - 'Status4' => [ - 'description' => '步长内4xx总量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '34', - ], - 'Status5' => [ - 'description' => '步长内5xx总量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - ], - ], - ], + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc'], ], ], ], ], 'staticInfo' => [ - 'returnType' => 'synchronous', + 'substitutions' => ['ddoscoo::2020-01-01::ConfigWebCCRuleV2'], ], - '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' => '查询DDoS高防实例弹性QPS账单曲线图', - ], - 'DescribeElasticQpsRecord' => [ - 'summary' => '查询实例弹性QPS详情。', - 'methods' => [ - 'post', - 'get', + 'title' => '编辑网站业务CC防护自定义规则', + 'summary' => '编辑网站业务频率控制防护(CC防护)的自定义规则。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:12.000Z', 'description' => '错误码发生变更'], + ], + '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' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + '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":""}]', + ], + 'ModifyWebCacheCustomRule' => [ + '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' => '106264', + 'abilityTreeNodes' => ['FEATUREddosOZ1QOD'], ], 'parameters' => [ [ - 'name' => 'StartTime', + 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => '开始时间。格式为时间戳,单位:毫秒。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1684252800000', - ], + 'schema' => ['description' => 'DDoS高防实例在资源管理产品中所属的资源组ID。默认为空,即属于默认资源组。', 'type' => 'string', 'required' => false, 'example' => 'default'], ], [ - 'name' => 'EndTime', + 'name' => 'Domain', 'in' => 'query', - 'schema' => [ - 'description' => '结束时间。格式为时间戳,单位:毫秒。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1688140799999', - ], + 'schema' => ['description' => '网站业务的域名。'."\n" + .'> 域名必须已配置网站业务转发规则且关联了增强功能套餐的DDoS高防实例。您可以调用[DescribeDomains](~~91724~~)查询所有域名。', 'type' => 'string', 'required' => true, 'example' => 'www.aliyun.com'], ], [ - 'name' => 'Ip', + 'name' => 'Rules', 'in' => 'query', - 'schema' => [ - 'description' => '要查询的DDoS高防实例的IP地址。', - 'type' => 'string', - 'required' => true, - 'example' => '203.107.XX.XX'."\n", - ], + 'schema' => ['description' => '静态页面缓存的自定义规则信息,使用JSON格式的字符串表述,具体结构如下。'."\n" + .'- **Name**:String类型,必选,规则名称。'."\n" + .'- **Uri**:String类型,必选,缓存页面的路径。'."\n" + .'- **Mode**:String类型,必选,缓存模式。取值:'."\n" + .' - **standard**:标准模式'."\n" + .' - **aggressive**:强力模式'."\n" + .' - **bypass**:不缓存'."\n" + .'- **CacheTtl**:Integer类型,必选,页面缓存的过期时间。单位:秒。', 'type' => 'string', 'required' => true, 'example' => '[{"Name": "test","Uri": "/a","Mode": "standard","CacheTtl": 3600}]'], ], ], 'responses' => [ @@ -20254,95 +17349,42 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。', - 'type' => 'string', - 'example' => 'F68B34E2-570C-508D-95FD-DFB6611D518F', - ], - 'ElasticQpsList' => [ - 'description' => '实例QPS信息。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'OpsElasticQps' => [ - 'description' => '弹性QPS值,0表示未开启。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '300000', - ], - 'Ip' => [ - 'description' => 'DDoS高防实例的IP。', - 'type' => 'string', - 'example' => '203.***.***.199', - ], - 'OriginQps' => [ - 'description' => '业务QPS(购买)。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1345', - ], - 'Date' => [ - 'description' => '时间。单位:毫秒。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1688140799999'."\n", - ], - 'InstanceId' => [ - 'description' => 'DDoS高防实例的ID。', - 'type' => 'string', - 'example' => 'ddoscoo-cn-7e225i41****'."\n", - ], - 'Qps' => [ - 'description' => '日95峰值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '4367', - ], - 'QpsPeak' => [ - 'description' => '日峰值流量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '122', - ], - 'Status' => [ - 'description' => '实例售卖状态,取值:'."\n" - ."\n" - .'- **1**:正常'."\n" - .'- **2**:过期'."\n" - .'- **4**:释放', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'OpsQps' => [ - 'description' => '业务QPS(实际运行)。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1345', - ], - ], - ], - ], + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc'], ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'title' => '设置网站业务静态页面缓存的自定义规则', + 'summary' => '设置网站业务静态页面缓存的自定义规则。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:12.000Z', 'description' => '错误码发生变更'], ], - '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' => '查询实例弹性QPS详情', - ], - 'CreateTagResources' => [ - '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' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + '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":""}]', + ], + 'ModifyWebCacheMode' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -20351,93 +17393,106 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'create', - 'abilityTreeCode' => '106073', - 'abilityTreeNodes' => [ - 'FEATUREddosMHU3MF', - ], + 'operationType' => 'update', + 'abilityTreeCode' => '106265', + 'abilityTreeNodes' => ['FEATUREddosM9SQC1'], ], 'parameters' => [ [ - 'name' => 'RegionId', + 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => 'DDoS高防实例所属地域ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'DDoS高防实例在资源管理产品中所属的资源组ID。默认为空,即属于默认资源组。', 'type' => 'string', 'required' => false, 'example' => 'default'], ], [ - 'name' => 'ResourceGroupId', + 'name' => 'Domain', 'in' => 'query', - 'schema' => [ - 'description' => 'DDoS高防实例在资源管理服务中所属的资源组ID。'."\n" - ."\n" - .'不设置该参数表示默认资源组。', - 'type' => 'string', - 'required' => false, - 'example' => 'rg-acfm2pz25js****', - ], + 'schema' => ['description' => '网站业务的域名。'."\n" + .'> 域名必须已配置网站业务转发规则且关联了增强功能套餐的DDoS高防实例。您可以调用[DescribeDomains](~~91724~~)查询所有域名。', 'type' => 'string', 'required' => true, 'example' => 'www.aliyun.com'], ], [ - 'name' => 'ResourceType', + 'name' => 'Mode', 'in' => 'query', + 'schema' => ['description' => '静态页面缓存的模式。取值:'."\n" + .'- **standard**:标准模式'."\n" + .'- **aggressive**:强力模式'."\n" + .'- **bypass**:不缓存', 'type' => 'string', 'required' => true, 'example' => 'standard'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '资源类型。取值固定为**INSTANCE**,表示DDoS高防实例。', - 'type' => 'string', - 'required' => true, - 'example' => 'INSTANCE', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc'], + ], ], ], + ], + 'title' => '设置网站业务静态页面缓存的缓存模式', + 'summary' => '设置网站业务静态页面缓存的缓存模式。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:12.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyWebCacheMode'], + ], + ], + 'ramActions' => [ [ - 'name' => 'ResourceIds', - 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => '要绑定标签的DDoS高防实例的ID列表。', - 'type' => 'array', - 'items' => [ - 'description' => '要绑定标签的DDoS高防实例的ID。'."\n" - ."\n" - .'> 您可以调用[DescribeInstanceIds](~~157459~~)查询所有DDoS高防实例的ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'ddoscoo-cn-mp91j1ao****', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:ModifyWebCacheMode', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], ], - 'required' => true, - 'example' => 'ddoscoo-cn-mp91j1ao****', - 'maxItems' => 51, ], ], + ], + '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":""}]', + ], + 'ModifyWebCacheSwitch' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'Tags', + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'abilityTreeCode' => '106266', + 'abilityTreeNodes' => ['FEATUREddosOZ1QOD'], + ], + 'parameters' => [ + [ + 'name' => 'ResourceGroupId', 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => '要绑定的标签列表。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Key' => [ - 'description' => '要绑定的标签键。', - 'type' => 'string', - 'required' => false, - 'example' => 'testkey', - ], - 'Value' => [ - 'description' => '要绑定的标签值。', - 'type' => 'string', - 'required' => false, - 'example' => 'testvalue', - ], - ], - 'required' => false, - ], - 'required' => false, - 'maxItems' => 21, - ], + 'schema' => ['description' => 'DDoS高防实例在资源管理服务中所属的资源组ID。'."\n" + ."\n" + .'不设置该参数表示默认资源组。'."\n", 'type' => 'string', 'required' => false, 'example' => 'rg-acfm2pz25js****'], + ], + [ + 'name' => 'Domain', + 'in' => 'query', + 'schema' => ['description' => '要设置静态页面缓存的域名。'."\n" + ."\n" + .'> 您可以调用[DescribeDomains](~~91724~~)查询所有已接入DDoS高防防护的域名。', 'type' => 'string', 'required' => true, 'example' => 'www.aliyundoc.com'], + ], + [ + 'name' => 'Enable', + 'in' => 'query', + 'schema' => ['description' => '设置静态页面缓存的开关状态。取值:'."\n" + ."\n" + .'- **1**:表示开启。'."\n" + .'- **0**:表示关闭。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1'], ], ], 'responses' => [ @@ -20445,19 +17500,14 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => 'C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E', - ], + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => '6623EA1F-30FB-5BC8-BEC9-74D55F6F08F1'], ], ], ], ], - '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' => '为资源关联标签', - 'summary' => '为DDoS高防实例绑定标签。', - 'description' => '本接口用于批量为DDoS高防实例绑定标签。'."\n" + 'title' => '设置网站业务静态页面缓存的开关状态', + 'summary' => '设置网站业务静态页面缓存的开关状态。', + 'description' => '本接口用于设置网站业务静态页面缓存的开关状态。'."\n" ."\n" .'### QPS限制'."\n" ."\n" @@ -20467,16 +17517,32 @@ .'调用API的请求格式,请参见本文**示例**中的请求示例。', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DeleteTagResources' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:12.000Z', 'description' => '错误码发生变更'], + ], + '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' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6623EA1F-30FB-5BC8-BEC9-74D55F6F08F1\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 6623EA1F-30FB-5BC8-BEC9-74D55F6F08F1\\n","errorExample":""}]', + ], + 'ModifyWebIpSetSwitch' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -20485,94 +17551,129 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'delete', - 'abilityTreeCode' => '106087', - 'abilityTreeNodes' => [ - 'FEATUREddosMHU3MF', - ], + 'operationType' => 'update', + 'abilityTreeCode' => '106268', + 'abilityTreeNodes' => ['FEATUREddosI8LHMA'], ], 'parameters' => [ [ - 'name' => 'RegionId', + 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => 'DoS高防实例所属地域ID。取值固定为**cn-hangzhou**,表示中国内地,即DDoS高防(中国内地)服务。', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'DDoS高防实例在资源管理产品中所属的资源组ID。默认为空,即属于默认资源组。', 'type' => 'string', 'required' => false, 'example' => 'default'], ], [ - 'name' => 'ResourceGroupId', + 'name' => 'Domain', 'in' => 'query', - 'schema' => [ - 'description' => 'DDoS高防实例在资源管理服务中所属的资源组ID。'."\n" - ."\n" - .'不设置该参数表示默认资源组。', - 'type' => 'string', - 'required' => false, - 'example' => 'rg-acfm2pz25js****', - ], + 'schema' => ['description' => '网站业务的域名。'."\n" + .'> 域名必须已配置网站业务转发规则。您可以调用[DescribeDomains](~~91724~~)查询所有域名。', 'type' => 'string', 'required' => true, 'example' => 'www.aliyun.com'], ], [ - 'name' => 'ResourceType', + 'name' => 'Config', 'in' => 'query', + 'schema' => ['description' => '黑白名单(针对域名)的详细信息,使用JSON格式的字符串表述,具体结构如下。'."\n" + ."\n" + .' **bwlist_enable**:Integer类型,必选,黑白名单(针对域名)功能的开关状态。取值:'."\n" + ."\n" + .'- 0:关闭'."\n" + .'- 1:开启', 'type' => 'string', 'required' => true, 'example' => '{"bwlist_enable":1}'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '资源类型。取值固定为**INSTANCE**,表示DDoS高防实例。', - 'type' => 'string', - 'required' => true, - 'example' => 'INSTANCE', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。', 'type' => 'string', 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc'], + ], ], ], + ], + 'title' => '设置网站业务黑白名单开关状态', + 'summary' => '设置网站业务黑白名单(针对域名)的开关状态。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:12.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyWebIpSetSwitch'], + ], + ], + 'ramActions' => [ [ - 'name' => 'All', - 'in' => 'query', - 'schema' => [ - 'description' => '是否移除资源上的所有标签。取值:'."\n" - .'- **true**:表示是。'."\n" - .'- **false**(默认):表示否。', - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:ModifyWebIpSetSwitch', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], + ], + '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":""}]', + ], + 'ModifyWebPreciseAccessRule' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'abilityTreeCode' => '106269', + 'abilityTreeNodes' => ['FEATUREddosCRC1QI'], + ], + 'parameters' => [ [ - 'name' => 'ResourceIds', + 'name' => 'ResourceGroupId', 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => '要移除标签的DDoS高防实例的ID列表。', - 'type' => 'array', - 'items' => [ - 'description' => '要移除标签的DDoS高防实例的ID。'."\n" - ."\n" - .'> 您可以调用[DescribeInstanceIds](~~157459~~)查询所有DDoS高防实例的ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'ddoscoo-cn-zvp2eibz****', - ], - 'required' => true, - 'example' => 'ddoscoo-cn-mp91j1ao****', - 'maxItems' => 51, - ], + 'schema' => ['description' => 'DDoS高防实例在资源管理产品中所属的资源组ID。默认为空,即属于默认资源组。', 'type' => 'string', 'required' => false, 'example' => 'rg-acfm2pz25js****'], ], [ - 'name' => 'TagKey', + 'name' => 'Domain', 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => '要移除的标签键列表。', - 'type' => 'array', - 'items' => [ - 'description' => '要移除的标签键。', - 'type' => 'string', - 'required' => false, - 'example' => 'doc-test-key', - ], - 'required' => false, - 'example' => 'testkey', - 'maxItems' => 21, - ], + 'schema' => ['description' => '网站业务的域名。'."\n" + .'> 域名必须已配置网站业务转发规则。您可以调用[DescribeDomains](~~91724~~)查询所有域名。', 'type' => 'string', 'required' => true, 'example' => 'example.aliyundoc.com'], + ], + [ + 'name' => 'Rules', + 'in' => 'query', + 'schema' => ['description' => '精确访问控制规则的配置,使用JSON格式的字符串表述,具体结构如下。'."\n" + .'- **action**:String类型,必选,匹配动作。取值:'."\n" + .' - **accept**:放行'."\n" + .' - **block**:封禁'."\n" + .' - **challenge**:挑战'."\n" + .' - **watch**:观察'."\n" + .'- **name**:String类型,必选,规则名称。'."\n" + .'- **condition**:Map类型,必选,匹配条件。具体结构如下。'."\n" + ."\n" + .' > 如果设置了多个匹配条件,则多个条件间是且的关系。'."\n" + ."\n" + .' - **field**:String类型,必选,匹配字段。'."\n" + .' - **match_method**:String类型,必选,匹配方法。'."\n" + .' '."\n" + .' > 关于**field**和**match_method**的取值,请参见请求参数表下的补充描述。'."\n" + ."\n" + .' - **content**:String类型,匹配内容,与content_list只能同时填一个。'."\n" + .' - **content_list**:String类型,匹配内容列表,与content只能同时填一个。'."\n" + .' > 关于**match_method**和**content、content_list**的取值,请参见请求参数表下的补充描述。'."\n" + .'- **header_name**:String类型,可选,头部字段名称。仅在**field**为**header**时生效。'."\n" + .'- **case_insensitive**:Bool类型,可选,默认false。取值:'."\n" + .' - **false**:大小写敏感'."\n" + .' - **true**:大小写不敏感', 'type' => 'string', 'required' => true, 'example' => '[{"action":"block","name":"testrule","condition":[{"field":"uri","match_method":"contain","content":"/test/123"}]}]'], + ], + [ + 'name' => 'Expires', + 'in' => 'query', + 'schema' => ['description' => '规则有效期。单位:秒。规则的匹配动作为阻断时(**action**为**block**)生效,在规则有效期内阻断访问请求。不传入该参数表示永久生效。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '600'], ], ], 'responses' => [ @@ -20580,40 +17681,78 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => '6623EA1F-30FB-5BC8-BEC9-74D55F6F08F1', - ], + 'RequestId' => ['description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。', 'type' => 'string', 'example' => 'F908E959-ADA8-4D7B-8A05-FF2F67F50964'], ], + 'description' => '', ], ], ], - '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' => '为资源移除标签', - 'summary' => '为DDoS高防(中国内地)实例移除标签。', - 'description' => '本接口用于为DDoS高防(中国内地)实例移除标签。'."\n" - ."\n" - .'> 只有DDoS高防(中国内地)服务支持标签功能。'."\n" - ."\n" - .'### QPS限制'."\n" + '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' => '创建或编辑网站业务精确访问控制规则', + 'summary' => '创建或编辑网站业务精确访问控制规则。', + 'requestParamsDescription' => '**field和match_method的取值及对应关系**'."\n" ."\n" - .'本接口的单用户QPS限制为10次/秒。超过限制,API调用将会被限流,这可能影响您的业务,请合理调用。', - 'requestParamsDescription' => '调用API时,除了本文中该API的请求参数,还需加入阿里云API公共请求参数。公共请求参数的详细介绍,请参见[公共参数](~~157269~~)。'."\n" + .'| 匹配字段(field) | 描述 | 适用的逻辑符(match_method) |'."\n" + .'|-----------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------|'."\n" + .'| **ip** | 访问请求的来源IP。 | **belong** :属于
**nbelong** :不属于
**ipinlist** :在列表中
**ipninlist** :不属于列表 |'."\n" + .'| **uri** | 访问请求的URI地址。 | **contain** :包含
**ncontain** :不包含
**equal** :等于
**nequal** :不等于
**lless** :长度小于
**lequal** :长度等于
**lgreat** :长度大于
**prefix** :前缀匹配
**inlist** :等于多值之一
**ninlist** :不等于多值之一
'."\n" + .'| **referer** | 访问请求的来源网址,即该访问请求是从哪个页面跳转产生的。 | **contain** :包含
**ncontain** :不包含
**equal** :等于
**nequal** :不等于
**lless** :长度小于
**lequal** :长度等于
**lgreat** :长度大于
**nexist** :不存在
**inlist** :等于多值之一
**ninlist** :不等于多值之一
|'."\n" + .'| **user-agent** | 发起访问请求的客户端的浏览器标识、渲染引擎标识和版本信息等浏览器相关信息。 | **contain** :包含
**ncontain** :不包含
**equal** :等于
**nequal** :不等于
**lless** :长度小于
**lequal** :长度等于
**lgreat** :长度大于

**inlist** :等于多值之一
**ninlist** :不等于多值之一
|'."\n" + .'| **params** | 访问请求的URL地址中的参数部分,通常指URL中”?”后面的部分。例如,`demo.aliyundoc.com/index.html?action=login`中的`action=login`就是参数部分。 | **contain** :包含
**ncontain** :不包含
**equal** :等于
**nequal** :不等于
**lless** :长度小于
**lequal** :长度等于
**lgreat** :长度大于
**inlist** :等于多值之一
**ninlist** :不等于多值之一
|'."\n" + .'| **cookie** | 访问请求中的Cookie信息。 | **contain** :包含
**ncontain** :不包含
**equal** :等于
**nequal** :不等于
**lless** :长度小于
**lequal** :长度等于
**lgreat** :长度大于
**nexist** :不存在
**inlist** :等于多值之一
**ninlist** :不等于多值之一
|'."\n" + .'| **content-type** | 访问请求指定的响应HTTP内容类型,即MIME类型信息。 | **contain** :包含
**ncontain** :不包含
**equal** :等于
**nequal** :不等于
**lless** :长度小于
**lequal** :长度等于
**lgreat** :长度大于
**inlist** :等于多值之一
**ninlist** :不等于多值之一
|'."\n" + .'| **x-forwarded-for** | 访问请求的客户端真实IP。X-Forwarded-For(XFF)用来识别通过HTTP代理或负载均衡方式转发的访问请求的客户端最原始的IP地址的HTTP请求头字段,只有通过HTTP代理或者负载均衡服务器转发的访问请求才会包含该项。 | **contain** :包含
**ncontain** :不包含
**equal** :等于
**nequal** :不等于
**lless** :长度小于
**lequal** :长度等于
**lgreat** :长度大于
**nexist** :不存在
**inlist** :等于多值之一
**ninlist** :不等于多值之一
|'."\n" + .'| **content-length** | 访问请求的所包含的字节数。 | **vless** :值小于
**vequal** :值等于
**vgreat** :值大于 |'."\n" + .'| **post-body** | 访问请求的内容信息。 | **contain** :包含
**ncontain** :不包含
**equal** :等于
**nequal** :不等于

**inlist** :等于多值之一
**ninlist** :不等于多值之一
|'."\n" + .'| **http-method** | 访问请求的方法,如GET、POST等。 | **equal** :等于
**nequal** :不等于
**inlist** :等于多值之一
**ninlist** :不等于多值之一
|'."\n" + .'| **header** | 访问请求的头部信息,用于自定义HTTP头部字段。 | **contain** :包含
**ncontain** :不包含
**equal** :等于
**nequal** :不等于
**lless** :长度小于
**lequal** :长度等于
**lgreat** :长度大于
**nexist** :不存在
**inlist** :等于多值之一
**ninlist** :不等于多值之一
|'."\n" + .'| **ja3-fingerprint** | ja3指纹。 | **equal** :等于
**nequal** :不等于
**inlist** :等于多值之一
**ninlist** :不等于多值之一
|'."\n" + .'| **ja4-fingerprint** | ja4指纹。 | **equal** :等于
**nequal** :不等于
**inlist** :等于多值之一
**ninlist** :不等于多值之一
|'."\n" + .'| **tls-fingerprint** | 客户端TLS指纹。 | **equal** :等于
**nequal** :不等于
**inlist** :等于多值之一
**ninlist** :不等于多值之一
|'."\n" + .'| **http2-fingerprint** | HTTP2.0 指纹。 | **equal** :等于
**nequal** :不等于
**inlist** :等于多值之一
**ninlist** :不等于多值之一
|'."\n" + .'| **scheme** | HTTP/HTTPS协议。 | **equal** :等于
**nequal** :不等于
|'."\n" + .'| **protocol** | HTTP版本。 | **equal** :等于
**nequal** :不等于
**inlist** :等于多值之一
**ninlist** :不等于多值之一
|'."\n" + ."\n\n" + .'**match_method和content、content_list的取值及对应关系**'."\n" ."\n" - .'调用API的请求格式,请参见本文**示例**中的请求示例。', + .'| 逻辑符(match_method) | 描述 | 适用的匹配内容(content或content_list) |'."\n" + .'|-----------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------|'."\n" + .'| **inlist** | 等于多值之一。 | **content_list** :匹配内容列表
|'."\n" + .'| **ninlist** | 不等于多值之一。 | **content_list** :匹配内容列表
|'."\n" + .'| **equal** | 等于。 | **content** :匹配内容
|'."\n" + .'| **nequal** | 不等于。 | **content** :匹配内容
|'."\n" + .'| **contain** | 包含。 | **content** :匹配内容
|'."\n" + .'| **ncontain** | 不包含。 | **content** :匹配内容
|'."\n" + .'| **lless** | 长度小于。 | **content** :匹配内容
|'."\n" + .'| **lequal** | 长度等于。 | **content** :匹配内容
|'."\n" + .'| **lgreat** | 长度大于。 | **content** :匹配内容
|', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeTagKeys' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:12.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyWebPreciseAccessRule'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:ModifyWebPreciseAccessRule', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'ModifyWebPreciseAccessSwitch' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -20622,67 +17761,29 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeCode' => '106191', - 'abilityTreeNodes' => [ - 'FEATUREddos64TBV6', - 'FEATUREddosMHU3MF', - ], + 'operationType' => 'update', + 'abilityTreeCode' => '106270', + 'abilityTreeNodes' => ['FEATUREddosOZ1QOD'], ], 'parameters' => [ - [ - 'name' => 'RegionId', - 'in' => 'query', - 'schema' => [ - 'description' => 'DDoS高防实例所属地域ID。取值固定为**cn-hangzhou**,表示中国内地,即DDoS高防(中国内地)服务。', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], - ], [ 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => 'DDoS高防实例在资源管理服务中所属的资源组ID。'."\n" - ."\n" - .'不设置该参数表示默认资源组。', - 'type' => 'string', - 'required' => false, - 'example' => 'rg-acfm2pz25js****', - ], - ], - [ - 'name' => 'ResourceType', - 'in' => 'query', - 'schema' => [ - 'description' => '资源类型。取值固定为**INSTANCE**,表示DDoS高防实例。', - 'type' => 'string', - 'required' => true, - 'example' => 'INSTANCE', - ], + 'schema' => ['description' => 'DDoS高防实例在资源管理产品中所属的资源组ID。默认为空,即属于默认资源组。', 'type' => 'string', 'required' => false, 'example' => 'default'], ], [ - 'name' => 'PageSize', + 'name' => 'Domain', 'in' => 'query', - 'schema' => [ - 'description' => '分页查询时,设置每页包含标签键的数量。默认值为**10**。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '10', - ], + 'schema' => ['description' => '网站业务的域名。'."\n" + .'> 域名必须已配置网站业务转发规则。您可以调用[DescribeDomains](~~91724~~)查询所有域名。', 'type' => 'string', 'required' => true, 'example' => 'www.aliyun.com'], ], [ - 'name' => 'PageNumber', + 'name' => 'Config', 'in' => 'query', - 'schema' => [ - 'description' => '分页查询时,设置当前页面的页码。默认值为**1**。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => '精确访问控制的开关状态配置,使用JSON格式的字符串表述,具体结构如下。'."\n" + .'- **PreciseRuleEnable**:Integer类型,必选,精确访问控制的开关状态。取值:'."\n" + .' - **0**:关闭'."\n" + .' - **1**:开启', 'type' => 'string', 'required' => true, 'example' => '{"PreciseRuleEnable":0}'], ], ], 'responses' => [ @@ -20690,78 +17791,43 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => '6623EA1F-30FB-5BC8-BEC9-74D55F6F08F1', - ], - 'PageNumber' => [ - 'description' => '当前页面的页码。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'PageSize' => [ - 'description' => '每页包含标签键的数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'TotalCount' => [ - 'description' => '查询到的标签键的总数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'TagKeys' => [ - 'description' => '标签键详情列表。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'TagCount' => [ - 'description' => '标签键关联的DDoS高防(中国内地)实例的数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'TagKey' => [ - 'description' => '标签键。', - 'type' => 'string', - 'example' => 'aa1', - ], - ], - ], - ], + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => '0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc'], ], ], ], ], - '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' => '查询所有标签键', - 'summary' => '查询所有标签键及标签键关联的DDoS高防(中国内地)实例的数量。', - 'description' => '本接口用于分页查询所有标签键及标签键关联的DDoS高防(中国内地)实例的数量。'."\n" - ."\n" - .'> 只有DDoS高防(中国内地)服务支持标签功能。'."\n" - ."\n" - .'### QPS限制'."\n" - ."\n" - .'本接口的单用户QPS限制为10次/秒。超过限制,API调用将会被限流,这可能影响您的业务,请合理调用。', - 'requestParamsDescription' => '调用API时,除了本文中该API的请求参数,还需加入阿里云API公共请求参数。公共请求参数的详细介绍,请参见[公共参数](~~157269~~)。'."\n" - ."\n" - .'调用API的请求格式,请参见本文**示例**中的请求示例。', + 'title' => '设置网站业务精确访问控制的开关状态', + 'summary' => '设置网站业务精确访问控制的开关状态。', + 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeTagResources' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:34:12.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyWebPreciseAccessSwitch'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:ModifyWebPreciseAccessSwitch', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + '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":""}]', + ], + 'ModifyWebRule' => [ + 'summary' => '修改已经创建的网站业务转发规则。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -20770,109 +17836,86 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeCode' => '106192', - 'abilityTreeNodes' => [ - 'FEATUREddos64TBV6', - 'FEATUREddosMHU3MF', - ], + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '106271', + 'abilityTreeNodes' => ['FEATUREddosN7DYCX'], ], 'parameters' => [ [ - 'name' => 'RegionId', + 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => 'DDoS高防实例所属地域ID。取值固定为**cn-hangzhou**,表示中国内地,即DDoS高防(中国内地)实例。', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'DDoS高防实例在资源管理服务中所属的资源组ID。默认为空,即属于默认资源组。'."\n" + ."\n" + .'关于资源组的更多信息,请参见[创建资源组](~~94485~~)。', 'type' => 'string', 'required' => false, 'example' => 'rg-acfm2pz25js****'], ], [ - 'name' => 'ResourceGroupId', + 'name' => 'Domain', 'in' => 'query', - 'schema' => [ - 'description' => 'DDoS高防实例在资源管理服务中所属的资源组ID。'."\n" - ."\n" - .'不设置该参数表示默认资源组。', - 'type' => 'string', - 'required' => false, - 'example' => 'rg-acfm2pz25js****', - ], + 'schema' => ['description' => '要操作的网站业务的域名。'."\n" + ."\n" + .'> 域名必须已经配置过网站业务转发规则。您可以调用[DescribeDomains](~~91724~~)查询所有已经配置过网站业务转发规则的域名。', 'type' => 'string', 'required' => true, 'example' => 'www.aliyun.com'], ], [ - 'name' => 'ResourceType', + 'name' => 'ProxyTypes', 'in' => 'query', - 'schema' => [ - 'description' => '资源类型。取值固定为**INSTANCE**,表示DDoS高防实例。', - 'type' => 'string', - 'required' => true, - 'example' => 'INSTANCE', - ], + 'schema' => ['description' => '网站业务转发规则的协议信息。使用JSON数组转化的字符串格式表示。JSON数组中的每个元素是一个JSON结构体,包含以下字段:'."\n" + ."\n" + .'- **ProxyType**:String类型 | 必选 | 网站协议类型。取值:**http** | **https** | **websocket** | **websockets**。'."\n" + .'- **ProxyPorts**:array类型 | 必选 | 协议对应的端口号。', 'type' => 'string', 'required' => true, 'example' => '[{"ProxyType":"https","ProxyPorts":[443]}]'], ], [ - 'name' => 'NextToken', + 'name' => 'RsType', 'in' => 'query', - 'schema' => [ - 'description' => '查询凭证(Token)。取值为上一次调用本接口返回的**NextToken**参数值。'."\n" - ."\n" - .'> 初次调用本接口时无需设置该参数。', - 'type' => 'string', - 'required' => false, - 'example' => 'RGuYpqDdKhzXb8C3.D1BwQgc1tMBsoxdGiEKHHUUCf****', - ], + 'schema' => ['description' => '源站服务器的地址类型。取值:'."\n" + ."\n" + .'- **0**:表示源站服务器的IP地址。'."\n" + .'- **1**:表示源站服务器的域名地址。通常适用于源站和高防之间还部署有其他代理服务(例如WAF)的场景,具体指代理服务的跳转地址(例如WAF CNAME地址)。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '0'], ], [ - 'name' => 'ResourceIds', + 'name' => 'HttpsExt', + 'in' => 'query', + 'schema' => ['description' => 'HTTPS高级设置,仅在网站协议类型支持HTTPS(**ProxyType**包含**https**)时生效。使用JSON结构体转化的字符串格式表示,JSON结构体包含以下字段:'."\n" + ."\n" + .'- **Http2https**:Integer类型 | 可选 | 是否开启HTTPS的强制跳转功能,取值:**0**(表示关闭) | **1**(表示开启),默认关闭。'."\n" + ."\n" + .' 适用于您的网站同时支持HTTP和HTTPS协议。开启该设置后,所有HTTP请求将强制转换为HTTPS请求,且默认跳转到443端口。'."\n" + ."\n" + .'- **Https2http**:Integer类型 | 可选 | 是否开启HTTP回源功能,取值:**0**(表示关闭) | **1**(表示开启),默认关闭。'."\n" + ."\n" + .' 适用于您的网站不支持HTTPS回源。开启该设置后,所有HTTPS协议请求将通过HTTP回源(Websockets协议会通过Websocket回源),且默认回源端口为80。'."\n" + ."\n" + .'- **Http2**:Integer类型 | 可选 | 是否启用HTTP2.0协议类型,取值:**0**(表示关闭) | **1**(表示开启),默认关闭。'."\n" + ."\n" + .' 开启该设置后,协议版本为HTTP2.0。', 'type' => 'string', 'required' => false, 'example' => '{"Http2":1,"Http2https":1,"Https2http":1}'], + ], + [ + 'name' => 'RealServers', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ - 'description' => '要查询的DDoS高防(中国内地)实例的ID列表。', + 'description' => '源站服务器地址列表。', 'type' => 'array', - 'items' => [ - 'description' => '要查询的DDoS高防(中国内地)实例的ID。'."\n" - ."\n" - .'>- **ResourceIds.N**与**Tags.N.Key**不能同时为空。'."\n" - .'- 您可以调用[DescribeInstanceIds](~~157459~~)查询所有DDoS高防实例的ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'ddoscoo-cn-zz121ogz****', - ], - 'required' => false, - 'example' => 'ddoscoo-cn-mp91j1ao****', - 'maxItems' => 51, + 'items' => ['description' => '源站服务器地址。', 'type' => 'string', 'required' => false, 'example' => '192.XX.XX.2'], + 'required' => true, + 'example' => '1.xxx.xxx.1', + 'maxItems' => 20, ], ], [ - 'name' => 'Tags', + 'name' => 'InstanceIds', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ - 'description' => '要查询的标签列表。每个标签由标签键(**Key**)和标签值(**Value**)组成。', + 'description' => '要关联的DDoS高防实例的ID列表。最多支持关联100个实例。', 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Key' => [ - 'description' => '要查询的标签键。'."\n" - ."\n" - .'>- **ResourceIds.N**与**Tags.N.Key**不能同时为空。'."\n" - .'- 您可以调用[DescribeTagKeys](~~159785~~)查询所有标签键。', - 'type' => 'string', - 'required' => false, - 'example' => 'testkey', - ], - 'Value' => [ - 'description' => '要查询的标签值。', - 'type' => 'string', - 'required' => false, - 'example' => 'testvalue', - ], - ], - 'required' => false, - ], + 'items' => ['description' => '要关联的DDoS高防实例的ID。'."\n" + ."\n" + .'> 您可以调用[DescribeInstanceIds](~~157459~~)查询所有DDoS高防实例的ID信息。', 'type' => 'string', 'required' => false, 'example' => 'ddoscoo-cn-i7m27nf3****'], 'required' => false, - 'maxItems' => 21, + 'example' => 'ddoscoo-cn-mp91j1ao****', + 'maxItems' => 20, ], ], ], @@ -20881,80 +17924,44 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'NextToken' => [ - 'description' => '本次调用返回的查询凭证(Token)。', - 'type' => 'string', - 'example' => 'RGuYpqDdKhzXb8C3.D1BwQgc1tMBsoxdGiEKHHUUCf****', - ], - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => '36E698F7-48A4-48D0-9554-0BB4BAAB99B3', - ], - 'TagResources' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'TagResource' => [ - 'description' => 'DDoS高防(中国内地)实例绑定的标签列表。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'TagValue' => [ - 'description' => 'DDoS高防(中国内地)实例绑定的标签值。', - 'type' => 'string', - 'example' => 'testkey', - ], - 'ResourceType' => [ - 'description' => '资源类型。取值固定为**INSTANCE**,表示DDoS高防实例。', - 'type' => 'string', - 'example' => 'INSTANCE', - ], - 'ResourceId' => [ - 'description' => 'DDoS高防(中国内地)实例的ID。', - 'type' => 'string', - 'example' => 'ddoscoo-cn-zz121ogz****', - ], - 'TagKey' => [ - 'description' => 'DDoS高防(中国内地)实例绑定的标签键。', - 'type' => 'string', - 'example' => 'testvalue', - ], - ], - ], - ], - ], - ], + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'CB3261D2-7D1B-4ADA-9E98-A200B2CDA2DC'], ], + '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' => '查询资源关联的标签信息', - 'summary' => '查询DDoS高防(中国内地)实例绑定的标签信息。', - 'description' => '本接口用于查询DDoS高防(中国内地)实例绑定的标签信息。'."\n" - ."\n" - .'> 只有DDoS高防(中国内地)服务支持标签功能。'."\n" - ."\n" - .'### QPS限制'."\n" - ."\n" - .'本接口的单用户QPS限制为10次/秒。超过限制,API调用将会被限流,这可能影响您的业务,请合理调用。', - 'requestParamsDescription' => '调用API时,除了本文中该API的请求参数,还需加入阿里云API公共请求参数。公共请求参数的详细介绍,请参见[公共参数](~~157269~~)。'."\n" - ."\n" - .'调用API的请求格式,请参见本文**示例**中的请求示例。', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'CreatePort' => [ - 'methods' => [ - 'post', - 'get', + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'UpStreamConfigConflict', 'errorMessage' => 'HTTP upstream and HTTP2.0 upstream conflict.', 'description' => 'HTTP回源和HTTP2.0回源冲突。'], + ], + ], + 'title' => '修改已经创建的网站业务转发规则', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:33:59.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '200', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ModifyWebRule'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:ModifyWebRule', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CB3261D2-7D1B-4ADA-9E98-A200B2CDA2DC\\"\\n}","type":"json"}]', + ], + 'ReleaseInstance' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -20963,87 +17970,17 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'create', - 'abilityTreeCode' => '106070', - 'abilityTreeNodes' => [ - 'FEATUREddosN7DYCX', - ], + 'operationType' => 'update', + 'abilityTreeCode' => '106274', + 'abilityTreeNodes' => ['FEATUREddosMHU3MF'], ], 'parameters' => [ - [ - 'name' => 'FrontendPort', - 'in' => 'query', - 'schema' => [ - 'description' => '转发端口。取值范围:**0**~**65535**。', - 'type' => 'string', - 'required' => true, - 'example' => '55', - ], - ], - [ - 'name' => 'FrontendProtocol', - 'in' => 'query', - 'schema' => [ - 'description' => '转发协议类型。取值:'."\n" - ."\n" - .'- **tcp**:表示TCP协议。'."\n" - .'- **udp**:表示UDP协议。', - 'type' => 'string', - 'required' => true, - 'example' => 'tcp', - 'enum' => [ - 'tcp', - 'udp', - ], - ], - ], [ 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => '端口转发规则所属的DDoS高防实例的ID。'."\n" - ."\n" - .'> 您可以调用[DescribeInstanceIds](~~157459~~)查询所有DDoS高防实例的ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'ddoscoo-cn-st21zbyq****', - ], - ], - [ - 'name' => 'BackendPort', - 'in' => 'query', - 'schema' => [ - 'description' => '源站端口。取值范围:**0**~**65535**。', - 'type' => 'string', - 'required' => false, - 'example' => '55', - ], - ], - [ - 'name' => 'RealServers', - 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => '源站IP地址列表。', - 'type' => 'array', - 'items' => [ - 'description' => '源站IP地址。', - 'type' => 'string', - 'required' => false, - 'example' => '1.XX.XX.1', - ], - 'required' => true, - 'maxItems' => 20, - ], - ], - [ - 'name' => 'ProxyEnable', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], + 'schema' => ['description' => '要释放的实例ID。'."\n" + ."\n" + .'> 只允许释放已到期的实例。您可以调用[DescribeInstances](~~91478~~)查询所有DDoS高防实例的ID和到期状态信息。', 'type' => 'string', 'required' => true, 'example' => 'ddoscoo-cn-mp91j1ao****'], ], ], 'responses' => [ @@ -21051,29 +17988,48 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。', - 'type' => 'string', - 'example' => '4787A9A6-8230-4B4A-8211-AFBF7C416B4D', - ], + 'RequestId' => ['description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。', 'type' => 'string', 'example' => '06FFAF5F-CD3E-4886-A849-AAB40DFF6515'], ], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4787A9A6-8230-4B4A-8211-AFBF7C416B4D\\"\\n}","type":"json"}]', - 'title' => '创建一条端口转发规则', - 'summary' => '创建一条端口转发规则。', - 'description' => '本接口支持与Terraform工具对接。关于Terraform的更多信息,请参见[什么是Terraform](~~95820~~)。', - ], - 'DeletePort' => [ - 'methods' => [ - 'post', - 'get', + 'title' => '释放已经到期的DDoS高防实例', + 'summary' => '释放已经到期的DDoS高防实例。', + 'description' => 'DDoS高防实例到期后,将停止提供DDoS攻击防御服务,且实例到期7天后,将停止业务流量转发。'."\n" + .'- 建议您在实例到期前及时续费,避免实例到期对业务防护和转发带来影响。您可以调用[DescribeInstances](~~91478~~)查询实例的到期时间。如果需要续费,请前往[DDoS高防控制台](https://yundun.console.aliyun.com/?p=ddoscoo)进行操作。'."\n" + .'- 如果您不计划续费实例,建议您在DDoS高防实例到期前恢复已接入防护的业务IP(不再使用DDoS高防IP作为业务IP)或业务DNS解析(不再将业务流量解析到DDoS高防的CNAME地址),停止将业务转发到DDoS高防实例,避免实例到期对正常业务转发带来影响。'."\n" + ."\n" + .'实例到期后,您可以调用本接口释放指定的DDoS高防实例。'."\n" + ."\n" + .'> 释放指定实例前,请务必确认您已经恢复接入防护的业务IP或业务DNS解析。', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:33:59.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ReleaseInstance'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:ReleaseInstance', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"06FFAF5F-CD3E-4886-A849-AAB40DFF6515\\"\\n}","type":"json"}]', + ], + 'SwitchSchedulerRule' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -21082,77 +18038,44 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'delete', - 'abilityTreeCode' => '106084', - 'abilityTreeNodes' => [ - 'FEATUREddosN7DYCX', - ], + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '106277', + 'abilityTreeNodes' => ['FEATUREddosZIK01A'], ], 'parameters' => [ [ - 'name' => 'FrontendPort', - 'in' => 'query', - 'schema' => [ - 'description' => '转发端口。取值范围:**0**~**65535**。', - 'type' => 'string', - 'required' => true, - 'example' => '55', - ], - ], - [ - 'name' => 'FrontendProtocol', - 'in' => 'query', - 'schema' => [ - 'description' => '转发协议类型。取值:'."\n" - .'- **tcp**:表示TCP协议。'."\n" - .'- **udp**:表示UDP协议。', - 'type' => 'string', - 'required' => true, - 'example' => 'tcp', - 'enum' => [ - 'tcp', - 'udp', - ], - ], - ], - [ - 'name' => 'InstanceId', + 'name' => 'RuleName', 'in' => 'query', - 'schema' => [ - 'description' => '端口转发规则所属的DDoS高防实例的ID。'."\n" - ."\n" - .'> 您可以调用[DescribeInstanceIds](~~157459~~)查询所有DDoS高防实例的ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'ddoscoo-cn-st21zbyq****', - ], + 'schema' => ['description' => '要操作的流量调度规则的名称。'."\n" + ."\n" + .'> 您可以调用[DescribeSchedulerRules](~~157481~~)查询所有流量调度规则的名称。', 'type' => 'string', 'required' => true, 'example' => 'testrule'], ], [ - 'name' => 'BackendPort', + 'name' => 'RuleType', 'in' => 'query', - 'schema' => [ - 'description' => '源站端口。取值范围:**0**~**65535**。', - 'type' => 'string', - 'required' => false, - 'example' => '55', - ], + 'schema' => ['description' => '流量调度规则的类型。取值:'."\n" + ."\n" + .'- **2**:表示阶梯防护规则。'."\n" + .'- **3**:表示出海加速规则。'."\n" + .'- **5**:表示CDN联动规则。'."\n" + .'- **6**:表示云产品联动规则。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '6'], ], [ - 'name' => 'RealServers', + 'name' => 'SwitchData', 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => '源站IP地址列表。', - 'type' => 'array', - 'items' => [ - 'description' => '源站IP地址。', - 'type' => 'string', - 'required' => false, - 'example' => '1.XX.XX.1', - ], - 'required' => false, - 'maxItems' => 20, - ], + 'schema' => ['description' => '业务流量切换操作的配置。使用JSON数组转化的字符串表示,JSON数组的每个元素是一个结构体,结构体包含以下字段:'."\n" + ."\n" + .'- **Value**:String类型 | 必选 | 联动资源的IP地址。'."\n" + ."\n" + .'- **State**:Integer类型 | 必选 | 操作类型。取值:'."\n" + .' - **0**:表示将业务流量从联动资源切换到DDoS高防实例进行清洗。'."\n" + .' - **1**:表示将业务流量回切到联动资源。'."\n" + ."\n" + .'- **Interval**:Integer类型 | 可选 | 回切时间,单位:分钟。使用说明:'."\n" + .' - **State**为**0**(表示切换到高防时),必须设置该参数为**-1**,否则会调用失败。'."\n" + .' - **State**为**1**(表示回切到云资源时,无需设置该参数。', 'type' => 'string', 'required' => true, 'example' => '[{"Value":"39.104.XX.XX","State":0,"Interval":-1}]'], ], ], 'responses' => [ @@ -21160,1758 +18083,3157 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。', - 'type' => 'string', - 'example' => '39499F01-19D9-4EA4-A0E9-C6014BA5CDBE', - ], + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => '7E3C301F-84BB-50E4-9DB9-2937B2429C1E'], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"39499F01-19D9-4EA4-A0E9-C6014BA5CDBE\\"\\n}","type":"json"}]', - 'title' => '删除指定的端口转发规则', - 'summary' => '删除指定的端口转发规则。', - 'description' => '删除端口转发规则后,DDoS高防实例将不会再转发该四层端口上的业务流量。请您确保已将四层端口上的业务流量切换到源站服务器,再删除对应的DDoS高防端口转发规则,避免影响您的业务访问。'."\n" + 'title' => '切换调度规则', + 'summary' => '将业务流量切换到DDoS高防实例进行清洗、回切到联动资源。', + 'description' => '本接口用于修改单个流量调度规则的当前生效资源,例如,将业务流量切换到DDoS高防实例进行清洗、回切到联动资源。'."\n" ."\n" - .'> 本接口支持与Terraform工具对接。关于Terraform的更多信息,请参见[什么是Terraform](~~95820~~)。', - ], - 'ModifyPort' => [ - 'summary' => '修改已创建的端口转发规则。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], + .'调用本接口前,您必须已经调用[CreateSchedulerRule](~~157479~~)创建了流量调度规则。'."\n" + ."\n" + .'### QPS限制'."\n" + ."\n" + .'本接口的单用户QPS限制为10次/秒。超过限制,API调用将会被限流,这可能影响您的业务,请合理调用。', + 'requestParamsDescription' => '调用API时,除了本文中该API的请求参数,还需加入阿里云API公共请求参数。公共请求参数的详细介绍,请参见[公共参数](~~157269~~)。'."\n" + ."\n" + .'调用API的请求格式,请参见本文**示例**中的请求示例。'."\n", + 'changeSet' => [ + ['createdAt' => '2022-09-08T03:33:59.000Z', 'description' => '错误码发生变更'], ], - 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'update', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '106253', - 'abilityTreeNodes' => [ - 'FEATUREddosN7DYCX', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SwitchSchedulerRule'], ], ], - 'parameters' => [ - [ - 'name' => 'FrontendPort', - 'in' => 'query', - 'schema' => [ - 'description' => '转发端口。取值范围:**0**~**65535**。', - 'type' => 'string', - 'required' => true, - 'example' => '55', - ], - ], + 'ramActions' => [ [ - 'name' => 'FrontendProtocol', - 'in' => 'query', - 'schema' => [ - 'description' => '转发协议类型。取值:'."\n" - .'- **tcp**:表示TCP协议。'."\n" - .'- **udp**:表示UDP协议。', - 'type' => 'string', - 'required' => true, - 'example' => 'tcp', - 'enum' => [ - 'tcp', - 'udp', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:SwitchSchedulerRule', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - [ - 'name' => 'InstanceId', - 'in' => 'query', - 'schema' => [ - 'description' => '端口转发规则所属的DDoS高防实例的ID。'."\n" - ."\n" - .'> 您可以调用[DescribeInstanceIds](~~157459~~)查询所有DDoS高防实例的ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'ddoscoo-cn-st21zbyq****', + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"7E3C301F-84BB-50E4-9DB9-2937B2429C1E\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 7E3C301F-84BB-50E4-9DB9-2937B2429C1E\\n","errorExample":""}]', + ], + ], + 'endpoints' => [ + ['regionId' => 'ap-southeast-1', 'regionName' => '新加坡', 'areaId' => 'asiaPacific', 'areaName' => '亚太', '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' => '华东1(杭州)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', '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' => '证书名称重复。'], + ['code' => 'CcRuleExist', 'message' => 'The rule already exists.', 'http_code' => 400, 'description' => 'cc规则已经存在。'], + ['code' => 'CDNDomainExist', 'message' => 'cdn domain is exist.', 'http_code' => 400, 'description' => 'cdn域名已经存在。'], + ['code' => 'CheckGmSwitch', 'message' => 'Before enabling only, you need to enable the national secret certificate', 'http_code' => 400, 'description' => '开启only开关前需要先开启国密证书开关'], + ['code' => 'CheckOnlySwitch', 'message' => 'Before disabling the certificate switch, you need to disable only', 'http_code' => 400, 'description' => '关闭证书开关前需要关闭only开关'], + ['code' => 'DomainDoesNotMatchCert', 'message' => 'Domain Does Not Match Cert.', 'http_code' => 400, 'description' => '域名上传的证书在证书中心没有匹配的证书。'], + ['code' => 'DomainExist', 'message' => 'domain is already exist.', 'http_code' => 400, 'description' => '域名已存在。'], + ['code' => 'DomainLimitExceeded', 'message' => 'reach domain limit in spec.', 'http_code' => 400, 'description' => '域名数超过限制'], + ['code' => 'DomainNotExist', 'message' => 'domain not exist.', 'http_code' => 400, 'description' => '域名不存在'], + ['code' => 'DomainNotExist', 'message' => 'Domain does not exist.', 'http_code' => 400, 'description' => '域名不存在'], + ['code' => 'DomainOwnerError', 'message' => 'domain belong to other user.', 'http_code' => 400, 'description' => '域名属于其他用户'], + ['code' => 'DomainUnregister', 'message' => 'Domain Unregister. you must put on record for you domain.', 'http_code' => 400, 'description' => '域名未备案。'], + ['code' => 'ElasticBizBandwidthOutRange', 'message' => 'Elastic business bandwidth is out of range.', 'http_code' => 400, 'description' => '弹性业务带宽超出范围'], + ['code' => 'EngineParamError', 'message' => 'The same CC rules exist.', 'http_code' => 400, 'description' => '存在相同的CC规则。'], + ['code' => 'ErrDdosOverseasSpecLimit', 'message' => 'Error DDoS spec limit.', 'http_code' => 400, 'description' => '规格超限'."\n"], + ['code' => 'ErrDdosSpecLimit', 'message' => 'Error ddos spec limit.', 'http_code' => 400, 'description' => '规格超限'], + ['code' => 'ErrNoProcessAuthority', 'message' => 'Err No Process Authority.', 'http_code' => 400, 'description' => '无操作权限。'], + ['code' => 'ErrorNoProcessAuthority', 'message' => 'Error No Process Authority.', 'http_code' => 400, 'description' => '无资源操作权限。'], + ['code' => 'ErrorUnknown', 'message' => 'ERR UNKNOWN.', 'http_code' => 400, 'description' => '未知错误。'], + ['code' => 'ExceedElasticSpec', 'message' => 'reach elastic limit in spec', 'http_code' => 400, 'description' => '超过弹性带宽规格'], + ['code' => 'ExceedWebRuleLimit', 'message' => 'reach site limit in spec.', 'http_code' => 400, 'description' => '超过防护域名数规格。'."\n"], + ['code' => 'FuncSpecNotEnhanced', 'message' => 'The Anti-DDoS Proxy instance is not the enhanced version.', 'http_code' => 400, 'description' => 'DDoS高防实例非增强版。'], + ['code' => 'GaElasticBizBandwidthOutRange', 'message' => 'Elastic business bandwidth is out of range.', 'http_code' => 400, 'description' => '加速线路2.0弹性业务带宽超过范围'], + ['code' => 'GlobalDomainNotExist', 'message' => 'domain not exist.', 'http_code' => 400, 'description' => '域名不存在。'], + ['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回源时未开启HTTP/2监听。'], + ['code' => 'HTTP2ListenerNotEnabled', 'message' => 'HTTP2 listener is not enabled when HTTP2.0 back-to-origin is enabled.', 'http_code' => 400, 'description' => '开启HTTP/2.0回源时未开启HTTP/2监听。'], + ['code' => 'InputParamsNotValid', 'message' => 'input params not valid.', 'http_code' => 400, 'description' => '入参有误'], + ['code' => 'InstanceNotExist', 'message' => 'Instance not exist.', 'http_code' => 400, 'description' => '实例不存在'], + ['code' => 'InstanceNotExist', 'message' => 'no instance for process in db.', 'http_code' => 400, 'description' => '实例不存在。'], + ['code' => 'InstanceNotExpire', 'message' => 'Intance not expire.', 'http_code' => 400, 'description' => '实例未过期不支持释放。'], + ['code' => 'IntegratedDomainNotExist', 'message' => 'integrated domain not exist.', 'http_code' => 400, 'description' => '域名不存在'], + ['code' => 'InternalError', 'message' => 'An error occurred.', 'http_code' => 400, 'description' => '内部错误'], + ['code' => 'InternalParamError', 'message' => 'out of range.', 'http_code' => 400, 'description' => '参数不合法'], + ['code' => 'InvalidDomain', 'message' => 'invalid domain.', 'http_code' => 400, 'description' => '无效域名'], + ['code' => 'InvalidEmbeddedHeaders', 'message' => 'EmbeddedHeaders parameter is invalid.', 'http_code' => 400, 'description' => '传入的EmbeddedHeaders参数非法。'], + ['code' => 'InvalidInstanceId', 'message' => 'Invalid Instance Id. instanceId does not exist.', 'http_code' => 400, 'description' => '无效的实例ID'], + ['code' => 'InvalidInternalElasticBandwidth', 'message' => 'params out of range.', 'http_code' => 400, 'description' => '国际高防开启/关闭弹性业务参数不正确'], + ['code' => 'InvalidIpAddress', 'message' => 'Failed to find the anti-DDoS IP address or origin IP address.', 'http_code' => 400, 'description' => 'DDoS高防IP或者源站IP查找失败'."\n"], + ['code' => 'InvalidIPV4Network', 'message' => 'Invalid ipv4 IP or Network.', 'http_code' => 400, 'description' => '非法的ipv4网段'], + ['code' => 'InvalidIpv4Param', 'message' => 'invalid ipv4 param.', 'http_code' => 400, 'description' => '无效的ipv4参数'], + ['code' => 'InvalidIPV6Network', 'message' => 'Invalid Ipv6 IP or Network.', 'http_code' => 400, 'description' => '非法的IPV6网段'], + ['code' => 'InvalidJsonParam', 'message' => 'decoding json failed.', 'http_code' => 400, 'description' => '无效的JSON参数'], + ['code' => 'InvalidL4RuleFrontPort', 'message' => 'Invalid l4rule front port.', 'http_code' => 400, 'description' => '无效的4层转发端口。'], + ['code' => 'InvalidLayer4AclMask', 'message' => 'Layer4 IP ACL mask set failed.', 'http_code' => 400, 'description' => '设置4层黑白名单网段格式不正确。'], + ['code' => 'InvalidMaxConcurrentStreams', 'message' => 'Invalid MaxConcurrentStreams value.', 'http_code' => 400, 'description' => '传入的MaxConcurrentStreams参数非法。'], + ['code' => 'InvalidOverseasIPV4Network', 'message' => 'Invalid ipv4 IP or Network.', 'http_code' => 400, 'description' => '非法的ipv4网段。'."\n"], + ['code' => 'InvalidOverseasIPV6Network', 'message' => 'Invalid IPV6 IP or Network.', 'http_code' => 400, 'description' => '非法的IPV6网段'."\n"], + ['code' => 'InvalidOverseasLayer4AclMask', 'message' => 'Layer4 IP ACL mask set failed.', 'http_code' => 400, 'description' => '设置4层黑白名单网段格式不正确。'."\n"], + ['code' => 'InvalidPageSize', 'message' => 'Invalid Page Size.', 'http_code' => 400, 'description' => '分页参数超过限制。'], + ['code' => 'InvalidParameter.TagValue', 'message' => 'Invalid Parameter TagValue.', 'http_code' => 400, 'description' => '无效的标签值'], + ['code' => 'InvalidParams', 'message' => 'invalid params.', 'http_code' => 400, 'description' => '无效参数'], + ['code' => 'InvalidRealServer', 'message' => 'Invalid Real Server. invalid format. sourceIps can not be empty.', 'http_code' => 400, 'description' => '无效的源站ip'], + ['code' => 'InvalidSchedulerRule', 'message' => 'Invalid Scheduler Rule. Mainland China Acceleration rule does not exist.', 'http_code' => 400, 'description' => '创建流量调度器调度规则失败'], + ['code' => 'InvalidSchedulerRuleValueType', 'message' => 'Invalid Scheduler Rule Value Types.', 'http_code' => 400, 'description' => '无效的调度器规则。'], + ['code' => 'InvalidSourceIp', 'message' => 'Invalid Source Ip.', 'http_code' => 400, 'description' => '无效的源站IP。'], + ['code' => 'InvalidSwitch', 'message' => 'record is the last in default line, invalid to switch to inactive.', 'http_code' => 400, 'description' => '切换调度规则失败'], + ['code' => 'InvalidWebRule', 'message' => 'invalid Web rule.', 'http_code' => 400, 'description' => '无效的转发规则。'], + ['code' => 'Layer4AclMaskConflict', 'message' => 'Layer4 IP ACL mask conflict.', 'http_code' => 400, 'description' => '网段冲突'], + ['code' => 'Layer4NetworkError', 'message' => 'Layer4 IP ACL mask set faile.', 'http_code' => 400, 'description' => '设置4层网段黑白名单失败。'], + ['code' => 'Layer4PortRuleExist', 'message' => 'l4 rule port is exist.', 'http_code' => 400, 'description' => '创建端口规则已经存在'], + ['code' => 'Layer4ProxyNotEnabled', 'message' => 'l4 proxy not enabled', 'http_code' => 400, 'description' => '未开启应用层防护'], + ['code' => 'Layer4ProxyPayloadRuleConflict', 'message' => 'l4 proxy payload rule conflict.', 'http_code' => 400, 'description' => 'Payload策略规则冲突'], + ['code' => 'Layer4ProxyPayloadRuleOverLimit', 'message' => 'l4 proxy payload rules reached limit.', 'http_code' => 400, 'description' => 'Payload策略规则超限'], + ['code' => 'ModifyDomainMissParam', 'message' => 'domain http2https config without http proxy.', 'http_code' => 400, 'description' => '修改域名缺少http2https配置'], + ['code' => 'NetworkCountExceedLimit', 'message' => 'Layer4 IP ACL mask count reached limit.', 'http_code' => 400, 'description' => '网段个数超规格。'."\n"], + ['code' => 'NetworkRuleExist', 'message' => 'network rule port is exist.', 'http_code' => 400, 'description' => '规则已存在。'], + ['code' => 'NoSupportNetwork', 'message' => 'Ip not support for ACL masks.', 'http_code' => 400, 'description' => '不支持的网段'], + ['code' => 'NoSupportOverseasNetwork', 'message' => 'Ip not support for ACL masks.', 'http_code' => 400, 'description' => '当前IP不支持黑白名单网段配置'], + ['code' => 'NotAllowDelCDNDomain', 'message' => 'domain can\'t delete while cdn/dcdn cname exist.', 'http_code' => 400, 'description' => 'CDN/DCDN联动配置存在,删除域名前请先删除联动配置'], + ['code' => 'NotEffectLayer4Proxy', 'message' => 'l4 proxy not effect.', 'http_code' => 400, 'description' => '应用层防护不生效'], + ['code' => 'NotSupportLayer4AclMask', 'message' => 'Layer4 IP ACL mask not support.', 'http_code' => 400, 'description' => '不支持的4层网段黑白名单。'], + ['code' => 'NotSupportLayer4Proxy', 'message' => 'eip not support for l4 proxy.', 'http_code' => 400, 'description' => '不支持开启应用层防护'], + ['code' => 'OldRuleDeprecated', 'message' => 'ERR OLD CC RULE DEPRECATED.', 'http_code' => 400, 'description' => '老的cc规则已弃用。'], + ['code' => 'OverseasFuncSpecNotEnhanced', 'message' => 'The Anti-DDoS Proxy instance is not the enhanced version.', 'http_code' => 400, 'description' => 'DDoS高防实例非增强版。'], + ['code' => 'OverseasLayer4AclMaskConflict', 'message' => 'Layer4 IP ACL mask conflict.', 'http_code' => 400, 'description' => '网段冲突'], + ['code' => 'OverseasLayer4NetworkError', 'message' => 'Layer4 IP ACL mask set failed.', 'http_code' => 400, 'description' => '设置4层网段黑白名单失败。'."\n"], + ['code' => 'OverseasNetworkCountExceedLimit', 'message' => 'Layer4 IP ACL mask count reached limit.', 'http_code' => 400, 'description' => '网段个数超规格。'], + ['code' => 'OverseasNotSupportLayer4AclMask', 'message' => 'Layer4 IP ACL mask not support.', 'http_code' => 400, 'description' => '不支持的4层网段黑白名单。'."\n"], + ['code' => 'ParamError', 'message' => 'out of range.', 'http_code' => 400, 'description' => '参数不合法'], + ['code' => 'ParamError', 'message' => 'param error.', 'http_code' => 400, 'description' => '参数错误'], + ['code' => 'ParamsNotValid', 'message' => 'input params not valid.', 'http_code' => 400, 'description' => '入参有误'], + ['code' => 'QueryDbFailed', 'message' => 'query db failed.', 'http_code' => 400, 'description' => '数据不存在。'], + ['code' => 'QueryResourceFailed', 'message' => 'failed to query current resource.', 'http_code' => 400, 'description' => '找不到相应的资源。'], + ['code' => 'ResourceNotValid', 'message' => 'resource not valid.', 'http_code' => 400, 'description' => '无效资源'], + ['code' => 'ReuseCnameError', 'message' => 'ERR REUSE CNAME NOT BELONGTO TO YOU.', 'http_code' => 400, 'description' => '错误的重用cname.'], + ['code' => 'SchedulerRuleError', 'message' => 'record priority conflict by different type.', 'http_code' => 400, 'description' => '调度器不同类型优先级冲突。'], + ['code' => 'SchedulerRuleParamError', 'message' => 'Scheduler rule param error.', 'http_code' => 400, 'description' => '调度器参数错误。'], + ['code' => 'SelbCallFailed', 'message' => 'selb central remote call failed.', 'http_code' => 400, 'description' => '调用Selb失败'], + ['code' => 'ServerError', 'message' => 'server error.', 'http_code' => 400, 'description' => '服务端异常'], + ['code' => 'SourceIpContainsOthersEcs', 'message' => 'Source ip contains others ecs.', 'http_code' => 400, 'description' => '源站IP或域名不存在或者校验不通过。'], + ['code' => 'SubmitCertToCertCenterFailed', 'message' => 'Submit Cert To Cert Center Failed.', 'http_code' => 400, 'description' => '上传证书到证书中心失败。'], + ['code' => 'UnknownError', 'message' => 'Unknown Error.', 'http_code' => 400, 'description' => '未知错误。'], + ['code' => 'UnkownError', 'message' => 'unkown error.', 'http_code' => 400, 'description' => '不知道错误。'], + ['code' => 'UpStreamConfigConflict', 'message' => 'HTTP upstream and HTTP2.0 upstream conflict.', 'http_code' => 400, 'description' => 'HTTP回源和HTTP2.0回源冲突。'], + ], + 'changeSet' => [ + [ + 'apis' => [ + ['description' => 'OpenAPI 下线', 'api' => 'DescribeInstances'], + ['description' => 'OpenAPI 下线', 'api' => 'DescribeInstances'], + ], + 'createdAt' => '2025-10-24T05:22:52.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'OpenAPI 下线', 'api' => 'DescribeInstances'], + ['description' => 'OpenAPI 下线', 'api' => 'DescribeInstances'], + ], + 'createdAt' => '2025-10-24T03:33:36.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'OpenAPI 下线', 'api' => 'DescribeInstances'], + ['description' => 'OpenAPI 下线', 'api' => 'DescribeInstances'], + ], + 'createdAt' => '2025-10-24T03:31:09.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'OpenAPI 下线', 'api' => 'DescribeInstances'], + ['description' => 'OpenAPI 下线', 'api' => 'DescribeInstances'], + ], + 'createdAt' => '2025-10-23T11:12:56.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'OpenAPI 下线', 'api' => 'DescribeInstances'], + ['description' => 'OpenAPI 下线', 'api' => 'DescribeInstances'], + ], + 'createdAt' => '2025-10-23T11:10:22.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'OpenAPI 下线', 'api' => 'DescribeInstances'], + ], + 'createdAt' => '2025-10-23T11:06:58.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'OpenAPI 下线', 'api' => 'DescribeInstances'], + ], + 'createdAt' => '2025-10-23T10:53:47.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'OpenAPI 下线', 'api' => 'DescribeInstances'], + ], + 'createdAt' => '2025-10-23T10:53:41.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'OpenAPI 下线', 'api' => 'DescribeInstances'], + ], + 'createdAt' => '2025-10-23T10:44:47.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'ConfigL7UsKeepalive'], + ['description' => '响应参数发生变更', 'api' => 'DescribeL7UsKeepalive'], + ['description' => '响应参数发生变更', 'api' => 'DescribeWebRules'], + ], + 'createdAt' => '2025-09-19T08:52:35.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'OpenAPI 下线', 'api' => 'DescribeInstanceDetails'], + ['description' => 'OpenAPI 下线', 'api' => 'DescribeWebCcProtectSwitch'], + ['description' => 'OpenAPI 下线', 'api' => 'DescribeSchedulerRules'], + ], + 'createdAt' => '2025-09-04T06:34:49.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'OpenAPI 下线', 'api' => 'CreatePort'], + ['description' => 'OpenAPI 下线', 'api' => 'DescribePort'], + ['description' => 'OpenAPI 下线', 'api' => 'DescribeNetworkRules'], + ['description' => 'OpenAPI 下线', 'api' => 'CreateNetworkRules'], + ], + 'createdAt' => '2025-08-14T03:28:22.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'OpenAPI 下线', 'api' => 'DescribeNetworkRules'], + ['description' => 'OpenAPI 下线', 'api' => 'DescribePort'], + ['description' => 'OpenAPI 下线', 'api' => 'DescribePort'], + ['description' => 'OpenAPI 下线', 'api' => 'CreateNetworkRules'], + ['description' => 'OpenAPI 下线', 'api' => 'CreatePort'], + ['description' => 'OpenAPI 下线', 'api' => 'CreateNetworkRules'], + ['description' => 'OpenAPI 下线', 'api' => 'CreatePort'], + ['description' => 'OpenAPI 下线', 'api' => 'DescribeNetworkRules'], + ], + 'createdAt' => '2025-08-14T01:39:28.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'OpenAPI 下线', 'api' => 'DescribeDDosAllEventList'], + ['description' => 'OpenAPI 下线', 'api' => 'DescribeDDosAllEventList'], + ['description' => 'OpenAPI 下线', 'api' => 'DescribeDDosAllEventList'], + ['description' => 'OpenAPI 下线', 'api' => 'DescribeDDosEventMax'], + ['description' => 'OpenAPI 下线', 'api' => 'DescribeAttackAnalysisMaxQps'], + ['description' => 'OpenAPI 下线', 'api' => 'DescribeDDosAllEventList'], + ['description' => 'OpenAPI 下线', 'api' => 'DescribeDDosEventMax'], + ['description' => 'OpenAPI 下线', 'api' => 'DescribeAttackAnalysisMaxQps'], + ['description' => 'OpenAPI 下线', 'api' => 'DescribeDDosAllEventList'], + ], + 'createdAt' => '2025-08-06T10:48:20.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'OpenAPI 下线', 'api' => 'DescribeSystemLog'], + ], + 'createdAt' => '2025-07-01T09:48:51.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'OpenAPI 下线', 'api' => 'DescribeDomainTopAttackList'], + ['description' => 'OpenAPI 下线', 'api' => 'DescribeDomainTopAttackList'], + ], + 'createdAt' => '2025-06-18T03:05:18.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'OpenAPI 下线', 'api' => 'DescribeSystemLog'], + ['description' => 'OpenAPI 下线', 'api' => 'DescribeSystemLog'], + ['description' => 'OpenAPI 下线', 'api' => 'DescribeSystemLog'], + ], + 'createdAt' => '2025-05-30T04:01:32.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '响应参数发生变更', 'api' => 'CreateWebRule'], + ], + 'createdAt' => '2025-03-17T06:07:23.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'DescribeDomainViewTopUrl'], + ], + 'createdAt' => '2025-03-17T02:34:34.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'DeleteAutoCcBlacklist'], + ['description' => '请求参数发生变更', 'api' => 'DescribeAutoCcBlacklist'], + ], + 'createdAt' => '2024-12-12T05:42:14.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '响应参数发生变更', 'api' => 'DescribeDomainStatusCodeCount'], + ['description' => '响应参数发生变更', 'api' => 'DescribeDomainStatusCodeList'], + ], + 'createdAt' => '2024-11-26T02:16:00.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '响应参数发生变更', 'api' => 'DescribeL7RsPolicy'], + ], + 'createdAt' => '2024-09-18T09:20:15.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'AssociateWebCert'], + ['description' => '请求参数发生变更', 'api' => 'DescribeDomainResource'], + ['description' => '请求参数发生变更', 'api' => 'DescribePort'], + ['description' => '请求参数发生变更、响应参数发生变更', 'api' => 'DescribeWebRules'], + ], + 'createdAt' => '2024-08-30T07:13:40.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'CreatePort'], + ['description' => '响应参数发生变更', 'api' => 'DescribeNetworkRules'], + ['description' => '请求参数发生变更', 'api' => 'ModifyPort'], + ], + 'createdAt' => '2024-08-29T06:00:15.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '响应参数发生变更', 'api' => 'DescribeWebCCRulesV2'], + ], + 'createdAt' => '2024-07-30T03:51:00.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'DescribeDDosEventArea'], + ['description' => '请求参数发生变更', 'api' => 'DescribeDDosEventIsp'], + ], + 'createdAt' => '2024-07-01T08:59:35.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '响应参数发生变更', 'api' => 'DescribeNetworkRegionBlock'], + ], + 'createdAt' => '2024-06-24T06:55:13.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '响应参数发生变更', 'api' => 'DescribeInstanceDetails'], + ], + 'createdAt' => '2024-06-06T11:19:55.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'AssociateWebCert'], + ], + 'createdAt' => '2024-05-29T02:26:42.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'ConfigL7RsPolicy'], + ['description' => '响应参数发生变更', 'api' => 'DescribeL7RsPolicy'], + ], + 'createdAt' => '2024-05-09T09:53:43.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'DescribeSlaEventList'], + ], + 'createdAt' => '2024-03-19T07:44:55.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'ConfigWebIpSet'], + ], + 'createdAt' => '2024-02-20T08:09:49.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '响应参数发生变更', 'api' => 'DescribeNetworkRules'], + ], + 'createdAt' => '2024-01-23T11:24:09.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'AssociateWebCert'], + ['description' => '响应参数发生变更', 'api' => 'DescribeCerts'], + ['description' => '响应参数发生变更', 'api' => 'DescribeWebRules'], + ], + 'createdAt' => '2023-07-18T07:31:08.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '响应参数发生变更', 'api' => 'DescribeDomainResource'], + ['description' => '响应参数发生变更', 'api' => 'DescribeInstances'], + ], + 'createdAt' => '2023-06-30T06:51:19.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'CreateDomainResource'], + ['description' => '请求参数发生变更', 'api' => 'ModifyDomainResource'], + ], + 'createdAt' => '2023-05-26T07:23:03.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '响应参数发生变更', 'api' => 'DescribePortFlowList'], + ], + 'createdAt' => '2023-05-24T06:10:21.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '响应参数发生变更', 'api' => 'DescribeInstances'], + ['description' => '响应参数发生变更', 'api' => 'DescribeInstanceSpecs'], + ], + 'createdAt' => '2023-05-17T08:15:59.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '响应参数发生变更', 'api' => 'DescribePortFlowList'], + ], + 'createdAt' => '2023-04-18T10:16:18.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '响应参数发生变更', 'api' => 'DescribeInstanceSpecs'], + ], + 'createdAt' => '2023-04-04T05:59:17.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '响应参数发生变更', 'api' => 'DescribeInstanceSpecs'], + ], + 'createdAt' => '2022-11-24T09:32:59.000Z', + 'description' => '实例规格新增并发和新建连接数', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'DescribeBackSourceCidr'], + ], + 'createdAt' => '2022-11-02T07:07:21.000Z', + 'description' => '回源网段更新', + ], + [ + 'apis' => [ + ['description' => '错误码发生变更', 'api' => 'AddAutoCcBlacklist'], + ['description' => '错误码发生变更', 'api' => 'AddAutoCcWhitelist'], + ['description' => '错误码发生变更', 'api' => 'AssociateWebCert'], + ['description' => '错误码发生变更', 'api' => 'AttachSceneDefenseObject'], + ['description' => '错误码发生变更', 'api' => 'ConfigL7RsPolicy'], + ['description' => '错误码发生变更', 'api' => 'ConfigLayer4Remark'], + ['description' => '错误码发生变更', 'api' => 'ConfigLayer4RuleBakMode'], + ['description' => '错误码发生变更', 'api' => 'ConfigLayer4RulePolicy'], + ['description' => '错误码发生变更', 'api' => 'ConfigNetworkRegionBlock'], + ['description' => '错误码发生变更', 'api' => 'ConfigNetworkRules'], + ], + 'createdAt' => '2022-09-08T03:35:05.000Z', + 'description' => 'api战役', + ], + [ + 'apis' => [ + ['description' => '响应参数发生变更', 'api' => 'DescribeInstances'], + ], + 'createdAt' => '2022-07-13T08:52:55.000Z', + 'description' => '95计费发布', + ], + [ + 'apis' => [ + ['description' => '响应参数发生变更、错误码发生变更', 'api' => 'DescribeInstanceSpecs'], + ], + 'createdAt' => '2022-07-13T07:30:48.000Z', + 'description' => '95计费功能发布', + ], + [ + 'apis' => [ + ['description' => '错误码发生变更', 'api' => 'DescribeWebAccessLogDispatchStatus'], + ['description' => '错误码发生变更', 'api' => 'DescribeWebAccessLogStatus'], + ], + 'createdAt' => '2022-06-09T04:20:30.000Z', + 'description' => 'rosetta api迁移', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'DescribeWebRules'], + ], + 'createdAt' => '2022-05-24T06:43:16.000Z', + 'description' => '根据cname和实例模糊查询', + ], + [ + 'apis' => [ + ['description' => '响应参数发生变更、错误码发生变更', 'api' => 'DescribePortConnsList'], + ], + 'createdAt' => '2022-04-27T09:20:43.000Z', + 'description' => '删除返回值time字段', + ], + [ + 'apis' => [ + ['description' => '响应参数发生变更、错误码发生变更', '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' => 'DDoS防护', + 'ramCodes' => ['yundun-high', 'yundun-ddoscoo'], + 'ramLevel' => '操作级', + 'ramConditions' => [], + 'ramActions' => [ + [ + 'apiName' => 'DescribeInstanceExt', + 'description' => '查询DDoS高防实例的扩展信息', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeInstanceExt', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeDomainBps', + 'description' => '查询网站带宽流量', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeDomainBps', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'CreatePort', + 'description' => '创建一条端口转发规则', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:CreatePort', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribePortViewSourceProvinces', + 'description' => '查询实例的请求来源(中国)省份分布', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribePortViewSourceProvinces', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribePortAttackMaxFlow', + 'description' => '查询DDoS高防受到的攻击带宽和包速峰值', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribePortAttackMaxFlow', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeCerts', + 'description' => '查询适用于当前域名的所有证书列表', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeCerts', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'CreateTagResources', + 'description' => '为资源关联标签', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:CreateTagResources', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeAutoCcListCount', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeAutoCcListCount', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DeleteDomainResource', + 'description' => '删除指定的网站业务转发规则', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DeleteDomainResource', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'EmptySlsLogstore', + 'description' => '清空日志库', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:EmptySlsLogstore', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeDomainViewSourceProvinces', + 'description' => '查询网站业务的请求来源省份分布', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeDomainViewSourceProvinces', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ConfigLayer4RulePolicy', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:ConfigLayer4RulePolicy', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ModifyPort', + 'description' => '修改已创建的端口转发规则', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:ModifyPort', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeAutoCcWhitelist', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeAutoCcWhitelist', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ModifyBlockStatus', + 'description' => '设置实例近源流量压制', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:ModifyBlockStatus', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'AttachSceneDefenseObject', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:AttachSceneDefenseObject', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribePortConnsList', + 'description' => '查询DDoS高防实例的端口连接数列表', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribePortConnsList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ModifyWebRule', + 'description' => '修改已经创建的网站业务转发规则', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:ModifyWebRule', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DeleteAsyncTask', + 'description' => '删除指定的异步任务', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DeleteAsyncTask', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeStsGrantStatus', + 'description' => '查询是否授权访问其他云产品', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeStsGrantStatus', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ConfigDomainSecurityProfile', + 'description' => '配置网站业务DDoS防护', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:ConfigDomainSecurityProfile', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeElasticQps', + 'description' => '查询DDoS高防实例弹性QPS账单曲线图', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeElasticQps', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ModifyWebPreciseAccessSwitch', + 'description' => '设置网站业务精确访问控制的开关状态', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:ModifyWebPreciseAccessSwitch', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeDomainTopFingerprint', + 'description' => '查询网站Top N客户端指纹', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeDomainTopFingerprint', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeDDosAllEventList', + 'description' => '查询攻击事件列表', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeDDosAllEventList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'EnableWebAccessLogConfig', + 'description' => '为网站业务开启全量日志分析', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:EnableWebAccessLogConfig', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ReleaseInstance', + 'description' => '释放已经到期的DDoS高防实例', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:ReleaseInstance', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DeleteNetworkRule', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DeleteNetworkRule', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeOpEntities', + 'description' => '查询DDoS高防(中国内地)的操作日志', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeOpEntities', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'EnableSceneDefensePolicy', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:EnableSceneDefensePolicy', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ModifyNetworkRuleAttribute', + 'description' => '编辑端口转发规则的会话保持和DDoS防护策略设置', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:ModifyNetworkRuleAttribute', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeDomainTopHttpMethod', + 'description' => '查询网站Top HTTP_Method', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeDomainTopHttpMethod', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeDomainOverview', + 'description' => '查询网站业务攻击总览', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeDomainOverview', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeL7GlobalRule', + 'description' => '查询DDoS全局防护策略', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeL7GlobalRule', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ConfigNetworkRules', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:ConfigNetworkRules', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeDomainH2Fingerprint', + 'description' => '查询网站 HTTP2.0 指纹', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeDomainTopFingerprint', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeTagKeys', + 'description' => '查询所有标签键', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeTagKeys', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeCdnLinkageRules', + 'description' => '查询CDN联动规则', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeCdnLinkageRules', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DeleteAutoCcBlacklist', + 'description' => '删除针对DDoS高防实例的黑名单IP', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DeleteAutoCcBlacklist', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - [ - 'name' => 'BackendPort', - 'in' => 'query', - 'schema' => [ - 'description' => '源站端口。取值范围:**0**~**65535**。', - 'type' => 'string', - 'required' => true, - 'example' => '55', + ], + [ + 'apiName' => 'DescribeDomainTopReferer', + 'description' => '查询网站Top Referer', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeDomainTopReferer', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - [ - 'name' => 'RealServers', - 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => '源站IP地址列表。', - 'type' => 'array', - 'items' => [ - 'description' => '源站IP地址。', - 'type' => 'string', - 'required' => false, - 'example' => '1.XX.XX.1', - ], - 'required' => true, - 'maxItems' => 20, + ], + [ + 'apiName' => 'DescribeSlsAuthStatus', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeSlsAuthStatus', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - [ - 'name' => 'ProxyEnable', - 'in' => 'query', - 'schema' => [ - 'description' => '引流开关。取值:'."\n" - .'- **0** 关闭。'."\n" - .'- **1** 开启。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '0', + ], + [ + 'apiName' => 'DescribeUnBlockCount', + 'description' => '查询可用的近源流量压制次数', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeUnBlockCount', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。', - 'type' => 'string', - 'example' => '39499F01-19D9-4EA4-A0E9-C6014BA5CDBE', - ], - ], + [ + 'apiName' => 'ModifyWebCCGlobalSwitch', + 'description' => '设置网站业务CC安全防护模块的开关状态', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:ModifyWebCCGlobalSwitch', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"39499F01-19D9-4EA4-A0E9-C6014BA5CDBE\\"\\n}","type":"json"}]', - 'title' => '修改已创建的端口转发规则', - 'description' => '本接口支持与Terraform工具对接。关于Terraform的更多信息,请参见[什么是Terraform](~~95820~~)。', - ], - 'DescribePort' => [ - 'methods' => [ - 'post', - 'get', + [ + 'apiName' => 'ModifyHttp2Enable', + 'description' => '设置网站业务转发规则的HTTP2.0开关状态', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:ModifyHttp2Enable', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], - 'schemes' => [ - 'http', - 'https', + [ + 'apiName' => 'DescribeInstanceDetails', + 'description' => '查询DDoS高防实例的IP和线路信息', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeInstanceDetails', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'DescribeSlsLogstoreInfo', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeSlsLogstoreInfo', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ + [ + 'apiName' => 'ConfigWebCCTemplate', + 'description' => '设置网站CC防护的防护模式', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:ConfigWebCCTemplate', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DeleteWebRule', + 'description' => '删除网站业务转发规则', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DeleteWebRule', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeHeaders', + 'description' => '查询自定义header', 'operationType' => 'get', - 'abilityTreeCode' => '106164', - 'abilityTreeNodes' => [ - 'FEATUREddosN7DYCX', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeHeaders', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], - 'parameters' => [ - [ - 'name' => 'InstanceId', - 'in' => 'query', - 'schema' => [ - 'description' => '要查询的DDoS高防实例的ID。'."\n" - ."\n" - .'> 您可以调用[DescribeInstanceIds](~~157459~~)查询所有DDoS高防实例的ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'ddoscoo-cn-7e225i41****', + [ + 'apiName' => 'DescribePortConnsCount', + 'description' => '查询实例端口连接数统计信息', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribePortConnsCount', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'CreateAsyncTask', + 'description' => '创建异步导出任务', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:CreateAsyncTask', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DeleteWebCCRuleV2', + 'description' => '删除网站业务频率控制防护(CC防护)的自定义规则', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DeleteWebCCRuleV2', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeBlockStatus', + 'description' => '查询实例近源流量压制配置', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeBlockStatus', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeSlsOpenStatus', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeSlsOpenStatus', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ModifyDomainResource', + 'description' => '修改已创建的网站业务转发规则', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:ModifyDomainResource', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ModifyInstance', + 'description' => 'DDoS高防实例规格变配', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:ModifyInstance', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'CreateDomainResource', + 'description' => '创建一条网站业务转发规则', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:CreateDomainResource', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeDomainStatusCodeList', + 'description' => '查询网站业务的响应状态码统计信息', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeDomainStatusCodeList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ConfigLayer4RuleBakMode', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:ConfigLayer4RuleBakMode', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DeleteAutoCcWhitelist', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DeleteAutoCcWhitelist', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DeleteWebPreciseAccessRule', + 'description' => '删除网站业务精确访问控制规则', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DeleteWebPreciseAccessRule', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribePort', + 'description' => '查询端口转发规则', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribePort', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeDestinationPortEvent', + 'description' => '查询DDoS高防攻击IP的目的端口包数量信息', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeDestinationPortEvent', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeInstances', + 'description' => '分页查询DDoS高防实例信息列表', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeInstances', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ModifyOcspStatus', + 'description' => '设置是否启用 OCSP (Online Certificate Status Protocol)功能', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:ModifyOcspStatus', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeInstanceIds', + 'description' => '查询DDoS高防实例的ID信息', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeInstanceIds', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeBackSourceCidr', + 'description' => '查询高防回源网段地址', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeBackSourceCidr', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ModifyWebAIProtectSwitch', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:ModifyWebAIProtectSwitch', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'AddAutoCcBlacklist', + 'description' => '添加针对DDoS高防实例的黑名单IP', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:AddAutoCcBlacklist', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeDomainQPSList', + 'description' => '查询网站业务的QPS统计信息', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeDomainQPSList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DeleteSchedulerRule', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DeleteSchedulerRule', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribePortViewSourceIsps', + 'description' => '查询实例的请求来源运营商分布', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribePortViewSourceIsps', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeSceneDefenseObjects', + 'description' => '查询定制场景策略的防护对象', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeSceneDefenseObjects', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeDefenseCountStatistics', + 'description' => '查询DDoS高防(非中国内地)服务的高级防护次数统计数据', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeDefenseCountStatistics', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'CreateWebCCRule', + 'description' => '创建网站CC防护自定义规则', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:CreateWebCCRule', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeDomainViewTopCostTime', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeDomainViewTopCostTime', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ModifyWebAreaBlockSwitch', + 'description' => '设置网站业务区域封禁开关状态', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:ModifyWebAreaBlockSwitch', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeDomainStatusCodeCount', + 'description' => '查询各类响应状态码统计信息', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeDomainStatusCodeCount', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ModifySceneDefensePolicy', + 'description' => '编辑定制场景策略', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:ModifySceneDefensePolicy', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ModifyElasticBizQps', + 'description' => '修改指定实例的弹性QPS', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:ModifyElasticBizQps', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeWebCCRules', + 'description' => '查询网站业务CC防护自定义规则', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeWebCCRules', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeAttackAnalysisMaxQps', + 'description' => '查询指攻击的峰值', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeAttackAnalysisMaxQps', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribePortViewSourceCountries', + 'description' => '查询实例的请求来源国家分布', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribePortViewSourceCountries', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeDDosEventSrcIp', + 'description' => '查询某次流量型攻击的攻击来源IP详情', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeDDosEventSrcIp', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeUnBlackholeCount', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeUnBlackholeCount', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeNetworkRules', + 'description' => '查询端口转发规则', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeNetworkRules', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeLogStoreExistStatus', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeLogStoreExistStatus', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ModifyFullLogTtl', + 'description' => '修改日志存储时长', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:ModifyFullLogTtl', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ModifyWebAccessMode', + 'description' => '设置网站业务的接入模式', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:ModifyWebAccessMode', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeDDosEventArea', + 'description' => '查询某次流量型攻击的来源地域详情', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeDDosEventArea', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ModifyWebCacheSwitch', + 'description' => '设置网站业务静态页面缓存的开关状态', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:ModifyWebCacheSwitch', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ConfigNetworkRegionBlock', + 'description' => '设置针对DDoS高防实例的区域封禁', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:ConfigNetworkRegionBlock', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeWebCacheConfigs', + 'description' => '查询网站业务静态页面缓存的配置', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeWebCacheConfigs', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ModifyWebAIProtectMode', + 'description' => '设置网站业务AI智能防护的模式', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:ModifyWebAIProtectMode', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - [ - 'name' => 'FrontendProtocol', - 'in' => 'query', - 'schema' => [ - 'description' => '要查询的转发协议类型。取值:'."\n" - ."\n" - .'- **tcp**:表示TCP协议。'."\n" - .'- **udp**:表示UDP协议。'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'tcp', - 'enum' => [ - 'tcp', - 'udp', - ], + ], + [ + 'apiName' => 'ModifyPortAutoCcStatus', + 'description' => '设置非网站业务AI智能防护', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:ModifyPortAutoCcStatus', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - [ - 'name' => 'FrontendPort', - 'in' => 'query', - 'schema' => [ - 'description' => '要查询的转发端口。取值范围:**0**~**65535**。', - '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' => '全部资源', 'arn' => '*'], ], ], - [ - 'name' => 'PageNumber', - 'in' => 'query', - 'schema' => [ - 'description' => '分页查询时返回的页码。例如,查询第一页的返回结果,则设置**1**。', - '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' => '全部资源', 'arn' => '*'], ], ], - [ - 'name' => 'PageSize', - 'in' => 'query', - 'schema' => [ - 'description' => '分页查询时每页包含的记录数量。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '10', + ], + [ + 'apiName' => 'ConfigUdpReflect', + 'description' => '配置 UDP 反射攻击防护策略', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:ConfigUdpReflect', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'TotalCount' => [ - 'description' => '返回的端口转发规则的数量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'RequestId' => [ - 'description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。', - 'type' => 'string', - 'example' => '39499F01-19D9-4EA4-A0E9-C6014BA5CDBE', - ], - 'NetworkRules' => [ - 'description' => '端口转发规则配置列表。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'FrontendPort' => [ - 'description' => '转发端口。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '55', - ], - 'IsAutoCreate' => [ - 'description' => '该规则是否由DDoS高防自动生成。取值:'."\n" - .'- **true**:表示由DDoS高防自动生成。'."\n" - .'- **false**:表示由您手动创建。', - 'type' => 'boolean', - 'example' => 'false', - ], - 'InstanceId' => [ - 'description' => '转发规则所属的DDoS高防实例的ID。', - 'type' => 'string', - 'example' => 'ddoscoo-cn-7e225i41****', - ], - 'FrontendProtocol' => [ - 'description' => '转发协议类型。取值:'."\n" - .'- **tcp**:表示TCP协议。'."\n" - .'- **udp**:表示UDP协议。', - 'type' => 'string', - 'example' => 'tcp', - ], - 'BackendPort' => [ - 'description' => '源站端口。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '55', - ], - 'RealServers' => [ - 'description' => '源站IP地址列表。', - 'type' => 'array', - 'items' => [ - 'description' => '源站IP地址。', - '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' => '全部资源', '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' => '查询端口转发规则', - 'summary' => '查询DDoS高防实例下已创建的端口转发规则。', - 'description' => '本接口支持与Terraform工具对接。关于Terraform的更多信息,请参见[什么是Terraform](~~95820~~)。', - ], - 'CreateDomainResource' => [ - 'summary' => '创建一条网站业务转发规则。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + [ + 'apiName' => 'DescribeDDosEventIsp', + 'description' => '查询攻击来源网络运营商(ISP)信息', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeDDosEventIsp', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'DescribeL7RsPolicy', + 'description' => '查询网站业务转发规则的回源策略', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeL7RsPolicy', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'create', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '106066', - 'abilityTreeNodes' => [ - 'FEATUREddos64TBV6', + [ + 'apiName' => 'DescribeDomainCcProtectSwitch', + 'description' => '查询网站业务DDoS防护配置各开关状态', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeDomainCcProtectSwitch', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], - 'parameters' => [ - [ - 'name' => 'Domain', - 'in' => 'query', - 'schema' => [ - 'description' => '要接入DDoS高防防护的网站业务的域名。', - 'type' => 'string', - 'required' => true, - 'example' => 'www.example.com', + [ + 'apiName' => 'DescribeUdpReflect', + 'description' => '查询 UDP 反射攻击防护策略', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeUdpReflect', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - [ - 'name' => 'RsType', - 'in' => 'query', - 'schema' => [ - 'description' => '要设置的源站服务器的地址类型。取值:'."\n" - ."\n" - .'- **0**:表示设置源站服务器的IP地址。'."\n" - .'- **1**:表示设置源站服务器的域名地址。'."\n" - ."\n" - .' 适用于源站和DDoS高防之间还部署有其他代理服务(例如WAF)的场景,具体指代理服务的跳转地址(例如WAF的CNAME地址)。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '0', - 'enum' => [ - '0', - '1', - ], + ], + [ + 'apiName' => 'DisableWebCCRule', + 'description' => '关闭网站业务CC防护自定义规则开关', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DisableWebCCRule', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - [ - 'name' => 'HttpsExt', - 'in' => 'query', - 'schema' => [ - 'description' => 'HTTPS高级设置,仅在网站协议类型支持HTTPS(**ProxyType**包含**https**)时生效。使用JSON结构体转化的字符串格式表示,JSON结构体包含以下字段:'."\n" - ."\n" - .'- **Http2https**:Integer类型 | 可选 | 是否开启HTTPS的强制跳转功能,取值:**0**(表示关闭) | **1**(表示开启),默认关闭。'."\n" - ."\n" - .' 适用于您的网站同时支持HTTP和HTTPS协议。开启该设置后,所有HTTP请求将强制转换为HTTPS请求,且默认跳转到443端口。'."\n" - ."\n" - .'- **Https2http**:Integer类型 | 可选 | 是否开启HTTP回源功能,取值:**0**(表示关闭) | **1**(表示开启),默认关闭。'."\n" - ."\n" - .' 适用于您的网站不支持HTTPS回源。开启该设置后,所有HTTPS协议请求将通过HTTP回源(Websockets协议会通过Websocket回源),且默认回源端口为80。'."\n" - ."\n" - .'- **Http2**:Integer类型 | 可选 | 是否开启HTTP 2.0协议支持,取值:**0**(表示关闭) | **1**(表示开启),默认关闭。'."\n" - ."\n" - .' 开启该设置后,协议版本为HTTP 2.0。', - 'type' => 'string', - 'required' => false, - 'example' => '{"Http2":1,"Http2https":1,"Https2http":1}', + ], + [ + 'apiName' => 'ModifyWebCacheCustomRule', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:ModifyWebCacheCustomRule', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - [ - 'name' => 'InstanceIds', - 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => '要关联的DDoS高防实例的ID列表。', - 'type' => 'array', - 'items' => [ - 'description' => '要关联的DDoS高防实例的ID。不设置该参数表示只添加网站域名,不关联高防实例。'."\n" - ."\n" - .'> 您可以调用[DescribeInstanceIds](~~157459~~)查询所有DDoS高防实例的ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'ddoscoo-cn-mp91j1ao****', - ], - 'required' => true, - 'maxItems' => 100, + ], + [ + 'apiName' => 'DescribeInstanceSpecs', + 'description' => '查询DDoS高防实例的规格信息', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeInstanceSpecs', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - [ - 'name' => 'RealServers', - 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => '源站服务器地址列表。', - 'type' => 'array', - 'items' => [ - 'description' => '源站服务器地址。'."\n" - ."\n" - .'如果**RsType**为**0**,该参数使用IP地址格式;如果**RsType**为**1**,该参数使用域名格式。更多信息,请参见**RsType**参数的说明。', - 'type' => 'string', - 'required' => false, - 'example' => '1.XX.XX.1', - ], - 'required' => true, - 'maxItems' => 100, + ], + [ + 'apiName' => 'DescribeL7UsKeepalive', + 'description' => '查询回源长连接设置', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeL7RsKeepalive', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - [ - 'name' => 'ProxyTypes', - 'in' => 'query', - 'style' => 'flat', - 'schema' => [ - 'description' => '网站的协议及端口配置。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'ProxyPorts' => [ - 'description' => '网站对外服务使用的端口列表。', - 'type' => 'array', - 'items' => [ - 'description' => '网站对外服务使用的端口。'."\n" - ."\n" - .'> 此处设置的端口必须在DDoS高防支持的端口范围内。更多信息,请参见[自定义非标端口](~~127433~~)。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '80', - ], - 'required' => true, - 'maxItems' => 10, - ], - 'ProxyType' => [ - 'description' => '网站对外服务使用的协议类型。取值:'."\n" - ."\n" - .'- **http**:表示HTTP协议。'."\n" - .'- **https**:表示HTTPS协议。'."\n" - .'- **websocket**:表示WebSocket协议。'."\n" - .'- **websockets**:表示WebSockets协议。', - 'type' => 'string', - 'required' => false, - 'example' => 'http', - 'enum' => [ - 'http', - 'https', - 'websocket', - 'websockets', - ], - ], - ], - 'required' => false, - ], - 'required' => true, + ], + [ + 'apiName' => 'DescribeAutoCcBlacklist', + 'description' => '查询针对DDoS高防实例的黑名单IP', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeAutoCcBlacklist', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'description' => '本次请求返回的数据体。', - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => '39499F01-19D9-4EA4-A0E9-C6014BA5CDBE', - ], - ], + [ + 'apiName' => 'CreateSceneDefensePolicy', + 'description' => '创建定制场景策略', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:CreateSceneDefensePolicy', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"39499F01-19D9-4EA4-A0E9-C6014BA5CDBE\\"\\n}","type":"json"}]', - 'title' => '创建一条网站业务转发规则', - ], - 'DeleteDomainResource' => [ - 'methods' => [ - 'post', - 'get', + [ + 'apiName' => 'DeleteWebCCRule', + 'description' => '删除网站CC防护自定义规则', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DeleteWebCCRule', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], - 'schemes' => [ - 'http', - 'https', + [ + 'apiName' => 'ConfigLayer4Remark', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:ConfigLayer4Remark', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'DisableSceneDefensePolicy', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DisableSceneDefensePolicy', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'list', - 'abilityTreeCode' => '106081', - 'abilityTreeNodes' => [ - 'FEATUREddos64TBV6', + [ + 'apiName' => 'DisableWebCC', + 'description' => '关闭网站业务CC防护开关', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DisableWebCC', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], - 'parameters' => [ - [ - 'name' => 'Domain', - 'in' => 'query', - 'schema' => [ - 'description' => '要删除的网站业务转发规则对应的域名。', - 'type' => 'string', - 'required' => true, - 'example' => 'www.example.com', + [ + 'apiName' => 'DescribeSystemLog', + 'description' => '获取系统日志', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeSystemLog', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => '39499F01-19D9-4EA4-A0E9-C6014BA5CDBE', - ], - ], + [ + 'apiName' => 'DeleteTagResources', + 'description' => '为资源移除标签', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DeleteTagResources', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"39499F01-19D9-4EA4-A0E9-C6014BA5CDBE\\"\\n}","type":"json"}]', - 'title' => '删除指定的网站业务转发规则', - 'summary' => '删除指定的网站业务转发规则。', - ], - 'DescribeDomainResource' => [ - 'methods' => [ - 'post', - 'get', + [ + 'apiName' => 'DescribeDomainResource', + 'description' => '查询网站业务转发规则的配置', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeDomainResource', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], - 'schemes' => [ - 'http', - 'https', + [ + 'apiName' => 'DescribeElasticQpsRecord', + 'description' => '查询实例弹性QPS详情', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeElasticQpsRecord', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'DescribeDomains', + 'description' => '查询已配置网站业务转发规则的域名', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeDomains', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], - 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'list', - 'abilityTreeCode' => '106130', - 'abilityTreeNodes' => [ - 'FEATUREddos64TBV6', + [ + 'apiName' => 'ModifyWebPreciseAccessRule', + 'description' => '创建或编辑网站业务精确访问控制规则', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:ModifyWebPreciseAccessRule', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], - 'autoTest' => true, ], - 'parameters' => [ - [ - 'name' => 'Domain', - 'in' => 'query', - 'schema' => [ - 'description' => '要查询的网站域名。', - 'type' => 'string', - 'required' => false, - 'example' => 'www.example.com', + [ + 'apiName' => 'ModifyWebCacheMode', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:ModifyWebCacheMode', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - [ - 'name' => 'QueryDomainPattern', - 'in' => 'query', - 'schema' => [ - 'description' => '查询匹配模式。取值:'."\n" - ."\n" - .'- **fuzzy**(默认):表示模糊查询。'."\n" - .'- **exact**:表示精确查询。', - 'type' => 'string', - 'required' => false, - 'example' => 'fuzzy', - 'enum' => [ - 'fuzzy', - 'exact', - ], + ], + [ + 'apiName' => 'DescribePortAutoCcStatus', + 'description' => '查询非网站业务AI智能防护的配置信息', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribePortAutoCcStatus', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - [ - 'name' => 'PageNumber', - 'in' => 'query', - 'schema' => [ - 'description' => '分页查询时,设置当前页面的页码。默认值为**1**。'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - 'default' => '1', + ], + [ + 'apiName' => 'DeletePort', + 'description' => '删除指定的端口转发规则', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DeletePort', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - [ - 'name' => 'PageSize', - 'in' => 'query', - 'schema' => [ - 'description' => '分页查询时,设置每页包含转发规则的数量。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '10', - 'default' => '10', + ], + [ + 'apiName' => 'DescribeNetworkRuleAttributes', + 'description' => '查询非网站业务端口转发规则防护配置', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeNetworkRuleAttributes', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - [ - 'name' => 'InstanceIds', - 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => '要查询的DDoS高防实例的ID列表。', - 'type' => 'array', - 'items' => [ - 'description' => '要查询的DDoS高防实例的ID。'."\n" - ."\n" - .'> 您可以调用[DescribeInstanceIds](~~157459~~)查询所有DDoS高防实例的ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'ddoscoo-cn-mp91j1ao****', - ], - 'required' => false, - 'maxItems' => 10, + ], + [ + 'apiName' => 'DescribeDomainViewSourceCountries', + 'description' => '查询网站业务的请求来源国家分布', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeDomainViewSourceCountries', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'TotalCount' => [ - 'description' => '查询到的网站业务转发规则的总数量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => '39499F01-19D9-4EA4-A0E9-C6014BA5CDBE', - ], - 'WebRules' => [ - 'description' => '网站业务转发规则的配置。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Domain' => [ - 'description' => '网站业务的域名。', - 'type' => 'string', - 'example' => 'www.example.com', - ], - 'Http2HttpsEnable' => [ - 'description' => '是否开启了HTTPS强制跳转。取值:'."\n" - ."\n" - .'- **true**:表示已开启。'."\n" - .'- **false**:表示未开启。', - 'type' => 'boolean', - 'example' => 'false', - ], - 'SslProtocols' => [ - 'description' => 'TLS协议版本。取值:'."\n" - ."\n" - .'- **tls1.0**:表示TLS 1.0及以上版本。'."\n" - .'- **tls1.1**:表示TLS 1.1及以上版本。'."\n" - .'- **tls1.2**:表示TLS 1.2及以上版本。', - 'type' => 'string', - 'example' => 'tls1.0', - ], - 'PunishReason' => [ - 'description' => '域名受到违规处罚的原因。取值:'."\n" - .'- **1**:表示域名未履行ICP备案。'."\n" - .'- **2**:表示域名经营的业务不符合监管要求。'."\n" - ."\n" - .'如果同时包含原因**1**和**2**,该参数返回**2**。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'CcTemplate' => [ - 'description' => '频率控制防护(CC防护)的模式。取值:'."\n" - ."\n" - .'- **default**:表示正常模式。'."\n" - .'- **gf_under_attack**:表示攻击紧急模式。'."\n" - .'- **gf_sos_verify**:表示严格模式。'."\n" - .'- **gf_sos_enhance**:表示超级严格模式。', - 'type' => 'string', - 'example' => 'default', - ], - 'HttpsExt' => [ - 'description' => 'HTTPS高级设置,仅在网站协议类型支持HTTPS(**ProxyType**包含**https**)时生效。使用JSON结构体转化的字符串格式表示,JSON结构体包含以下字段:'."\n" - ."\n" - .'- **Http2https**:Integer类型 | 是否开启了HTTPS的强制跳转功能,取值:**0**(表示未开启) | **1**(表示已开启)。'."\n" - .'- **Https2http**:Integer类型 | 是否开启了HTTP回源功能,取值:**0**(表示未开启) | **1**(表示已开启)。'."\n" - .'- **Http2**:Integer类型 | 是否开启了HTTP 2.0协议支持,取值:**0**(表示未开启) | **1**(表示已开启)。', - 'type' => 'string', - 'example' => '{"Https2http":0,"Http2":0,"Http2https":0}', - ], - 'CcEnabled' => [ - 'description' => '是否开启了频率控制防护(CC防护)。取值:'."\n" - ."\n" - .'- **true**:表示已开启。'."\n" - .'- **false**:表示未开启。', - 'type' => 'boolean', - 'example' => 'true', - ], - 'SslCiphers' => [ - 'description' => '加密套件的类型。取值:'."\n" - ."\n" - .'- **default**:表示自定义加密套件。'."\n" - .'- **all**:表示全部加密套件。'."\n" - .'- **strong**:表示强加密套件。', - 'type' => 'string', - 'example' => 'default', - ], - 'CcRuleEnabled' => [ - 'description' => '是否开启了自定义频率控制防护(CC防护)。取值:'."\n" - ."\n" - .'- **true**:表示已开启。'."\n" - .'- **false**:表示未开启。', - 'type' => 'boolean', - 'example' => 'true', - ], - 'Ssl13Enabled' => [ - 'description' => '是否开启了TLS 1.3协议支持。取值:'."\n" - ."\n" - .'- **true**:表示已开启。'."\n" - .'- **false**:表示未开启。', - 'type' => 'boolean', - 'example' => 'false', - ], - 'RsType' => [ - 'description' => '源站服务器的地址类型。取值:'."\n" - ."\n" - .'- **0**:表示使用IP地址格式。'."\n" - .'- **1**:表示使用域名格式。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'PunishStatus' => [ - 'description' => '域名是否受到违规处罚。取值:'."\n" - ."\n" - .'- **true**:表示已受到违规处罚。您可以通过**PunishReason**查看受到违规处罚的具体原因。'."\n" - .'- **false**:表示未受到违规处罚。', - 'type' => 'boolean', - 'example' => 'false', - ], - 'ProxyEnabled' => [ - 'description' => 'DDoS高防是否对该网站业务的流量进行转发。取值:'."\n" - ."\n" - .'- **true**:表示进行流量转发。'."\n" - .'- **false**:表示已停止流量转发。', - 'type' => 'boolean', - 'example' => 'true', - ], - 'CertName' => [ - 'description' => '域名使用的SSL证书的名称。', - 'type' => 'string', - 'example' => '49944XX.pem', - ], - 'PolicyMode' => [ - 'description' => '回源负载算法的类型。取值:'."\n" - ."\n" - .'- **ip_hash**:表示IP Hash算法。该算法根据请求来源IP进行HASH映射,将同一个IP的所有请求定向到一个源站服务器。'."\n" - .'- **rr**:表示轮转算法。该算法将所有请求轮流分配给不同源站服务器。'."\n" - .'- **least_time**:表示Least Time算法。该算法通过智能DNS解析能力,保证业务流量从接入防护节点到转发回源站服务器整个链路的时延最短。', - 'type' => 'string', - 'example' => 'ip_hash', - ], - 'Cname' => [ - 'description' => '域名对应的DDoS高防CNAME地址。', - 'type' => 'string', - 'example' => '0ekb69x3j9wvXXXX.aliyunddosXXXX.com', - ], - 'OcspEnabled' => [ - 'description' => '是否启用了OCSP(Online Certificate Status Protocol)功能。取值:'."\n" - .'- **true**:表示已开启。'."\n" - .'- **false**:表示未开启。', - 'type' => 'boolean', - 'example' => 'false', - ], - 'Http2Enable' => [ - 'description' => '是否开启了HTTP 2.0。取值:'."\n" - ."\n" - .'- **true**:表示已开启。'."\n" - .'- **false**:表示未开启。', - 'type' => 'boolean', - 'example' => 'false', - ], - 'Https2HttpEnable' => [ - 'description' => '是否开启了HTTP回源功能。取值:'."\n" - ."\n" - .'- **true**:表示已开启。'."\n" - .'- **false**:表示未开启。', - 'type' => 'boolean', - 'example' => 'false', - ], - 'ProxyTypes' => [ - 'description' => '网站的协议及端口配置。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'ProxyType' => [ - 'description' => '网站对外服务使用的协议类型。取值:'."\n" - ."\n" - .'- **http**:表示HTTP协议。'."\n" - .'- **https**:表示HTTPS协议。'."\n" - .'- **websocket**:表示WebSocket协议。'."\n" - .'- **websockets**:表示WebSockets协议。', - 'type' => 'string', - 'example' => 'http', - ], - 'ProxyPorts' => [ - 'description' => '网站对外服务使用的端口列表。', - 'type' => 'array', - 'items' => [ - 'description' => '网站对外服务使用的端口。', - 'type' => 'string', - 'example' => '80', - ], - ], - ], - ], - ], - 'InstanceIds' => [ - 'description' => '域名关联的DDoS高防实例的ID列表。', - 'type' => 'array', - 'items' => [ - 'description' => '域名关联的DDoS高防实例的ID。', - 'type' => 'string', - 'example' => 'ddoscoo-cn-st21zbyq****', - ], - ], - 'CustomCiphers' => [ - 'description' => '自定义加密套件列表。', - 'type' => 'array', - 'items' => [ - 'description' => '自定义加密套件。', - 'type' => 'string', - 'example' => 'ECDHE-RSA-AES256-SHA384', - ], - ], - 'WhiteList' => [ - 'description' => '针对当前域名的白名单IP列表。', - 'type' => 'array', - 'items' => [ - 'description' => '针对当前域名的白名单IP。'."\n" - ."\n" - .'> 仅在您已经为该域名配置了**IP白名单(针对域名)**时返回该结果。您可以调用[ConfigWebIpSet](~~157469~~)为网站域名配置IP黑白名单。', - 'type' => 'string', - 'example' => '3.XX.XX.3', - ], - ], - 'BlackList' => [ - 'description' => '针对当前域名的黑名单IP列表。', - 'type' => 'array', - 'items' => [ - 'description' => '针对当前域名的黑名单IP。'."\n" - ."\n" - .'> 仅在您已经为该域名配置了 **IP黑名单(针对域名)** 时返回该结果。您可以调用[ConfigWebIpSet](~~157469~~)为网站域名配置IP黑白名单。', - 'type' => 'string', - 'example' => '2.XX.XX.2', - ], - ], - 'RealServers' => [ - 'description' => '源站服务器地址列表。', - 'type' => 'array', - 'items' => [ - 'description' => '源站服务器地址。', - 'type' => 'string', - 'example' => '1.XX.XX.1', - ], - ], - ], - ], - ], - ], + [ + 'apiName' => 'DescribeDomainTopAttackList', + 'description' => '查询网站业务QPS峰值数据', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeDomainTopAttackList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + [ + 'apiName' => 'DescribePortFlowList', + 'description' => '查询DDoS高防实例的流量数据列表', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribePortFlowList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', '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' => '查询网站业务转发规则的配置', - 'summary' => '查询网站业务转发规则的配置。', - 'description' => '本接口用于查询分页您已创建的网站业务转发规则的详细配置,例如,网站域名、协议配置、HTTPS配置、CC安全防护配置。'."\n" - ."\n" - .'本接口支持与Terraform工具对接。关于Terraform的更多信息,请参见[什么是Terraform](~~95820~~)。'."\n" - ."\n" - .'### QPS限制'."\n" - ."\n" - .'本接口的单用户QPS限制为50次/秒。超过限制,API调用将会被限流,这可能影响您的业务,请合理调用。', - 'requestParamsDescription' => '调用API时,除了本文中该API的请求参数,还需加入阿里云API公共请求参数。公共请求参数的详细介绍,请参见[公共参数](~~157269~~)。'."\n" - ."\n" - .'调用API的请求格式,请参见本文**示例**中的请求示例。', - ], - 'ModifyDomainResource' => [ - 'summary' => '修改已创建的网站业务转发规则。', - 'methods' => [ - 'post', - 'get', + [ + 'apiName' => 'DeleteSceneDefensePolicy', + 'description' => '删除定制场景策略', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DeleteSceneDefensePolicy', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], - 'schemes' => [ - 'http', - 'https', + [ + 'apiName' => 'DescribeDDosEventAttackType', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeDDosEventAttackType', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'EmptyAutoCcWhitelist', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:EmptyAutoCcWhitelist', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ + [ + 'apiName' => 'ModifyCnameReuse', + 'description' => '为网站业务开启或关闭CNAME复用', 'operationType' => 'update', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '106238', - 'abilityTreeNodes' => [ - 'FEATUREddos64TBV6', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:ModifyCnameReuse', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], - 'parameters' => [ - [ - 'name' => 'Domain', - 'in' => 'query', - 'schema' => [ - 'description' => '已接入DDoS高防防护的网站业务的域名。', - 'type' => 'string', - 'required' => true, - 'example' => 'www.example.com', + [ + 'apiName' => 'DescribeNetworkRegionBlock', + 'description' => '查询区域封禁配置', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeNetworkRegionBlock', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - [ - 'name' => 'RsType', - 'in' => 'query', - 'schema' => [ - 'description' => '源站服务器的地址类型。取值:'."\n" - ."\n" - .'- **0**:表示设置源站服务器的IP地址。'."\n" - .'- **1**:表示设置源站服务器的域名地址。'."\n" - ."\n" - .' 适用于源站和DDoS高防之间还部署有其他代理服务(例如WAF)的场景,具体指代理服务的跳转地址(例如WAF的CNAME地址)。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '0', - 'enum' => [ - '0', - '1', - ], + ], + [ + 'apiName' => 'ModifyBlackholeStatus', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:ModifyBlackholeStatus', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - [ - 'name' => 'HttpsExt', - 'in' => 'query', - 'schema' => [ - 'description' => 'HTTPS高级设置,仅在网站协议类型支持HTTPS(**ProxyType**包含**https**)时生效。使用JSON结构体转化的字符串格式表示,JSON结构体包含以下字段:'."\n" - ."\n" - .'- **Http2https**:Integer类型 | 可选 | 是否开启HTTPS的强制跳转功能,取值:**0**(表示关闭) | **1**(表示开启),默认关闭。'."\n" - ."\n" - .' 适用于您的网站同时支持HTTP和HTTPS协议。开启该设置后,所有HTTP请求将强制转换为HTTPS请求,且默认跳转到443端口。'."\n" - ."\n" - .'- **Https2http**:Integer类型 | 可选 | 是否开启HTTP回源功能,取值:**0**(表示关闭) | **1**(表示开启),默认关闭。'."\n" - ."\n" - .' 适用于您的网站不支持HTTPS回源。开启该设置后,所有HTTPS协议请求将通过HTTP回源(Websockets协议会通过Websocket回源),且默认回源端口为80。'."\n" - ."\n" - .'- **Http2**:Integer类型 | 可选 | 是否开启HTTP 2.0协议支持,取值:**0**(表示关闭) | **1**(表示开启),默认关闭。'."\n" - ."\n" - .' 开启该设置后,协议版本为HTTP 2.0。', - 'type' => 'string', - 'required' => false, - 'example' => '{"Http2":1,"Http2https":1,"Https2http":1}', + ], + [ + 'apiName' => 'DescribeWebInstanceRelations', + 'description' => '查询网站业务关联的DDoS高防实例信息', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeWebInstanceRelations', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - [ - 'name' => 'ProxyTypes', - 'in' => 'query', - 'style' => 'flat', - 'schema' => [ - 'description' => '网站的协议及端口配置。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'ProxyPorts' => [ - 'description' => '网站对外服务使用的端口列表。', - 'type' => 'array', - 'items' => [ - 'description' => '网站对外服务使用的端口。'."\n" - ."\n" - .'> 此处设置的端口必须在DDoS高防支持的端口范围内。更多信息,请参见[自定义非标端口](~~127433~~)。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '443', - ], - 'required' => true, - 'maxItems' => 10, - ], - 'ProxyType' => [ - 'description' => '网站对外服务使用的协议类型。取值:'."\n" - ."\n" - .'- **http**:表示HTTP协议。'."\n" - .'- **https**:表示HTTPS协议。'."\n" - .'- **websocket**:表示WebSocket协议。'."\n" - .'- **websockets**:表示WebSockets协议。'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'https', - 'enum' => [ - 'http', - 'https', - 'websocket', - 'websockets', - ], - ], - ], - 'required' => false, - ], - 'required' => true, + ], + [ + 'apiName' => 'DescribeWebCcProtectSwitch', + 'description' => '查询网站业务各防护功能的开关状态', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeWebCcProtectSwitch', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - [ - 'name' => 'RealServers', - 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => '源站服务器地址列表。', - 'type' => 'array', - 'items' => [ - 'description' => '源站服务器地址。'."\n" - ."\n" - .'如果**RsType**为**0**,该参数使用IP地址格式;如果**RsType**为**1**,该参数使用域名格式。更多信息,请参见**RsType**参数的说明。', - 'type' => 'string', - 'required' => false, - 'example' => '1.XX.XX.1', - ], - 'required' => true, - 'maxItems' => 20, + ], + [ + 'apiName' => 'ModifyHealthCheckConfig', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:ModifyHealthCheckConfig', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - [ - 'name' => 'InstanceIds', - 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => '要关联的DDoS高防实例的ID列表。', - 'type' => 'array', - 'items' => [ - 'description' => '要关联的DDoS高防实例的ID。不设置该参数表示只添加网站域名,不关联高防实例。'."\n" - ."\n" - .'> 您可以调用[DescribeInstanceIds](~~157459~~)查询所有DDoS高防实例的ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'ddoscoo-cn-mp91j1ao****', - ], - 'required' => true, - 'maxItems' => 20, + ], + [ + 'apiName' => 'DescribeDefenseRecords', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeDefenseRecords', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => '39499F01-19D9-4EA4-A0E9-C6014BA5CDBE', - ], - ], + [ + 'apiName' => 'DescribeElasticBandwidthSpec', + 'description' => '查询指定实例的弹性带宽规格', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeElasticBandwidthSpec', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"39499F01-19D9-4EA4-A0E9-C6014BA5CDBE\\"\\n}","type":"json"}]', - 'title' => '修改已创建的网站业务转发规则', - ], - 'ConfigLayer4Remark' => [ - 'methods' => [ - 'post', - 'get', + [ + 'apiName' => 'EnableWebCC', + 'description' => '开启网站业务频率控制防护(CC防护)的开关', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:EnableWebCC', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], - 'schemes' => [ - 'http', - 'https', + [ + 'apiName' => 'DescribeSchedulerRules', + 'description' => '查询流量调度器的调度规则', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeSchedulerRules', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'DescribeHealthCheckStatus', + 'description' => '查询源站健康检查状态信息', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeHealthCheckStatus', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], - 'operationType' => 'write', - 'deprecated' => false, - 'systemTags' => [ + [ + 'apiName' => 'ModifyInstanceRemark', + 'description' => '修改指定实例的备注信息', 'operationType' => 'update', - 'abilityTreeCode' => '106053', - 'abilityTreeNodes' => [ - 'FEATUREddosN7DYCX', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:ModifyInstanceRemark', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], - 'parameters' => [ - [ - 'name' => 'Listeners', - 'in' => 'query', - 'schema' => [ - 'description' => '要设置的端口转发规则。'."\n" - ."\n" - .'该参数使用JSON数组转换的字符串表示。JSON数组的每个元素表示一个已创建的端口转发规则。一次最多可以设置1个端口转发规则。'."\n" - ."\n" - .'> 您可以调用[DescribeNetworkRules](~~157484~~)查询所有已创建的端口转发规则。'."\n" - ."\n" - .'每个端口转发规则包含以下字段:'."\n" - ."\n" - .'- **InstanceId**:String类型,必选,DDoS高防实例的ID。'."\n" - .'- **Protocol**:String类型,必选,端口转发协议类型。取值:**tcp**、**udp**。'."\n" - .'- **FrontendPort**:Integer类型,必选,转发端口。'."\n" - .'- **Remark**:String类型,必选,备注。支持使用中文字符、英文大小写字符、数字及部分特殊字符,例如:`,.+-*/_`。最长不允许超过200个字符。', - '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' => '全部资源', 'arn' => '*'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => '6E46CC51-36BE-1100-B14C-DAF8381B8F73', - ], - ], + [ + 'apiName' => 'DescribePortMaxConns', + 'description' => '查询DDoS高防实例的端口连接峰值信息', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribePortMaxConns', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', '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' => '为端口转发规则添加备注', - 'summary' => '为端口转发规则添加备注。', - 'requestParamsDescription' => '调用API时,除了本文中该API的请求参数,还需加入阿里云API公共请求参数。公共请求参数的详细介绍,请参见[公共参数](~~157269~~)。'."\n" - ."\n" - .'调用API的请求格式,请参见本文**示例**中的请求示例。', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'ConfigLayer4RuleBakMode' => [ - 'methods' => [ - 'post', - 'get', + [ + 'apiName' => 'DescribeDomainViewTopUrl', + 'description' => '查询网站业务访问量最大的前N个URL', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeDomainViewTopUrl', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], - 'schemes' => [ - 'http', - 'https', + [ + 'apiName' => 'DescribeDomainAttackEvents', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeDomainAttackEvents', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'DescribeLayer4RulePolicy', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeLayer4RulePolicy', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], - 'operationType' => 'write', - 'deprecated' => false, - 'systemTags' => [ + [ + 'apiName' => 'ConfigL7GlobalRule', + 'description' => '配置DDoS全局防护策略', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:ConfigL7GlobalRule', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ModifyTlsConfig', + 'description' => '编辑网站业务转发规则的TLS安全策略', 'operationType' => 'update', - 'abilityTreeCode' => '106054', - 'abilityTreeNodes' => [ - 'FEATUREddosCRC1QI', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:ModifyTlsConfig', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], - 'parameters' => [ - [ - 'name' => 'BakMode', - 'in' => 'query', - 'schema' => [ - 'description' => '设置回源模式。取值:'."\n" - .'- **0**:表示默认回源模式,即DDoS高防将业务流量转发到您调用[CreateNetworkRules](~~157482~~)创建该端口转发规则时指定的源站IP地址。'."\n" - .'- **1**:表示主备回源模式,即DDoS高防将业务流量转发到您调用[ConfigLayer4RulePolicy](~~312684~~)设置的主源站IP地址或备源站IP地址。', - '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' => '全部资源', 'arn' => '*'], ], ], - [ - 'name' => 'Listeners', - 'in' => 'query', - 'schema' => [ - 'description' => '要设置的端口转发规则。'."\n" - ."\n" - .'该参数使用JSON数组转换的字符串表示。JSON数组的每个元素表示一个已创建的端口转发规则。一次最多可以设置1个端口转发规则。'."\n" - ."\n" - .'> 您可以调用[DescribeNetworkRules](~~157484~~)查询所有已创建的端口转发规则。'."\n" - ."\n" - .'每个端口转发规则包含以下字段:'."\n" - ."\n" - .'- **InstanceId**:String类型,必选,DDoS高防实例的ID。'."\n" - .'- **Protocol**:String类型,必选,端口转发协议类型。取值:**tcp**、**udp**。'."\n" - .'- **FrontendPort**:Integer类型,必选,转发端口。', - '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' => '全部资源', 'arn' => '*'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => '本次请求的ID。', - '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' => '全部资源', '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' => '修改端口转发规则的回源模式', - 'summary' => '修改端口转发规则的回源模式(启用或关闭主备回源)。', - 'requestParamsDescription' => '调用API时,除了本文中该API的请求参数,还需加入阿里云API公共请求参数。公共请求参数的详细介绍,请参见[公共参数](~~157269~~)。'."\n" - ."\n" - .'调用API的请求格式,请参见本文**示例**中的请求示例。', - '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' => '全部资源', 'arn' => '*'], + ], + ], ], - 'schemes' => [ - 'http', - 'https', + [ + 'apiName' => 'DescribeDomainTopUserAgent', + 'description' => '查询网站Top UserAgent', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeDomainTopUserAgent', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'EnableWebCCRule', + 'description' => '开启网站业务CC防护自定义规则开关', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:EnableWebCCRule', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', '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' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ModifyHeaders', + 'description' => '修改自定义header', 'operationType' => 'update', - 'abilityTreeCode' => '106055', - 'abilityTreeNodes' => [ - 'FEATUREddosCRC1QI', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:ModifyHeaders', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], - 'parameters' => [ - [ - 'name' => 'Listeners', - 'in' => 'query', - 'schema' => [ - 'description' => '设置端口转发规则。'."\n" - ."\n" - .'该参数使用JSON数组转换的字符串表示。JSON数组的每个元素表示一个已创建的端口转发规则。一次最多可以设置1个端口转发规则。'."\n" - ."\n" - .'> 您可以调用[DescribeNetworkRules](~~157484~~)查询所有已创建的端口转发规则。'."\n" - ."\n" - .'每个端口转发规则包含以下字段:'."\n" - ."\n" - .'- **InstanceId**:String类型,必选,DDoS高防实例的ID。'."\n" - .'- **Protocol**:String类型,必选,转发协议类型。取值:**tcp**、**udp**。'."\n" - .'- **FrontendPort**:Integer类型,必选,转发端口。'."\n" - .'- **BackendPort**:Integer类型,必选,源站端口。'."\n" - .'- **PriRealServers**:JSON数组类型,必选,主源站IP地址列表。JSON数组的每个元素表示一个主源站IP地址。最多支持设置20个主源站IP地址。'."\n" - ."\n" - .' 每个主源站IP地址包含以下字段:'."\n" - ."\n" - .' - **RealServer**:String类型,必选,主源站IP地址。'."\n" - ."\n" - .'- **SecRealServers**:JSON数组类型,必选,备源站IP地址列表。JSON数组的每个元素表示一个备源站IP地址。最多支持设置20个备源站IP地址。'."\n" - ."\n" - .' 每个备源站IP地址包含以下字段:'."\n" - .' '."\n" - .' - **RealServer**:String类型,必选,备源站IP地址。'."\n" - .' '."\n" - .'- **CurrentRsIndex**:Integer类型,必选,要生效的源站类型。取值:'."\n" - .' - **1**:表示主源站设置生效(DDoS高防将业务流量转发到主源站IP地址)。'."\n" - .' - **2**:表示备源站设置生效(DDoS高防将业务流量转发到备源站IP地址)。', - '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' => '查询DDoS高防实例的黑洞状态', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeBlackholeStatus', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => '本次请求的ID。', - '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' => '全部资源', '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' => '配置4层规则策略', - 'summary' => '为端口转发规则设置主、备源站IP地址。', - 'requestParamsDescription' => '调用API时,除了本文中该API的请求参数,还需加入阿里云API公共请求参数。公共请求参数的详细介绍,请参见[公共参数](~~157269~~)。'."\n" - ."\n" - .'调用API的请求格式,请参见本文**示例**中的请求示例。', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'DescribeLayer4RulePolicy' => [ - 'methods' => [ - 'post', - 'get', + [ + 'apiName' => 'DescribeInstanceStatus', + 'description' => '查询指定的正常状态的DDoS高防实例', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeInstanceStatus', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], - 'schemes' => [ - 'http', - 'https', + [ + 'apiName' => 'DescribeWebPreciseAccessRule', + 'description' => '查询网站业务精确访问控制规则', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeWebPreciseAccessRule', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'AssociateWebCert', + 'description' => '为网站业务转发规则关联SSL证书', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:AssociateWebCert', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeWebRules', + 'description' => '查询已经创建的网站业务转发规则', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeWebRules', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ConfigWebIpSet', + 'description' => '设置针对网站业务的黑名单和白名单IP', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:ConfigWebIpSet', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', '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' => '全部资源', 'arn' => '*'], + ], ], ], - 'parameters' => [ - [ - 'name' => 'Listeners', - 'in' => 'query', - 'schema' => [ - 'description' => '要查询的端口转发规则。'."\n" - ."\n" - .'该参数使用JSON数组转换的字符串表示。JSON数组的每个元素表示一个已创建的端口转发规则。一次最多可以查询1个端口转发规则。'."\n" - ."\n" - .'> 您可以调用[DescribeNetworkRules](~~157484~~)查询所有已创建的端口转发规则。'."\n" - ."\n" - .'每个端口转发规则包含以下字段:'."\n" - ."\n" - .'- **InstanceId**:String类型,必选,DDoS高防实例的ID。'."\n" - .'- **Protocol**:String类型,必选,端口转发协议类型。取值:**tcp**、**udp**。'."\n" - .'- **FrontendPort**:Integer类型,必选,转发端口。', - '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' => '全部资源', 'arn' => '*'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'FrontendPort' => [ - 'description' => '转发端口。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2020', - ], - 'BakMode' => [ - 'description' => '回源模式。取值:'."\n" - .'- 0:表示默认回源模式,即DDoS高防将业务流量转发到您调用[CreateNetworkRules](~~157482~~)创建该端口转发规则时指定的源站IP。'."\n" - .'- 1:表示主备回源模式,即DDoS高防将业务流量转发到您调用[ConfigLayer4RulePolicy](~~312684~~)设置的主源站IP地址或备源站IP地址。', - 'type' => 'string', - 'example' => '1', - ], - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => '6E46CC51-36BE-1100-B14C-DAF8381B8F73', - ], - 'CurrentIndex' => [ - 'description' => '当前生效的源站类型。取值:'."\n" - .'- **1**:表示主源站设置生效(DDoS高防将业务流量转发到主源站IP地址)。'."\n" - .'- **2**:表示备源站设置生效(DDoS高防将业务流量转发到备源站IP地址)。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'ForwardProtocol' => [ - 'description' => '转发协议类型。', - 'type' => 'string', - 'example' => 'udp', - ], - 'InstanceId' => [ - 'description' => 'DDoS高防实例的ID。', - 'type' => 'string', - 'example' => 'ddosDip-sg-4hr2b3l****', - ], - 'BackendPort' => [ - 'description' => '源站端口。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2022', - ], - 'PriRealServers' => [ - 'description' => '主源站信息,包括主源站IP地址、转发协议类型、转发端口等。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'FrontendPort' => [ - 'description' => '转发端口。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2020', - ], - 'Eip' => [ - 'description' => 'DDoS高防实例的IP。', - 'type' => 'string', - 'example' => '203.107.XX.XX', - ], - 'Protocol' => [ - 'description' => '转发协议类型。', - 'type' => 'string', - 'example' => 'udp', - ], - 'CurrentIndex' => [ - 'description' => '当前生效的源站类型。取值:'."\n" - .'- **1**:表示主源站设置生效(DDoS高防将业务流量转发到主源站IP地址)。'."\n" - .'- **2**:表示备源站设置生效(DDoS高防将业务流量转发到备源站IP地址)。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'InstanceId' => [ - 'description' => 'DDoS高防实例的ID。', - 'type' => 'string', - 'example' => 'ddosDip-sg-4hr2b3l****', - ], - 'RealServer' => [ - 'description' => '主源站IP地址。', - 'type' => 'string', - 'example' => '192.0.2.1', - ], - ], - ], - ], - 'SecRealServers' => [ - 'description' => '备源站信息,包括备源站IP地址、转发协议类型、转发端口等。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'FrontendPort' => [ - 'description' => '转发端口。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2020', - ], - 'Eip' => [ - 'description' => 'DDoS高防实例的IP。', - 'type' => 'string', - 'example' => '203.107.XX.XX', - ], - 'Protocol' => [ - 'description' => '转发协议类型。', - 'type' => 'string', - 'example' => 'udp', - ], - 'CurrentIndex' => [ - 'description' => '当前生效的源站类型。取值:'."\n" - .'- **1**:表示主源站设置生效(DDoS高防将业务流量转发到主源站IP地址)。'."\n" - .'- **2**:表示备源站设置生效(DDoS高防将业务流量转发到备源站IP地址)。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'InstanceId' => [ - 'description' => 'DDoS高防实例的ID。', - 'type' => 'string', - 'example' => 'ddosDip-sg-4hr2b3l****', - ], - 'RealServer' => [ - 'description' => '备源站IP地址。', - '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' => '全部资源', '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' => '查询端口转发规则的回源设置', - 'summary' => '查询端口转发规则的回源设置。', - 'requestParamsDescription' => '调用API时,除了本文中该API的请求参数,还需加入阿里云API公共请求参数。公共请求参数的详细介绍,请参见[公共参数](~~157269~~)。'."\n" - ."\n" - .'调用API的请求格式,请参见本文**示例**中的请求示例。', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'ModifyInstance' => [ - 'summary' => 'DDoS高防实例规格变配。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'https', + [ + 'apiName' => 'DescribeHealthCheckList', + 'description' => '查询端口转发规则的健康检查配置', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeHealthCheckList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'ConfigWebCCRuleV2', + 'description' => '创建或编辑网站业务频率控制防护(CC防护)的自定义规则', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:ConfigWebCCRuleV2', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], - 'operationType' => 'readAndWrite', - 'deprecated' => false, - 'systemTags' => [ + [ + 'apiName' => 'ModifyWebCCRule', + 'description' => '编辑网站业务CC防护自定义规则', 'operationType' => 'update', - 'chargeType' => 'paid', - 'abilityTreeCode' => '262914', - 'abilityTreeNodes' => [ - 'FEATUREddosI8LHMA', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:ModifyWebCCRule', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], - 'autoTest' => true, ], - 'parameters' => [ - [ - 'name' => 'InstanceId', - 'in' => 'query', - 'schema' => [ - 'description' => 'DDoS高防实例的ID。'."\n" - .'> 您可以调用[DescribeInstanceIds](~~157459~~)查询所有DDoS高防实例的ID信息。', - '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' => '全部资源', 'arn' => '*'], ], ], - [ - 'name' => 'ModifyType', - 'in' => 'query', - 'schema' => [ - 'description' => '变配类型,取值'."\n" - .'- UPGRADE:升级。'."\n" - .'- 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' => '全部资源', 'arn' => '*'], ], ], - [ - 'name' => 'NormalBandwidth', - 'in' => 'query', - 'schema' => [ - 'description' => '业务带宽(非中国内地)。单位: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' => '全部资源', 'arn' => '*'], ], ], - [ - 'name' => 'ServiceBandwidth', - 'in' => 'query', - 'schema' => [ - 'description' => '业务带宽(中国内地)。单位: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' => '全部资源', 'arn' => '*'], ], ], - [ - 'name' => 'BaseBandwidth', - 'in' => 'query', - 'schema' => [ - 'description' => '保底防护带宽(中国内地)。单位:Gbps。', - 'type' => 'string', - 'required' => false, - 'example' => '30', + ], + [ + 'apiName' => 'DescribeDDoSEvents', + 'description' => '查询指定IP的DDoS攻击事件', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeDDoSEvents', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - [ - 'name' => 'PortCount', - 'in' => 'query', - 'schema' => [ - 'description' => '防护端口数。', - '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' => '全部资源', 'arn' => '*'], ], ], - [ - 'name' => 'Bandwidth', - 'in' => 'query', - 'schema' => [ - 'description' => '弹性防护带宽(中国内地)。单位: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' => '全部资源', 'arn' => '*'], ], ], - [ - 'name' => 'DomainCount', - 'in' => 'query', - 'schema' => [ - 'description' => '防护域名数。', - 'type' => 'string', - 'required' => false, - 'example' => '50', + ], + [ + 'apiName' => 'AddAutoCcWhitelist', + 'description' => '添加针对DDoS高防实例的白名单IP', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:AddAutoCcWhitelist', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - [ - 'name' => 'NormalQps', - 'in' => 'query', - 'schema' => [ - 'description' => '业务QPS。单位:Mbps。', - 'type' => 'string', - 'required' => false, - 'example' => '100', + ], + [ + 'apiName' => 'DescribeWebCCRulesV2', + 'description' => '查询网站业务频率控制防护(CC防护)的自定义规则', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeWebCCRulesV2', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - [ - 'name' => 'ProductType', - 'in' => 'query', - 'schema' => [ - 'description' => '产品类型。'."\n" - .'取值:'."\n" - ."\n" - .'- **ddoscoo**:表示中国站账号为DDoS高防(中国内地)实例变配。'."\n" - .'- **ddoscoo_intl**:表示国际站账号为DDoS高防(中国内地)实例变配。'."\n" - .'- **ddosDip**:表示中国站账号或国际站账号为DDoS高防(非中国内地)实例变配。', - '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' => '全部资源', 'arn' => '*'], ], ], - [ - 'name' => 'AddressType', - 'in' => 'query', - 'schema' => [ - 'description' => '地址类型。取值:'."\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' => '全部资源', 'arn' => '*'], ], ], - [ - 'name' => 'ProductPlan', - 'in' => 'query', - 'schema' => [ - 'description' => '防护套餐(非中国内地)。取值:'."\n" - ."\n" - .'- **0**:表示DDoS高防(非中国内地)保险版。'."\n" - .'- **1**:表示DDoS高防(非中国内地)无忧版。'."\n" - .'- **2**:表示DDoS高防(非中国内地)加速线路。'."\n" - .'- **3**:表示DDoS高防(非中国内地)安全加速线路。', - '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' => '全部资源', 'arn' => '*'], ], ], - [ - 'name' => 'EditionSale', - 'in' => 'query', - 'schema' => [ - 'description' => '防护套餐(中国内地)。取值:'."\n" - ."\n" - .'- **coop**:表示DDoS高防(中国内地)专业版。'."\n" - .'- **advance**:表示DDoS高防(中国内地)专业版。', - 'type' => 'string', - 'required' => false, - 'example' => 'coop', + ], + [ + 'apiName' => 'DescribeCnameReuses', + 'description' => '查询网站业务的CNAME复用信息', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:DescribeCnameReuses', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - [ - 'name' => 'ServicePartner', - 'in' => 'query', - 'schema' => [ - 'description' => '实例的线路资源(中国内地)。取值:'."\n" - ."\n" - .'- **coop-line-001**:表示DDoS高防(中国内地)八线BGP线路。', - 'type' => 'string', - 'required' => false, - 'example' => 'coop-line-001', + ], + [ + 'apiName' => 'ModifyQpsMode', + 'description' => '切换弹性QPS计费模式', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:ModifyQpsMode', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - [ - 'name' => 'FunctionVersion', - 'in' => 'query', - 'schema' => [ - 'description' => '功能版本,取值:'."\n" - ."\n" - .'- **0**:标准功能。'."\n" - .'- **1**:增强功能。', - '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' => '全部资源', 'arn' => '*'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。', - 'type' => 'string', - 'example' => '0018DF77-7189-5D33-947B-E5B34BFCE07E', - ], - 'OrderId' => [ - 'description' => '订单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' => '全部资源', 'arn' => '*'], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + [ + 'apiName' => 'ModifyElasticBandWidth', + 'description' => '修改指定实例的弹性防护带宽', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:ModifyElasticBandWidth', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ConfigL7RsPolicy', + 'description' => '为转发规则设置回源策略', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'yundun-ddoscoo:ConfigL7RsPolicy', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'DdosCoo', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0018DF77-7189-5D33-947B-E5B34BFCE07E\\",\\n \\"OrderId\\": 242461444340562\\n}","type":"json"}]', - 'title' => 'DDoS高防实例规格变配', - ], - ], - '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